ERC-721
Overview
Max Total Supply
777 FD
Holders
601
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FomoDog
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; contract FomoDog is ERC721, ERC721Enumerable, Ownable { using Strings for uint256; bool public _isSaleActive = false; bool public _isAuctionActive = false; // Constants uint256 constant public MAX_SUPPLY = 1024; uint256 public mintPrice = 0.24 ether; uint256 public tierSupply = 260; uint256 public maxBalance = 3; uint256 public maxMint = 3; uint256 public auctionStartTime; uint256 public auctionTimeStep; uint256 public auctionStartPrice; uint256 public auctionEndPrice; uint256 public auctionPriceStep; uint256 public auctionStepNumber; string private _baseURIExtended; event TokenMinted(uint256 supply); event SaleStarted(); event SalePaused(); event AuctionStarted(); event AuctionPaused(); constructor() ERC721('Fomo Dog', 'FD') {} function startSale() public onlyOwner { _isSaleActive = true; emit SaleStarted(); } function pauseSale() public onlyOwner { _isSaleActive = false; emit SalePaused(); } function startAuction() public onlyOwner { _isAuctionActive = true; emit AuctionStarted(); } function pauseAuction() public onlyOwner { _isAuctionActive = false; emit AuctionPaused(); } function setMintPrice(uint256 _mintPrice) public onlyOwner { mintPrice = _mintPrice; } function setTierSupply(uint256 _tierSupply) public onlyOwner { tierSupply = _tierSupply; } function setMaxBalance(uint256 _maxBalance) public onlyOwner { maxBalance = _maxBalance; } function setMaxMint(uint256 _maxMint) public onlyOwner { maxMint = _maxMint; } function setAuction(uint256 _auctionStartTime, uint256 _auctionTimeStep, uint256 _auctionStartPrice, uint256 _auctionEndPrice, uint256 _auctionPriceStep, uint256 _auctionStepNumber) public onlyOwner { auctionStartTime = _auctionStartTime; auctionTimeStep = _auctionTimeStep; auctionStartPrice = _auctionStartPrice; auctionEndPrice = _auctionEndPrice; auctionPriceStep = _auctionPriceStep; auctionStepNumber = _auctionStepNumber; } function withdraw(address to) public onlyOwner { uint256 balance = address(this).balance; payable(to).transfer(balance); } function preserveMint(uint numFomoDogs, address to) public onlyOwner { require(totalSupply() + numFomoDogs <= tierSupply, 'Preserve mint would exceed tier supply'); require(totalSupply() + numFomoDogs <= MAX_SUPPLY, 'Preserve mint would exceed max supply'); _mintFomoDog(numFomoDogs, to); emit TokenMinted(totalSupply()); } function getTotalSupply() public view returns (uint256) { return totalSupply(); } function getFomoDogByOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function getAuctionPrice() public view returns (uint256) { if (!_isAuctionActive) { return 0; } if (block.timestamp < auctionStartTime) { return auctionStartPrice; } uint256 step = (block.timestamp - auctionStartTime) / auctionTimeStep; if (step > auctionStepNumber) { step = auctionStepNumber; } return auctionStartPrice > step * auctionPriceStep ? auctionStartPrice - step * auctionPriceStep : auctionEndPrice; } function mintFomoDog(uint numFomoDogs) public payable { require(_isSaleActive, 'Sale must be active to mint FomoDogs'); require(totalSupply() + numFomoDogs <= tierSupply, 'Sale would exceed tier supply'); require(totalSupply() + numFomoDogs <= MAX_SUPPLY, 'Sale would exceed max supply'); require(balanceOf(msg.sender) + numFomoDogs <= maxBalance, 'Sale would exceed max balance'); require(numFomoDogs <= maxMint, 'Sale would exceed max mint'); require(numFomoDogs * mintPrice <= msg.value, 'Not enough ether sent'); _mintFomoDog(numFomoDogs, msg.sender); emit TokenMinted(totalSupply()); } function auctionMintFomoDog(uint numFomoDogs) public payable { require(_isAuctionActive, 'Auction must be active to mint FomoDogs'); require(block.timestamp >= auctionStartTime, 'Auction not start'); require(totalSupply() + numFomoDogs <= tierSupply, 'Auction would exceed tier supply'); require(totalSupply() + numFomoDogs <= MAX_SUPPLY, 'Auction would exceed max supply'); require(balanceOf(msg.sender) + numFomoDogs <= maxBalance, 'Auction would exceed max balance'); require(numFomoDogs <= maxMint, 'Auction would exceed max mint'); require(numFomoDogs * getAuctionPrice() <= msg.value, 'Not enough ether sent'); _mintFomoDog(numFomoDogs, msg.sender); emit TokenMinted(totalSupply()); } function _mintFomoDog(uint256 numFomoDogs, address recipient) internal { uint256 supply = totalSupply(); for (uint256 i = 0; i < numFomoDogs; i++) { _safeMint(recipient, supply + i); } } function setBaseURI(string memory baseURI_) external onlyOwner { _baseURIExtended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIExtended; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); return string(abi.encodePacked(_baseURI(), tokenId.toString())); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT 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 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 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 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[],"name":"AuctionPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"AuctionStarted","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":[],"name":"SalePaused","type":"event"},{"anonymous":false,"inputs":[],"name":"SaleStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isAuctionActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"auctionEndPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numFomoDogs","type":"uint256"}],"name":"auctionMintFomoDog","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"auctionPriceStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStartPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStepNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionTimeStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAuctionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getFomoDogByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numFomoDogs","type":"uint256"}],"name":"mintFomoDog","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numFomoDogs","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"preserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"_auctionStartTime","type":"uint256"},{"internalType":"uint256","name":"_auctionTimeStep","type":"uint256"},{"internalType":"uint256","name":"_auctionStartPrice","type":"uint256"},{"internalType":"uint256","name":"_auctionEndPrice","type":"uint256"},{"internalType":"uint256","name":"_auctionPriceStep","type":"uint256"},{"internalType":"uint256","name":"_auctionStepNumber","type":"uint256"}],"name":"setAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBalance","type":"uint256"}],"name":"setMaxBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tierSupply","type":"uint256"}],"name":"setTierSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":[],"name":"tierSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60146101000a81548160ff0219169083151502179055506000600a60156101000a81548160ff021916908315150217905550670354a6ba7a180000600b55610104600c556003600d556003600e553480156200006357600080fd5b506040518060400160405280600881526020017f466f6d6f20446f670000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f46440000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e8929190620001f8565b50806001908051906020019062000101929190620001f8565b50505062000124620001186200012a60201b60201c565b6200013260201b60201c565b6200030d565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020690620002d7565b90600052602060002090601f0160209004810192826200022a576000855562000276565b82601f106200024557805160ff191683800117855562000276565b8280016001018555821562000276579182015b828111156200027557825182559160200191906001019062000258565b5b50905062000285919062000289565b5090565b5b80821115620002a45760008160009055506001016200028a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f057607f821691505b60208210811415620003075762000306620002a8565b5b50919050565b615398806200031d6000396000f3fe6080604052600436106102ae5760003560e01c80636b64c76911610175578063a22cb465116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610a38578063eb54f9ec14610a75578063f2fde38b14610aa0578063f4a0a52814610ac9576102ae565b8063c87b56dd14610993578063ca277a59146109d0578063d756985b14610a0d576102ae565b8063a22cb465146108cc578063b66a0e5d146108f5578063b88d4fde1461090c578063b9ae736414610935578063c1e63dfa1461094c578063c4e41b2214610968576102ae565b80638da5cb5b1161012e5780638da5cb5b146107cc5780639196eba5146107f757806395d89b4114610822578063964dd2401461084d5780639d51d9b714610878578063a04a6ac8146108a1576102ae565b80636b64c769146106e05780637080d6fc146106f757806370a0823114610722578063715018a61461075f57806373ad468a146107765780637501f741146107a1576102ae565b80634698a3d81161021957806355367ba9116101d257806355367ba9146105e657806355f804b3146105fd5780635edd95f9146106265780636352211e1461064f5780636817c76c1461068c5780636a99cacb146106b7576102ae565b80634698a3d8146104d65780634bd25c6f146105015780634f6ccce71461052c57806351cff8d914610569578063547520fe14610592578063549b9da5146105bb576102ae565b8063209ee2971161026b578063209ee297146103c857806323b872dd146103f157806326cf76b61461041a5780632f745c591461044557806332cb6b0c1461048257806342842e0e146104ad576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b3146103585780630eeb75fd1461038157806318160ddd1461039d575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613759565b610af2565b6040516102e791906137a1565b60405180910390f35b3480156102fc57600080fd5b50610305610b04565b6040516103129190613855565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d91906138ad565b610b96565b60405161034f919061391b565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613962565b610c1b565b005b61039b600480360381019061039691906138ad565b610d33565b005b3480156103a957600080fd5b506103b2610f68565b6040516103bf91906139b1565b60405180910390f35b3480156103d457600080fd5b506103ef60048036038101906103ea91906138ad565b610f75565b005b3480156103fd57600080fd5b50610418600480360381019061041391906139cc565b610ffb565b005b34801561042657600080fd5b5061042f61105b565b60405161043c91906137a1565b60405180910390f35b34801561045157600080fd5b5061046c60048036038101906104679190613962565b61106e565b60405161047991906139b1565b60405180910390f35b34801561048e57600080fd5b50610497611113565b6040516104a491906139b1565b60405180910390f35b3480156104b957600080fd5b506104d460048036038101906104cf91906139cc565b611119565b005b3480156104e257600080fd5b506104eb611139565b6040516104f891906139b1565b60405180910390f35b34801561050d57600080fd5b5061051661113f565b60405161052391906139b1565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e91906138ad565b6111e2565b60405161056091906139b1565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190613a1f565b611253565b005b34801561059e57600080fd5b506105b960048036038101906105b491906138ad565b61131f565b005b3480156105c757600080fd5b506105d06113a5565b6040516105dd91906139b1565b60405180910390f35b3480156105f257600080fd5b506105fb6113ab565b005b34801561060957600080fd5b50610624600480360381019061061f9190613b81565b611470565b005b34801561063257600080fd5b5061064d60048036038101906106489190613bca565b611506565b005b34801561065b57600080fd5b50610676600480360381019061067191906138ad565b61167c565b604051610683919061391b565b60405180910390f35b34801561069857600080fd5b506106a161172e565b6040516106ae91906139b1565b60405180910390f35b3480156106c357600080fd5b506106de60048036038101906106d99190613c0a565b611734565b005b3480156106ec57600080fd5b506106f56117e2565b005b34801561070357600080fd5b5061070c6118a7565b60405161071991906137a1565b60405180910390f35b34801561072e57600080fd5b5061074960048036038101906107449190613a1f565b6118ba565b60405161075691906139b1565b60405180910390f35b34801561076b57600080fd5b50610774611972565b005b34801561078257600080fd5b5061078b6119fa565b60405161079891906139b1565b60405180910390f35b3480156107ad57600080fd5b506107b6611a00565b6040516107c391906139b1565b60405180910390f35b3480156107d857600080fd5b506107e1611a06565b6040516107ee919061391b565b60405180910390f35b34801561080357600080fd5b5061080c611a30565b60405161081991906139b1565b60405180910390f35b34801561082e57600080fd5b50610837611a36565b6040516108449190613855565b60405180910390f35b34801561085957600080fd5b50610862611ac8565b60405161086f91906139b1565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a91906138ad565b611ace565b005b3480156108ad57600080fd5b506108b6611b54565b6040516108c391906139b1565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee9190613cc3565b611b5a565b005b34801561090157600080fd5b5061090a611cdb565b005b34801561091857600080fd5b50610933600480360381019061092e9190613da4565b611da0565b005b34801561094157600080fd5b5061094a611e02565b005b610966600480360381019061096191906138ad565b611ec7565b005b34801561097457600080fd5b5061097d612146565b60405161098a91906139b1565b60405180910390f35b34801561099f57600080fd5b506109ba60048036038101906109b591906138ad565b612155565b6040516109c79190613855565b60405180910390f35b3480156109dc57600080fd5b506109f760048036038101906109f29190613a1f565b6121d7565b604051610a049190613ee5565b60405180910390f35b348015610a1957600080fd5b50610a22612285565b604051610a2f91906139b1565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190613f07565b61228b565b604051610a6c91906137a1565b60405180910390f35b348015610a8157600080fd5b50610a8a61231f565b604051610a9791906139b1565b60405180910390f35b348015610aac57600080fd5b50610ac76004803603810190610ac29190613a1f565b612325565b005b348015610ad557600080fd5b50610af06004803603810190610aeb91906138ad565b61241d565b005b6000610afd826124a3565b9050919050565b606060008054610b1390613f76565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3f90613f76565b8015610b8c5780601f10610b6157610100808354040283529160200191610b8c565b820191906000526020600020905b815481529060010190602001808311610b6f57829003601f168201915b5050505050905090565b6000610ba18261251d565b610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd79061401a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c268261167c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e906140ac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb6612589565b73ffffffffffffffffffffffffffffffffffffffff161480610ce55750610ce481610cdf612589565b61228b565b5b610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b9061413e565b60405180910390fd5b610d2e8383612591565b505050565b600a60149054906101000a900460ff16610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d79906141d0565b60405180910390fd5b600c5481610d8e610f68565b610d98919061421f565b1115610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd0906142c1565b60405180910390fd5b61040081610de5610f68565b610def919061421f565b1115610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e279061432d565b60405180910390fd5b600d5481610e3d336118ba565b610e47919061421f565b1115610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f90614399565b60405180910390fd5b600e54811115610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490614405565b60405180910390fd5b34600b5482610edc9190614425565b1115610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f14906144cb565b60405180910390fd5b610f27813361264a565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e610f50610f68565b604051610f5d91906139b1565b60405180910390a150565b6000600880549050905090565b610f7d612589565b73ffffffffffffffffffffffffffffffffffffffff16610f9b611a06565b73ffffffffffffffffffffffffffffffffffffffff1614610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890614537565b60405180910390fd5b80600c8190555050565b61100c611006612589565b8261268f565b61104b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611042906145c9565b60405180910390fd5b61105683838361276d565b505050565b600a60159054906101000a900460ff1681565b6000611079836118ba565b82106110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b19061465b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61040081565b61113483838360405180602001604052806000815250611da0565b505050565b60135481565b6000600a60159054906101000a900460ff1661115e57600090506111df565b600f544210156111725760115490506111df565b6000601054600f5442611185919061467b565b61118f91906146de565b90506014548111156111a15760145490505b601354816111af9190614425565b601154116111bf576012546111db565b601354816111cd9190614425565b6011546111da919061467b565b5b9150505b90565b60006111ec610f68565b821061122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490614781565b60405180910390fd5b60088281548110611241576112406147a1565b5b90600052602060002001549050919050565b61125b612589565b73ffffffffffffffffffffffffffffffffffffffff16611279611a06565b73ffffffffffffffffffffffffffffffffffffffff16146112cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c690614537565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561131a573d6000803e3d6000fd5b505050565b611327612589565b73ffffffffffffffffffffffffffffffffffffffff16611345611a06565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290614537565b60405180910390fd5b80600e8190555050565b600c5481565b6113b3612589565b73ffffffffffffffffffffffffffffffffffffffff166113d1611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e90614537565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f8a98cbd0cab14e33b8a5e5710b9b59bceec8af9a5b4b3bb32fb275cf04ea048d60405160405180910390a1565b611478612589565b73ffffffffffffffffffffffffffffffffffffffff16611496611a06565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390614537565b60405180910390fd5b806015908051906020019061150292919061364a565b5050565b61150e612589565b73ffffffffffffffffffffffffffffffffffffffff1661152c611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990614537565b60405180910390fd5b600c548261158e610f68565b611598919061421f565b11156115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d090614842565b60405180910390fd5b610400826115e5610f68565b6115ef919061421f565b1115611630576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611627906148d4565b60405180910390fd5b61163a828261264a565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e611663610f68565b60405161167091906139b1565b60405180910390a15050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c90614966565b60405180910390fd5b80915050919050565b600b5481565b61173c612589565b73ffffffffffffffffffffffffffffffffffffffff1661175a611a06565b73ffffffffffffffffffffffffffffffffffffffff16146117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a790614537565b60405180910390fd5b85600f819055508460108190555083601181905550826012819055508160138190555080601481905550505050505050565b6117ea612589565b73ffffffffffffffffffffffffffffffffffffffff16611808611a06565b73ffffffffffffffffffffffffffffffffffffffff161461185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185590614537565b60405180910390fd5b6001600a60156101000a81548160ff0219169083151502179055507fc8f99b9ac2a284b93c3652b9f064a6706724088cdafa9e0a8437c026191b2f0360405160405180910390a1565b600a60149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561192b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611922906149f8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61197a612589565b73ffffffffffffffffffffffffffffffffffffffff16611998611a06565b73ffffffffffffffffffffffffffffffffffffffff16146119ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e590614537565b60405180910390fd5b6119f860006129c9565b565b600d5481565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b606060018054611a4590613f76565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7190613f76565b8015611abe5780601f10611a9357610100808354040283529160200191611abe565b820191906000526020600020905b815481529060010190602001808311611aa157829003601f168201915b5050505050905090565b60145481565b611ad6612589565b73ffffffffffffffffffffffffffffffffffffffff16611af4611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4190614537565b60405180910390fd5b80600d8190555050565b60125481565b611b62612589565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc790614a64565b60405180910390fd5b8060056000611bdd612589565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c8a612589565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ccf91906137a1565b60405180910390a35050565b611ce3612589565b73ffffffffffffffffffffffffffffffffffffffff16611d01611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e90614537565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f912ee23dde46ec889d6748212cce445d667f7041597691dc89e8549ad8bc0acb60405160405180910390a1565b611db1611dab612589565b8361268f565b611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de7906145c9565b60405180910390fd5b611dfc84848484612a8f565b50505050565b611e0a612589565b73ffffffffffffffffffffffffffffffffffffffff16611e28611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7590614537565b60405180910390fd5b6000600a60156101000a81548160ff0219169083151502179055507f749d6d79623c8cbd2345906702c70ae75d4254a6c409047c16d52fa5a37ef69860405160405180910390a1565b600a60159054906101000a900460ff16611f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0d90614af6565b60405180910390fd5b600f54421015611f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5290614b62565b60405180910390fd5b600c5481611f67610f68565b611f71919061421f565b1115611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614bce565b60405180910390fd5b61040081611fbe610f68565b611fc8919061421f565b1115612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614c3a565b60405180910390fd5b600d5481612016336118ba565b612020919061421f565b1115612061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205890614ca6565b60405180910390fd5b600e548111156120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d90614d12565b60405180910390fd5b346120af61113f565b826120ba9190614425565b11156120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f2906144cb565b60405180910390fd5b612105813361264a565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e61212e610f68565b60405161213b91906139b1565b60405180910390a150565b6000612150610f68565b905090565b60606121608261251d565b61219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690614da4565b60405180910390fd5b6121a7612aeb565b6121b083612b7d565b6040516020016121c1929190614e00565b6040516020818303038152906040529050919050565b606060006121e4836118ba565b905060008167ffffffffffffffff81111561220257612201613a56565b5b6040519080825280602002602001820160405280156122305781602001602082028036833780820191505090505b50905060005b8281101561227a57612248858261106e565b82828151811061225b5761225a6147a1565b5b602002602001018181525050808061227290614e24565b915050612236565b508092505050919050565b60115481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b61232d612589565b73ffffffffffffffffffffffffffffffffffffffff1661234b611a06565b73ffffffffffffffffffffffffffffffffffffffff16146123a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239890614537565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890614edf565b60405180910390fd5b61241a816129c9565b50565b612425612589565b73ffffffffffffffffffffffffffffffffffffffff16612443611a06565b73ffffffffffffffffffffffffffffffffffffffff1614612499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249090614537565b60405180910390fd5b80600b8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612516575061251582612cde565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126048361167c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612654610f68565b905060005b8381101561268957612676838284612671919061421f565b612dc0565b808061268190614e24565b915050612659565b50505050565b600061269a8261251d565b6126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d090614f71565b60405180910390fd5b60006126e48361167c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061275357508373ffffffffffffffffffffffffffffffffffffffff1661273b84610b96565b73ffffffffffffffffffffffffffffffffffffffff16145b806127645750612763818561228b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661278d8261167c565b73ffffffffffffffffffffffffffffffffffffffff16146127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615003565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284a90615095565b60405180910390fd5b61285e838383612dde565b612869600082612591565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128b9919061467b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612910919061421f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a9a84848461276d565b612aa684848484612dee565b612ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adc90615127565b60405180910390fd5b50505050565b606060158054612afa90613f76565b80601f0160208091040260200160405190810160405280929190818152602001828054612b2690613f76565b8015612b735780601f10612b4857610100808354040283529160200191612b73565b820191906000526020600020905b815481529060010190602001808311612b5657829003601f168201915b5050505050905090565b60606000821415612bc5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cd9565b600082905060005b60008214612bf7578080612be090614e24565b915050600a82612bf091906146de565b9150612bcd565b60008167ffffffffffffffff811115612c1357612c12613a56565b5b6040519080825280601f01601f191660200182016040528015612c455781602001600182028036833780820191505090505b5090505b60008514612cd257600182612c5e919061467b565b9150600a85612c6d9190615147565b6030612c79919061421f565b60f81b818381518110612c8f57612c8e6147a1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ccb91906146de565b9450612c49565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612da957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612db95750612db882612f85565b5b9050919050565b612dda828260405180602001604052806000815250612fef565b5050565b612de983838361304a565b505050565b6000612e0f8473ffffffffffffffffffffffffffffffffffffffff1661315e565b15612f78578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e38612589565b8786866040518563ffffffff1660e01b8152600401612e5a94939291906151cd565b602060405180830381600087803b158015612e7457600080fd5b505af1925050508015612ea557506040513d601f19601f82011682018060405250810190612ea2919061522e565b60015b612f28573d8060008114612ed5576040519150601f19603f3d011682016040523d82523d6000602084013e612eda565b606091505b50600081511415612f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1790615127565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f7d565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ff98383613171565b6130066000848484612dee565b613045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303c90615127565b60405180910390fd5b505050565b61305583838361333f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130985761309381613344565b6130d7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130d6576130d5838261338d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561311a57613115816134fa565b613159565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131585761315782826135cb565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d8906152a7565b60405180910390fd5b6131ea8161251d565b1561322a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322190615313565b60405180910390fd5b61323660008383612dde565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613286919061421f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161339a846118ba565b6133a4919061467b565b9050600060076000848152602001908152602001600020549050818114613489576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061350e919061467b565b905060006009600084815260200190815260200160002054905060006008838154811061353e5761353d6147a1565b5b9060005260206000200154905080600883815481106135605761355f6147a1565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135af576135ae615333565b5b6001900381819060005260206000200160009055905550505050565b60006135d6836118ba565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461365690613f76565b90600052602060002090601f01602090048101928261367857600085556136bf565b82601f1061369157805160ff19168380011785556136bf565b828001600101855582156136bf579182015b828111156136be5782518255916020019190600101906136a3565b5b5090506136cc91906136d0565b5090565b5b808211156136e95760008160009055506001016136d1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61373681613701565b811461374157600080fd5b50565b6000813590506137538161372d565b92915050565b60006020828403121561376f5761376e6136f7565b5b600061377d84828501613744565b91505092915050565b60008115159050919050565b61379b81613786565b82525050565b60006020820190506137b66000830184613792565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137f65780820151818401526020810190506137db565b83811115613805576000848401525b50505050565b6000601f19601f8301169050919050565b6000613827826137bc565b61383181856137c7565b93506138418185602086016137d8565b61384a8161380b565b840191505092915050565b6000602082019050818103600083015261386f818461381c565b905092915050565b6000819050919050565b61388a81613877565b811461389557600080fd5b50565b6000813590506138a781613881565b92915050565b6000602082840312156138c3576138c26136f7565b5b60006138d184828501613898565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613905826138da565b9050919050565b613915816138fa565b82525050565b6000602082019050613930600083018461390c565b92915050565b61393f816138fa565b811461394a57600080fd5b50565b60008135905061395c81613936565b92915050565b60008060408385031215613979576139786136f7565b5b60006139878582860161394d565b925050602061399885828601613898565b9150509250929050565b6139ab81613877565b82525050565b60006020820190506139c660008301846139a2565b92915050565b6000806000606084860312156139e5576139e46136f7565b5b60006139f38682870161394d565b9350506020613a048682870161394d565b9250506040613a1586828701613898565b9150509250925092565b600060208284031215613a3557613a346136f7565b5b6000613a438482850161394d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a8e8261380b565b810181811067ffffffffffffffff82111715613aad57613aac613a56565b5b80604052505050565b6000613ac06136ed565b9050613acc8282613a85565b919050565b600067ffffffffffffffff821115613aec57613aeb613a56565b5b613af58261380b565b9050602081019050919050565b82818337600083830152505050565b6000613b24613b1f84613ad1565b613ab6565b905082815260208101848484011115613b4057613b3f613a51565b5b613b4b848285613b02565b509392505050565b600082601f830112613b6857613b67613a4c565b5b8135613b78848260208601613b11565b91505092915050565b600060208284031215613b9757613b966136f7565b5b600082013567ffffffffffffffff811115613bb557613bb46136fc565b5b613bc184828501613b53565b91505092915050565b60008060408385031215613be157613be06136f7565b5b6000613bef85828601613898565b9250506020613c008582860161394d565b9150509250929050565b60008060008060008060c08789031215613c2757613c266136f7565b5b6000613c3589828a01613898565b9650506020613c4689828a01613898565b9550506040613c5789828a01613898565b9450506060613c6889828a01613898565b9350506080613c7989828a01613898565b92505060a0613c8a89828a01613898565b9150509295509295509295565b613ca081613786565b8114613cab57600080fd5b50565b600081359050613cbd81613c97565b92915050565b60008060408385031215613cda57613cd96136f7565b5b6000613ce88582860161394d565b9250506020613cf985828601613cae565b9150509250929050565b600067ffffffffffffffff821115613d1e57613d1d613a56565b5b613d278261380b565b9050602081019050919050565b6000613d47613d4284613d03565b613ab6565b905082815260208101848484011115613d6357613d62613a51565b5b613d6e848285613b02565b509392505050565b600082601f830112613d8b57613d8a613a4c565b5b8135613d9b848260208601613d34565b91505092915050565b60008060008060808587031215613dbe57613dbd6136f7565b5b6000613dcc8782880161394d565b9450506020613ddd8782880161394d565b9350506040613dee87828801613898565b925050606085013567ffffffffffffffff811115613e0f57613e0e6136fc565b5b613e1b87828801613d76565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e5c81613877565b82525050565b6000613e6e8383613e53565b60208301905092915050565b6000602082019050919050565b6000613e9282613e27565b613e9c8185613e32565b9350613ea783613e43565b8060005b83811015613ed8578151613ebf8882613e62565b9750613eca83613e7a565b925050600181019050613eab565b5085935050505092915050565b60006020820190508181036000830152613eff8184613e87565b905092915050565b60008060408385031215613f1e57613f1d6136f7565b5b6000613f2c8582860161394d565b9250506020613f3d8582860161394d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f8e57607f821691505b60208210811415613fa257613fa1613f47565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614004602c836137c7565b915061400f82613fa8565b604082019050919050565b6000602082019050818103600083015261403381613ff7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140966021836137c7565b91506140a18261403a565b604082019050919050565b600060208201905081810360008301526140c581614089565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006141286038836137c7565b9150614133826140cc565b604082019050919050565b600060208201905081810360008301526141578161411b565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420466f6d6f60008201527f446f677300000000000000000000000000000000000000000000000000000000602082015250565b60006141ba6024836137c7565b91506141c58261415e565b604082019050919050565b600060208201905081810360008301526141e9816141ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061422a82613877565b915061423583613877565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561426a576142696141f0565b5b828201905092915050565b7f53616c6520776f756c6420657863656564207469657220737570706c79000000600082015250565b60006142ab601d836137c7565b91506142b682614275565b602082019050919050565b600060208201905081810360008301526142da8161429e565b9050919050565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000614317601c836137c7565b9150614322826142e1565b602082019050919050565b600060208201905081810360008301526143468161430a565b9050919050565b7f53616c6520776f756c6420657863656564206d61782062616c616e6365000000600082015250565b6000614383601d836137c7565b915061438e8261434d565b602082019050919050565b600060208201905081810360008301526143b281614376565b9050919050565b7f53616c6520776f756c6420657863656564206d6178206d696e74000000000000600082015250565b60006143ef601a836137c7565b91506143fa826143b9565b602082019050919050565b6000602082019050818103600083015261441e816143e2565b9050919050565b600061443082613877565b915061443b83613877565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614474576144736141f0565b5b828202905092915050565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b60006144b56015836137c7565b91506144c08261447f565b602082019050919050565b600060208201905081810360008301526144e4816144a8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145216020836137c7565b915061452c826144eb565b602082019050919050565b6000602082019050818103600083015261455081614514565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145b36031836137c7565b91506145be82614557565b604082019050919050565b600060208201905081810360008301526145e2816145a6565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614645602b836137c7565b9150614650826145e9565b604082019050919050565b6000602082019050818103600083015261467481614638565b9050919050565b600061468682613877565b915061469183613877565b9250828210156146a4576146a36141f0565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146e982613877565b91506146f483613877565b925082614704576147036146af565b5b828204905092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061476b602c836137c7565b91506147768261470f565b604082019050919050565b6000602082019050818103600083015261479a8161475e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5072657365727665206d696e7420776f756c642065786365656420746965722060008201527f737570706c790000000000000000000000000000000000000000000000000000602082015250565b600061482c6026836137c7565b9150614837826147d0565b604082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f5072657365727665206d696e7420776f756c6420657863656564206d6178207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b60006148be6025836137c7565b91506148c982614862565b604082019050919050565b600060208201905081810360008301526148ed816148b1565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006149506029836137c7565b915061495b826148f4565b604082019050919050565b6000602082019050818103600083015261497f81614943565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006149e2602a836137c7565b91506149ed82614986565b604082019050919050565b60006020820190508181036000830152614a11816149d5565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a4e6019836137c7565b9150614a5982614a18565b602082019050919050565b60006020820190508181036000830152614a7d81614a41565b9050919050565b7f41756374696f6e206d7573742062652061637469766520746f206d696e74204660008201527f6f6d6f446f677300000000000000000000000000000000000000000000000000602082015250565b6000614ae06027836137c7565b9150614aeb82614a84565b604082019050919050565b60006020820190508181036000830152614b0f81614ad3565b9050919050565b7f41756374696f6e206e6f74207374617274000000000000000000000000000000600082015250565b6000614b4c6011836137c7565b9150614b5782614b16565b602082019050919050565b60006020820190508181036000830152614b7b81614b3f565b9050919050565b7f41756374696f6e20776f756c6420657863656564207469657220737570706c79600082015250565b6000614bb86020836137c7565b9150614bc382614b82565b602082019050919050565b60006020820190508181036000830152614be781614bab565b9050919050565b7f41756374696f6e20776f756c6420657863656564206d617820737570706c7900600082015250565b6000614c24601f836137c7565b9150614c2f82614bee565b602082019050919050565b60006020820190508181036000830152614c5381614c17565b9050919050565b7f41756374696f6e20776f756c6420657863656564206d61782062616c616e6365600082015250565b6000614c906020836137c7565b9150614c9b82614c5a565b602082019050919050565b60006020820190508181036000830152614cbf81614c83565b9050919050565b7f41756374696f6e20776f756c6420657863656564206d6178206d696e74000000600082015250565b6000614cfc601d836137c7565b9150614d0782614cc6565b602082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614d8e602f836137c7565b9150614d9982614d32565b604082019050919050565b60006020820190508181036000830152614dbd81614d81565b9050919050565b600081905092915050565b6000614dda826137bc565b614de48185614dc4565b9350614df48185602086016137d8565b80840191505092915050565b6000614e0c8285614dcf565b9150614e188284614dcf565b91508190509392505050565b6000614e2f82613877565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e6257614e616141f0565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ec96026836137c7565b9150614ed482614e6d565b604082019050919050565b60006020820190508181036000830152614ef881614ebc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f5b602c836137c7565b9150614f6682614eff565b604082019050919050565b60006020820190508181036000830152614f8a81614f4e565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614fed6029836137c7565b9150614ff882614f91565b604082019050919050565b6000602082019050818103600083015261501c81614fe0565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061507f6024836137c7565b915061508a82615023565b604082019050919050565b600060208201905081810360008301526150ae81615072565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151116032836137c7565b915061511c826150b5565b604082019050919050565b6000602082019050818103600083015261514081615104565b9050919050565b600061515282613877565b915061515d83613877565b92508261516d5761516c6146af565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061519f82615178565b6151a98185615183565b93506151b98185602086016137d8565b6151c28161380b565b840191505092915050565b60006080820190506151e2600083018761390c565b6151ef602083018661390c565b6151fc60408301856139a2565b818103606083015261520e8184615194565b905095945050505050565b6000815190506152288161372d565b92915050565b600060208284031215615244576152436136f7565b5b600061525284828501615219565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152916020836137c7565b915061529c8261525b565b602082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006152fd601c836137c7565b9150615308826152c7565b602082019050919050565b6000602082019050818103600083015261532c816152f0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212203c45d1d2c42141b8dcd5d5aae637979034427ff9071216d7145cf4bb857858cc64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c80636b64c76911610175578063a22cb465116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610a38578063eb54f9ec14610a75578063f2fde38b14610aa0578063f4a0a52814610ac9576102ae565b8063c87b56dd14610993578063ca277a59146109d0578063d756985b14610a0d576102ae565b8063a22cb465146108cc578063b66a0e5d146108f5578063b88d4fde1461090c578063b9ae736414610935578063c1e63dfa1461094c578063c4e41b2214610968576102ae565b80638da5cb5b1161012e5780638da5cb5b146107cc5780639196eba5146107f757806395d89b4114610822578063964dd2401461084d5780639d51d9b714610878578063a04a6ac8146108a1576102ae565b80636b64c769146106e05780637080d6fc146106f757806370a0823114610722578063715018a61461075f57806373ad468a146107765780637501f741146107a1576102ae565b80634698a3d81161021957806355367ba9116101d257806355367ba9146105e657806355f804b3146105fd5780635edd95f9146106265780636352211e1461064f5780636817c76c1461068c5780636a99cacb146106b7576102ae565b80634698a3d8146104d65780634bd25c6f146105015780634f6ccce71461052c57806351cff8d914610569578063547520fe14610592578063549b9da5146105bb576102ae565b8063209ee2971161026b578063209ee297146103c857806323b872dd146103f157806326cf76b61461041a5780632f745c591461044557806332cb6b0c1461048257806342842e0e146104ad576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b3146103585780630eeb75fd1461038157806318160ddd1461039d575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613759565b610af2565b6040516102e791906137a1565b60405180910390f35b3480156102fc57600080fd5b50610305610b04565b6040516103129190613855565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d91906138ad565b610b96565b60405161034f919061391b565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613962565b610c1b565b005b61039b600480360381019061039691906138ad565b610d33565b005b3480156103a957600080fd5b506103b2610f68565b6040516103bf91906139b1565b60405180910390f35b3480156103d457600080fd5b506103ef60048036038101906103ea91906138ad565b610f75565b005b3480156103fd57600080fd5b50610418600480360381019061041391906139cc565b610ffb565b005b34801561042657600080fd5b5061042f61105b565b60405161043c91906137a1565b60405180910390f35b34801561045157600080fd5b5061046c60048036038101906104679190613962565b61106e565b60405161047991906139b1565b60405180910390f35b34801561048e57600080fd5b50610497611113565b6040516104a491906139b1565b60405180910390f35b3480156104b957600080fd5b506104d460048036038101906104cf91906139cc565b611119565b005b3480156104e257600080fd5b506104eb611139565b6040516104f891906139b1565b60405180910390f35b34801561050d57600080fd5b5061051661113f565b60405161052391906139b1565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e91906138ad565b6111e2565b60405161056091906139b1565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190613a1f565b611253565b005b34801561059e57600080fd5b506105b960048036038101906105b491906138ad565b61131f565b005b3480156105c757600080fd5b506105d06113a5565b6040516105dd91906139b1565b60405180910390f35b3480156105f257600080fd5b506105fb6113ab565b005b34801561060957600080fd5b50610624600480360381019061061f9190613b81565b611470565b005b34801561063257600080fd5b5061064d60048036038101906106489190613bca565b611506565b005b34801561065b57600080fd5b50610676600480360381019061067191906138ad565b61167c565b604051610683919061391b565b60405180910390f35b34801561069857600080fd5b506106a161172e565b6040516106ae91906139b1565b60405180910390f35b3480156106c357600080fd5b506106de60048036038101906106d99190613c0a565b611734565b005b3480156106ec57600080fd5b506106f56117e2565b005b34801561070357600080fd5b5061070c6118a7565b60405161071991906137a1565b60405180910390f35b34801561072e57600080fd5b5061074960048036038101906107449190613a1f565b6118ba565b60405161075691906139b1565b60405180910390f35b34801561076b57600080fd5b50610774611972565b005b34801561078257600080fd5b5061078b6119fa565b60405161079891906139b1565b60405180910390f35b3480156107ad57600080fd5b506107b6611a00565b6040516107c391906139b1565b60405180910390f35b3480156107d857600080fd5b506107e1611a06565b6040516107ee919061391b565b60405180910390f35b34801561080357600080fd5b5061080c611a30565b60405161081991906139b1565b60405180910390f35b34801561082e57600080fd5b50610837611a36565b6040516108449190613855565b60405180910390f35b34801561085957600080fd5b50610862611ac8565b60405161086f91906139b1565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a91906138ad565b611ace565b005b3480156108ad57600080fd5b506108b6611b54565b6040516108c391906139b1565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee9190613cc3565b611b5a565b005b34801561090157600080fd5b5061090a611cdb565b005b34801561091857600080fd5b50610933600480360381019061092e9190613da4565b611da0565b005b34801561094157600080fd5b5061094a611e02565b005b610966600480360381019061096191906138ad565b611ec7565b005b34801561097457600080fd5b5061097d612146565b60405161098a91906139b1565b60405180910390f35b34801561099f57600080fd5b506109ba60048036038101906109b591906138ad565b612155565b6040516109c79190613855565b60405180910390f35b3480156109dc57600080fd5b506109f760048036038101906109f29190613a1f565b6121d7565b604051610a049190613ee5565b60405180910390f35b348015610a1957600080fd5b50610a22612285565b604051610a2f91906139b1565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190613f07565b61228b565b604051610a6c91906137a1565b60405180910390f35b348015610a8157600080fd5b50610a8a61231f565b604051610a9791906139b1565b60405180910390f35b348015610aac57600080fd5b50610ac76004803603810190610ac29190613a1f565b612325565b005b348015610ad557600080fd5b50610af06004803603810190610aeb91906138ad565b61241d565b005b6000610afd826124a3565b9050919050565b606060008054610b1390613f76565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3f90613f76565b8015610b8c5780601f10610b6157610100808354040283529160200191610b8c565b820191906000526020600020905b815481529060010190602001808311610b6f57829003601f168201915b5050505050905090565b6000610ba18261251d565b610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd79061401a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c268261167c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e906140ac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb6612589565b73ffffffffffffffffffffffffffffffffffffffff161480610ce55750610ce481610cdf612589565b61228b565b5b610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b9061413e565b60405180910390fd5b610d2e8383612591565b505050565b600a60149054906101000a900460ff16610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d79906141d0565b60405180910390fd5b600c5481610d8e610f68565b610d98919061421f565b1115610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd0906142c1565b60405180910390fd5b61040081610de5610f68565b610def919061421f565b1115610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e279061432d565b60405180910390fd5b600d5481610e3d336118ba565b610e47919061421f565b1115610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f90614399565b60405180910390fd5b600e54811115610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490614405565b60405180910390fd5b34600b5482610edc9190614425565b1115610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f14906144cb565b60405180910390fd5b610f27813361264a565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e610f50610f68565b604051610f5d91906139b1565b60405180910390a150565b6000600880549050905090565b610f7d612589565b73ffffffffffffffffffffffffffffffffffffffff16610f9b611a06565b73ffffffffffffffffffffffffffffffffffffffff1614610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890614537565b60405180910390fd5b80600c8190555050565b61100c611006612589565b8261268f565b61104b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611042906145c9565b60405180910390fd5b61105683838361276d565b505050565b600a60159054906101000a900460ff1681565b6000611079836118ba565b82106110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b19061465b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61040081565b61113483838360405180602001604052806000815250611da0565b505050565b60135481565b6000600a60159054906101000a900460ff1661115e57600090506111df565b600f544210156111725760115490506111df565b6000601054600f5442611185919061467b565b61118f91906146de565b90506014548111156111a15760145490505b601354816111af9190614425565b601154116111bf576012546111db565b601354816111cd9190614425565b6011546111da919061467b565b5b9150505b90565b60006111ec610f68565b821061122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490614781565b60405180910390fd5b60088281548110611241576112406147a1565b5b90600052602060002001549050919050565b61125b612589565b73ffffffffffffffffffffffffffffffffffffffff16611279611a06565b73ffffffffffffffffffffffffffffffffffffffff16146112cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c690614537565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561131a573d6000803e3d6000fd5b505050565b611327612589565b73ffffffffffffffffffffffffffffffffffffffff16611345611a06565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290614537565b60405180910390fd5b80600e8190555050565b600c5481565b6113b3612589565b73ffffffffffffffffffffffffffffffffffffffff166113d1611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e90614537565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f8a98cbd0cab14e33b8a5e5710b9b59bceec8af9a5b4b3bb32fb275cf04ea048d60405160405180910390a1565b611478612589565b73ffffffffffffffffffffffffffffffffffffffff16611496611a06565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390614537565b60405180910390fd5b806015908051906020019061150292919061364a565b5050565b61150e612589565b73ffffffffffffffffffffffffffffffffffffffff1661152c611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990614537565b60405180910390fd5b600c548261158e610f68565b611598919061421f565b11156115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d090614842565b60405180910390fd5b610400826115e5610f68565b6115ef919061421f565b1115611630576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611627906148d4565b60405180910390fd5b61163a828261264a565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e611663610f68565b60405161167091906139b1565b60405180910390a15050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c90614966565b60405180910390fd5b80915050919050565b600b5481565b61173c612589565b73ffffffffffffffffffffffffffffffffffffffff1661175a611a06565b73ffffffffffffffffffffffffffffffffffffffff16146117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a790614537565b60405180910390fd5b85600f819055508460108190555083601181905550826012819055508160138190555080601481905550505050505050565b6117ea612589565b73ffffffffffffffffffffffffffffffffffffffff16611808611a06565b73ffffffffffffffffffffffffffffffffffffffff161461185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185590614537565b60405180910390fd5b6001600a60156101000a81548160ff0219169083151502179055507fc8f99b9ac2a284b93c3652b9f064a6706724088cdafa9e0a8437c026191b2f0360405160405180910390a1565b600a60149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561192b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611922906149f8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61197a612589565b73ffffffffffffffffffffffffffffffffffffffff16611998611a06565b73ffffffffffffffffffffffffffffffffffffffff16146119ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e590614537565b60405180910390fd5b6119f860006129c9565b565b600d5481565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b606060018054611a4590613f76565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7190613f76565b8015611abe5780601f10611a9357610100808354040283529160200191611abe565b820191906000526020600020905b815481529060010190602001808311611aa157829003601f168201915b5050505050905090565b60145481565b611ad6612589565b73ffffffffffffffffffffffffffffffffffffffff16611af4611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4190614537565b60405180910390fd5b80600d8190555050565b60125481565b611b62612589565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc790614a64565b60405180910390fd5b8060056000611bdd612589565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c8a612589565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ccf91906137a1565b60405180910390a35050565b611ce3612589565b73ffffffffffffffffffffffffffffffffffffffff16611d01611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e90614537565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f912ee23dde46ec889d6748212cce445d667f7041597691dc89e8549ad8bc0acb60405160405180910390a1565b611db1611dab612589565b8361268f565b611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de7906145c9565b60405180910390fd5b611dfc84848484612a8f565b50505050565b611e0a612589565b73ffffffffffffffffffffffffffffffffffffffff16611e28611a06565b73ffffffffffffffffffffffffffffffffffffffff1614611e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7590614537565b60405180910390fd5b6000600a60156101000a81548160ff0219169083151502179055507f749d6d79623c8cbd2345906702c70ae75d4254a6c409047c16d52fa5a37ef69860405160405180910390a1565b600a60159054906101000a900460ff16611f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0d90614af6565b60405180910390fd5b600f54421015611f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5290614b62565b60405180910390fd5b600c5481611f67610f68565b611f71919061421f565b1115611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614bce565b60405180910390fd5b61040081611fbe610f68565b611fc8919061421f565b1115612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614c3a565b60405180910390fd5b600d5481612016336118ba565b612020919061421f565b1115612061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205890614ca6565b60405180910390fd5b600e548111156120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d90614d12565b60405180910390fd5b346120af61113f565b826120ba9190614425565b11156120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f2906144cb565b60405180910390fd5b612105813361264a565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e61212e610f68565b60405161213b91906139b1565b60405180910390a150565b6000612150610f68565b905090565b60606121608261251d565b61219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690614da4565b60405180910390fd5b6121a7612aeb565b6121b083612b7d565b6040516020016121c1929190614e00565b6040516020818303038152906040529050919050565b606060006121e4836118ba565b905060008167ffffffffffffffff81111561220257612201613a56565b5b6040519080825280602002602001820160405280156122305781602001602082028036833780820191505090505b50905060005b8281101561227a57612248858261106e565b82828151811061225b5761225a6147a1565b5b602002602001018181525050808061227290614e24565b915050612236565b508092505050919050565b60115481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b61232d612589565b73ffffffffffffffffffffffffffffffffffffffff1661234b611a06565b73ffffffffffffffffffffffffffffffffffffffff16146123a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239890614537565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890614edf565b60405180910390fd5b61241a816129c9565b50565b612425612589565b73ffffffffffffffffffffffffffffffffffffffff16612443611a06565b73ffffffffffffffffffffffffffffffffffffffff1614612499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249090614537565b60405180910390fd5b80600b8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612516575061251582612cde565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126048361167c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612654610f68565b905060005b8381101561268957612676838284612671919061421f565b612dc0565b808061268190614e24565b915050612659565b50505050565b600061269a8261251d565b6126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d090614f71565b60405180910390fd5b60006126e48361167c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061275357508373ffffffffffffffffffffffffffffffffffffffff1661273b84610b96565b73ffffffffffffffffffffffffffffffffffffffff16145b806127645750612763818561228b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661278d8261167c565b73ffffffffffffffffffffffffffffffffffffffff16146127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615003565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284a90615095565b60405180910390fd5b61285e838383612dde565b612869600082612591565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128b9919061467b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612910919061421f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a9a84848461276d565b612aa684848484612dee565b612ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adc90615127565b60405180910390fd5b50505050565b606060158054612afa90613f76565b80601f0160208091040260200160405190810160405280929190818152602001828054612b2690613f76565b8015612b735780601f10612b4857610100808354040283529160200191612b73565b820191906000526020600020905b815481529060010190602001808311612b5657829003601f168201915b5050505050905090565b60606000821415612bc5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cd9565b600082905060005b60008214612bf7578080612be090614e24565b915050600a82612bf091906146de565b9150612bcd565b60008167ffffffffffffffff811115612c1357612c12613a56565b5b6040519080825280601f01601f191660200182016040528015612c455781602001600182028036833780820191505090505b5090505b60008514612cd257600182612c5e919061467b565b9150600a85612c6d9190615147565b6030612c79919061421f565b60f81b818381518110612c8f57612c8e6147a1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ccb91906146de565b9450612c49565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612da957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612db95750612db882612f85565b5b9050919050565b612dda828260405180602001604052806000815250612fef565b5050565b612de983838361304a565b505050565b6000612e0f8473ffffffffffffffffffffffffffffffffffffffff1661315e565b15612f78578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e38612589565b8786866040518563ffffffff1660e01b8152600401612e5a94939291906151cd565b602060405180830381600087803b158015612e7457600080fd5b505af1925050508015612ea557506040513d601f19601f82011682018060405250810190612ea2919061522e565b60015b612f28573d8060008114612ed5576040519150601f19603f3d011682016040523d82523d6000602084013e612eda565b606091505b50600081511415612f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1790615127565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f7d565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ff98383613171565b6130066000848484612dee565b613045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303c90615127565b60405180910390fd5b505050565b61305583838361333f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130985761309381613344565b6130d7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130d6576130d5838261338d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561311a57613115816134fa565b613159565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131585761315782826135cb565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d8906152a7565b60405180910390fd5b6131ea8161251d565b1561322a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322190615313565b60405180910390fd5b61323660008383612dde565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613286919061421f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161339a846118ba565b6133a4919061467b565b9050600060076000848152602001908152602001600020549050818114613489576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061350e919061467b565b905060006009600084815260200190815260200160002054905060006008838154811061353e5761353d6147a1565b5b9060005260206000200154905080600883815481106135605761355f6147a1565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135af576135ae615333565b5b6001900381819060005260206000200160009055905550505050565b60006135d6836118ba565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461365690613f76565b90600052602060002090601f01602090048101928261367857600085556136bf565b82601f1061369157805160ff19168380011785556136bf565b828001600101855582156136bf579182015b828111156136be5782518255916020019190600101906136a3565b5b5090506136cc91906136d0565b5090565b5b808211156136e95760008160009055506001016136d1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61373681613701565b811461374157600080fd5b50565b6000813590506137538161372d565b92915050565b60006020828403121561376f5761376e6136f7565b5b600061377d84828501613744565b91505092915050565b60008115159050919050565b61379b81613786565b82525050565b60006020820190506137b66000830184613792565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137f65780820151818401526020810190506137db565b83811115613805576000848401525b50505050565b6000601f19601f8301169050919050565b6000613827826137bc565b61383181856137c7565b93506138418185602086016137d8565b61384a8161380b565b840191505092915050565b6000602082019050818103600083015261386f818461381c565b905092915050565b6000819050919050565b61388a81613877565b811461389557600080fd5b50565b6000813590506138a781613881565b92915050565b6000602082840312156138c3576138c26136f7565b5b60006138d184828501613898565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613905826138da565b9050919050565b613915816138fa565b82525050565b6000602082019050613930600083018461390c565b92915050565b61393f816138fa565b811461394a57600080fd5b50565b60008135905061395c81613936565b92915050565b60008060408385031215613979576139786136f7565b5b60006139878582860161394d565b925050602061399885828601613898565b9150509250929050565b6139ab81613877565b82525050565b60006020820190506139c660008301846139a2565b92915050565b6000806000606084860312156139e5576139e46136f7565b5b60006139f38682870161394d565b9350506020613a048682870161394d565b9250506040613a1586828701613898565b9150509250925092565b600060208284031215613a3557613a346136f7565b5b6000613a438482850161394d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a8e8261380b565b810181811067ffffffffffffffff82111715613aad57613aac613a56565b5b80604052505050565b6000613ac06136ed565b9050613acc8282613a85565b919050565b600067ffffffffffffffff821115613aec57613aeb613a56565b5b613af58261380b565b9050602081019050919050565b82818337600083830152505050565b6000613b24613b1f84613ad1565b613ab6565b905082815260208101848484011115613b4057613b3f613a51565b5b613b4b848285613b02565b509392505050565b600082601f830112613b6857613b67613a4c565b5b8135613b78848260208601613b11565b91505092915050565b600060208284031215613b9757613b966136f7565b5b600082013567ffffffffffffffff811115613bb557613bb46136fc565b5b613bc184828501613b53565b91505092915050565b60008060408385031215613be157613be06136f7565b5b6000613bef85828601613898565b9250506020613c008582860161394d565b9150509250929050565b60008060008060008060c08789031215613c2757613c266136f7565b5b6000613c3589828a01613898565b9650506020613c4689828a01613898565b9550506040613c5789828a01613898565b9450506060613c6889828a01613898565b9350506080613c7989828a01613898565b92505060a0613c8a89828a01613898565b9150509295509295509295565b613ca081613786565b8114613cab57600080fd5b50565b600081359050613cbd81613c97565b92915050565b60008060408385031215613cda57613cd96136f7565b5b6000613ce88582860161394d565b9250506020613cf985828601613cae565b9150509250929050565b600067ffffffffffffffff821115613d1e57613d1d613a56565b5b613d278261380b565b9050602081019050919050565b6000613d47613d4284613d03565b613ab6565b905082815260208101848484011115613d6357613d62613a51565b5b613d6e848285613b02565b509392505050565b600082601f830112613d8b57613d8a613a4c565b5b8135613d9b848260208601613d34565b91505092915050565b60008060008060808587031215613dbe57613dbd6136f7565b5b6000613dcc8782880161394d565b9450506020613ddd8782880161394d565b9350506040613dee87828801613898565b925050606085013567ffffffffffffffff811115613e0f57613e0e6136fc565b5b613e1b87828801613d76565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e5c81613877565b82525050565b6000613e6e8383613e53565b60208301905092915050565b6000602082019050919050565b6000613e9282613e27565b613e9c8185613e32565b9350613ea783613e43565b8060005b83811015613ed8578151613ebf8882613e62565b9750613eca83613e7a565b925050600181019050613eab565b5085935050505092915050565b60006020820190508181036000830152613eff8184613e87565b905092915050565b60008060408385031215613f1e57613f1d6136f7565b5b6000613f2c8582860161394d565b9250506020613f3d8582860161394d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f8e57607f821691505b60208210811415613fa257613fa1613f47565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614004602c836137c7565b915061400f82613fa8565b604082019050919050565b6000602082019050818103600083015261403381613ff7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140966021836137c7565b91506140a18261403a565b604082019050919050565b600060208201905081810360008301526140c581614089565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006141286038836137c7565b9150614133826140cc565b604082019050919050565b600060208201905081810360008301526141578161411b565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420466f6d6f60008201527f446f677300000000000000000000000000000000000000000000000000000000602082015250565b60006141ba6024836137c7565b91506141c58261415e565b604082019050919050565b600060208201905081810360008301526141e9816141ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061422a82613877565b915061423583613877565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561426a576142696141f0565b5b828201905092915050565b7f53616c6520776f756c6420657863656564207469657220737570706c79000000600082015250565b60006142ab601d836137c7565b91506142b682614275565b602082019050919050565b600060208201905081810360008301526142da8161429e565b9050919050565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000614317601c836137c7565b9150614322826142e1565b602082019050919050565b600060208201905081810360008301526143468161430a565b9050919050565b7f53616c6520776f756c6420657863656564206d61782062616c616e6365000000600082015250565b6000614383601d836137c7565b915061438e8261434d565b602082019050919050565b600060208201905081810360008301526143b281614376565b9050919050565b7f53616c6520776f756c6420657863656564206d6178206d696e74000000000000600082015250565b60006143ef601a836137c7565b91506143fa826143b9565b602082019050919050565b6000602082019050818103600083015261441e816143e2565b9050919050565b600061443082613877565b915061443b83613877565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614474576144736141f0565b5b828202905092915050565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b60006144b56015836137c7565b91506144c08261447f565b602082019050919050565b600060208201905081810360008301526144e4816144a8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145216020836137c7565b915061452c826144eb565b602082019050919050565b6000602082019050818103600083015261455081614514565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145b36031836137c7565b91506145be82614557565b604082019050919050565b600060208201905081810360008301526145e2816145a6565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614645602b836137c7565b9150614650826145e9565b604082019050919050565b6000602082019050818103600083015261467481614638565b9050919050565b600061468682613877565b915061469183613877565b9250828210156146a4576146a36141f0565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146e982613877565b91506146f483613877565b925082614704576147036146af565b5b828204905092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061476b602c836137c7565b91506147768261470f565b604082019050919050565b6000602082019050818103600083015261479a8161475e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5072657365727665206d696e7420776f756c642065786365656420746965722060008201527f737570706c790000000000000000000000000000000000000000000000000000602082015250565b600061482c6026836137c7565b9150614837826147d0565b604082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f5072657365727665206d696e7420776f756c6420657863656564206d6178207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b60006148be6025836137c7565b91506148c982614862565b604082019050919050565b600060208201905081810360008301526148ed816148b1565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006149506029836137c7565b915061495b826148f4565b604082019050919050565b6000602082019050818103600083015261497f81614943565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006149e2602a836137c7565b91506149ed82614986565b604082019050919050565b60006020820190508181036000830152614a11816149d5565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a4e6019836137c7565b9150614a5982614a18565b602082019050919050565b60006020820190508181036000830152614a7d81614a41565b9050919050565b7f41756374696f6e206d7573742062652061637469766520746f206d696e74204660008201527f6f6d6f446f677300000000000000000000000000000000000000000000000000602082015250565b6000614ae06027836137c7565b9150614aeb82614a84565b604082019050919050565b60006020820190508181036000830152614b0f81614ad3565b9050919050565b7f41756374696f6e206e6f74207374617274000000000000000000000000000000600082015250565b6000614b4c6011836137c7565b9150614b5782614b16565b602082019050919050565b60006020820190508181036000830152614b7b81614b3f565b9050919050565b7f41756374696f6e20776f756c6420657863656564207469657220737570706c79600082015250565b6000614bb86020836137c7565b9150614bc382614b82565b602082019050919050565b60006020820190508181036000830152614be781614bab565b9050919050565b7f41756374696f6e20776f756c6420657863656564206d617820737570706c7900600082015250565b6000614c24601f836137c7565b9150614c2f82614bee565b602082019050919050565b60006020820190508181036000830152614c5381614c17565b9050919050565b7f41756374696f6e20776f756c6420657863656564206d61782062616c616e6365600082015250565b6000614c906020836137c7565b9150614c9b82614c5a565b602082019050919050565b60006020820190508181036000830152614cbf81614c83565b9050919050565b7f41756374696f6e20776f756c6420657863656564206d6178206d696e74000000600082015250565b6000614cfc601d836137c7565b9150614d0782614cc6565b602082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614d8e602f836137c7565b9150614d9982614d32565b604082019050919050565b60006020820190508181036000830152614dbd81614d81565b9050919050565b600081905092915050565b6000614dda826137bc565b614de48185614dc4565b9350614df48185602086016137d8565b80840191505092915050565b6000614e0c8285614dcf565b9150614e188284614dcf565b91508190509392505050565b6000614e2f82613877565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e6257614e616141f0565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ec96026836137c7565b9150614ed482614e6d565b604082019050919050565b60006020820190508181036000830152614ef881614ebc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f5b602c836137c7565b9150614f6682614eff565b604082019050919050565b60006020820190508181036000830152614f8a81614f4e565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614fed6029836137c7565b9150614ff882614f91565b604082019050919050565b6000602082019050818103600083015261501c81614fe0565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061507f6024836137c7565b915061508a82615023565b604082019050919050565b600060208201905081810360008301526150ae81615072565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151116032836137c7565b915061511c826150b5565b604082019050919050565b6000602082019050818103600083015261514081615104565b9050919050565b600061515282613877565b915061515d83613877565b92508261516d5761516c6146af565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061519f82615178565b6151a98185615183565b93506151b98185602086016137d8565b6151c28161380b565b840191505092915050565b60006080820190506151e2600083018761390c565b6151ef602083018661390c565b6151fc60408301856139a2565b818103606083015261520e8184615194565b905095945050505050565b6000815190506152288161372d565b92915050565b600060208284031215615244576152436136f7565b5b600061525284828501615219565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152916020836137c7565b915061529c8261525b565b602082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006152fd601c836137c7565b9150615308826152c7565b602082019050919050565b6000602082019050818103600083015261532c816152f0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212203c45d1d2c42141b8dcd5d5aae637979034427ff9071216d7145cf4bb857858cc64736f6c63430008090033
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.