Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
645 LAMBOZ
Holders
121
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RentalzLambo
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED // Latest known version with no issues pragma solidity ^0.8.4; import "openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; 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/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // RentalzLambo (Developed by Daniel Kantor) // Rentalz.io kicks off its first collection of 3,333 unique hand-drawn Lambo NFTs that will grant you membership access // to exotic sports cars and more. Future projects will include real estate, yachts, and other luxury perks. // Join our community for the latest updates https://discord.gg/rentalzio pragma solidity ^0.8.4; contract RentalzLambo is ERC721Enumerable, Ownable { using Strings for uint256; using SafeMath for uint256; string private baseURI; string public baseExtension = ".json"; uint256 public cost = 0.22 ether; uint256 public preSaleCost = 0.2 ether; uint256 public keysCost = 0.18 ether; uint256 public maxSupply = 3333; uint256 public maxMintAmount = 5; uint256 public nftPerAddressLimit = 150; uint256 public nftPerAddressLimitPresale = 5; mapping(address => bool) public whitelistedAddresses; mapping(address => uint256) public addressMintedBalance; bool public paused = false; bool public revealed = false; // KEYS Contract address private constant KEYS = 0xe0a189C975e4928222978A74517442239a0b86ff; // Locked KEYS Contract address private constant LOCKED_KEYS = 0x08DC692FE528fFEcF675Ab3f76981553e060Fd8A; // 8,888 KEYS needed for discount uint256 public minKeysNeededForDiscount = 8888000000000; // Friday, January 21, 2022 6:30:00 PM GMT-05:00 uint256 public preSaleDate = 1642807800; // Saturday, January 22, 2022 6:30:00 PM GMT-05:00 uint256 public publicSaleDate = 1642894200; // Monday, January 24, 2022 6:30:00 PM GMT-05:00 uint256 public revealDate = 1643067000; constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) {} //MODIFIERS modifier notPaused() { require(!paused, "the contract is paused"); _; } modifier saleStarted() { require(block.timestamp >= preSaleDate, "Sale has not started yet"); _; } modifier minimumMintAmount(uint256 _mintAmount) { require(_mintAmount > 0, "need to mint at least 1 NFT"); _; } ///////////////////////////////////////////////////////////////// ///////////////////// MINT FUNCTION /////////////////////////// ///////////////////////////////////////////////////////////////// function mint(uint256 _mintAmount) external payable notPaused saleStarted minimumMintAmount(_mintAmount) { // Get some data uint256 ownerMintedCount = addressMintedBalance[msg.sender]; uint256 supply = totalSupply(); // Do some validations based on what state of the sale we are in block.timestamp < publicSaleDate ? preSaleValidations(ownerMintedCount, _mintAmount) : publicSaleValidations(ownerMintedCount, _mintAmount); // Check if max NFT limit has been reached require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); // Safely mint those Lambos for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } ///////////////////////////////////////////////////////////////// ///////////////////// EXTERNAL FUNCTIONS ////////////////////// ///////////////////////////////////////////////////////////////// // Receive function in case someone wants to donate some ETH to the contract receive() external payable {} // Check what tokenIds are owned by a given wallets function walletOfOwner(address _owner) external view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } // Gives the tokenURI for a given tokenId function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); // If not revealed, show non-revealed image if (!revealed) { return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI)) : ""; } // else, show revealed image return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } function getCurrentCost() external view returns (uint256) { return cost; } function getBaseURI() external view returns (string memory) { return baseURI; } function getContractBalance() external view returns (uint256) { return address(this).balance; } function isWhitelisted(address _user) public view returns (bool) { return whitelistedAddresses[_user]; } ///////////////////////////////////////////////////////////////// ///////////////////// ONLY OWNER FUNCTIONS //////////////////// ///////////////////////////////////////////////////////////////// function pause(bool _state) external onlyOwner { paused = _state; } // Will be used to gift the team function gift(uint256 _mintAmount, address destination) external onlyOwner { require(_mintAmount > 0, "need to mint at least 1 NFT"); uint256 supply = totalSupply(); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[destination]++; _safeMint(destination, supply + i); } } function whitelistUsers(address[] memory addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { whitelistedAddresses[addresses[i]] = true; } } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Withdraw not successful"); } function flipRevealed() external onlyOwner { revealed = !revealed; } ///////////////////////////////////////////////////////////////// ///////////////////// SETTER FUNCTIONS //////////////////////// ///////////////////////////////////////////////////////////////// function setNftPerAddressLimit(uint256 _limit) external onlyOwner { nftPerAddressLimit = _limit; } function setNftPerAddressPresaleLimit(uint256 _limit) external onlyOwner { nftPerAddressLimitPresale = _limit; } function setCost(uint256 _newCost) external onlyOwner { cost = _newCost; } function setPreSaleCost(uint256 _newCost) external onlyOwner { preSaleCost = _newCost; } function setKeysCost(uint256 _newCost) external onlyOwner { keysCost = _newCost; } function setMaxMintAmount(uint256 _newMaxMintAmount) external onlyOwner { maxMintAmount = _newMaxMintAmount; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) external onlyOwner { baseExtension = _newBaseExtension; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setPublicSaleDate(uint256 _publicSaleDate) external onlyOwner { publicSaleDate = _publicSaleDate; } function setPreSaleDate(uint256 _preSaleDate) external onlyOwner { preSaleDate = _preSaleDate; } function setRevealDate(uint256 _revealDate) external onlyOwner { revealDate = _revealDate; } ///////////////////////////////////////////////////////////////// ///////////////////// INTERNAL FUNCTIONS ////////////////////// ///////////////////////////////////////////////////////////////// function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function publicSaleValidations(uint256 _ownerMintedCount, uint256 _mintAmount) internal { uint256 actualCost; discountForKeysHolders() ? actualCost = keysCost : actualCost = cost; require(_ownerMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); require(msg.value >= actualCost * _mintAmount, "insufficient funds"); require(_mintAmount <= maxMintAmount, "max mint amount per transaction exceeded"); } function preSaleValidations(uint256 _ownerMintedCount, uint256 _mintAmount) internal { uint256 actualCost; discountForKeysHolders() ? actualCost = keysCost : actualCost = preSaleCost; require(isWhitelisted(msg.sender), "User is NOT whitelisted"); require(_ownerMintedCount + _mintAmount <= nftPerAddressLimitPresale, "max NFT per address exceeded for presale"); require(msg.value >= actualCost * _mintAmount, "insufficient funds"); require(_mintAmount <= maxMintAmount, "max mint amount per transaction exceeded"); } function discountForKeysHolders() internal view returns (bool) { uint256 amountOfKeysOwned = IERC20(KEYS).balanceOf(msg.sender); uint256 amountOfLockedKeysOwned = IERC20(LOCKED_KEYS).balanceOf(msg.sender); uint256 totalKeysOwned = amountOfKeysOwned.add(amountOfLockedKeysOwned); return (totalKeysOwned >= minKeysNeededForDiscount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// 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 "../../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; /** * @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 "../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; /** * @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; /** * @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 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; 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; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keysCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minKeysNeededForDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimitPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"preSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setKeysCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressPresaleLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPreSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleDate","type":"uint256"}],"name":"setPreSaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleDate","type":"uint256"}],"name":"setPublicSaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealDate","type":"uint256"}],"name":"setRevealDate","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c90805190602001906200005192919062000242565b5067030d98d59a960000600d556702c68af0bb140000600e5567027f7d0bdb920000600f55610d056010556005601155609660125560056013556000601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff021916908315150217905550650815661530006017556361eb41f86018556361ec93786019556361ef3678601a55348015620000f057600080fd5b506040516200618a3803806200618a833981810160405281019062000116919062000364565b818181600090805190602001906200013092919062000242565b5080600190805190602001906200014992919062000242565b5050506200016c620001606200017460201b60201c565b6200017c60201b60201c565b505062000547565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000250906200046c565b90600052602060002090601f016020900481019282620002745760008555620002c0565b82601f106200028f57805160ff1916838001178555620002c0565b82800160010185558215620002c0579182015b82811115620002bf578251825591602001919060010190620002a2565b5b509050620002cf9190620002d3565b5090565b5b80821115620002ee576000816000905550600101620002d4565b5090565b600062000309620003038462000400565b620003d7565b9050828152602081018484840111156200032257600080fd5b6200032f84828562000436565b509392505050565b600082601f8301126200034957600080fd5b81516200035b848260208601620002f2565b91505092915050565b600080604083850312156200037857600080fd5b600083015167ffffffffffffffff8111156200039357600080fd5b620003a18582860162000337565b925050602083015167ffffffffffffffff811115620003bf57600080fd5b620003cd8582860162000337565b9150509250929050565b6000620003e3620003f6565b9050620003f18282620004a2565b919050565b6000604051905090565b600067ffffffffffffffff8211156200041e576200041d62000507565b5b620004298262000536565b9050602081019050919050565b60005b838110156200045657808201518184015260208101905062000439565b8381111562000466576000848401525b50505050565b600060028204905060018216806200048557607f821691505b602082108114156200049c576200049b620004d8565b5b50919050565b620004ad8262000536565b810181811067ffffffffffffffff82111715620004cf57620004ce62000507565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615c3380620005576000396000f3fe6080604052600436106103855760003560e01c806355f804b3116101d1578063a0712d6811610102578063d0eb26b0116100a0578063e985e9c51161006f578063e985e9c514610cf8578063eced387314610d35578063edec5f2714610d60578063f2fde38b14610d895761038c565b8063d0eb26b014610c50578063d5abeb0114610c79578063da3ef23f14610ca4578063e35eb25914610ccd5761038c565b8063ba7d2c76116100dc578063ba7d2c7614610b92578063c668286214610bbd578063c87b56dd14610be8578063cc9ff9c614610c255761038c565b8063a0712d6814610b24578063a22cb46514610b40578063b88d4fde14610b695761038c565b8063714c53981161016f578063831e60de11610149578063831e60de14610a7a57806383a076be14610aa55780638da5cb5b14610ace57806395d89b4114610af95761038c565b8063714c539814610a0f578063715018a614610a3a578063743c7f6b14610a515761038c565b80636352211e116101ab5780636352211e146109415780636f8b44b01461097e5780636f9fb98a146109a757806370a08231146109d25761038c565b806355f804b3146108c45780635c975abb146108ed57806363428570146109185761038c565b80631e08a9e4116102b65780633b2c3fb611610254578063438b630011610223578063438b6300146107f657806344a0d68a146108335780634f6ccce71461085c57806351830227146108995761038c565b80633b2c3fb6146107765780633ccfd60b1461078d5780633ea25002146107a457806342842e0e146107cd5761038c565b806323b872dd1161029057806323b872dd146106a85780632e09282e146106d15780632f745c59146106fc5780633af32abf146107395761038c565b80631e08a9e414610629578063231b071614610654578063239c70ae1461067d5761038c565b80630c88b7311161032357806313faede6116102fd57806313faede61461056b57806318160ddd1461059657806318cae269146105c15780631985cc65146105fe5761038c565b80630c88b731146104ee5780630dde14ac146105175780630e54a883146105425761038c565b806306fdde031161035f57806306fdde0314610434578063081812fc1461045f578063088a4ed01461049c578063095ea7b3146104c55761038c565b806301ffc9a71461039157806302329a29146103ce57806306c933d8146103f75761038c565b3661038c57005b600080fd5b34801561039d57600080fd5b506103b860048036038101906103b39190614454565b610db2565b6040516103c59190614c26565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f0919061442b565b610e2c565b005b34801561040357600080fd5b5061041e60048036038101906104199190614243565b610ec5565b60405161042b9190614c26565b60405180910390f35b34801561044057600080fd5b50610449610ee5565b6040516104569190614c41565b60405180910390f35b34801561046b57600080fd5b50610486600480360381019061048191906144e7565b610f77565b6040516104939190614b9d565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be91906144e7565b610ffc565b005b3480156104d157600080fd5b506104ec60048036038101906104e791906143ae565b611082565b005b3480156104fa57600080fd5b50610515600480360381019061051091906144e7565b61119a565b005b34801561052357600080fd5b5061052c611220565b6040516105399190614fe3565b60405180910390f35b34801561054e57600080fd5b50610569600480360381019061056491906144e7565b611226565b005b34801561057757600080fd5b506105806112ac565b60405161058d9190614fe3565b60405180910390f35b3480156105a257600080fd5b506105ab6112b2565b6040516105b89190614fe3565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190614243565b6112bf565b6040516105f59190614fe3565b60405180910390f35b34801561060a57600080fd5b506106136112d7565b6040516106209190614fe3565b60405180910390f35b34801561063557600080fd5b5061063e6112dd565b60405161064b9190614fe3565b60405180910390f35b34801561066057600080fd5b5061067b600480360381019061067691906144e7565b6112e3565b005b34801561068957600080fd5b50610692611369565b60405161069f9190614fe3565b60405180910390f35b3480156106b457600080fd5b506106cf60048036038101906106ca91906142a8565b61136f565b005b3480156106dd57600080fd5b506106e66113cf565b6040516106f39190614fe3565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e91906143ae565b6113d5565b6040516107309190614fe3565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b9190614243565b61147a565b60405161076d9190614c26565b60405180910390f35b34801561078257600080fd5b5061078b6114d0565b005b34801561079957600080fd5b506107a2611578565b005b3480156107b057600080fd5b506107cb60048036038101906107c691906144e7565b6116a3565b005b3480156107d957600080fd5b506107f460048036038101906107ef91906142a8565b611729565b005b34801561080257600080fd5b5061081d60048036038101906108189190614243565b611749565b60405161082a9190614c04565b60405180910390f35b34801561083f57600080fd5b5061085a600480360381019061085591906144e7565b611843565b005b34801561086857600080fd5b50610883600480360381019061087e91906144e7565b6118c9565b6040516108909190614fe3565b60405180910390f35b3480156108a557600080fd5b506108ae611960565b6040516108bb9190614c26565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e691906144a6565b611973565b005b3480156108f957600080fd5b50610902611a09565b60405161090f9190614c26565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a91906144e7565b611a1c565b005b34801561094d57600080fd5b50610968600480360381019061096391906144e7565b611aa2565b6040516109759190614b9d565b60405180910390f35b34801561098a57600080fd5b506109a560048036038101906109a091906144e7565b611b54565b005b3480156109b357600080fd5b506109bc611bda565b6040516109c99190614fe3565b60405180910390f35b3480156109de57600080fd5b506109f960048036038101906109f49190614243565b611be2565b604051610a069190614fe3565b60405180910390f35b348015610a1b57600080fd5b50610a24611c9a565b604051610a319190614c41565b60405180910390f35b348015610a4657600080fd5b50610a4f611d2c565b005b348015610a5d57600080fd5b50610a786004803603810190610a7391906144e7565b611db4565b005b348015610a8657600080fd5b50610a8f611e3a565b604051610a9c9190614fe3565b60405180910390f35b348015610ab157600080fd5b50610acc6004803603810190610ac79190614539565b611e44565b005b348015610ada57600080fd5b50610ae3611ff0565b604051610af09190614b9d565b60405180910390f35b348015610b0557600080fd5b50610b0e61201a565b604051610b1b9190614c41565b60405180910390f35b610b3e6004803603810190610b3991906144e7565b6120ac565b005b348015610b4c57600080fd5b50610b676004803603810190610b629190614372565b6122da565b005b348015610b7557600080fd5b50610b906004803603810190610b8b91906142f7565b61245b565b005b348015610b9e57600080fd5b50610ba76124bd565b604051610bb49190614fe3565b60405180910390f35b348015610bc957600080fd5b50610bd26124c3565b604051610bdf9190614c41565b60405180910390f35b348015610bf457600080fd5b50610c0f6004803603810190610c0a91906144e7565b612551565b604051610c1c9190614c41565b60405180910390f35b348015610c3157600080fd5b50610c3a612657565b604051610c479190614fe3565b60405180910390f35b348015610c5c57600080fd5b50610c776004803603810190610c7291906144e7565b61265d565b005b348015610c8557600080fd5b50610c8e6126e3565b604051610c9b9190614fe3565b60405180910390f35b348015610cb057600080fd5b50610ccb6004803603810190610cc691906144a6565b6126e9565b005b348015610cd957600080fd5b50610ce261277f565b604051610cef9190614fe3565b60405180910390f35b348015610d0457600080fd5b50610d1f6004803603810190610d1a919061426c565b612785565b604051610d2c9190614c26565b60405180910390f35b348015610d4157600080fd5b50610d4a612819565b604051610d579190614fe3565b60405180910390f35b348015610d6c57600080fd5b50610d876004803603810190610d8291906143ea565b61281f565b005b348015610d9557600080fd5b50610db06004803603810190610dab9190614243565b612956565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e255750610e2482612a4e565b5b9050919050565b610e34612b30565b73ffffffffffffffffffffffffffffffffffffffff16610e52611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614610ea8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9f90614e83565b60405180910390fd5b80601660006101000a81548160ff02191690831515021790555050565b60146020528060005260406000206000915054906101000a900460ff1681565b606060008054610ef490615318565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2090615318565b8015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b5050505050905090565b6000610f8282612b38565b610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890614e63565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b611004612b30565b73ffffffffffffffffffffffffffffffffffffffff16611022611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90614e83565b60405180910390fd5b8060118190555050565b600061108d82611aa2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f590614f03565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661111d612b30565b73ffffffffffffffffffffffffffffffffffffffff16148061114c575061114b81611146612b30565b612785565b5b61118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290614da3565b60405180910390fd5b6111958383612ba4565b505050565b6111a2612b30565b73ffffffffffffffffffffffffffffffffffffffff166111c0611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90614e83565b60405180910390fd5b80601a8190555050565b600f5481565b61122e612b30565b73ffffffffffffffffffffffffffffffffffffffff1661124c611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614e83565b60405180910390fd5b8060198190555050565b600d5481565b6000600880549050905090565b60156020528060005260406000206000915090505481565b60185481565b601a5481565b6112eb612b30565b73ffffffffffffffffffffffffffffffffffffffff16611309611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690614e83565b60405180910390fd5b80600e8190555050565b60115481565b61138061137a612b30565b82612c5d565b6113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690614f63565b60405180910390fd5b6113ca838383612d3b565b505050565b60135481565b60006113e083611be2565b8210611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890614c83565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6114d8612b30565b73ffffffffffffffffffffffffffffffffffffffff166114f6611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390614e83565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b611580612b30565b73ffffffffffffffffffffffffffffffffffffffff1661159e611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb90614e83565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161161a90614b88565b60006040518083038185875af1925050503d8060008114611657576040519150601f19603f3d011682016040523d82523d6000602084013e61165c565b606091505b50509050806116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790614e23565b60405180910390fd5b50565b6116ab612b30565b73ffffffffffffffffffffffffffffffffffffffff166116c9611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690614e83565b60405180910390fd5b8060138190555050565b6117448383836040518060200160405280600081525061245b565b505050565b6060600061175683611be2565b905060008167ffffffffffffffff81111561179a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117c85781602001602082028036833780820191505090505b50905060005b82811015611838576117e085826113d5565b828281518110611819577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806118309061537b565b9150506117ce565b508092505050919050565b61184b612b30565b73ffffffffffffffffffffffffffffffffffffffff16611869611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b690614e83565b60405180910390fd5b80600d8190555050565b60006118d36112b2565b8210611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b90614f83565b60405180910390fd5b6008828154811061194e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601660019054906101000a900460ff1681565b61197b612b30565b73ffffffffffffffffffffffffffffffffffffffff16611999611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e690614e83565b60405180910390fd5b80600b9080519060200190611a05929190613fbc565b5050565b601660009054906101000a900460ff1681565b611a24612b30565b73ffffffffffffffffffffffffffffffffffffffff16611a42611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f90614e83565b60405180910390fd5b80600f8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290614de3565b60405180910390fd5b80915050919050565b611b5c612b30565b73ffffffffffffffffffffffffffffffffffffffff16611b7a611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc790614e83565b60405180910390fd5b8060108190555050565b600047905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4a90614dc3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600b8054611ca990615318565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd590615318565b8015611d225780601f10611cf757610100808354040283529160200191611d22565b820191906000526020600020905b815481529060010190602001808311611d0557829003601f168201915b5050505050905090565b611d34612b30565b73ffffffffffffffffffffffffffffffffffffffff16611d52611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f90614e83565b60405180910390fd5b611db26000612f97565b565b611dbc612b30565b73ffffffffffffffffffffffffffffffffffffffff16611dda611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614e83565b60405180910390fd5b8060188190555050565b6000600d54905090565b611e4c612b30565b73ffffffffffffffffffffffffffffffffffffffff16611e6a611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb790614e83565b60405180910390fd5b60008211611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90614fc3565b60405180910390fd5b6000611f0d6112b2565b90506010548382611f1e919061514d565b1115611f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5690614e03565b60405180910390fd5b6000600190505b838111611fea57601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611fbd9061537b565b9190505550611fd7838284611fd2919061514d565b61305d565b8080611fe29061537b565b915050611f66565b50505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461202990615318565b80601f016020809104026020016040519081016040528092919081815260200182805461205590615318565b80156120a25780601f10612077576101008083540402835291602001916120a2565b820191906000526020600020905b81548152906001019060200180831161208557829003601f168201915b5050505050905090565b601660009054906101000a900460ff16156120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f390614ea3565b60405180910390fd5b601854421015612141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213890614c63565b60405180910390fd5b8060008111612185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217c90614fc3565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006121d36112b2565b905060195442106121ed576121e8828561307b565b6121f8565b6121f78285613184565b5b6010548482612207919061514d565b1115612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f90614e03565b60405180910390fd5b6000600190505b8481116122d357601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906122a69061537b565b91905055506122c03382846122bb919061514d565b61305d565b80806122cb9061537b565b91505061224f565b5050505050565b6122e2612b30565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234790614d43565b60405180910390fd5b806005600061235d612b30565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661240a612b30565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161244f9190614c26565b60405180910390a35050565b61246c612466612b30565b83612c5d565b6124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290614f63565b60405180910390fd5b6124b7848484846132d5565b50505050565b60125481565b600c80546124d090615318565b80601f01602080910402602001604051908101604052809291908181526020018280546124fc90615318565b80156125495780601f1061251e57610100808354040283529160200191612549565b820191906000526020600020905b81548152906001019060200180831161252c57829003601f168201915b505050505081565b606061255c82612b38565b61259b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259290614ee3565b60405180910390fd5b60006125a5613331565b9050601660019054906101000a900460ff166126025760008151116125d957604051806020016040528060008152506125fa565b806040516020016125ea9190614b40565b6040516020818303038152906040525b915050612652565b6000815111612620576040518060200160405280600081525061264e565b8061262a846133c3565b600c60405160200161263e93929190614b57565b6040516020818303038152906040525b9150505b919050565b600e5481565b612665612b30565b73ffffffffffffffffffffffffffffffffffffffff16612683611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d090614e83565b60405180910390fd5b8060128190555050565b60105481565b6126f1612b30565b73ffffffffffffffffffffffffffffffffffffffff1661270f611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614612765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275c90614e83565b60405180910390fd5b80600c908051906020019061277b929190613fbc565b5050565b60175481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60195481565b612827612b30565b73ffffffffffffffffffffffffffffffffffffffff16612845611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461289b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289290614e83565b60405180910390fd5b60005b8151811015612952576001601460008484815181106128e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061294a9061537b565b91505061289e565b5050565b61295e612b30565b73ffffffffffffffffffffffffffffffffffffffff1661297c611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146129d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c990614e83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3990614cc3565b60405180910390fd5b612a4b81612f97565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b1957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b295750612b2882613570565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c1783611aa2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c6882612b38565b612ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9e90614d83565b60405180910390fd5b6000612cb283611aa2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d2157508373ffffffffffffffffffffffffffffffffffffffff16612d0984610f77565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d325750612d318185612785565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d5b82611aa2565b73ffffffffffffffffffffffffffffffffffffffff1614612db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da890614ec3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1890614d23565b60405180910390fd5b612e2c8383836135da565b612e37600082612ba4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e87919061522e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ede919061514d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6130778282604051806020016040528060008152506136ee565b5050565b6000613085613749565b61309457600d5490508061309b565b600f549050805b5060125482846130ab919061514d565b11156130ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e390614d03565b60405180910390fd5b81816130f891906151d4565b34101561313a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313190614f23565b60405180910390fd5b60115482111561317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614d63565b60405180910390fd5b505050565b600061318e613749565b61319d57600e549050806131a4565b600f549050805b506131ae3361147a565b6131ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e490614fa3565b60405180910390fd5b60135482846131fc919061514d565b111561323d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323490614f43565b60405180910390fd5b818161324991906151d4565b34101561328b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328290614f23565b60405180910390fd5b6011548211156132d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c790614d63565b60405180910390fd5b505050565b6132e0848484612d3b565b6132ec848484846138b1565b61332b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332290614ca3565b60405180910390fd5b50505050565b6060600b805461334090615318565b80601f016020809104026020016040519081016040528092919081815260200182805461336c90615318565b80156133b95780601f1061338e576101008083540402835291602001916133b9565b820191906000526020600020905b81548152906001019060200180831161339c57829003601f168201915b5050505050905090565b6060600082141561340b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061356b565b600082905060005b6000821461343d5780806134269061537b565b915050600a8261343691906151a3565b9150613413565b60008167ffffffffffffffff81111561347f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134b15781602001600182028036833780820191505090505b5090505b60008514613564576001826134ca919061522e565b9150600a856134d991906153c4565b60306134e5919061514d565b60f81b818381518110613521577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561355d91906151a3565b94506134b5565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6135e5838383613a48565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136285761362381613a4d565b613667565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613666576136658382613a96565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136aa576136a581613c03565b6136e9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136e8576136e78282613d46565b5b5b505050565b6136f88383613dc5565b61370560008484846138b1565b613744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373b90614ca3565b60405180910390fd5b505050565b60008073e0a189c975e4928222978a74517442239a0b86ff73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016137999190614b9d565b60206040518083038186803b1580156137b157600080fd5b505afa1580156137c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137e99190614510565b905060007308dc692fe528ffecf675ab3f76981553e060fd8a73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161383a9190614b9d565b60206040518083038186803b15801561385257600080fd5b505afa158015613866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061388a9190614510565b905060006138a18284613f9390919063ffffffff16565b9050601754811015935050505090565b60006138d28473ffffffffffffffffffffffffffffffffffffffff16613fa9565b15613a3b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138fb612b30565b8786866040518563ffffffff1660e01b815260040161391d9493929190614bb8565b602060405180830381600087803b15801561393757600080fd5b505af192505050801561396857506040513d601f19601f82011682018060405250810190613965919061447d565b60015b6139eb573d8060008114613998576040519150601f19603f3d011682016040523d82523d6000602084013e61399d565b606091505b506000815114156139e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139da90614ca3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a40565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613aa384611be2565b613aad919061522e565b9050600060076000848152602001908152602001600020549050818114613b92576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613c17919061522e565b9050600060096000848152602001908152602001600020549050600060088381548110613c6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613cb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613d2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d5183611be2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e2c90614e43565b60405180910390fd5b613e3e81612b38565b15613e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7590614ce3565b60405180910390fd5b613e8a600083836135da565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613eda919061514d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008183613fa1919061514d565b905092915050565b600080823b905060008111915050919050565b828054613fc890615318565b90600052602060002090601f016020900481019282613fea5760008555614031565b82601f1061400357805160ff1916838001178555614031565b82800160010185558215614031579182015b82811115614030578251825591602001919060010190614015565b5b50905061403e9190614042565b5090565b5b8082111561405b576000816000905550600101614043565b5090565b600061407261406d84615023565b614ffe565b9050808382526020820190508285602086028201111561409157600080fd5b60005b858110156140c157816140a78882614147565b845260208401935060208301925050600181019050614094565b5050509392505050565b60006140de6140d98461504f565b614ffe565b9050828152602081018484840111156140f657600080fd5b6141018482856152d6565b509392505050565b600061411c61411784615080565b614ffe565b90508281526020810184848401111561413457600080fd5b61413f8482856152d6565b509392505050565b60008135905061415681615ba1565b92915050565b600082601f83011261416d57600080fd5b813561417d84826020860161405f565b91505092915050565b60008135905061419581615bb8565b92915050565b6000813590506141aa81615bcf565b92915050565b6000815190506141bf81615bcf565b92915050565b600082601f8301126141d657600080fd5b81356141e68482602086016140cb565b91505092915050565b600082601f83011261420057600080fd5b8135614210848260208601614109565b91505092915050565b60008135905061422881615be6565b92915050565b60008151905061423d81615be6565b92915050565b60006020828403121561425557600080fd5b600061426384828501614147565b91505092915050565b6000806040838503121561427f57600080fd5b600061428d85828601614147565b925050602061429e85828601614147565b9150509250929050565b6000806000606084860312156142bd57600080fd5b60006142cb86828701614147565b93505060206142dc86828701614147565b92505060406142ed86828701614219565b9150509250925092565b6000806000806080858703121561430d57600080fd5b600061431b87828801614147565b945050602061432c87828801614147565b935050604061433d87828801614219565b925050606085013567ffffffffffffffff81111561435a57600080fd5b614366878288016141c5565b91505092959194509250565b6000806040838503121561438557600080fd5b600061439385828601614147565b92505060206143a485828601614186565b9150509250929050565b600080604083850312156143c157600080fd5b60006143cf85828601614147565b92505060206143e085828601614219565b9150509250929050565b6000602082840312156143fc57600080fd5b600082013567ffffffffffffffff81111561441657600080fd5b6144228482850161415c565b91505092915050565b60006020828403121561443d57600080fd5b600061444b84828501614186565b91505092915050565b60006020828403121561446657600080fd5b60006144748482850161419b565b91505092915050565b60006020828403121561448f57600080fd5b600061449d848285016141b0565b91505092915050565b6000602082840312156144b857600080fd5b600082013567ffffffffffffffff8111156144d257600080fd5b6144de848285016141ef565b91505092915050565b6000602082840312156144f957600080fd5b600061450784828501614219565b91505092915050565b60006020828403121561452257600080fd5b60006145308482850161422e565b91505092915050565b6000806040838503121561454c57600080fd5b600061455a85828601614219565b925050602061456b85828601614147565b9150509250929050565b60006145818383614b22565b60208301905092915050565b61459681615262565b82525050565b60006145a7826150d6565b6145b18185615104565b93506145bc836150b1565b8060005b838110156145ed5781516145d48882614575565b97506145df836150f7565b9250506001810190506145c0565b5085935050505092915050565b61460381615274565b82525050565b6000614614826150e1565b61461e8185615115565b935061462e8185602086016152e5565b614637816154b1565b840191505092915050565b600061464d826150ec565b6146578185615131565b93506146678185602086016152e5565b614670816154b1565b840191505092915050565b6000614686826150ec565b6146908185615142565b93506146a08185602086016152e5565b80840191505092915050565b600081546146b981615318565b6146c38186615142565b945060018216600081146146de57600181146146ef57614722565b60ff19831686528186019350614722565b6146f8856150c1565b60005b8381101561471a578154818901526001820191506020810190506146fb565b838801955050505b50505092915050565b6000614738601883615131565b9150614743826154c2565b602082019050919050565b600061475b602b83615131565b9150614766826154eb565b604082019050919050565b600061477e603283615131565b91506147898261553a565b604082019050919050565b60006147a1602683615131565b91506147ac82615589565b604082019050919050565b60006147c4601c83615131565b91506147cf826155d8565b602082019050919050565b60006147e7601c83615131565b91506147f282615601565b602082019050919050565b600061480a602483615131565b91506148158261562a565b604082019050919050565b600061482d601983615131565b915061483882615679565b602082019050919050565b6000614850602883615131565b915061485b826156a2565b604082019050919050565b6000614873602c83615131565b915061487e826156f1565b604082019050919050565b6000614896603883615131565b91506148a182615740565b604082019050919050565b60006148b9602a83615131565b91506148c48261578f565b604082019050919050565b60006148dc602983615131565b91506148e7826157de565b604082019050919050565b60006148ff601683615131565b915061490a8261582d565b602082019050919050565b6000614922601783615131565b915061492d82615856565b602082019050919050565b6000614945602083615131565b91506149508261587f565b602082019050919050565b6000614968602c83615131565b9150614973826158a8565b604082019050919050565b600061498b602083615131565b9150614996826158f7565b602082019050919050565b60006149ae601683615131565b91506149b982615920565b602082019050919050565b60006149d1602983615131565b91506149dc82615949565b604082019050919050565b60006149f4602f83615131565b91506149ff82615998565b604082019050919050565b6000614a17602183615131565b9150614a22826159e7565b604082019050919050565b6000614a3a600083615126565b9150614a4582615a36565b600082019050919050565b6000614a5d601283615131565b9150614a6882615a39565b602082019050919050565b6000614a80602883615131565b9150614a8b82615a62565b604082019050919050565b6000614aa3603183615131565b9150614aae82615ab1565b604082019050919050565b6000614ac6602c83615131565b9150614ad182615b00565b604082019050919050565b6000614ae9601783615131565b9150614af482615b4f565b602082019050919050565b6000614b0c601b83615131565b9150614b1782615b78565b602082019050919050565b614b2b816152cc565b82525050565b614b3a816152cc565b82525050565b6000614b4c828461467b565b915081905092915050565b6000614b63828661467b565b9150614b6f828561467b565b9150614b7b82846146ac565b9150819050949350505050565b6000614b9382614a2d565b9150819050919050565b6000602082019050614bb2600083018461458d565b92915050565b6000608082019050614bcd600083018761458d565b614bda602083018661458d565b614be76040830185614b31565b8181036060830152614bf98184614609565b905095945050505050565b60006020820190508181036000830152614c1e818461459c565b905092915050565b6000602082019050614c3b60008301846145fa565b92915050565b60006020820190508181036000830152614c5b8184614642565b905092915050565b60006020820190508181036000830152614c7c8161472b565b9050919050565b60006020820190508181036000830152614c9c8161474e565b9050919050565b60006020820190508181036000830152614cbc81614771565b9050919050565b60006020820190508181036000830152614cdc81614794565b9050919050565b60006020820190508181036000830152614cfc816147b7565b9050919050565b60006020820190508181036000830152614d1c816147da565b9050919050565b60006020820190508181036000830152614d3c816147fd565b9050919050565b60006020820190508181036000830152614d5c81614820565b9050919050565b60006020820190508181036000830152614d7c81614843565b9050919050565b60006020820190508181036000830152614d9c81614866565b9050919050565b60006020820190508181036000830152614dbc81614889565b9050919050565b60006020820190508181036000830152614ddc816148ac565b9050919050565b60006020820190508181036000830152614dfc816148cf565b9050919050565b60006020820190508181036000830152614e1c816148f2565b9050919050565b60006020820190508181036000830152614e3c81614915565b9050919050565b60006020820190508181036000830152614e5c81614938565b9050919050565b60006020820190508181036000830152614e7c8161495b565b9050919050565b60006020820190508181036000830152614e9c8161497e565b9050919050565b60006020820190508181036000830152614ebc816149a1565b9050919050565b60006020820190508181036000830152614edc816149c4565b9050919050565b60006020820190508181036000830152614efc816149e7565b9050919050565b60006020820190508181036000830152614f1c81614a0a565b9050919050565b60006020820190508181036000830152614f3c81614a50565b9050919050565b60006020820190508181036000830152614f5c81614a73565b9050919050565b60006020820190508181036000830152614f7c81614a96565b9050919050565b60006020820190508181036000830152614f9c81614ab9565b9050919050565b60006020820190508181036000830152614fbc81614adc565b9050919050565b60006020820190508181036000830152614fdc81614aff565b9050919050565b6000602082019050614ff86000830184614b31565b92915050565b6000615008615019565b9050615014828261534a565b919050565b6000604051905090565b600067ffffffffffffffff82111561503e5761503d615482565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561506a57615069615482565b5b615073826154b1565b9050602081019050919050565b600067ffffffffffffffff82111561509b5761509a615482565b5b6150a4826154b1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615158826152cc565b9150615163836152cc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615198576151976153f5565b5b828201905092915050565b60006151ae826152cc565b91506151b9836152cc565b9250826151c9576151c8615424565b5b828204905092915050565b60006151df826152cc565b91506151ea836152cc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615223576152226153f5565b5b828202905092915050565b6000615239826152cc565b9150615244836152cc565b925082821015615257576152566153f5565b5b828203905092915050565b600061526d826152ac565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153035780820151818401526020810190506152e8565b83811115615312576000848401525b50505050565b6000600282049050600182168061533057607f821691505b6020821081141561534457615343615453565b5b50919050565b615353826154b1565b810181811067ffffffffffffffff8211171561537257615371615482565b5b80604052505050565b6000615386826152cc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b9576153b86153f5565b5b600182019050919050565b60006153cf826152cc565b91506153da836152cc565b9250826153ea576153e9615424565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f6d6178206d696e7420616d6f756e7420706572207472616e73616374696f6e2060008201527f6578636565646564000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f5769746864726177206e6f74207375636365737366756c000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656420666f7260008201527f2070726573616c65000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f55736572206973204e4f542077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b615baa81615262565b8114615bb557600080fd5b50565b615bc181615274565b8114615bcc57600080fd5b50565b615bd881615280565b8114615be357600080fd5b50565b615bef816152cc565b8114615bfa57600080fd5b5056fea26469706673582212209b1633f0dc78e571a6419d4feb881dff59a9866659fdb4bb5108c7d8f655bc4e64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c52656e74616c7a4c616d626f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c414d424f5a0000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103855760003560e01c806355f804b3116101d1578063a0712d6811610102578063d0eb26b0116100a0578063e985e9c51161006f578063e985e9c514610cf8578063eced387314610d35578063edec5f2714610d60578063f2fde38b14610d895761038c565b8063d0eb26b014610c50578063d5abeb0114610c79578063da3ef23f14610ca4578063e35eb25914610ccd5761038c565b8063ba7d2c76116100dc578063ba7d2c7614610b92578063c668286214610bbd578063c87b56dd14610be8578063cc9ff9c614610c255761038c565b8063a0712d6814610b24578063a22cb46514610b40578063b88d4fde14610b695761038c565b8063714c53981161016f578063831e60de11610149578063831e60de14610a7a57806383a076be14610aa55780638da5cb5b14610ace57806395d89b4114610af95761038c565b8063714c539814610a0f578063715018a614610a3a578063743c7f6b14610a515761038c565b80636352211e116101ab5780636352211e146109415780636f8b44b01461097e5780636f9fb98a146109a757806370a08231146109d25761038c565b806355f804b3146108c45780635c975abb146108ed57806363428570146109185761038c565b80631e08a9e4116102b65780633b2c3fb611610254578063438b630011610223578063438b6300146107f657806344a0d68a146108335780634f6ccce71461085c57806351830227146108995761038c565b80633b2c3fb6146107765780633ccfd60b1461078d5780633ea25002146107a457806342842e0e146107cd5761038c565b806323b872dd1161029057806323b872dd146106a85780632e09282e146106d15780632f745c59146106fc5780633af32abf146107395761038c565b80631e08a9e414610629578063231b071614610654578063239c70ae1461067d5761038c565b80630c88b7311161032357806313faede6116102fd57806313faede61461056b57806318160ddd1461059657806318cae269146105c15780631985cc65146105fe5761038c565b80630c88b731146104ee5780630dde14ac146105175780630e54a883146105425761038c565b806306fdde031161035f57806306fdde0314610434578063081812fc1461045f578063088a4ed01461049c578063095ea7b3146104c55761038c565b806301ffc9a71461039157806302329a29146103ce57806306c933d8146103f75761038c565b3661038c57005b600080fd5b34801561039d57600080fd5b506103b860048036038101906103b39190614454565b610db2565b6040516103c59190614c26565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f0919061442b565b610e2c565b005b34801561040357600080fd5b5061041e60048036038101906104199190614243565b610ec5565b60405161042b9190614c26565b60405180910390f35b34801561044057600080fd5b50610449610ee5565b6040516104569190614c41565b60405180910390f35b34801561046b57600080fd5b50610486600480360381019061048191906144e7565b610f77565b6040516104939190614b9d565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be91906144e7565b610ffc565b005b3480156104d157600080fd5b506104ec60048036038101906104e791906143ae565b611082565b005b3480156104fa57600080fd5b50610515600480360381019061051091906144e7565b61119a565b005b34801561052357600080fd5b5061052c611220565b6040516105399190614fe3565b60405180910390f35b34801561054e57600080fd5b50610569600480360381019061056491906144e7565b611226565b005b34801561057757600080fd5b506105806112ac565b60405161058d9190614fe3565b60405180910390f35b3480156105a257600080fd5b506105ab6112b2565b6040516105b89190614fe3565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190614243565b6112bf565b6040516105f59190614fe3565b60405180910390f35b34801561060a57600080fd5b506106136112d7565b6040516106209190614fe3565b60405180910390f35b34801561063557600080fd5b5061063e6112dd565b60405161064b9190614fe3565b60405180910390f35b34801561066057600080fd5b5061067b600480360381019061067691906144e7565b6112e3565b005b34801561068957600080fd5b50610692611369565b60405161069f9190614fe3565b60405180910390f35b3480156106b457600080fd5b506106cf60048036038101906106ca91906142a8565b61136f565b005b3480156106dd57600080fd5b506106e66113cf565b6040516106f39190614fe3565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e91906143ae565b6113d5565b6040516107309190614fe3565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b9190614243565b61147a565b60405161076d9190614c26565b60405180910390f35b34801561078257600080fd5b5061078b6114d0565b005b34801561079957600080fd5b506107a2611578565b005b3480156107b057600080fd5b506107cb60048036038101906107c691906144e7565b6116a3565b005b3480156107d957600080fd5b506107f460048036038101906107ef91906142a8565b611729565b005b34801561080257600080fd5b5061081d60048036038101906108189190614243565b611749565b60405161082a9190614c04565b60405180910390f35b34801561083f57600080fd5b5061085a600480360381019061085591906144e7565b611843565b005b34801561086857600080fd5b50610883600480360381019061087e91906144e7565b6118c9565b6040516108909190614fe3565b60405180910390f35b3480156108a557600080fd5b506108ae611960565b6040516108bb9190614c26565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e691906144a6565b611973565b005b3480156108f957600080fd5b50610902611a09565b60405161090f9190614c26565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a91906144e7565b611a1c565b005b34801561094d57600080fd5b50610968600480360381019061096391906144e7565b611aa2565b6040516109759190614b9d565b60405180910390f35b34801561098a57600080fd5b506109a560048036038101906109a091906144e7565b611b54565b005b3480156109b357600080fd5b506109bc611bda565b6040516109c99190614fe3565b60405180910390f35b3480156109de57600080fd5b506109f960048036038101906109f49190614243565b611be2565b604051610a069190614fe3565b60405180910390f35b348015610a1b57600080fd5b50610a24611c9a565b604051610a319190614c41565b60405180910390f35b348015610a4657600080fd5b50610a4f611d2c565b005b348015610a5d57600080fd5b50610a786004803603810190610a7391906144e7565b611db4565b005b348015610a8657600080fd5b50610a8f611e3a565b604051610a9c9190614fe3565b60405180910390f35b348015610ab157600080fd5b50610acc6004803603810190610ac79190614539565b611e44565b005b348015610ada57600080fd5b50610ae3611ff0565b604051610af09190614b9d565b60405180910390f35b348015610b0557600080fd5b50610b0e61201a565b604051610b1b9190614c41565b60405180910390f35b610b3e6004803603810190610b3991906144e7565b6120ac565b005b348015610b4c57600080fd5b50610b676004803603810190610b629190614372565b6122da565b005b348015610b7557600080fd5b50610b906004803603810190610b8b91906142f7565b61245b565b005b348015610b9e57600080fd5b50610ba76124bd565b604051610bb49190614fe3565b60405180910390f35b348015610bc957600080fd5b50610bd26124c3565b604051610bdf9190614c41565b60405180910390f35b348015610bf457600080fd5b50610c0f6004803603810190610c0a91906144e7565b612551565b604051610c1c9190614c41565b60405180910390f35b348015610c3157600080fd5b50610c3a612657565b604051610c479190614fe3565b60405180910390f35b348015610c5c57600080fd5b50610c776004803603810190610c7291906144e7565b61265d565b005b348015610c8557600080fd5b50610c8e6126e3565b604051610c9b9190614fe3565b60405180910390f35b348015610cb057600080fd5b50610ccb6004803603810190610cc691906144a6565b6126e9565b005b348015610cd957600080fd5b50610ce261277f565b604051610cef9190614fe3565b60405180910390f35b348015610d0457600080fd5b50610d1f6004803603810190610d1a919061426c565b612785565b604051610d2c9190614c26565b60405180910390f35b348015610d4157600080fd5b50610d4a612819565b604051610d579190614fe3565b60405180910390f35b348015610d6c57600080fd5b50610d876004803603810190610d8291906143ea565b61281f565b005b348015610d9557600080fd5b50610db06004803603810190610dab9190614243565b612956565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e255750610e2482612a4e565b5b9050919050565b610e34612b30565b73ffffffffffffffffffffffffffffffffffffffff16610e52611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614610ea8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9f90614e83565b60405180910390fd5b80601660006101000a81548160ff02191690831515021790555050565b60146020528060005260406000206000915054906101000a900460ff1681565b606060008054610ef490615318565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2090615318565b8015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b5050505050905090565b6000610f8282612b38565b610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890614e63565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b611004612b30565b73ffffffffffffffffffffffffffffffffffffffff16611022611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90614e83565b60405180910390fd5b8060118190555050565b600061108d82611aa2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f590614f03565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661111d612b30565b73ffffffffffffffffffffffffffffffffffffffff16148061114c575061114b81611146612b30565b612785565b5b61118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290614da3565b60405180910390fd5b6111958383612ba4565b505050565b6111a2612b30565b73ffffffffffffffffffffffffffffffffffffffff166111c0611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90614e83565b60405180910390fd5b80601a8190555050565b600f5481565b61122e612b30565b73ffffffffffffffffffffffffffffffffffffffff1661124c611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614e83565b60405180910390fd5b8060198190555050565b600d5481565b6000600880549050905090565b60156020528060005260406000206000915090505481565b60185481565b601a5481565b6112eb612b30565b73ffffffffffffffffffffffffffffffffffffffff16611309611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690614e83565b60405180910390fd5b80600e8190555050565b60115481565b61138061137a612b30565b82612c5d565b6113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690614f63565b60405180910390fd5b6113ca838383612d3b565b505050565b60135481565b60006113e083611be2565b8210611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890614c83565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6114d8612b30565b73ffffffffffffffffffffffffffffffffffffffff166114f6611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390614e83565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b611580612b30565b73ffffffffffffffffffffffffffffffffffffffff1661159e611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb90614e83565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161161a90614b88565b60006040518083038185875af1925050503d8060008114611657576040519150601f19603f3d011682016040523d82523d6000602084013e61165c565b606091505b50509050806116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790614e23565b60405180910390fd5b50565b6116ab612b30565b73ffffffffffffffffffffffffffffffffffffffff166116c9611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690614e83565b60405180910390fd5b8060138190555050565b6117448383836040518060200160405280600081525061245b565b505050565b6060600061175683611be2565b905060008167ffffffffffffffff81111561179a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117c85781602001602082028036833780820191505090505b50905060005b82811015611838576117e085826113d5565b828281518110611819577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806118309061537b565b9150506117ce565b508092505050919050565b61184b612b30565b73ffffffffffffffffffffffffffffffffffffffff16611869611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b690614e83565b60405180910390fd5b80600d8190555050565b60006118d36112b2565b8210611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b90614f83565b60405180910390fd5b6008828154811061194e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601660019054906101000a900460ff1681565b61197b612b30565b73ffffffffffffffffffffffffffffffffffffffff16611999611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e690614e83565b60405180910390fd5b80600b9080519060200190611a05929190613fbc565b5050565b601660009054906101000a900460ff1681565b611a24612b30565b73ffffffffffffffffffffffffffffffffffffffff16611a42611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f90614e83565b60405180910390fd5b80600f8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290614de3565b60405180910390fd5b80915050919050565b611b5c612b30565b73ffffffffffffffffffffffffffffffffffffffff16611b7a611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc790614e83565b60405180910390fd5b8060108190555050565b600047905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4a90614dc3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600b8054611ca990615318565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd590615318565b8015611d225780601f10611cf757610100808354040283529160200191611d22565b820191906000526020600020905b815481529060010190602001808311611d0557829003601f168201915b5050505050905090565b611d34612b30565b73ffffffffffffffffffffffffffffffffffffffff16611d52611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f90614e83565b60405180910390fd5b611db26000612f97565b565b611dbc612b30565b73ffffffffffffffffffffffffffffffffffffffff16611dda611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614e83565b60405180910390fd5b8060188190555050565b6000600d54905090565b611e4c612b30565b73ffffffffffffffffffffffffffffffffffffffff16611e6a611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb790614e83565b60405180910390fd5b60008211611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90614fc3565b60405180910390fd5b6000611f0d6112b2565b90506010548382611f1e919061514d565b1115611f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5690614e03565b60405180910390fd5b6000600190505b838111611fea57601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611fbd9061537b565b9190505550611fd7838284611fd2919061514d565b61305d565b8080611fe29061537b565b915050611f66565b50505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461202990615318565b80601f016020809104026020016040519081016040528092919081815260200182805461205590615318565b80156120a25780601f10612077576101008083540402835291602001916120a2565b820191906000526020600020905b81548152906001019060200180831161208557829003601f168201915b5050505050905090565b601660009054906101000a900460ff16156120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f390614ea3565b60405180910390fd5b601854421015612141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213890614c63565b60405180910390fd5b8060008111612185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217c90614fc3565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006121d36112b2565b905060195442106121ed576121e8828561307b565b6121f8565b6121f78285613184565b5b6010548482612207919061514d565b1115612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f90614e03565b60405180910390fd5b6000600190505b8481116122d357601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906122a69061537b565b91905055506122c03382846122bb919061514d565b61305d565b80806122cb9061537b565b91505061224f565b5050505050565b6122e2612b30565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234790614d43565b60405180910390fd5b806005600061235d612b30565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661240a612b30565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161244f9190614c26565b60405180910390a35050565b61246c612466612b30565b83612c5d565b6124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290614f63565b60405180910390fd5b6124b7848484846132d5565b50505050565b60125481565b600c80546124d090615318565b80601f01602080910402602001604051908101604052809291908181526020018280546124fc90615318565b80156125495780601f1061251e57610100808354040283529160200191612549565b820191906000526020600020905b81548152906001019060200180831161252c57829003601f168201915b505050505081565b606061255c82612b38565b61259b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259290614ee3565b60405180910390fd5b60006125a5613331565b9050601660019054906101000a900460ff166126025760008151116125d957604051806020016040528060008152506125fa565b806040516020016125ea9190614b40565b6040516020818303038152906040525b915050612652565b6000815111612620576040518060200160405280600081525061264e565b8061262a846133c3565b600c60405160200161263e93929190614b57565b6040516020818303038152906040525b9150505b919050565b600e5481565b612665612b30565b73ffffffffffffffffffffffffffffffffffffffff16612683611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d090614e83565b60405180910390fd5b8060128190555050565b60105481565b6126f1612b30565b73ffffffffffffffffffffffffffffffffffffffff1661270f611ff0565b73ffffffffffffffffffffffffffffffffffffffff1614612765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275c90614e83565b60405180910390fd5b80600c908051906020019061277b929190613fbc565b5050565b60175481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60195481565b612827612b30565b73ffffffffffffffffffffffffffffffffffffffff16612845611ff0565b73ffffffffffffffffffffffffffffffffffffffff161461289b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289290614e83565b60405180910390fd5b60005b8151811015612952576001601460008484815181106128e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061294a9061537b565b91505061289e565b5050565b61295e612b30565b73ffffffffffffffffffffffffffffffffffffffff1661297c611ff0565b73ffffffffffffffffffffffffffffffffffffffff16146129d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c990614e83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3990614cc3565b60405180910390fd5b612a4b81612f97565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b1957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b295750612b2882613570565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c1783611aa2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c6882612b38565b612ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9e90614d83565b60405180910390fd5b6000612cb283611aa2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d2157508373ffffffffffffffffffffffffffffffffffffffff16612d0984610f77565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d325750612d318185612785565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d5b82611aa2565b73ffffffffffffffffffffffffffffffffffffffff1614612db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da890614ec3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1890614d23565b60405180910390fd5b612e2c8383836135da565b612e37600082612ba4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e87919061522e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ede919061514d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6130778282604051806020016040528060008152506136ee565b5050565b6000613085613749565b61309457600d5490508061309b565b600f549050805b5060125482846130ab919061514d565b11156130ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e390614d03565b60405180910390fd5b81816130f891906151d4565b34101561313a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313190614f23565b60405180910390fd5b60115482111561317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614d63565b60405180910390fd5b505050565b600061318e613749565b61319d57600e549050806131a4565b600f549050805b506131ae3361147a565b6131ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e490614fa3565b60405180910390fd5b60135482846131fc919061514d565b111561323d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323490614f43565b60405180910390fd5b818161324991906151d4565b34101561328b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328290614f23565b60405180910390fd5b6011548211156132d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c790614d63565b60405180910390fd5b505050565b6132e0848484612d3b565b6132ec848484846138b1565b61332b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332290614ca3565b60405180910390fd5b50505050565b6060600b805461334090615318565b80601f016020809104026020016040519081016040528092919081815260200182805461336c90615318565b80156133b95780601f1061338e576101008083540402835291602001916133b9565b820191906000526020600020905b81548152906001019060200180831161339c57829003601f168201915b5050505050905090565b6060600082141561340b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061356b565b600082905060005b6000821461343d5780806134269061537b565b915050600a8261343691906151a3565b9150613413565b60008167ffffffffffffffff81111561347f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134b15781602001600182028036833780820191505090505b5090505b60008514613564576001826134ca919061522e565b9150600a856134d991906153c4565b60306134e5919061514d565b60f81b818381518110613521577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561355d91906151a3565b94506134b5565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6135e5838383613a48565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136285761362381613a4d565b613667565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613666576136658382613a96565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136aa576136a581613c03565b6136e9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136e8576136e78282613d46565b5b5b505050565b6136f88383613dc5565b61370560008484846138b1565b613744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373b90614ca3565b60405180910390fd5b505050565b60008073e0a189c975e4928222978a74517442239a0b86ff73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016137999190614b9d565b60206040518083038186803b1580156137b157600080fd5b505afa1580156137c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137e99190614510565b905060007308dc692fe528ffecf675ab3f76981553e060fd8a73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161383a9190614b9d565b60206040518083038186803b15801561385257600080fd5b505afa158015613866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061388a9190614510565b905060006138a18284613f9390919063ffffffff16565b9050601754811015935050505090565b60006138d28473ffffffffffffffffffffffffffffffffffffffff16613fa9565b15613a3b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138fb612b30565b8786866040518563ffffffff1660e01b815260040161391d9493929190614bb8565b602060405180830381600087803b15801561393757600080fd5b505af192505050801561396857506040513d601f19601f82011682018060405250810190613965919061447d565b60015b6139eb573d8060008114613998576040519150601f19603f3d011682016040523d82523d6000602084013e61399d565b606091505b506000815114156139e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139da90614ca3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a40565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613aa384611be2565b613aad919061522e565b9050600060076000848152602001908152602001600020549050818114613b92576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613c17919061522e565b9050600060096000848152602001908152602001600020549050600060088381548110613c6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613cb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613d2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d5183611be2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e2c90614e43565b60405180910390fd5b613e3e81612b38565b15613e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7590614ce3565b60405180910390fd5b613e8a600083836135da565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613eda919061514d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008183613fa1919061514d565b905092915050565b600080823b905060008111915050919050565b828054613fc890615318565b90600052602060002090601f016020900481019282613fea5760008555614031565b82601f1061400357805160ff1916838001178555614031565b82800160010185558215614031579182015b82811115614030578251825591602001919060010190614015565b5b50905061403e9190614042565b5090565b5b8082111561405b576000816000905550600101614043565b5090565b600061407261406d84615023565b614ffe565b9050808382526020820190508285602086028201111561409157600080fd5b60005b858110156140c157816140a78882614147565b845260208401935060208301925050600181019050614094565b5050509392505050565b60006140de6140d98461504f565b614ffe565b9050828152602081018484840111156140f657600080fd5b6141018482856152d6565b509392505050565b600061411c61411784615080565b614ffe565b90508281526020810184848401111561413457600080fd5b61413f8482856152d6565b509392505050565b60008135905061415681615ba1565b92915050565b600082601f83011261416d57600080fd5b813561417d84826020860161405f565b91505092915050565b60008135905061419581615bb8565b92915050565b6000813590506141aa81615bcf565b92915050565b6000815190506141bf81615bcf565b92915050565b600082601f8301126141d657600080fd5b81356141e68482602086016140cb565b91505092915050565b600082601f83011261420057600080fd5b8135614210848260208601614109565b91505092915050565b60008135905061422881615be6565b92915050565b60008151905061423d81615be6565b92915050565b60006020828403121561425557600080fd5b600061426384828501614147565b91505092915050565b6000806040838503121561427f57600080fd5b600061428d85828601614147565b925050602061429e85828601614147565b9150509250929050565b6000806000606084860312156142bd57600080fd5b60006142cb86828701614147565b93505060206142dc86828701614147565b92505060406142ed86828701614219565b9150509250925092565b6000806000806080858703121561430d57600080fd5b600061431b87828801614147565b945050602061432c87828801614147565b935050604061433d87828801614219565b925050606085013567ffffffffffffffff81111561435a57600080fd5b614366878288016141c5565b91505092959194509250565b6000806040838503121561438557600080fd5b600061439385828601614147565b92505060206143a485828601614186565b9150509250929050565b600080604083850312156143c157600080fd5b60006143cf85828601614147565b92505060206143e085828601614219565b9150509250929050565b6000602082840312156143fc57600080fd5b600082013567ffffffffffffffff81111561441657600080fd5b6144228482850161415c565b91505092915050565b60006020828403121561443d57600080fd5b600061444b84828501614186565b91505092915050565b60006020828403121561446657600080fd5b60006144748482850161419b565b91505092915050565b60006020828403121561448f57600080fd5b600061449d848285016141b0565b91505092915050565b6000602082840312156144b857600080fd5b600082013567ffffffffffffffff8111156144d257600080fd5b6144de848285016141ef565b91505092915050565b6000602082840312156144f957600080fd5b600061450784828501614219565b91505092915050565b60006020828403121561452257600080fd5b60006145308482850161422e565b91505092915050565b6000806040838503121561454c57600080fd5b600061455a85828601614219565b925050602061456b85828601614147565b9150509250929050565b60006145818383614b22565b60208301905092915050565b61459681615262565b82525050565b60006145a7826150d6565b6145b18185615104565b93506145bc836150b1565b8060005b838110156145ed5781516145d48882614575565b97506145df836150f7565b9250506001810190506145c0565b5085935050505092915050565b61460381615274565b82525050565b6000614614826150e1565b61461e8185615115565b935061462e8185602086016152e5565b614637816154b1565b840191505092915050565b600061464d826150ec565b6146578185615131565b93506146678185602086016152e5565b614670816154b1565b840191505092915050565b6000614686826150ec565b6146908185615142565b93506146a08185602086016152e5565b80840191505092915050565b600081546146b981615318565b6146c38186615142565b945060018216600081146146de57600181146146ef57614722565b60ff19831686528186019350614722565b6146f8856150c1565b60005b8381101561471a578154818901526001820191506020810190506146fb565b838801955050505b50505092915050565b6000614738601883615131565b9150614743826154c2565b602082019050919050565b600061475b602b83615131565b9150614766826154eb565b604082019050919050565b600061477e603283615131565b91506147898261553a565b604082019050919050565b60006147a1602683615131565b91506147ac82615589565b604082019050919050565b60006147c4601c83615131565b91506147cf826155d8565b602082019050919050565b60006147e7601c83615131565b91506147f282615601565b602082019050919050565b600061480a602483615131565b91506148158261562a565b604082019050919050565b600061482d601983615131565b915061483882615679565b602082019050919050565b6000614850602883615131565b915061485b826156a2565b604082019050919050565b6000614873602c83615131565b915061487e826156f1565b604082019050919050565b6000614896603883615131565b91506148a182615740565b604082019050919050565b60006148b9602a83615131565b91506148c48261578f565b604082019050919050565b60006148dc602983615131565b91506148e7826157de565b604082019050919050565b60006148ff601683615131565b915061490a8261582d565b602082019050919050565b6000614922601783615131565b915061492d82615856565b602082019050919050565b6000614945602083615131565b91506149508261587f565b602082019050919050565b6000614968602c83615131565b9150614973826158a8565b604082019050919050565b600061498b602083615131565b9150614996826158f7565b602082019050919050565b60006149ae601683615131565b91506149b982615920565b602082019050919050565b60006149d1602983615131565b91506149dc82615949565b604082019050919050565b60006149f4602f83615131565b91506149ff82615998565b604082019050919050565b6000614a17602183615131565b9150614a22826159e7565b604082019050919050565b6000614a3a600083615126565b9150614a4582615a36565b600082019050919050565b6000614a5d601283615131565b9150614a6882615a39565b602082019050919050565b6000614a80602883615131565b9150614a8b82615a62565b604082019050919050565b6000614aa3603183615131565b9150614aae82615ab1565b604082019050919050565b6000614ac6602c83615131565b9150614ad182615b00565b604082019050919050565b6000614ae9601783615131565b9150614af482615b4f565b602082019050919050565b6000614b0c601b83615131565b9150614b1782615b78565b602082019050919050565b614b2b816152cc565b82525050565b614b3a816152cc565b82525050565b6000614b4c828461467b565b915081905092915050565b6000614b63828661467b565b9150614b6f828561467b565b9150614b7b82846146ac565b9150819050949350505050565b6000614b9382614a2d565b9150819050919050565b6000602082019050614bb2600083018461458d565b92915050565b6000608082019050614bcd600083018761458d565b614bda602083018661458d565b614be76040830185614b31565b8181036060830152614bf98184614609565b905095945050505050565b60006020820190508181036000830152614c1e818461459c565b905092915050565b6000602082019050614c3b60008301846145fa565b92915050565b60006020820190508181036000830152614c5b8184614642565b905092915050565b60006020820190508181036000830152614c7c8161472b565b9050919050565b60006020820190508181036000830152614c9c8161474e565b9050919050565b60006020820190508181036000830152614cbc81614771565b9050919050565b60006020820190508181036000830152614cdc81614794565b9050919050565b60006020820190508181036000830152614cfc816147b7565b9050919050565b60006020820190508181036000830152614d1c816147da565b9050919050565b60006020820190508181036000830152614d3c816147fd565b9050919050565b60006020820190508181036000830152614d5c81614820565b9050919050565b60006020820190508181036000830152614d7c81614843565b9050919050565b60006020820190508181036000830152614d9c81614866565b9050919050565b60006020820190508181036000830152614dbc81614889565b9050919050565b60006020820190508181036000830152614ddc816148ac565b9050919050565b60006020820190508181036000830152614dfc816148cf565b9050919050565b60006020820190508181036000830152614e1c816148f2565b9050919050565b60006020820190508181036000830152614e3c81614915565b9050919050565b60006020820190508181036000830152614e5c81614938565b9050919050565b60006020820190508181036000830152614e7c8161495b565b9050919050565b60006020820190508181036000830152614e9c8161497e565b9050919050565b60006020820190508181036000830152614ebc816149a1565b9050919050565b60006020820190508181036000830152614edc816149c4565b9050919050565b60006020820190508181036000830152614efc816149e7565b9050919050565b60006020820190508181036000830152614f1c81614a0a565b9050919050565b60006020820190508181036000830152614f3c81614a50565b9050919050565b60006020820190508181036000830152614f5c81614a73565b9050919050565b60006020820190508181036000830152614f7c81614a96565b9050919050565b60006020820190508181036000830152614f9c81614ab9565b9050919050565b60006020820190508181036000830152614fbc81614adc565b9050919050565b60006020820190508181036000830152614fdc81614aff565b9050919050565b6000602082019050614ff86000830184614b31565b92915050565b6000615008615019565b9050615014828261534a565b919050565b6000604051905090565b600067ffffffffffffffff82111561503e5761503d615482565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561506a57615069615482565b5b615073826154b1565b9050602081019050919050565b600067ffffffffffffffff82111561509b5761509a615482565b5b6150a4826154b1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615158826152cc565b9150615163836152cc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615198576151976153f5565b5b828201905092915050565b60006151ae826152cc565b91506151b9836152cc565b9250826151c9576151c8615424565b5b828204905092915050565b60006151df826152cc565b91506151ea836152cc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615223576152226153f5565b5b828202905092915050565b6000615239826152cc565b9150615244836152cc565b925082821015615257576152566153f5565b5b828203905092915050565b600061526d826152ac565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153035780820151818401526020810190506152e8565b83811115615312576000848401525b50505050565b6000600282049050600182168061533057607f821691505b6020821081141561534457615343615453565b5b50919050565b615353826154b1565b810181811067ffffffffffffffff8211171561537257615371615482565b5b80604052505050565b6000615386826152cc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b9576153b86153f5565b5b600182019050919050565b60006153cf826152cc565b91506153da836152cc565b9250826153ea576153e9615424565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f6d6178206d696e7420616d6f756e7420706572207472616e73616374696f6e2060008201527f6578636565646564000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f5769746864726177206e6f74207375636365737366756c000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656420666f7260008201527f2070726573616c65000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f55736572206973204e4f542077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b615baa81615262565b8114615bb557600080fd5b50565b615bc181615274565b8114615bcc57600080fd5b50565b615bd881615280565b8114615be357600080fd5b50565b615bef816152cc565b8114615bfa57600080fd5b5056fea26469706673582212209b1633f0dc78e571a6419d4feb881dff59a9866659fdb4bb5108c7d8f655bc4e64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c52656e74616c7a4c616d626f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c414d424f5a0000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): RentalzLambo
Arg [1] : _symbol (string): LAMBOZ
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 52656e74616c7a4c616d626f0000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4c414d424f5a0000000000000000000000000000000000000000000000000000
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.