pub trait AuthorizeSignedAction<T, A>: Signature + GetKey<Self::Key>where
T: TypesAndLimits,
A: Action + ToStateChange<T>,
<A as Action>::Target: Associated<T>,
Self::Signer: AuthorizeTarget<T, <A as Action>::Target, Self::Key> + Deref,
<Self::Signer as Deref>::Target: AuthorizeTarget<T, <A as Action>::Target, Self::Key>,{
// Provided method
fn authorizes_signed_action(
&self,
action: &A,
value: Option<&<<A as Action>::Target as Associated<T>>::Value>
) -> Result<Option<Authorization<Self::Signer, Self::Key>>, DispatchError>
where T: Config { ... }
}
Expand description
Signature that can authorize a signed action.
Provided Methods§
This signature allows Self::Signer
to perform the supplied action.