2023-01-29 18:29:54 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
pragma solidity ^0.8.17;
|
2022-02-11 04:17:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @title ERC165
|
|
|
|
* @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
|
|
|
|
*/
|
|
|
|
interface ERC165 {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @notice Query if a contract implements an interface
|
|
|
|
* @param _interfaceId The interface identifier, as specified in ERC-165
|
|
|
|
* @dev Interface identification is specified in ERC-165. This function
|
|
|
|
* uses less than 30,000 gas.
|
|
|
|
*/
|
|
|
|
function supportsInterface(bytes4 _interfaceId)
|
|
|
|
external
|
|
|
|
view
|
|
|
|
returns (bool);
|
|
|
|
}
|