Enum evm_coder::ERC165Call
source · pub enum ERC165Call {
SupportsInterface {
interface_id: Bytes4,
},
}
Expand description
Implementation of ERC165 is implicitly generated for all interfaces in solidity_interface
,
this structure holds parsed data for ERC165Call
subvariant
Note: no Callable
implementation is provided, call implementation is inlined into every
implementing contract
Variants§
SupportsInterface
ERC165 provides single method, which returns true, if contract implements specified interface
Implementations§
source§impl ERC165Call
impl ERC165Call
sourcepub const INTERFACE_ID: Bytes4 = _
pub const INTERFACE_ID: Bytes4 = _
ERC165 selector is provided by standard
Trait Implementations§
source§impl Call for ERC165Call
impl Call for ERC165Call
source§impl Debug for ERC165Call
impl Debug for ERC165Call
source§impl PartialEq<ERC165Call> for ERC165Call
impl PartialEq<ERC165Call> for ERC165Call
source§fn eq(&self, other: &ERC165Call) -> bool
fn eq(&self, other: &ERC165Call) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.