Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
226 FNSR
Holders
226
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FNSRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFTFinesser
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; /// @author @txorigin import "@openzeppelin/contracts/access/Ownable.sol"; import "erc721a/contracts/ERC721A.sol"; /* ========================================================================================== ========================================================================================== =====================================---:::::::::::--===================================== ===============================-:. .::-============================== ===========================:. .:-========================== =======================-. ...:::------:::::.. .:-====================== =====================: ..:---------------========-: .-==================== ==================:. .:-=--:=-:::--=-----------======---: :================== ================: :-=====--:===---:.::....:::--------------. .-=============== ==============- .----====---==-: .:===========-. :============== =============: :==========--:: .:-=========:. .-============ ===========- :=========-==: :====-==---- .=========== ==========: -========--==. ====---====: .========== =========: .========-==== .=--===-==-=: .========= ========- .----====-==== .=--========- .======== ======== .===--=-=--===: -=---------=- .======= ======+. ===--+=--===== ==========-=- -====== =====+: ----==--======= :------------. ====== ====== :====-=========: -============= :===== =====: ====-========+=- -==-==========. ===== ====+. .==-=+=====-====- -====-:. ..::---===--. :=============: ===== ====+. .==-============ -======+- .==========+++: .----------===- -==== ====+ :==-+=======-+== :=====: :========+=: ==---------:== -==== ====+. :==-++==-=-=+=== ..::::. =-=====-=----: -==== ====+. .==+==-===+==+=.. .===-===-===--: ===== =====: =+===-=+++==:.== =====:==--====. ===== ====== :-=-=++++=:.=+=+. :=:====:====-=== :===== =====+: -=++++=:.=+++++: .-===: -==:====-=--===-: ====== ======+. .+++=:.=+++++=-- ======- .====:=====----==- :====== =======- :+:.=+++++=-==+: .+=====+ ::::-:-=======--- .======= =======+: =+++++=-==++++. =+++++= :-===---:-======- .======== ========+: .++==-==++.:+-:. :---: =======--:=--==- .========= =========+: .=-==+++=======. --======-:=--:: .========== ==========+: -+++==-======- ==-=====-:===. .=========== ++=========+=: .:===+-=====- -=======-:-. .-============ +++==========+- -++--++++. .======:: :============== ++++++==========: .:-=++=. .-===:. .-=============== ++++++++==========:. :. .. .-================= +++++++++==========+-. .:==================== ++++++++++++=========+=-. .:-====================== +++++++++++++++=========+=-:.. ..... ..... ... .. . .. .:-========================== ++++++++++++++++===============-:.. .::-============================== +++++++++++++++++====================---:::::::::::---==================================== +++++++++++++++++++======================================================================= ++++++++++++++++++++++==================================================================== */ contract NFTFinesser is Ownable, ERC721A { uint256 public maxSupply = 300; uint256 public tokenPrice = 1000000000000000000; // 1 Ether uint256 public renewalPrice = 420690000000000000; // 0.42069 Ether bool public saleIsActive = false; mapping(uint256 => uint256) public expiryTime; constructor() ERC721A("NFT Finesser", "FNSR") {} modifier callerIsUser() { require(tx.origin == msg.sender, "Caller cannot be a contract"); _; } /// reference: 0xc47e04308a2cBc59778e1dc2E182546C98CD5cbb /// @notice airdrop tokens to already paying users function airdropToMembers( address[] calldata _addresses, uint256[] calldata _expiries ) public onlyOwner { uint256 quantity = _addresses.length; require( quantity == _expiries.length, "Arrays length not matching." ); require( maxSupply >= totalSupply() + quantity, "Airdropped tokens would exceed max supply." ); for (uint256 i=0; i<quantity;) { _safeMint(_addresses[i], 1); if (_expiries[i] != 0) { expiryTime[_currentIndex-1] = _expiries[i]; } unchecked{ i++; } } } function mint() external payable callerIsUser { require(saleIsActive, "Sale must be active."); require(tokenPrice <= msg.value, "Not enough Ethereum sent."); require(maxSupply >= totalSupply() + 1, "Max supply has been reached."); _safeMint(msg.sender, 1); expiryTime[_currentIndex-1] = block.timestamp + 30 days; } function ownerMint(address _receiver) public onlyOwner { _safeMint(_receiver, 1); expiryTime[_currentIndex-1] = block.timestamp + 30 days; } function ownerBatchMint(address[] calldata _receivers) public onlyOwner { uint256 quantity = _receivers.length; require( maxSupply >= totalSupply() + quantity, "Minted tokens would exceed max supply." ); for (uint256 i=0; i<quantity;) { _safeMint(_receivers[i], 1); expiryTime[_currentIndex-1] = block.timestamp + 30 days; unchecked{ i++; } } } /// @notice extends/renews a token expiry date. /// @param tokenId the token id to extend/renew. function renewToken(uint256 tokenId) public payable { require(_exists(tokenId), "Token doesn't exist."); require(renewalPrice <= msg.value, "Not enough Ethereum sent."); uint256 _currentExpiryTime = expiryTime[tokenId]; if (block.timestamp > _currentExpiryTime) { expiryTime[tokenId] = block.timestamp + 30 days; } else { expiryTime[tokenId] += 30 days; } } function ownerRenewToken(uint256 tokenId) public onlyOwner { require(_exists(tokenId), "Token doesn't exist."); uint256 _currentExpiryTime = expiryTime[tokenId]; if (block.timestamp > _currentExpiryTime) { expiryTime[tokenId] = block.timestamp + 30 days; } else { expiryTime[tokenId] += 30 days; } } function ownerBatchRenewTokens(uint256[] calldata tokenIds) public onlyOwner { uint256 quantity = tokenIds.length; require(quantity >= 2, "Invalid array length."); for (uint256 i=0; i<quantity;) { require(_exists(tokenIds[i]), "Token doesn't exist."); uint256 _currentExpiryTime = expiryTime[tokenIds[i]]; if (block.timestamp > _currentExpiryTime) { expiryTime[tokenIds[i]] = block.timestamp + 30 days; } else { expiryTime[tokenIds[i]] += 30 days; } unchecked{ i++; } } } /// @notice overrides a token expiry date. function ownerSetTokenExpiry(uint256 tokenId, uint8 _days) public onlyOwner { require(_exists(tokenId), "Token doesn't exist."); expiryTime[tokenId] = block.timestamp + _days * 1 days; } /// @notice increments the `maxSupply` value. function addTokens(uint256 numTokens) external onlyOwner { maxSupply += numTokens; } /// @notice decrements the `maxSupply` value. function removeTokens(uint256 numTokens) external onlyOwner { require( maxSupply - numTokens >= totalSupply(), "Supply cannot fall below minted tokens." ); maxSupply -= numTokens; } /// @notice updates the `renewalPrice` value. function updateRenewalPrice(uint256 _renewalPrice) external onlyOwner { renewalPrice = _renewalPrice; } /// @notice updates the `tokenPrice` value. function updateTokenPrice(uint256 _tokenPrice) external onlyOwner { tokenPrice = _tokenPrice; } /// @notice flips the public sale status. function toggleSale() public onlyOwner { saleIsActive = !saleIsActive; } function authenticateUser(uint256 tokenId) public view returns (bool) { require(_exists(tokenId), "Token doesn't exist."); require( expiryTime[tokenId] > block.timestamp, "Token has expired. Must renew to authenticate!" ); return msg.sender == ownerOf(tokenId) ? true : false; } function checkTokenExpiry(uint256 tokenId) public view returns (uint256) { require(_exists(tokenId), "Token doesn't exist."); return expiryTime[tokenId]; } /// metadata URI string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdrawBalance() public onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } /// @notice safely transfer a token from one owner to another. /// token must not be expired. function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { if (owner() != msg.sender) { require( expiryTime[tokenId] > block.timestamp, "Cannot transfer an expired Token." ); } _transfer(from, to, tokenId); if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /// @notice transfer a token from one owner to another. /// token must not be expired. function transferFrom( address from, address to, uint256 tokenId ) public virtual override { if (owner() != msg.sender) { require( expiryTime[tokenId] > block.timestamp, "Cannot transfer an expired Token." ); } _transfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /// @dev Returns the tokenIds of the address. O(totalSupply) in complexity. function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256[] memory a = new uint256[](balanceOf(owner)); uint256 end = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; for (uint256 i; i < end; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { a[tokenIdsIdx++] = i; } } return a; } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) internal returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"addTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_expiries","type":"uint256[]"}],"name":"airdropToMembers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"authenticateUser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"checkTokenExpiry","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"expiryTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","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":"address[]","name":"_receivers","type":"address[]"}],"name":"ownerBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"ownerBatchRenewTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerRenewToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"_days","type":"uint8"}],"name":"ownerSetTokenExpiry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"removeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"renewToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renewalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","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":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenPrice","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_renewalPrice","type":"uint256"}],"name":"updateRenewalPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"updateTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261012c600955670de0b6b3a7640000600a556705d697537a8f2000600b556000600c60006101000a81548160ff0219169083151502179055503480156200004a57600080fd5b506040518060400160405280600c81526020017f4e46542046696e657373657200000000000000000000000000000000000000008152506040518060400160405280600481526020017f464e535200000000000000000000000000000000000000000000000000000000815250620000d7620000cb6200012760201b60201c565b6200012f60201b60201c565b8160039080519060200190620000ef929190620001fc565b50806004908051906020019062000108929190620001fc565b5062000119620001f360201b60201c565b600181905550505062000310565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b8280546200020a90620002db565b90600052602060002090601f0160209004810192826200022e57600085556200027a565b82601f106200024957805160ff19168380011785556200027a565b828001600101855582156200027a579182015b82811115620002795782518255916020019190600101906200025c565b5b5090506200028991906200028d565b5090565b5b80821115620002a85760008160009055506001016200028e565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f457607f821691505b6020821081036200030a5762000309620002ac565b5b50919050565b614df880620003206000396000f3fe60806040526004361061023b5760003560e01c80637b55297a1161012e578063b8cb65ee116100ab578063d5abeb011161006f578063d5abeb0114610839578063e985e9c514610864578063eb8d2444146108a1578063f2fde38b146108cc578063faab3def146108f55761023b565b8063b8cb65ee14610730578063be010c4014610759578063c6ed899014610796578063c87b56dd146107bf578063cdffd6ed146107fc5761023b565b80638462151c116100f25780638462151c1461064b5780638da5cb5b1461068857806395d89b41146106b3578063a22cb465146106de578063b88d4fde146107075761023b565b80637b55297a146105785780637d8966e4146105a35780637e3eb701146105ba5780637efc351b146105f75780637ff9b596146106205761023b565b806348bb30e7116101bc578063676c0d7711610180578063676c0d77146104b65780636a46a052146104df57806370a0823114610508578063715018a61461054557806371e239471461055c5761023b565b806348bb30e7146103e757806354412c5e1461041057806355f804b3146104395780635fd8c710146104625780636352211e146104795761023b565b806318160ddd1161020357806318160ddd146103185780631e3bcc8e1461034357806323b872dd1461036c5780633e262e5a1461039557806342842e0e146103be5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780631249c58b1461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613970565b61091e565b60405161027491906139b8565b60405180910390f35b34801561028957600080fd5b50610292610a00565b60405161029f9190613a6c565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613ac4565b610a92565b6040516102dc9190613b32565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190613b79565b610b0e565b005b610316610c18565b005b34801561032457600080fd5b5061032d610db2565b60405161033a9190613bc8565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613be3565b610dc9565b005b34801561037857600080fd5b50610393600480360381019061038e9190613c10565b610e86565b005b3480156103a157600080fd5b506103bc60048036038101906103b79190613cc8565b610f26565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190613c10565b611084565b005b3480156103f357600080fd5b5061040e60048036038101906104099190613ac4565b6110a4565b005b34801561041c57600080fd5b5061043760048036038101906104329190613d6b565b61112a565b005b34801561044557600080fd5b50610460600480360381019061045b9190613e42565b6112fc565b005b34801561046e57600080fd5b5061047761138e565b005b34801561048557600080fd5b506104a0600480360381019061049b9190613ac4565b6114b9565b6040516104ad9190613b32565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190613ac4565b6114cf565b005b3480156104eb57600080fd5b5061050660048036038101906105019190613e8f565b611555565b005b34801561051457600080fd5b5061052f600480360381019061052a9190613be3565b611761565b60405161053c9190613bc8565b60405180910390f35b34801561055157600080fd5b5061055a611830565b005b61057660048036038101906105719190613ac4565b6118b8565b005b34801561058457600080fd5b5061058d6119c2565b60405161059a9190613bc8565b60405180910390f35b3480156105af57600080fd5b506105b86119c8565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190613ac4565b611a70565b6040516105ee9190613bc8565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613f15565b611ad5565b005b34801561062c57600080fd5b50610635611bd6565b6040516106429190613bc8565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190613be3565b611bdc565b60405161067f9190614013565b60405180910390f35b34801561069457600080fd5b5061069d611dd3565b6040516106aa9190613b32565b60405180910390f35b3480156106bf57600080fd5b506106c8611dfc565b6040516106d59190613a6c565b60405180910390f35b3480156106ea57600080fd5b5061070560048036038101906107009190614061565b611e8e565b005b34801561071357600080fd5b5061072e600480360381019061072991906141d1565b612005565b005b34801561073c57600080fd5b5061075760048036038101906107529190613ac4565b6120e8565b005b34801561076557600080fd5b50610780600480360381019061077b9190613ac4565b6121d7565b60405161078d9190613bc8565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190613ac4565b6121ef565b005b3480156107cb57600080fd5b506107e660048036038101906107e19190613ac4565b612287565b6040516107f39190613a6c565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190613ac4565b612325565b60405161083091906139b8565b60405180910390f35b34801561084557600080fd5b5061084e612410565b60405161085b9190613bc8565b60405180910390f35b34801561087057600080fd5b5061088b60048036038101906108869190614254565b612416565b60405161089891906139b8565b60405180910390f35b3480156108ad57600080fd5b506108b66124aa565b6040516108c391906139b8565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee9190613be3565b6124bd565b005b34801561090157600080fd5b5061091c60048036038101906109179190613ac4565b6125b4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109f957506109f8826126f5565b5b9050919050565b606060038054610a0f906142c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3b906142c3565b8015610a885780601f10610a5d57610100808354040283529160200191610a88565b820191906000526020600020905b815481529060010190602001808311610a6b57829003601f168201915b5050505050905090565b6000610a9d8261275f565b610ad3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b19826114b9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b80576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9f6127ad565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bd15750610bcf81610bca6127ad565b612416565b155b15610c08576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c138383836127b5565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90614340565b60405180910390fd5b600c60009054906101000a900460ff16610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc906143ac565b60405180910390fd5b34600a541115610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1190614418565b60405180910390fd5b6001610d24610db2565b610d2e9190614467565b6009541015610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990614509565b60405180910390fd5b610d7d336001612867565b62278d0042610d8c9190614467565b600d600060018054610d9e9190614529565b815260200190815260200160002081905550565b6000610dbc612885565b6002546001540303905090565b610dd16127ad565b73ffffffffffffffffffffffffffffffffffffffff16610def611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c906145a9565b60405180910390fd5b610e50816001612867565b62278d0042610e5f9190614467565b600d600060018054610e719190614529565b81526020019081526020016000208190555050565b3373ffffffffffffffffffffffffffffffffffffffff16610ea5611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614610f165742600d60008381526020019081526020016000205411610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c9061463b565b60405180910390fd5b5b610f2183838361288e565b505050565b610f2e6127ad565b73ffffffffffffffffffffffffffffffffffffffff16610f4c611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906145a9565b60405180910390fd5b600082829050905080610fb3610db2565b610fbd9190614467565b6009541015611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff8906146cd565b60405180910390fd5b60005b8181101561107e5761103e848483818110611022576110216146ed565b5b90506020020160208101906110379190613be3565b6001612867565b62278d004261104d9190614467565b600d60006001805461105f9190614529565b8152602001908152602001600020819055508080600101915050611004565b50505050565b61109f83838360405180602001604052806000815250612005565b505050565b6110ac6127ad565b73ffffffffffffffffffffffffffffffffffffffff166110ca611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611117906145a9565b60405180910390fd5b80600b8190555050565b6111326127ad565b73ffffffffffffffffffffffffffffffffffffffff16611150611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146111a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119d906145a9565b60405180910390fd5b60008484905090508282905081146111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90614768565b60405180910390fd5b806111fc610db2565b6112069190614467565b600954101561124a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611241906147fa565b60405180910390fd5b60005b818110156112f45761128786868381811061126b5761126a6146ed565b5b90506020020160208101906112809190613be3565b6001612867565b600084848381811061129c5761129b6146ed565b5b90506020020135146112e7578383828181106112bb576112ba6146ed565b5b90506020020135600d6000600180546112d49190614529565b8152602001908152602001600020819055505b808060010191505061124d565b505050505050565b6113046127ad565b73ffffffffffffffffffffffffffffffffffffffff16611322611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f906145a9565b60405180910390fd5b8181600e919061138992919061381e565b505050565b6113966127ad565b73ffffffffffffffffffffffffffffffffffffffff166113b4611dd3565b73ffffffffffffffffffffffffffffffffffffffff161461140a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611401906145a9565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516114309061484b565b60006040518083038185875af1925050503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50509050806114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad906148ac565b60405180910390fd5b50565b60006114c482612d7d565b600001519050919050565b6114d76127ad565b73ffffffffffffffffffffffffffffffffffffffff166114f5611dd3565b73ffffffffffffffffffffffffffffffffffffffff161461154b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611542906145a9565b60405180910390fd5b80600a8190555050565b61155d6127ad565b73ffffffffffffffffffffffffffffffffffffffff1661157b611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c8906145a9565b60405180910390fd5b6000828290509050600281101561161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490614918565b60405180910390fd5b60005b8181101561175b5761164a84848381811061163e5761163d6146ed565b5b9050602002013561275f565b611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168090614984565b60405180910390fd5b6000600d60008686858181106116a2576116a16146ed565b5b905060200201358152602001908152602001600020549050804211156117065762278d00426116d19190614467565b600d60008787868181106116e8576116e76146ed565b5b9050602002013581526020019081526020016000208190555061174d565b62278d00600d6000878786818110611721576117206146ed565b5b90506020020135815260200190815260200160002060008282546117459190614467565b925050819055505b818060010192505050611620565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117c8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6118386127ad565b73ffffffffffffffffffffffffffffffffffffffff16611856611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a3906145a9565b60405180910390fd5b6118b6600061300c565b565b6118c18161275f565b611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790614984565b60405180910390fd5b34600b541115611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c90614418565b60405180910390fd5b6000600d6000838152602001908152602001600020549050804211156119905762278d00426119749190614467565b600d6000848152602001908152602001600020819055506119be565b62278d00600d600084815260200190815260200160002060008282546119b69190614467565b925050819055505b5050565b600b5481565b6119d06127ad565b73ffffffffffffffffffffffffffffffffffffffff166119ee611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3b906145a9565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6000611a7b8261275f565b611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614984565b60405180910390fd5b600d6000838152602001908152602001600020549050919050565b611add6127ad565b73ffffffffffffffffffffffffffffffffffffffff16611afb611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b48906145a9565b60405180910390fd5b611b5a8261275f565b611b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9090614984565b60405180910390fd5b620151808160ff16611bab91906149b3565b62ffffff1642611bbb9190614467565b600d6000848152602001908152602001600020819055505050565b600a5481565b60606000611be983611761565b67ffffffffffffffff811115611c0257611c016140a6565b5b604051908082528060200260200182016040528015611c305781602001602082028036833780820191505090505b5090506000600154905060008060005b83811015611dc6576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115611d1d5750611db9565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d5d57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611db75781868580600101965081518110611daa57611da96146ed565b5b6020026020010181815250505b505b8080600101915050611c40565b5083945050505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611e0b906142c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611e37906142c3565b8015611e845780601f10611e5957610100808354040283529160200191611e84565b820191906000526020600020905b815481529060010190602001808311611e6757829003601f168201915b5050505050905090565b611e966127ad565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611efa576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000611f076127ad565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fb46127ad565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ff991906139b8565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16612024611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146120955742600d60008481526020019081526020016000205411612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b9061463b565b60405180910390fd5b5b6120a084848461288e565b6120ac848484846130d0565b6120e2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6120f06127ad565b73ffffffffffffffffffffffffffffffffffffffff1661210e611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614612164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215b906145a9565b60405180910390fd5b61216c610db2565b8160095461217a9190614529565b10156121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b290614a62565b60405180910390fd5b80600960008282546121cd9190614529565b9250508190555050565b600d6020528060005260406000206000915090505481565b6121f76127ad565b73ffffffffffffffffffffffffffffffffffffffff16612215611dd3565b73ffffffffffffffffffffffffffffffffffffffff161461226b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612262906145a9565b60405180910390fd5b806009600082825461227d9190614467565b9250508190555050565b60606122928261275f565b6122c8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122d2613220565b905060008151036122f2576040518060200160405280600081525061231d565b806122fc846132b2565b60405160200161230d929190614abe565b6040516020818303038152906040525b915050919050565b60006123308261275f565b61236f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236690614984565b60405180910390fd5b42600d600084815260200190815260200160002054116123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90614b54565b60405180910390fd5b6123cd826114b9565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612406576000612409565b60015b9050919050565b60095481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b6124c56127ad565b73ffffffffffffffffffffffffffffffffffffffff166124e3611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614612539576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612530906145a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036125a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259f90614be6565b60405180910390fd5b6125b18161300c565b50565b6125bc6127ad565b73ffffffffffffffffffffffffffffffffffffffff166125da611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614612630576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612627906145a9565b60405180910390fd5b6126398161275f565b612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f90614984565b60405180910390fd5b6000600d6000838152602001908152602001600020549050804211156126c35762278d00426126a79190614467565b600d6000848152602001908152602001600020819055506126f1565b62278d00600d600084815260200190815260200160002060008282546126e99190614467565b925050819055505b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161276a612885565b11158015612779575060015482105b80156127a6575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612881828260405180602001604052806000815250613412565b5050565b60006001905090565b600061289982612d7d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166128c06127ad565b73ffffffffffffffffffffffffffffffffffffffff1614806128f357506128f282600001516128ed6127ad565b612416565b5b8061293857506129016127ad565b73ffffffffffffffffffffffffffffffffffffffff1661292084610a92565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612971576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129da576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612a40576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a4d8585856001613424565b612a5d60008484600001516127b5565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612d0d57600154811015612d0c5782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d76858585600161342a565b5050505050565b612d856138a4565b600082905080612d93612885565b11158015612da2575060015481105b15612fd5576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612fd357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612eb7578092505050613007565b5b600115612fd257818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fcd578092505050613007565b612eb8565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130f66127ad565b8786866040518563ffffffff1660e01b81526004016131189493929190614c5b565b6020604051808303816000875af192505050801561315457506040513d601f19601f820116820180604052508101906131519190614cbc565b60015b6131cd573d8060008114613184576040519150601f19603f3d011682016040523d82523d6000602084013e613189565b606091505b5060008151036131c5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e805461322f906142c3565b80601f016020809104026020016040519081016040528092919081815260200182805461325b906142c3565b80156132a85780601f1061327d576101008083540402835291602001916132a8565b820191906000526020600020905b81548152906001019060200180831161328b57829003601f168201915b5050505050905090565b6060600082036132f9576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061340d565b600082905060005b6000821461332b57808061331490614ce9565b915050600a826133249190614d60565b9150613301565b60008167ffffffffffffffff811115613347576133466140a6565b5b6040519080825280601f01601f1916602001820160405280156133795781602001600182028036833780820191505090505b5090505b60008514613406576001826133929190614529565b9150600a856133a19190614d91565b60306133ad9190614467565b60f81b8183815181106133c3576133c26146ed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133ff9190614d60565b945061337d565b8093505050505b919050565b61341f8383836001613430565b505050565b50505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361349d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036134d7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134e46000868387613424565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156136ae57506136ad8773ffffffffffffffffffffffffffffffffffffffff166137fb565b5b15613773575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461372360008884806001019550886130d0565b613759576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036136b457826001541461376e57600080fd5b6137de565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613774575b8160018190555050506137f4600086838761342a565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461382a906142c3565b90600052602060002090601f01602090048101928261384c5760008555613893565b82601f1061386557803560ff1916838001178555613893565b82800160010185558215613893579182015b82811115613892578235825591602001919060010190613877565b5b5090506138a091906138e7565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156139005760008160009055506001016138e8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61394d81613918565b811461395857600080fd5b50565b60008135905061396a81613944565b92915050565b6000602082840312156139865761398561390e565b5b60006139948482850161395b565b91505092915050565b60008115159050919050565b6139b28161399d565b82525050565b60006020820190506139cd60008301846139a9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a0d5780820151818401526020810190506139f2565b83811115613a1c576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a3e826139d3565b613a4881856139de565b9350613a588185602086016139ef565b613a6181613a22565b840191505092915050565b60006020820190508181036000830152613a868184613a33565b905092915050565b6000819050919050565b613aa181613a8e565b8114613aac57600080fd5b50565b600081359050613abe81613a98565b92915050565b600060208284031215613ada57613ad961390e565b5b6000613ae884828501613aaf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b1c82613af1565b9050919050565b613b2c81613b11565b82525050565b6000602082019050613b476000830184613b23565b92915050565b613b5681613b11565b8114613b6157600080fd5b50565b600081359050613b7381613b4d565b92915050565b60008060408385031215613b9057613b8f61390e565b5b6000613b9e85828601613b64565b9250506020613baf85828601613aaf565b9150509250929050565b613bc281613a8e565b82525050565b6000602082019050613bdd6000830184613bb9565b92915050565b600060208284031215613bf957613bf861390e565b5b6000613c0784828501613b64565b91505092915050565b600080600060608486031215613c2957613c2861390e565b5b6000613c3786828701613b64565b9350506020613c4886828701613b64565b9250506040613c5986828701613aaf565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613c8857613c87613c63565b5b8235905067ffffffffffffffff811115613ca557613ca4613c68565b5b602083019150836020820283011115613cc157613cc0613c6d565b5b9250929050565b60008060208385031215613cdf57613cde61390e565b5b600083013567ffffffffffffffff811115613cfd57613cfc613913565b5b613d0985828601613c72565b92509250509250929050565b60008083601f840112613d2b57613d2a613c63565b5b8235905067ffffffffffffffff811115613d4857613d47613c68565b5b602083019150836020820283011115613d6457613d63613c6d565b5b9250929050565b60008060008060408587031215613d8557613d8461390e565b5b600085013567ffffffffffffffff811115613da357613da2613913565b5b613daf87828801613c72565b9450945050602085013567ffffffffffffffff811115613dd257613dd1613913565b5b613dde87828801613d15565b925092505092959194509250565b60008083601f840112613e0257613e01613c63565b5b8235905067ffffffffffffffff811115613e1f57613e1e613c68565b5b602083019150836001820283011115613e3b57613e3a613c6d565b5b9250929050565b60008060208385031215613e5957613e5861390e565b5b600083013567ffffffffffffffff811115613e7757613e76613913565b5b613e8385828601613dec565b92509250509250929050565b60008060208385031215613ea657613ea561390e565b5b600083013567ffffffffffffffff811115613ec457613ec3613913565b5b613ed085828601613d15565b92509250509250929050565b600060ff82169050919050565b613ef281613edc565b8114613efd57600080fd5b50565b600081359050613f0f81613ee9565b92915050565b60008060408385031215613f2c57613f2b61390e565b5b6000613f3a85828601613aaf565b9250506020613f4b85828601613f00565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f8a81613a8e565b82525050565b6000613f9c8383613f81565b60208301905092915050565b6000602082019050919050565b6000613fc082613f55565b613fca8185613f60565b9350613fd583613f71565b8060005b83811015614006578151613fed8882613f90565b9750613ff883613fa8565b925050600181019050613fd9565b5085935050505092915050565b6000602082019050818103600083015261402d8184613fb5565b905092915050565b61403e8161399d565b811461404957600080fd5b50565b60008135905061405b81614035565b92915050565b600080604083850312156140785761407761390e565b5b600061408685828601613b64565b92505060206140978582860161404c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140de82613a22565b810181811067ffffffffffffffff821117156140fd576140fc6140a6565b5b80604052505050565b6000614110613904565b905061411c82826140d5565b919050565b600067ffffffffffffffff82111561413c5761413b6140a6565b5b61414582613a22565b9050602081019050919050565b82818337600083830152505050565b600061417461416f84614121565b614106565b9050828152602081018484840111156141905761418f6140a1565b5b61419b848285614152565b509392505050565b600082601f8301126141b8576141b7613c63565b5b81356141c8848260208601614161565b91505092915050565b600080600080608085870312156141eb576141ea61390e565b5b60006141f987828801613b64565b945050602061420a87828801613b64565b935050604061421b87828801613aaf565b925050606085013567ffffffffffffffff81111561423c5761423b613913565b5b614248878288016141a3565b91505092959194509250565b6000806040838503121561426b5761426a61390e565b5b600061427985828601613b64565b925050602061428a85828601613b64565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142db57607f821691505b6020821081036142ee576142ed614294565b5b50919050565b7f43616c6c65722063616e6e6f74206265206120636f6e74726163740000000000600082015250565b600061432a601b836139de565b9150614335826142f4565b602082019050919050565b600060208201905081810360008301526143598161431d565b9050919050565b7f53616c65206d757374206265206163746976652e000000000000000000000000600082015250565b60006143966014836139de565b91506143a182614360565b602082019050919050565b600060208201905081810360008301526143c581614389565b9050919050565b7f4e6f7420656e6f75676820457468657265756d2073656e742e00000000000000600082015250565b60006144026019836139de565b915061440d826143cc565b602082019050919050565b60006020820190508181036000830152614431816143f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061447282613a8e565b915061447d83613a8e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b2576144b1614438565b5b828201905092915050565b7f4d617820737570706c7920686173206265656e20726561636865642e00000000600082015250565b60006144f3601c836139de565b91506144fe826144bd565b602082019050919050565b60006020820190508181036000830152614522816144e6565b9050919050565b600061453482613a8e565b915061453f83613a8e565b92508282101561455257614551614438565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145936020836139de565b915061459e8261455d565b602082019050919050565b600060208201905081810360008301526145c281614586565b9050919050565b7f43616e6e6f74207472616e7366657220616e206578706972656420546f6b656e60008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006146256021836139de565b9150614630826145c9565b604082019050919050565b6000602082019050818103600083015261465481614618565b9050919050565b7f4d696e74656420746f6b656e7320776f756c6420657863656564206d6178207360008201527f7570706c792e0000000000000000000000000000000000000000000000000000602082015250565b60006146b76026836139de565b91506146c28261465b565b604082019050919050565b600060208201905081810360008301526146e6816146aa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f417272617973206c656e677468206e6f74206d61746368696e672e0000000000600082015250565b6000614752601b836139de565b915061475d8261471c565b602082019050919050565b6000602082019050818103600083015261478181614745565b9050919050565b7f41697264726f7070656420746f6b656e7320776f756c6420657863656564206d60008201527f617820737570706c792e00000000000000000000000000000000000000000000602082015250565b60006147e4602a836139de565b91506147ef82614788565b604082019050919050565b60006020820190508181036000830152614813816147d7565b9050919050565b600081905092915050565b50565b600061483560008361481a565b915061484082614825565b600082019050919050565b600061485682614828565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006148966010836139de565b91506148a182614860565b602082019050919050565b600060208201905081810360008301526148c581614889565b9050919050565b7f496e76616c6964206172726179206c656e6774682e0000000000000000000000600082015250565b60006149026015836139de565b915061490d826148cc565b602082019050919050565b60006020820190508181036000830152614931816148f5565b9050919050565b7f546f6b656e20646f65736e27742065786973742e000000000000000000000000600082015250565b600061496e6014836139de565b915061497982614938565b602082019050919050565b6000602082019050818103600083015261499d81614961565b9050919050565b600062ffffff82169050919050565b60006149be826149a4565b91506149c9836149a4565b92508162ffffff04831182151516156149e5576149e4614438565b5b828202905092915050565b7f537570706c792063616e6e6f742066616c6c2062656c6f77206d696e7465642060008201527f746f6b656e732e00000000000000000000000000000000000000000000000000602082015250565b6000614a4c6027836139de565b9150614a57826149f0565b604082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b600081905092915050565b6000614a98826139d3565b614aa28185614a82565b9350614ab28185602086016139ef565b80840191505092915050565b6000614aca8285614a8d565b9150614ad68284614a8d565b91508190509392505050565b7f546f6b656e2068617320657870697265642e204d7573742072656e657720746f60008201527f2061757468656e74696361746521000000000000000000000000000000000000602082015250565b6000614b3e602e836139de565b9150614b4982614ae2565b604082019050919050565b60006020820190508181036000830152614b6d81614b31565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bd06026836139de565b9150614bdb82614b74565b604082019050919050565b60006020820190508181036000830152614bff81614bc3565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c2d82614c06565b614c378185614c11565b9350614c478185602086016139ef565b614c5081613a22565b840191505092915050565b6000608082019050614c706000830187613b23565b614c7d6020830186613b23565b614c8a6040830185613bb9565b8181036060830152614c9c8184614c22565b905095945050505050565b600081519050614cb681613944565b92915050565b600060208284031215614cd257614cd161390e565b5b6000614ce084828501614ca7565b91505092915050565b6000614cf482613a8e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614d2657614d25614438565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d6b82613a8e565b9150614d7683613a8e565b925082614d8657614d85614d31565b5b828204905092915050565b6000614d9c82613a8e565b9150614da783613a8e565b925082614db757614db6614d31565b5b82820690509291505056fea2646970667358221220bf152ee29e2df6f2e5bd360a9d7c8cf844eeff55fed470cce3eb5398403ec91f64736f6c634300080d0033
Deployed Bytecode
0x60806040526004361061023b5760003560e01c80637b55297a1161012e578063b8cb65ee116100ab578063d5abeb011161006f578063d5abeb0114610839578063e985e9c514610864578063eb8d2444146108a1578063f2fde38b146108cc578063faab3def146108f55761023b565b8063b8cb65ee14610730578063be010c4014610759578063c6ed899014610796578063c87b56dd146107bf578063cdffd6ed146107fc5761023b565b80638462151c116100f25780638462151c1461064b5780638da5cb5b1461068857806395d89b41146106b3578063a22cb465146106de578063b88d4fde146107075761023b565b80637b55297a146105785780637d8966e4146105a35780637e3eb701146105ba5780637efc351b146105f75780637ff9b596146106205761023b565b806348bb30e7116101bc578063676c0d7711610180578063676c0d77146104b65780636a46a052146104df57806370a0823114610508578063715018a61461054557806371e239471461055c5761023b565b806348bb30e7146103e757806354412c5e1461041057806355f804b3146104395780635fd8c710146104625780636352211e146104795761023b565b806318160ddd1161020357806318160ddd146103185780631e3bcc8e1461034357806323b872dd1461036c5780633e262e5a1461039557806342842e0e146103be5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780631249c58b1461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613970565b61091e565b60405161027491906139b8565b60405180910390f35b34801561028957600080fd5b50610292610a00565b60405161029f9190613a6c565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613ac4565b610a92565b6040516102dc9190613b32565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190613b79565b610b0e565b005b610316610c18565b005b34801561032457600080fd5b5061032d610db2565b60405161033a9190613bc8565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613be3565b610dc9565b005b34801561037857600080fd5b50610393600480360381019061038e9190613c10565b610e86565b005b3480156103a157600080fd5b506103bc60048036038101906103b79190613cc8565b610f26565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190613c10565b611084565b005b3480156103f357600080fd5b5061040e60048036038101906104099190613ac4565b6110a4565b005b34801561041c57600080fd5b5061043760048036038101906104329190613d6b565b61112a565b005b34801561044557600080fd5b50610460600480360381019061045b9190613e42565b6112fc565b005b34801561046e57600080fd5b5061047761138e565b005b34801561048557600080fd5b506104a0600480360381019061049b9190613ac4565b6114b9565b6040516104ad9190613b32565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190613ac4565b6114cf565b005b3480156104eb57600080fd5b5061050660048036038101906105019190613e8f565b611555565b005b34801561051457600080fd5b5061052f600480360381019061052a9190613be3565b611761565b60405161053c9190613bc8565b60405180910390f35b34801561055157600080fd5b5061055a611830565b005b61057660048036038101906105719190613ac4565b6118b8565b005b34801561058457600080fd5b5061058d6119c2565b60405161059a9190613bc8565b60405180910390f35b3480156105af57600080fd5b506105b86119c8565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190613ac4565b611a70565b6040516105ee9190613bc8565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613f15565b611ad5565b005b34801561062c57600080fd5b50610635611bd6565b6040516106429190613bc8565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190613be3565b611bdc565b60405161067f9190614013565b60405180910390f35b34801561069457600080fd5b5061069d611dd3565b6040516106aa9190613b32565b60405180910390f35b3480156106bf57600080fd5b506106c8611dfc565b6040516106d59190613a6c565b60405180910390f35b3480156106ea57600080fd5b5061070560048036038101906107009190614061565b611e8e565b005b34801561071357600080fd5b5061072e600480360381019061072991906141d1565b612005565b005b34801561073c57600080fd5b5061075760048036038101906107529190613ac4565b6120e8565b005b34801561076557600080fd5b50610780600480360381019061077b9190613ac4565b6121d7565b60405161078d9190613bc8565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190613ac4565b6121ef565b005b3480156107cb57600080fd5b506107e660048036038101906107e19190613ac4565b612287565b6040516107f39190613a6c565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190613ac4565b612325565b60405161083091906139b8565b60405180910390f35b34801561084557600080fd5b5061084e612410565b60405161085b9190613bc8565b60405180910390f35b34801561087057600080fd5b5061088b60048036038101906108869190614254565b612416565b60405161089891906139b8565b60405180910390f35b3480156108ad57600080fd5b506108b66124aa565b6040516108c391906139b8565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee9190613be3565b6124bd565b005b34801561090157600080fd5b5061091c60048036038101906109179190613ac4565b6125b4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109f957506109f8826126f5565b5b9050919050565b606060038054610a0f906142c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3b906142c3565b8015610a885780601f10610a5d57610100808354040283529160200191610a88565b820191906000526020600020905b815481529060010190602001808311610a6b57829003601f168201915b5050505050905090565b6000610a9d8261275f565b610ad3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b19826114b9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b80576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9f6127ad565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bd15750610bcf81610bca6127ad565b612416565b155b15610c08576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c138383836127b5565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90614340565b60405180910390fd5b600c60009054906101000a900460ff16610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc906143ac565b60405180910390fd5b34600a541115610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1190614418565b60405180910390fd5b6001610d24610db2565b610d2e9190614467565b6009541015610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990614509565b60405180910390fd5b610d7d336001612867565b62278d0042610d8c9190614467565b600d600060018054610d9e9190614529565b815260200190815260200160002081905550565b6000610dbc612885565b6002546001540303905090565b610dd16127ad565b73ffffffffffffffffffffffffffffffffffffffff16610def611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c906145a9565b60405180910390fd5b610e50816001612867565b62278d0042610e5f9190614467565b600d600060018054610e719190614529565b81526020019081526020016000208190555050565b3373ffffffffffffffffffffffffffffffffffffffff16610ea5611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614610f165742600d60008381526020019081526020016000205411610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c9061463b565b60405180910390fd5b5b610f2183838361288e565b505050565b610f2e6127ad565b73ffffffffffffffffffffffffffffffffffffffff16610f4c611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906145a9565b60405180910390fd5b600082829050905080610fb3610db2565b610fbd9190614467565b6009541015611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff8906146cd565b60405180910390fd5b60005b8181101561107e5761103e848483818110611022576110216146ed565b5b90506020020160208101906110379190613be3565b6001612867565b62278d004261104d9190614467565b600d60006001805461105f9190614529565b8152602001908152602001600020819055508080600101915050611004565b50505050565b61109f83838360405180602001604052806000815250612005565b505050565b6110ac6127ad565b73ffffffffffffffffffffffffffffffffffffffff166110ca611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611117906145a9565b60405180910390fd5b80600b8190555050565b6111326127ad565b73ffffffffffffffffffffffffffffffffffffffff16611150611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146111a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119d906145a9565b60405180910390fd5b60008484905090508282905081146111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90614768565b60405180910390fd5b806111fc610db2565b6112069190614467565b600954101561124a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611241906147fa565b60405180910390fd5b60005b818110156112f45761128786868381811061126b5761126a6146ed565b5b90506020020160208101906112809190613be3565b6001612867565b600084848381811061129c5761129b6146ed565b5b90506020020135146112e7578383828181106112bb576112ba6146ed565b5b90506020020135600d6000600180546112d49190614529565b8152602001908152602001600020819055505b808060010191505061124d565b505050505050565b6113046127ad565b73ffffffffffffffffffffffffffffffffffffffff16611322611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f906145a9565b60405180910390fd5b8181600e919061138992919061381e565b505050565b6113966127ad565b73ffffffffffffffffffffffffffffffffffffffff166113b4611dd3565b73ffffffffffffffffffffffffffffffffffffffff161461140a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611401906145a9565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516114309061484b565b60006040518083038185875af1925050503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50509050806114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad906148ac565b60405180910390fd5b50565b60006114c482612d7d565b600001519050919050565b6114d76127ad565b73ffffffffffffffffffffffffffffffffffffffff166114f5611dd3565b73ffffffffffffffffffffffffffffffffffffffff161461154b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611542906145a9565b60405180910390fd5b80600a8190555050565b61155d6127ad565b73ffffffffffffffffffffffffffffffffffffffff1661157b611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c8906145a9565b60405180910390fd5b6000828290509050600281101561161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490614918565b60405180910390fd5b60005b8181101561175b5761164a84848381811061163e5761163d6146ed565b5b9050602002013561275f565b611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168090614984565b60405180910390fd5b6000600d60008686858181106116a2576116a16146ed565b5b905060200201358152602001908152602001600020549050804211156117065762278d00426116d19190614467565b600d60008787868181106116e8576116e76146ed565b5b9050602002013581526020019081526020016000208190555061174d565b62278d00600d6000878786818110611721576117206146ed565b5b90506020020135815260200190815260200160002060008282546117459190614467565b925050819055505b818060010192505050611620565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117c8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6118386127ad565b73ffffffffffffffffffffffffffffffffffffffff16611856611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a3906145a9565b60405180910390fd5b6118b6600061300c565b565b6118c18161275f565b611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790614984565b60405180910390fd5b34600b541115611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c90614418565b60405180910390fd5b6000600d6000838152602001908152602001600020549050804211156119905762278d00426119749190614467565b600d6000848152602001908152602001600020819055506119be565b62278d00600d600084815260200190815260200160002060008282546119b69190614467565b925050819055505b5050565b600b5481565b6119d06127ad565b73ffffffffffffffffffffffffffffffffffffffff166119ee611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3b906145a9565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6000611a7b8261275f565b611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614984565b60405180910390fd5b600d6000838152602001908152602001600020549050919050565b611add6127ad565b73ffffffffffffffffffffffffffffffffffffffff16611afb611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614611b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b48906145a9565b60405180910390fd5b611b5a8261275f565b611b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9090614984565b60405180910390fd5b620151808160ff16611bab91906149b3565b62ffffff1642611bbb9190614467565b600d6000848152602001908152602001600020819055505050565b600a5481565b60606000611be983611761565b67ffffffffffffffff811115611c0257611c016140a6565b5b604051908082528060200260200182016040528015611c305781602001602082028036833780820191505090505b5090506000600154905060008060005b83811015611dc6576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115611d1d5750611db9565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d5d57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611db75781868580600101965081518110611daa57611da96146ed565b5b6020026020010181815250505b505b8080600101915050611c40565b5083945050505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611e0b906142c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611e37906142c3565b8015611e845780601f10611e5957610100808354040283529160200191611e84565b820191906000526020600020905b815481529060010190602001808311611e6757829003601f168201915b5050505050905090565b611e966127ad565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611efa576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000611f076127ad565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fb46127ad565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ff991906139b8565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16612024611dd3565b73ffffffffffffffffffffffffffffffffffffffff16146120955742600d60008481526020019081526020016000205411612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b9061463b565b60405180910390fd5b5b6120a084848461288e565b6120ac848484846130d0565b6120e2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6120f06127ad565b73ffffffffffffffffffffffffffffffffffffffff1661210e611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614612164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215b906145a9565b60405180910390fd5b61216c610db2565b8160095461217a9190614529565b10156121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b290614a62565b60405180910390fd5b80600960008282546121cd9190614529565b9250508190555050565b600d6020528060005260406000206000915090505481565b6121f76127ad565b73ffffffffffffffffffffffffffffffffffffffff16612215611dd3565b73ffffffffffffffffffffffffffffffffffffffff161461226b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612262906145a9565b60405180910390fd5b806009600082825461227d9190614467565b9250508190555050565b60606122928261275f565b6122c8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122d2613220565b905060008151036122f2576040518060200160405280600081525061231d565b806122fc846132b2565b60405160200161230d929190614abe565b6040516020818303038152906040525b915050919050565b60006123308261275f565b61236f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236690614984565b60405180910390fd5b42600d600084815260200190815260200160002054116123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90614b54565b60405180910390fd5b6123cd826114b9565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612406576000612409565b60015b9050919050565b60095481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b6124c56127ad565b73ffffffffffffffffffffffffffffffffffffffff166124e3611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614612539576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612530906145a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036125a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259f90614be6565b60405180910390fd5b6125b18161300c565b50565b6125bc6127ad565b73ffffffffffffffffffffffffffffffffffffffff166125da611dd3565b73ffffffffffffffffffffffffffffffffffffffff1614612630576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612627906145a9565b60405180910390fd5b6126398161275f565b612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f90614984565b60405180910390fd5b6000600d6000838152602001908152602001600020549050804211156126c35762278d00426126a79190614467565b600d6000848152602001908152602001600020819055506126f1565b62278d00600d600084815260200190815260200160002060008282546126e99190614467565b925050819055505b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161276a612885565b11158015612779575060015482105b80156127a6575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612881828260405180602001604052806000815250613412565b5050565b60006001905090565b600061289982612d7d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166128c06127ad565b73ffffffffffffffffffffffffffffffffffffffff1614806128f357506128f282600001516128ed6127ad565b612416565b5b8061293857506129016127ad565b73ffffffffffffffffffffffffffffffffffffffff1661292084610a92565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612971576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129da576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612a40576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a4d8585856001613424565b612a5d60008484600001516127b5565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612d0d57600154811015612d0c5782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d76858585600161342a565b5050505050565b612d856138a4565b600082905080612d93612885565b11158015612da2575060015481105b15612fd5576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612fd357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612eb7578092505050613007565b5b600115612fd257818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fcd578092505050613007565b612eb8565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130f66127ad565b8786866040518563ffffffff1660e01b81526004016131189493929190614c5b565b6020604051808303816000875af192505050801561315457506040513d601f19601f820116820180604052508101906131519190614cbc565b60015b6131cd573d8060008114613184576040519150601f19603f3d011682016040523d82523d6000602084013e613189565b606091505b5060008151036131c5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e805461322f906142c3565b80601f016020809104026020016040519081016040528092919081815260200182805461325b906142c3565b80156132a85780601f1061327d576101008083540402835291602001916132a8565b820191906000526020600020905b81548152906001019060200180831161328b57829003601f168201915b5050505050905090565b6060600082036132f9576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061340d565b600082905060005b6000821461332b57808061331490614ce9565b915050600a826133249190614d60565b9150613301565b60008167ffffffffffffffff811115613347576133466140a6565b5b6040519080825280601f01601f1916602001820160405280156133795781602001600182028036833780820191505090505b5090505b60008514613406576001826133929190614529565b9150600a856133a19190614d91565b60306133ad9190614467565b60f81b8183815181106133c3576133c26146ed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133ff9190614d60565b945061337d565b8093505050505b919050565b61341f8383836001613430565b505050565b50505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361349d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036134d7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134e46000868387613424565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156136ae57506136ad8773ffffffffffffffffffffffffffffffffffffffff166137fb565b5b15613773575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461372360008884806001019550886130d0565b613759576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036136b457826001541461376e57600080fd5b6137de565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613774575b8160018190555050506137f4600086838761342a565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461382a906142c3565b90600052602060002090601f01602090048101928261384c5760008555613893565b82601f1061386557803560ff1916838001178555613893565b82800160010185558215613893579182015b82811115613892578235825591602001919060010190613877565b5b5090506138a091906138e7565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156139005760008160009055506001016138e8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61394d81613918565b811461395857600080fd5b50565b60008135905061396a81613944565b92915050565b6000602082840312156139865761398561390e565b5b60006139948482850161395b565b91505092915050565b60008115159050919050565b6139b28161399d565b82525050565b60006020820190506139cd60008301846139a9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a0d5780820151818401526020810190506139f2565b83811115613a1c576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a3e826139d3565b613a4881856139de565b9350613a588185602086016139ef565b613a6181613a22565b840191505092915050565b60006020820190508181036000830152613a868184613a33565b905092915050565b6000819050919050565b613aa181613a8e565b8114613aac57600080fd5b50565b600081359050613abe81613a98565b92915050565b600060208284031215613ada57613ad961390e565b5b6000613ae884828501613aaf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b1c82613af1565b9050919050565b613b2c81613b11565b82525050565b6000602082019050613b476000830184613b23565b92915050565b613b5681613b11565b8114613b6157600080fd5b50565b600081359050613b7381613b4d565b92915050565b60008060408385031215613b9057613b8f61390e565b5b6000613b9e85828601613b64565b9250506020613baf85828601613aaf565b9150509250929050565b613bc281613a8e565b82525050565b6000602082019050613bdd6000830184613bb9565b92915050565b600060208284031215613bf957613bf861390e565b5b6000613c0784828501613b64565b91505092915050565b600080600060608486031215613c2957613c2861390e565b5b6000613c3786828701613b64565b9350506020613c4886828701613b64565b9250506040613c5986828701613aaf565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613c8857613c87613c63565b5b8235905067ffffffffffffffff811115613ca557613ca4613c68565b5b602083019150836020820283011115613cc157613cc0613c6d565b5b9250929050565b60008060208385031215613cdf57613cde61390e565b5b600083013567ffffffffffffffff811115613cfd57613cfc613913565b5b613d0985828601613c72565b92509250509250929050565b60008083601f840112613d2b57613d2a613c63565b5b8235905067ffffffffffffffff811115613d4857613d47613c68565b5b602083019150836020820283011115613d6457613d63613c6d565b5b9250929050565b60008060008060408587031215613d8557613d8461390e565b5b600085013567ffffffffffffffff811115613da357613da2613913565b5b613daf87828801613c72565b9450945050602085013567ffffffffffffffff811115613dd257613dd1613913565b5b613dde87828801613d15565b925092505092959194509250565b60008083601f840112613e0257613e01613c63565b5b8235905067ffffffffffffffff811115613e1f57613e1e613c68565b5b602083019150836001820283011115613e3b57613e3a613c6d565b5b9250929050565b60008060208385031215613e5957613e5861390e565b5b600083013567ffffffffffffffff811115613e7757613e76613913565b5b613e8385828601613dec565b92509250509250929050565b60008060208385031215613ea657613ea561390e565b5b600083013567ffffffffffffffff811115613ec457613ec3613913565b5b613ed085828601613d15565b92509250509250929050565b600060ff82169050919050565b613ef281613edc565b8114613efd57600080fd5b50565b600081359050613f0f81613ee9565b92915050565b60008060408385031215613f2c57613f2b61390e565b5b6000613f3a85828601613aaf565b9250506020613f4b85828601613f00565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f8a81613a8e565b82525050565b6000613f9c8383613f81565b60208301905092915050565b6000602082019050919050565b6000613fc082613f55565b613fca8185613f60565b9350613fd583613f71565b8060005b83811015614006578151613fed8882613f90565b9750613ff883613fa8565b925050600181019050613fd9565b5085935050505092915050565b6000602082019050818103600083015261402d8184613fb5565b905092915050565b61403e8161399d565b811461404957600080fd5b50565b60008135905061405b81614035565b92915050565b600080604083850312156140785761407761390e565b5b600061408685828601613b64565b92505060206140978582860161404c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140de82613a22565b810181811067ffffffffffffffff821117156140fd576140fc6140a6565b5b80604052505050565b6000614110613904565b905061411c82826140d5565b919050565b600067ffffffffffffffff82111561413c5761413b6140a6565b5b61414582613a22565b9050602081019050919050565b82818337600083830152505050565b600061417461416f84614121565b614106565b9050828152602081018484840111156141905761418f6140a1565b5b61419b848285614152565b509392505050565b600082601f8301126141b8576141b7613c63565b5b81356141c8848260208601614161565b91505092915050565b600080600080608085870312156141eb576141ea61390e565b5b60006141f987828801613b64565b945050602061420a87828801613b64565b935050604061421b87828801613aaf565b925050606085013567ffffffffffffffff81111561423c5761423b613913565b5b614248878288016141a3565b91505092959194509250565b6000806040838503121561426b5761426a61390e565b5b600061427985828601613b64565b925050602061428a85828601613b64565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142db57607f821691505b6020821081036142ee576142ed614294565b5b50919050565b7f43616c6c65722063616e6e6f74206265206120636f6e74726163740000000000600082015250565b600061432a601b836139de565b9150614335826142f4565b602082019050919050565b600060208201905081810360008301526143598161431d565b9050919050565b7f53616c65206d757374206265206163746976652e000000000000000000000000600082015250565b60006143966014836139de565b91506143a182614360565b602082019050919050565b600060208201905081810360008301526143c581614389565b9050919050565b7f4e6f7420656e6f75676820457468657265756d2073656e742e00000000000000600082015250565b60006144026019836139de565b915061440d826143cc565b602082019050919050565b60006020820190508181036000830152614431816143f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061447282613a8e565b915061447d83613a8e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b2576144b1614438565b5b828201905092915050565b7f4d617820737570706c7920686173206265656e20726561636865642e00000000600082015250565b60006144f3601c836139de565b91506144fe826144bd565b602082019050919050565b60006020820190508181036000830152614522816144e6565b9050919050565b600061453482613a8e565b915061453f83613a8e565b92508282101561455257614551614438565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145936020836139de565b915061459e8261455d565b602082019050919050565b600060208201905081810360008301526145c281614586565b9050919050565b7f43616e6e6f74207472616e7366657220616e206578706972656420546f6b656e60008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006146256021836139de565b9150614630826145c9565b604082019050919050565b6000602082019050818103600083015261465481614618565b9050919050565b7f4d696e74656420746f6b656e7320776f756c6420657863656564206d6178207360008201527f7570706c792e0000000000000000000000000000000000000000000000000000602082015250565b60006146b76026836139de565b91506146c28261465b565b604082019050919050565b600060208201905081810360008301526146e6816146aa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f417272617973206c656e677468206e6f74206d61746368696e672e0000000000600082015250565b6000614752601b836139de565b915061475d8261471c565b602082019050919050565b6000602082019050818103600083015261478181614745565b9050919050565b7f41697264726f7070656420746f6b656e7320776f756c6420657863656564206d60008201527f617820737570706c792e00000000000000000000000000000000000000000000602082015250565b60006147e4602a836139de565b91506147ef82614788565b604082019050919050565b60006020820190508181036000830152614813816147d7565b9050919050565b600081905092915050565b50565b600061483560008361481a565b915061484082614825565b600082019050919050565b600061485682614828565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006148966010836139de565b91506148a182614860565b602082019050919050565b600060208201905081810360008301526148c581614889565b9050919050565b7f496e76616c6964206172726179206c656e6774682e0000000000000000000000600082015250565b60006149026015836139de565b915061490d826148cc565b602082019050919050565b60006020820190508181036000830152614931816148f5565b9050919050565b7f546f6b656e20646f65736e27742065786973742e000000000000000000000000600082015250565b600061496e6014836139de565b915061497982614938565b602082019050919050565b6000602082019050818103600083015261499d81614961565b9050919050565b600062ffffff82169050919050565b60006149be826149a4565b91506149c9836149a4565b92508162ffffff04831182151516156149e5576149e4614438565b5b828202905092915050565b7f537570706c792063616e6e6f742066616c6c2062656c6f77206d696e7465642060008201527f746f6b656e732e00000000000000000000000000000000000000000000000000602082015250565b6000614a4c6027836139de565b9150614a57826149f0565b604082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b600081905092915050565b6000614a98826139d3565b614aa28185614a82565b9350614ab28185602086016139ef565b80840191505092915050565b6000614aca8285614a8d565b9150614ad68284614a8d565b91508190509392505050565b7f546f6b656e2068617320657870697265642e204d7573742072656e657720746f60008201527f2061757468656e74696361746521000000000000000000000000000000000000602082015250565b6000614b3e602e836139de565b9150614b4982614ae2565b604082019050919050565b60006020820190508181036000830152614b6d81614b31565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bd06026836139de565b9150614bdb82614b74565b604082019050919050565b60006020820190508181036000830152614bff81614bc3565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c2d82614c06565b614c378185614c11565b9350614c478185602086016139ef565b614c5081613a22565b840191505092915050565b6000608082019050614c706000830187613b23565b614c7d6020830186613b23565b614c8a6040830185613bb9565b8181036060830152614c9c8184614c22565b905095945050505050565b600081519050614cb681613944565b92915050565b600060208284031215614cd257614cd161390e565b5b6000614ce084828501614ca7565b91505092915050565b6000614cf482613a8e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614d2657614d25614438565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d6b82613a8e565b9150614d7683613a8e565b925082614d8657614d85614d31565b5b828204905092915050565b6000614d9c82613a8e565b9150614da783613a8e565b925082614db757614db6614d31565b5b82820690509291505056fea2646970667358221220bf152ee29e2df6f2e5bd360a9d7c8cf844eeff55fed470cce3eb5398403ec91f64736f6c634300080d0033
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.