Trait bp_runtime::extensions::SignedExtensionSchema
source · pub trait SignedExtensionSchema: Encode + Decode + Debug + Eq + Clone + StaticTypeInfo {
type Payload: Encode + Decode + Debug + Eq + Clone + StaticTypeInfo;
type AdditionalSigned: Encode + Debug + Eq + Clone + StaticTypeInfo;
}
Expand description
Trait that describes some properties of a SignedExtension
that are needed in order to send a
transaction to the chain.
Required Associated Types§
sourcetype Payload: Encode + Decode + Debug + Eq + Clone + StaticTypeInfo
type Payload: Encode + Decode + Debug + Eq + Clone + StaticTypeInfo
A type of the data encoded as part of the transaction.
sourcetype AdditionalSigned: Encode + Debug + Eq + Clone + StaticTypeInfo
type AdditionalSigned: Encode + Debug + Eq + Clone + StaticTypeInfo
Parameters which are part of the payload used to produce transaction signature, but don’t end up in the transaction itself (i.e. inherent part of the runtime).