Introspection
This crate handles type introspection of contracts. In other words, it examines which functions can be called on a given contract. This is referred to as the contract’s interface.
Core
ISRC5
use openzeppelin_introspection::interface::ISRC5;
Interface of the SRC5 Introspection Standard as defined in SNIP-5.
0x3f918d17e5ee77373b56385708f855659a07f75997f365cf87748628532a055
Functions
supports_interface(interface_id: felt252) → bool
external
Checks whether the contract implements the given interface.
Check Computing the Interface ID for more information on how to compute this ID. |
SRC5Component
use openzeppelin_introspection::src5::SRC5Component;
SRC5 component extending ISRC5
.
Embeddable Implementations
Internal Implementations