ERC-721
Overview
Max Total Supply
818 HQL
Holders
562
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 HQLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hedgies
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//Contract based on [https://docs.openzeppelin.com/contracts/4.x/erc721](https://docs.openzeppelin.com/contracts/4.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; /* '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''.ƒ'']▓ ,..',''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''']µ]▄▐▄╫╫╬▀╬╬╬▓╬▀╬▌╬▓#▓░╓''''''''''''''''''''''''''' ''''''''''''''''''''''''''╥ƒ╔╣╬▀╠╫╬▌╠▓╣╠╫╬╫╠╣▌╬▀╬▓╬╬╫╗╦M'''''''''''''''''''''''' '''''''''''''╓#▀▒▀Φ▄,''╓,╓╟╬╬╠▌╬▓╠╫╬▒╫▌╬╣▒╬▌╬▌╣▒╣▌╠╬╬▒╬╬▌,,''''''''''''''''''''' ''''''''''''▄▒╗▀▀▀╗▄╨▀▄▓╬╬╠▓╬▓╬╠╬╬╠▌▒╬▌╠╬▌╠▌╠╬╬▓╠╬╬╬╬╠▓▒╬▓▄''''╥ÆΘΘ##▄'''''''''' ''''''''''''▌░▓╫▒▒▒▒╬▀▄▀▒╬╬╬▒╬╬▒▓╬╠▒▀╬╬▒╠╠╬╬▒╬╬╠╬╬╫▓╠╣▒╣╠╠▌▄,▄╬▄▀╬╬▓G║▒''''''''' ''''''''''''▌░▓▓▒▒▒▒▒▒╬▌╨▌╠╫╬╠╠▒╫╣▀▌▀▀╨▀╨▀╨╩╨▀╨▀╨▀▀╩▓▀╣╬╬╬╠▓▌╬╬▒▒▒▓╣▒╫⌐''''''''' ''''''''''''╙▄│▓▒▒▒▒▒▒▒╠▓╨▌╬╬╩▀╙Ü└░│░░░░░░░░░░░░░░░░│░└┤╨╨╨▀╬╬▒▒▒▒▌▌▐▌'''''''''' '''''''''''''╙▄│▀▒▒▒▒▒▒▒╫▓▀┤░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╫╜▌▒╠╣╬╫╨''''''''''' ''''''''''''''└▀▄╨▀▒▒▒▒▌╫▀└░░░░▄▓███▀▌░░░░░░░░░░░░░░░▄███▀▌░░░▀╫╫▀╙''''''''''''' ''''''''''''''''└▓▄Q╙╨▓▄░░░░░░▐████ ▐▌░░░░░░░░░░░░░╟███▄ ╫▌░╟╬▓.''''''''''''''' ''''''''''''''''╓▓▒▌╬╬╬▓µ░░░░░╫███╣███▒░░░φ▒▒░▒▒▒▒φ░╫██▓███▀∞▓╬▓▄⌐'''''''''''''' '''''''''''''''*▌▌╫▒▌╬▀╫╫G░░░░╙██████▀░░▐▒░╫╬╬╬╬╬▓░╫░▓████▀░▐▌╠▓⌐''''''''''''''' '''''''''''''''╨▀▓╠╣╬╬▓▌╬▌░░░░░░│╨▀╨¡░░▐▌░░░╬▀█▓▀▒▒Γ▌░╙╨┤░░▓╬▀╬▌⌐''''''''''''''' ''''''''''''''''╨▓╬▓╬╬▒▀╬╫▄░░░░░░░░░░░░╫░░░╠▀▓╬╣▀╢░░╫░░░░░╣▌╣▌╫▓╙''''''''''''''' ''''''''''''''''╠▓▌╬▒╬▒╣▌╟▌µ░░░░░░░░░░░└▀▀╣╫╫▀╢Å╝╢╝▀┤░░░░▄╬╟▓╠▓▄.''''''''''''''' ''''''''''''''',▐╬▓╬▒╬▌╬╬╣╬╣G└░░░░░░░░░░░░░░░░░░░░░░░░░░▄╬╬▌╬▓Qµ'''''''''''''''' '''''''''''''▐▄▓╬▀╣╬╠╫╣╫╬╫▌▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▀╬╬╬╬╬▌▓G','''''''''''' ''''''''''┌,╫▀▀╬╫╬▒╬█▌╬╫▓╙╨░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╙▀▀╬╠╫╬╬╣▓▄'''''''''''' ''''''''''▄▓╬╠▓▓╬╠▓╬▒╬▌╨░░░░░░░░░░░░╥╥░░░░░░░░░░░░3▄G░░░░░░│╨▓▌╬╠╬╟▌▄''''''''''' '''''''')▄▓╠╣▓╬╠╣▌╠╣▓┤│░░░░░░ƒ░░░░░░┘╨└░░░░░░░░░░░░┘└░░*▄░░░░░╨╫▒▀╬╬▓▄'''''''''' '''''''╔▄▓▒▀▓╣╠█╬╣▒╨░└Q░░░░⌠▀╡░░░░░░░░░░░░░░░░░░░░░░░░▐▀╨└░░░░░└ô▓╬╬╬▓C''''''''' '''''''%╣▌╫╠▓▀╠╫▀Ö░░░┤╨░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░║▓╬╬╫▀⌐'''''''' ''''''Qª╣▒╫╬▓▌╬╬┤░░░░░░░░└└░░░░░░░░░j▒░░░░░░░░░▄▓#└░░░░░░░░░░░░╓▄░╚▌╟╣▓*'''''''' ''''''╙▓▓╬▓▌▀╬▓G░░░░░░░░┤▀▌░░░░░░░░░└░░░░░░░░░░└└░░░░░░░░░░p;░░┘╨▌░▓▒╬▓▄'''''''' ''''''@▌▀╬╬▓▌╢▌░░░░░░░░░░▐▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╙╨░░░░▓░╨▓╬▓▄'''''''' '''''╥Q╫▌▓╬╬╬╫▀░░░░░░░░░░╫░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╫▒░▓╠▓▄▄''''''' ''''''╠▓╬▓▌╠╬▓▒░░░░?▀#░░░▌░░{▄░░░░░░░░░░░░░░░░▄╡░░░░░░░╓▐▒░░░░░░░║▒░▓╬╬▌⌐''''''' ''''''╟▓╬╬▀▓▒▓░░░░░░░░░░▐▒░░░│┘░░░░░░░░░░░░░░░│┤░░░░░░░└┤└░░░░░░░▐▌░╫▒╬▓▄''''''' ____ _ _ _ __ _ /___ \_ _(_) | | ___ _ __ / / __ _| |__ ___ // / / | | | | | |/ _ \ '__| / / / _` | '_ \/ __| / \_/ /| |_| | | | | __/ | / /__| (_| | |_) \__ \ \___,_\ \__,_|_|_|_|\___|_| \____/\__,_|_.__/|___/ */ contract Hedgies is ERC721, Ownable, ERC721Burnable, ERC721Enumerable{ using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public price = 0.06 ether; uint256 public whitelistPrice = 0 ether; uint256 public maxQuantity = 20; uint256 public maxSupply = 10000; bool public publicMintLive = false; bool public whitelistMintLive = false; string baseUri = "https://api.quiller.app/collection/hedgies-quiller-labs/metadata/"; mapping(address => uint256) private whitelist; constructor() ERC721("Hedgies by Quiller Labs", "HQL") {} /* ============================================================== UTILITY METHODS ============================================================== */ // Check remaining whitelist mints for whitelisted wallet function remainingWhitelistMints() public view returns (uint256) { return whitelist[msg.sender]; } /* ============================================================== MINT METHODS ============================================================== */ // Public minting function publicMint(uint256 quantity) public payable { require(publicMintLive == true, "Public minting is not live yet!"); require(quantity <= maxQuantity, "Quantity requested exceeded the maximum quantity allowed."); uint256 totalCost = quantity * price; require(msg.value >= totalCost, "Not enough ETH to mint the desired quantity"); _mintNft(msg.sender, quantity); } // Whitelist minting function whitelistMint(uint256 quantity) public payable { require(whitelistMintLive == true, "Whitelist minting is not allowed yet!"); require(whitelist[msg.sender]>=quantity, "Mint quantity exceeded the allowed quantity. Please use remainingFreeMints() function to see the allowed amount."); uint256 totalCost = quantity * whitelistPrice; require(msg.value >= totalCost, "Not enough ETH to mint the desired quantity"); _mintNft(msg.sender, quantity); whitelist[msg.sender] -= quantity; } /* ============================================================== ADMIN/OWNER ONLY FUNCTIONS ============================================================== */ function airdrop(address[] memory wallets, uint256[] memory counts) public onlyOwner { for (uint256 i=0; i < wallets.length; i++) { _mintNft(wallets[i], counts[i]); emit NFTAirdrop(wallets[i], counts[i]); } } function setBaseUri(string calldata newBaseUri) public onlyOwner{ baseUri = newBaseUri; } // Function that adds list of wallets to whitelist for free minting function addToWhitelist(address[] memory wallets, uint256[] memory mintsAllowed) public onlyOwner { for (uint256 i=0; i < wallets.length; i++) { whitelist[wallets[i]] = mintsAllowed[i]; } } // Function that removes list of wallets from whitelist function removeFromWhitelist(address[] memory wallets) public onlyOwner { for (uint256 i=0; i < wallets.length; i++) { whitelist[wallets[i]] = 0; } } function togglePublicMintLive() public onlyOwner { publicMintLive = !publicMintLive; } function toggleWhitelistMinting() public onlyOwner { whitelistMintLive = !whitelistMintLive; } // Set the price per mint function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } // Set the whitelist price per mint function setWhitelistPrice(uint256 newWhitelistPrice) public onlyOwner { whitelistPrice = newWhitelistPrice; } // Maximum tokens per mint function setMaxQuantity(uint256 newQuantity) public onlyOwner { maxQuantity = newQuantity; } function withdraw() public payable onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function addReserve(uint256 reserveAmount) public onlyOwner { require(reserveAmount + maxSupply <= 11111, "Maximum supply including reserves is 11111"); maxSupply += reserveAmount; } /* ============================================================== PRIVATE FUNCTIONS ============================================================== */ function _mintNft(address wallet, uint256 quantity) private { require((maxSupply - _tokenIds.current()) >= quantity); for(uint256 i = 0; i < quantity; i++) { _tokenIds.increment(); uint256 tokenId = _tokenIds.current(); _safeMint(wallet, tokenId); tokenURI(tokenId); } } /* ============================================================== EVENTS ============================================================== */ event NFTAirdrop(address indexed to, uint256 quantity); /* ============================================================== MISCELLANEOUS ============================================================== */ function _baseURI() internal view virtual override returns (string memory) { return baseUri; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.12; 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 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"NFTAirdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"reserveAmount","type":"uint256"}],"name":"addReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"mintsAllowed","type":"uint256[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"counts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"burn","outputs":[],"stateMutability":"nonpayable","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":"maxQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingWhitelistMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newQuantity","type":"uint256"}],"name":"setMaxQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newWhitelistPrice","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicMintLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405266d529ae9e860000600c556000600d556014600e55612710600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506040518060800160405280604181526020016200517860419139601190805190602001906200008692919062000229565b503480156200009457600080fd5b506040518060400160405280601781526020017f48656467696573206279205175696c6c6572204c6162730000000000000000008152506040518060400160405280600381526020017f48514c000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200011992919062000229565b5080600190805190602001906200013292919062000229565b50505062000155620001496200015b60201b60201c565b6200016360201b60201c565b6200033e565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002379062000308565b90600052602060002090601f0160209004810192826200025b5760008555620002a7565b82601f106200027657805160ff1916838001178555620002a7565b82800160010185558215620002a7579182015b82811115620002a657825182559160200191906001019062000289565b5b509050620002b69190620002ba565b5090565b5b80821115620002d5576000816000905550600101620002bb565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200032157607f821691505b60208210811415620003385762000337620002d9565b5b50919050565b614e2a806200034e6000396000f3fe60806040526004361061023b5760003560e01c8063672434821161012e578063a22cb465116100ab578063e640cf7d1161006f578063e640cf7d1461080a578063e985e9c514610835578063f2fde38b14610872578063f8d505421461089b578063fc1a1c36146108c45761023b565b8063a22cb46514610739578063afe206d414610762578063b88d4fde14610779578063c87b56dd146107a2578063d5abeb01146107df5761023b565b80638da5cb5b116100f25780638da5cb5b1461066657806391b7f5ed1461069157806395d89b41146106ba578063a035b1fe146106e5578063a0bcfc7f146107105761023b565b806367243482146105a457806370a08231146105cd578063715018a61461060a578063717d57d314610621578063868ff4a21461064a5761023b565b80632f745c59116101bc5780634a65a575116101805780634a65a575146104af5780634b8243c9146104d85780634f6ccce714610501578063548db1741461053e5780636352211e146105675761023b565b80632f745c59146103eb5780633ccfd60b14610428578063419a09601461043257806342842e0e1461045d57806342966c68146104865761023b565b806323b872dd1161020357806323b872dd1461033957806327c7dde7146103625780632c1270ee1461038d5780632db11544146103a45780632f23407a146103c05761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906133ea565b6108ef565b6040516102749190613432565b60405180910390f35b34801561028957600080fd5b50610292610901565b60405161029f91906134e6565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca919061353e565b610993565b6040516102dc91906135ac565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906135f3565b610a18565b005b34801561031a57600080fd5b50610323610b30565b6040516103309190613642565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b919061365d565b610b3d565b005b34801561036e57600080fd5b50610377610b9d565b6040516103849190613432565b60405180910390f35b34801561039957600080fd5b506103a2610bb0565b005b6103be60048036038101906103b9919061353e565b610c58565b005b3480156103cc57600080fd5b506103d5610d56565b6040516103e29190613642565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d91906135f3565b610d9d565b60405161041f9190613642565b60405180910390f35b610430610e42565b005b34801561043e57600080fd5b50610447610f0d565b6040516104549190613432565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f919061365d565b610f20565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061353e565b610f40565b005b3480156104bb57600080fd5b506104d660048036038101906104d1919061353e565b610f9c565b005b3480156104e457600080fd5b506104ff60048036038101906104fa919061353e565b611022565b005b34801561050d57600080fd5b506105286004803603810190610523919061353e565b61110c565b6040516105359190613642565b60405180910390f35b34801561054a57600080fd5b50610565600480360381019061056091906137f8565b61117d565b005b34801561057357600080fd5b5061058e6004803603810190610589919061353e565b61127b565b60405161059b91906135ac565b60405180910390f35b3480156105b057600080fd5b506105cb60048036038101906105c69190613904565b61132d565b005b3480156105d957600080fd5b506105f460048036038101906105ef919061397c565b61148d565b6040516106019190613642565b60405180910390f35b34801561061657600080fd5b5061061f611545565b005b34801561062d57600080fd5b506106486004803603810190610643919061353e565b6115cd565b005b610664600480360381019061065f919061353e565b611653565b005b34801561067257600080fd5b5061067b6117e4565b60405161068891906135ac565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b3919061353e565b61180e565b005b3480156106c657600080fd5b506106cf611894565b6040516106dc91906134e6565b60405180910390f35b3480156106f157600080fd5b506106fa611926565b6040516107079190613642565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613a04565b61192c565b005b34801561074557600080fd5b50610760600480360381019061075b9190613a7d565b6119be565b005b34801561076e57600080fd5b506107776119d4565b005b34801561078557600080fd5b506107a0600480360381019061079b9190613b72565b611a7c565b005b3480156107ae57600080fd5b506107c960048036038101906107c4919061353e565b611ade565b6040516107d691906134e6565b60405180910390f35b3480156107eb57600080fd5b506107f4611b85565b6040516108019190613642565b60405180910390f35b34801561081657600080fd5b5061081f611b8b565b60405161082c9190613642565b60405180910390f35b34801561084157600080fd5b5061085c60048036038101906108579190613bf5565b611b91565b6040516108699190613432565b60405180910390f35b34801561087e57600080fd5b506108996004803603810190610894919061397c565b611c25565b005b3480156108a757600080fd5b506108c260048036038101906108bd9190613904565b611d1d565b005b3480156108d057600080fd5b506108d9611e35565b6040516108e69190613642565b60405180910390f35b60006108fa82611e3b565b9050919050565b60606000805461091090613c64565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90613c64565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b600061099e82611eb5565b6109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d490613d08565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a238261127b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8b90613d9a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab3611f21565b73ffffffffffffffffffffffffffffffffffffffff161480610ae25750610ae181610adc611f21565b611b91565b5b610b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1890613e2c565b60405180910390fd5b610b2b8383611f29565b505050565b6000600980549050905090565b610b4e610b48611f21565b82611fe2565b610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8490613ebe565b60405180910390fd5b610b988383836120c0565b505050565b601060009054906101000a900460ff1681565b610bb8611f21565b73ffffffffffffffffffffffffffffffffffffffff16610bd66117e4565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390613f2a565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b60011515601060009054906101000a900460ff16151514610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590613f96565b60405180910390fd5b600e54811115610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614028565b60405180910390fd5b6000600c5482610d039190614077565b905080341015610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90614143565b60405180910390fd5b610d523383612327565b5050565b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000610da88361148d565b8210610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de0906141d5565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e4a611f21565b73ffffffffffffffffffffffffffffffffffffffff16610e686117e4565b73ffffffffffffffffffffffffffffffffffffffff1614610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590613f2a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f09573d6000803e3d6000fd5b5050565b601060019054906101000a900460ff1681565b610f3b83838360405180602001604052806000815250611a7c565b505050565b610f51610f4b611f21565b82611fe2565b610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614267565b60405180910390fd5b610f998161239a565b50565b610fa4611f21565b73ffffffffffffffffffffffffffffffffffffffff16610fc26117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90613f2a565b60405180910390fd5b80600e8190555050565b61102a611f21565b73ffffffffffffffffffffffffffffffffffffffff166110486117e4565b73ffffffffffffffffffffffffffffffffffffffff161461109e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109590613f2a565b60405180910390fd5b612b67600f54826110af9190614287565b11156110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e79061434f565b60405180910390fd5b80600f60008282546111029190614287565b9250508190555050565b6000611116610b30565b8210611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e906143e1565b60405180910390fd5b6009828154811061116b5761116a614401565b5b90600052602060002001549050919050565b611185611f21565b73ffffffffffffffffffffffffffffffffffffffff166111a36117e4565b73ffffffffffffffffffffffffffffffffffffffff16146111f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f090613f2a565b60405180910390fd5b60005b81518110156112775760006012600084848151811061121e5761121d614401565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061126f90614430565b9150506111fc565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b906144eb565b60405180910390fd5b80915050919050565b611335611f21565b73ffffffffffffffffffffffffffffffffffffffff166113536117e4565b73ffffffffffffffffffffffffffffffffffffffff16146113a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a090613f2a565b60405180910390fd5b60005b8251811015611488576113f38382815181106113cb576113ca614401565b5b60200260200101518383815181106113e6576113e5614401565b5b6020026020010151612327565b82818151811061140657611405614401565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f2b4ace34f60b658fd3687dd54c91b3fcc3c46ef6bc8ecde5b99bf54b535382ec83838151811061145857611457614401565b5b602002602001015160405161146d9190613642565b60405180910390a2808061148090614430565b9150506113ac565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f59061457d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61154d611f21565b73ffffffffffffffffffffffffffffffffffffffff1661156b6117e4565b73ffffffffffffffffffffffffffffffffffffffff16146115c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b890613f2a565b60405180910390fd5b6115cb60006124b7565b565b6115d5611f21565b73ffffffffffffffffffffffffffffffffffffffff166115f36117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164090613f2a565b60405180910390fd5b80600d8190555050565b60011515601060019054906101000a900460ff161515146116a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a09061460f565b60405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906146ed565b60405180910390fd5b6000600d548261173b9190614077565b905080341015611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614143565b60405180910390fd5b61178a3383612327565b81601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117d9919061470d565b925050819055505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611816611f21565b73ffffffffffffffffffffffffffffffffffffffff166118346117e4565b73ffffffffffffffffffffffffffffffffffffffff161461188a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188190613f2a565b60405180910390fd5b80600c8190555050565b6060600180546118a390613c64565b80601f01602080910402602001604051908101604052809291908181526020018280546118cf90613c64565b801561191c5780601f106118f15761010080835404028352916020019161191c565b820191906000526020600020905b8154815290600101906020018083116118ff57829003601f168201915b5050505050905090565b600c5481565b611934611f21565b73ffffffffffffffffffffffffffffffffffffffff166119526117e4565b73ffffffffffffffffffffffffffffffffffffffff16146119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f90613f2a565b60405180910390fd5b8181601191906119b99291906132db565b505050565b6119d06119c9611f21565b838361257d565b5050565b6119dc611f21565b73ffffffffffffffffffffffffffffffffffffffff166119fa6117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613f2a565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b611a8d611a87611f21565b83611fe2565b611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390613ebe565b60405180910390fd5b611ad8848484846126ea565b50505050565b6060611ae982611eb5565b611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f906147b3565b60405180910390fd5b6000611b32612746565b90506000815111611b525760405180602001604052806000815250611b7d565b80611b5c846127d8565b604051602001611b6d92919061480f565b6040516020818303038152906040525b915050919050565b600f5481565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c2d611f21565b73ffffffffffffffffffffffffffffffffffffffff16611c4b6117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9890613f2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906148a5565b60405180910390fd5b611d1a816124b7565b50565b611d25611f21565b73ffffffffffffffffffffffffffffffffffffffff16611d436117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9090613f2a565b60405180910390fd5b60005b8251811015611e3057818181518110611db857611db7614401565b5b602002602001015160126000858481518110611dd757611dd6614401565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611e2890614430565b915050611d9c565b505050565b600d5481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eae5750611ead82612939565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f9c8361127b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fed82611eb5565b61202c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202390614937565b60405180910390fd5b60006120378361127b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120a657508373ffffffffffffffffffffffffffffffffffffffff1661208e84610993565b73ffffffffffffffffffffffffffffffffffffffff16145b806120b757506120b68185611b91565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120e08261127b565b73ffffffffffffffffffffffffffffffffffffffff1614612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d906149c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219d90614a5b565b60405180910390fd5b6121b1838383612a1b565b6121bc600082611f29565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461220c919061470d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122639190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612322838383612a2b565b505050565b80612332600b612a30565b600f5461233f919061470d565b101561234a57600080fd5b60005b818110156123955761235f600b612a3e565b600061236b600b612a30565b90506123778482612a54565b61238081611ade565b5050808061238d90614430565b91505061234d565b505050565b60006123a58261127b565b90506123b381600084612a1b565b6123be600083611f29565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461240e919061470d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124b381600084612a2b565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390614ac7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126dd9190613432565b60405180910390a3505050565b6126f58484846120c0565b61270184848484612a72565b612740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273790614b59565b60405180910390fd5b50505050565b60606011805461275590613c64565b80601f016020809104026020016040519081016040528092919081815260200182805461278190613c64565b80156127ce5780601f106127a3576101008083540402835291602001916127ce565b820191906000526020600020905b8154815290600101906020018083116127b157829003601f168201915b5050505050905090565b60606000821415612820576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612934565b600082905060005b6000821461285257808061283b90614430565b915050600a8261284b9190614ba8565b9150612828565b60008167ffffffffffffffff81111561286e5761286d6136b5565b5b6040519080825280601f01601f1916602001820160405280156128a05781602001600182028036833780820191505090505b5090505b6000851461292d576001826128b9919061470d565b9150600a856128c89190614bd9565b60306128d49190614287565b60f81b8183815181106128ea576128e9614401565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129269190614ba8565b94506128a4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a0457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a145750612a1382612bfa565b5b9050919050565b612a26838383612c64565b505050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612a6e828260405180602001604052806000815250612d78565b5050565b6000612a938473ffffffffffffffffffffffffffffffffffffffff16612dd3565b15612bed578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612abc611f21565b8786866040518563ffffffff1660e01b8152600401612ade9493929190614c5f565b6020604051808303816000875af1925050508015612b1a57506040513d601f19601f82011682018060405250810190612b179190614cc0565b60015b612b9d573d8060008114612b4a576040519150601f19603f3d011682016040523d82523d6000602084013e612b4f565b606091505b50600081511415612b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8c90614b59565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bf2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c6f838383612df6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cb257612cad81612dfb565b612cf1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612cf057612cef8382612e44565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d3457612d2f81612fb1565b612d73565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d7257612d718282613082565b5b5b505050565b612d828383613101565b612d8f6000848484612a72565b612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc590614b59565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e518461148d565b612e5b919061470d565b9050600060086000848152602001908152602001600020549050818114612f40576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612fc5919061470d565b90506000600a6000848152602001908152602001600020549050600060098381548110612ff557612ff4614401565b5b90600052602060002001549050806009838154811061301757613016614401565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061306657613065614ced565b5b6001900381819060005260206000200160009055905550505050565b600061308d8361148d565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316890614d68565b60405180910390fd5b61317a81611eb5565b156131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b190614dd4565b60405180910390fd5b6131c660008383612a1b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132169190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132d760008383612a2b565b5050565b8280546132e790613c64565b90600052602060002090601f0160209004810192826133095760008555613350565b82601f1061332257803560ff1916838001178555613350565b82800160010185558215613350579182015b8281111561334f578235825591602001919060010190613334565b5b50905061335d9190613361565b5090565b5b8082111561337a576000816000905550600101613362565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133c781613392565b81146133d257600080fd5b50565b6000813590506133e4816133be565b92915050565b600060208284031215613400576133ff613388565b5b600061340e848285016133d5565b91505092915050565b60008115159050919050565b61342c81613417565b82525050565b60006020820190506134476000830184613423565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561348757808201518184015260208101905061346c565b83811115613496576000848401525b50505050565b6000601f19601f8301169050919050565b60006134b88261344d565b6134c28185613458565b93506134d2818560208601613469565b6134db8161349c565b840191505092915050565b6000602082019050818103600083015261350081846134ad565b905092915050565b6000819050919050565b61351b81613508565b811461352657600080fd5b50565b60008135905061353881613512565b92915050565b60006020828403121561355457613553613388565b5b600061356284828501613529565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135968261356b565b9050919050565b6135a68161358b565b82525050565b60006020820190506135c1600083018461359d565b92915050565b6135d08161358b565b81146135db57600080fd5b50565b6000813590506135ed816135c7565b92915050565b6000806040838503121561360a57613609613388565b5b6000613618858286016135de565b925050602061362985828601613529565b9150509250929050565b61363c81613508565b82525050565b60006020820190506136576000830184613633565b92915050565b60008060006060848603121561367657613675613388565b5b6000613684868287016135de565b9350506020613695868287016135de565b92505060406136a686828701613529565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136ed8261349c565b810181811067ffffffffffffffff8211171561370c5761370b6136b5565b5b80604052505050565b600061371f61337e565b905061372b82826136e4565b919050565b600067ffffffffffffffff82111561374b5761374a6136b5565b5b602082029050602081019050919050565b600080fd5b600061377461376f84613730565b613715565b905080838252602082019050602084028301858111156137975761379661375c565b5b835b818110156137c057806137ac88826135de565b845260208401935050602081019050613799565b5050509392505050565b600082601f8301126137df576137de6136b0565b5b81356137ef848260208601613761565b91505092915050565b60006020828403121561380e5761380d613388565b5b600082013567ffffffffffffffff81111561382c5761382b61338d565b5b613838848285016137ca565b91505092915050565b600067ffffffffffffffff82111561385c5761385b6136b5565b5b602082029050602081019050919050565b600061388061387b84613841565b613715565b905080838252602082019050602084028301858111156138a3576138a261375c565b5b835b818110156138cc57806138b88882613529565b8452602084019350506020810190506138a5565b5050509392505050565b600082601f8301126138eb576138ea6136b0565b5b81356138fb84826020860161386d565b91505092915050565b6000806040838503121561391b5761391a613388565b5b600083013567ffffffffffffffff8111156139395761393861338d565b5b613945858286016137ca565b925050602083013567ffffffffffffffff8111156139665761396561338d565b5b613972858286016138d6565b9150509250929050565b60006020828403121561399257613991613388565b5b60006139a0848285016135de565b91505092915050565b600080fd5b60008083601f8401126139c4576139c36136b0565b5b8235905067ffffffffffffffff8111156139e1576139e06139a9565b5b6020830191508360018202830111156139fd576139fc61375c565b5b9250929050565b60008060208385031215613a1b57613a1a613388565b5b600083013567ffffffffffffffff811115613a3957613a3861338d565b5b613a45858286016139ae565b92509250509250929050565b613a5a81613417565b8114613a6557600080fd5b50565b600081359050613a7781613a51565b92915050565b60008060408385031215613a9457613a93613388565b5b6000613aa2858286016135de565b9250506020613ab385828601613a68565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613add57613adc6136b5565b5b613ae68261349c565b9050602081019050919050565b82818337600083830152505050565b6000613b15613b1084613ac2565b613715565b905082815260208101848484011115613b3157613b30613abd565b5b613b3c848285613af3565b509392505050565b600082601f830112613b5957613b586136b0565b5b8135613b69848260208601613b02565b91505092915050565b60008060008060808587031215613b8c57613b8b613388565b5b6000613b9a878288016135de565b9450506020613bab878288016135de565b9350506040613bbc87828801613529565b925050606085013567ffffffffffffffff811115613bdd57613bdc61338d565b5b613be987828801613b44565b91505092959194509250565b60008060408385031215613c0c57613c0b613388565b5b6000613c1a858286016135de565b9250506020613c2b858286016135de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c7c57607f821691505b60208210811415613c9057613c8f613c35565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613cf2602c83613458565b9150613cfd82613c96565b604082019050919050565b60006020820190508181036000830152613d2181613ce5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d84602183613458565b9150613d8f82613d28565b604082019050919050565b60006020820190508181036000830152613db381613d77565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613e16603883613458565b9150613e2182613dba565b604082019050919050565b60006020820190508181036000830152613e4581613e09565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613ea8603183613458565b9150613eb382613e4c565b604082019050919050565b60006020820190508181036000830152613ed781613e9b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f14602083613458565b9150613f1f82613ede565b602082019050919050565b60006020820190508181036000830152613f4381613f07565b9050919050565b7f5075626c6963206d696e74696e67206973206e6f74206c697665207965742100600082015250565b6000613f80601f83613458565b9150613f8b82613f4a565b602082019050919050565b60006020820190508181036000830152613faf81613f73565b9050919050565b7f5175616e7469747920726571756573746564206578636565646564207468652060008201527f6d6178696d756d207175616e7469747920616c6c6f7765642e00000000000000602082015250565b6000614012603983613458565b915061401d82613fb6565b604082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061408282613508565b915061408d83613508565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140c6576140c5614048565b5b828202905092915050565b7f4e6f7420656e6f7567682045544820746f206d696e742074686520646573697260008201527f6564207175616e74697479000000000000000000000000000000000000000000602082015250565b600061412d602b83613458565b9150614138826140d1565b604082019050919050565b6000602082019050818103600083015261415c81614120565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141bf602b83613458565b91506141ca82614163565b604082019050919050565b600060208201905081810360008301526141ee816141b2565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614251603083613458565b915061425c826141f5565b604082019050919050565b6000602082019050818103600083015261428081614244565b9050919050565b600061429282613508565b915061429d83613508565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142d2576142d1614048565b5b828201905092915050565b7f4d6178696d756d20737570706c7920696e636c7564696e67207265736572766560008201527f7320697320313131313100000000000000000000000000000000000000000000602082015250565b6000614339602a83613458565b9150614344826142dd565b604082019050919050565b600060208201905081810360008301526143688161432c565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143cb602c83613458565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061443b82613508565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561446e5761446d614048565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006144d5602983613458565b91506144e082614479565b604082019050919050565b60006020820190508181036000830152614504816144c8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614567602a83613458565b91506145728261450b565b604082019050919050565b600060208201905081810360008301526145968161455a565b9050919050565b7f57686974656c697374206d696e74696e67206973206e6f7420616c6c6f77656460008201527f2079657421000000000000000000000000000000000000000000000000000000602082015250565b60006145f9602583613458565b91506146048261459d565b604082019050919050565b60006020820190508181036000830152614628816145ec565b9050919050565b7f4d696e74207175616e746974792065786365656465642074686520616c6c6f7760008201527f6564207175616e746974792e20506c65617365207573652072656d61696e696e60208201527f67467265654d696e747328292066756e6374696f6e20746f207365652074686560408201527f20616c6c6f77656420616d6f756e742e00000000000000000000000000000000606082015250565b60006146d7607083613458565b91506146e28261462f565b608082019050919050565b60006020820190508181036000830152614706816146ca565b9050919050565b600061471882613508565b915061472383613508565b92508282101561473657614735614048565b5b828203905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061479d602f83613458565b91506147a882614741565b604082019050919050565b600060208201905081810360008301526147cc81614790565b9050919050565b600081905092915050565b60006147e98261344d565b6147f381856147d3565b9350614803818560208601613469565b80840191505092915050565b600061481b82856147de565b915061482782846147de565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061488f602683613458565b915061489a82614833565b604082019050919050565b600060208201905081810360008301526148be81614882565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614921602c83613458565b915061492c826148c5565b604082019050919050565b6000602082019050818103600083015261495081614914565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006149b3602583613458565b91506149be82614957565b604082019050919050565b600060208201905081810360008301526149e2816149a6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614a45602483613458565b9150614a50826149e9565b604082019050919050565b60006020820190508181036000830152614a7481614a38565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ab1601983613458565b9150614abc82614a7b565b602082019050919050565b60006020820190508181036000830152614ae081614aa4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614b43603283613458565b9150614b4e82614ae7565b604082019050919050565b60006020820190508181036000830152614b7281614b36565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bb382613508565b9150614bbe83613508565b925082614bce57614bcd614b79565b5b828204905092915050565b6000614be482613508565b9150614bef83613508565b925082614bff57614bfe614b79565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614c3182614c0a565b614c3b8185614c15565b9350614c4b818560208601613469565b614c548161349c565b840191505092915050565b6000608082019050614c74600083018761359d565b614c81602083018661359d565b614c8e6040830185613633565b8181036060830152614ca08184614c26565b905095945050505050565b600081519050614cba816133be565b92915050565b600060208284031215614cd657614cd5613388565b5b6000614ce484828501614cab565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d52602083613458565b9150614d5d82614d1c565b602082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614dbe601c83613458565b9150614dc982614d88565b602082019050919050565b60006020820190508181036000830152614ded81614db1565b905091905056fea26469706673582212206bc3757360f4f2b216451029e9816a0e0e9a1de3be23e5cb5ca8591d1081942764736f6c634300080c003368747470733a2f2f6170692e7175696c6c65722e6170702f636f6c6c656374696f6e2f686564676965732d7175696c6c65722d6c6162732f6d657461646174612f
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063672434821161012e578063a22cb465116100ab578063e640cf7d1161006f578063e640cf7d1461080a578063e985e9c514610835578063f2fde38b14610872578063f8d505421461089b578063fc1a1c36146108c45761023b565b8063a22cb46514610739578063afe206d414610762578063b88d4fde14610779578063c87b56dd146107a2578063d5abeb01146107df5761023b565b80638da5cb5b116100f25780638da5cb5b1461066657806391b7f5ed1461069157806395d89b41146106ba578063a035b1fe146106e5578063a0bcfc7f146107105761023b565b806367243482146105a457806370a08231146105cd578063715018a61461060a578063717d57d314610621578063868ff4a21461064a5761023b565b80632f745c59116101bc5780634a65a575116101805780634a65a575146104af5780634b8243c9146104d85780634f6ccce714610501578063548db1741461053e5780636352211e146105675761023b565b80632f745c59146103eb5780633ccfd60b14610428578063419a09601461043257806342842e0e1461045d57806342966c68146104865761023b565b806323b872dd1161020357806323b872dd1461033957806327c7dde7146103625780632c1270ee1461038d5780632db11544146103a45780632f23407a146103c05761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906133ea565b6108ef565b6040516102749190613432565b60405180910390f35b34801561028957600080fd5b50610292610901565b60405161029f91906134e6565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca919061353e565b610993565b6040516102dc91906135ac565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906135f3565b610a18565b005b34801561031a57600080fd5b50610323610b30565b6040516103309190613642565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b919061365d565b610b3d565b005b34801561036e57600080fd5b50610377610b9d565b6040516103849190613432565b60405180910390f35b34801561039957600080fd5b506103a2610bb0565b005b6103be60048036038101906103b9919061353e565b610c58565b005b3480156103cc57600080fd5b506103d5610d56565b6040516103e29190613642565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d91906135f3565b610d9d565b60405161041f9190613642565b60405180910390f35b610430610e42565b005b34801561043e57600080fd5b50610447610f0d565b6040516104549190613432565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f919061365d565b610f20565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061353e565b610f40565b005b3480156104bb57600080fd5b506104d660048036038101906104d1919061353e565b610f9c565b005b3480156104e457600080fd5b506104ff60048036038101906104fa919061353e565b611022565b005b34801561050d57600080fd5b506105286004803603810190610523919061353e565b61110c565b6040516105359190613642565b60405180910390f35b34801561054a57600080fd5b50610565600480360381019061056091906137f8565b61117d565b005b34801561057357600080fd5b5061058e6004803603810190610589919061353e565b61127b565b60405161059b91906135ac565b60405180910390f35b3480156105b057600080fd5b506105cb60048036038101906105c69190613904565b61132d565b005b3480156105d957600080fd5b506105f460048036038101906105ef919061397c565b61148d565b6040516106019190613642565b60405180910390f35b34801561061657600080fd5b5061061f611545565b005b34801561062d57600080fd5b506106486004803603810190610643919061353e565b6115cd565b005b610664600480360381019061065f919061353e565b611653565b005b34801561067257600080fd5b5061067b6117e4565b60405161068891906135ac565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b3919061353e565b61180e565b005b3480156106c657600080fd5b506106cf611894565b6040516106dc91906134e6565b60405180910390f35b3480156106f157600080fd5b506106fa611926565b6040516107079190613642565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613a04565b61192c565b005b34801561074557600080fd5b50610760600480360381019061075b9190613a7d565b6119be565b005b34801561076e57600080fd5b506107776119d4565b005b34801561078557600080fd5b506107a0600480360381019061079b9190613b72565b611a7c565b005b3480156107ae57600080fd5b506107c960048036038101906107c4919061353e565b611ade565b6040516107d691906134e6565b60405180910390f35b3480156107eb57600080fd5b506107f4611b85565b6040516108019190613642565b60405180910390f35b34801561081657600080fd5b5061081f611b8b565b60405161082c9190613642565b60405180910390f35b34801561084157600080fd5b5061085c60048036038101906108579190613bf5565b611b91565b6040516108699190613432565b60405180910390f35b34801561087e57600080fd5b506108996004803603810190610894919061397c565b611c25565b005b3480156108a757600080fd5b506108c260048036038101906108bd9190613904565b611d1d565b005b3480156108d057600080fd5b506108d9611e35565b6040516108e69190613642565b60405180910390f35b60006108fa82611e3b565b9050919050565b60606000805461091090613c64565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90613c64565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b600061099e82611eb5565b6109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d490613d08565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a238261127b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8b90613d9a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab3611f21565b73ffffffffffffffffffffffffffffffffffffffff161480610ae25750610ae181610adc611f21565b611b91565b5b610b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1890613e2c565b60405180910390fd5b610b2b8383611f29565b505050565b6000600980549050905090565b610b4e610b48611f21565b82611fe2565b610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8490613ebe565b60405180910390fd5b610b988383836120c0565b505050565b601060009054906101000a900460ff1681565b610bb8611f21565b73ffffffffffffffffffffffffffffffffffffffff16610bd66117e4565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390613f2a565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b60011515601060009054906101000a900460ff16151514610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590613f96565b60405180910390fd5b600e54811115610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614028565b60405180910390fd5b6000600c5482610d039190614077565b905080341015610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90614143565b60405180910390fd5b610d523383612327565b5050565b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000610da88361148d565b8210610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de0906141d5565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e4a611f21565b73ffffffffffffffffffffffffffffffffffffffff16610e686117e4565b73ffffffffffffffffffffffffffffffffffffffff1614610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590613f2a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f09573d6000803e3d6000fd5b5050565b601060019054906101000a900460ff1681565b610f3b83838360405180602001604052806000815250611a7c565b505050565b610f51610f4b611f21565b82611fe2565b610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614267565b60405180910390fd5b610f998161239a565b50565b610fa4611f21565b73ffffffffffffffffffffffffffffffffffffffff16610fc26117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90613f2a565b60405180910390fd5b80600e8190555050565b61102a611f21565b73ffffffffffffffffffffffffffffffffffffffff166110486117e4565b73ffffffffffffffffffffffffffffffffffffffff161461109e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109590613f2a565b60405180910390fd5b612b67600f54826110af9190614287565b11156110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e79061434f565b60405180910390fd5b80600f60008282546111029190614287565b9250508190555050565b6000611116610b30565b8210611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e906143e1565b60405180910390fd5b6009828154811061116b5761116a614401565b5b90600052602060002001549050919050565b611185611f21565b73ffffffffffffffffffffffffffffffffffffffff166111a36117e4565b73ffffffffffffffffffffffffffffffffffffffff16146111f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f090613f2a565b60405180910390fd5b60005b81518110156112775760006012600084848151811061121e5761121d614401565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061126f90614430565b9150506111fc565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b906144eb565b60405180910390fd5b80915050919050565b611335611f21565b73ffffffffffffffffffffffffffffffffffffffff166113536117e4565b73ffffffffffffffffffffffffffffffffffffffff16146113a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a090613f2a565b60405180910390fd5b60005b8251811015611488576113f38382815181106113cb576113ca614401565b5b60200260200101518383815181106113e6576113e5614401565b5b6020026020010151612327565b82818151811061140657611405614401565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f2b4ace34f60b658fd3687dd54c91b3fcc3c46ef6bc8ecde5b99bf54b535382ec83838151811061145857611457614401565b5b602002602001015160405161146d9190613642565b60405180910390a2808061148090614430565b9150506113ac565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f59061457d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61154d611f21565b73ffffffffffffffffffffffffffffffffffffffff1661156b6117e4565b73ffffffffffffffffffffffffffffffffffffffff16146115c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b890613f2a565b60405180910390fd5b6115cb60006124b7565b565b6115d5611f21565b73ffffffffffffffffffffffffffffffffffffffff166115f36117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164090613f2a565b60405180910390fd5b80600d8190555050565b60011515601060019054906101000a900460ff161515146116a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a09061460f565b60405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906146ed565b60405180910390fd5b6000600d548261173b9190614077565b905080341015611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614143565b60405180910390fd5b61178a3383612327565b81601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117d9919061470d565b925050819055505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611816611f21565b73ffffffffffffffffffffffffffffffffffffffff166118346117e4565b73ffffffffffffffffffffffffffffffffffffffff161461188a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188190613f2a565b60405180910390fd5b80600c8190555050565b6060600180546118a390613c64565b80601f01602080910402602001604051908101604052809291908181526020018280546118cf90613c64565b801561191c5780601f106118f15761010080835404028352916020019161191c565b820191906000526020600020905b8154815290600101906020018083116118ff57829003601f168201915b5050505050905090565b600c5481565b611934611f21565b73ffffffffffffffffffffffffffffffffffffffff166119526117e4565b73ffffffffffffffffffffffffffffffffffffffff16146119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f90613f2a565b60405180910390fd5b8181601191906119b99291906132db565b505050565b6119d06119c9611f21565b838361257d565b5050565b6119dc611f21565b73ffffffffffffffffffffffffffffffffffffffff166119fa6117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613f2a565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b611a8d611a87611f21565b83611fe2565b611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390613ebe565b60405180910390fd5b611ad8848484846126ea565b50505050565b6060611ae982611eb5565b611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f906147b3565b60405180910390fd5b6000611b32612746565b90506000815111611b525760405180602001604052806000815250611b7d565b80611b5c846127d8565b604051602001611b6d92919061480f565b6040516020818303038152906040525b915050919050565b600f5481565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c2d611f21565b73ffffffffffffffffffffffffffffffffffffffff16611c4b6117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9890613f2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906148a5565b60405180910390fd5b611d1a816124b7565b50565b611d25611f21565b73ffffffffffffffffffffffffffffffffffffffff16611d436117e4565b73ffffffffffffffffffffffffffffffffffffffff1614611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9090613f2a565b60405180910390fd5b60005b8251811015611e3057818181518110611db857611db7614401565b5b602002602001015160126000858481518110611dd757611dd6614401565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611e2890614430565b915050611d9c565b505050565b600d5481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eae5750611ead82612939565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f9c8361127b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fed82611eb5565b61202c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202390614937565b60405180910390fd5b60006120378361127b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120a657508373ffffffffffffffffffffffffffffffffffffffff1661208e84610993565b73ffffffffffffffffffffffffffffffffffffffff16145b806120b757506120b68185611b91565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120e08261127b565b73ffffffffffffffffffffffffffffffffffffffff1614612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d906149c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219d90614a5b565b60405180910390fd5b6121b1838383612a1b565b6121bc600082611f29565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461220c919061470d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122639190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612322838383612a2b565b505050565b80612332600b612a30565b600f5461233f919061470d565b101561234a57600080fd5b60005b818110156123955761235f600b612a3e565b600061236b600b612a30565b90506123778482612a54565b61238081611ade565b5050808061238d90614430565b91505061234d565b505050565b60006123a58261127b565b90506123b381600084612a1b565b6123be600083611f29565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461240e919061470d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124b381600084612a2b565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390614ac7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126dd9190613432565b60405180910390a3505050565b6126f58484846120c0565b61270184848484612a72565b612740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273790614b59565b60405180910390fd5b50505050565b60606011805461275590613c64565b80601f016020809104026020016040519081016040528092919081815260200182805461278190613c64565b80156127ce5780601f106127a3576101008083540402835291602001916127ce565b820191906000526020600020905b8154815290600101906020018083116127b157829003601f168201915b5050505050905090565b60606000821415612820576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612934565b600082905060005b6000821461285257808061283b90614430565b915050600a8261284b9190614ba8565b9150612828565b60008167ffffffffffffffff81111561286e5761286d6136b5565b5b6040519080825280601f01601f1916602001820160405280156128a05781602001600182028036833780820191505090505b5090505b6000851461292d576001826128b9919061470d565b9150600a856128c89190614bd9565b60306128d49190614287565b60f81b8183815181106128ea576128e9614401565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129269190614ba8565b94506128a4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a0457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a145750612a1382612bfa565b5b9050919050565b612a26838383612c64565b505050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612a6e828260405180602001604052806000815250612d78565b5050565b6000612a938473ffffffffffffffffffffffffffffffffffffffff16612dd3565b15612bed578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612abc611f21565b8786866040518563ffffffff1660e01b8152600401612ade9493929190614c5f565b6020604051808303816000875af1925050508015612b1a57506040513d601f19601f82011682018060405250810190612b179190614cc0565b60015b612b9d573d8060008114612b4a576040519150601f19603f3d011682016040523d82523d6000602084013e612b4f565b606091505b50600081511415612b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8c90614b59565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bf2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c6f838383612df6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cb257612cad81612dfb565b612cf1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612cf057612cef8382612e44565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d3457612d2f81612fb1565b612d73565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d7257612d718282613082565b5b5b505050565b612d828383613101565b612d8f6000848484612a72565b612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc590614b59565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e518461148d565b612e5b919061470d565b9050600060086000848152602001908152602001600020549050818114612f40576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612fc5919061470d565b90506000600a6000848152602001908152602001600020549050600060098381548110612ff557612ff4614401565b5b90600052602060002001549050806009838154811061301757613016614401565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061306657613065614ced565b5b6001900381819060005260206000200160009055905550505050565b600061308d8361148d565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316890614d68565b60405180910390fd5b61317a81611eb5565b156131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b190614dd4565b60405180910390fd5b6131c660008383612a1b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132169190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132d760008383612a2b565b5050565b8280546132e790613c64565b90600052602060002090601f0160209004810192826133095760008555613350565b82601f1061332257803560ff1916838001178555613350565b82800160010185558215613350579182015b8281111561334f578235825591602001919060010190613334565b5b50905061335d9190613361565b5090565b5b8082111561337a576000816000905550600101613362565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133c781613392565b81146133d257600080fd5b50565b6000813590506133e4816133be565b92915050565b600060208284031215613400576133ff613388565b5b600061340e848285016133d5565b91505092915050565b60008115159050919050565b61342c81613417565b82525050565b60006020820190506134476000830184613423565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561348757808201518184015260208101905061346c565b83811115613496576000848401525b50505050565b6000601f19601f8301169050919050565b60006134b88261344d565b6134c28185613458565b93506134d2818560208601613469565b6134db8161349c565b840191505092915050565b6000602082019050818103600083015261350081846134ad565b905092915050565b6000819050919050565b61351b81613508565b811461352657600080fd5b50565b60008135905061353881613512565b92915050565b60006020828403121561355457613553613388565b5b600061356284828501613529565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135968261356b565b9050919050565b6135a68161358b565b82525050565b60006020820190506135c1600083018461359d565b92915050565b6135d08161358b565b81146135db57600080fd5b50565b6000813590506135ed816135c7565b92915050565b6000806040838503121561360a57613609613388565b5b6000613618858286016135de565b925050602061362985828601613529565b9150509250929050565b61363c81613508565b82525050565b60006020820190506136576000830184613633565b92915050565b60008060006060848603121561367657613675613388565b5b6000613684868287016135de565b9350506020613695868287016135de565b92505060406136a686828701613529565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136ed8261349c565b810181811067ffffffffffffffff8211171561370c5761370b6136b5565b5b80604052505050565b600061371f61337e565b905061372b82826136e4565b919050565b600067ffffffffffffffff82111561374b5761374a6136b5565b5b602082029050602081019050919050565b600080fd5b600061377461376f84613730565b613715565b905080838252602082019050602084028301858111156137975761379661375c565b5b835b818110156137c057806137ac88826135de565b845260208401935050602081019050613799565b5050509392505050565b600082601f8301126137df576137de6136b0565b5b81356137ef848260208601613761565b91505092915050565b60006020828403121561380e5761380d613388565b5b600082013567ffffffffffffffff81111561382c5761382b61338d565b5b613838848285016137ca565b91505092915050565b600067ffffffffffffffff82111561385c5761385b6136b5565b5b602082029050602081019050919050565b600061388061387b84613841565b613715565b905080838252602082019050602084028301858111156138a3576138a261375c565b5b835b818110156138cc57806138b88882613529565b8452602084019350506020810190506138a5565b5050509392505050565b600082601f8301126138eb576138ea6136b0565b5b81356138fb84826020860161386d565b91505092915050565b6000806040838503121561391b5761391a613388565b5b600083013567ffffffffffffffff8111156139395761393861338d565b5b613945858286016137ca565b925050602083013567ffffffffffffffff8111156139665761396561338d565b5b613972858286016138d6565b9150509250929050565b60006020828403121561399257613991613388565b5b60006139a0848285016135de565b91505092915050565b600080fd5b60008083601f8401126139c4576139c36136b0565b5b8235905067ffffffffffffffff8111156139e1576139e06139a9565b5b6020830191508360018202830111156139fd576139fc61375c565b5b9250929050565b60008060208385031215613a1b57613a1a613388565b5b600083013567ffffffffffffffff811115613a3957613a3861338d565b5b613a45858286016139ae565b92509250509250929050565b613a5a81613417565b8114613a6557600080fd5b50565b600081359050613a7781613a51565b92915050565b60008060408385031215613a9457613a93613388565b5b6000613aa2858286016135de565b9250506020613ab385828601613a68565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613add57613adc6136b5565b5b613ae68261349c565b9050602081019050919050565b82818337600083830152505050565b6000613b15613b1084613ac2565b613715565b905082815260208101848484011115613b3157613b30613abd565b5b613b3c848285613af3565b509392505050565b600082601f830112613b5957613b586136b0565b5b8135613b69848260208601613b02565b91505092915050565b60008060008060808587031215613b8c57613b8b613388565b5b6000613b9a878288016135de565b9450506020613bab878288016135de565b9350506040613bbc87828801613529565b925050606085013567ffffffffffffffff811115613bdd57613bdc61338d565b5b613be987828801613b44565b91505092959194509250565b60008060408385031215613c0c57613c0b613388565b5b6000613c1a858286016135de565b9250506020613c2b858286016135de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c7c57607f821691505b60208210811415613c9057613c8f613c35565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613cf2602c83613458565b9150613cfd82613c96565b604082019050919050565b60006020820190508181036000830152613d2181613ce5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d84602183613458565b9150613d8f82613d28565b604082019050919050565b60006020820190508181036000830152613db381613d77565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613e16603883613458565b9150613e2182613dba565b604082019050919050565b60006020820190508181036000830152613e4581613e09565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613ea8603183613458565b9150613eb382613e4c565b604082019050919050565b60006020820190508181036000830152613ed781613e9b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f14602083613458565b9150613f1f82613ede565b602082019050919050565b60006020820190508181036000830152613f4381613f07565b9050919050565b7f5075626c6963206d696e74696e67206973206e6f74206c697665207965742100600082015250565b6000613f80601f83613458565b9150613f8b82613f4a565b602082019050919050565b60006020820190508181036000830152613faf81613f73565b9050919050565b7f5175616e7469747920726571756573746564206578636565646564207468652060008201527f6d6178696d756d207175616e7469747920616c6c6f7765642e00000000000000602082015250565b6000614012603983613458565b915061401d82613fb6565b604082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061408282613508565b915061408d83613508565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140c6576140c5614048565b5b828202905092915050565b7f4e6f7420656e6f7567682045544820746f206d696e742074686520646573697260008201527f6564207175616e74697479000000000000000000000000000000000000000000602082015250565b600061412d602b83613458565b9150614138826140d1565b604082019050919050565b6000602082019050818103600083015261415c81614120565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141bf602b83613458565b91506141ca82614163565b604082019050919050565b600060208201905081810360008301526141ee816141b2565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614251603083613458565b915061425c826141f5565b604082019050919050565b6000602082019050818103600083015261428081614244565b9050919050565b600061429282613508565b915061429d83613508565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142d2576142d1614048565b5b828201905092915050565b7f4d6178696d756d20737570706c7920696e636c7564696e67207265736572766560008201527f7320697320313131313100000000000000000000000000000000000000000000602082015250565b6000614339602a83613458565b9150614344826142dd565b604082019050919050565b600060208201905081810360008301526143688161432c565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143cb602c83613458565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061443b82613508565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561446e5761446d614048565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006144d5602983613458565b91506144e082614479565b604082019050919050565b60006020820190508181036000830152614504816144c8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614567602a83613458565b91506145728261450b565b604082019050919050565b600060208201905081810360008301526145968161455a565b9050919050565b7f57686974656c697374206d696e74696e67206973206e6f7420616c6c6f77656460008201527f2079657421000000000000000000000000000000000000000000000000000000602082015250565b60006145f9602583613458565b91506146048261459d565b604082019050919050565b60006020820190508181036000830152614628816145ec565b9050919050565b7f4d696e74207175616e746974792065786365656465642074686520616c6c6f7760008201527f6564207175616e746974792e20506c65617365207573652072656d61696e696e60208201527f67467265654d696e747328292066756e6374696f6e20746f207365652074686560408201527f20616c6c6f77656420616d6f756e742e00000000000000000000000000000000606082015250565b60006146d7607083613458565b91506146e28261462f565b608082019050919050565b60006020820190508181036000830152614706816146ca565b9050919050565b600061471882613508565b915061472383613508565b92508282101561473657614735614048565b5b828203905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061479d602f83613458565b91506147a882614741565b604082019050919050565b600060208201905081810360008301526147cc81614790565b9050919050565b600081905092915050565b60006147e98261344d565b6147f381856147d3565b9350614803818560208601613469565b80840191505092915050565b600061481b82856147de565b915061482782846147de565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061488f602683613458565b915061489a82614833565b604082019050919050565b600060208201905081810360008301526148be81614882565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614921602c83613458565b915061492c826148c5565b604082019050919050565b6000602082019050818103600083015261495081614914565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006149b3602583613458565b91506149be82614957565b604082019050919050565b600060208201905081810360008301526149e2816149a6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614a45602483613458565b9150614a50826149e9565b604082019050919050565b60006020820190508181036000830152614a7481614a38565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ab1601983613458565b9150614abc82614a7b565b602082019050919050565b60006020820190508181036000830152614ae081614aa4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614b43603283613458565b9150614b4e82614ae7565b604082019050919050565b60006020820190508181036000830152614b7281614b36565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bb382613508565b9150614bbe83613508565b925082614bce57614bcd614b79565b5b828204905092915050565b6000614be482613508565b9150614bef83613508565b925082614bff57614bfe614b79565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614c3182614c0a565b614c3b8185614c15565b9350614c4b818560208601613469565b614c548161349c565b840191505092915050565b6000608082019050614c74600083018761359d565b614c81602083018661359d565b614c8e6040830185613633565b8181036060830152614ca08184614c26565b905095945050505050565b600081519050614cba816133be565b92915050565b600060208284031215614cd657614cd5613388565b5b6000614ce484828501614cab565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d52602083613458565b9150614d5d82614d1c565b602082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614dbe601c83613458565b9150614dc982614d88565b602082019050919050565b60006020820190508181036000830152614ded81614db1565b905091905056fea26469706673582212206bc3757360f4f2b216451029e9816a0e0e9a1de3be23e5cb5ca8591d1081942764736f6c634300080c0033
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.