IERC165
IERC165 is a standard interface used in Ethereum smart contracts to enable interface detection. Defined by EIP-165, it provides a uniform way for contracts to declare which interfaces they implement, allowing other contracts to query capabilities without inspecting code.
The IERC165 interface consists of a single function: supportsInterface(bytes4 interfaceId) external view returns (bool). A contract
Interface identifiers are calculated as the XOR of the function selectors of all functions in an interface.
Adoption and usage of IERC165 are widespread in the Ethereum ecosystem. Many standards extend IERC165 to advertise
Limitations include that supportsInterface only signals interface support and does not guarantee full behavioral compliance beyond