More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,840 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 69348980 | 17 hrs ago | IN | 0 POL | 0.00142494 | ||||
Set Approval For... | 69169529 | 5 days ago | IN | 0 POL | 0.00142494 | ||||
Set Approval For... | 68766562 | 15 days ago | IN | 0 POL | 0.002421 | ||||
Set Approval For... | 68318507 | 26 days ago | IN | 0 POL | 0.00446695 | ||||
Set Approval For... | 68302297 | 26 days ago | IN | 0 POL | 0.00178039 | ||||
Set Approval For... | 67924072 | 36 days ago | IN | 0 POL | 0.0007123 | ||||
Set Approval For... | 67417060 | 49 days ago | IN | 0 POL | 0.00091848 | ||||
Set Approval For... | 66139004 | 81 days ago | IN | 0 POL | 0.00198834 | ||||
Set Approval For... | 65859597 | 88 days ago | IN | 0 POL | 0.00177094 | ||||
Set Approval For... | 64854739 | 113 days ago | IN | 0 POL | 0.00142494 | ||||
Set Approval For... | 64122276 | 132 days ago | IN | 0 POL | 0.00395979 | ||||
Set Approval For... | 63805996 | 140 days ago | IN | 0 POL | 0.00084711 | ||||
Set Approval For... | 63783993 | 140 days ago | IN | 0 POL | 0.00137577 | ||||
Set Approval For... | 63768810 | 141 days ago | IN | 0 POL | 0.00180338 | ||||
Set Approval For... | 63103066 | 157 days ago | IN | 0 POL | 0.00267817 | ||||
Set Approval For... | 62585042 | 170 days ago | IN | 0 POL | 0.00153275 | ||||
Set Approval For... | 62313561 | 177 days ago | IN | 0 POL | 0.00156743 | ||||
Set Approval For... | 61768589 | 190 days ago | IN | 0 POL | 0.00142573 | ||||
Set Approval For... | 61691182 | 192 days ago | IN | 0 POL | 0.00082445 | ||||
Set Approval For... | 61691176 | 192 days ago | IN | 0 POL | 0.00082445 | ||||
Set Approval For... | 61691108 | 192 days ago | IN | 0 POL | 0.00084433 | ||||
Set Approval For... | 61537227 | 196 days ago | IN | 0 POL | 0.00142494 | ||||
Set Approval For... | 60919295 | 211 days ago | IN | 0 POL | 0.00142494 | ||||
Set Approval For... | 60347762 | 226 days ago | IN | 0 POL | 0.0008274 | ||||
Set Approval For... | 60021834 | 234 days ago | IN | 0 POL | 0.0007701 |
Loading...
Loading
Contract Name:
WhelpsNFT
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-09-22 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.7; // Part: Address /** * @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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // Part: Context /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Part: EnumerableSet /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // Part: IERC165 /** * @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); } // Part: IERC721Receiver /** * @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); } // Part: SafeMath // 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 no longer needed starting with Solidity 0.8. 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. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * 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; } } } // Part: Strings /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // Part: ERC165 /** * @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; } } // Part: EnumerableMap /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping (bytes32 => bytes32) _values; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { map._values[key] = value; return map._keys.add(key); } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { delete map._values[key]; return map._keys.remove(key); } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.length(); } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // Part: IERC721 /** * @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; } // Part: Ownable /** * @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); } } // Part: IERC721Enumerable /** * @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); } // Part: IERC721Metadata /** * @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); } // Part: ERC721 /** * @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}. 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } } // Part: ERC721Enumerable /** * @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(); } } // File: FPOLY_WhelpsNFT.sol contract WhelpsNFT is ERC721Enumerable, Ownable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; address public _approvedContract = address(0); /** * @dev Returns the address of the current owner. */ function approvedContract() public view virtual returns (address) { return _approvedContract; } function setApprovedContract(address _contract) external onlyOwner { _approvedContract = _contract; } modifier onlyOwnerOrApprovedContract() { require(owner() == _msgSender() || approvedContract() == _msgSender(), "Caller is not the owner or the approved contract"); _; } event ActionBuy(address indexed _owner, uint256 _id, uint256 count); event ActionAward(address indexed _owner, uint256 _id, uint256 count); uint256 public constant MAX_NFT_SUPPLY = 7777; string[6] public namesBreed = ["inferno", "tidal", "gravestone", "zephyr", "trakkor", "ironlung"]; string[10] public namesBackground = ["bg0", "bg1", "bg2", "bg3", "bg4", "bg5", "bg6", "bg7", "bg8", "bg9"]; string[6] public namesPattern = ["nopattern", "stripes", "spots", "spirals", "prismatic", "xray"]; string[6] public namesMood = ["nomood", "bashful", "silly", "confused", "chill", "fierce"]; string[8] public namesBreath = ["nobreath", "flame", "icy", "electric", "poison", "darkness", "cosmic", "sonic"]; string[8] public namesHorns = ["nohorns", "long", "spiked", "webbed", "ram", "bone", "uni", "bull"]; mapping (uint256 => uint256) public tokenIdToIndexBreed; mapping (uint256 => uint256) public tokenIdToIndexBackground; mapping (uint256 => uint256) public tokenIdToIndexPattern; mapping (uint256 => uint256) public tokenIdToIndexMood; mapping (uint256 => uint256) public tokenIdToIndexBreath; mapping (uint256 => uint256) public tokenIdToIndexHorns; string public baseURI = "https://whelpsio.herokuapp.com/api-poly/"; string public ipfsBaseURI = "https://whelps.mypinata.cloud/ipfs/"; mapping (uint256 => string) public tokenTraitSummaryToIpfsHash; mapping (uint256 => string) public tokenIdToIpfsHash; // 1 - force use computed name for all // 2 - use ipfs token id if available, fallback to token id // 3 - force use ipfs hash for all // 4 - use ipfs hash + computed name if available, fallback to computed name uint256 public metadataSwitch = 1; bool public ipfsLocked = false; mapping (uint256 => bool) public ipfsLockPerToken; bool public switchLocked = false; bool public manualMintAllowed = true; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory __name, string memory __symbol) ERC721(__name, __symbol) {} // Metadata handlers function _baseURI() internal view override returns (string memory) { return baseURI; } function _ipfsBaseURI() internal view returns (string memory) { return ipfsBaseURI; } function setBaseUri(string memory _uri) external onlyOwner { baseURI = _uri; } function setIpfsBaseUri(string memory _uri) external onlyOwner { require(ipfsLocked == false); ipfsBaseURI = _uri; } function lockIpfsMetadata() external onlyOwner { require(ipfsLocked == false); ipfsLocked = true; } function setMetadataSwitch(uint256 _switch) external onlyOwner { require(!switchLocked, "Locked"); require(_switch >= 1 && _switch <= 4); metadataSwitch = _switch; } function lockMetadataSwitch() external onlyOwner { require(switchLocked == false); switchLocked = true; } function setIpfsHash(uint256 traitSummary, string memory hash) external onlyOwnerOrApprovedContract { if (ipfsLocked == true) { require(bytes(tokenTraitSummaryToIpfsHash[traitSummary]).length == 0); } require(ipfsLockPerToken[traitSummary] == false); tokenTraitSummaryToIpfsHash[traitSummary] = hash; } function setIpfsHashByTokenId(uint256 tokenId, string memory hash) external onlyOwnerOrApprovedContract { if (ipfsLocked == true) { require(bytes(tokenIdToIpfsHash[tokenId]).length == 0); } tokenIdToIpfsHash[tokenId] = hash; } function lockIpfsPerToken(uint256 traitSummary) external onlyOwnerOrApprovedContract { require(ipfsLockPerToken[traitSummary] == false); ipfsLockPerToken[traitSummary] = true; } function tokenURIComputedName(uint256 tokenId) public view returns (string memory) { return string(abi.encodePacked( namesBreed[tokenIdToIndexBreed[tokenId]], "-", namesBackground[tokenIdToIndexBackground[tokenId]], "-", namesPattern[tokenIdToIndexPattern[tokenId]], "-", namesMood[tokenIdToIndexMood[tokenId]], "-", namesBreath[tokenIdToIndexBreath[tokenId]], "-", namesHorns[tokenIdToIndexHorns[tokenId]] )); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory base = _baseURI(); string memory ipfsBase = _ipfsBaseURI(); string memory computedName = tokenURIComputedName(tokenId); string memory ipfsHash = tokenTraitSummaryToIpfsHash[uint256(keccak256(bytes(computedName)))]; string memory ipfsHashByTokenId = tokenIdToIpfsHash[tokenId]; if (metadataSwitch == 1) { // force computed name return string(abi.encodePacked(base, computedName, "/", tokenId.toString())); } else if (metadataSwitch == 2) { // ipfs hash / ipfs token id if available, fallback to base token id if (bytes(ipfsBase).length == 0) { return string(abi.encodePacked(base, tokenId.toString())); } else { if (bytes(ipfsHashByTokenId).length == 0) { return string(abi.encodePacked(ipfsBase, tokenId.toString())); } else { return string(abi.encodePacked(ipfsBase, ipfsHashByTokenId)); } } } else if (metadataSwitch == 3) { // force ipfs hash return string(abi.encodePacked(ipfsBase, ipfsHash)); } else if (metadataSwitch == 4) { // ipfs hash computed name if available, fallback to base computed name if (bytes(ipfsBase).length == 0) { return string(abi.encodePacked(base, computedName, "/", tokenId.toString())); } else { if (bytes(ipfsHash).length == 0) { return string(abi.encodePacked(ipfsBase, computedName)); } else { return string(abi.encodePacked(ipfsBase, ipfsHash)); } } } return ""; } // Minting function disableManualMint() public onlyOwner { manualMintAllowed = false; } struct MintTraitsInfo { uint256 indexBreed; uint256 indexBackground; uint256 indexPattern; uint256 indexMood; uint256 indexBreath; uint256 indexHorns; } function mint(address[] calldata owners, uint256[] calldata tokenIds, MintTraitsInfo[] calldata traits) public onlyOwner { require(manualMintAllowed, "Not allowed"); for (uint256 i = 0; i < tokenIds.length; i++) { require(!_exists(tokenIds[i]), "Token already minted"); _mint(owners[i], tokenIds[i]); tokenIdToIndexBreed[tokenIds[i]] = traits[i].indexBreed; tokenIdToIndexBackground[tokenIds[i]] = traits[i].indexBackground; tokenIdToIndexPattern[tokenIds[i]] = traits[i].indexPattern; tokenIdToIndexMood[tokenIds[i]] = traits[i].indexMood; tokenIdToIndexBreath[tokenIds[i]] = traits[i].indexBreath; tokenIdToIndexHorns[tokenIds[i]] = traits[i].indexHorns; } } /** * @dev Withdraw ether from this contract (Callable by owner) */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ActionAward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ActionBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_approvedContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"approvedContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableManualMint","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":"ipfsBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ipfsLockPerToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ipfsLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockIpfsMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"traitSummary","type":"uint256"}],"name":"lockIpfsPerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockMetadataSwitch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualMintAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataSwitch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"components":[{"internalType":"uint256","name":"indexBreed","type":"uint256"},{"internalType":"uint256","name":"indexBackground","type":"uint256"},{"internalType":"uint256","name":"indexPattern","type":"uint256"},{"internalType":"uint256","name":"indexMood","type":"uint256"},{"internalType":"uint256","name":"indexBreath","type":"uint256"},{"internalType":"uint256","name":"indexHorns","type":"uint256"}],"internalType":"struct WhelpsNFT.MintTraitsInfo[]","name":"traits","type":"tuple[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesBackground","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesBreath","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesBreed","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesHorns","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesMood","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesPattern","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setApprovedContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setIpfsBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"traitSummary","type":"uint256"},{"internalType":"string","name":"hash","type":"string"}],"name":"setIpfsHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"hash","type":"string"}],"name":"setIpfsHashByTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_switch","type":"uint256"}],"name":"setMetadataSwitch","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":"switchLocked","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":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIndexBackground","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIndexBreath","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIndexBreed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIndexHorns","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIndexMood","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIndexPattern","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIpfsHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"","type":"uint256"}],"name":"tokenTraitSummaryToIpfsHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURIComputedName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060c001604052806040518060400160405280600781526020017f696e6665726e6f0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f746964616c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f677261766573746f6e650000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f7a6570687972000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f7472616b6b6f720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f69726f6e6c756e67000000000000000000000000000000000000000000000000815250815250600c906006620001c392919062000d2e565b506040518061014001604052806040518060400160405280600381526020017f626730000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626731000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626732000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626733000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626734000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626735000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626736000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626737000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f626738000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f6267390000000000000000000000000000000000000000000000000000000000815250815250601290600a6200042e92919062000d88565b506040518060c001604052806040518060400160405280600981526020017f6e6f7061747465726e000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f737472697065730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f73706f747300000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f73706972616c730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f707269736d61746963000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f7872617900000000000000000000000000000000000000000000000000000000815250815250601c906006620005ac92919062000d2e565b506040518060c001604052806040518060400160405280600681526020017f6e6f6d6f6f64000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f6261736866756c0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f73696c6c7900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f636f6e667573656400000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f6368696c6c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f666965726365000000000000000000000000000000000000000000000000000081525081525060229060066200072a92919062000d2e565b506040518061010001604052806040518060400160405280600881526020017f6e6f62726561746800000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f666c616d6500000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f696379000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f656c65637472696300000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f706f69736f6e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f6461726b6e65737300000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f636f736d6963000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f736f6e696300000000000000000000000000000000000000000000000000000081525081525060289060086200091f92919062000de2565b506040518061010001604052806040518060400160405280600781526020017f6e6f686f726e730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f6c6f6e670000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f7370696b6564000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f776562626564000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f72616d000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f626f6e650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f756e69000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f62756c6c00000000000000000000000000000000000000000000000000000000815250815250603090600862000b1492919062000de2565b5060405180606001604052806028815260200162006bb660289139603e908051906020019062000b4692919062000e3c565b5060405180606001604052806023815260200162006b9360239139603f908051906020019062000b7892919062000e3c565b5060016042556000604360006101000a81548160ff0219169083151502179055506000604560006101000a81548160ff0219169083151502179055506001604560016101000a81548160ff02191690831515021790555034801562000bdc57600080fd5b5060405162006bde38038062006bde833981810160405281019062000c02919062000fd8565b8181816000908051906020019062000c1c92919062000e3c565b50806001908051906020019062000c3592919062000e3c565b50505062000c5862000c4c62000c6060201b60201c565b62000c6860201b60201c565b5050620011e1565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b826006810192821562000d75579160200282015b8281111562000d7457825182908051906020019062000d6392919062000e3c565b509160200191906001019062000d42565b5b50905062000d84919062000ecd565b5090565b82600a810192821562000dcf579160200282015b8281111562000dce57825182908051906020019062000dbd92919062000e3c565b509160200191906001019062000d9c565b5b50905062000dde919062000ecd565b5090565b826008810192821562000e29579160200282015b8281111562000e2857825182908051906020019062000e1792919062000e3c565b509160200191906001019062000df6565b5b50905062000e38919062000ecd565b5090565b82805462000e4a90620010f2565b90600052602060002090601f01602090048101928262000e6e576000855562000eba565b82601f1062000e8957805160ff191683800117855562000eba565b8280016001018555821562000eba579182015b8281111562000eb957825182559160200191906001019062000e9c565b5b50905062000ec9919062000ef5565b5090565b5b8082111562000ef1576000818162000ee7919062000f14565b5060010162000ece565b5090565b5b8082111562000f1057600081600090555060010162000ef6565b5090565b50805462000f2290620010f2565b6000825580601f1062000f36575062000f57565b601f01602090049060005260206000209081019062000f56919062000ef5565b5b50565b600062000f7162000f6b8462001086565b6200105d565b90508281526020810184848401111562000f905762000f8f620011c1565b5b62000f9d848285620010bc565b509392505050565b600082601f83011262000fbd5762000fbc620011bc565b5b815162000fcf84826020860162000f5a565b91505092915050565b6000806040838503121562000ff25762000ff1620011cb565b5b600083015167ffffffffffffffff811115620010135762001012620011c6565b5b620010218582860162000fa5565b925050602083015167ffffffffffffffff811115620010455762001044620011c6565b5b620010538582860162000fa5565b9150509250929050565b6000620010696200107c565b905062001077828262001128565b919050565b6000604051905090565b600067ffffffffffffffff821115620010a457620010a36200118d565b5b620010af82620011d0565b9050602081019050919050565b60005b83811015620010dc578082015181840152602081019050620010bf565b83811115620010ec576000848401525b50505050565b600060028204905060018216806200110b57607f821691505b602082108114156200112257620011216200115e565b5b50919050565b6200113382620011d0565b810181811067ffffffffffffffff821117156200115557620011546200118d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6159a280620011f16000396000f3fe608060405234801561001057600080fd5b50600436106102885760003560e01c806301ffc9a71461028d5780630385c0de146102bd57806306fdde03146102d9578063081812fc146102f7578063095ea7b3146103275780630ac469b8146103435780630af90ea6146103735780630f52b76e14610391578063123ac9a91461039b57806318160ddd146103a5578063198c92d0146103c35780631fb3060f146103f357806323b872dd1461040f5780632675f7661461042b5780632b4ab9f11461045b5780632be9279d1461048b5780632e9c6371146104a95780632efec303146104d95780632f745c591461050957806338cdbddd146105395780633ccfd60b14610555578063412207061461055f57806342842e0e1461058f578063441482b1146105ab57806344aab043146105db5780634f6ccce71461060b5780635368978d1461063b5780636352211e1461066b57806369242dc61461069b57806369362fb1146106b75780636c0360eb146106d55780636efe17e1146106f357806370a0823114610723578063715018a61461075357806378cb6f981461075d578063831a460f1461077957806386ac5b1f146107955780638da5cb5b146107c5578063949de446146107e357806395d89b41146108015780639c0dbc481461081f5780639ca8008e1461083d578063a0bcfc7f1461086d578063a22cb46514610889578063ac919dc0146108a5578063b35fbf74146108d5578063b5077f4414610905578063b88d4fde14610923578063c87b56dd1461093f578063cda8c90f1461096f578063cf368d5214610979578063e985e9c514610995578063f0c5bbaa146109c5578063f0fb21b0146109f5578063f2fde38b14610a13578063fe288c7214610a2f575b600080fd5b6102a760048036038101906102a29190614457565b610a4d565b6040516102b49190614b70565b60405180910390f35b6102d760048036038101906102d29190614527565b610ac7565b005b6102e1610c2d565b6040516102ee9190614b8b565b60405180910390f35b610311600480360381019061030c91906144fa565b610cbf565b60405161031e9190614b09565b60405180910390f35b610341600480360381019061033c9190614363565b610d44565b005b61035d600480360381019061035891906144fa565b610e5c565b60405161036a9190614b8b565b60405180910390f35b61037b610eff565b6040516103889190614b70565b60405180910390f35b610399610f12565b005b6103a3610fab565b005b6103ad611064565b6040516103ba9190614e6d565b60405180910390f35b6103dd60048036038101906103d891906144fa565b611071565b6040516103ea9190614b8b565b60405180910390f35b61040d600480360381019061040891906144b1565b611114565b005b6104296004803603810190610424919061424d565b6111ca565b005b610445600480360381019061044091906144fa565b61122a565b6040516104529190614b8b565b60405180910390f35b610475600480360381019061047091906144fa565b6112cd565b6040516104829190614e6d565b60405180910390f35b6104936112e5565b6040516104a09190614b70565b60405180910390f35b6104c360048036038101906104be91906144fa565b6112f8565b6040516104d09190614e6d565b60405180910390f35b6104f360048036038101906104ee91906144fa565b611310565b6040516105009190614e6d565b60405180910390f35b610523600480360381019061051e9190614363565b611328565b6040516105309190614e6d565b60405180910390f35b610553600480360381019061054e91906144fa565b6113cd565b005b61055d6114be565b005b610579600480360381019061057491906144fa565b611589565b6040516105869190614b8b565b60405180910390f35b6105a960048036038101906105a4919061424d565b6116a6565b005b6105c560048036038101906105c091906144fa565b6116c6565b6040516105d29190614b8b565b60405180910390f35b6105f560048036038101906105f091906144fa565b611769565b6040516106029190614b8b565b60405180910390f35b610625600480360381019061062091906144fa565b61180c565b6040516106329190614e6d565b60405180910390f35b610655600480360381019061065091906144fa565b61187d565b6040516106629190614e6d565b60405180910390f35b610685600480360381019061068091906144fa565b611895565b6040516106929190614b09565b60405180910390f35b6106b560048036038101906106b091906141e0565b611947565b005b6106bf611a07565b6040516106cc9190614b70565b60405180910390f35b6106dd611a1a565b6040516106ea9190614b8b565b60405180910390f35b61070d600480360381019061070891906144fa565b611aa8565b60405161071a9190614b8b565b60405180910390f35b61073d600480360381019061073891906141e0565b611b4b565b60405161074a9190614e6d565b60405180910390f35b61075b611c03565b005b610777600480360381019061077291906143a3565b611c8b565b005b610793600480360381019061078e91906144fa565b611ffa565b005b6107af60048036038101906107aa91906144fa565b61211a565b6040516107bc9190614e6d565b60405180910390f35b6107cd612132565b6040516107da9190614b09565b60405180910390f35b6107eb61215c565b6040516107f89190614e6d565b60405180910390f35b610809612162565b6040516108169190614b8b565b60405180910390f35b6108276121f4565b6040516108349190614b09565b60405180910390f35b610857600480360381019061085291906144fa565b61221a565b6040516108649190614e6d565b60405180910390f35b610887600480360381019061088291906144b1565b612232565b005b6108a3600480360381019061089e9190614323565b6122c8565b005b6108bf60048036038101906108ba91906144fa565b612449565b6040516108cc9190614b8b565b60405180910390f35b6108ef60048036038101906108ea91906144fa565b6124e9565b6040516108fc9190614b70565b60405180910390f35b61090d612509565b60405161091a9190614e6d565b60405180910390f35b61093d600480360381019061093891906142a0565b61250f565b005b610959600480360381019061095491906144fa565b612571565b6040516109669190614b8b565b60405180910390f35b61097761292f565b005b610993600480360381019061098e9190614527565b6129e8565b005b6109af60048036038101906109aa919061420d565b612b1d565b6040516109bc9190614b70565b60405180910390f35b6109df60048036038101906109da91906144fa565b612bb1565b6040516109ec9190614b8b565b60405180910390f35b6109fd612c51565b604051610a0a9190614b8b565b60405180910390f35b610a2d6004803603810190610a2891906141e0565b612cdf565b005b610a37612dd7565b604051610a449190614b09565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac05750610abf82612e01565b5b9050919050565b610acf612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610aed612132565b73ffffffffffffffffffffffffffffffffffffffff161480610b485750610b12612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610b30612dd7565b73ffffffffffffffffffffffffffffffffffffffff16145b610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e90614cad565b60405180910390fd5b60011515604360009054906101000a900460ff1615151415610bd0576000604060008481526020019081526020016000208054610bc3906150d8565b905014610bcf57600080fd5b5b600015156044600084815260200190815260200160002060009054906101000a900460ff16151514610c0157600080fd5b80604060008481526020019081526020016000209080519060200190610c28929190613ef2565b505050565b606060008054610c3c906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c68906150d8565b8015610cb55780601f10610c8a57610100808354040283529160200191610cb5565b820191906000526020600020905b815481529060010190602001808311610c9857829003601f168201915b5050505050905090565b6000610cca82612eeb565b610d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0090614d8d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4f82611895565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790614e0d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ddf612ee3565b73ffffffffffffffffffffffffffffffffffffffff161480610e0e5750610e0d81610e08612ee3565b612b1d565b5b610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4490614ced565b60405180910390fd5b610e578383612f57565b505050565b600c8160068110610e6c57600080fd5b016000915090508054610e7e906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610eaa906150d8565b8015610ef75780601f10610ecc57610100808354040283529160200191610ef7565b820191906000526020600020905b815481529060010190602001808311610eda57829003601f168201915b505050505081565b604360009054906101000a900460ff1681565b610f1a612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610f38612132565b73ffffffffffffffffffffffffffffffffffffffff1614610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590614dcd565b60405180910390fd5b6000604560016101000a81548160ff021916908315150217905550565b610fb3612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610fd1612132565b73ffffffffffffffffffffffffffffffffffffffff1614611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90614dcd565b60405180910390fd5b60001515604360009054906101000a900460ff1615151461104757600080fd5b6001604360006101000a81548160ff021916908315150217905550565b6000600880549050905090565b601c816006811061108157600080fd5b016000915090508054611093906150d8565b80601f01602080910402602001604051908101604052809291908181526020018280546110bf906150d8565b801561110c5780601f106110e15761010080835404028352916020019161110c565b820191906000526020600020905b8154815290600101906020018083116110ef57829003601f168201915b505050505081565b61111c612ee3565b73ffffffffffffffffffffffffffffffffffffffff1661113a612132565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790614dcd565b60405180910390fd5b60001515604360009054906101000a900460ff161515146111b057600080fd5b80603f90805190602001906111c6929190613ef2565b5050565b6111db6111d5612ee3565b82613010565b61121a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121190614e2d565b60405180910390fd5b6112258383836130ee565b505050565b6028816008811061123a57600080fd5b01600091509050805461124c906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611278906150d8565b80156112c55780601f1061129a576101008083540402835291602001916112c5565b820191906000526020600020905b8154815290600101906020018083116112a857829003601f168201915b505050505081565b603b6020528060005260406000206000915090505481565b604560019054906101000a900460ff1681565b60396020528060005260406000206000915090505481565b603d6020528060005260406000206000915090505481565b600061133383611b4b565b8210611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614bed565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6113d5612ee3565b73ffffffffffffffffffffffffffffffffffffffff166113f3612132565b73ffffffffffffffffffffffffffffffffffffffff1614611449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144090614dcd565b60405180910390fd5b604560009054906101000a900460ff1615611499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149090614bad565b60405180910390fd5b600181101580156114ab575060048111155b6114b457600080fd5b8060428190555050565b6114c6612ee3565b73ffffffffffffffffffffffffffffffffffffffff166114e4612132565b73ffffffffffffffffffffffffffffffffffffffff161461153a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153190614dcd565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611585573d6000803e3d6000fd5b5050565b6060600c6038600084815260200190815260200160002054600681106115b2576115b1615271565b5b0160126039600085815260200190815260200160002054600a81106115da576115d9615271565b5b01601c603a6000868152602001908152602001600020546006811061160257611601615271565b5b016022603b6000878152602001908152602001600020546006811061162a57611629615271565b5b016028603c6000888152602001908152602001600020546008811061165257611651615271565b5b016030603d6000898152602001908152602001600020546008811061167a57611679615271565b5b0160405160200161169096959493929190614a7a565b6040516020818303038152906040529050919050565b6116c18383836040518060200160405280600081525061250f565b505050565b603081600881106116d657600080fd5b0160009150905080546116e8906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611714906150d8565b80156117615780601f1061173657610100808354040283529160200191611761565b820191906000526020600020905b81548152906001019060200180831161174457829003601f168201915b505050505081565b6022816006811061177957600080fd5b01600091509050805461178b906150d8565b80601f01602080910402602001604051908101604052809291908181526020018280546117b7906150d8565b80156118045780601f106117d957610100808354040283529160200191611804565b820191906000526020600020905b8154815290600101906020018083116117e757829003601f168201915b505050505081565b6000611816611064565b8210611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e90614e4d565b60405180910390fd5b6008828154811061186b5761186a615271565b5b90600052602060002001549050919050565b60386020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193590614d2d565b60405180910390fd5b80915050919050565b61194f612ee3565b73ffffffffffffffffffffffffffffffffffffffff1661196d612132565b73ffffffffffffffffffffffffffffffffffffffff16146119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614dcd565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b604560009054906101000a900460ff1681565b603e8054611a27906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611a53906150d8565b8015611aa05780601f10611a7557610100808354040283529160200191611aa0565b820191906000526020600020905b815481529060010190602001808311611a8357829003601f168201915b505050505081565b601281600a8110611ab857600080fd5b016000915090508054611aca906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611af6906150d8565b8015611b435780601f10611b1857610100808354040283529160200191611b43565b820191906000526020600020905b815481529060010190602001808311611b2657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb390614d0d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c0b612ee3565b73ffffffffffffffffffffffffffffffffffffffff16611c29612132565b73ffffffffffffffffffffffffffffffffffffffff1614611c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7690614dcd565b60405180910390fd5b611c89600061334a565b565b611c93612ee3565b73ffffffffffffffffffffffffffffffffffffffff16611cb1612132565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90614dcd565b60405180910390fd5b604560019054906101000a900460ff16611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90614dad565b60405180910390fd5b60005b84849050811015611ff157611d86858583818110611d7a57611d79615271565b5b90506020020135612eeb565b15611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd90614bcd565b60405180910390fd5b611e10878783818110611ddc57611ddb615271565b5b9050602002016020810190611df191906141e0565b868684818110611e0457611e03615271565b5b90506020020135613410565b828282818110611e2357611e22615271565b5b905060c002016000013560386000878785818110611e4457611e43615271565b5b90506020020135815260200190815260200160002081905550828282818110611e7057611e6f615271565b5b905060c002016020013560396000878785818110611e9157611e90615271565b5b90506020020135815260200190815260200160002081905550828282818110611ebd57611ebc615271565b5b905060c0020160400135603a6000878785818110611ede57611edd615271565b5b90506020020135815260200190815260200160002081905550828282818110611f0a57611f09615271565b5b905060c0020160600135603b6000878785818110611f2b57611f2a615271565b5b90506020020135815260200190815260200160002081905550828282818110611f5757611f56615271565b5b905060c0020160800135603c6000878785818110611f7857611f77615271565b5b90506020020135815260200190815260200160002081905550828282818110611fa457611fa3615271565b5b905060c0020160a00135603d6000878785818110611fc557611fc4615271565b5b905060200201358152602001908152602001600020819055508080611fe99061513b565b915050611d59565b50505050505050565b612002612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612020612132565b73ffffffffffffffffffffffffffffffffffffffff16148061207b5750612045612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612063612dd7565b73ffffffffffffffffffffffffffffffffffffffff16145b6120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190614cad565b60405180910390fd5b600015156044600083815260200190815260200160002060009054906101000a900460ff161515146120eb57600080fd5b60016044600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b603a6020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60425481565b606060018054612171906150d8565b80601f016020809104026020016040519081016040528092919081815260200182805461219d906150d8565b80156121ea5780601f106121bf576101008083540402835291602001916121ea565b820191906000526020600020905b8154815290600101906020018083116121cd57829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b603c6020528060005260406000206000915090505481565b61223a612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612258612132565b73ffffffffffffffffffffffffffffffffffffffff16146122ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a590614dcd565b60405180910390fd5b80603e90805190602001906122c4929190613ef2565b5050565b6122d0612ee3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561233e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233590614c8d565b60405180910390fd5b806005600061234b612ee3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123f8612ee3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161243d9190614b70565b60405180910390a35050565b60406020528060005260406000206000915090508054612468906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612494906150d8565b80156124e15780601f106124b6576101008083540402835291602001916124e1565b820191906000526020600020905b8154815290600101906020018083116124c457829003601f168201915b505050505081565b60446020528060005260406000206000915054906101000a900460ff1681565b611e6181565b61252061251a612ee3565b83613010565b61255f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255690614e2d565b60405180910390fd5b61256b848484846135de565b50505050565b606061257c82612eeb565b6125bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b290614d6d565b60405180910390fd5b60006125c561363a565b905060006125d16136cc565b905060006125de85611589565b9050600060406000838051906020012060001c8152602001908152602001600020805461260a906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612636906150d8565b80156126835780601f1061265857610100808354040283529160200191612683565b820191906000526020600020905b81548152906001019060200180831161266657829003601f168201915b5050505050905060006041600088815260200190815260200160002080546126aa906150d8565b80601f01602080910402602001604051908101604052809291908181526020018280546126d6906150d8565b80156127235780601f106126f857610100808354040283529160200191612723565b820191906000526020600020905b81548152906001019060200180831161270657829003601f168201915b505050505090506001604254141561276d5784836127408961375e565b60405160200161275293929190614a3e565b6040516020818303038152906040529550505050505061292a565b60026042541415612826576000845114156127b8578461278c8861375e565b60405160200161279d929190614a1a565b6040516020818303038152906040529550505050505061292a565b6000815114156127f857836127cc8861375e565b6040516020016127dd929190614a1a565b6040516020818303038152906040529550505050505061292a565b838160405160200161280b929190614a1a565b6040516020818303038152906040529550505050505061292a565b6003604254141561285f578382604051602001612844929190614a1a565b6040516020818303038152906040529550505050505061292a565b60046042541415612912576000845114156128ac57848361287f8961375e565b60405160200161289193929190614a3e565b6040516020818303038152906040529550505050505061292a565b6000825114156128e45783836040516020016128c9929190614a1a565b6040516020818303038152906040529550505050505061292a565b83826040516020016128f7929190614a1a565b6040516020818303038152906040529550505050505061292a565b60405180602001604052806000815250955050505050505b919050565b612937612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612955612132565b73ffffffffffffffffffffffffffffffffffffffff16146129ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a290614dcd565b60405180910390fd5b60001515604560009054906101000a900460ff161515146129cb57600080fd5b6001604560006101000a81548160ff021916908315150217905550565b6129f0612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612a0e612132565b73ffffffffffffffffffffffffffffffffffffffff161480612a695750612a33612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612a51612dd7565b73ffffffffffffffffffffffffffffffffffffffff16145b612aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9f90614cad565b60405180910390fd5b60011515604360009054906101000a900460ff1615151415612af1576000604160008481526020019081526020016000208054612ae4906150d8565b905014612af057600080fd5b5b80604160008481526020019081526020016000209080519060200190612b18929190613ef2565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60416020528060005260406000206000915090508054612bd0906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612bfc906150d8565b8015612c495780601f10612c1e57610100808354040283529160200191612c49565b820191906000526020600020905b815481529060010190602001808311612c2c57829003601f168201915b505050505081565b603f8054612c5e906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612c8a906150d8565b8015612cd75780601f10612cac57610100808354040283529160200191612cd7565b820191906000526020600020905b815481529060010190602001808311612cba57829003601f168201915b505050505081565b612ce7612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612d05612132565b73ffffffffffffffffffffffffffffffffffffffff1614612d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5290614dcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc290614c2d565b60405180910390fd5b612dd48161334a565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ecc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612edc5750612edb826138bf565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612fca83611895565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061301b82612eeb565b61305a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305190614ccd565b60405180910390fd5b600061306583611895565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130d457508373ffffffffffffffffffffffffffffffffffffffff166130bc84610cbf565b73ffffffffffffffffffffffffffffffffffffffff16145b806130e557506130e48185612b1d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661310e82611895565b73ffffffffffffffffffffffffffffffffffffffff1614613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90614ded565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cb90614c6d565b60405180910390fd5b6131df838383613929565b6131ea600082612f57565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461323a9190614fee565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132919190614f67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347790614d4d565b60405180910390fd5b61348981612eeb565b156134c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c090614c4d565b60405180910390fd5b6134d560008383613929565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135259190614f67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6135e98484846130ee565b6135f584848484613a3d565b613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362b90614c0d565b60405180910390fd5b50505050565b6060603e8054613649906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054613675906150d8565b80156136c25780601f10613697576101008083540402835291602001916136c2565b820191906000526020600020905b8154815290600101906020018083116136a557829003601f168201915b5050505050905090565b6060603f80546136db906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054613707906150d8565b80156137545780601f1061372957610100808354040283529160200191613754565b820191906000526020600020905b81548152906001019060200180831161373757829003601f168201915b5050505050905090565b606060008214156137a6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138ba565b600082905060005b600082146137d85780806137c19061513b565b915050600a826137d19190614fbd565b91506137ae565b60008167ffffffffffffffff8111156137f4576137f36152a0565b5b6040519080825280601f01601f1916602001820160405280156138265781602001600182028036833780820191505090505b5090505b600085146138b35760018261383f9190614fee565b9150600a8561384e9190615184565b603061385a9190614f67565b60f81b8183815181106138705761386f615271565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138ac9190614fbd565b945061382a565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613934838383613bd4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139775761397281613bd9565b6139b6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139b5576139b48382613c22565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139f9576139f481613d8f565b613a38565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a3757613a368282613e60565b5b5b505050565b6000613a5e8473ffffffffffffffffffffffffffffffffffffffff16613edf565b15613bc7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a87612ee3565b8786866040518563ffffffff1660e01b8152600401613aa99493929190614b24565b602060405180830381600087803b158015613ac357600080fd5b505af1925050508015613af457506040513d601f19601f82011682018060405250810190613af19190614484565b60015b613b77573d8060008114613b24576040519150601f19603f3d011682016040523d82523d6000602084013e613b29565b606091505b50600081511415613b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b6690614c0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613bcc565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2f84611b4b565b613c399190614fee565b9050600060076000848152602001908152602001600020549050818114613d1e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613da39190614fee565b9050600060096000848152602001908152602001600020549050600060088381548110613dd357613dd2615271565b5b906000526020600020015490508060088381548110613df557613df4615271565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e4457613e43615242565b5b6001900381819060005260206000200160009055905550505050565b6000613e6b83611b4b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613efe906150d8565b90600052602060002090601f016020900481019282613f205760008555613f67565b82601f10613f3957805160ff1916838001178555613f67565b82800160010185558215613f67579182015b82811115613f66578251825591602001919060010190613f4b565b5b509050613f749190613f78565b5090565b5b80821115613f91576000816000905550600101613f79565b5090565b6000613fa8613fa384614ead565b614e88565b905082815260208101848484011115613fc457613fc36152de565b5b613fcf848285615096565b509392505050565b6000613fea613fe584614ede565b614e88565b905082815260208101848484011115614006576140056152de565b5b614011848285615096565b509392505050565b60008135905061402881615910565b92915050565b60008083601f840112614044576140436152d4565b5b8235905067ffffffffffffffff811115614061576140606152cf565b5b60208301915083602082028301111561407d5761407c6152d9565b5b9250929050565b60008083601f84011261409a576140996152d4565b5b8235905067ffffffffffffffff8111156140b7576140b66152cf565b5b6020830191508360c08202830111156140d3576140d26152d9565b5b9250929050565b60008083601f8401126140f0576140ef6152d4565b5b8235905067ffffffffffffffff81111561410d5761410c6152cf565b5b602083019150836020820283011115614129576141286152d9565b5b9250929050565b60008135905061413f81615927565b92915050565b6000813590506141548161593e565b92915050565b6000815190506141698161593e565b92915050565b600082601f830112614184576141836152d4565b5b8135614194848260208601613f95565b91505092915050565b600082601f8301126141b2576141b16152d4565b5b81356141c2848260208601613fd7565b91505092915050565b6000813590506141da81615955565b92915050565b6000602082840312156141f6576141f56152e8565b5b600061420484828501614019565b91505092915050565b60008060408385031215614224576142236152e8565b5b600061423285828601614019565b925050602061424385828601614019565b9150509250929050565b600080600060608486031215614266576142656152e8565b5b600061427486828701614019565b935050602061428586828701614019565b9250506040614296868287016141cb565b9150509250925092565b600080600080608085870312156142ba576142b96152e8565b5b60006142c887828801614019565b94505060206142d987828801614019565b93505060406142ea878288016141cb565b925050606085013567ffffffffffffffff81111561430b5761430a6152e3565b5b6143178782880161416f565b91505092959194509250565b6000806040838503121561433a576143396152e8565b5b600061434885828601614019565b925050602061435985828601614130565b9150509250929050565b6000806040838503121561437a576143796152e8565b5b600061438885828601614019565b9250506020614399858286016141cb565b9150509250929050565b600080600080600080606087890312156143c0576143bf6152e8565b5b600087013567ffffffffffffffff8111156143de576143dd6152e3565b5b6143ea89828a0161402e565b9650965050602087013567ffffffffffffffff81111561440d5761440c6152e3565b5b61441989828a016140da565b9450945050604087013567ffffffffffffffff81111561443c5761443b6152e3565b5b61444889828a01614084565b92509250509295509295509295565b60006020828403121561446d5761446c6152e8565b5b600061447b84828501614145565b91505092915050565b60006020828403121561449a576144996152e8565b5b60006144a88482850161415a565b91505092915050565b6000602082840312156144c7576144c66152e8565b5b600082013567ffffffffffffffff8111156144e5576144e46152e3565b5b6144f18482850161419d565b91505092915050565b6000602082840312156145105761450f6152e8565b5b600061451e848285016141cb565b91505092915050565b6000806040838503121561453e5761453d6152e8565b5b600061454c858286016141cb565b925050602083013567ffffffffffffffff81111561456d5761456c6152e3565b5b6145798582860161419d565b9150509250929050565b61458c81615022565b82525050565b61459b81615034565b82525050565b60006145ac82614f24565b6145b68185614f3a565b93506145c68185602086016150a5565b6145cf816152ed565b840191505092915050565b60006145e582614f2f565b6145ef8185614f4b565b93506145ff8185602086016150a5565b614608816152ed565b840191505092915050565b600061461e82614f2f565b6146288185614f5c565b93506146388185602086016150a5565b80840191505092915050565b60008154614651816150d8565b61465b8186614f5c565b945060018216600081146146765760018114614687576146ba565b60ff198316865281860193506146ba565b61469085614f0f565b60005b838110156146b257815481890152600182019150602081019050614693565b838801955050505b50505092915050565b60006146d0600683614f4b565b91506146db826152fe565b602082019050919050565b60006146f3601483614f4b565b91506146fe82615327565b602082019050919050565b6000614716602b83614f4b565b915061472182615350565b604082019050919050565b6000614739603283614f4b565b91506147448261539f565b604082019050919050565b600061475c602683614f4b565b9150614767826153ee565b604082019050919050565b600061477f601c83614f4b565b915061478a8261543d565b602082019050919050565b60006147a2602483614f4b565b91506147ad82615466565b604082019050919050565b60006147c5601983614f4b565b91506147d0826154b5565b602082019050919050565b60006147e8603083614f4b565b91506147f3826154de565b604082019050919050565b600061480b602c83614f4b565b91506148168261552d565b604082019050919050565b600061482e603883614f4b565b91506148398261557c565b604082019050919050565b6000614851602a83614f4b565b915061485c826155cb565b604082019050919050565b6000614874602983614f4b565b915061487f8261561a565b604082019050919050565b6000614897602083614f4b565b91506148a282615669565b602082019050919050565b60006148ba603183614f4b565b91506148c582615692565b604082019050919050565b60006148dd602c83614f4b565b91506148e8826156e1565b604082019050919050565b6000614900600b83614f4b565b915061490b82615730565b602082019050919050565b6000614923602083614f4b565b915061492e82615759565b602082019050919050565b6000614946602983614f4b565b915061495182615782565b604082019050919050565b6000614969602183614f4b565b9150614974826157d1565b604082019050919050565b600061498c603183614f4b565b915061499782615820565b604082019050919050565b60006149af602c83614f4b565b91506149ba8261586f565b604082019050919050565b60006149d2600183614f5c565b91506149dd826158be565b600182019050919050565b60006149f5600183614f5c565b9150614a00826158e7565b600182019050919050565b614a148161508c565b82525050565b6000614a268285614613565b9150614a328284614613565b91508190509392505050565b6000614a4a8286614613565b9150614a568285614613565b9150614a61826149e8565b9150614a6d8284614613565b9150819050949350505050565b6000614a868289614644565b9150614a91826149c5565b9150614a9d8288614644565b9150614aa8826149c5565b9150614ab48287614644565b9150614abf826149c5565b9150614acb8286614644565b9150614ad6826149c5565b9150614ae28285614644565b9150614aed826149c5565b9150614af98284614644565b9150819050979650505050505050565b6000602082019050614b1e6000830184614583565b92915050565b6000608082019050614b396000830187614583565b614b466020830186614583565b614b536040830185614a0b565b8181036060830152614b6581846145a1565b905095945050505050565b6000602082019050614b856000830184614592565b92915050565b60006020820190508181036000830152614ba581846145da565b905092915050565b60006020820190508181036000830152614bc6816146c3565b9050919050565b60006020820190508181036000830152614be6816146e6565b9050919050565b60006020820190508181036000830152614c0681614709565b9050919050565b60006020820190508181036000830152614c268161472c565b9050919050565b60006020820190508181036000830152614c468161474f565b9050919050565b60006020820190508181036000830152614c6681614772565b9050919050565b60006020820190508181036000830152614c8681614795565b9050919050565b60006020820190508181036000830152614ca6816147b8565b9050919050565b60006020820190508181036000830152614cc6816147db565b9050919050565b60006020820190508181036000830152614ce6816147fe565b9050919050565b60006020820190508181036000830152614d0681614821565b9050919050565b60006020820190508181036000830152614d2681614844565b9050919050565b60006020820190508181036000830152614d4681614867565b9050919050565b60006020820190508181036000830152614d668161488a565b9050919050565b60006020820190508181036000830152614d86816148ad565b9050919050565b60006020820190508181036000830152614da6816148d0565b9050919050565b60006020820190508181036000830152614dc6816148f3565b9050919050565b60006020820190508181036000830152614de681614916565b9050919050565b60006020820190508181036000830152614e0681614939565b9050919050565b60006020820190508181036000830152614e268161495c565b9050919050565b60006020820190508181036000830152614e468161497f565b9050919050565b60006020820190508181036000830152614e66816149a2565b9050919050565b6000602082019050614e826000830184614a0b565b92915050565b6000614e92614ea3565b9050614e9e828261510a565b919050565b6000604051905090565b600067ffffffffffffffff821115614ec857614ec76152a0565b5b614ed1826152ed565b9050602081019050919050565b600067ffffffffffffffff821115614ef957614ef86152a0565b5b614f02826152ed565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f728261508c565b9150614f7d8361508c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fb257614fb16151b5565b5b828201905092915050565b6000614fc88261508c565b9150614fd38361508c565b925082614fe357614fe26151e4565b5b828204905092915050565b6000614ff98261508c565b91506150048361508c565b925082821015615017576150166151b5565b5b828203905092915050565b600061502d8261506c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150c35780820151818401526020810190506150a8565b838111156150d2576000848401525b50505050565b600060028204905060018216806150f057607f821691505b6020821081141561510457615103615213565b5b50919050565b615113826152ed565b810181811067ffffffffffffffff82111715615132576151316152a0565b5b80604052505050565b60006151468261508c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615179576151786151b5565b5b600182019050919050565b600061518f8261508c565b915061519a8361508c565b9250826151aa576151a96151e4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b7f546f6b656e20616c7265616479206d696e746564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f7220746865206160008201527f7070726f76656420636f6e747261637400000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b61591981615022565b811461592457600080fd5b50565b61593081615034565b811461593b57600080fd5b50565b61594781615040565b811461595257600080fd5b50565b61595e8161508c565b811461596957600080fd5b5056fea2646970667358221220e572c064b1d7dca7146595b2c1513a4c5d9f4a325ef01a011f2a4934c44b9db164736f6c6343000807003368747470733a2f2f7768656c70732e6d7970696e6174612e636c6f75642f697066732f68747470733a2f2f7768656c7073696f2e6865726f6b756170702e636f6d2f6170692d706f6c792f0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000095768656c70734e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004574c505300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102885760003560e01c806301ffc9a71461028d5780630385c0de146102bd57806306fdde03146102d9578063081812fc146102f7578063095ea7b3146103275780630ac469b8146103435780630af90ea6146103735780630f52b76e14610391578063123ac9a91461039b57806318160ddd146103a5578063198c92d0146103c35780631fb3060f146103f357806323b872dd1461040f5780632675f7661461042b5780632b4ab9f11461045b5780632be9279d1461048b5780632e9c6371146104a95780632efec303146104d95780632f745c591461050957806338cdbddd146105395780633ccfd60b14610555578063412207061461055f57806342842e0e1461058f578063441482b1146105ab57806344aab043146105db5780634f6ccce71461060b5780635368978d1461063b5780636352211e1461066b57806369242dc61461069b57806369362fb1146106b75780636c0360eb146106d55780636efe17e1146106f357806370a0823114610723578063715018a61461075357806378cb6f981461075d578063831a460f1461077957806386ac5b1f146107955780638da5cb5b146107c5578063949de446146107e357806395d89b41146108015780639c0dbc481461081f5780639ca8008e1461083d578063a0bcfc7f1461086d578063a22cb46514610889578063ac919dc0146108a5578063b35fbf74146108d5578063b5077f4414610905578063b88d4fde14610923578063c87b56dd1461093f578063cda8c90f1461096f578063cf368d5214610979578063e985e9c514610995578063f0c5bbaa146109c5578063f0fb21b0146109f5578063f2fde38b14610a13578063fe288c7214610a2f575b600080fd5b6102a760048036038101906102a29190614457565b610a4d565b6040516102b49190614b70565b60405180910390f35b6102d760048036038101906102d29190614527565b610ac7565b005b6102e1610c2d565b6040516102ee9190614b8b565b60405180910390f35b610311600480360381019061030c91906144fa565b610cbf565b60405161031e9190614b09565b60405180910390f35b610341600480360381019061033c9190614363565b610d44565b005b61035d600480360381019061035891906144fa565b610e5c565b60405161036a9190614b8b565b60405180910390f35b61037b610eff565b6040516103889190614b70565b60405180910390f35b610399610f12565b005b6103a3610fab565b005b6103ad611064565b6040516103ba9190614e6d565b60405180910390f35b6103dd60048036038101906103d891906144fa565b611071565b6040516103ea9190614b8b565b60405180910390f35b61040d600480360381019061040891906144b1565b611114565b005b6104296004803603810190610424919061424d565b6111ca565b005b610445600480360381019061044091906144fa565b61122a565b6040516104529190614b8b565b60405180910390f35b610475600480360381019061047091906144fa565b6112cd565b6040516104829190614e6d565b60405180910390f35b6104936112e5565b6040516104a09190614b70565b60405180910390f35b6104c360048036038101906104be91906144fa565b6112f8565b6040516104d09190614e6d565b60405180910390f35b6104f360048036038101906104ee91906144fa565b611310565b6040516105009190614e6d565b60405180910390f35b610523600480360381019061051e9190614363565b611328565b6040516105309190614e6d565b60405180910390f35b610553600480360381019061054e91906144fa565b6113cd565b005b61055d6114be565b005b610579600480360381019061057491906144fa565b611589565b6040516105869190614b8b565b60405180910390f35b6105a960048036038101906105a4919061424d565b6116a6565b005b6105c560048036038101906105c091906144fa565b6116c6565b6040516105d29190614b8b565b60405180910390f35b6105f560048036038101906105f091906144fa565b611769565b6040516106029190614b8b565b60405180910390f35b610625600480360381019061062091906144fa565b61180c565b6040516106329190614e6d565b60405180910390f35b610655600480360381019061065091906144fa565b61187d565b6040516106629190614e6d565b60405180910390f35b610685600480360381019061068091906144fa565b611895565b6040516106929190614b09565b60405180910390f35b6106b560048036038101906106b091906141e0565b611947565b005b6106bf611a07565b6040516106cc9190614b70565b60405180910390f35b6106dd611a1a565b6040516106ea9190614b8b565b60405180910390f35b61070d600480360381019061070891906144fa565b611aa8565b60405161071a9190614b8b565b60405180910390f35b61073d600480360381019061073891906141e0565b611b4b565b60405161074a9190614e6d565b60405180910390f35b61075b611c03565b005b610777600480360381019061077291906143a3565b611c8b565b005b610793600480360381019061078e91906144fa565b611ffa565b005b6107af60048036038101906107aa91906144fa565b61211a565b6040516107bc9190614e6d565b60405180910390f35b6107cd612132565b6040516107da9190614b09565b60405180910390f35b6107eb61215c565b6040516107f89190614e6d565b60405180910390f35b610809612162565b6040516108169190614b8b565b60405180910390f35b6108276121f4565b6040516108349190614b09565b60405180910390f35b610857600480360381019061085291906144fa565b61221a565b6040516108649190614e6d565b60405180910390f35b610887600480360381019061088291906144b1565b612232565b005b6108a3600480360381019061089e9190614323565b6122c8565b005b6108bf60048036038101906108ba91906144fa565b612449565b6040516108cc9190614b8b565b60405180910390f35b6108ef60048036038101906108ea91906144fa565b6124e9565b6040516108fc9190614b70565b60405180910390f35b61090d612509565b60405161091a9190614e6d565b60405180910390f35b61093d600480360381019061093891906142a0565b61250f565b005b610959600480360381019061095491906144fa565b612571565b6040516109669190614b8b565b60405180910390f35b61097761292f565b005b610993600480360381019061098e9190614527565b6129e8565b005b6109af60048036038101906109aa919061420d565b612b1d565b6040516109bc9190614b70565b60405180910390f35b6109df60048036038101906109da91906144fa565b612bb1565b6040516109ec9190614b8b565b60405180910390f35b6109fd612c51565b604051610a0a9190614b8b565b60405180910390f35b610a2d6004803603810190610a2891906141e0565b612cdf565b005b610a37612dd7565b604051610a449190614b09565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac05750610abf82612e01565b5b9050919050565b610acf612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610aed612132565b73ffffffffffffffffffffffffffffffffffffffff161480610b485750610b12612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610b30612dd7565b73ffffffffffffffffffffffffffffffffffffffff16145b610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e90614cad565b60405180910390fd5b60011515604360009054906101000a900460ff1615151415610bd0576000604060008481526020019081526020016000208054610bc3906150d8565b905014610bcf57600080fd5b5b600015156044600084815260200190815260200160002060009054906101000a900460ff16151514610c0157600080fd5b80604060008481526020019081526020016000209080519060200190610c28929190613ef2565b505050565b606060008054610c3c906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c68906150d8565b8015610cb55780601f10610c8a57610100808354040283529160200191610cb5565b820191906000526020600020905b815481529060010190602001808311610c9857829003601f168201915b5050505050905090565b6000610cca82612eeb565b610d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0090614d8d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4f82611895565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790614e0d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ddf612ee3565b73ffffffffffffffffffffffffffffffffffffffff161480610e0e5750610e0d81610e08612ee3565b612b1d565b5b610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4490614ced565b60405180910390fd5b610e578383612f57565b505050565b600c8160068110610e6c57600080fd5b016000915090508054610e7e906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610eaa906150d8565b8015610ef75780601f10610ecc57610100808354040283529160200191610ef7565b820191906000526020600020905b815481529060010190602001808311610eda57829003601f168201915b505050505081565b604360009054906101000a900460ff1681565b610f1a612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610f38612132565b73ffffffffffffffffffffffffffffffffffffffff1614610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590614dcd565b60405180910390fd5b6000604560016101000a81548160ff021916908315150217905550565b610fb3612ee3565b73ffffffffffffffffffffffffffffffffffffffff16610fd1612132565b73ffffffffffffffffffffffffffffffffffffffff1614611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90614dcd565b60405180910390fd5b60001515604360009054906101000a900460ff1615151461104757600080fd5b6001604360006101000a81548160ff021916908315150217905550565b6000600880549050905090565b601c816006811061108157600080fd5b016000915090508054611093906150d8565b80601f01602080910402602001604051908101604052809291908181526020018280546110bf906150d8565b801561110c5780601f106110e15761010080835404028352916020019161110c565b820191906000526020600020905b8154815290600101906020018083116110ef57829003601f168201915b505050505081565b61111c612ee3565b73ffffffffffffffffffffffffffffffffffffffff1661113a612132565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790614dcd565b60405180910390fd5b60001515604360009054906101000a900460ff161515146111b057600080fd5b80603f90805190602001906111c6929190613ef2565b5050565b6111db6111d5612ee3565b82613010565b61121a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121190614e2d565b60405180910390fd5b6112258383836130ee565b505050565b6028816008811061123a57600080fd5b01600091509050805461124c906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611278906150d8565b80156112c55780601f1061129a576101008083540402835291602001916112c5565b820191906000526020600020905b8154815290600101906020018083116112a857829003601f168201915b505050505081565b603b6020528060005260406000206000915090505481565b604560019054906101000a900460ff1681565b60396020528060005260406000206000915090505481565b603d6020528060005260406000206000915090505481565b600061133383611b4b565b8210611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614bed565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6113d5612ee3565b73ffffffffffffffffffffffffffffffffffffffff166113f3612132565b73ffffffffffffffffffffffffffffffffffffffff1614611449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144090614dcd565b60405180910390fd5b604560009054906101000a900460ff1615611499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149090614bad565b60405180910390fd5b600181101580156114ab575060048111155b6114b457600080fd5b8060428190555050565b6114c6612ee3565b73ffffffffffffffffffffffffffffffffffffffff166114e4612132565b73ffffffffffffffffffffffffffffffffffffffff161461153a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153190614dcd565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611585573d6000803e3d6000fd5b5050565b6060600c6038600084815260200190815260200160002054600681106115b2576115b1615271565b5b0160126039600085815260200190815260200160002054600a81106115da576115d9615271565b5b01601c603a6000868152602001908152602001600020546006811061160257611601615271565b5b016022603b6000878152602001908152602001600020546006811061162a57611629615271565b5b016028603c6000888152602001908152602001600020546008811061165257611651615271565b5b016030603d6000898152602001908152602001600020546008811061167a57611679615271565b5b0160405160200161169096959493929190614a7a565b6040516020818303038152906040529050919050565b6116c18383836040518060200160405280600081525061250f565b505050565b603081600881106116d657600080fd5b0160009150905080546116e8906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611714906150d8565b80156117615780601f1061173657610100808354040283529160200191611761565b820191906000526020600020905b81548152906001019060200180831161174457829003601f168201915b505050505081565b6022816006811061177957600080fd5b01600091509050805461178b906150d8565b80601f01602080910402602001604051908101604052809291908181526020018280546117b7906150d8565b80156118045780601f106117d957610100808354040283529160200191611804565b820191906000526020600020905b8154815290600101906020018083116117e757829003601f168201915b505050505081565b6000611816611064565b8210611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e90614e4d565b60405180910390fd5b6008828154811061186b5761186a615271565b5b90600052602060002001549050919050565b60386020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193590614d2d565b60405180910390fd5b80915050919050565b61194f612ee3565b73ffffffffffffffffffffffffffffffffffffffff1661196d612132565b73ffffffffffffffffffffffffffffffffffffffff16146119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614dcd565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b604560009054906101000a900460ff1681565b603e8054611a27906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611a53906150d8565b8015611aa05780601f10611a7557610100808354040283529160200191611aa0565b820191906000526020600020905b815481529060010190602001808311611a8357829003601f168201915b505050505081565b601281600a8110611ab857600080fd5b016000915090508054611aca906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611af6906150d8565b8015611b435780601f10611b1857610100808354040283529160200191611b43565b820191906000526020600020905b815481529060010190602001808311611b2657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb390614d0d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c0b612ee3565b73ffffffffffffffffffffffffffffffffffffffff16611c29612132565b73ffffffffffffffffffffffffffffffffffffffff1614611c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7690614dcd565b60405180910390fd5b611c89600061334a565b565b611c93612ee3565b73ffffffffffffffffffffffffffffffffffffffff16611cb1612132565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90614dcd565b60405180910390fd5b604560019054906101000a900460ff16611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90614dad565b60405180910390fd5b60005b84849050811015611ff157611d86858583818110611d7a57611d79615271565b5b90506020020135612eeb565b15611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd90614bcd565b60405180910390fd5b611e10878783818110611ddc57611ddb615271565b5b9050602002016020810190611df191906141e0565b868684818110611e0457611e03615271565b5b90506020020135613410565b828282818110611e2357611e22615271565b5b905060c002016000013560386000878785818110611e4457611e43615271565b5b90506020020135815260200190815260200160002081905550828282818110611e7057611e6f615271565b5b905060c002016020013560396000878785818110611e9157611e90615271565b5b90506020020135815260200190815260200160002081905550828282818110611ebd57611ebc615271565b5b905060c0020160400135603a6000878785818110611ede57611edd615271565b5b90506020020135815260200190815260200160002081905550828282818110611f0a57611f09615271565b5b905060c0020160600135603b6000878785818110611f2b57611f2a615271565b5b90506020020135815260200190815260200160002081905550828282818110611f5757611f56615271565b5b905060c0020160800135603c6000878785818110611f7857611f77615271565b5b90506020020135815260200190815260200160002081905550828282818110611fa457611fa3615271565b5b905060c0020160a00135603d6000878785818110611fc557611fc4615271565b5b905060200201358152602001908152602001600020819055508080611fe99061513b565b915050611d59565b50505050505050565b612002612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612020612132565b73ffffffffffffffffffffffffffffffffffffffff16148061207b5750612045612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612063612dd7565b73ffffffffffffffffffffffffffffffffffffffff16145b6120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190614cad565b60405180910390fd5b600015156044600083815260200190815260200160002060009054906101000a900460ff161515146120eb57600080fd5b60016044600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b603a6020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60425481565b606060018054612171906150d8565b80601f016020809104026020016040519081016040528092919081815260200182805461219d906150d8565b80156121ea5780601f106121bf576101008083540402835291602001916121ea565b820191906000526020600020905b8154815290600101906020018083116121cd57829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b603c6020528060005260406000206000915090505481565b61223a612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612258612132565b73ffffffffffffffffffffffffffffffffffffffff16146122ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a590614dcd565b60405180910390fd5b80603e90805190602001906122c4929190613ef2565b5050565b6122d0612ee3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561233e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233590614c8d565b60405180910390fd5b806005600061234b612ee3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123f8612ee3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161243d9190614b70565b60405180910390a35050565b60406020528060005260406000206000915090508054612468906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612494906150d8565b80156124e15780601f106124b6576101008083540402835291602001916124e1565b820191906000526020600020905b8154815290600101906020018083116124c457829003601f168201915b505050505081565b60446020528060005260406000206000915054906101000a900460ff1681565b611e6181565b61252061251a612ee3565b83613010565b61255f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255690614e2d565b60405180910390fd5b61256b848484846135de565b50505050565b606061257c82612eeb565b6125bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b290614d6d565b60405180910390fd5b60006125c561363a565b905060006125d16136cc565b905060006125de85611589565b9050600060406000838051906020012060001c8152602001908152602001600020805461260a906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612636906150d8565b80156126835780601f1061265857610100808354040283529160200191612683565b820191906000526020600020905b81548152906001019060200180831161266657829003601f168201915b5050505050905060006041600088815260200190815260200160002080546126aa906150d8565b80601f01602080910402602001604051908101604052809291908181526020018280546126d6906150d8565b80156127235780601f106126f857610100808354040283529160200191612723565b820191906000526020600020905b81548152906001019060200180831161270657829003601f168201915b505050505090506001604254141561276d5784836127408961375e565b60405160200161275293929190614a3e565b6040516020818303038152906040529550505050505061292a565b60026042541415612826576000845114156127b8578461278c8861375e565b60405160200161279d929190614a1a565b6040516020818303038152906040529550505050505061292a565b6000815114156127f857836127cc8861375e565b6040516020016127dd929190614a1a565b6040516020818303038152906040529550505050505061292a565b838160405160200161280b929190614a1a565b6040516020818303038152906040529550505050505061292a565b6003604254141561285f578382604051602001612844929190614a1a565b6040516020818303038152906040529550505050505061292a565b60046042541415612912576000845114156128ac57848361287f8961375e565b60405160200161289193929190614a3e565b6040516020818303038152906040529550505050505061292a565b6000825114156128e45783836040516020016128c9929190614a1a565b6040516020818303038152906040529550505050505061292a565b83826040516020016128f7929190614a1a565b6040516020818303038152906040529550505050505061292a565b60405180602001604052806000815250955050505050505b919050565b612937612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612955612132565b73ffffffffffffffffffffffffffffffffffffffff16146129ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a290614dcd565b60405180910390fd5b60001515604560009054906101000a900460ff161515146129cb57600080fd5b6001604560006101000a81548160ff021916908315150217905550565b6129f0612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612a0e612132565b73ffffffffffffffffffffffffffffffffffffffff161480612a695750612a33612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612a51612dd7565b73ffffffffffffffffffffffffffffffffffffffff16145b612aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9f90614cad565b60405180910390fd5b60011515604360009054906101000a900460ff1615151415612af1576000604160008481526020019081526020016000208054612ae4906150d8565b905014612af057600080fd5b5b80604160008481526020019081526020016000209080519060200190612b18929190613ef2565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60416020528060005260406000206000915090508054612bd0906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612bfc906150d8565b8015612c495780601f10612c1e57610100808354040283529160200191612c49565b820191906000526020600020905b815481529060010190602001808311612c2c57829003601f168201915b505050505081565b603f8054612c5e906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612c8a906150d8565b8015612cd75780601f10612cac57610100808354040283529160200191612cd7565b820191906000526020600020905b815481529060010190602001808311612cba57829003601f168201915b505050505081565b612ce7612ee3565b73ffffffffffffffffffffffffffffffffffffffff16612d05612132565b73ffffffffffffffffffffffffffffffffffffffff1614612d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5290614dcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc290614c2d565b60405180910390fd5b612dd48161334a565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ecc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612edc5750612edb826138bf565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612fca83611895565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061301b82612eeb565b61305a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305190614ccd565b60405180910390fd5b600061306583611895565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130d457508373ffffffffffffffffffffffffffffffffffffffff166130bc84610cbf565b73ffffffffffffffffffffffffffffffffffffffff16145b806130e557506130e48185612b1d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661310e82611895565b73ffffffffffffffffffffffffffffffffffffffff1614613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90614ded565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cb90614c6d565b60405180910390fd5b6131df838383613929565b6131ea600082612f57565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461323a9190614fee565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132919190614f67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347790614d4d565b60405180910390fd5b61348981612eeb565b156134c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c090614c4d565b60405180910390fd5b6134d560008383613929565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135259190614f67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6135e98484846130ee565b6135f584848484613a3d565b613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362b90614c0d565b60405180910390fd5b50505050565b6060603e8054613649906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054613675906150d8565b80156136c25780601f10613697576101008083540402835291602001916136c2565b820191906000526020600020905b8154815290600101906020018083116136a557829003601f168201915b5050505050905090565b6060603f80546136db906150d8565b80601f0160208091040260200160405190810160405280929190818152602001828054613707906150d8565b80156137545780601f1061372957610100808354040283529160200191613754565b820191906000526020600020905b81548152906001019060200180831161373757829003601f168201915b5050505050905090565b606060008214156137a6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138ba565b600082905060005b600082146137d85780806137c19061513b565b915050600a826137d19190614fbd565b91506137ae565b60008167ffffffffffffffff8111156137f4576137f36152a0565b5b6040519080825280601f01601f1916602001820160405280156138265781602001600182028036833780820191505090505b5090505b600085146138b35760018261383f9190614fee565b9150600a8561384e9190615184565b603061385a9190614f67565b60f81b8183815181106138705761386f615271565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138ac9190614fbd565b945061382a565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613934838383613bd4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139775761397281613bd9565b6139b6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139b5576139b48382613c22565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139f9576139f481613d8f565b613a38565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a3757613a368282613e60565b5b5b505050565b6000613a5e8473ffffffffffffffffffffffffffffffffffffffff16613edf565b15613bc7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a87612ee3565b8786866040518563ffffffff1660e01b8152600401613aa99493929190614b24565b602060405180830381600087803b158015613ac357600080fd5b505af1925050508015613af457506040513d601f19601f82011682018060405250810190613af19190614484565b60015b613b77573d8060008114613b24576040519150601f19603f3d011682016040523d82523d6000602084013e613b29565b606091505b50600081511415613b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b6690614c0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613bcc565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2f84611b4b565b613c399190614fee565b9050600060076000848152602001908152602001600020549050818114613d1e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613da39190614fee565b9050600060096000848152602001908152602001600020549050600060088381548110613dd357613dd2615271565b5b906000526020600020015490508060088381548110613df557613df4615271565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e4457613e43615242565b5b6001900381819060005260206000200160009055905550505050565b6000613e6b83611b4b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613efe906150d8565b90600052602060002090601f016020900481019282613f205760008555613f67565b82601f10613f3957805160ff1916838001178555613f67565b82800160010185558215613f67579182015b82811115613f66578251825591602001919060010190613f4b565b5b509050613f749190613f78565b5090565b5b80821115613f91576000816000905550600101613f79565b5090565b6000613fa8613fa384614ead565b614e88565b905082815260208101848484011115613fc457613fc36152de565b5b613fcf848285615096565b509392505050565b6000613fea613fe584614ede565b614e88565b905082815260208101848484011115614006576140056152de565b5b614011848285615096565b509392505050565b60008135905061402881615910565b92915050565b60008083601f840112614044576140436152d4565b5b8235905067ffffffffffffffff811115614061576140606152cf565b5b60208301915083602082028301111561407d5761407c6152d9565b5b9250929050565b60008083601f84011261409a576140996152d4565b5b8235905067ffffffffffffffff8111156140b7576140b66152cf565b5b6020830191508360c08202830111156140d3576140d26152d9565b5b9250929050565b60008083601f8401126140f0576140ef6152d4565b5b8235905067ffffffffffffffff81111561410d5761410c6152cf565b5b602083019150836020820283011115614129576141286152d9565b5b9250929050565b60008135905061413f81615927565b92915050565b6000813590506141548161593e565b92915050565b6000815190506141698161593e565b92915050565b600082601f830112614184576141836152d4565b5b8135614194848260208601613f95565b91505092915050565b600082601f8301126141b2576141b16152d4565b5b81356141c2848260208601613fd7565b91505092915050565b6000813590506141da81615955565b92915050565b6000602082840312156141f6576141f56152e8565b5b600061420484828501614019565b91505092915050565b60008060408385031215614224576142236152e8565b5b600061423285828601614019565b925050602061424385828601614019565b9150509250929050565b600080600060608486031215614266576142656152e8565b5b600061427486828701614019565b935050602061428586828701614019565b9250506040614296868287016141cb565b9150509250925092565b600080600080608085870312156142ba576142b96152e8565b5b60006142c887828801614019565b94505060206142d987828801614019565b93505060406142ea878288016141cb565b925050606085013567ffffffffffffffff81111561430b5761430a6152e3565b5b6143178782880161416f565b91505092959194509250565b6000806040838503121561433a576143396152e8565b5b600061434885828601614019565b925050602061435985828601614130565b9150509250929050565b6000806040838503121561437a576143796152e8565b5b600061438885828601614019565b9250506020614399858286016141cb565b9150509250929050565b600080600080600080606087890312156143c0576143bf6152e8565b5b600087013567ffffffffffffffff8111156143de576143dd6152e3565b5b6143ea89828a0161402e565b9650965050602087013567ffffffffffffffff81111561440d5761440c6152e3565b5b61441989828a016140da565b9450945050604087013567ffffffffffffffff81111561443c5761443b6152e3565b5b61444889828a01614084565b92509250509295509295509295565b60006020828403121561446d5761446c6152e8565b5b600061447b84828501614145565b91505092915050565b60006020828403121561449a576144996152e8565b5b60006144a88482850161415a565b91505092915050565b6000602082840312156144c7576144c66152e8565b5b600082013567ffffffffffffffff8111156144e5576144e46152e3565b5b6144f18482850161419d565b91505092915050565b6000602082840312156145105761450f6152e8565b5b600061451e848285016141cb565b91505092915050565b6000806040838503121561453e5761453d6152e8565b5b600061454c858286016141cb565b925050602083013567ffffffffffffffff81111561456d5761456c6152e3565b5b6145798582860161419d565b9150509250929050565b61458c81615022565b82525050565b61459b81615034565b82525050565b60006145ac82614f24565b6145b68185614f3a565b93506145c68185602086016150a5565b6145cf816152ed565b840191505092915050565b60006145e582614f2f565b6145ef8185614f4b565b93506145ff8185602086016150a5565b614608816152ed565b840191505092915050565b600061461e82614f2f565b6146288185614f5c565b93506146388185602086016150a5565b80840191505092915050565b60008154614651816150d8565b61465b8186614f5c565b945060018216600081146146765760018114614687576146ba565b60ff198316865281860193506146ba565b61469085614f0f565b60005b838110156146b257815481890152600182019150602081019050614693565b838801955050505b50505092915050565b60006146d0600683614f4b565b91506146db826152fe565b602082019050919050565b60006146f3601483614f4b565b91506146fe82615327565b602082019050919050565b6000614716602b83614f4b565b915061472182615350565b604082019050919050565b6000614739603283614f4b565b91506147448261539f565b604082019050919050565b600061475c602683614f4b565b9150614767826153ee565b604082019050919050565b600061477f601c83614f4b565b915061478a8261543d565b602082019050919050565b60006147a2602483614f4b565b91506147ad82615466565b604082019050919050565b60006147c5601983614f4b565b91506147d0826154b5565b602082019050919050565b60006147e8603083614f4b565b91506147f3826154de565b604082019050919050565b600061480b602c83614f4b565b91506148168261552d565b604082019050919050565b600061482e603883614f4b565b91506148398261557c565b604082019050919050565b6000614851602a83614f4b565b915061485c826155cb565b604082019050919050565b6000614874602983614f4b565b915061487f8261561a565b604082019050919050565b6000614897602083614f4b565b91506148a282615669565b602082019050919050565b60006148ba603183614f4b565b91506148c582615692565b604082019050919050565b60006148dd602c83614f4b565b91506148e8826156e1565b604082019050919050565b6000614900600b83614f4b565b915061490b82615730565b602082019050919050565b6000614923602083614f4b565b915061492e82615759565b602082019050919050565b6000614946602983614f4b565b915061495182615782565b604082019050919050565b6000614969602183614f4b565b9150614974826157d1565b604082019050919050565b600061498c603183614f4b565b915061499782615820565b604082019050919050565b60006149af602c83614f4b565b91506149ba8261586f565b604082019050919050565b60006149d2600183614f5c565b91506149dd826158be565b600182019050919050565b60006149f5600183614f5c565b9150614a00826158e7565b600182019050919050565b614a148161508c565b82525050565b6000614a268285614613565b9150614a328284614613565b91508190509392505050565b6000614a4a8286614613565b9150614a568285614613565b9150614a61826149e8565b9150614a6d8284614613565b9150819050949350505050565b6000614a868289614644565b9150614a91826149c5565b9150614a9d8288614644565b9150614aa8826149c5565b9150614ab48287614644565b9150614abf826149c5565b9150614acb8286614644565b9150614ad6826149c5565b9150614ae28285614644565b9150614aed826149c5565b9150614af98284614644565b9150819050979650505050505050565b6000602082019050614b1e6000830184614583565b92915050565b6000608082019050614b396000830187614583565b614b466020830186614583565b614b536040830185614a0b565b8181036060830152614b6581846145a1565b905095945050505050565b6000602082019050614b856000830184614592565b92915050565b60006020820190508181036000830152614ba581846145da565b905092915050565b60006020820190508181036000830152614bc6816146c3565b9050919050565b60006020820190508181036000830152614be6816146e6565b9050919050565b60006020820190508181036000830152614c0681614709565b9050919050565b60006020820190508181036000830152614c268161472c565b9050919050565b60006020820190508181036000830152614c468161474f565b9050919050565b60006020820190508181036000830152614c6681614772565b9050919050565b60006020820190508181036000830152614c8681614795565b9050919050565b60006020820190508181036000830152614ca6816147b8565b9050919050565b60006020820190508181036000830152614cc6816147db565b9050919050565b60006020820190508181036000830152614ce6816147fe565b9050919050565b60006020820190508181036000830152614d0681614821565b9050919050565b60006020820190508181036000830152614d2681614844565b9050919050565b60006020820190508181036000830152614d4681614867565b9050919050565b60006020820190508181036000830152614d668161488a565b9050919050565b60006020820190508181036000830152614d86816148ad565b9050919050565b60006020820190508181036000830152614da6816148d0565b9050919050565b60006020820190508181036000830152614dc6816148f3565b9050919050565b60006020820190508181036000830152614de681614916565b9050919050565b60006020820190508181036000830152614e0681614939565b9050919050565b60006020820190508181036000830152614e268161495c565b9050919050565b60006020820190508181036000830152614e468161497f565b9050919050565b60006020820190508181036000830152614e66816149a2565b9050919050565b6000602082019050614e826000830184614a0b565b92915050565b6000614e92614ea3565b9050614e9e828261510a565b919050565b6000604051905090565b600067ffffffffffffffff821115614ec857614ec76152a0565b5b614ed1826152ed565b9050602081019050919050565b600067ffffffffffffffff821115614ef957614ef86152a0565b5b614f02826152ed565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f728261508c565b9150614f7d8361508c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fb257614fb16151b5565b5b828201905092915050565b6000614fc88261508c565b9150614fd38361508c565b925082614fe357614fe26151e4565b5b828204905092915050565b6000614ff98261508c565b91506150048361508c565b925082821015615017576150166151b5565b5b828203905092915050565b600061502d8261506c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150c35780820151818401526020810190506150a8565b838111156150d2576000848401525b50505050565b600060028204905060018216806150f057607f821691505b6020821081141561510457615103615213565b5b50919050565b615113826152ed565b810181811067ffffffffffffffff82111715615132576151316152a0565b5b80604052505050565b60006151468261508c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615179576151786151b5565b5b600182019050919050565b600061518f8261508c565b915061519a8361508c565b9250826151aa576151a96151e4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b7f546f6b656e20616c7265616479206d696e746564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f7220746865206160008201527f7070726f76656420636f6e747261637400000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b61591981615022565b811461592457600080fd5b50565b61593081615034565b811461593b57600080fd5b50565b61594781615040565b811461595257600080fd5b50565b61595e8161508c565b811461596957600080fd5b5056fea2646970667358221220e572c064b1d7dca7146595b2c1513a4c5d9f4a325ef01a011f2a4934c44b9db164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000095768656c70734e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004574c505300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __name (string): WhelpsNFT
Arg [1] : __symbol (string): WLPS
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 5768656c70734e46540000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 574c505300000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.