pub type UncheckedExtrinsicFor<T> = UncheckedExtrinsic<MultiAddress<<<T as ChainInfo>::Runtime as Config>::AccountId, <<T as ChainInfo>::Runtime as Config>::Nonce>, <<T as ChainInfo>::Runtime as Config>::RuntimeCall, MultiSignature, <T as ChainInfo>::SignedExtras>;Expand description
UncheckedExtrinsic type for Simnode
Aliased Type§
pub struct UncheckedExtrinsicFor<T> {
pub preamble: Preamble<MultiAddress<<<T as ChainInfo>::Runtime as Config>::AccountId, <<T as ChainInfo>::Runtime as Config>::Nonce>, MultiSignature, <T as ChainInfo>::SignedExtras>,
pub function: <<T as ChainInfo>::Runtime as Config>::RuntimeCall,
pub encoded_call: Option<Vec<u8>>,
}Fields§
§preamble: Preamble<MultiAddress<<<T as ChainInfo>::Runtime as Config>::AccountId, <<T as ChainInfo>::Runtime as Config>::Nonce>, MultiSignature, <T as ChainInfo>::SignedExtras>Information regarding the type of extrinsic this is (inherent or transaction) as well as
associated extension (Extension) data if it’s a transaction and a possible signature.
function: <<T as ChainInfo>::Runtime as Config>::RuntimeCallThe function that should be called.
encoded_call: Option<Vec<u8>>Stores the raw encoded call.
This is mainly interesting if this extrinsic was created by decoding it from bytes. In this
case this field should be set to Some holding the original bytes used to decode the
[Self::function]. This is done to protect against decode implementations of Call that
are not bijective (encodes to the exact same bytes it was encoded from). If this field
is set, it is being used when re-encoding this transaction.