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