pub trait DispatchValidateT<AccountId, RuntimeCall> {
// Required method
fn validate_before_dispatch(
origin: &AccountId,
call: &RuntimeCall
) -> Option<PrecompileFailure>;
}
Expand description
Dispatch validation trait.
Required Methods§
fn validate_before_dispatch( origin: &AccountId, call: &RuntimeCall ) -> Option<PrecompileFailure>
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl<AccountId, RuntimeCall> DispatchValidateT<AccountId, RuntimeCall> for ()where
RuntimeCall: GetDispatchInfo,
impl<AccountId, RuntimeCall> DispatchValidateT<AccountId, RuntimeCall> for ()where
RuntimeCall: GetDispatchInfo,
The default implementation of DispatchValidateT
.