Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

InternalTrait

Fully qualified path: openzeppelin_introspection::src5::SRC5Component::InternalTrait

pub trait InternalTrait<TContractState, +HasComponent<TContractState>>

Trait functions

register_interface

Registers the given interface as supported by the contract.

Fully qualified path: openzeppelin_introspection::src5::SRC5Component::InternalTrait::register_interface

fn register_interface(ref self: ComponentState<TContractState>, interface_id: felt252)

deregister_interface

Deregisters the given interface as supported by the contract.

Requirements:

  • interface_id is not ISRC5_ID

Fully qualified path: openzeppelin_introspection::src5::SRC5Component::InternalTrait::deregister_interface

fn deregister_interface(ref self: ComponentState<TContractState>, interface_id: felt252)