ERC-721
NFT
Overview
Max Total Supply
1,382 PFP
Holders
198
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 PFPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PupFrens
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)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IPup { function transferFrom( address sender, address recipient, uint256 amount ) external; } contract PupFrens is ERC721A, Ownable { string private _name = "PupFrens"; string private _symbol = "PFP"; uint256 public MAX_MINT_PER_TX = 20; IPup public pupContract; string private _customBaseUri = "https://assets.pupfrens.com/metadata/"; string private _contractUri = "https://assets.pupfrens.com/metadata/contract.json"; uint256 public maxSupply = 10000; uint256 public priceEthWei = 99999 ether; uint256 public priceMilliPup = 50000000000; // 50 million $PUP starting price (50m + 3 decimals) event MintedWithPup(uint256 numMinted, uint256 priceMilliPup); event MintedWithEth(uint256 numMinted, uint256 priceEthWei); constructor() public ERC721A(_name, _symbol) { pupContract = IPup(_pupErc20Address()); } function mintWithPup(uint256 numToMint) public { _checkMintAmount(numToMint); uint256 totalMilliPup = numToMint * priceMilliPup; // Transfering the PUP to this contract's address effectively burns the PUP because it cannot be withdrawn from here. pupContract.transferFrom(msg.sender, address(this), totalMilliPup); _safeMint(msg.sender, numToMint); emit MintedWithPup(numToMint, priceMilliPup); } function mintWithEth(uint256 numToMint) public payable { _checkMintAmount(numToMint); _checkEthPayment(numToMint); _safeMint(msg.sender, numToMint); emit MintedWithEth(numToMint, priceEthWei); } function _checkMintAmount(uint256 numToMint) internal view { require( numToMint <= MAX_MINT_PER_TX, "Trying to mint too many in a single tx" ); require( totalSupply() + numToMint <= maxSupply, "minting would exceed max supply" ); } function _checkEthPayment(uint256 numMinted) internal view { uint256 amountRequired = priceEthWei * numMinted; require(msg.value >= amountRequired, "Not enough funds sent"); } function _baseURI() internal view virtual override returns (string memory) { return _customBaseUri; } function contractURI() public view returns (string memory) { return _contractUri; } /** * Gets the contract address for the PUP erc20 token. */ function _pupErc20Address() internal view returns (address) { address addr; assembly { switch chainid() case 1 { // mainnet addr := 0x2696Fc1896F2D5F3DEAA2D91338B1D2E5f4E1D44 } case 4 { // rinkeby addr := 0x183B665119F1289dFD446a2ebA29f858eE0D3224 } } return addr; } function isApprovedForAll(address owner, address operator) public view override returns (bool) { return OpenSeaGasFreeListing.isApprovedForAll(owner, operator) || super.isApprovedForAll(owner, operator); } function setEthWeiPrice(uint256 newPriceWei) public onlyOwner { priceEthWei = newPriceWei; } function setMilliPupPrice(uint256 newPriceMilliPup) public onlyOwner { priceMilliPup = newPriceMilliPup; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function setBaseURI(string calldata newURI) public onlyOwner { _customBaseUri = newURI; } function setContractUri(string calldata newUri) public onlyOwner { _contractUri = newUri; } function decreaseMaxSupply(uint256 newSupply) public onlyOwner { require(newSupply < maxSupply); maxSupply = newSupply; } } library OpenSeaGasFreeListing { /** @notice Returns whether the operator is an OpenSea proxy for the owner, thus allowing it to list without the token owner paying gas. @dev ERC{721,1155}.isApprovedForAll should be overriden to also check if this function returns true. */ function isApprovedForAll(address owner, address operator) internal view returns (bool) { ProxyRegistry registry; assembly { switch chainid() case 1 { // mainnet registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1 } case 4 { // rinkeby registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317 } } return address(registry) != address(0) && address(registry.proxies(owner)) == operator; } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 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 (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 (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"numMinted","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"priceEthWei","type":"uint256"}],"name":"MintedWithEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"numMinted","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"priceMilliPup","type":"uint256"}],"name":"MintedWithPup","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"decreaseMaxSupply","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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"mintWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"mintWithPup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceEthWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceMilliPup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pupContract","outputs":[{"internalType":"contract IPup","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceWei","type":"uint256"}],"name":"setEthWeiPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceMilliPup","type":"uint256"}],"name":"setMilliPupPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600881526020017f5075704672656e73000000000000000000000000000000000000000000000000815250600990805190602001906200005192919062000446565b506040518060400160405280600381526020017f5046500000000000000000000000000000000000000000000000000000000000815250600a90805190602001906200009f92919062000446565b506014600b5560405180606001604052806025815260200162003e4f60259139600d9080519060200190620000d692919062000446565b5060405180606001604052806032815260200162003e7460329139600e90805190602001906200010892919062000446565b50612710600f5569152cf4e72a974f1c0000601055640ba43b74006011553480156200013357600080fd5b5060098054620001439062000525565b80601f0160208091040260200160405190810160405280929190818152602001828054620001719062000525565b8015620001c25780601f106200019657610100808354040283529160200191620001c2565b820191906000526020600020905b815481529060010190602001808311620001a457829003601f168201915b5050505050600a8054620001d69062000525565b80601f0160208091040260200160405190810160405280929190818152602001828054620002049062000525565b8015620002555780601f10620002295761010080835404028352916020019162000255565b820191906000526020600020905b8154815290600101906020018083116200023757829003601f168201915b505050505081600290805190602001906200027292919062000446565b5080600390805190602001906200028b92919062000446565b506200029c6200031a60201b60201c565b6000819055505050620002c4620002b86200031f60201b60201c565b6200032760201b60201c565b620002d4620003ed60201b60201c565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200055b565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080466001811462000409576004811462000426576200043e565b732696fc1896f2d5f3deaa2d91338b1d2e5f4e1d4491506200043e565b73183b665119f1289dfd446a2eba29f858ee0d322491505b508091505090565b828054620004549062000525565b90600052602060002090601f016020900481019282620004785760008555620004c4565b82601f106200049357805160ff1916838001178555620004c4565b82800160010185558215620004c4579182015b82811115620004c3578251825591602001919060010190620004a6565b5b509050620004d39190620004d7565b5090565b5b80821115620004f2576000816000905550600101620004d8565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200053e57607f821691505b60208210811415620005555762000554620004f6565b5b50919050565b6138e4806200056b6000396000f3fe6080604052600436106101d85760003560e01c80638da5cb5b11610102578063d176264211610095578063df7ccdf511610064578063df7ccdf514610673578063e8a3d4851461069e578063e985e9c5146106c9578063f2fde38b14610706576101d8565b8063d1762642146105cb578063d1f4f855146105f4578063d5abeb011461061d578063da793d0c14610648576101d8565b8063a22cb465116100d1578063a22cb46514610513578063b88d4fde1461053c578063c87b56dd14610565578063ccb4807b146105a2576101d8565b80638da5cb5b146104695780638ecad7211461049457806391ff4a73146104bf57806395d89b41146104e8576101d8565b80633ccfd60b1161017a5780635bbcd85e116101495780635bbcd85e146103af5780636352211e146103d857806370a0823114610415578063715018a614610452576101d8565b80633ccfd60b1461031b57806342842e0e1461033257806355f804b31461035b5780635929407114610384576101d8565b8063095ea7b3116101b6578063095ea7b3146102825780630df10da9146102ab57806318160ddd146102c757806323b872dd146102f2576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612b3d565b61072f565b6040516102119190612b85565b60405180910390f35b34801561022657600080fd5b5061022f610811565b60405161023c9190612c39565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612c91565b6108a3565b6040516102799190612cff565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612d46565b61091f565b005b6102c560048036038101906102c09190612c91565b610a2a565b005b3480156102d357600080fd5b506102dc610a84565b6040516102e99190612d95565b60405180910390f35b3480156102fe57600080fd5b5061031960048036038101906103149190612db0565b610a9b565b005b34801561032757600080fd5b50610330610aab565b005b34801561033e57600080fd5b5061035960048036038101906103549190612db0565b610b76565b005b34801561036757600080fd5b50610382600480360381019061037d9190612e68565b610b96565b005b34801561039057600080fd5b50610399610c28565b6040516103a69190612f14565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190612c91565b610c4e565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190612c91565b610d43565b60405161040c9190612cff565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190612f2f565b610d59565b6040516104499190612d95565b60405180910390f35b34801561045e57600080fd5b50610467610e29565b005b34801561047557600080fd5b5061047e610eb1565b60405161048b9190612cff565b60405180910390f35b3480156104a057600080fd5b506104a9610edb565b6040516104b69190612d95565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190612c91565b610ee1565b005b3480156104f457600080fd5b506104fd610f75565b60405161050a9190612c39565b60405180910390f35b34801561051f57600080fd5b5061053a60048036038101906105359190612f88565b611007565b005b34801561054857600080fd5b50610563600480360381019061055e91906130f8565b61117f565b005b34801561057157600080fd5b5061058c60048036038101906105879190612c91565b6111fb565b6040516105999190612c39565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190612e68565b61129a565b005b3480156105d757600080fd5b506105f260048036038101906105ed9190612c91565b61132c565b005b34801561060057600080fd5b5061061b60048036038101906106169190612c91565b6113b2565b005b34801561062957600080fd5b50610632611438565b60405161063f9190612d95565b60405180910390f35b34801561065457600080fd5b5061065d61143e565b60405161066a9190612d95565b60405180910390f35b34801561067f57600080fd5b50610688611444565b6040516106959190612d95565b60405180910390f35b3480156106aa57600080fd5b506106b361144a565b6040516106c09190612c39565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb919061317b565b6114dc565b6040516106fd9190612b85565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190612f2f565b611501565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107fa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061080a5750610809826115f9565b5b9050919050565b606060028054610820906131ea565b80601f016020809104026020016040519081016040528092919081815260200182805461084c906131ea565b80156108995780601f1061086e57610100808354040283529160200191610899565b820191906000526020600020905b81548152906001019060200180831161087c57829003601f168201915b5050505050905090565b60006108ae82611663565b6108e4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092a82610d43565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b16116b1565b73ffffffffffffffffffffffffffffffffffffffff16141580156109e357506109e1816109dc6116b1565b6114dc565b155b15610a1a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a258383836116b9565b505050565b610a338161176b565b610a3c8161180a565b610a463382611863565b7f7ef25c9b7df4b82eb357f11be390390235408edc114def424da3ba8b0467aff381601054604051610a7992919061321c565b60405180910390a150565b6000610a8e611881565b6001546000540303905090565b610aa6838383611886565b505050565b610ab36116b1565b73ffffffffffffffffffffffffffffffffffffffff16610ad1610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90613291565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b72573d6000803e3d6000fd5b5050565b610b918383836040518060200160405280600081525061117f565b505050565b610b9e6116b1565b73ffffffffffffffffffffffffffffffffffffffff16610bbc610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990613291565b60405180910390fd5b8181600d9190610c239291906129eb565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c578161176b565b600060115482610c6791906132e0565b9050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610cc89392919061333a565b600060405180830381600087803b158015610ce257600080fd5b505af1158015610cf6573d6000803e3d6000fd5b50505050610d043383611863565b7f9517ebf3c4d4a255ff23c065f81281d4812315da8c4c162c1283e6bbd612f9be82601154604051610d3792919061321c565b60405180910390a15050565b6000610d4e82611d77565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dc1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610e316116b1565b73ffffffffffffffffffffffffffffffffffffffff16610e4f610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90613291565b60405180910390fd5b610eaf6000612006565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b610ee96116b1565b73ffffffffffffffffffffffffffffffffffffffff16610f07610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613291565b60405180910390fd5b600f548110610f6b57600080fd5b80600f8190555050565b606060038054610f84906131ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb0906131ea565b8015610ffd5780601f10610fd257610100808354040283529160200191610ffd565b820191906000526020600020905b815481529060010190602001808311610fe057829003601f168201915b5050505050905090565b61100f6116b1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611074576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006110816116b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661112e6116b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111739190612b85565b60405180910390a35050565b61118a848484611886565b6111a98373ffffffffffffffffffffffffffffffffffffffff166120cc565b80156111be57506111bc848484846120ef565b155b156111f5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061120682611663565b61123c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611246612240565b90506000815114156112675760405180602001604052806000815250611292565b80611271846122d2565b6040516020016112829291906133ad565b6040516020818303038152906040525b915050919050565b6112a26116b1565b73ffffffffffffffffffffffffffffffffffffffff166112c0610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614611316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130d90613291565b60405180910390fd5b8181600e91906113279291906129eb565b505050565b6113346116b1565b73ffffffffffffffffffffffffffffffffffffffff16611352610eb1565b73ffffffffffffffffffffffffffffffffffffffff16146113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f90613291565b60405180910390fd5b8060118190555050565b6113ba6116b1565b73ffffffffffffffffffffffffffffffffffffffff166113d8610eb1565b73ffffffffffffffffffffffffffffffffffffffff161461142e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142590613291565b60405180910390fd5b8060108190555050565b600f5481565b60105481565b60115481565b6060600e8054611459906131ea565b80601f0160208091040260200160405190810160405280929190818152602001828054611485906131ea565b80156114d25780601f106114a7576101008083540402835291602001916114d2565b820191906000526020600020905b8154815290600101906020018083116114b557829003601f168201915b5050505050905090565b60006114e88383612433565b806114f957506114f8838361256b565b5b905092915050565b6115096116b1565b73ffffffffffffffffffffffffffffffffffffffff16611527610eb1565b73ffffffffffffffffffffffffffffffffffffffff161461157d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157490613291565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e490613443565b60405180910390fd5b6115f681612006565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161166e611881565b1115801561167d575060005482105b80156116aa575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b548111156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a7906134d5565b60405180910390fd5b600f54816117bc610a84565b6117c691906134f5565b1115611807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fe90613597565b60405180910390fd5b50565b60008160105461181a91906132e0565b90508034101561185f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185690613603565b60405180910390fd5b5050565b61187d8282604051806020016040528060008152506125ff565b5050565b600090565b600061189182611d77565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166118b86116b1565b73ffffffffffffffffffffffffffffffffffffffff1614806118eb57506118ea82600001516118e56116b1565b6114dc565b5b8061193057506118f96116b1565b73ffffffffffffffffffffffffffffffffffffffff16611918846108a3565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611969576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146119d2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a39576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a468585856001612611565b611a5660008484600001516116b9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d0757600054811015611d065782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d708585856001612617565b5050505050565b611d7f612a71565b600082905080611d8d611881565b11158015611d9c575060005481105b15611fcf576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611fcd57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611eb1578092505050612001565b5b600115611fcc57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611fc7578092505050612001565b611eb2565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121156116b1565b8786866040518563ffffffff1660e01b81526004016121379493929190613678565b6020604051808303816000875af192505050801561217357506040513d601f19601f8201168201806040525081019061217091906136d9565b60015b6121ed573d80600081146121a3576040519150601f19603f3d011682016040523d82523d6000602084013e6121a8565b606091505b506000815114156121e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d805461224f906131ea565b80601f016020809104026020016040519081016040528092919081815260200182805461227b906131ea565b80156122c85780601f1061229d576101008083540402835291602001916122c8565b820191906000526020600020905b8154815290600101906020018083116122ab57829003601f168201915b5050505050905090565b6060600082141561231a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061242e565b600082905060005b6000821461234c57808061233590613706565b915050600a82612345919061377e565b9150612322565b60008167ffffffffffffffff81111561236857612367612fcd565b5b6040519080825280601f01601f19166020018201604052801561239a5781602001600182028036833780820191505090505b5090505b60008514612427576001826123b391906137af565b9150600a856123c291906137e3565b60306123ce91906134f5565b60f81b8183815181106123e4576123e3613814565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612420919061377e565b945061239e565b8093505050505b919050565b600080466001811461244c576004811461246857612480565b73a5409ec958c83c3f309868babaca7c86dcb077c19150612480565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561256257508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016125099190612cff565b602060405180830381865afa158015612526573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254a9190613881565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61260c838383600161261d565b505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561268a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156126c5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126d26000868387612611565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561289c575061289b8773ffffffffffffffffffffffffffffffffffffffff166120cc565b5b15612962575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461291160008884806001019550886120ef565b612947576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156128a257826000541461295d57600080fd5b6129ce565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612963575b8160008190555050506129e46000868387612617565b5050505050565b8280546129f7906131ea565b90600052602060002090601f016020900481019282612a195760008555612a60565b82601f10612a3257803560ff1916838001178555612a60565b82800160010185558215612a60579182015b82811115612a5f578235825591602001919060010190612a44565b5b509050612a6d9190612ab4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612acd576000816000905550600101612ab5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b1a81612ae5565b8114612b2557600080fd5b50565b600081359050612b3781612b11565b92915050565b600060208284031215612b5357612b52612adb565b5b6000612b6184828501612b28565b91505092915050565b60008115159050919050565b612b7f81612b6a565b82525050565b6000602082019050612b9a6000830184612b76565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bda578082015181840152602081019050612bbf565b83811115612be9576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c0b82612ba0565b612c158185612bab565b9350612c25818560208601612bbc565b612c2e81612bef565b840191505092915050565b60006020820190508181036000830152612c538184612c00565b905092915050565b6000819050919050565b612c6e81612c5b565b8114612c7957600080fd5b50565b600081359050612c8b81612c65565b92915050565b600060208284031215612ca757612ca6612adb565b5b6000612cb584828501612c7c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ce982612cbe565b9050919050565b612cf981612cde565b82525050565b6000602082019050612d146000830184612cf0565b92915050565b612d2381612cde565b8114612d2e57600080fd5b50565b600081359050612d4081612d1a565b92915050565b60008060408385031215612d5d57612d5c612adb565b5b6000612d6b85828601612d31565b9250506020612d7c85828601612c7c565b9150509250929050565b612d8f81612c5b565b82525050565b6000602082019050612daa6000830184612d86565b92915050565b600080600060608486031215612dc957612dc8612adb565b5b6000612dd786828701612d31565b9350506020612de886828701612d31565b9250506040612df986828701612c7c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612e2857612e27612e03565b5b8235905067ffffffffffffffff811115612e4557612e44612e08565b5b602083019150836001820283011115612e6157612e60612e0d565b5b9250929050565b60008060208385031215612e7f57612e7e612adb565b5b600083013567ffffffffffffffff811115612e9d57612e9c612ae0565b5b612ea985828601612e12565b92509250509250929050565b6000819050919050565b6000612eda612ed5612ed084612cbe565b612eb5565b612cbe565b9050919050565b6000612eec82612ebf565b9050919050565b6000612efe82612ee1565b9050919050565b612f0e81612ef3565b82525050565b6000602082019050612f296000830184612f05565b92915050565b600060208284031215612f4557612f44612adb565b5b6000612f5384828501612d31565b91505092915050565b612f6581612b6a565b8114612f7057600080fd5b50565b600081359050612f8281612f5c565b92915050565b60008060408385031215612f9f57612f9e612adb565b5b6000612fad85828601612d31565b9250506020612fbe85828601612f73565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61300582612bef565b810181811067ffffffffffffffff8211171561302457613023612fcd565b5b80604052505050565b6000613037612ad1565b90506130438282612ffc565b919050565b600067ffffffffffffffff82111561306357613062612fcd565b5b61306c82612bef565b9050602081019050919050565b82818337600083830152505050565b600061309b61309684613048565b61302d565b9050828152602081018484840111156130b7576130b6612fc8565b5b6130c2848285613079565b509392505050565b600082601f8301126130df576130de612e03565b5b81356130ef848260208601613088565b91505092915050565b6000806000806080858703121561311257613111612adb565b5b600061312087828801612d31565b945050602061313187828801612d31565b935050604061314287828801612c7c565b925050606085013567ffffffffffffffff81111561316357613162612ae0565b5b61316f878288016130ca565b91505092959194509250565b6000806040838503121561319257613191612adb565b5b60006131a085828601612d31565b92505060206131b185828601612d31565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061320257607f821691505b60208210811415613216576132156131bb565b5b50919050565b60006040820190506132316000830185612d86565b61323e6020830184612d86565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061327b602083612bab565b915061328682613245565b602082019050919050565b600060208201905081810360008301526132aa8161326e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132eb82612c5b565b91506132f683612c5b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561332f5761332e6132b1565b5b828202905092915050565b600060608201905061334f6000830186612cf0565b61335c6020830185612cf0565b6133696040830184612d86565b949350505050565b600081905092915050565b600061338782612ba0565b6133918185613371565b93506133a1818560208601612bbc565b80840191505092915050565b60006133b9828561337c565b91506133c5828461337c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061342d602683612bab565b9150613438826133d1565b604082019050919050565b6000602082019050818103600083015261345c81613420565b9050919050565b7f547279696e6720746f206d696e7420746f6f206d616e7920696e20612073696e60008201527f676c652074780000000000000000000000000000000000000000000000000000602082015250565b60006134bf602683612bab565b91506134ca82613463565b604082019050919050565b600060208201905081810360008301526134ee816134b2565b9050919050565b600061350082612c5b565b915061350b83612c5b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135405761353f6132b1565b5b828201905092915050565b7f6d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613581601f83612bab565b915061358c8261354b565b602082019050919050565b600060208201905081810360008301526135b081613574565b9050919050565b7f4e6f7420656e6f7567682066756e64732073656e740000000000000000000000600082015250565b60006135ed601583612bab565b91506135f8826135b7565b602082019050919050565b6000602082019050818103600083015261361c816135e0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061364a82613623565b613654818561362e565b9350613664818560208601612bbc565b61366d81612bef565b840191505092915050565b600060808201905061368d6000830187612cf0565b61369a6020830186612cf0565b6136a76040830185612d86565b81810360608301526136b9818461363f565b905095945050505050565b6000815190506136d381612b11565b92915050565b6000602082840312156136ef576136ee612adb565b5b60006136fd848285016136c4565b91505092915050565b600061371182612c5b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613744576137436132b1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061378982612c5b565b915061379483612c5b565b9250826137a4576137a361374f565b5b828204905092915050565b60006137ba82612c5b565b91506137c583612c5b565b9250828210156137d8576137d76132b1565b5b828203905092915050565b60006137ee82612c5b565b91506137f983612c5b565b9250826138095761380861374f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061384e82612cde565b9050919050565b61385e81613843565b811461386957600080fd5b50565b60008151905061387b81613855565b92915050565b60006020828403121561389757613896612adb565b5b60006138a58482850161386c565b9150509291505056fea26469706673582212200689857681fc2a8c36e8e7083c52be2b0056b916ef3223132d5901c51cd2269064736f6c634300080c003368747470733a2f2f6173736574732e7075706672656e732e636f6d2f6d657461646174612f68747470733a2f2f6173736574732e7075706672656e732e636f6d2f6d657461646174612f636f6e74726163742e6a736f6e
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80638da5cb5b11610102578063d176264211610095578063df7ccdf511610064578063df7ccdf514610673578063e8a3d4851461069e578063e985e9c5146106c9578063f2fde38b14610706576101d8565b8063d1762642146105cb578063d1f4f855146105f4578063d5abeb011461061d578063da793d0c14610648576101d8565b8063a22cb465116100d1578063a22cb46514610513578063b88d4fde1461053c578063c87b56dd14610565578063ccb4807b146105a2576101d8565b80638da5cb5b146104695780638ecad7211461049457806391ff4a73146104bf57806395d89b41146104e8576101d8565b80633ccfd60b1161017a5780635bbcd85e116101495780635bbcd85e146103af5780636352211e146103d857806370a0823114610415578063715018a614610452576101d8565b80633ccfd60b1461031b57806342842e0e1461033257806355f804b31461035b5780635929407114610384576101d8565b8063095ea7b3116101b6578063095ea7b3146102825780630df10da9146102ab57806318160ddd146102c757806323b872dd146102f2576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612b3d565b61072f565b6040516102119190612b85565b60405180910390f35b34801561022657600080fd5b5061022f610811565b60405161023c9190612c39565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612c91565b6108a3565b6040516102799190612cff565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612d46565b61091f565b005b6102c560048036038101906102c09190612c91565b610a2a565b005b3480156102d357600080fd5b506102dc610a84565b6040516102e99190612d95565b60405180910390f35b3480156102fe57600080fd5b5061031960048036038101906103149190612db0565b610a9b565b005b34801561032757600080fd5b50610330610aab565b005b34801561033e57600080fd5b5061035960048036038101906103549190612db0565b610b76565b005b34801561036757600080fd5b50610382600480360381019061037d9190612e68565b610b96565b005b34801561039057600080fd5b50610399610c28565b6040516103a69190612f14565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190612c91565b610c4e565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190612c91565b610d43565b60405161040c9190612cff565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190612f2f565b610d59565b6040516104499190612d95565b60405180910390f35b34801561045e57600080fd5b50610467610e29565b005b34801561047557600080fd5b5061047e610eb1565b60405161048b9190612cff565b60405180910390f35b3480156104a057600080fd5b506104a9610edb565b6040516104b69190612d95565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190612c91565b610ee1565b005b3480156104f457600080fd5b506104fd610f75565b60405161050a9190612c39565b60405180910390f35b34801561051f57600080fd5b5061053a60048036038101906105359190612f88565b611007565b005b34801561054857600080fd5b50610563600480360381019061055e91906130f8565b61117f565b005b34801561057157600080fd5b5061058c60048036038101906105879190612c91565b6111fb565b6040516105999190612c39565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190612e68565b61129a565b005b3480156105d757600080fd5b506105f260048036038101906105ed9190612c91565b61132c565b005b34801561060057600080fd5b5061061b60048036038101906106169190612c91565b6113b2565b005b34801561062957600080fd5b50610632611438565b60405161063f9190612d95565b60405180910390f35b34801561065457600080fd5b5061065d61143e565b60405161066a9190612d95565b60405180910390f35b34801561067f57600080fd5b50610688611444565b6040516106959190612d95565b60405180910390f35b3480156106aa57600080fd5b506106b361144a565b6040516106c09190612c39565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb919061317b565b6114dc565b6040516106fd9190612b85565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190612f2f565b611501565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107fa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061080a5750610809826115f9565b5b9050919050565b606060028054610820906131ea565b80601f016020809104026020016040519081016040528092919081815260200182805461084c906131ea565b80156108995780601f1061086e57610100808354040283529160200191610899565b820191906000526020600020905b81548152906001019060200180831161087c57829003601f168201915b5050505050905090565b60006108ae82611663565b6108e4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092a82610d43565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b16116b1565b73ffffffffffffffffffffffffffffffffffffffff16141580156109e357506109e1816109dc6116b1565b6114dc565b155b15610a1a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a258383836116b9565b505050565b610a338161176b565b610a3c8161180a565b610a463382611863565b7f7ef25c9b7df4b82eb357f11be390390235408edc114def424da3ba8b0467aff381601054604051610a7992919061321c565b60405180910390a150565b6000610a8e611881565b6001546000540303905090565b610aa6838383611886565b505050565b610ab36116b1565b73ffffffffffffffffffffffffffffffffffffffff16610ad1610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90613291565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b72573d6000803e3d6000fd5b5050565b610b918383836040518060200160405280600081525061117f565b505050565b610b9e6116b1565b73ffffffffffffffffffffffffffffffffffffffff16610bbc610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990613291565b60405180910390fd5b8181600d9190610c239291906129eb565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c578161176b565b600060115482610c6791906132e0565b9050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610cc89392919061333a565b600060405180830381600087803b158015610ce257600080fd5b505af1158015610cf6573d6000803e3d6000fd5b50505050610d043383611863565b7f9517ebf3c4d4a255ff23c065f81281d4812315da8c4c162c1283e6bbd612f9be82601154604051610d3792919061321c565b60405180910390a15050565b6000610d4e82611d77565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dc1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610e316116b1565b73ffffffffffffffffffffffffffffffffffffffff16610e4f610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90613291565b60405180910390fd5b610eaf6000612006565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b610ee96116b1565b73ffffffffffffffffffffffffffffffffffffffff16610f07610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613291565b60405180910390fd5b600f548110610f6b57600080fd5b80600f8190555050565b606060038054610f84906131ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb0906131ea565b8015610ffd5780601f10610fd257610100808354040283529160200191610ffd565b820191906000526020600020905b815481529060010190602001808311610fe057829003601f168201915b5050505050905090565b61100f6116b1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611074576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006110816116b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661112e6116b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111739190612b85565b60405180910390a35050565b61118a848484611886565b6111a98373ffffffffffffffffffffffffffffffffffffffff166120cc565b80156111be57506111bc848484846120ef565b155b156111f5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061120682611663565b61123c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611246612240565b90506000815114156112675760405180602001604052806000815250611292565b80611271846122d2565b6040516020016112829291906133ad565b6040516020818303038152906040525b915050919050565b6112a26116b1565b73ffffffffffffffffffffffffffffffffffffffff166112c0610eb1565b73ffffffffffffffffffffffffffffffffffffffff1614611316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130d90613291565b60405180910390fd5b8181600e91906113279291906129eb565b505050565b6113346116b1565b73ffffffffffffffffffffffffffffffffffffffff16611352610eb1565b73ffffffffffffffffffffffffffffffffffffffff16146113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f90613291565b60405180910390fd5b8060118190555050565b6113ba6116b1565b73ffffffffffffffffffffffffffffffffffffffff166113d8610eb1565b73ffffffffffffffffffffffffffffffffffffffff161461142e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142590613291565b60405180910390fd5b8060108190555050565b600f5481565b60105481565b60115481565b6060600e8054611459906131ea565b80601f0160208091040260200160405190810160405280929190818152602001828054611485906131ea565b80156114d25780601f106114a7576101008083540402835291602001916114d2565b820191906000526020600020905b8154815290600101906020018083116114b557829003601f168201915b5050505050905090565b60006114e88383612433565b806114f957506114f8838361256b565b5b905092915050565b6115096116b1565b73ffffffffffffffffffffffffffffffffffffffff16611527610eb1565b73ffffffffffffffffffffffffffffffffffffffff161461157d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157490613291565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e490613443565b60405180910390fd5b6115f681612006565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161166e611881565b1115801561167d575060005482105b80156116aa575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b548111156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a7906134d5565b60405180910390fd5b600f54816117bc610a84565b6117c691906134f5565b1115611807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fe90613597565b60405180910390fd5b50565b60008160105461181a91906132e0565b90508034101561185f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185690613603565b60405180910390fd5b5050565b61187d8282604051806020016040528060008152506125ff565b5050565b600090565b600061189182611d77565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166118b86116b1565b73ffffffffffffffffffffffffffffffffffffffff1614806118eb57506118ea82600001516118e56116b1565b6114dc565b5b8061193057506118f96116b1565b73ffffffffffffffffffffffffffffffffffffffff16611918846108a3565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611969576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146119d2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a39576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a468585856001612611565b611a5660008484600001516116b9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d0757600054811015611d065782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d708585856001612617565b5050505050565b611d7f612a71565b600082905080611d8d611881565b11158015611d9c575060005481105b15611fcf576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611fcd57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611eb1578092505050612001565b5b600115611fcc57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611fc7578092505050612001565b611eb2565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121156116b1565b8786866040518563ffffffff1660e01b81526004016121379493929190613678565b6020604051808303816000875af192505050801561217357506040513d601f19601f8201168201806040525081019061217091906136d9565b60015b6121ed573d80600081146121a3576040519150601f19603f3d011682016040523d82523d6000602084013e6121a8565b606091505b506000815114156121e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d805461224f906131ea565b80601f016020809104026020016040519081016040528092919081815260200182805461227b906131ea565b80156122c85780601f1061229d576101008083540402835291602001916122c8565b820191906000526020600020905b8154815290600101906020018083116122ab57829003601f168201915b5050505050905090565b6060600082141561231a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061242e565b600082905060005b6000821461234c57808061233590613706565b915050600a82612345919061377e565b9150612322565b60008167ffffffffffffffff81111561236857612367612fcd565b5b6040519080825280601f01601f19166020018201604052801561239a5781602001600182028036833780820191505090505b5090505b60008514612427576001826123b391906137af565b9150600a856123c291906137e3565b60306123ce91906134f5565b60f81b8183815181106123e4576123e3613814565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612420919061377e565b945061239e565b8093505050505b919050565b600080466001811461244c576004811461246857612480565b73a5409ec958c83c3f309868babaca7c86dcb077c19150612480565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561256257508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016125099190612cff565b602060405180830381865afa158015612526573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254a9190613881565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61260c838383600161261d565b505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561268a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156126c5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126d26000868387612611565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561289c575061289b8773ffffffffffffffffffffffffffffffffffffffff166120cc565b5b15612962575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461291160008884806001019550886120ef565b612947576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156128a257826000541461295d57600080fd5b6129ce565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612963575b8160008190555050506129e46000868387612617565b5050505050565b8280546129f7906131ea565b90600052602060002090601f016020900481019282612a195760008555612a60565b82601f10612a3257803560ff1916838001178555612a60565b82800160010185558215612a60579182015b82811115612a5f578235825591602001919060010190612a44565b5b509050612a6d9190612ab4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612acd576000816000905550600101612ab5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b1a81612ae5565b8114612b2557600080fd5b50565b600081359050612b3781612b11565b92915050565b600060208284031215612b5357612b52612adb565b5b6000612b6184828501612b28565b91505092915050565b60008115159050919050565b612b7f81612b6a565b82525050565b6000602082019050612b9a6000830184612b76565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bda578082015181840152602081019050612bbf565b83811115612be9576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c0b82612ba0565b612c158185612bab565b9350612c25818560208601612bbc565b612c2e81612bef565b840191505092915050565b60006020820190508181036000830152612c538184612c00565b905092915050565b6000819050919050565b612c6e81612c5b565b8114612c7957600080fd5b50565b600081359050612c8b81612c65565b92915050565b600060208284031215612ca757612ca6612adb565b5b6000612cb584828501612c7c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ce982612cbe565b9050919050565b612cf981612cde565b82525050565b6000602082019050612d146000830184612cf0565b92915050565b612d2381612cde565b8114612d2e57600080fd5b50565b600081359050612d4081612d1a565b92915050565b60008060408385031215612d5d57612d5c612adb565b5b6000612d6b85828601612d31565b9250506020612d7c85828601612c7c565b9150509250929050565b612d8f81612c5b565b82525050565b6000602082019050612daa6000830184612d86565b92915050565b600080600060608486031215612dc957612dc8612adb565b5b6000612dd786828701612d31565b9350506020612de886828701612d31565b9250506040612df986828701612c7c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612e2857612e27612e03565b5b8235905067ffffffffffffffff811115612e4557612e44612e08565b5b602083019150836001820283011115612e6157612e60612e0d565b5b9250929050565b60008060208385031215612e7f57612e7e612adb565b5b600083013567ffffffffffffffff811115612e9d57612e9c612ae0565b5b612ea985828601612e12565b92509250509250929050565b6000819050919050565b6000612eda612ed5612ed084612cbe565b612eb5565b612cbe565b9050919050565b6000612eec82612ebf565b9050919050565b6000612efe82612ee1565b9050919050565b612f0e81612ef3565b82525050565b6000602082019050612f296000830184612f05565b92915050565b600060208284031215612f4557612f44612adb565b5b6000612f5384828501612d31565b91505092915050565b612f6581612b6a565b8114612f7057600080fd5b50565b600081359050612f8281612f5c565b92915050565b60008060408385031215612f9f57612f9e612adb565b5b6000612fad85828601612d31565b9250506020612fbe85828601612f73565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61300582612bef565b810181811067ffffffffffffffff8211171561302457613023612fcd565b5b80604052505050565b6000613037612ad1565b90506130438282612ffc565b919050565b600067ffffffffffffffff82111561306357613062612fcd565b5b61306c82612bef565b9050602081019050919050565b82818337600083830152505050565b600061309b61309684613048565b61302d565b9050828152602081018484840111156130b7576130b6612fc8565b5b6130c2848285613079565b509392505050565b600082601f8301126130df576130de612e03565b5b81356130ef848260208601613088565b91505092915050565b6000806000806080858703121561311257613111612adb565b5b600061312087828801612d31565b945050602061313187828801612d31565b935050604061314287828801612c7c565b925050606085013567ffffffffffffffff81111561316357613162612ae0565b5b61316f878288016130ca565b91505092959194509250565b6000806040838503121561319257613191612adb565b5b60006131a085828601612d31565b92505060206131b185828601612d31565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061320257607f821691505b60208210811415613216576132156131bb565b5b50919050565b60006040820190506132316000830185612d86565b61323e6020830184612d86565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061327b602083612bab565b915061328682613245565b602082019050919050565b600060208201905081810360008301526132aa8161326e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132eb82612c5b565b91506132f683612c5b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561332f5761332e6132b1565b5b828202905092915050565b600060608201905061334f6000830186612cf0565b61335c6020830185612cf0565b6133696040830184612d86565b949350505050565b600081905092915050565b600061338782612ba0565b6133918185613371565b93506133a1818560208601612bbc565b80840191505092915050565b60006133b9828561337c565b91506133c5828461337c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061342d602683612bab565b9150613438826133d1565b604082019050919050565b6000602082019050818103600083015261345c81613420565b9050919050565b7f547279696e6720746f206d696e7420746f6f206d616e7920696e20612073696e60008201527f676c652074780000000000000000000000000000000000000000000000000000602082015250565b60006134bf602683612bab565b91506134ca82613463565b604082019050919050565b600060208201905081810360008301526134ee816134b2565b9050919050565b600061350082612c5b565b915061350b83612c5b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135405761353f6132b1565b5b828201905092915050565b7f6d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613581601f83612bab565b915061358c8261354b565b602082019050919050565b600060208201905081810360008301526135b081613574565b9050919050565b7f4e6f7420656e6f7567682066756e64732073656e740000000000000000000000600082015250565b60006135ed601583612bab565b91506135f8826135b7565b602082019050919050565b6000602082019050818103600083015261361c816135e0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061364a82613623565b613654818561362e565b9350613664818560208601612bbc565b61366d81612bef565b840191505092915050565b600060808201905061368d6000830187612cf0565b61369a6020830186612cf0565b6136a76040830185612d86565b81810360608301526136b9818461363f565b905095945050505050565b6000815190506136d381612b11565b92915050565b6000602082840312156136ef576136ee612adb565b5b60006136fd848285016136c4565b91505092915050565b600061371182612c5b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613744576137436132b1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061378982612c5b565b915061379483612c5b565b9250826137a4576137a361374f565b5b828204905092915050565b60006137ba82612c5b565b91506137c583612c5b565b9250828210156137d8576137d76132b1565b5b828203905092915050565b60006137ee82612c5b565b91506137f983612c5b565b9250826138095761380861374f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061384e82612cde565b9050919050565b61385e81613843565b811461386957600080fd5b50565b60008151905061387b81613855565b92915050565b60006020828403121561389757613896612adb565b5b60006138a58482850161386c565b9150509291505056fea26469706673582212200689857681fc2a8c36e8e7083c52be2b0056b916ef3223132d5901c51cd2269064736f6c634300080c0033
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.