ERC-721
Overview
Max Total Supply
985 ELONAS
Holders
79
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
12 ELONASLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ElonaMusk
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract ElonaMusk is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public constant MAX_SUPPLY = 5420; bool public saleActive = false; uint256 public price = 0.02420 ether; uint256 public maxPerTx = 20; uint256 public maxPerAddress = 50; constructor() ERC721A("Elona Musk", "ELONAS") {} function startSale() public onlyOwner { saleActive = true; } function stopSale() public onlyOwner { saleActive = false; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function setMaxPerAddress(uint256 _maxPerAddress) external onlyOwner { maxPerAddress = _maxPerAddress; } function setPrice(uint256 _price) external onlyOwner { price = _price; } // 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 tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), '.json')) : ''; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function withdraw() external onlyOwner nonReentrant { (bool success,) = msg.sender.call{value : address(this).balance}(""); require(success, "Transfer failed."); } function reserve(uint256 quantity) external onlyOwner { require((totalSupply() + quantity) <= MAX_SUPPLY, "Exceed max supply."); _safeMint(msg.sender, quantity); } function mint(uint256 quantity) external payable { require(totalSupply() + quantity <= MAX_SUPPLY, "Exceed max supply."); require(saleActive, "Mint is not active."); require((price * quantity) <= msg.value, "Not enough amount sent."); require(numberMinted(msg.sender) + quantity <= maxPerAddress, "Too many per wallet."); require(quantity <= maxPerTx, "Too many per transaction."); _safeMint(msg.sender, quantity); } }
// 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 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 and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { 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; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @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 || interfaceId == type(IERC721Enumerable).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); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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 (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 (!_checkOnERC721Received(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 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 > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(updatedIndex); } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); 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**128. 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**128. 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 address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 (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 // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","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":"uint256","name":"_maxPerAddress","type":"uint256"}],"name":"setMaxPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600960006101000a81548160ff0219169083151502179055506655f9c593908000600a556014600b556032600c553480156200004157600080fd5b506040518060400160405280600a81526020017f456c6f6e61204d75736b000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f454c4f4e415300000000000000000000000000000000000000000000000000008152508160019080519060200190620000c6929190620001de565b508060029080519060200190620000df929190620001de565b50505062000102620000f66200011060201b60201c565b6200011860201b60201c565b6001600881905550620002f3565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ec906200028e565b90600052602060002090601f0160209004810192826200021057600085556200025c565b82601f106200022b57805160ff19168380011785556200025c565b828001600101855582156200025c579182015b828111156200025b5782518255916020019190600101906200023e565b5b5090506200026b91906200026f565b5090565b5b808211156200028a57600081600090555060010162000270565b5090565b60006002820490506001821680620002a757607f821691505b60208210811415620002be57620002bd620002c4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613f8380620003036000396000f3fe6080604052600436106101f95760003560e01c80637bddd65b1161010d578063b66a0e5d116100a0578063dc33e6811161006f578063dc33e681146106fc578063e36b0b3714610739578063e985e9c514610750578063f2fde38b1461078d578063f968adbe146107b6576101f9565b8063b66a0e5d14610656578063b88d4fde1461066d578063c6f6f21614610696578063c87b56dd146106bf576101f9565b806395d89b41116100dc57806395d89b41146105bb578063a035b1fe146105e6578063a0712d6814610611578063a22cb4651461062d576101f9565b80637bddd65b14610515578063819b25ba1461053e5780638da5cb5b1461056757806391b7f5ed14610592576101f9565b80633ccfd60b116101905780636352211e1161015f5780636352211e1461042e578063639814e01461046b57806368428a1b1461049657806370a08231146104c1578063715018a6146104fe576101f9565b80633ccfd60b1461038857806342842e0e1461039f5780634f6ccce7146103c857806355f804b314610405576101f9565b806318160ddd116101cc57806318160ddd146102cc57806323b872dd146102f75780632f745c591461032057806332cb6b0c1461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b506102256004803603810190610220919061334f565b6107e1565b604051610232919061372e565b60405180910390f35b34801561024757600080fd5b5061025061092b565b60405161025d9190613749565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906133e6565b6109bd565b60405161029a91906136c7565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613313565b610a39565b005b3480156102d857600080fd5b506102e1610b44565b6040516102ee91906138ab565b60405180910390f35b34801561030357600080fd5b5061031e6004803603810190610319919061320d565b610b99565b005b34801561032c57600080fd5b5061034760048036038101906103429190613313565b610ba9565b60405161035491906138ab565b60405180910390f35b34801561036957600080fd5b50610372610db0565b60405161037f91906138ab565b60405180910390f35b34801561039457600080fd5b5061039d610db6565b005b3480156103ab57600080fd5b506103c660048036038101906103c1919061320d565b610f37565b005b3480156103d457600080fd5b506103ef60048036038101906103ea91906133e6565b610f57565b6040516103fc91906138ab565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906133a1565b6110c8565b005b34801561043a57600080fd5b50610455600480360381019061045091906133e6565b61115a565b60405161046291906136c7565b60405180910390f35b34801561047757600080fd5b50610480611170565b60405161048d91906138ab565b60405180910390f35b3480156104a257600080fd5b506104ab611176565b6040516104b8919061372e565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e391906131a8565b611189565b6040516104f591906138ab565b60405180910390f35b34801561050a57600080fd5b50610513611259565b005b34801561052157600080fd5b5061053c600480360381019061053791906133e6565b6112e1565b005b34801561054a57600080fd5b50610565600480360381019061056091906133e6565b611367565b005b34801561057357600080fd5b5061057c611447565b60405161058991906136c7565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906133e6565b611471565b005b3480156105c757600080fd5b506105d06114f7565b6040516105dd9190613749565b60405180910390f35b3480156105f257600080fd5b506105fb611589565b60405161060891906138ab565b60405180910390f35b61062b600480360381019061062691906133e6565b61158f565b005b34801561063957600080fd5b50610654600480360381019061064f91906132d7565b61172f565b005b34801561066257600080fd5b5061066b6118a7565b005b34801561067957600080fd5b50610694600480360381019061068f919061325c565b611940565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906133e6565b611993565b005b3480156106cb57600080fd5b506106e660048036038101906106e191906133e6565b611a19565b6040516106f39190613749565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e91906131a8565b611ac1565b60405161073091906138ab565b60405180910390f35b34801561074557600080fd5b5061074e611ad3565b005b34801561075c57600080fd5b50610777600480360381019061077291906131d1565b611b6c565b604051610784919061372e565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af91906131a8565b611c00565b005b3480156107c257600080fd5b506107cb611cf8565b6040516107d891906138ab565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091457507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610924575061092382611cfe565b5b9050919050565b60606001805461093a90613b35565b80601f016020809104026020016040519081016040528092919081815260200182805461096690613b35565b80156109b35780601f10610988576101008083540402835291602001916109b3565b820191906000526020600020905b81548152906001019060200180831161099657829003601f168201915b5050505050905090565b60006109c882611d68565b6109fe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a448261115a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aac576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610acb611dd0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610afd5750610afb81610af6611dd0565b611b6c565b155b15610b34576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3f838383611dd8565b505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610ba4838383611e8a565b505050565b6000610bb483611189565b8210610bec576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610da4576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610d035750610d97565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d4357806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d955786841415610d8c578195505050505050610daa565b83806001019450505b505b8080600101915050610c26565b50600080fd5b92915050565b61152c81565b610dbe611dd0565b73ffffffffffffffffffffffffffffffffffffffff16610ddc611447565b73ffffffffffffffffffffffffffffffffffffffff1614610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e29906137cb565b60405180910390fd5b60026008541415610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f9061386b565b60405180910390fd5b600260088190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610ea6906136b2565b60006040518083038185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b5050905080610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f239061380b565b60405180910390fd5b506001600881905550565b610f5283838360405180602001604052806000815250611940565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611090576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611082578583141561107957819450505050506110c3565b82806001019350505b508080600101915050610f8f565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6110d0611dd0565b73ffffffffffffffffffffffffffffffffffffffff166110ee611447565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906137cb565b60405180910390fd5b8181600d9190611155929190612fa7565b505050565b6000611165826123a7565b600001519050919050565b600c5481565b600960009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611261611dd0565b73ffffffffffffffffffffffffffffffffffffffff1661127f611447565b73ffffffffffffffffffffffffffffffffffffffff16146112d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cc906137cb565b60405180910390fd5b6112df600061264f565b565b6112e9611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611307611447565b73ffffffffffffffffffffffffffffffffffffffff161461135d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611354906137cb565b60405180910390fd5b80600c8190555050565b61136f611dd0565b73ffffffffffffffffffffffffffffffffffffffff1661138d611447565b73ffffffffffffffffffffffffffffffffffffffff16146113e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113da906137cb565b60405180910390fd5b61152c816113ef610b44565b6113f9919061396a565b111561143a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611431906137ab565b60405180910390fd5b6114443382612715565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611479611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611497611447565b73ffffffffffffffffffffffffffffffffffffffff16146114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e4906137cb565b60405180910390fd5b80600a8190555050565b60606002805461150690613b35565b80601f016020809104026020016040519081016040528092919081815260200182805461153290613b35565b801561157f5780601f106115545761010080835404028352916020019161157f565b820191906000526020600020905b81548152906001019060200180831161156257829003601f168201915b5050505050905090565b600a5481565b61152c8161159b610b44565b6115a5919061396a565b11156115e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dd906137ab565b60405180910390fd5b600960009054906101000a900460ff16611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c9061376b565b60405180910390fd5b3481600a5461164491906139f1565b1115611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c9061384b565b60405180910390fd5b600c548161169233611ac1565b61169c919061396a565b11156116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061382b565b60405180910390fd5b600b54811115611722576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117199061388b565b60405180910390fd5b61172c3382612715565b50565b611737611dd0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561179c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006117a9611dd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611856611dd0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161189b919061372e565b60405180910390a35050565b6118af611dd0565b73ffffffffffffffffffffffffffffffffffffffff166118cd611447565b73ffffffffffffffffffffffffffffffffffffffff1614611923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191a906137cb565b60405180910390fd5b6001600960006101000a81548160ff021916908315150217905550565b61194b848484611e8a565b61195784848484612733565b61198d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61199b611dd0565b73ffffffffffffffffffffffffffffffffffffffff166119b9611447565b73ffffffffffffffffffffffffffffffffffffffff1614611a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a06906137cb565b60405180910390fd5b80600b8190555050565b6060611a2482611d68565b611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a906137eb565b60405180910390fd5b6000611a6d6128c1565b9050600081511415611a8e5760405180602001604052806000815250611ab9565b80611a9884612953565b604051602001611aa9929190613683565b6040516020818303038152906040525b915050919050565b6000611acc82612b00565b9050919050565b611adb611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611af9611447565b73ffffffffffffffffffffffffffffffffffffffff1614611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b46906137cb565b60405180910390fd5b6000600960006101000a81548160ff021916908315150217905550565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c08611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611c26611447565b73ffffffffffffffffffffffffffffffffffffffff1614611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c73906137cb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce39061378b565b60405180910390fd5b611cf58161264f565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015611dc9575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611e95826123a7565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611ebc611dd0565b73ffffffffffffffffffffffffffffffffffffffff161480611eef5750611eee8260000151611ee9611dd0565b611b6c565b5b80611f345750611efd611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611f1c846109bd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f6d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fd6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561203d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61204a8585856001612bd0565b61205a6000848460000151611dd8565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123375760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156123365782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123a08585856001612bd6565b5050505050565b6123af61302d565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612618576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161261657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124fa57809250505061264a565b5b60011561261557818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461261057809250505061264a565b6124fb565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61272f828260405180602001604052806000815250612bdc565b5050565b60006127548473ffffffffffffffffffffffffffffffffffffffff16612bee565b156128b4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261277d611dd0565b8786866040518563ffffffff1660e01b815260040161279f94939291906136e2565b602060405180830381600087803b1580156127b957600080fd5b505af19250505080156127ea57506040513d601f19601f820116820180604052508101906127e79190613378565b60015b612864573d806000811461281a576040519150601f19603f3d011682016040523d82523d6000602084013e61281f565b606091505b5060008151141561285c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128b9565b600190505b949350505050565b6060600d80546128d090613b35565b80601f01602080910402602001604051908101604052809291908181526020018280546128fc90613b35565b80156129495780601f1061291e57610100808354040283529160200191612949565b820191906000526020600020905b81548152906001019060200180831161292c57829003601f168201915b5050505050905090565b6060600082141561299b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612afb565b600082905060005b600082146129cd5780806129b690613b98565b915050600a826129c691906139c0565b91506129a3565b60008167ffffffffffffffff811115612a0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a415781602001600182028036833780820191505090505b5090505b60008514612af457600182612a5a9190613a4b565b9150600a85612a699190613be1565b6030612a75919061396a565b60f81b818381518110612ab1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aed91906139c0565b9450612a45565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b68576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b612be98383836001612c11565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612cac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612ce7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612cf46000868387612bd0565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612f5957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015612f0d5750612f0b6000888488612733565b155b15612f44576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612e92565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050612fa06000868387612bd6565b5050505050565b828054612fb390613b35565b90600052602060002090601f016020900481019282612fd5576000855561301c565b82601f10612fee57803560ff191683800117855561301c565b8280016001018555821561301c579182015b8281111561301b578235825591602001919060010190613000565b5b5090506130299190613070565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613089576000816000905550600101613071565b5090565b60006130a061309b846138eb565b6138c6565b9050828152602081018484840111156130b857600080fd5b6130c3848285613af3565b509392505050565b6000813590506130da81613ef1565b92915050565b6000813590506130ef81613f08565b92915050565b60008135905061310481613f1f565b92915050565b60008151905061311981613f1f565b92915050565b600082601f83011261313057600080fd5b813561314084826020860161308d565b91505092915050565b60008083601f84011261315b57600080fd5b8235905067ffffffffffffffff81111561317457600080fd5b60208301915083600182028301111561318c57600080fd5b9250929050565b6000813590506131a281613f36565b92915050565b6000602082840312156131ba57600080fd5b60006131c8848285016130cb565b91505092915050565b600080604083850312156131e457600080fd5b60006131f2858286016130cb565b9250506020613203858286016130cb565b9150509250929050565b60008060006060848603121561322257600080fd5b6000613230868287016130cb565b9350506020613241868287016130cb565b925050604061325286828701613193565b9150509250925092565b6000806000806080858703121561327257600080fd5b6000613280878288016130cb565b9450506020613291878288016130cb565b93505060406132a287828801613193565b925050606085013567ffffffffffffffff8111156132bf57600080fd5b6132cb8782880161311f565b91505092959194509250565b600080604083850312156132ea57600080fd5b60006132f8858286016130cb565b9250506020613309858286016130e0565b9150509250929050565b6000806040838503121561332657600080fd5b6000613334858286016130cb565b925050602061334585828601613193565b9150509250929050565b60006020828403121561336157600080fd5b600061336f848285016130f5565b91505092915050565b60006020828403121561338a57600080fd5b60006133988482850161310a565b91505092915050565b600080602083850312156133b457600080fd5b600083013567ffffffffffffffff8111156133ce57600080fd5b6133da85828601613149565b92509250509250929050565b6000602082840312156133f857600080fd5b600061340684828501613193565b91505092915050565b61341881613a7f565b82525050565b61342781613a91565b82525050565b60006134388261391c565b6134428185613932565b9350613452818560208601613b02565b61345b81613cce565b840191505092915050565b600061347182613927565b61347b818561394e565b935061348b818560208601613b02565b61349481613cce565b840191505092915050565b60006134aa82613927565b6134b4818561395f565b93506134c4818560208601613b02565b80840191505092915050565b60006134dd60138361394e565b91506134e882613cdf565b602082019050919050565b600061350060268361394e565b915061350b82613d08565b604082019050919050565b600061352360128361394e565b915061352e82613d57565b602082019050919050565b600061354660058361395f565b915061355182613d80565b600582019050919050565b600061356960208361394e565b915061357482613da9565b602082019050919050565b600061358c602f8361394e565b915061359782613dd2565b604082019050919050565b60006135af600083613943565b91506135ba82613e21565b600082019050919050565b60006135d260108361394e565b91506135dd82613e24565b602082019050919050565b60006135f560148361394e565b915061360082613e4d565b602082019050919050565b600061361860178361394e565b915061362382613e76565b602082019050919050565b600061363b601f8361394e565b915061364682613e9f565b602082019050919050565b600061365e60198361394e565b915061366982613ec8565b602082019050919050565b61367d81613ae9565b82525050565b600061368f828561349f565b915061369b828461349f565b91506136a682613539565b91508190509392505050565b60006136bd826135a2565b9150819050919050565b60006020820190506136dc600083018461340f565b92915050565b60006080820190506136f7600083018761340f565b613704602083018661340f565b6137116040830185613674565b8181036060830152613723818461342d565b905095945050505050565b6000602082019050613743600083018461341e565b92915050565b600060208201905081810360008301526137638184613466565b905092915050565b60006020820190508181036000830152613784816134d0565b9050919050565b600060208201905081810360008301526137a4816134f3565b9050919050565b600060208201905081810360008301526137c481613516565b9050919050565b600060208201905081810360008301526137e48161355c565b9050919050565b600060208201905081810360008301526138048161357f565b9050919050565b60006020820190508181036000830152613824816135c5565b9050919050565b60006020820190508181036000830152613844816135e8565b9050919050565b600060208201905081810360008301526138648161360b565b9050919050565b600060208201905081810360008301526138848161362e565b9050919050565b600060208201905081810360008301526138a481613651565b9050919050565b60006020820190506138c06000830184613674565b92915050565b60006138d06138e1565b90506138dc8282613b67565b919050565b6000604051905090565b600067ffffffffffffffff82111561390657613905613c9f565b5b61390f82613cce565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061397582613ae9565b915061398083613ae9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139b5576139b4613c12565b5b828201905092915050565b60006139cb82613ae9565b91506139d683613ae9565b9250826139e6576139e5613c41565b5b828204905092915050565b60006139fc82613ae9565b9150613a0783613ae9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a4057613a3f613c12565b5b828202905092915050565b6000613a5682613ae9565b9150613a6183613ae9565b925082821015613a7457613a73613c12565b5b828203905092915050565b6000613a8a82613ac9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613b20578082015181840152602081019050613b05565b83811115613b2f576000848401525b50505050565b60006002820490506001821680613b4d57607f821691505b60208210811415613b6157613b60613c70565b5b50919050565b613b7082613cce565b810181811067ffffffffffffffff82111715613b8f57613b8e613c9f565b5b80604052505050565b6000613ba382613ae9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bd657613bd5613c12565b5b600182019050919050565b6000613bec82613ae9565b9150613bf783613ae9565b925082613c0757613c06613c41565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d696e74206973206e6f74206163746976652e00000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f457863656564206d617820737570706c792e0000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f546f6f206d616e79207065722077616c6c65742e000000000000000000000000600082015250565b7f4e6f7420656e6f75676820616d6f756e742073656e742e000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f546f6f206d616e7920706572207472616e73616374696f6e2e00000000000000600082015250565b613efa81613a7f565b8114613f0557600080fd5b50565b613f1181613a91565b8114613f1c57600080fd5b50565b613f2881613a9d565b8114613f3357600080fd5b50565b613f3f81613ae9565b8114613f4a57600080fd5b5056fea264697066735822122017c62b521dafa48adc18f0d77062ca509c6f6501c384fdf233a6937c94213a9964736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80637bddd65b1161010d578063b66a0e5d116100a0578063dc33e6811161006f578063dc33e681146106fc578063e36b0b3714610739578063e985e9c514610750578063f2fde38b1461078d578063f968adbe146107b6576101f9565b8063b66a0e5d14610656578063b88d4fde1461066d578063c6f6f21614610696578063c87b56dd146106bf576101f9565b806395d89b41116100dc57806395d89b41146105bb578063a035b1fe146105e6578063a0712d6814610611578063a22cb4651461062d576101f9565b80637bddd65b14610515578063819b25ba1461053e5780638da5cb5b1461056757806391b7f5ed14610592576101f9565b80633ccfd60b116101905780636352211e1161015f5780636352211e1461042e578063639814e01461046b57806368428a1b1461049657806370a08231146104c1578063715018a6146104fe576101f9565b80633ccfd60b1461038857806342842e0e1461039f5780634f6ccce7146103c857806355f804b314610405576101f9565b806318160ddd116101cc57806318160ddd146102cc57806323b872dd146102f75780632f745c591461032057806332cb6b0c1461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b506102256004803603810190610220919061334f565b6107e1565b604051610232919061372e565b60405180910390f35b34801561024757600080fd5b5061025061092b565b60405161025d9190613749565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906133e6565b6109bd565b60405161029a91906136c7565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613313565b610a39565b005b3480156102d857600080fd5b506102e1610b44565b6040516102ee91906138ab565b60405180910390f35b34801561030357600080fd5b5061031e6004803603810190610319919061320d565b610b99565b005b34801561032c57600080fd5b5061034760048036038101906103429190613313565b610ba9565b60405161035491906138ab565b60405180910390f35b34801561036957600080fd5b50610372610db0565b60405161037f91906138ab565b60405180910390f35b34801561039457600080fd5b5061039d610db6565b005b3480156103ab57600080fd5b506103c660048036038101906103c1919061320d565b610f37565b005b3480156103d457600080fd5b506103ef60048036038101906103ea91906133e6565b610f57565b6040516103fc91906138ab565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906133a1565b6110c8565b005b34801561043a57600080fd5b50610455600480360381019061045091906133e6565b61115a565b60405161046291906136c7565b60405180910390f35b34801561047757600080fd5b50610480611170565b60405161048d91906138ab565b60405180910390f35b3480156104a257600080fd5b506104ab611176565b6040516104b8919061372e565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e391906131a8565b611189565b6040516104f591906138ab565b60405180910390f35b34801561050a57600080fd5b50610513611259565b005b34801561052157600080fd5b5061053c600480360381019061053791906133e6565b6112e1565b005b34801561054a57600080fd5b50610565600480360381019061056091906133e6565b611367565b005b34801561057357600080fd5b5061057c611447565b60405161058991906136c7565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906133e6565b611471565b005b3480156105c757600080fd5b506105d06114f7565b6040516105dd9190613749565b60405180910390f35b3480156105f257600080fd5b506105fb611589565b60405161060891906138ab565b60405180910390f35b61062b600480360381019061062691906133e6565b61158f565b005b34801561063957600080fd5b50610654600480360381019061064f91906132d7565b61172f565b005b34801561066257600080fd5b5061066b6118a7565b005b34801561067957600080fd5b50610694600480360381019061068f919061325c565b611940565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906133e6565b611993565b005b3480156106cb57600080fd5b506106e660048036038101906106e191906133e6565b611a19565b6040516106f39190613749565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e91906131a8565b611ac1565b60405161073091906138ab565b60405180910390f35b34801561074557600080fd5b5061074e611ad3565b005b34801561075c57600080fd5b50610777600480360381019061077291906131d1565b611b6c565b604051610784919061372e565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af91906131a8565b611c00565b005b3480156107c257600080fd5b506107cb611cf8565b6040516107d891906138ab565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091457507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610924575061092382611cfe565b5b9050919050565b60606001805461093a90613b35565b80601f016020809104026020016040519081016040528092919081815260200182805461096690613b35565b80156109b35780601f10610988576101008083540402835291602001916109b3565b820191906000526020600020905b81548152906001019060200180831161099657829003601f168201915b5050505050905090565b60006109c882611d68565b6109fe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a448261115a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aac576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610acb611dd0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610afd5750610afb81610af6611dd0565b611b6c565b155b15610b34576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3f838383611dd8565b505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610ba4838383611e8a565b505050565b6000610bb483611189565b8210610bec576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610da4576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610d035750610d97565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d4357806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d955786841415610d8c578195505050505050610daa565b83806001019450505b505b8080600101915050610c26565b50600080fd5b92915050565b61152c81565b610dbe611dd0565b73ffffffffffffffffffffffffffffffffffffffff16610ddc611447565b73ffffffffffffffffffffffffffffffffffffffff1614610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e29906137cb565b60405180910390fd5b60026008541415610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f9061386b565b60405180910390fd5b600260088190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610ea6906136b2565b60006040518083038185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b5050905080610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f239061380b565b60405180910390fd5b506001600881905550565b610f5283838360405180602001604052806000815250611940565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611090576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611082578583141561107957819450505050506110c3565b82806001019350505b508080600101915050610f8f565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6110d0611dd0565b73ffffffffffffffffffffffffffffffffffffffff166110ee611447565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906137cb565b60405180910390fd5b8181600d9190611155929190612fa7565b505050565b6000611165826123a7565b600001519050919050565b600c5481565b600960009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611261611dd0565b73ffffffffffffffffffffffffffffffffffffffff1661127f611447565b73ffffffffffffffffffffffffffffffffffffffff16146112d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cc906137cb565b60405180910390fd5b6112df600061264f565b565b6112e9611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611307611447565b73ffffffffffffffffffffffffffffffffffffffff161461135d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611354906137cb565b60405180910390fd5b80600c8190555050565b61136f611dd0565b73ffffffffffffffffffffffffffffffffffffffff1661138d611447565b73ffffffffffffffffffffffffffffffffffffffff16146113e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113da906137cb565b60405180910390fd5b61152c816113ef610b44565b6113f9919061396a565b111561143a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611431906137ab565b60405180910390fd5b6114443382612715565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611479611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611497611447565b73ffffffffffffffffffffffffffffffffffffffff16146114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e4906137cb565b60405180910390fd5b80600a8190555050565b60606002805461150690613b35565b80601f016020809104026020016040519081016040528092919081815260200182805461153290613b35565b801561157f5780601f106115545761010080835404028352916020019161157f565b820191906000526020600020905b81548152906001019060200180831161156257829003601f168201915b5050505050905090565b600a5481565b61152c8161159b610b44565b6115a5919061396a565b11156115e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dd906137ab565b60405180910390fd5b600960009054906101000a900460ff16611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c9061376b565b60405180910390fd5b3481600a5461164491906139f1565b1115611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c9061384b565b60405180910390fd5b600c548161169233611ac1565b61169c919061396a565b11156116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061382b565b60405180910390fd5b600b54811115611722576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117199061388b565b60405180910390fd5b61172c3382612715565b50565b611737611dd0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561179c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006117a9611dd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611856611dd0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161189b919061372e565b60405180910390a35050565b6118af611dd0565b73ffffffffffffffffffffffffffffffffffffffff166118cd611447565b73ffffffffffffffffffffffffffffffffffffffff1614611923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191a906137cb565b60405180910390fd5b6001600960006101000a81548160ff021916908315150217905550565b61194b848484611e8a565b61195784848484612733565b61198d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61199b611dd0565b73ffffffffffffffffffffffffffffffffffffffff166119b9611447565b73ffffffffffffffffffffffffffffffffffffffff1614611a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a06906137cb565b60405180910390fd5b80600b8190555050565b6060611a2482611d68565b611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a906137eb565b60405180910390fd5b6000611a6d6128c1565b9050600081511415611a8e5760405180602001604052806000815250611ab9565b80611a9884612953565b604051602001611aa9929190613683565b6040516020818303038152906040525b915050919050565b6000611acc82612b00565b9050919050565b611adb611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611af9611447565b73ffffffffffffffffffffffffffffffffffffffff1614611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b46906137cb565b60405180910390fd5b6000600960006101000a81548160ff021916908315150217905550565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c08611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611c26611447565b73ffffffffffffffffffffffffffffffffffffffff1614611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c73906137cb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce39061378b565b60405180910390fd5b611cf58161264f565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015611dc9575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611e95826123a7565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611ebc611dd0565b73ffffffffffffffffffffffffffffffffffffffff161480611eef5750611eee8260000151611ee9611dd0565b611b6c565b5b80611f345750611efd611dd0565b73ffffffffffffffffffffffffffffffffffffffff16611f1c846109bd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f6d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fd6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561203d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61204a8585856001612bd0565b61205a6000848460000151611dd8565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123375760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156123365782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123a08585856001612bd6565b5050505050565b6123af61302d565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612618576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161261657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124fa57809250505061264a565b5b60011561261557818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461261057809250505061264a565b6124fb565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61272f828260405180602001604052806000815250612bdc565b5050565b60006127548473ffffffffffffffffffffffffffffffffffffffff16612bee565b156128b4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261277d611dd0565b8786866040518563ffffffff1660e01b815260040161279f94939291906136e2565b602060405180830381600087803b1580156127b957600080fd5b505af19250505080156127ea57506040513d601f19601f820116820180604052508101906127e79190613378565b60015b612864573d806000811461281a576040519150601f19603f3d011682016040523d82523d6000602084013e61281f565b606091505b5060008151141561285c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128b9565b600190505b949350505050565b6060600d80546128d090613b35565b80601f01602080910402602001604051908101604052809291908181526020018280546128fc90613b35565b80156129495780601f1061291e57610100808354040283529160200191612949565b820191906000526020600020905b81548152906001019060200180831161292c57829003601f168201915b5050505050905090565b6060600082141561299b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612afb565b600082905060005b600082146129cd5780806129b690613b98565b915050600a826129c691906139c0565b91506129a3565b60008167ffffffffffffffff811115612a0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a415781602001600182028036833780820191505090505b5090505b60008514612af457600182612a5a9190613a4b565b9150600a85612a699190613be1565b6030612a75919061396a565b60f81b818381518110612ab1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aed91906139c0565b9450612a45565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b68576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b612be98383836001612c11565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612cac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612ce7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612cf46000868387612bd0565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612f5957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015612f0d5750612f0b6000888488612733565b155b15612f44576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612e92565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050612fa06000868387612bd6565b5050505050565b828054612fb390613b35565b90600052602060002090601f016020900481019282612fd5576000855561301c565b82601f10612fee57803560ff191683800117855561301c565b8280016001018555821561301c579182015b8281111561301b578235825591602001919060010190613000565b5b5090506130299190613070565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613089576000816000905550600101613071565b5090565b60006130a061309b846138eb565b6138c6565b9050828152602081018484840111156130b857600080fd5b6130c3848285613af3565b509392505050565b6000813590506130da81613ef1565b92915050565b6000813590506130ef81613f08565b92915050565b60008135905061310481613f1f565b92915050565b60008151905061311981613f1f565b92915050565b600082601f83011261313057600080fd5b813561314084826020860161308d565b91505092915050565b60008083601f84011261315b57600080fd5b8235905067ffffffffffffffff81111561317457600080fd5b60208301915083600182028301111561318c57600080fd5b9250929050565b6000813590506131a281613f36565b92915050565b6000602082840312156131ba57600080fd5b60006131c8848285016130cb565b91505092915050565b600080604083850312156131e457600080fd5b60006131f2858286016130cb565b9250506020613203858286016130cb565b9150509250929050565b60008060006060848603121561322257600080fd5b6000613230868287016130cb565b9350506020613241868287016130cb565b925050604061325286828701613193565b9150509250925092565b6000806000806080858703121561327257600080fd5b6000613280878288016130cb565b9450506020613291878288016130cb565b93505060406132a287828801613193565b925050606085013567ffffffffffffffff8111156132bf57600080fd5b6132cb8782880161311f565b91505092959194509250565b600080604083850312156132ea57600080fd5b60006132f8858286016130cb565b9250506020613309858286016130e0565b9150509250929050565b6000806040838503121561332657600080fd5b6000613334858286016130cb565b925050602061334585828601613193565b9150509250929050565b60006020828403121561336157600080fd5b600061336f848285016130f5565b91505092915050565b60006020828403121561338a57600080fd5b60006133988482850161310a565b91505092915050565b600080602083850312156133b457600080fd5b600083013567ffffffffffffffff8111156133ce57600080fd5b6133da85828601613149565b92509250509250929050565b6000602082840312156133f857600080fd5b600061340684828501613193565b91505092915050565b61341881613a7f565b82525050565b61342781613a91565b82525050565b60006134388261391c565b6134428185613932565b9350613452818560208601613b02565b61345b81613cce565b840191505092915050565b600061347182613927565b61347b818561394e565b935061348b818560208601613b02565b61349481613cce565b840191505092915050565b60006134aa82613927565b6134b4818561395f565b93506134c4818560208601613b02565b80840191505092915050565b60006134dd60138361394e565b91506134e882613cdf565b602082019050919050565b600061350060268361394e565b915061350b82613d08565b604082019050919050565b600061352360128361394e565b915061352e82613d57565b602082019050919050565b600061354660058361395f565b915061355182613d80565b600582019050919050565b600061356960208361394e565b915061357482613da9565b602082019050919050565b600061358c602f8361394e565b915061359782613dd2565b604082019050919050565b60006135af600083613943565b91506135ba82613e21565b600082019050919050565b60006135d260108361394e565b91506135dd82613e24565b602082019050919050565b60006135f560148361394e565b915061360082613e4d565b602082019050919050565b600061361860178361394e565b915061362382613e76565b602082019050919050565b600061363b601f8361394e565b915061364682613e9f565b602082019050919050565b600061365e60198361394e565b915061366982613ec8565b602082019050919050565b61367d81613ae9565b82525050565b600061368f828561349f565b915061369b828461349f565b91506136a682613539565b91508190509392505050565b60006136bd826135a2565b9150819050919050565b60006020820190506136dc600083018461340f565b92915050565b60006080820190506136f7600083018761340f565b613704602083018661340f565b6137116040830185613674565b8181036060830152613723818461342d565b905095945050505050565b6000602082019050613743600083018461341e565b92915050565b600060208201905081810360008301526137638184613466565b905092915050565b60006020820190508181036000830152613784816134d0565b9050919050565b600060208201905081810360008301526137a4816134f3565b9050919050565b600060208201905081810360008301526137c481613516565b9050919050565b600060208201905081810360008301526137e48161355c565b9050919050565b600060208201905081810360008301526138048161357f565b9050919050565b60006020820190508181036000830152613824816135c5565b9050919050565b60006020820190508181036000830152613844816135e8565b9050919050565b600060208201905081810360008301526138648161360b565b9050919050565b600060208201905081810360008301526138848161362e565b9050919050565b600060208201905081810360008301526138a481613651565b9050919050565b60006020820190506138c06000830184613674565b92915050565b60006138d06138e1565b90506138dc8282613b67565b919050565b6000604051905090565b600067ffffffffffffffff82111561390657613905613c9f565b5b61390f82613cce565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061397582613ae9565b915061398083613ae9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139b5576139b4613c12565b5b828201905092915050565b60006139cb82613ae9565b91506139d683613ae9565b9250826139e6576139e5613c41565b5b828204905092915050565b60006139fc82613ae9565b9150613a0783613ae9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a4057613a3f613c12565b5b828202905092915050565b6000613a5682613ae9565b9150613a6183613ae9565b925082821015613a7457613a73613c12565b5b828203905092915050565b6000613a8a82613ac9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613b20578082015181840152602081019050613b05565b83811115613b2f576000848401525b50505050565b60006002820490506001821680613b4d57607f821691505b60208210811415613b6157613b60613c70565b5b50919050565b613b7082613cce565b810181811067ffffffffffffffff82111715613b8f57613b8e613c9f565b5b80604052505050565b6000613ba382613ae9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bd657613bd5613c12565b5b600182019050919050565b6000613bec82613ae9565b9150613bf783613ae9565b925082613c0757613c06613c41565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d696e74206973206e6f74206163746976652e00000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f457863656564206d617820737570706c792e0000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f546f6f206d616e79207065722077616c6c65742e000000000000000000000000600082015250565b7f4e6f7420656e6f75676820616d6f756e742073656e742e000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f546f6f206d616e7920706572207472616e73616374696f6e2e00000000000000600082015250565b613efa81613a7f565b8114613f0557600080fd5b50565b613f1181613a91565b8114613f1c57600080fd5b50565b613f2881613a9d565b8114613f3357600080fd5b50565b613f3f81613ae9565b8114613f4a57600080fd5b5056fea264697066735822122017c62b521dafa48adc18f0d77062ca509c6f6501c384fdf233a6937c94213a9964736f6c63430008040033
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.