Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
10,000 XDL3
Holders
687
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
13 XDL3Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XDoodlesNFTV3
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 XDoodlesNFTV3 is ERC721A, Ownable { using Strings for uint256; string public baseTokenURI; // Constants uint256 public TOTAL_SUPPLY = 10000; uint256 public MINT_PRICE = 0.01 ether; uint256 public FREE_ITEMS_COUNT = 1100; string public uriSuffix = ""; constructor() ERC721A("XDoodlesNFTV3", "XDL3") { baseTokenURI = "https://api.mint0xDoodles.xyz/metadata/"; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseTokenURI(string memory _baseTokenURI) external 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((quantity > 0) && (quantity <= 10), "Invalid quantity."); require(supply + quantity - 1 <= TOTAL_SUPPLY, "Exceeds maximum supply"); require( (supply + quantity - 1 <= FREE_ITEMS_COUNT) || (msg.value >= MINT_PRICE * quantity), "Not enough supply." ); _safeMint(msg.sender, quantity); } function claimByOwner(uint256 quantity) external payable onlyOwner { uint256 supply = totalSupply(); require(supply + quantity - 1 <= TOTAL_SUPPLY, "Exceeds maximum 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() external virtual onlyOwner { address payable ownerAddr = payable(owner()); require(ownerAddr.send(address(this).balance)); } function withdrawLegacy() external onlyOwner { address payable owner = payable(owner()); owner.transfer(address(this).balance); } function withdrawLegacy(uint256 _amount) external onlyOwner { address payable owner = payable(owner()); owner.transfer(_amount); } function withdrawLips() public payable onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function withdrawLips(uint256 _amount) external onlyOwner { (bool os, ) = payable(owner()).call{value: _amount}(""); require(os); } function setCost(uint256 _newCost) public onlyOwner { MINT_PRICE = _newCost; } function setFreeCount(uint256 _count) public onlyOwner { FREE_ITEMS_COUNT = _count; } function setmaxMintAmount(uint256 _count) public onlyOwner { TOTAL_SUPPLY = _count; } }
// 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":[],"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":"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":"quantity","type":"uint256"}],"name":"claimByOwner","outputs":[],"stateMutability":"payable","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":[],"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":"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":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawLegacy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawLegacy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawLips","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawLips","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052612710600955662386f26fc10000600a5561044c600b5560405180602001604052806000815250600c90805190602001906200004292919062000217565b503480156200005057600080fd5b506040518060400160405280600d81526020017f58446f6f646c65734e46545633000000000000000000000000000000000000008152506040518060400160405280600481526020017f58444c33000000000000000000000000000000000000000000000000000000008152508160019080519060200190620000d592919062000217565b508060029080519060200190620000ee92919062000217565b50505062000111620001056200014960201b60201c565b6200015160201b60201c565b6040518060600160405280602781526020016200447a60279139600890805190602001906200014292919062000217565b506200032c565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022590620002f6565b90600052602060002090601f01602090048101928262000249576000855562000295565b82601f106200026457805160ff191683800117855562000295565b8280016001018555821562000295579182015b828111156200029457825182559160200191906001019062000277565b5b509050620002a49190620002a8565b5090565b5b80821115620002c3576000816000905550600101620002a9565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200030f57607f821691505b60208210811415620003265762000325620002c7565b5b50919050565b61413e806200033c6000396000f3fe60806040526004361061021a5760003560e01c80636a42061411610123578063a22cb465116100ab578063d547cfb71161006f578063d547cfb71461076c578063db5f83b814610797578063e985e9c5146107c0578063eff896d2146107fd578063f2fde38b146108195761021a565b8063a22cb46514610687578063b88d4fde146106b0578063c002d23d146106d9578063c87b56dd14610704578063cd87fcfe146107415761021a565b80637d7302fc116100f25780637d7302fc146105d35780637f00c7a6146105dd5780638da5cb5b14610606578063902d55a51461063157806395d89b411461065c5761021a565b80636a4206141461052d57806370a0823114610556578063715018a6146105935780637195e28f146105aa5761021a565b806330176e13116101a6578063449a52f811610175578063449a52f81461044357806344a0d68a1461045f5780634f6ccce7146104885780635503a0e8146104c55780636352211e146104f05761021a565b806330176e13146103c35780633ccfd60b146103ec5780633d2d5eb31461040357806342842e0e1461041a5761021a565b806316ba10e0116101ed57806316ba10e0146102ed57806317fb85941461031657806318160ddd1461033257806323b872dd1461035d5780632f745c59146103865761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906133de565b610842565b6040516102539190613426565b60405180910390f35b34801561026857600080fd5b5061027161098c565b60405161027e91906134da565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613532565b610a1e565b6040516102bb91906135a0565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906135e7565b610a9a565b005b3480156102f957600080fd5b50610314600480360381019061030f919061375c565b610ba5565b005b610330600480360381019061032b9190613532565b610c3b565b005b34801561033e57600080fd5b50610347610d75565b60405161035491906137b4565b60405180910390f35b34801561036957600080fd5b50610384600480360381019061037f91906137cf565b610dca565b005b34801561039257600080fd5b506103ad60048036038101906103a891906135e7565b610dda565b6040516103ba91906137b4565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e5919061375c565b610fe1565b005b3480156103f857600080fd5b50610401611077565b005b34801561040f57600080fd5b50610418611140565b005b34801561042657600080fd5b50610441600480360381019061043c91906137cf565b611212565b005b61045d600480360381019061045891906135e7565b611232565b005b34801561046b57600080fd5b5061048660048036038101906104819190613532565b611325565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613532565b6113ab565b6040516104bc91906137b4565b60405180910390f35b3480156104d157600080fd5b506104da61151c565b6040516104e791906134da565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190613532565b6115aa565b60405161052491906135a0565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190613532565b6115c0565b005b34801561056257600080fd5b5061057d60048036038101906105789190613822565b611646565b60405161058a91906137b4565b60405180910390f35b34801561059f57600080fd5b506105a8611716565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613532565b61179e565b005b6105db611871565b005b3480156105e957600080fd5b5061060460048036038101906105ff9190613532565b61196d565b005b34801561061257600080fd5b5061061b6119f3565b60405161062891906135a0565b60405180910390f35b34801561063d57600080fd5b50610646611a1d565b60405161065391906137b4565b60405180910390f35b34801561066857600080fd5b50610671611a23565b60405161067e91906134da565b60405180910390f35b34801561069357600080fd5b506106ae60048036038101906106a9919061387b565b611ab5565b005b3480156106bc57600080fd5b506106d760048036038101906106d2919061395c565b611c2d565b005b3480156106e557600080fd5b506106ee611c80565b6040516106fb91906137b4565b60405180910390f35b34801561071057600080fd5b5061072b60048036038101906107269190613532565b611c86565b60405161073891906134da565b60405180910390f35b34801561074d57600080fd5b50610756611d0f565b60405161076391906137b4565b60405180910390f35b34801561077857600080fd5b50610781611d15565b60405161078e91906134da565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b99190613532565b611da3565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906139df565b611ea0565b6040516107f49190613426565b60405180910390f35b61081760048036038101906108129190613532565b611f34565b005b34801561082557600080fd5b50610840600480360381019061083b9190613822565b612026565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061098557506109848261211e565b5b9050919050565b60606001805461099b90613a4e565b80601f01602080910402602001604051908101604052809291908181526020018280546109c790613a4e565b8015610a145780601f106109e957610100808354040283529160200191610a14565b820191906000526020600020905b8154815290600101906020018083116109f757829003601f168201915b5050505050905090565b6000610a2982612188565b610a5f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa5826115aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b0d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b2c6121f0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b5e5750610b5c81610b576121f0565b611ea0565b155b15610b95576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ba08383836121f8565b505050565b610bad6121f0565b73ffffffffffffffffffffffffffffffffffffffff16610bcb6119f3565b73ffffffffffffffffffffffffffffffffffffffff1614610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613acc565b60405180910390fd5b80600c9080519060200190610c3792919061328c565b5050565b6000610c45610d75565b9050600082118015610c585750600a8211155b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613b38565b60405180910390fd5b60095460018383610ca89190613b87565b610cb29190613bdd565b1115610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90613c5d565b60405180910390fd5b600b5460018383610d049190613b87565b610d0e9190613bdd565b111580610d28575081600a54610d249190613c7d565b3410155b610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e90613d23565b60405180910390fd5b610d7133836122aa565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610dd58383836122c8565b505050565b6000610de583611646565b8210610e1d576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610fd5576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610f345750610fc8565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f7457806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fc65786841415610fbd578195505050505050610fdb565b83806001019450505b505b8080600101915050610e57565b50600080fd5b92915050565b610fe96121f0565b73ffffffffffffffffffffffffffffffffffffffff166110076119f3565b73ffffffffffffffffffffffffffffffffffffffff161461105d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105490613acc565b60405180910390fd5b806008908051906020019061107392919061328c565b5050565b61107f6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661109d6119f3565b73ffffffffffffffffffffffffffffffffffffffff16146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90613acc565b60405180910390fd5b60006110fd6119f3565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061113d57600080fd5b50565b6111486121f0565b73ffffffffffffffffffffffffffffffffffffffff166111666119f3565b73ffffffffffffffffffffffffffffffffffffffff16146111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390613acc565b60405180910390fd5b60006111c66119f3565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561120e573d6000803e3d6000fd5b5050565b61122d83838360405180602001604052806000815250611c2d565b505050565b61123a6121f0565b73ffffffffffffffffffffffffffffffffffffffff166112586119f3565b73ffffffffffffffffffffffffffffffffffffffff16146112ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a590613acc565b60405180910390fd5b60006112b8610d75565b9050600954600183836112cb9190613b87565b6112d59190613bdd565b1115611316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130d90613c5d565b60405180910390fd5b61132083836122aa565b505050565b61132d6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661134b6119f3565b73ffffffffffffffffffffffffffffffffffffffff16146113a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139890613acc565b60405180910390fd5b80600a8190555050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156114e4576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516114d657858314156114cd5781945050505050611517565b82806001019350505b5080806001019150506113e3565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600c805461152990613a4e565b80601f016020809104026020016040519081016040528092919081815260200182805461155590613a4e565b80156115a25780601f10611577576101008083540402835291602001916115a2565b820191906000526020600020905b81548152906001019060200180831161158557829003601f168201915b505050505081565b60006115b5826127e5565b600001519050919050565b6115c86121f0565b73ffffffffffffffffffffffffffffffffffffffff166115e66119f3565b73ffffffffffffffffffffffffffffffffffffffff161461163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163390613acc565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ae576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61171e6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661173c6119f3565b73ffffffffffffffffffffffffffffffffffffffff1614611792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178990613acc565b60405180910390fd5b61179c6000612a8d565b565b6117a66121f0565b73ffffffffffffffffffffffffffffffffffffffff166117c46119f3565b73ffffffffffffffffffffffffffffffffffffffff161461181a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181190613acc565b60405180910390fd5b60006118246119f3565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561186c573d6000803e3d6000fd5b505050565b6118796121f0565b73ffffffffffffffffffffffffffffffffffffffff166118976119f3565b73ffffffffffffffffffffffffffffffffffffffff16146118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e490613acc565b60405180910390fd5b60006118f76119f3565b73ffffffffffffffffffffffffffffffffffffffff164760405161191a90613d74565b60006040518083038185875af1925050503d8060008114611957576040519150601f19603f3d011682016040523d82523d6000602084013e61195c565b606091505b505090508061196a57600080fd5b50565b6119756121f0565b73ffffffffffffffffffffffffffffffffffffffff166119936119f3565b73ffffffffffffffffffffffffffffffffffffffff16146119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090613acc565b60405180910390fd5b8060098190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b606060028054611a3290613a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5e90613a4e565b8015611aab5780601f10611a8057610100808354040283529160200191611aab565b820191906000526020600020905b815481529060010190602001808311611a8e57829003601f168201915b5050505050905090565b611abd6121f0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b22576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611b2f6121f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bdc6121f0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c219190613426565b60405180910390a35050565b611c388484846122c8565b611c4484848484612b53565b611c7a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a5481565b6060611c9182612188565b611cc7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ccf612cd2565b611ce561271084611ce09190613b87565b612d64565b600c604051602001611cf993929190613e59565b6040516020818303038152906040529050919050565b600b5481565b60088054611d2290613a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4e90613a4e565b8015611d9b5780601f10611d7057610100808354040283529160200191611d9b565b820191906000526020600020905b815481529060010190602001808311611d7e57829003601f168201915b505050505081565b611dab6121f0565b73ffffffffffffffffffffffffffffffffffffffff16611dc96119f3565b73ffffffffffffffffffffffffffffffffffffffff1614611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690613acc565b60405180910390fd5b6000611e296119f3565b73ffffffffffffffffffffffffffffffffffffffff1682604051611e4c90613d74565b60006040518083038185875af1925050503d8060008114611e89576040519150601f19603f3d011682016040523d82523d6000602084013e611e8e565b606091505b5050905080611e9c57600080fd5b5050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f3c6121f0565b73ffffffffffffffffffffffffffffffffffffffff16611f5a6119f3565b73ffffffffffffffffffffffffffffffffffffffff1614611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa790613acc565b60405180910390fd5b6000611fba610d75565b905060095460018383611fcd9190613b87565b611fd79190613bdd565b1115612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200f90613c5d565b60405180910390fd5b61202233836122aa565b5050565b61202e6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661204c6119f3565b73ffffffffffffffffffffffffffffffffffffffff16146120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990613acc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210990613efc565b60405180910390fd5b61211b81612a8d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156121e9575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6122c4828260405180602001604052806000815250612ec5565b5050565b60006122d3826127e5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166122fa6121f0565b73ffffffffffffffffffffffffffffffffffffffff16148061232d575061232c82600001516123276121f0565b611ea0565b5b80612372575061233b6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661235a84610a1e565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123ab576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612414576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561247b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124888585856001612ed7565b61249860008484600001516121f8565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156127755760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156127745782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127de8585856001612edd565b5050505050565b6127ed613312565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612a56576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a5457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612938578092505050612a88565b5b600115612a5357818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a4e578092505050612a88565b612939565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612b748473ffffffffffffffffffffffffffffffffffffffff16612ee3565b15612cc5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b9d6121f0565b8786866040518563ffffffff1660e01b8152600401612bbf9493929190613f71565b6020604051808303816000875af1925050508015612bfb57506040513d601f19601f82011682018060405250810190612bf89190613fd2565b60015b612c75573d8060008114612c2b576040519150601f19603f3d011682016040523d82523d6000602084013e612c30565b606091505b50600081511415612c6d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cca565b600190505b949350505050565b606060088054612ce190613a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054612d0d90613a4e565b8015612d5a5780601f10612d2f57610100808354040283529160200191612d5a565b820191906000526020600020905b815481529060010190602001808311612d3d57829003601f168201915b5050505050905090565b60606000821415612dac576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ec0565b600082905060005b60008214612dde578080612dc790613fff565b915050600a82612dd79190614077565b9150612db4565b60008167ffffffffffffffff811115612dfa57612df9613631565b5b6040519080825280601f01601f191660200182016040528015612e2c5781602001600182028036833780820191505090505b5090505b60008514612eb957600182612e459190613bdd565b9150600a85612e5491906140a8565b6030612e609190613b87565b60f81b818381518110612e7657612e756140d9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612eb29190614077565b9450612e30565b8093505050505b919050565b612ed28383836001612ef6565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f91576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fcc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fd96000868387612ed7565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561323e57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156131f257506131f06000888488612b53565b155b15613229576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613177565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506132856000868387612edd565b5050505050565b82805461329890613a4e565b90600052602060002090601f0160209004810192826132ba5760008555613301565b82601f106132d357805160ff1916838001178555613301565b82800160010185558215613301579182015b828111156133005782518255916020019190600101906132e5565b5b50905061330e9190613355565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561336e576000816000905550600101613356565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133bb81613386565b81146133c657600080fd5b50565b6000813590506133d8816133b2565b92915050565b6000602082840312156133f4576133f361337c565b5b6000613402848285016133c9565b91505092915050565b60008115159050919050565b6134208161340b565b82525050565b600060208201905061343b6000830184613417565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561347b578082015181840152602081019050613460565b8381111561348a576000848401525b50505050565b6000601f19601f8301169050919050565b60006134ac82613441565b6134b6818561344c565b93506134c681856020860161345d565b6134cf81613490565b840191505092915050565b600060208201905081810360008301526134f481846134a1565b905092915050565b6000819050919050565b61350f816134fc565b811461351a57600080fd5b50565b60008135905061352c81613506565b92915050565b6000602082840312156135485761354761337c565b5b60006135568482850161351d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061358a8261355f565b9050919050565b61359a8161357f565b82525050565b60006020820190506135b56000830184613591565b92915050565b6135c48161357f565b81146135cf57600080fd5b50565b6000813590506135e1816135bb565b92915050565b600080604083850312156135fe576135fd61337c565b5b600061360c858286016135d2565b925050602061361d8582860161351d565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61366982613490565b810181811067ffffffffffffffff8211171561368857613687613631565b5b80604052505050565b600061369b613372565b90506136a78282613660565b919050565b600067ffffffffffffffff8211156136c7576136c6613631565b5b6136d082613490565b9050602081019050919050565b82818337600083830152505050565b60006136ff6136fa846136ac565b613691565b90508281526020810184848401111561371b5761371a61362c565b5b6137268482856136dd565b509392505050565b600082601f83011261374357613742613627565b5b81356137538482602086016136ec565b91505092915050565b6000602082840312156137725761377161337c565b5b600082013567ffffffffffffffff8111156137905761378f613381565b5b61379c8482850161372e565b91505092915050565b6137ae816134fc565b82525050565b60006020820190506137c960008301846137a5565b92915050565b6000806000606084860312156137e8576137e761337c565b5b60006137f6868287016135d2565b9350506020613807868287016135d2565b92505060406138188682870161351d565b9150509250925092565b6000602082840312156138385761383761337c565b5b6000613846848285016135d2565b91505092915050565b6138588161340b565b811461386357600080fd5b50565b6000813590506138758161384f565b92915050565b600080604083850312156138925761389161337c565b5b60006138a0858286016135d2565b92505060206138b185828601613866565b9150509250929050565b600067ffffffffffffffff8211156138d6576138d5613631565b5b6138df82613490565b9050602081019050919050565b60006138ff6138fa846138bb565b613691565b90508281526020810184848401111561391b5761391a61362c565b5b6139268482856136dd565b509392505050565b600082601f83011261394357613942613627565b5b81356139538482602086016138ec565b91505092915050565b600080600080608085870312156139765761397561337c565b5b6000613984878288016135d2565b9450506020613995878288016135d2565b93505060406139a68782880161351d565b925050606085013567ffffffffffffffff8111156139c7576139c6613381565b5b6139d38782880161392e565b91505092959194509250565b600080604083850312156139f6576139f561337c565b5b6000613a04858286016135d2565b9250506020613a15858286016135d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a6657607f821691505b60208210811415613a7a57613a79613a1f565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ab660208361344c565b9150613ac182613a80565b602082019050919050565b60006020820190508181036000830152613ae581613aa9565b9050919050565b7f496e76616c6964207175616e746974792e000000000000000000000000000000600082015250565b6000613b2260118361344c565b9150613b2d82613aec565b602082019050919050565b60006020820190508181036000830152613b5181613b15565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b92826134fc565b9150613b9d836134fc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613bd257613bd1613b58565b5b828201905092915050565b6000613be8826134fc565b9150613bf3836134fc565b925082821015613c0657613c05613b58565b5b828203905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b6000613c4760168361344c565b9150613c5282613c11565b602082019050919050565b60006020820190508181036000830152613c7681613c3a565b9050919050565b6000613c88826134fc565b9150613c93836134fc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ccc57613ccb613b58565b5b828202905092915050565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b6000613d0d60128361344c565b9150613d1882613cd7565b602082019050919050565b60006020820190508181036000830152613d3c81613d00565b9050919050565b600081905092915050565b50565b6000613d5e600083613d43565b9150613d6982613d4e565b600082019050919050565b6000613d7f82613d51565b9150819050919050565b600081905092915050565b6000613d9f82613441565b613da98185613d89565b9350613db981856020860161345d565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613de781613a4e565b613df18186613d89565b94506001821660008114613e0c5760018114613e1d57613e50565b60ff19831686528186019350613e50565b613e2685613dc5565b60005b83811015613e4857815481890152600182019150602081019050613e29565b838801955050505b50505092915050565b6000613e658286613d94565b9150613e718285613d94565b9150613e7d8284613dda565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ee660268361344c565b9150613ef182613e8a565b604082019050919050565b60006020820190508181036000830152613f1581613ed9565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f4382613f1c565b613f4d8185613f27565b9350613f5d81856020860161345d565b613f6681613490565b840191505092915050565b6000608082019050613f866000830187613591565b613f936020830186613591565b613fa060408301856137a5565b8181036060830152613fb28184613f38565b905095945050505050565b600081519050613fcc816133b2565b92915050565b600060208284031215613fe857613fe761337c565b5b6000613ff684828501613fbd565b91505092915050565b600061400a826134fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561403d5761403c613b58565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614082826134fc565b915061408d836134fc565b92508261409d5761409c614048565b5b828204905092915050565b60006140b3826134fc565b91506140be836134fc565b9250826140ce576140cd614048565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212206b1e4fdc00dee4626123c9e9c14bd6458f1861492d5c40767191d25421d8030764736f6c634300080c003368747470733a2f2f6170692e6d696e743078446f6f646c65732e78797a2f6d657461646174612f
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636a42061411610123578063a22cb465116100ab578063d547cfb71161006f578063d547cfb71461076c578063db5f83b814610797578063e985e9c5146107c0578063eff896d2146107fd578063f2fde38b146108195761021a565b8063a22cb46514610687578063b88d4fde146106b0578063c002d23d146106d9578063c87b56dd14610704578063cd87fcfe146107415761021a565b80637d7302fc116100f25780637d7302fc146105d35780637f00c7a6146105dd5780638da5cb5b14610606578063902d55a51461063157806395d89b411461065c5761021a565b80636a4206141461052d57806370a0823114610556578063715018a6146105935780637195e28f146105aa5761021a565b806330176e13116101a6578063449a52f811610175578063449a52f81461044357806344a0d68a1461045f5780634f6ccce7146104885780635503a0e8146104c55780636352211e146104f05761021a565b806330176e13146103c35780633ccfd60b146103ec5780633d2d5eb31461040357806342842e0e1461041a5761021a565b806316ba10e0116101ed57806316ba10e0146102ed57806317fb85941461031657806318160ddd1461033257806323b872dd1461035d5780632f745c59146103865761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906133de565b610842565b6040516102539190613426565b60405180910390f35b34801561026857600080fd5b5061027161098c565b60405161027e91906134da565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613532565b610a1e565b6040516102bb91906135a0565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906135e7565b610a9a565b005b3480156102f957600080fd5b50610314600480360381019061030f919061375c565b610ba5565b005b610330600480360381019061032b9190613532565b610c3b565b005b34801561033e57600080fd5b50610347610d75565b60405161035491906137b4565b60405180910390f35b34801561036957600080fd5b50610384600480360381019061037f91906137cf565b610dca565b005b34801561039257600080fd5b506103ad60048036038101906103a891906135e7565b610dda565b6040516103ba91906137b4565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e5919061375c565b610fe1565b005b3480156103f857600080fd5b50610401611077565b005b34801561040f57600080fd5b50610418611140565b005b34801561042657600080fd5b50610441600480360381019061043c91906137cf565b611212565b005b61045d600480360381019061045891906135e7565b611232565b005b34801561046b57600080fd5b5061048660048036038101906104819190613532565b611325565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613532565b6113ab565b6040516104bc91906137b4565b60405180910390f35b3480156104d157600080fd5b506104da61151c565b6040516104e791906134da565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190613532565b6115aa565b60405161052491906135a0565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190613532565b6115c0565b005b34801561056257600080fd5b5061057d60048036038101906105789190613822565b611646565b60405161058a91906137b4565b60405180910390f35b34801561059f57600080fd5b506105a8611716565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613532565b61179e565b005b6105db611871565b005b3480156105e957600080fd5b5061060460048036038101906105ff9190613532565b61196d565b005b34801561061257600080fd5b5061061b6119f3565b60405161062891906135a0565b60405180910390f35b34801561063d57600080fd5b50610646611a1d565b60405161065391906137b4565b60405180910390f35b34801561066857600080fd5b50610671611a23565b60405161067e91906134da565b60405180910390f35b34801561069357600080fd5b506106ae60048036038101906106a9919061387b565b611ab5565b005b3480156106bc57600080fd5b506106d760048036038101906106d2919061395c565b611c2d565b005b3480156106e557600080fd5b506106ee611c80565b6040516106fb91906137b4565b60405180910390f35b34801561071057600080fd5b5061072b60048036038101906107269190613532565b611c86565b60405161073891906134da565b60405180910390f35b34801561074d57600080fd5b50610756611d0f565b60405161076391906137b4565b60405180910390f35b34801561077857600080fd5b50610781611d15565b60405161078e91906134da565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b99190613532565b611da3565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906139df565b611ea0565b6040516107f49190613426565b60405180910390f35b61081760048036038101906108129190613532565b611f34565b005b34801561082557600080fd5b50610840600480360381019061083b9190613822565b612026565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061098557506109848261211e565b5b9050919050565b60606001805461099b90613a4e565b80601f01602080910402602001604051908101604052809291908181526020018280546109c790613a4e565b8015610a145780601f106109e957610100808354040283529160200191610a14565b820191906000526020600020905b8154815290600101906020018083116109f757829003601f168201915b5050505050905090565b6000610a2982612188565b610a5f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa5826115aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b0d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b2c6121f0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b5e5750610b5c81610b576121f0565b611ea0565b155b15610b95576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ba08383836121f8565b505050565b610bad6121f0565b73ffffffffffffffffffffffffffffffffffffffff16610bcb6119f3565b73ffffffffffffffffffffffffffffffffffffffff1614610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613acc565b60405180910390fd5b80600c9080519060200190610c3792919061328c565b5050565b6000610c45610d75565b9050600082118015610c585750600a8211155b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613b38565b60405180910390fd5b60095460018383610ca89190613b87565b610cb29190613bdd565b1115610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90613c5d565b60405180910390fd5b600b5460018383610d049190613b87565b610d0e9190613bdd565b111580610d28575081600a54610d249190613c7d565b3410155b610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e90613d23565b60405180910390fd5b610d7133836122aa565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610dd58383836122c8565b505050565b6000610de583611646565b8210610e1d576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610fd5576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610f345750610fc8565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f7457806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fc65786841415610fbd578195505050505050610fdb565b83806001019450505b505b8080600101915050610e57565b50600080fd5b92915050565b610fe96121f0565b73ffffffffffffffffffffffffffffffffffffffff166110076119f3565b73ffffffffffffffffffffffffffffffffffffffff161461105d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105490613acc565b60405180910390fd5b806008908051906020019061107392919061328c565b5050565b61107f6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661109d6119f3565b73ffffffffffffffffffffffffffffffffffffffff16146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90613acc565b60405180910390fd5b60006110fd6119f3565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061113d57600080fd5b50565b6111486121f0565b73ffffffffffffffffffffffffffffffffffffffff166111666119f3565b73ffffffffffffffffffffffffffffffffffffffff16146111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390613acc565b60405180910390fd5b60006111c66119f3565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561120e573d6000803e3d6000fd5b5050565b61122d83838360405180602001604052806000815250611c2d565b505050565b61123a6121f0565b73ffffffffffffffffffffffffffffffffffffffff166112586119f3565b73ffffffffffffffffffffffffffffffffffffffff16146112ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a590613acc565b60405180910390fd5b60006112b8610d75565b9050600954600183836112cb9190613b87565b6112d59190613bdd565b1115611316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130d90613c5d565b60405180910390fd5b61132083836122aa565b505050565b61132d6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661134b6119f3565b73ffffffffffffffffffffffffffffffffffffffff16146113a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139890613acc565b60405180910390fd5b80600a8190555050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156114e4576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516114d657858314156114cd5781945050505050611517565b82806001019350505b5080806001019150506113e3565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600c805461152990613a4e565b80601f016020809104026020016040519081016040528092919081815260200182805461155590613a4e565b80156115a25780601f10611577576101008083540402835291602001916115a2565b820191906000526020600020905b81548152906001019060200180831161158557829003601f168201915b505050505081565b60006115b5826127e5565b600001519050919050565b6115c86121f0565b73ffffffffffffffffffffffffffffffffffffffff166115e66119f3565b73ffffffffffffffffffffffffffffffffffffffff161461163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163390613acc565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ae576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61171e6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661173c6119f3565b73ffffffffffffffffffffffffffffffffffffffff1614611792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178990613acc565b60405180910390fd5b61179c6000612a8d565b565b6117a66121f0565b73ffffffffffffffffffffffffffffffffffffffff166117c46119f3565b73ffffffffffffffffffffffffffffffffffffffff161461181a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181190613acc565b60405180910390fd5b60006118246119f3565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561186c573d6000803e3d6000fd5b505050565b6118796121f0565b73ffffffffffffffffffffffffffffffffffffffff166118976119f3565b73ffffffffffffffffffffffffffffffffffffffff16146118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e490613acc565b60405180910390fd5b60006118f76119f3565b73ffffffffffffffffffffffffffffffffffffffff164760405161191a90613d74565b60006040518083038185875af1925050503d8060008114611957576040519150601f19603f3d011682016040523d82523d6000602084013e61195c565b606091505b505090508061196a57600080fd5b50565b6119756121f0565b73ffffffffffffffffffffffffffffffffffffffff166119936119f3565b73ffffffffffffffffffffffffffffffffffffffff16146119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090613acc565b60405180910390fd5b8060098190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b606060028054611a3290613a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5e90613a4e565b8015611aab5780601f10611a8057610100808354040283529160200191611aab565b820191906000526020600020905b815481529060010190602001808311611a8e57829003601f168201915b5050505050905090565b611abd6121f0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b22576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611b2f6121f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bdc6121f0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c219190613426565b60405180910390a35050565b611c388484846122c8565b611c4484848484612b53565b611c7a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a5481565b6060611c9182612188565b611cc7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ccf612cd2565b611ce561271084611ce09190613b87565b612d64565b600c604051602001611cf993929190613e59565b6040516020818303038152906040529050919050565b600b5481565b60088054611d2290613a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4e90613a4e565b8015611d9b5780601f10611d7057610100808354040283529160200191611d9b565b820191906000526020600020905b815481529060010190602001808311611d7e57829003601f168201915b505050505081565b611dab6121f0565b73ffffffffffffffffffffffffffffffffffffffff16611dc96119f3565b73ffffffffffffffffffffffffffffffffffffffff1614611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690613acc565b60405180910390fd5b6000611e296119f3565b73ffffffffffffffffffffffffffffffffffffffff1682604051611e4c90613d74565b60006040518083038185875af1925050503d8060008114611e89576040519150601f19603f3d011682016040523d82523d6000602084013e611e8e565b606091505b5050905080611e9c57600080fd5b5050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f3c6121f0565b73ffffffffffffffffffffffffffffffffffffffff16611f5a6119f3565b73ffffffffffffffffffffffffffffffffffffffff1614611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa790613acc565b60405180910390fd5b6000611fba610d75565b905060095460018383611fcd9190613b87565b611fd79190613bdd565b1115612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200f90613c5d565b60405180910390fd5b61202233836122aa565b5050565b61202e6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661204c6119f3565b73ffffffffffffffffffffffffffffffffffffffff16146120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990613acc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210990613efc565b60405180910390fd5b61211b81612a8d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156121e9575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6122c4828260405180602001604052806000815250612ec5565b5050565b60006122d3826127e5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166122fa6121f0565b73ffffffffffffffffffffffffffffffffffffffff16148061232d575061232c82600001516123276121f0565b611ea0565b5b80612372575061233b6121f0565b73ffffffffffffffffffffffffffffffffffffffff1661235a84610a1e565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123ab576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612414576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561247b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124888585856001612ed7565b61249860008484600001516121f8565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156127755760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156127745782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127de8585856001612edd565b5050505050565b6127ed613312565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612a56576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a5457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612938578092505050612a88565b5b600115612a5357818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a4e578092505050612a88565b612939565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612b748473ffffffffffffffffffffffffffffffffffffffff16612ee3565b15612cc5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b9d6121f0565b8786866040518563ffffffff1660e01b8152600401612bbf9493929190613f71565b6020604051808303816000875af1925050508015612bfb57506040513d601f19601f82011682018060405250810190612bf89190613fd2565b60015b612c75573d8060008114612c2b576040519150601f19603f3d011682016040523d82523d6000602084013e612c30565b606091505b50600081511415612c6d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cca565b600190505b949350505050565b606060088054612ce190613a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054612d0d90613a4e565b8015612d5a5780601f10612d2f57610100808354040283529160200191612d5a565b820191906000526020600020905b815481529060010190602001808311612d3d57829003601f168201915b5050505050905090565b60606000821415612dac576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ec0565b600082905060005b60008214612dde578080612dc790613fff565b915050600a82612dd79190614077565b9150612db4565b60008167ffffffffffffffff811115612dfa57612df9613631565b5b6040519080825280601f01601f191660200182016040528015612e2c5781602001600182028036833780820191505090505b5090505b60008514612eb957600182612e459190613bdd565b9150600a85612e5491906140a8565b6030612e609190613b87565b60f81b818381518110612e7657612e756140d9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612eb29190614077565b9450612e30565b8093505050505b919050565b612ed28383836001612ef6565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f91576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fcc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fd96000868387612ed7565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561323e57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156131f257506131f06000888488612b53565b155b15613229576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613177565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506132856000868387612edd565b5050505050565b82805461329890613a4e565b90600052602060002090601f0160209004810192826132ba5760008555613301565b82601f106132d357805160ff1916838001178555613301565b82800160010185558215613301579182015b828111156133005782518255916020019190600101906132e5565b5b50905061330e9190613355565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561336e576000816000905550600101613356565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133bb81613386565b81146133c657600080fd5b50565b6000813590506133d8816133b2565b92915050565b6000602082840312156133f4576133f361337c565b5b6000613402848285016133c9565b91505092915050565b60008115159050919050565b6134208161340b565b82525050565b600060208201905061343b6000830184613417565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561347b578082015181840152602081019050613460565b8381111561348a576000848401525b50505050565b6000601f19601f8301169050919050565b60006134ac82613441565b6134b6818561344c565b93506134c681856020860161345d565b6134cf81613490565b840191505092915050565b600060208201905081810360008301526134f481846134a1565b905092915050565b6000819050919050565b61350f816134fc565b811461351a57600080fd5b50565b60008135905061352c81613506565b92915050565b6000602082840312156135485761354761337c565b5b60006135568482850161351d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061358a8261355f565b9050919050565b61359a8161357f565b82525050565b60006020820190506135b56000830184613591565b92915050565b6135c48161357f565b81146135cf57600080fd5b50565b6000813590506135e1816135bb565b92915050565b600080604083850312156135fe576135fd61337c565b5b600061360c858286016135d2565b925050602061361d8582860161351d565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61366982613490565b810181811067ffffffffffffffff8211171561368857613687613631565b5b80604052505050565b600061369b613372565b90506136a78282613660565b919050565b600067ffffffffffffffff8211156136c7576136c6613631565b5b6136d082613490565b9050602081019050919050565b82818337600083830152505050565b60006136ff6136fa846136ac565b613691565b90508281526020810184848401111561371b5761371a61362c565b5b6137268482856136dd565b509392505050565b600082601f83011261374357613742613627565b5b81356137538482602086016136ec565b91505092915050565b6000602082840312156137725761377161337c565b5b600082013567ffffffffffffffff8111156137905761378f613381565b5b61379c8482850161372e565b91505092915050565b6137ae816134fc565b82525050565b60006020820190506137c960008301846137a5565b92915050565b6000806000606084860312156137e8576137e761337c565b5b60006137f6868287016135d2565b9350506020613807868287016135d2565b92505060406138188682870161351d565b9150509250925092565b6000602082840312156138385761383761337c565b5b6000613846848285016135d2565b91505092915050565b6138588161340b565b811461386357600080fd5b50565b6000813590506138758161384f565b92915050565b600080604083850312156138925761389161337c565b5b60006138a0858286016135d2565b92505060206138b185828601613866565b9150509250929050565b600067ffffffffffffffff8211156138d6576138d5613631565b5b6138df82613490565b9050602081019050919050565b60006138ff6138fa846138bb565b613691565b90508281526020810184848401111561391b5761391a61362c565b5b6139268482856136dd565b509392505050565b600082601f83011261394357613942613627565b5b81356139538482602086016138ec565b91505092915050565b600080600080608085870312156139765761397561337c565b5b6000613984878288016135d2565b9450506020613995878288016135d2565b93505060406139a68782880161351d565b925050606085013567ffffffffffffffff8111156139c7576139c6613381565b5b6139d38782880161392e565b91505092959194509250565b600080604083850312156139f6576139f561337c565b5b6000613a04858286016135d2565b9250506020613a15858286016135d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a6657607f821691505b60208210811415613a7a57613a79613a1f565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ab660208361344c565b9150613ac182613a80565b602082019050919050565b60006020820190508181036000830152613ae581613aa9565b9050919050565b7f496e76616c6964207175616e746974792e000000000000000000000000000000600082015250565b6000613b2260118361344c565b9150613b2d82613aec565b602082019050919050565b60006020820190508181036000830152613b5181613b15565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b92826134fc565b9150613b9d836134fc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613bd257613bd1613b58565b5b828201905092915050565b6000613be8826134fc565b9150613bf3836134fc565b925082821015613c0657613c05613b58565b5b828203905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b6000613c4760168361344c565b9150613c5282613c11565b602082019050919050565b60006020820190508181036000830152613c7681613c3a565b9050919050565b6000613c88826134fc565b9150613c93836134fc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ccc57613ccb613b58565b5b828202905092915050565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b6000613d0d60128361344c565b9150613d1882613cd7565b602082019050919050565b60006020820190508181036000830152613d3c81613d00565b9050919050565b600081905092915050565b50565b6000613d5e600083613d43565b9150613d6982613d4e565b600082019050919050565b6000613d7f82613d51565b9150819050919050565b600081905092915050565b6000613d9f82613441565b613da98185613d89565b9350613db981856020860161345d565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613de781613a4e565b613df18186613d89565b94506001821660008114613e0c5760018114613e1d57613e50565b60ff19831686528186019350613e50565b613e2685613dc5565b60005b83811015613e4857815481890152600182019150602081019050613e29565b838801955050505b50505092915050565b6000613e658286613d94565b9150613e718285613d94565b9150613e7d8284613dda565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ee660268361344c565b9150613ef182613e8a565b604082019050919050565b60006020820190508181036000830152613f1581613ed9565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f4382613f1c565b613f4d8185613f27565b9350613f5d81856020860161345d565b613f6681613490565b840191505092915050565b6000608082019050613f866000830187613591565b613f936020830186613591565b613fa060408301856137a5565b8181036060830152613fb28184613f38565b905095945050505050565b600081519050613fcc816133b2565b92915050565b600060208284031215613fe857613fe761337c565b5b6000613ff684828501613fbd565b91505092915050565b600061400a826134fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561403d5761403c613b58565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614082826134fc565b915061408d836134fc565b92508261409d5761409c614048565b5b828204905092915050565b60006140b3826134fc565b91506140be836134fc565b9250826140ce576140cd614048565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212206b1e4fdc00dee4626123c9e9c14bd6458f1861492d5c40767191d25421d8030764736f6c634300080c0033
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.