ERC-721
Overview
Max Total Supply
834 VSFW
Holders
301
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 VSFWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KamaGangTheVSFWedition
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-08-03 */ // KamaGang: The VSFW Edition ETH CONTRACT // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/Strings.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/EnumerableMap.sol pragma solidity ^0.8.0; /** * @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 { // 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 MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @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) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @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) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry 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. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @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._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.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) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @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) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @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) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @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) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // 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)))); } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/EnumerableSet.sol pragma solidity ^0.8.0; /** * @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] = toDeleteIndex + 1; // All indexes are 1-based // 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)); } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // 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); } } } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(type(IERC165).interfaceId); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @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; } pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @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); } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721Metadata.sol pragma solidity ^0.8.0; /** * @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); } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/introspection/IERC165.sol // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/Context.sol pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN 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; } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol pragma solidity ^0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /** * @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_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(type(IERC721).interfaceId); _registerInterface(type(IERC721Metadata).interfaceId); _registerInterface(type(IERC721Enumerable).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 _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @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 _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @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 || ERC721.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 _tokenOwners.contains(tokenId); } /** * @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 || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `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); _holderTokens[to].add(tokenId); _tokenOwners.set(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); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(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"); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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; } } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @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 { } } // File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/math/SafeMath.sol pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is 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; } } } // File: browser/KAMA.sol pragma solidity ^0.8.0; contract KamaGangTheVSFWedition is ERC721, Ownable { using SafeMath for uint256; IERC721 constant KamagangContract = IERC721(0xD049Ab4988962c8D3F25908E25baf7dd868A01C3); bool public canClaim = false; mapping(uint256 => bool) public ClaimedTokens; event Claim(uint256[] _id, address _from); // THE IPFS HASH OF ALL TOKEN DATAS WILL BE ADDED HERE string public METADATA_PROVENANCE_HASH = ""; constructor() ERC721("KamaGang: The VSFW Edition","VSFW") { setBaseURI("https://kamagang.com/api/token/vsfw/"); } function tokensOfOwner(address _owner) external view returns(uint256[] memory ) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function claimToken(uint256[] memory tokenIds) public payable { require(canClaim, "CLAIM PERIOD IS NOT STARTED YET."); for(uint i = 0; i < tokenIds.length; i++) { require(tokenIds[i] < 3163, "INVALID ID."); require(KamagangContract.ownerOf(tokenIds[i]) == msg.sender && !ClaimedTokens[tokenIds[i]], "NOT OWNED OR ALREADY CLAIMED."); ClaimedTokens[tokenIds[i]] = true; _safeMint(msg.sender, tokenIds[i]); } emit Claim(tokenIds, msg.sender); } // ONLYOWNER FUNCTIONS function setProvenanceHash(string memory _hash) public onlyOwner { METADATA_PROVENANCE_HASH = _hash; } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } function startClaim() public onlyOwner { canClaim = true; } function endClaim() public onlyOwner { canClaim = false; } function withdrawAll() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"_id","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"_from","type":"address"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ClaimedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"endClaim","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":[{"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
600a805460ff60a01b1916905560a06040819052600060808190526200002891600c916200027b565b503480156200003657600080fd5b506040518060400160405280601a81526020017f4b616d6147616e673a2054686520565346572045646974696f6e000000000000815250604051806040016040528060048152602001635653465760e01b815250620000a26301ffc9a760e01b6200017360201b60201c565b8151620000b79060069060208501906200027b565b508051620000cd9060079060208401906200027b565b50620000e06380ac58cd60e01b62000173565b620000f2635b5e139f60e01b62000173565b6200010463780e9d6360e01b62000173565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200016d604051806060016040528060248152602001620028df60249139620001f8565b6200035e565b6001600160e01b03198082161415620001d35760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e746572666163652069640000000060448201526064015b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a546001600160a01b03163314620002545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001ca565b6200025f8162000262565b50565b8051620002779060099060208401906200027b565b5050565b828054620002899062000321565b90600052602060002090601f016020900481019282620002ad5760008555620002f8565b82601f10620002c857805160ff1916838001178555620002f8565b82800160010185558215620002f8579182015b82811115620002f8578251825591602001919060010190620002db565b50620003069291506200030a565b5090565b5b808211156200030657600081556001016200030b565b600181811c908216806200033657607f821691505b602082108114156200035857634e487b7160e01b600052602260045260246000fd5b50919050565b612571806200036e6000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063a22cb46511610095578063e985e9c511610064578063e985e9c51461052b578063ecbfc07714610574578063f0c9dc6014610589578063f2fde38b1461059e57600080fd5b8063a22cb465146104b6578063b2c62d46146104d6578063b88d4fde146104eb578063c87b56dd1461050b57600080fd5b8063853828b6116100d1578063853828b6146104685780638da5cb5b1461047057806392fbe4811461048e57806395d89b41146104a157600080fd5b806370a0823114610406578063715018a6146104265780638462151c1461043b57600080fd5b80632f745c591161016f57806355f804b31161013e57806355f804b3146103905780636352211e146103b05780636c0360eb146103d05780636dc7a627146103e557600080fd5b80632f745c5914610300578063372d0cfc1461032057806342842e0e146103505780634f6ccce71461037057600080fd5b8063095ea7b3116101ab578063095ea7b31461027b578063109695231461029d57806318160ddd146102bd57806323b872dd146102e057600080fd5b806301ffc9a7146101d257806306fdde0314610221578063081812fc14610243575b600080fd5b3480156101de57600080fd5b5061020c6101ed366004612111565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561022d57600080fd5b506102366105be565b60405161021891906122b6565b34801561024f57600080fd5b5061026361025e36600461218f565b610650565b6040516001600160a01b039091168152602001610218565b34801561028757600080fd5b5061029b61029636600461203e565b6106dd565b005b3480156102a957600080fd5b5061029b6102b8366004612149565b6107f3565b3480156102c957600080fd5b506102d2610834565b604051908152602001610218565b3480156102ec57600080fd5b5061029b6102fb366004611f50565b610845565b34801561030c57600080fd5b506102d261031b36600461203e565b610876565b34801561032c57600080fd5b5061020c61033b36600461218f565b600b6020526000908152604090205460ff1681565b34801561035c57600080fd5b5061029b61036b366004611f50565b6108a1565b34801561037c57600080fd5b506102d261038b36600461218f565b6108bc565b34801561039c57600080fd5b5061029b6103ab366004612149565b6108d2565b3480156103bc57600080fd5b506102636103cb36600461218f565b610908565b3480156103dc57600080fd5b50610236610930565b3480156103f157600080fd5b50600a5461020c90600160a01b900460ff1681565b34801561041257600080fd5b506102d2610421366004611ee0565b61093f565b34801561043257600080fd5b5061029b6109cb565b34801561044757600080fd5b5061045b610456366004611ee0565b610a3f565b6040516102189190612279565b61029b610b16565b34801561047c57600080fd5b50600a546001600160a01b0316610263565b61029b61049c366004612069565b610b66565b3480156104ad57600080fd5b50610236610e68565b3480156104c257600080fd5b5061029b6104d136600461200d565b610e77565b3480156104e257600080fd5b5061029b610f3c565b3480156104f757600080fd5b5061029b610506366004611f90565b610f75565b34801561051757600080fd5b5061023661052636600461218f565b610fad565b34801561053757600080fd5b5061020c610546366004611f18565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561058057600080fd5b5061029b61111f565b34801561059557600080fd5b5061023661115e565b3480156105aa57600080fd5b5061029b6105b9366004611ee0565b6111ec565b6060600680546105cd90612441565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990612441565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b5050505050905090565b600061065b826112d7565b6106c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106e882610908565b9050806001600160a01b0316836001600160a01b031614156107565760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106b8565b336001600160a01b038216148061077257506107728133610546565b6107e45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106b8565b6107ee83836112e4565b505050565b600a546001600160a01b0316331461081d5760405162461bcd60e51b81526004016106b89061231b565b805161083090600c906020840190611def565b5050565b60006108406002611352565b905090565b61084f338261135c565b61086b5760405162461bcd60e51b81526004016106b890612350565b6107ee838383611446565b6001600160a01b038216600090815260016020526040812061089890836115c7565b90505b92915050565b6107ee83838360405180602001604052806000815250610f75565b6000806108ca6002846115d3565b509392505050565b600a546001600160a01b031633146108fc5760405162461bcd60e51b81526004016106b89061231b565b610905816115ef565b50565b600061089b826040518060600160405280602981526020016125136029913960029190611602565b6060600980546105cd90612441565b60006001600160a01b0382166109aa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106b8565b6001600160a01b038216600090815260016020526040902061089b90611352565b600a546001600160a01b031633146109f55760405162461bcd60e51b81526004016106b89061231b565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610a4c8361093f565b905080610a695760408051600080825260208201909252906108ca565b60008167ffffffffffffffff811115610a9257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610abb578160200160208202803683370190505b50905060005b828110156108ca57610ad38582610876565b828281518110610af357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610b0881612476565b915050610ac1565b50919050565b600a546001600160a01b03163314610b405760405162461bcd60e51b81526004016106b89061231b565b60405133904780156108fc02916000818181858888f19350505050610b6457600080fd5b565b600a54600160a01b900460ff16610bbf5760405162461bcd60e51b815260206004820181905260248201527f434c41494d20504552494f44204953204e4f542053544152544544205945542e60448201526064016106b8565b60005b8151811015610e2b57610c5b828281518110610bee57634e487b7160e01b600052603260045260246000fd5b602002602001015110610c315760405162461bcd60e51b815260206004820152600b60248201526a24a72b20a624a21024a21760a91b60448201526064016106b8565b336001600160a01b031673d049ab4988962c8d3f25908e25baf7dd868a01c36001600160a01b0316636352211e848481518110610c7e57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610ca491815260200190565b60206040518083038186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf49190611efc565b6001600160a01b0316148015610d495750600b6000838381518110610d2957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16155b610d955760405162461bcd60e51b815260206004820152601d60248201527f4e4f54204f574e4544204f5220414c524541445920434c41494d45442e00000060448201526064016106b8565b6001600b6000848481518110610dbb57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550610e1933838381518110610e0c57634e487b7160e01b600052603260045260246000fd5b6020026020010151611619565b80610e2381612476565b915050610bc2565b507f29e6b08c4aab4271885d12af95681e1b66b135ad30a9c051590979414b9b53c08133604051610e5d92919061228c565b60405180910390a150565b6060600780546105cd90612441565b6001600160a01b038216331415610ed05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b8565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314610f665760405162461bcd60e51b81526004016106b89061231b565b600a805460ff60a01b19169055565b610f7f338361135c565b610f9b5760405162461bcd60e51b81526004016106b890612350565b610fa784848484611633565b50505050565b6060610fb8826112d7565b61101c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106b8565b6000828152600860205260408120805461103590612441565b80601f016020809104026020016040519081016040528092919081815260200182805461106190612441565b80156110ae5780601f10611083576101008083540402835291602001916110ae565b820191906000526020600020905b81548152906001019060200180831161109157829003601f168201915b5050505050905060006110bf610930565b90508051600014156110d2575092915050565b8151156111045780826040516020016110ec92919061220d565b60405160208183030381529060405292505050919050565b8061110e85611666565b6040516020016110ec92919061220d565b600a546001600160a01b031633146111495760405162461bcd60e51b81526004016106b89061231b565b600a805460ff60a01b1916600160a01b179055565b600c805461116b90612441565b80601f016020809104026020016040519081016040528092919081815260200182805461119790612441565b80156111e45780601f106111b9576101008083540402835291602001916111e4565b820191906000526020600020905b8154815290600101906020018083116111c757829003601f168201915b505050505081565b600a546001600160a01b031633146112165760405162461bcd60e51b81526004016106b89061231b565b6001600160a01b03811661127b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b8565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061089b600283611780565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061131982610908565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061089b825490565b6000611367826112d7565b6113c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106b8565b60006113d383610908565b9050806001600160a01b0316846001600160a01b0316148061140e5750836001600160a01b031661140384610650565b6001600160a01b0316145b8061143e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661145982610908565b6001600160a01b0316146114c15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106b8565b6001600160a01b0382166115235760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b8565b61152e6000826112e4565b6001600160a01b03831660009081526001602052604090206115509082611798565b506001600160a01b038216600090815260016020526040902061157390826117a4565b50611580600282846117b0565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061089883836117c6565b60008080806115e2868661185a565b9097909650945050505050565b8051610830906009906020840190611def565b600061160f848484611905565b90505b9392505050565b61083082826040518060200160405280600081525061197c565b61163e848484611446565b61164a848484846119af565b610fa75760405162461bcd60e51b81526004016106b8906122c9565b60608161168a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116b4578061169e81612476565b91506116ad9050600a836123ea565b915061168e565b60008167ffffffffffffffff8111156116dd57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611707576020820181803683370190505b5090505b841561143e5761171c6001836123fe565b9150611729600a86612491565b6117349060306123d2565b60f81b81838151811061175757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611779600a866123ea565b945061170b565b60008181526001830160205260408120541515610898565b60006108988383611abc565b60006108988383611bd9565b600061160f84846001600160a01b038516611c28565b815460009082106118245760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106b8565b82600001828154811061184757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b8154600090819083106118ba5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106b8565b60008460000184815481106118df57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816119355760405162461bcd60e51b81526004016106b891906122b6565b50846119426001836123fe565b8154811061196057634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b6119868383611cd7565b61199360008484846119af565b6107ee5760405162461bcd60e51b81526004016106b8906122c9565b60006001600160a01b0384163b15611ab157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119f390339089908890889060040161223c565b602060405180830381600087803b158015611a0d57600080fd5b505af1925050508015611a3d575060408051601f3d908101601f19168201909252611a3a9181019061212d565b60015b611a97573d808015611a6b576040519150601f19603f3d011682016040523d82523d6000602084013e611a70565b606091505b508051611a8f5760405162461bcd60e51b81526004016106b8906122c9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061143e565b506001949350505050565b60008181526001830160205260408120548015611bcf576000611ae06001836123fe565b8554909150600090611af4906001906123fe565b90506000866000018281548110611b1b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611b4c57634e487b7160e01b600052603260045260246000fd5b600091825260209091200155611b638360016123d2565b60008281526001890160205260409020558654879080611b9357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061089b565b600091505061089b565b6000818152600183016020526040812054611c205750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561089b565b50600061089b565b600082815260018401602052604081205480611c8d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611612565b8285611c9a6001846123fe565b81548110611cb857634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050611612565b6001600160a01b038216611d2d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b8565b611d36816112d7565b15611d835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b8565b6001600160a01b0382166000908152600160205260409020611da590826117a4565b50611db2600282846117b0565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611dfb90612441565b90600052602060002090601f016020900481019282611e1d5760008555611e63565b82601f10611e3657805160ff1916838001178555611e63565b82800160010185558215611e63579182015b82811115611e63578251825591602001919060010190611e48565b50611e6f929150611e73565b5090565b5b80821115611e6f5760008155600101611e74565b600067ffffffffffffffff831115611ea257611ea26124d1565b611eb5601f8401601f19166020016123a1565b9050828152838383011115611ec957600080fd5b828260208301376000602084830101529392505050565b600060208284031215611ef1578081fd5b8135611612816124e7565b600060208284031215611f0d578081fd5b8151611612816124e7565b60008060408385031215611f2a578081fd5b8235611f35816124e7565b91506020830135611f45816124e7565b809150509250929050565b600080600060608486031215611f64578081fd5b8335611f6f816124e7565b92506020840135611f7f816124e7565b929592945050506040919091013590565b60008060008060808587031215611fa5578081fd5b8435611fb0816124e7565b93506020850135611fc0816124e7565b925060408501359150606085013567ffffffffffffffff811115611fe2578182fd5b8501601f81018713611ff2578182fd5b61200187823560208401611e88565b91505092959194509250565b6000806040838503121561201f578182fd5b823561202a816124e7565b915060208301358015158114611f45578182fd5b60008060408385031215612050578182fd5b823561205b816124e7565b946020939093013593505050565b6000602080838503121561207b578182fd5b823567ffffffffffffffff80821115612092578384fd5b818501915085601f8301126120a5578384fd5b8135818111156120b7576120b76124d1565b8060051b91506120c88483016123a1565b8181528481019084860184860187018a10156120e2578788fd5b8795505b838610156121045780358352600195909501949186019186016120e6565b5098975050505050505050565b600060208284031215612122578081fd5b8135611612816124fc565b60006020828403121561213e578081fd5b8151611612816124fc565b60006020828403121561215a578081fd5b813567ffffffffffffffff811115612170578182fd5b8201601f81018413612180578182fd5b61143e84823560208401611e88565b6000602082840312156121a0578081fd5b5035919050565b6000815180845260208085019450808401835b838110156121d6578151875295820195908201906001016121ba565b509495945050505050565b600081518084526121f9816020860160208601612415565b601f01601f19169290920160200192915050565b6000835161221f818460208801612415565b835190830190612233818360208801612415565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061226f908301846121e1565b9695505050505050565b60208152600061089860208301846121a7565b60408152600061229f60408301856121a7565b905060018060a01b03831660208301529392505050565b60208152600061089860208301846121e1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156123ca576123ca6124d1565b604052919050565b600082198211156123e5576123e56124a5565b500190565b6000826123f9576123f96124bb565b500490565b600082821015612410576124106124a5565b500390565b60005b83811015612430578181015183820152602001612418565b83811115610fa75750506000910152565b600181811c9082168061245557607f821691505b60208210811415610b1057634e487b7160e01b600052602260045260246000fd5b600060001982141561248a5761248a6124a5565b5060010190565b6000826124a0576124a06124bb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461090557600080fd5b6001600160e01b03198116811461090557600080fdfe4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212205cb869c79b9415c4c016ee24e5dbcd71aefe232b329dc105cad62c4973e4d7ca64736f6c6343000804003368747470733a2f2f6b616d6167616e672e636f6d2f6170692f746f6b656e2f767366772f
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063a22cb46511610095578063e985e9c511610064578063e985e9c51461052b578063ecbfc07714610574578063f0c9dc6014610589578063f2fde38b1461059e57600080fd5b8063a22cb465146104b6578063b2c62d46146104d6578063b88d4fde146104eb578063c87b56dd1461050b57600080fd5b8063853828b6116100d1578063853828b6146104685780638da5cb5b1461047057806392fbe4811461048e57806395d89b41146104a157600080fd5b806370a0823114610406578063715018a6146104265780638462151c1461043b57600080fd5b80632f745c591161016f57806355f804b31161013e57806355f804b3146103905780636352211e146103b05780636c0360eb146103d05780636dc7a627146103e557600080fd5b80632f745c5914610300578063372d0cfc1461032057806342842e0e146103505780634f6ccce71461037057600080fd5b8063095ea7b3116101ab578063095ea7b31461027b578063109695231461029d57806318160ddd146102bd57806323b872dd146102e057600080fd5b806301ffc9a7146101d257806306fdde0314610221578063081812fc14610243575b600080fd5b3480156101de57600080fd5b5061020c6101ed366004612111565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561022d57600080fd5b506102366105be565b60405161021891906122b6565b34801561024f57600080fd5b5061026361025e36600461218f565b610650565b6040516001600160a01b039091168152602001610218565b34801561028757600080fd5b5061029b61029636600461203e565b6106dd565b005b3480156102a957600080fd5b5061029b6102b8366004612149565b6107f3565b3480156102c957600080fd5b506102d2610834565b604051908152602001610218565b3480156102ec57600080fd5b5061029b6102fb366004611f50565b610845565b34801561030c57600080fd5b506102d261031b36600461203e565b610876565b34801561032c57600080fd5b5061020c61033b36600461218f565b600b6020526000908152604090205460ff1681565b34801561035c57600080fd5b5061029b61036b366004611f50565b6108a1565b34801561037c57600080fd5b506102d261038b36600461218f565b6108bc565b34801561039c57600080fd5b5061029b6103ab366004612149565b6108d2565b3480156103bc57600080fd5b506102636103cb36600461218f565b610908565b3480156103dc57600080fd5b50610236610930565b3480156103f157600080fd5b50600a5461020c90600160a01b900460ff1681565b34801561041257600080fd5b506102d2610421366004611ee0565b61093f565b34801561043257600080fd5b5061029b6109cb565b34801561044757600080fd5b5061045b610456366004611ee0565b610a3f565b6040516102189190612279565b61029b610b16565b34801561047c57600080fd5b50600a546001600160a01b0316610263565b61029b61049c366004612069565b610b66565b3480156104ad57600080fd5b50610236610e68565b3480156104c257600080fd5b5061029b6104d136600461200d565b610e77565b3480156104e257600080fd5b5061029b610f3c565b3480156104f757600080fd5b5061029b610506366004611f90565b610f75565b34801561051757600080fd5b5061023661052636600461218f565b610fad565b34801561053757600080fd5b5061020c610546366004611f18565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561058057600080fd5b5061029b61111f565b34801561059557600080fd5b5061023661115e565b3480156105aa57600080fd5b5061029b6105b9366004611ee0565b6111ec565b6060600680546105cd90612441565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990612441565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b5050505050905090565b600061065b826112d7565b6106c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106e882610908565b9050806001600160a01b0316836001600160a01b031614156107565760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106b8565b336001600160a01b038216148061077257506107728133610546565b6107e45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106b8565b6107ee83836112e4565b505050565b600a546001600160a01b0316331461081d5760405162461bcd60e51b81526004016106b89061231b565b805161083090600c906020840190611def565b5050565b60006108406002611352565b905090565b61084f338261135c565b61086b5760405162461bcd60e51b81526004016106b890612350565b6107ee838383611446565b6001600160a01b038216600090815260016020526040812061089890836115c7565b90505b92915050565b6107ee83838360405180602001604052806000815250610f75565b6000806108ca6002846115d3565b509392505050565b600a546001600160a01b031633146108fc5760405162461bcd60e51b81526004016106b89061231b565b610905816115ef565b50565b600061089b826040518060600160405280602981526020016125136029913960029190611602565b6060600980546105cd90612441565b60006001600160a01b0382166109aa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106b8565b6001600160a01b038216600090815260016020526040902061089b90611352565b600a546001600160a01b031633146109f55760405162461bcd60e51b81526004016106b89061231b565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610a4c8361093f565b905080610a695760408051600080825260208201909252906108ca565b60008167ffffffffffffffff811115610a9257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610abb578160200160208202803683370190505b50905060005b828110156108ca57610ad38582610876565b828281518110610af357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610b0881612476565b915050610ac1565b50919050565b600a546001600160a01b03163314610b405760405162461bcd60e51b81526004016106b89061231b565b60405133904780156108fc02916000818181858888f19350505050610b6457600080fd5b565b600a54600160a01b900460ff16610bbf5760405162461bcd60e51b815260206004820181905260248201527f434c41494d20504552494f44204953204e4f542053544152544544205945542e60448201526064016106b8565b60005b8151811015610e2b57610c5b828281518110610bee57634e487b7160e01b600052603260045260246000fd5b602002602001015110610c315760405162461bcd60e51b815260206004820152600b60248201526a24a72b20a624a21024a21760a91b60448201526064016106b8565b336001600160a01b031673d049ab4988962c8d3f25908e25baf7dd868a01c36001600160a01b0316636352211e848481518110610c7e57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610ca491815260200190565b60206040518083038186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf49190611efc565b6001600160a01b0316148015610d495750600b6000838381518110610d2957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16155b610d955760405162461bcd60e51b815260206004820152601d60248201527f4e4f54204f574e4544204f5220414c524541445920434c41494d45442e00000060448201526064016106b8565b6001600b6000848481518110610dbb57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550610e1933838381518110610e0c57634e487b7160e01b600052603260045260246000fd5b6020026020010151611619565b80610e2381612476565b915050610bc2565b507f29e6b08c4aab4271885d12af95681e1b66b135ad30a9c051590979414b9b53c08133604051610e5d92919061228c565b60405180910390a150565b6060600780546105cd90612441565b6001600160a01b038216331415610ed05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b8565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314610f665760405162461bcd60e51b81526004016106b89061231b565b600a805460ff60a01b19169055565b610f7f338361135c565b610f9b5760405162461bcd60e51b81526004016106b890612350565b610fa784848484611633565b50505050565b6060610fb8826112d7565b61101c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106b8565b6000828152600860205260408120805461103590612441565b80601f016020809104026020016040519081016040528092919081815260200182805461106190612441565b80156110ae5780601f10611083576101008083540402835291602001916110ae565b820191906000526020600020905b81548152906001019060200180831161109157829003601f168201915b5050505050905060006110bf610930565b90508051600014156110d2575092915050565b8151156111045780826040516020016110ec92919061220d565b60405160208183030381529060405292505050919050565b8061110e85611666565b6040516020016110ec92919061220d565b600a546001600160a01b031633146111495760405162461bcd60e51b81526004016106b89061231b565b600a805460ff60a01b1916600160a01b179055565b600c805461116b90612441565b80601f016020809104026020016040519081016040528092919081815260200182805461119790612441565b80156111e45780601f106111b9576101008083540402835291602001916111e4565b820191906000526020600020905b8154815290600101906020018083116111c757829003601f168201915b505050505081565b600a546001600160a01b031633146112165760405162461bcd60e51b81526004016106b89061231b565b6001600160a01b03811661127b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b8565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061089b600283611780565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061131982610908565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061089b825490565b6000611367826112d7565b6113c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106b8565b60006113d383610908565b9050806001600160a01b0316846001600160a01b0316148061140e5750836001600160a01b031661140384610650565b6001600160a01b0316145b8061143e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661145982610908565b6001600160a01b0316146114c15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106b8565b6001600160a01b0382166115235760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b8565b61152e6000826112e4565b6001600160a01b03831660009081526001602052604090206115509082611798565b506001600160a01b038216600090815260016020526040902061157390826117a4565b50611580600282846117b0565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061089883836117c6565b60008080806115e2868661185a565b9097909650945050505050565b8051610830906009906020840190611def565b600061160f848484611905565b90505b9392505050565b61083082826040518060200160405280600081525061197c565b61163e848484611446565b61164a848484846119af565b610fa75760405162461bcd60e51b81526004016106b8906122c9565b60608161168a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116b4578061169e81612476565b91506116ad9050600a836123ea565b915061168e565b60008167ffffffffffffffff8111156116dd57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611707576020820181803683370190505b5090505b841561143e5761171c6001836123fe565b9150611729600a86612491565b6117349060306123d2565b60f81b81838151811061175757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611779600a866123ea565b945061170b565b60008181526001830160205260408120541515610898565b60006108988383611abc565b60006108988383611bd9565b600061160f84846001600160a01b038516611c28565b815460009082106118245760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106b8565b82600001828154811061184757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b8154600090819083106118ba5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106b8565b60008460000184815481106118df57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816119355760405162461bcd60e51b81526004016106b891906122b6565b50846119426001836123fe565b8154811061196057634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b6119868383611cd7565b61199360008484846119af565b6107ee5760405162461bcd60e51b81526004016106b8906122c9565b60006001600160a01b0384163b15611ab157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119f390339089908890889060040161223c565b602060405180830381600087803b158015611a0d57600080fd5b505af1925050508015611a3d575060408051601f3d908101601f19168201909252611a3a9181019061212d565b60015b611a97573d808015611a6b576040519150601f19603f3d011682016040523d82523d6000602084013e611a70565b606091505b508051611a8f5760405162461bcd60e51b81526004016106b8906122c9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061143e565b506001949350505050565b60008181526001830160205260408120548015611bcf576000611ae06001836123fe565b8554909150600090611af4906001906123fe565b90506000866000018281548110611b1b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611b4c57634e487b7160e01b600052603260045260246000fd5b600091825260209091200155611b638360016123d2565b60008281526001890160205260409020558654879080611b9357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061089b565b600091505061089b565b6000818152600183016020526040812054611c205750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561089b565b50600061089b565b600082815260018401602052604081205480611c8d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611612565b8285611c9a6001846123fe565b81548110611cb857634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050611612565b6001600160a01b038216611d2d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b8565b611d36816112d7565b15611d835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b8565b6001600160a01b0382166000908152600160205260409020611da590826117a4565b50611db2600282846117b0565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611dfb90612441565b90600052602060002090601f016020900481019282611e1d5760008555611e63565b82601f10611e3657805160ff1916838001178555611e63565b82800160010185558215611e63579182015b82811115611e63578251825591602001919060010190611e48565b50611e6f929150611e73565b5090565b5b80821115611e6f5760008155600101611e74565b600067ffffffffffffffff831115611ea257611ea26124d1565b611eb5601f8401601f19166020016123a1565b9050828152838383011115611ec957600080fd5b828260208301376000602084830101529392505050565b600060208284031215611ef1578081fd5b8135611612816124e7565b600060208284031215611f0d578081fd5b8151611612816124e7565b60008060408385031215611f2a578081fd5b8235611f35816124e7565b91506020830135611f45816124e7565b809150509250929050565b600080600060608486031215611f64578081fd5b8335611f6f816124e7565b92506020840135611f7f816124e7565b929592945050506040919091013590565b60008060008060808587031215611fa5578081fd5b8435611fb0816124e7565b93506020850135611fc0816124e7565b925060408501359150606085013567ffffffffffffffff811115611fe2578182fd5b8501601f81018713611ff2578182fd5b61200187823560208401611e88565b91505092959194509250565b6000806040838503121561201f578182fd5b823561202a816124e7565b915060208301358015158114611f45578182fd5b60008060408385031215612050578182fd5b823561205b816124e7565b946020939093013593505050565b6000602080838503121561207b578182fd5b823567ffffffffffffffff80821115612092578384fd5b818501915085601f8301126120a5578384fd5b8135818111156120b7576120b76124d1565b8060051b91506120c88483016123a1565b8181528481019084860184860187018a10156120e2578788fd5b8795505b838610156121045780358352600195909501949186019186016120e6565b5098975050505050505050565b600060208284031215612122578081fd5b8135611612816124fc565b60006020828403121561213e578081fd5b8151611612816124fc565b60006020828403121561215a578081fd5b813567ffffffffffffffff811115612170578182fd5b8201601f81018413612180578182fd5b61143e84823560208401611e88565b6000602082840312156121a0578081fd5b5035919050565b6000815180845260208085019450808401835b838110156121d6578151875295820195908201906001016121ba565b509495945050505050565b600081518084526121f9816020860160208601612415565b601f01601f19169290920160200192915050565b6000835161221f818460208801612415565b835190830190612233818360208801612415565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061226f908301846121e1565b9695505050505050565b60208152600061089860208301846121a7565b60408152600061229f60408301856121a7565b905060018060a01b03831660208301529392505050565b60208152600061089860208301846121e1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156123ca576123ca6124d1565b604052919050565b600082198211156123e5576123e56124a5565b500190565b6000826123f9576123f96124bb565b500490565b600082821015612410576124106124a5565b500390565b60005b83811015612430578181015183820152602001612418565b83811115610fa75750506000910152565b600181811c9082168061245557607f821691505b60208210811415610b1057634e487b7160e01b600052602260045260246000fd5b600060001982141561248a5761248a6124a5565b5060010190565b6000826124a0576124a06124bb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461090557600080fd5b6001600160e01b03198116811461090557600080fdfe4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212205cb869c79b9415c4c016ee24e5dbcd71aefe232b329dc105cad62c4973e4d7ca64736f6c63430008040033
Deployed Bytecode Sourcemap
66115:2257:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31821:150;;;;;;;;;;-1:-1:-1;31821:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;;31930:33:0;31906:4;31930:33;;;;;;;;;;;;;;31821:150;;;;8312:14:1;;8305:22;8287:41;;8275:2;8260:18;31821:150:0;;;;;;;;43509:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;46295:221::-;;;;;;;;;;-1:-1:-1;46295:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6981:32:1;;;6963:51;;6951:2;6936:18;46295:221:0;6918:102:1;45825:404:0;;;;;;;;;;-1:-1:-1;45825:404:0;;;;;:::i;:::-;;:::i;:::-;;67838:116;;;;;;;;;;-1:-1:-1;67838:116:0;;;;;:::i;:::-;;:::i;45303:211::-;;;;;;;;;;;;;:::i;:::-;;;16546:25:1;;;16534:2;16519:18;45303:211:0;16501:76:1;47185:305:0;;;;;;;;;;-1:-1:-1;47185:305:0;;;;;:::i;:::-;;:::i;45065:162::-;;;;;;;;;;-1:-1:-1;45065:162:0;;;;;:::i;:::-;;:::i;66353:45::-;;;;;;;;;;-1:-1:-1;66353:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;47561:151;;;;;;;;;;-1:-1:-1;47561:151:0;;;;;:::i;:::-;;:::i;45591:172::-;;;;;;;;;;-1:-1:-1;45591:172:0;;;;;:::i;:::-;;:::i;67966:99::-;;;;;;;;;;-1:-1:-1;67966:99:0;;;;;:::i;:::-;;:::i;43265:177::-;;;;;;;;;;-1:-1:-1;43265:177:0;;;;;:::i;:::-;;:::i;44884:97::-;;;;;;;;;;;;;:::i;66312:28::-;;;;;;;;;;-1:-1:-1;66312:28:0;;;;-1:-1:-1;;;66312:28:0;;;;;;42970:221;;;;;;;;;;-1:-1:-1;42970:221:0;;;;;:::i;:::-;;:::i;58368:148::-;;;;;;;;;;;;;:::i;66707:540::-;;;;;;;;;;-1:-1:-1;66707:540:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;68246:123::-;;;:::i;57717:87::-;;;;;;;;;;-1:-1:-1;57790:6:0;;-1:-1:-1;;;;;57790:6:0;57717:87;;67258:534;;;;;;:::i;:::-;;:::i;43678:104::-;;;;;;;;;;;;;:::i;46588:295::-;;;;;;;;;;-1:-1:-1;46588:295:0;;;;;:::i;:::-;;:::i;68162:72::-;;;;;;;;;;;;;:::i;47783:285::-;;;;;;;;;;-1:-1:-1;47783:285:0;;;;;:::i;:::-;;:::i;43853:792::-;;;;;;;;;;-1:-1:-1;43853:792:0;;;;;:::i;:::-;;:::i;46954:164::-;;;;;;;;;;-1:-1:-1;46954:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;47075:25:0;;;47051:4;47075:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;46954:164;68077:73;;;;;;;;;;;;;:::i;66513:43::-;;;;;;;;;;;;;:::i;58671:244::-;;;;;;;;;;-1:-1:-1;58671:244:0;;;;;:::i;:::-;;:::i;43509:100::-;43563:13;43596:5;43589:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43509:100;:::o;46295:221::-;46371:7;46399:16;46407:7;46399;:16::i;:::-;46391:73;;;;-1:-1:-1;;;46391:73:0;;13463:2:1;46391:73:0;;;13445:21:1;13502:2;13482:18;;;13475:30;13541:34;13521:18;;;13514:62;-1:-1:-1;;;13592:18:1;;;13585:42;13644:19;;46391:73:0;;;;;;;;;-1:-1:-1;46484:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46484:24:0;;46295:221::o;45825:404::-;45906:13;45922:23;45937:7;45922:14;:23::i;:::-;45906:39;;45970:5;-1:-1:-1;;;;;45964:11:0;:2;-1:-1:-1;;;;;45964:11:0;;;45956:57;;;;-1:-1:-1;;;45956:57:0;;15782:2:1;45956:57:0;;;15764:21:1;15821:2;15801:18;;;15794:30;15860:34;15840:18;;;15833:62;-1:-1:-1;;;15911:18:1;;;15904:31;15952:19;;45956:57:0;15754:223:1;45956:57:0;40832:10;-1:-1:-1;;;;;46034:21:0;;;;:69;;-1:-1:-1;46059:44:0;46083:5;40832:10;46954:164;:::i;46059:44::-;46026:161;;;;-1:-1:-1;;;46026:161:0;;11863:2:1;46026:161:0;;;11845:21:1;11902:2;11882:18;;;11875:30;11941:34;11921:18;;;11914:62;12012:26;11992:18;;;11985:54;12056:19;;46026:161:0;11835:246:1;46026:161:0;46200:21;46209:2;46213:7;46200:8;:21::i;:::-;45825:404;;;:::o;67838:116::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;67914:32;;::::1;::::0;:24:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;67838:116:::0;:::o;45303:211::-;45364:7;45485:21;:12;:19;:21::i;:::-;45478:28;;45303:211;:::o;47185:305::-;47346:41;40832:10;47379:7;47346:18;:41::i;:::-;47338:103;;;;-1:-1:-1;;;47338:103:0;;;;;;;:::i;:::-;47454:28;47464:4;47470:2;47474:7;47454:9;:28::i;45065:162::-;-1:-1:-1;;;;;45189:20:0;;45162:7;45189:20;;;:13;:20;;;;;:30;;45213:5;45189:23;:30::i;:::-;45182:37;;45065:162;;;;;:::o;47561:151::-;47665:39;47682:4;47688:2;47692:7;47665:39;;;;;;;;;;;;:16;:39::i;45591:172::-;45666:7;;45708:22;:12;45724:5;45708:15;:22::i;:::-;-1:-1:-1;45686:44:0;45591:172;-1:-1:-1;;;45591:172:0:o;67966:99::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;68037:20:::1;68049:7;68037:11;:20::i;:::-;67966:99:::0;:::o;43265:177::-;43337:7;43364:70;43381:7;43364:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;44884:97::-;44932:13;44965:8;44958:15;;;;;:::i;42970:221::-;43042:7;-1:-1:-1;;;;;43070:19:0;;43062:74;;;;-1:-1:-1;;;43062:74:0;;12288:2:1;43062:74:0;;;12270:21:1;12327:2;12307:18;;;12300:30;12366:34;12346:18;;;12339:62;-1:-1:-1;;;12417:18:1;;;12410:40;12467:19;;43062:74:0;12260:232:1;43062:74:0;-1:-1:-1;;;;;43154:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;58368:148::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;58459:6:::1;::::0;58438:40:::1;::::0;58475:1:::1;::::0;-1:-1:-1;;;;;58459:6:0::1;::::0;58438:40:::1;::::0;58475:1;;58438:40:::1;58489:6;:19:::0;;-1:-1:-1;;;;;;58489:19:0::1;::::0;;58368:148::o;66707:540::-;66768:16;66798:18;66819:17;66829:6;66819:9;:17::i;:::-;66798:38;-1:-1:-1;66851:15:0;66847:393;;66928:16;;;66942:1;66928:16;;;;;;;;;;;;66847:393;66977:23;67017:10;67003:25;;;;;;-1:-1:-1;;;67003:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67003:25:0;;66977:51;;67043:13;67071:130;67095:10;67087:5;:18;67071:130;;;67151:34;67171:6;67179:5;67151:19;:34::i;:::-;67135:6;67142:5;67135:13;;;;;;-1:-1:-1;;;67135:13:0;;;;;;;;;;;;;;;;;;:50;67107:7;;;;:::i;:::-;;;;67071:130;;66847:393;66707:540;;;;:::o;68246:123::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;68313:47:::1;::::0;68321:10:::1;::::0;68338:21:::1;68313:47:::0;::::1;;;::::0;::::1;::::0;;;68338:21;68321:10;68313:47;::::1;;;;;;68305:56;;;::::0;::::1;;68246:123::o:0;67258:534::-;67339:8;;-1:-1:-1;;;67339:8:0;;;;67331:53;;;;-1:-1:-1;;;67331:53:0;;15421:2:1;67331:53:0;;;15403:21:1;;;15440:18;;;15433:30;15499:34;15479:18;;;15472:62;15551:18;;67331:53:0;15393:182:1;67331:53:0;67399:6;67395:347;67415:8;:15;67411:1;:19;67395:347;;;67474:4;67460:8;67469:1;67460:11;;;;;;-1:-1:-1;;;67460:11:0;;;;;;;;;;;;;;;:18;67452:42;;;;-1:-1:-1;;;67452:42:0;;9168:2:1;67452:42:0;;;9150:21:1;9207:2;9187:18;;;9180:30;-1:-1:-1;;;9226:18:1;;;9219:41;9277:18;;67452:42:0;9140:161:1;67452:42:0;67558:10;-1:-1:-1;;;;;67517:51:0;66256:42;-1:-1:-1;;;;;67517:24:0;;67542:8;67551:1;67542:11;;;;;;-1:-1:-1;;;67542:11:0;;;;;;;;;;;;;;;67517:37;;;;;;;;;;;;;16546:25:1;;16534:2;16519:18;;16501:76;67517:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;67517:51:0;;:82;;;;;67573:13;:26;67587:8;67596:1;67587:11;;;;;;-1:-1:-1;;;67587:11:0;;;;;;;;;;;;;;;;;;;;67573:26;;;;;;;;;;-1:-1:-1;67573:26:0;;;;67572:27;67517:82;67509:124;;;;-1:-1:-1;;;67509:124:0;;14647:2:1;67509:124:0;;;14629:21:1;14686:2;14666:18;;;14659:30;14725:31;14705:18;;;14698:59;14774:18;;67509:124:0;14619:179:1;67509:124:0;67677:4;67648:13;:26;67662:8;67671:1;67662:11;;;;;;-1:-1:-1;;;67662:11:0;;;;;;;;;;;;;;;67648:26;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;67696:34;67706:10;67718:8;67727:1;67718:11;;;;;;-1:-1:-1;;;67718:11:0;;;;;;;;;;;;;;;67696:9;:34::i;:::-;67432:3;;;;:::i;:::-;;;;67395:347;;;;67757:27;67763:8;67773:10;67757:27;;;;;;;:::i;:::-;;;;;;;;67258:534;:::o;43678:104::-;43734:13;43767:7;43760:14;;;;;:::i;46588:295::-;-1:-1:-1;;;;;46691:24:0;;40832:10;46691:24;;46683:62;;;;-1:-1:-1;;;46683:62:0;;11096:2:1;46683:62:0;;;11078:21:1;11135:2;11115:18;;;11108:30;11174:27;11154:18;;;11147:55;11219:18;;46683:62:0;11068:175:1;46683:62:0;40832:10;46758:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;46758:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;46758:53:0;;;;;;;;;;46827:48;;8287:41:1;;;46758:42:0;;40832:10;46827:48;;8260:18:1;46827:48:0;;;;;;;46588:295;;:::o;68162:72::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;68210:8:::1;:16:::0;;-1:-1:-1;;;;68210:16:0::1;::::0;;68162:72::o;47783:285::-;47915:41;40832:10;47948:7;47915:18;:41::i;:::-;47907:103;;;;-1:-1:-1;;;47907:103:0;;;;;;;:::i;:::-;48021:39;48035:4;48041:2;48045:7;48054:5;48021:13;:39::i;:::-;47783:285;;;;:::o;43853:792::-;43926:13;43960:16;43968:7;43960;:16::i;:::-;43952:76;;;;-1:-1:-1;;;43952:76:0;;15005:2:1;43952:76:0;;;14987:21:1;15044:2;15024:18;;;15017:30;15083:34;15063:18;;;15056:62;-1:-1:-1;;;15134:18:1;;;15127:45;15189:19;;43952:76:0;14977:237:1;43952:76:0;44041:23;44067:19;;;:10;:19;;;;;44041:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44097:18;44118:9;:7;:9::i;:::-;44097:30;;44209:4;44203:18;44225:1;44203:23;44199:72;;;-1:-1:-1;44250:9:0;43853:792;-1:-1:-1;;43853:792:0:o;44199:72::-;44375:23;;:27;44371:108;;44450:4;44456:9;44433:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44419:48;;;;43853:792;;;:::o;44371:108::-;44611:4;44617:18;:7;:16;:18::i;:::-;44594:42;;;;;;;;;:::i;68077:73::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;68127:8:::1;:15:::0;;-1:-1:-1;;;;68127:15:0::1;-1:-1:-1::0;;;68127:15:0::1;::::0;;68077:73::o;66513:43::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58671:244::-;57790:6;;-1:-1:-1;;;;;57790:6:0;40832:10;57937:23;57929:68;;;;-1:-1:-1;;;57929:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58760:22:0;::::1;58752:73;;;::::0;-1:-1:-1;;;58752:73:0;;9927:2:1;58752:73:0::1;::::0;::::1;9909:21:1::0;9966:2;9946:18;;;9939:30;10005:34;9985:18;;;9978:62;-1:-1:-1;;;10056:18:1;;;10049:36;10102:19;;58752:73:0::1;9899:228:1::0;58752:73:0::1;58862:6;::::0;58841:38:::1;::::0;-1:-1:-1;;;;;58841:38:0;;::::1;::::0;58862:6:::1;::::0;58841:38:::1;::::0;58862:6:::1;::::0;58841:38:::1;58890:6;:17:::0;;-1:-1:-1;;;;;;58890:17:0::1;-1:-1:-1::0;;;;;58890:17:0;;;::::1;::::0;;;::::1;::::0;;58671:244::o;49535:127::-;49600:4;49624:30;:12;49646:7;49624:21;:30::i;55681:183::-;55747:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55747:29:0;-1:-1:-1;;;;;55747:29:0;;;;;;;;:24;;55801:23;55747:24;55801:14;:23::i;:::-;-1:-1:-1;;;;;55792:46:0;;;;;;;;;;;55681:183;;:::o;10278:123::-;10347:7;10374:19;10382:3;6940:19;;6857:110;49829:355;49922:4;49947:16;49955:7;49947;:16::i;:::-;49939:73;;;;-1:-1:-1;;;49939:73:0;;11450:2:1;49939:73:0;;;11432:21:1;11489:2;11469:18;;;11462:30;11528:34;11508:18;;;11501:62;-1:-1:-1;;;11579:18:1;;;11572:42;11631:19;;49939:73:0;11422:234:1;49939:73:0;50023:13;50039:23;50054:7;50039:14;:23::i;:::-;50023:39;;50092:5;-1:-1:-1;;;;;50081:16:0;:7;-1:-1:-1;;;;;50081:16:0;;:51;;;;50125:7;-1:-1:-1;;;;;50101:31:0;:20;50113:7;50101:11;:20::i;:::-;-1:-1:-1;;;;;50101:31:0;;50081:51;:94;;;-1:-1:-1;;;;;;47075:25:0;;;47051:4;47075:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;50136:39;50073:103;49829:355;-1:-1:-1;;;;49829:355:0:o;52965:599::-;53090:4;-1:-1:-1;;;;;53063:31:0;:23;53078:7;53063:14;:23::i;:::-;-1:-1:-1;;;;;53063:31:0;;53055:85;;;;-1:-1:-1;;;53055:85:0;;14237:2:1;53055:85:0;;;14219:21:1;14276:2;14256:18;;;14249:30;14315:34;14295:18;;;14288:62;-1:-1:-1;;;14366:18:1;;;14359:39;14415:19;;53055:85:0;14209:231:1;53055:85:0;-1:-1:-1;;;;;53177:16:0;;53169:65;;;;-1:-1:-1;;;53169:65:0;;10691:2:1;53169:65:0;;;10673:21:1;10730:2;10710:18;;;10703:30;10769:34;10749:18;;;10742:62;-1:-1:-1;;;10820:18:1;;;10813:34;10864:19;;53169:65:0;10663:226:1;53169:65:0;53351:29;53368:1;53372:7;53351:8;:29::i;:::-;-1:-1:-1;;;;;53393:19:0;;;;;;:13;:19;;;;;:35;;53420:7;53393:26;:35::i;:::-;-1:-1:-1;;;;;;53439:17:0;;;;;;:13;:17;;;;;:30;;53461:7;53439:21;:30::i;:::-;-1:-1:-1;53482:29:0;:12;53499:7;53508:2;53482:16;:29::i;:::-;;53548:7;53544:2;-1:-1:-1;;;;;53529:27:0;53538:4;-1:-1:-1;;;;;53529:27:0;;;;;;;;;;;52965:599;;;:::o;21852:137::-;21923:7;21958:22;21962:3;21974:5;21958:3;:22::i;10740:236::-;10820:7;;;;10880:22;10884:3;10896:5;10880:3;:22::i;:::-;10849:53;;;;-1:-1:-1;10740:236:0;-1:-1:-1;;;;;10740:236:0:o;54165:100::-;54238:19;;;;:8;;:19;;;;;:::i;12026:213::-;12133:7;12184:44;12189:3;12209;12215:12;12184:4;:44::i;:::-;12176:53;-1:-1:-1;12026:213:0;;;;;;:::o;50527:110::-;50603:26;50613:2;50617:7;50603:26;;;;;;;;;;;;:9;:26::i;48950:272::-;49064:28;49074:4;49080:2;49084:7;49064:9;:28::i;:::-;49111:48;49134:4;49140:2;49144:7;49153:5;49111:22;:48::i;:::-;49103:111;;;;-1:-1:-1;;;49103:111:0;;;;;;;:::i;422:723::-;478:13;699:10;695:53;;-1:-1:-1;;726:10:0;;;;;;;;;;;;-1:-1:-1;;;726:10:0;;;;;422:723::o;695:53::-;773:5;758:12;814:78;821:9;;814:78;;847:8;;;;:::i;:::-;;-1:-1:-1;870:10:0;;-1:-1:-1;878:2:0;870:10;;:::i;:::-;;;814:78;;;902:19;934:6;924:17;;;;;;-1:-1:-1;;;924:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;924:17:0;;902:39;;952:154;959:10;;952:154;;986:11;996:1;986:11;;:::i;:::-;;-1:-1:-1;1055:10:0;1063:2;1055:5;:10;:::i;:::-;1042:24;;:2;:24;:::i;:::-;1029:39;;1012:6;1019;1012:14;;;;;;-1:-1:-1;;;1012:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;1012:56:0;;;;;;;;-1:-1:-1;1083:11:0;1092:2;1083:11;;:::i;:::-;;;952:154;;10039:151;10123:4;6732:17;;;:12;;;:17;;;;;;:22;;10147:35;6637:125;20939:137;21009:4;21033:35;21041:3;21061:5;21033:7;:35::i;20632:131::-;20699:4;20723:32;20728:3;20748:5;20723:4;:32::i;9462:185::-;9551:4;9575:64;9580:3;9600;-1:-1:-1;;;;;9614:23:0;;9575:4;:64::i;16890:204::-;16985:18;;16957:7;;16985:26;-1:-1:-1;16977:73:0;;;;-1:-1:-1;;;16977:73:0;;8765:2:1;16977:73:0;;;8747:21:1;8804:2;8784:18;;;8777:30;8843:34;8823:18;;;8816:62;-1:-1:-1;;;8894:18:1;;;8887:32;8936:19;;16977:73:0;8737:224:1;16977:73:0;17068:3;:11;;17080:5;17068:18;;;;;;-1:-1:-1;;;17068:18:0;;;;;;;;;;;;;;;;;17061:25;;16890:204;;;;:::o;7322:279::-;7426:19;;7389:7;;;;7426:27;-1:-1:-1;7418:74:0;;;;-1:-1:-1;;;7418:74:0;;12699:2:1;7418:74:0;;;12681:21:1;12738:2;12718:18;;;12711:30;12777:34;12757:18;;;12750:62;-1:-1:-1;;;12828:18:1;;;12821:32;12870:19;;7418:74:0;12671:224:1;7418:74:0;7505:22;7530:3;:12;;7543:5;7530:19;;;;;;-1:-1:-1;;;7530:19:0;;;;;;;;;;;;;;;;;;;7505:44;;7568:5;:10;;;7580:5;:12;;;7560:33;;;;;7322:279;;;;;:::o;8819:319::-;8913:7;8952:17;;;:12;;;:17;;;;;;9003:12;8988:13;8980:36;;;;-1:-1:-1;;;8980:36:0;;;;;;;;:::i;:::-;-1:-1:-1;9070:3:0;9083:12;9094:1;9083:8;:12;:::i;:::-;9070:26;;;;;;-1:-1:-1;;;9070:26:0;;;;;;;;;;;;;;;;;;;:33;;;9063:40;;;8819:319;;;;;:::o;50864:250::-;50960:18;50966:2;50970:7;50960:5;:18::i;:::-;50997:54;51028:1;51032:2;51036:7;51045:5;50997:22;:54::i;:::-;50989:117;;;;-1:-1:-1;;;50989:117:0;;;;;;;:::i;54830:843::-;54951:4;-1:-1:-1;;;;;54977:13:0;;23171:20;23210:8;54973:693;;55013:72;;-1:-1:-1;;;55013:72:0;;-1:-1:-1;;;;;55013:36:0;;;;;:72;;40832:10;;55064:4;;55070:7;;55079:5;;55013:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55013:72:0;;;;;;;;-1:-1:-1;;55013:72:0;;;;;;;;;;;;:::i;:::-;;;55009:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55259:13:0;;55255:341;;55302:60;;-1:-1:-1;;;55302:60:0;;;;;;;:::i;55255:341::-;55546:6;55540:13;55531:6;55527:2;55523:15;55516:38;55009:602;-1:-1:-1;;;;;;55136:55:0;-1:-1:-1;;;55136:55:0;;-1:-1:-1;55129:62:0;;54973:693;-1:-1:-1;55650:4:0;54830:843;;;;;;:::o;14592:1544::-;14658:4;14797:19;;;:12;;;:19;;;;;;14833:15;;14829:1300;;15195:21;15219:14;15232:1;15219:10;:14;:::i;:::-;15268:18;;15195:38;;-1:-1:-1;15248:17:0;;15268:22;;15289:1;;15268:22;:::i;:::-;15248:42;;15535:17;15555:3;:11;;15567:9;15555:22;;;;;;-1:-1:-1;;;15555:22:0;;;;;;;;;;;;;;;;;15535:42;;15701:9;15672:3;:11;;15684:13;15672:26;;;;;;-1:-1:-1;;;15672:26:0;;;;;;;;;;;;;;;;;;:38;15804:17;:13;15820:1;15804:17;:::i;:::-;15778:23;;;;:12;;;:23;;;;;:43;15930:17;;15778:3;;15930:17;;;-1:-1:-1;;;15930:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;16025:3;:12;;:19;16038:5;16025:19;;;;;;;;;;;16018:26;;;16068:4;16061:11;;;;;;;;14829:1300;16112:5;16105:12;;;;;14002:414;14065:4;6732:17;;;:12;;;:17;;;;;;14082:327;;-1:-1:-1;14125:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;14308:18;;14286:19;;;:12;;;:19;;;;;;:40;;;;14341:11;;14082:327;-1:-1:-1;14392:5:0;14385:12;;4137:692;4213:4;4348:17;;;:12;;;:17;;;;;;4382:13;4378:444;;-1:-1:-1;;4467:38:0;;;;;;;;;;;;;;;;;;4449:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;4664:19;;4644:17;;;:12;;;:17;;;;;;;:39;4698:11;;4378:444;4778:5;4742:3;4755:12;4766:1;4755:8;:12;:::i;:::-;4742:26;;;;;;-1:-1:-1;;;4742:26:0;;;;;;;;;;;;;;;;;;;:33;;:41;;;;4805:5;4798:12;;;;;51450:404;-1:-1:-1;;;;;51530:16:0;;51522:61;;;;-1:-1:-1;;;51522:61:0;;13102:2:1;51522:61:0;;;13084:21:1;;;13121:18;;;13114:30;13180:34;13160:18;;;13153:62;13232:18;;51522:61:0;13074:182:1;51522:61:0;51603:16;51611:7;51603;:16::i;:::-;51602:17;51594:58;;;;-1:-1:-1;;;51594:58:0;;10334:2:1;51594:58:0;;;10316:21:1;10373:2;10353:18;;;10346:30;10412;10392:18;;;10385:58;10460:18;;51594:58:0;10306:178:1;51594:58:0;-1:-1:-1;;;;;51723:17:0;;;;;;:13;:17;;;;;:30;;51745:7;51723:21;:30::i;:::-;-1:-1:-1;51766:29:0;:12;51783:7;51792:2;51766:16;:29::i;:::-;-1:-1:-1;51813:33:0;;51838:7;;-1:-1:-1;;;;;51813:33:0;;;51830:1;;51813:33;;51830:1;;51813:33;51450:404;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:257::-;484:6;537:2;525:9;516:7;512:23;508:32;505:2;;;558:6;550;543:22;505:2;602:9;589:23;621:31;646:5;621:31;:::i;687:261::-;757:6;810:2;798:9;789:7;785:23;781:32;778:2;;;831:6;823;816:22;778:2;868:9;862:16;887:31;912:5;887:31;:::i;953:398::-;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:2;;;1103:6;1095;1088:22;1050:2;1147:9;1134:23;1166:31;1191:5;1166:31;:::i;:::-;1216:5;-1:-1:-1;1273:2:1;1258:18;;1245:32;1286:33;1245:32;1286:33;:::i;:::-;1338:7;1328:17;;;1040:311;;;;;:::o;1356:466::-;1433:6;1441;1449;1502:2;1490:9;1481:7;1477:23;1473:32;1470:2;;;1523:6;1515;1508:22;1470:2;1567:9;1554:23;1586:31;1611:5;1586:31;:::i;:::-;1636:5;-1:-1:-1;1693:2:1;1678:18;;1665:32;1706:33;1665:32;1706:33;:::i;:::-;1460:362;;1758:7;;-1:-1:-1;;;1812:2:1;1797:18;;;;1784:32;;1460:362::o;1827:824::-;1922:6;1930;1938;1946;1999:3;1987:9;1978:7;1974:23;1970:33;1967:2;;;2021:6;2013;2006:22;1967:2;2065:9;2052:23;2084:31;2109:5;2084:31;:::i;:::-;2134:5;-1:-1:-1;2191:2:1;2176:18;;2163:32;2204:33;2163:32;2204:33;:::i;:::-;2256:7;-1:-1:-1;2310:2:1;2295:18;;2282:32;;-1:-1:-1;2365:2:1;2350:18;;2337:32;2392:18;2381:30;;2378:2;;;2429:6;2421;2414:22;2378:2;2457:22;;2510:4;2502:13;;2498:27;-1:-1:-1;2488:2:1;;2544:6;2536;2529:22;2488:2;2572:73;2637:7;2632:2;2619:16;2614:2;2610;2606:11;2572:73;:::i;:::-;2562:83;;;1957:694;;;;;;;:::o;2656:436::-;2721:6;2729;2782:2;2770:9;2761:7;2757:23;2753:32;2750:2;;;2803:6;2795;2788:22;2750:2;2847:9;2834:23;2866:31;2891:5;2866:31;:::i;:::-;2916:5;-1:-1:-1;2973:2:1;2958:18;;2945:32;3015:15;;3008:23;2996:36;;2986:2;;3051:6;3043;3036:22;3097:325;3165:6;3173;3226:2;3214:9;3205:7;3201:23;3197:32;3194:2;;;3247:6;3239;3232:22;3194:2;3291:9;3278:23;3310:31;3335:5;3310:31;:::i;:::-;3360:5;3412:2;3397:18;;;;3384:32;;-1:-1:-1;;;3184:238:1:o;3427:1002::-;3511:6;3542:2;3585;3573:9;3564:7;3560:23;3556:32;3553:2;;;3606:6;3598;3591:22;3553:2;3651:9;3638:23;3680:18;3721:2;3713:6;3710:14;3707:2;;;3742:6;3734;3727:22;3707:2;3785:6;3774:9;3770:22;3760:32;;3830:7;3823:4;3819:2;3815:13;3811:27;3801:2;;3857:6;3849;3842:22;3801:2;3898;3885:16;3920:2;3916;3913:10;3910:2;;;3926:18;;:::i;:::-;3972:2;3969:1;3965:10;3955:20;;3995:28;4019:2;4015;4011:11;3995:28;:::i;:::-;4057:15;;;4088:12;;;;4120:11;;;4150;;;4146:20;;4143:33;-1:-1:-1;4140:2:1;;;4194:6;4186;4179:22;4140:2;4221:6;4212:15;;4236:163;4250:2;4247:1;4244:9;4236:163;;;4307:17;;4295:30;;4268:1;4261:9;;;;;4345:12;;;;4377;;4236:163;;;-1:-1:-1;4418:5:1;3522:907;-1:-1:-1;;;;;;;;3522:907:1:o;4434:255::-;4492:6;4545:2;4533:9;4524:7;4520:23;4516:32;4513:2;;;4566:6;4558;4551:22;4513:2;4610:9;4597:23;4629:30;4653:5;4629:30;:::i;4694:259::-;4763:6;4816:2;4804:9;4795:7;4791:23;4787:32;4784:2;;;4837:6;4829;4822:22;4784:2;4874:9;4868:16;4893:30;4917:5;4893:30;:::i;4958:480::-;5027:6;5080:2;5068:9;5059:7;5055:23;5051:32;5048:2;;;5101:6;5093;5086:22;5048:2;5146:9;5133:23;5179:18;5171:6;5168:30;5165:2;;;5216:6;5208;5201:22;5165:2;5244:22;;5297:4;5289:13;;5285:27;-1:-1:-1;5275:2:1;;5331:6;5323;5316:22;5275:2;5359:73;5424:7;5419:2;5406:16;5401:2;5397;5393:11;5359:73;:::i;5443:190::-;5502:6;5555:2;5543:9;5534:7;5530:23;5526:32;5523:2;;;5576:6;5568;5561:22;5523:2;-1:-1:-1;5604:23:1;;5513:120;-1:-1:-1;5513:120:1:o;5638:437::-;5691:3;5729:5;5723:12;5756:6;5751:3;5744:19;5782:4;5811:2;5806:3;5802:12;5795:19;;5848:2;5841:5;5837:14;5869:3;5881:169;5895:6;5892:1;5889:13;5881:169;;;5956:13;;5944:26;;5990:12;;;;6025:15;;;;5917:1;5910:9;5881:169;;;-1:-1:-1;6066:3:1;;5699:376;-1:-1:-1;;;;;5699:376:1:o;6080:257::-;6121:3;6159:5;6153:12;6186:6;6181:3;6174:19;6202:63;6258:6;6251:4;6246:3;6242:14;6235:4;6228:5;6224:16;6202:63;:::i;:::-;6319:2;6298:15;-1:-1:-1;;6294:29:1;6285:39;;;;6326:4;6281:50;;6129:208;-1:-1:-1;;6129:208:1:o;6342:470::-;6521:3;6559:6;6553:13;6575:53;6621:6;6616:3;6609:4;6601:6;6597:17;6575:53;:::i;:::-;6691:13;;6650:16;;;;6713:57;6691:13;6650:16;6747:4;6735:17;;6713:57;:::i;:::-;6786:20;;6529:283;-1:-1:-1;;;;6529:283:1:o;7025:488::-;-1:-1:-1;;;;;7294:15:1;;;7276:34;;7346:15;;7341:2;7326:18;;7319:43;7393:2;7378:18;;7371:34;;;7441:3;7436:2;7421:18;;7414:31;;;7219:4;;7462:45;;7487:19;;7479:6;7462:45;:::i;:::-;7454:53;7228:285;-1:-1:-1;;;;;;7228:285:1:o;7518:261::-;7697:2;7686:9;7679:21;7660:4;7717:56;7769:2;7758:9;7754:18;7746:6;7717:56;:::i;7784:358::-;7991:2;7980:9;7973:21;7954:4;8011:56;8063:2;8052:9;8048:18;8040:6;8011:56;:::i;:::-;8003:64;;8132:1;8128;8123:3;8119:11;8115:19;8107:6;8103:32;8098:2;8087:9;8083:18;8076:60;7963:179;;;;;:::o;8339:219::-;8488:2;8477:9;8470:21;8451:4;8508:44;8548:2;8537:9;8533:18;8525:6;8508:44;:::i;9306:414::-;9508:2;9490:21;;;9547:2;9527:18;;;9520:30;9586:34;9581:2;9566:18;;9559:62;-1:-1:-1;;;9652:2:1;9637:18;;9630:48;9710:3;9695:19;;9480:240::o;13674:356::-;13876:2;13858:21;;;13895:18;;;13888:30;13954:34;13949:2;13934:18;;13927:62;14021:2;14006:18;;13848:182::o;15982:413::-;16184:2;16166:21;;;16223:2;16203:18;;;16196:30;16262:34;16257:2;16242:18;;16235:62;-1:-1:-1;;;16328:2:1;16313:18;;16306:47;16385:3;16370:19;;16156:239::o;16582:275::-;16653:2;16647:9;16718:2;16699:13;;-1:-1:-1;;16695:27:1;16683:40;;16753:18;16738:34;;16774:22;;;16735:62;16732:2;;;16800:18;;:::i;:::-;16836:2;16829:22;16627:230;;-1:-1:-1;16627:230:1:o;16862:128::-;16902:3;16933:1;16929:6;16926:1;16923:13;16920:2;;;16939:18;;:::i;:::-;-1:-1:-1;16975:9:1;;16910:80::o;16995:120::-;17035:1;17061;17051:2;;17066:18;;:::i;:::-;-1:-1:-1;17100:9:1;;17041:74::o;17120:125::-;17160:4;17188:1;17185;17182:8;17179:2;;;17193:18;;:::i;:::-;-1:-1:-1;17230:9:1;;17169:76::o;17250:258::-;17322:1;17332:113;17346:6;17343:1;17340:13;17332:113;;;17422:11;;;17416:18;17403:11;;;17396:39;17368:2;17361:10;17332:113;;;17463:6;17460:1;17457:13;17454:2;;;-1:-1:-1;;17498:1:1;17480:16;;17473:27;17303:205::o;17513:380::-;17592:1;17588:12;;;;17635;;;17656:2;;17710:4;17702:6;17698:17;17688:27;;17656:2;17763;17755:6;17752:14;17732:18;17729:38;17726:2;;;17809:10;17804:3;17800:20;17797:1;17790:31;17844:4;17841:1;17834:15;17872:4;17869:1;17862:15;17898:135;17937:3;-1:-1:-1;;17958:17:1;;17955:2;;;17978:18;;:::i;:::-;-1:-1:-1;18025:1:1;18014:13;;17945:88::o;18038:112::-;18070:1;18096;18086:2;;18101:18;;:::i;:::-;-1:-1:-1;18135:9:1;;18076:74::o;18155:127::-;18216:10;18211:3;18207:20;18204:1;18197:31;18247:4;18244:1;18237:15;18271:4;18268:1;18261:15;18287:127;18348:10;18343:3;18339:20;18336:1;18329:31;18379:4;18376:1;18369:15;18403:4;18400:1;18393:15;18419:127;18480:10;18475:3;18471:20;18468:1;18461:31;18511:4;18508:1;18501:15;18535:4;18532:1;18525:15;18551:131;-1:-1:-1;;;;;18626:31:1;;18616:42;;18606:2;;18672:1;18669;18662:12;18687:131;-1:-1:-1;;;;;;18761:32:1;;18751:43;;18741:2;;18808:1;18805;18798:12
Swarm Source
ipfs://5cb869c79b9415c4c016ee24e5dbcd71aefe232b329dc105cad62c4973e4d7ca
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.