ERC-721
Overview
Max Total Supply
133 XHP
Holders
31
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 XHPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XHape
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.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract XHape is ERC721A, Ownable { using Strings for uint256; // Constants uint256 public TOTAL_SUPPLY = 7777; uint256 public MINT_PRICE = 0.01 ether; uint256 public FREE_ITEMS_COUNT = 0; uint256 public MAX_IN_TRX = 25; address payable withdrawTo = payable(0x33Aacb802331D6fb5DA275828503D2de18d4FCA2); address payable withdrawDev = payable(0x7c2804Eca97314b2B617DE79e9CFc977ba06C963); // Variables string public baseTokenURI; string public uriSuffix = ""; bool public paused = false; constructor(string memory _initBaseURI) ERC721A("0xHAPE", "XHP") { setBaseTokenURI(_initBaseURI); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return string(abi.encodePacked(_baseURI(), (tokenId + 10000).toString(), uriSuffix)); } function mintItem(uint256 quantity) external payable { uint256 supply = totalSupply(); require(!paused, "Minting is paused."); require((quantity > 0) && (quantity <= MAX_IN_TRX), "Invalid quantity."); require(supply + quantity <= TOTAL_SUPPLY, "Exceeds maximum supply."); if (msg.sender != owner()) { require((supply + quantity <= FREE_ITEMS_COUNT) || (msg.value >= MINT_PRICE * quantity), "Not enough supply."); } _safeMint(msg.sender, quantity); } function mintTo(address to,uint256 quantity) external payable onlyOwner{ uint256 supply = totalSupply(); require(supply + quantity - 1 <= TOTAL_SUPPLY, "Exceeds maximum supply"); _safeMint(to, quantity); } function withdraw() public payable onlyOwner { (bool hs, ) = withdrawDev.call{value: address(this).balance * 5 / 100}(""); require(hs); (bool os, ) = withdrawTo.call{value: address(this).balance}(""); require(os); } function setCost(uint256 _newCost) public onlyOwner { MINT_PRICE = _newCost; } function setFreeCount(uint256 _count) public onlyOwner { FREE_ITEMS_COUNT = _count; } function setMaxInTRX(uint256 _total) public onlyOwner { MAX_IN_TRX = _total; } function setmaxMintAmount(uint256 _count) public onlyOwner { TOTAL_SUPPLY = _count; } function pause(bool _state) public onlyOwner { paused = _state; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (!_checkOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(updatedIndex); } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"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":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_ITEMS_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_IN_TRX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setFreeCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_total","type":"uint256"}],"name":"setMaxInTRX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052611e61600855662386f26fc100006009556000600a556019600b557333aacb802331d6fb5da275828503d2de18d4fca2600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737c2804eca97314b2b617de79e9cfc977ba06c963600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180602001604052806000815250600f9080519060200190620000f0929190620003ba565b506000601060006101000a81548160ff0219169083151502179055503480156200011957600080fd5b50604051620047af380380620047af83398181016040528101906200013f919062000607565b6040518060400160405280600681526020017f30784841504500000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f58485000000000000000000000000000000000000000000000000000000000008152508160019080519060200190620001c3929190620003ba565b508060029080519060200190620001dc929190620003ba565b505050620001ff620001f36200021760201b60201c565b6200021f60201b60201c565b6200021081620002e560201b60201c565b5062000740565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002f56200021760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200031b6200039060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000374576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036b90620006b9565b60405180910390fd5b80600e90805190602001906200038c929190620003ba565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003c8906200070a565b90600052602060002090601f016020900481019282620003ec576000855562000438565b82601f106200040757805160ff191683800117855562000438565b8280016001018555821562000438579182015b82811115620004375782518255916020019190600101906200041a565b5b5090506200044791906200044b565b5090565b5b80821115620004665760008160009055506001016200044c565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004d38262000488565b810181811067ffffffffffffffff82111715620004f557620004f462000499565b5b80604052505050565b60006200050a6200046a565b9050620005188282620004c8565b919050565b600067ffffffffffffffff8211156200053b576200053a62000499565b5b620005468262000488565b9050602081019050919050565b60005b838110156200057357808201518184015260208101905062000556565b8381111562000583576000848401525b50505050565b6000620005a06200059a846200051d565b620004fe565b905082815260208101848484011115620005bf57620005be62000483565b5b620005cc84828562000553565b509392505050565b600082601f830112620005ec57620005eb6200047e565b5b8151620005fe84826020860162000589565b91505092915050565b60006020828403121562000620576200061f62000474565b5b600082015167ffffffffffffffff81111562000641576200064062000479565b5b6200064f84828501620005d4565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006a160208362000658565b9150620006ae8262000669565b602082019050919050565b60006020820190508181036000830152620006d48162000692565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072357607f821691505b602082108114156200073a5762000739620006db565b5b50919050565b61405f80620007506000396000f3fe60806040526004361061020f5760003560e01c80635c975abb11610118578063a1470c1d116100a0578063c87b56dd1161006f578063c87b56dd1461074a578063cd87fcfe14610787578063d547cfb7146107b2578063e985e9c5146107dd578063f2fde38b1461081a5761020f565b8063a1470c1d146106a4578063a22cb465146106cd578063b88d4fde146106f6578063c002d23d1461071f5761020f565b8063715018a6116100e7578063715018a6146105e35780637f00c7a6146105fa5780638da5cb5b14610623578063902d55a51461064e57806395d89b41146106795761020f565b80635c975abb146105155780636352211e146105405780636a4206141461057d57806370a08231146105a65761020f565b80632f745c591161019b578063449a52f81161016a578063449a52f81461043d57806344a0d68a146104595780634f6ccce7146104825780635503a0e8146104bf5780635c5458ef146104ea5761020f565b80632f745c59146103a457806330176e13146103e15780633ccfd60b1461040a57806342842e0e146104145761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806316ba10e01461030b57806317fb85941461033457806318160ddd1461035057806323b872dd1461037b5761020f565b806301ffc9a71461021457806302329a291461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906131fa565b610843565b6040516102489190613242565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190613289565b61098d565b005b34801561028657600080fd5b5061028f610a26565b60405161029c919061334f565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c791906133a7565b610ab8565b6040516102d99190613415565b60405180910390f35b3480156102ee57600080fd5b506103096004803603810190610304919061345c565b610b34565b005b34801561031757600080fd5b50610332600480360381019061032d91906135d1565b610c3f565b005b61034e600480360381019061034991906133a7565b610cd5565b005b34801561035c57600080fd5b50610365610e83565b6040516103729190613629565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613644565b610ed8565b005b3480156103b057600080fd5b506103cb60048036038101906103c6919061345c565b610ee8565b6040516103d89190613629565b60405180910390f35b3480156103ed57600080fd5b50610408600480360381019061040391906135d1565b6110ef565b005b610412611185565b005b34801561042057600080fd5b5061043b60048036038101906104369190613644565b61134d565b005b6104576004803603810190610452919061345c565b61136d565b005b34801561046557600080fd5b50610480600480360381019061047b91906133a7565b611460565b005b34801561048e57600080fd5b506104a960048036038101906104a491906133a7565b6114e6565b6040516104b69190613629565b60405180910390f35b3480156104cb57600080fd5b506104d4611657565b6040516104e1919061334f565b60405180910390f35b3480156104f657600080fd5b506104ff6116e5565b60405161050c9190613629565b60405180910390f35b34801561052157600080fd5b5061052a6116eb565b6040516105379190613242565b60405180910390f35b34801561054c57600080fd5b50610567600480360381019061056291906133a7565b6116fe565b6040516105749190613415565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f91906133a7565b611714565b005b3480156105b257600080fd5b506105cd60048036038101906105c89190613697565b61179a565b6040516105da9190613629565b60405180910390f35b3480156105ef57600080fd5b506105f861186a565b005b34801561060657600080fd5b50610621600480360381019061061c91906133a7565b6118f2565b005b34801561062f57600080fd5b50610638611978565b6040516106459190613415565b60405180910390f35b34801561065a57600080fd5b506106636119a2565b6040516106709190613629565b60405180910390f35b34801561068557600080fd5b5061068e6119a8565b60405161069b919061334f565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c691906133a7565b611a3a565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906136c4565b611ac0565b005b34801561070257600080fd5b5061071d600480360381019061071891906137a5565b611c38565b005b34801561072b57600080fd5b50610734611c8b565b6040516107419190613629565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c91906133a7565b611c91565b60405161077e919061334f565b60405180910390f35b34801561079357600080fd5b5061079c611d1a565b6040516107a99190613629565b60405180910390f35b3480156107be57600080fd5b506107c7611d20565b6040516107d4919061334f565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190613828565b611dae565b6040516108119190613242565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c9190613697565b611e42565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610986575061098582611f3a565b5b9050919050565b610995611fa4565b73ffffffffffffffffffffffffffffffffffffffff166109b3611978565b73ffffffffffffffffffffffffffffffffffffffff1614610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a00906138b4565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b606060018054610a3590613903565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6190613903565b8015610aae5780601f10610a8357610100808354040283529160200191610aae565b820191906000526020600020905b815481529060010190602001808311610a9157829003601f168201915b5050505050905090565b6000610ac382611fac565b610af9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b3f826116fe565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bc6611fa4565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bf85750610bf681610bf1611fa4565b611dae565b155b15610c2f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c3a838383612014565b505050565b610c47611fa4565b73ffffffffffffffffffffffffffffffffffffffff16610c65611978565b73ffffffffffffffffffffffffffffffffffffffff1614610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb2906138b4565b60405180910390fd5b80600f9080519060200190610cd19291906130a8565b5050565b6000610cdf610e83565b9050601060009054906101000a900460ff1615610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890613981565b60405180910390fd5b600082118015610d435750600b548211155b610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d79906139ed565b60405180910390fd5b6008548282610d919190613a3c565b1115610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc990613ade565b60405180910390fd5b610dda611978565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e7557600a548282610e1b9190613a3c565b111580610e35575081600954610e319190613afe565b3410155b610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b90613ba4565b60405180910390fd5b5b610e7f33836120c6565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610ee38383836120e4565b505050565b6000610ef38361179a565b8210610f2b576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b838110156110e3576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561104257506110d6565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461108257806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110d457868414156110cb5781955050505050506110e9565b83806001019450505b505b8080600101915050610f65565b50600080fd5b92915050565b6110f7611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611115611978565b73ffffffffffffffffffffffffffffffffffffffff161461116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906138b4565b60405180910390fd5b80600e90805190602001906111819291906130a8565b5050565b61118d611fa4565b73ffffffffffffffffffffffffffffffffffffffff166111ab611978565b73ffffffffffffffffffffffffffffffffffffffff1614611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f8906138b4565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16606460054761124b9190613afe565b6112559190613bf3565b60405161126190613c55565b60006040518083038185875af1925050503d806000811461129e576040519150601f19603f3d011682016040523d82523d6000602084013e6112a3565b606091505b50509050806112b157600080fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516112f990613c55565b60006040518083038185875af1925050503d8060008114611336576040519150601f19603f3d011682016040523d82523d6000602084013e61133b565b606091505b505090508061134957600080fd5b5050565b61136883838360405180602001604052806000815250611c38565b505050565b611375611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611393611978565b73ffffffffffffffffffffffffffffffffffffffff16146113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e0906138b4565b60405180910390fd5b60006113f3610e83565b9050600854600183836114069190613a3c565b6114109190613c6a565b1115611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890613cea565b60405180910390fd5b61145b83836120c6565b505050565b611468611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611486611978565b73ffffffffffffffffffffffffffffffffffffffff16146114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d3906138b4565b60405180910390fd5b8060098190555050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b8281101561161f576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161161157858314156116085781945050505050611652565b82806001019350505b50808060010191505061151e565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600f805461166490613903565b80601f016020809104026020016040519081016040528092919081815260200182805461169090613903565b80156116dd5780601f106116b2576101008083540402835291602001916116dd565b820191906000526020600020905b8154815290600101906020018083116116c057829003601f168201915b505050505081565b600b5481565b601060009054906101000a900460ff1681565b600061170982612601565b600001519050919050565b61171c611fa4565b73ffffffffffffffffffffffffffffffffffffffff1661173a611978565b73ffffffffffffffffffffffffffffffffffffffff1614611790576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611787906138b4565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611802576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611872611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611890611978565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd906138b4565b60405180910390fd5b6118f060006128a9565b565b6118fa611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611918611978565b73ffffffffffffffffffffffffffffffffffffffff161461196e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611965906138b4565b60405180910390fd5b8060088190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b6060600280546119b790613903565b80601f01602080910402602001604051908101604052809291908181526020018280546119e390613903565b8015611a305780601f10611a0557610100808354040283529160200191611a30565b820191906000526020600020905b815481529060010190602001808311611a1357829003601f168201915b5050505050905090565b611a42611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611a60611978565b73ffffffffffffffffffffffffffffffffffffffff1614611ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aad906138b4565b60405180910390fd5b80600b8190555050565b611ac8611fa4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b2d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611b3a611fa4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611be7611fa4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c2c9190613242565b60405180910390a35050565b611c438484846120e4565b611c4f8484848461296f565b611c85576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60095481565b6060611c9c82611fac565b611cd2576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cda612aee565b611cf061271084611ceb9190613a3c565b612b80565b600f604051602001611d0493929190613dda565b6040516020818303038152906040529050919050565b600a5481565b600e8054611d2d90613903565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5990613903565b8015611da65780601f10611d7b57610100808354040283529160200191611da6565b820191906000526020600020905b815481529060010190602001808311611d8957829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e4a611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611e68611978565b73ffffffffffffffffffffffffffffffffffffffff1614611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb5906138b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2590613e7d565b60405180910390fd5b611f37816128a9565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168210801561200d575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6120e0828260405180602001604052806000815250612ce1565b5050565b60006120ef82612601565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612116611fa4565b73ffffffffffffffffffffffffffffffffffffffff16148061214957506121488260000151612143611fa4565b611dae565b5b8061218e5750612157611fa4565b73ffffffffffffffffffffffffffffffffffffffff1661217684610ab8565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121c7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612230576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612297576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122a48585856001612cf3565b6122b46000848460000151612014565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125915760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156125905782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125fa8585856001612cf9565b5050505050565b61260961312e565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612872576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161287057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127545780925050506128a4565b5b60011561286f57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461286a5780925050506128a4565b612755565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006129908473ffffffffffffffffffffffffffffffffffffffff16612cff565b15612ae1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129b9611fa4565b8786866040518563ffffffff1660e01b81526004016129db9493929190613ef2565b6020604051808303816000875af1925050508015612a1757506040513d601f19601f82011682018060405250810190612a149190613f53565b60015b612a91573d8060008114612a47576040519150601f19603f3d011682016040523d82523d6000602084013e612a4c565b606091505b50600081511415612a89576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ae6565b600190505b949350505050565b6060600e8054612afd90613903565b80601f0160208091040260200160405190810160405280929190818152602001828054612b2990613903565b8015612b765780601f10612b4b57610100808354040283529160200191612b76565b820191906000526020600020905b815481529060010190602001808311612b5957829003601f168201915b5050505050905090565b60606000821415612bc8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cdc565b600082905060005b60008214612bfa578080612be390613f80565b915050600a82612bf39190613bf3565b9150612bd0565b60008167ffffffffffffffff811115612c1657612c156134a6565b5b6040519080825280601f01601f191660200182016040528015612c485781602001600182028036833780820191505090505b5090505b60008514612cd557600182612c619190613c6a565b9150600a85612c709190613fc9565b6030612c7c9190613a3c565b60f81b818381518110612c9257612c91613ffa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cce9190613bf3565b9450612c4c565b8093505050505b919050565b612cee8383836001612d12565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612dad576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612de8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612df56000868387612cf3565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561305a57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561300e575061300c600088848861296f565b155b15613045576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612f93565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506130a16000868387612cf9565b5050505050565b8280546130b490613903565b90600052602060002090601f0160209004810192826130d6576000855561311d565b82601f106130ef57805160ff191683800117855561311d565b8280016001018555821561311d579182015b8281111561311c578251825591602001919060010190613101565b5b50905061312a9190613171565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561318a576000816000905550600101613172565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131d7816131a2565b81146131e257600080fd5b50565b6000813590506131f4816131ce565b92915050565b6000602082840312156132105761320f613198565b5b600061321e848285016131e5565b91505092915050565b60008115159050919050565b61323c81613227565b82525050565b60006020820190506132576000830184613233565b92915050565b61326681613227565b811461327157600080fd5b50565b6000813590506132838161325d565b92915050565b60006020828403121561329f5761329e613198565b5b60006132ad84828501613274565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132f05780820151818401526020810190506132d5565b838111156132ff576000848401525b50505050565b6000601f19601f8301169050919050565b6000613321826132b6565b61332b81856132c1565b935061333b8185602086016132d2565b61334481613305565b840191505092915050565b600060208201905081810360008301526133698184613316565b905092915050565b6000819050919050565b61338481613371565b811461338f57600080fd5b50565b6000813590506133a18161337b565b92915050565b6000602082840312156133bd576133bc613198565b5b60006133cb84828501613392565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133ff826133d4565b9050919050565b61340f816133f4565b82525050565b600060208201905061342a6000830184613406565b92915050565b613439816133f4565b811461344457600080fd5b50565b60008135905061345681613430565b92915050565b6000806040838503121561347357613472613198565b5b600061348185828601613447565b925050602061349285828601613392565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134de82613305565b810181811067ffffffffffffffff821117156134fd576134fc6134a6565b5b80604052505050565b600061351061318e565b905061351c82826134d5565b919050565b600067ffffffffffffffff82111561353c5761353b6134a6565b5b61354582613305565b9050602081019050919050565b82818337600083830152505050565b600061357461356f84613521565b613506565b9050828152602081018484840111156135905761358f6134a1565b5b61359b848285613552565b509392505050565b600082601f8301126135b8576135b761349c565b5b81356135c8848260208601613561565b91505092915050565b6000602082840312156135e7576135e6613198565b5b600082013567ffffffffffffffff8111156136055761360461319d565b5b613611848285016135a3565b91505092915050565b61362381613371565b82525050565b600060208201905061363e600083018461361a565b92915050565b60008060006060848603121561365d5761365c613198565b5b600061366b86828701613447565b935050602061367c86828701613447565b925050604061368d86828701613392565b9150509250925092565b6000602082840312156136ad576136ac613198565b5b60006136bb84828501613447565b91505092915050565b600080604083850312156136db576136da613198565b5b60006136e985828601613447565b92505060206136fa85828601613274565b9150509250929050565b600067ffffffffffffffff82111561371f5761371e6134a6565b5b61372882613305565b9050602081019050919050565b600061374861374384613704565b613506565b905082815260208101848484011115613764576137636134a1565b5b61376f848285613552565b509392505050565b600082601f83011261378c5761378b61349c565b5b813561379c848260208601613735565b91505092915050565b600080600080608085870312156137bf576137be613198565b5b60006137cd87828801613447565b94505060206137de87828801613447565b93505060406137ef87828801613392565b925050606085013567ffffffffffffffff8111156138105761380f61319d565b5b61381c87828801613777565b91505092959194509250565b6000806040838503121561383f5761383e613198565b5b600061384d85828601613447565b925050602061385e85828601613447565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061389e6020836132c1565b91506138a982613868565b602082019050919050565b600060208201905081810360008301526138cd81613891565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061391b57607f821691505b6020821081141561392f5761392e6138d4565b5b50919050565b7f4d696e74696e67206973207061757365642e0000000000000000000000000000600082015250565b600061396b6012836132c1565b915061397682613935565b602082019050919050565b6000602082019050818103600083015261399a8161395e565b9050919050565b7f496e76616c6964207175616e746974792e000000000000000000000000000000600082015250565b60006139d76011836132c1565b91506139e2826139a1565b602082019050919050565b60006020820190508181036000830152613a06816139ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a4782613371565b9150613a5283613371565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a8757613a86613a0d565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c792e000000000000000000600082015250565b6000613ac86017836132c1565b9150613ad382613a92565b602082019050919050565b60006020820190508181036000830152613af781613abb565b9050919050565b6000613b0982613371565b9150613b1483613371565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b4d57613b4c613a0d565b5b828202905092915050565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b6000613b8e6012836132c1565b9150613b9982613b58565b602082019050919050565b60006020820190508181036000830152613bbd81613b81565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613bfe82613371565b9150613c0983613371565b925082613c1957613c18613bc4565b5b828204905092915050565b600081905092915050565b50565b6000613c3f600083613c24565b9150613c4a82613c2f565b600082019050919050565b6000613c6082613c32565b9150819050919050565b6000613c7582613371565b9150613c8083613371565b925082821015613c9357613c92613a0d565b5b828203905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b6000613cd46016836132c1565b9150613cdf82613c9e565b602082019050919050565b60006020820190508181036000830152613d0381613cc7565b9050919050565b600081905092915050565b6000613d20826132b6565b613d2a8185613d0a565b9350613d3a8185602086016132d2565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613d6881613903565b613d728186613d0a565b94506001821660008114613d8d5760018114613d9e57613dd1565b60ff19831686528186019350613dd1565b613da785613d46565b60005b83811015613dc957815481890152600182019150602081019050613daa565b838801955050505b50505092915050565b6000613de68286613d15565b9150613df28285613d15565b9150613dfe8284613d5b565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e676026836132c1565b9150613e7282613e0b565b604082019050919050565b60006020820190508181036000830152613e9681613e5a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ec482613e9d565b613ece8185613ea8565b9350613ede8185602086016132d2565b613ee781613305565b840191505092915050565b6000608082019050613f076000830187613406565b613f146020830186613406565b613f21604083018561361a565b8181036060830152613f338184613eb9565b905095945050505050565b600081519050613f4d816131ce565b92915050565b600060208284031215613f6957613f68613198565b5b6000613f7784828501613f3e565b91505092915050565b6000613f8b82613371565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fbe57613fbd613a0d565b5b600182019050919050565b6000613fd482613371565b9150613fdf83613371565b925082613fef57613fee613bc4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122025ad7aa755a824616343100a2df50037dccb124a131566aa3e27d05a0283a4b164736f6c634300080c00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6170692e3078686170652e78797a2f6d657461646174612f
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80635c975abb11610118578063a1470c1d116100a0578063c87b56dd1161006f578063c87b56dd1461074a578063cd87fcfe14610787578063d547cfb7146107b2578063e985e9c5146107dd578063f2fde38b1461081a5761020f565b8063a1470c1d146106a4578063a22cb465146106cd578063b88d4fde146106f6578063c002d23d1461071f5761020f565b8063715018a6116100e7578063715018a6146105e35780637f00c7a6146105fa5780638da5cb5b14610623578063902d55a51461064e57806395d89b41146106795761020f565b80635c975abb146105155780636352211e146105405780636a4206141461057d57806370a08231146105a65761020f565b80632f745c591161019b578063449a52f81161016a578063449a52f81461043d57806344a0d68a146104595780634f6ccce7146104825780635503a0e8146104bf5780635c5458ef146104ea5761020f565b80632f745c59146103a457806330176e13146103e15780633ccfd60b1461040a57806342842e0e146104145761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806316ba10e01461030b57806317fb85941461033457806318160ddd1461035057806323b872dd1461037b5761020f565b806301ffc9a71461021457806302329a291461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906131fa565b610843565b6040516102489190613242565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190613289565b61098d565b005b34801561028657600080fd5b5061028f610a26565b60405161029c919061334f565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c791906133a7565b610ab8565b6040516102d99190613415565b60405180910390f35b3480156102ee57600080fd5b506103096004803603810190610304919061345c565b610b34565b005b34801561031757600080fd5b50610332600480360381019061032d91906135d1565b610c3f565b005b61034e600480360381019061034991906133a7565b610cd5565b005b34801561035c57600080fd5b50610365610e83565b6040516103729190613629565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613644565b610ed8565b005b3480156103b057600080fd5b506103cb60048036038101906103c6919061345c565b610ee8565b6040516103d89190613629565b60405180910390f35b3480156103ed57600080fd5b50610408600480360381019061040391906135d1565b6110ef565b005b610412611185565b005b34801561042057600080fd5b5061043b60048036038101906104369190613644565b61134d565b005b6104576004803603810190610452919061345c565b61136d565b005b34801561046557600080fd5b50610480600480360381019061047b91906133a7565b611460565b005b34801561048e57600080fd5b506104a960048036038101906104a491906133a7565b6114e6565b6040516104b69190613629565b60405180910390f35b3480156104cb57600080fd5b506104d4611657565b6040516104e1919061334f565b60405180910390f35b3480156104f657600080fd5b506104ff6116e5565b60405161050c9190613629565b60405180910390f35b34801561052157600080fd5b5061052a6116eb565b6040516105379190613242565b60405180910390f35b34801561054c57600080fd5b50610567600480360381019061056291906133a7565b6116fe565b6040516105749190613415565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f91906133a7565b611714565b005b3480156105b257600080fd5b506105cd60048036038101906105c89190613697565b61179a565b6040516105da9190613629565b60405180910390f35b3480156105ef57600080fd5b506105f861186a565b005b34801561060657600080fd5b50610621600480360381019061061c91906133a7565b6118f2565b005b34801561062f57600080fd5b50610638611978565b6040516106459190613415565b60405180910390f35b34801561065a57600080fd5b506106636119a2565b6040516106709190613629565b60405180910390f35b34801561068557600080fd5b5061068e6119a8565b60405161069b919061334f565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c691906133a7565b611a3a565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906136c4565b611ac0565b005b34801561070257600080fd5b5061071d600480360381019061071891906137a5565b611c38565b005b34801561072b57600080fd5b50610734611c8b565b6040516107419190613629565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c91906133a7565b611c91565b60405161077e919061334f565b60405180910390f35b34801561079357600080fd5b5061079c611d1a565b6040516107a99190613629565b60405180910390f35b3480156107be57600080fd5b506107c7611d20565b6040516107d4919061334f565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190613828565b611dae565b6040516108119190613242565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c9190613697565b611e42565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610986575061098582611f3a565b5b9050919050565b610995611fa4565b73ffffffffffffffffffffffffffffffffffffffff166109b3611978565b73ffffffffffffffffffffffffffffffffffffffff1614610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a00906138b4565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b606060018054610a3590613903565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6190613903565b8015610aae5780601f10610a8357610100808354040283529160200191610aae565b820191906000526020600020905b815481529060010190602001808311610a9157829003601f168201915b5050505050905090565b6000610ac382611fac565b610af9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b3f826116fe565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bc6611fa4565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bf85750610bf681610bf1611fa4565b611dae565b155b15610c2f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c3a838383612014565b505050565b610c47611fa4565b73ffffffffffffffffffffffffffffffffffffffff16610c65611978565b73ffffffffffffffffffffffffffffffffffffffff1614610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb2906138b4565b60405180910390fd5b80600f9080519060200190610cd19291906130a8565b5050565b6000610cdf610e83565b9050601060009054906101000a900460ff1615610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890613981565b60405180910390fd5b600082118015610d435750600b548211155b610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d79906139ed565b60405180910390fd5b6008548282610d919190613a3c565b1115610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc990613ade565b60405180910390fd5b610dda611978565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e7557600a548282610e1b9190613a3c565b111580610e35575081600954610e319190613afe565b3410155b610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b90613ba4565b60405180910390fd5b5b610e7f33836120c6565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610ee38383836120e4565b505050565b6000610ef38361179a565b8210610f2b576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b838110156110e3576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561104257506110d6565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461108257806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110d457868414156110cb5781955050505050506110e9565b83806001019450505b505b8080600101915050610f65565b50600080fd5b92915050565b6110f7611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611115611978565b73ffffffffffffffffffffffffffffffffffffffff161461116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906138b4565b60405180910390fd5b80600e90805190602001906111819291906130a8565b5050565b61118d611fa4565b73ffffffffffffffffffffffffffffffffffffffff166111ab611978565b73ffffffffffffffffffffffffffffffffffffffff1614611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f8906138b4565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16606460054761124b9190613afe565b6112559190613bf3565b60405161126190613c55565b60006040518083038185875af1925050503d806000811461129e576040519150601f19603f3d011682016040523d82523d6000602084013e6112a3565b606091505b50509050806112b157600080fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516112f990613c55565b60006040518083038185875af1925050503d8060008114611336576040519150601f19603f3d011682016040523d82523d6000602084013e61133b565b606091505b505090508061134957600080fd5b5050565b61136883838360405180602001604052806000815250611c38565b505050565b611375611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611393611978565b73ffffffffffffffffffffffffffffffffffffffff16146113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e0906138b4565b60405180910390fd5b60006113f3610e83565b9050600854600183836114069190613a3c565b6114109190613c6a565b1115611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890613cea565b60405180910390fd5b61145b83836120c6565b505050565b611468611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611486611978565b73ffffffffffffffffffffffffffffffffffffffff16146114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d3906138b4565b60405180910390fd5b8060098190555050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b8281101561161f576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161161157858314156116085781945050505050611652565b82806001019350505b50808060010191505061151e565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600f805461166490613903565b80601f016020809104026020016040519081016040528092919081815260200182805461169090613903565b80156116dd5780601f106116b2576101008083540402835291602001916116dd565b820191906000526020600020905b8154815290600101906020018083116116c057829003601f168201915b505050505081565b600b5481565b601060009054906101000a900460ff1681565b600061170982612601565b600001519050919050565b61171c611fa4565b73ffffffffffffffffffffffffffffffffffffffff1661173a611978565b73ffffffffffffffffffffffffffffffffffffffff1614611790576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611787906138b4565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611802576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611872611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611890611978565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd906138b4565b60405180910390fd5b6118f060006128a9565b565b6118fa611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611918611978565b73ffffffffffffffffffffffffffffffffffffffff161461196e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611965906138b4565b60405180910390fd5b8060088190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b6060600280546119b790613903565b80601f01602080910402602001604051908101604052809291908181526020018280546119e390613903565b8015611a305780601f10611a0557610100808354040283529160200191611a30565b820191906000526020600020905b815481529060010190602001808311611a1357829003601f168201915b5050505050905090565b611a42611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611a60611978565b73ffffffffffffffffffffffffffffffffffffffff1614611ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aad906138b4565b60405180910390fd5b80600b8190555050565b611ac8611fa4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b2d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611b3a611fa4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611be7611fa4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c2c9190613242565b60405180910390a35050565b611c438484846120e4565b611c4f8484848461296f565b611c85576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60095481565b6060611c9c82611fac565b611cd2576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cda612aee565b611cf061271084611ceb9190613a3c565b612b80565b600f604051602001611d0493929190613dda565b6040516020818303038152906040529050919050565b600a5481565b600e8054611d2d90613903565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5990613903565b8015611da65780601f10611d7b57610100808354040283529160200191611da6565b820191906000526020600020905b815481529060010190602001808311611d8957829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e4a611fa4565b73ffffffffffffffffffffffffffffffffffffffff16611e68611978565b73ffffffffffffffffffffffffffffffffffffffff1614611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb5906138b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2590613e7d565b60405180910390fd5b611f37816128a9565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168210801561200d575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6120e0828260405180602001604052806000815250612ce1565b5050565b60006120ef82612601565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612116611fa4565b73ffffffffffffffffffffffffffffffffffffffff16148061214957506121488260000151612143611fa4565b611dae565b5b8061218e5750612157611fa4565b73ffffffffffffffffffffffffffffffffffffffff1661217684610ab8565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121c7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612230576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612297576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122a48585856001612cf3565b6122b46000848460000151612014565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125915760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156125905782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125fa8585856001612cf9565b5050505050565b61260961312e565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612872576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161287057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127545780925050506128a4565b5b60011561286f57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461286a5780925050506128a4565b612755565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006129908473ffffffffffffffffffffffffffffffffffffffff16612cff565b15612ae1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129b9611fa4565b8786866040518563ffffffff1660e01b81526004016129db9493929190613ef2565b6020604051808303816000875af1925050508015612a1757506040513d601f19601f82011682018060405250810190612a149190613f53565b60015b612a91573d8060008114612a47576040519150601f19603f3d011682016040523d82523d6000602084013e612a4c565b606091505b50600081511415612a89576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ae6565b600190505b949350505050565b6060600e8054612afd90613903565b80601f0160208091040260200160405190810160405280929190818152602001828054612b2990613903565b8015612b765780601f10612b4b57610100808354040283529160200191612b76565b820191906000526020600020905b815481529060010190602001808311612b5957829003601f168201915b5050505050905090565b60606000821415612bc8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cdc565b600082905060005b60008214612bfa578080612be390613f80565b915050600a82612bf39190613bf3565b9150612bd0565b60008167ffffffffffffffff811115612c1657612c156134a6565b5b6040519080825280601f01601f191660200182016040528015612c485781602001600182028036833780820191505090505b5090505b60008514612cd557600182612c619190613c6a565b9150600a85612c709190613fc9565b6030612c7c9190613a3c565b60f81b818381518110612c9257612c91613ffa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cce9190613bf3565b9450612c4c565b8093505050505b919050565b612cee8383836001612d12565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612dad576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612de8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612df56000868387612cf3565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561305a57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561300e575061300c600088848861296f565b155b15613045576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612f93565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506130a16000868387612cf9565b5050505050565b8280546130b490613903565b90600052602060002090601f0160209004810192826130d6576000855561311d565b82601f106130ef57805160ff191683800117855561311d565b8280016001018555821561311d579182015b8281111561311c578251825591602001919060010190613101565b5b50905061312a9190613171565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561318a576000816000905550600101613172565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131d7816131a2565b81146131e257600080fd5b50565b6000813590506131f4816131ce565b92915050565b6000602082840312156132105761320f613198565b5b600061321e848285016131e5565b91505092915050565b60008115159050919050565b61323c81613227565b82525050565b60006020820190506132576000830184613233565b92915050565b61326681613227565b811461327157600080fd5b50565b6000813590506132838161325d565b92915050565b60006020828403121561329f5761329e613198565b5b60006132ad84828501613274565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132f05780820151818401526020810190506132d5565b838111156132ff576000848401525b50505050565b6000601f19601f8301169050919050565b6000613321826132b6565b61332b81856132c1565b935061333b8185602086016132d2565b61334481613305565b840191505092915050565b600060208201905081810360008301526133698184613316565b905092915050565b6000819050919050565b61338481613371565b811461338f57600080fd5b50565b6000813590506133a18161337b565b92915050565b6000602082840312156133bd576133bc613198565b5b60006133cb84828501613392565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133ff826133d4565b9050919050565b61340f816133f4565b82525050565b600060208201905061342a6000830184613406565b92915050565b613439816133f4565b811461344457600080fd5b50565b60008135905061345681613430565b92915050565b6000806040838503121561347357613472613198565b5b600061348185828601613447565b925050602061349285828601613392565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134de82613305565b810181811067ffffffffffffffff821117156134fd576134fc6134a6565b5b80604052505050565b600061351061318e565b905061351c82826134d5565b919050565b600067ffffffffffffffff82111561353c5761353b6134a6565b5b61354582613305565b9050602081019050919050565b82818337600083830152505050565b600061357461356f84613521565b613506565b9050828152602081018484840111156135905761358f6134a1565b5b61359b848285613552565b509392505050565b600082601f8301126135b8576135b761349c565b5b81356135c8848260208601613561565b91505092915050565b6000602082840312156135e7576135e6613198565b5b600082013567ffffffffffffffff8111156136055761360461319d565b5b613611848285016135a3565b91505092915050565b61362381613371565b82525050565b600060208201905061363e600083018461361a565b92915050565b60008060006060848603121561365d5761365c613198565b5b600061366b86828701613447565b935050602061367c86828701613447565b925050604061368d86828701613392565b9150509250925092565b6000602082840312156136ad576136ac613198565b5b60006136bb84828501613447565b91505092915050565b600080604083850312156136db576136da613198565b5b60006136e985828601613447565b92505060206136fa85828601613274565b9150509250929050565b600067ffffffffffffffff82111561371f5761371e6134a6565b5b61372882613305565b9050602081019050919050565b600061374861374384613704565b613506565b905082815260208101848484011115613764576137636134a1565b5b61376f848285613552565b509392505050565b600082601f83011261378c5761378b61349c565b5b813561379c848260208601613735565b91505092915050565b600080600080608085870312156137bf576137be613198565b5b60006137cd87828801613447565b94505060206137de87828801613447565b93505060406137ef87828801613392565b925050606085013567ffffffffffffffff8111156138105761380f61319d565b5b61381c87828801613777565b91505092959194509250565b6000806040838503121561383f5761383e613198565b5b600061384d85828601613447565b925050602061385e85828601613447565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061389e6020836132c1565b91506138a982613868565b602082019050919050565b600060208201905081810360008301526138cd81613891565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061391b57607f821691505b6020821081141561392f5761392e6138d4565b5b50919050565b7f4d696e74696e67206973207061757365642e0000000000000000000000000000600082015250565b600061396b6012836132c1565b915061397682613935565b602082019050919050565b6000602082019050818103600083015261399a8161395e565b9050919050565b7f496e76616c6964207175616e746974792e000000000000000000000000000000600082015250565b60006139d76011836132c1565b91506139e2826139a1565b602082019050919050565b60006020820190508181036000830152613a06816139ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a4782613371565b9150613a5283613371565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a8757613a86613a0d565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c792e000000000000000000600082015250565b6000613ac86017836132c1565b9150613ad382613a92565b602082019050919050565b60006020820190508181036000830152613af781613abb565b9050919050565b6000613b0982613371565b9150613b1483613371565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b4d57613b4c613a0d565b5b828202905092915050565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b6000613b8e6012836132c1565b9150613b9982613b58565b602082019050919050565b60006020820190508181036000830152613bbd81613b81565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613bfe82613371565b9150613c0983613371565b925082613c1957613c18613bc4565b5b828204905092915050565b600081905092915050565b50565b6000613c3f600083613c24565b9150613c4a82613c2f565b600082019050919050565b6000613c6082613c32565b9150819050919050565b6000613c7582613371565b9150613c8083613371565b925082821015613c9357613c92613a0d565b5b828203905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b6000613cd46016836132c1565b9150613cdf82613c9e565b602082019050919050565b60006020820190508181036000830152613d0381613cc7565b9050919050565b600081905092915050565b6000613d20826132b6565b613d2a8185613d0a565b9350613d3a8185602086016132d2565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613d6881613903565b613d728186613d0a565b94506001821660008114613d8d5760018114613d9e57613dd1565b60ff19831686528186019350613dd1565b613da785613d46565b60005b83811015613dc957815481890152600182019150602081019050613daa565b838801955050505b50505092915050565b6000613de68286613d15565b9150613df28285613d15565b9150613dfe8284613d5b565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e676026836132c1565b9150613e7282613e0b565b604082019050919050565b60006020820190508181036000830152613e9681613e5a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ec482613e9d565b613ece8185613ea8565b9350613ede8185602086016132d2565b613ee781613305565b840191505092915050565b6000608082019050613f076000830187613406565b613f146020830186613406565b613f21604083018561361a565b8181036060830152613f338184613eb9565b905095945050505050565b600081519050613f4d816131ce565b92915050565b600060208284031215613f6957613f68613198565b5b6000613f7784828501613f3e565b91505092915050565b6000613f8b82613371565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fbe57613fbd613a0d565b5b600182019050919050565b6000613fd482613371565b9150613fdf83613371565b925082613fef57613fee613bc4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122025ad7aa755a824616343100a2df50037dccb124a131566aa3e27d05a0283a4b164736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6170692e3078686170652e78797a2f6d657461646174612f
-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://api.0xhape.xyz/metadata/
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [2] : 68747470733a2f2f6170692e3078686170652e78797a2f6d657461646174612f
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.