pub trait GetAddKeyData<RuntimeCall, AccountId, MessageSourceId> {
// Required method
fn get_add_key_data(
call: &RuntimeCall,
) -> Option<(AccountId, AccountId, MessageSourceId)>;
}
Expand description
Filters calls that match Msa::add_public_key_to_msa
Required Methods§
Sourcefn get_add_key_data(
call: &RuntimeCall,
) -> Option<(AccountId, AccountId, MessageSourceId)>
fn get_add_key_data( call: &RuntimeCall, ) -> Option<(AccountId, AccountId, MessageSourceId)>
If the call matches Msa::add_public_key_to_msa, return the owner account id and msa id from the call parameters
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.