pub fn decode_as_call_unmarked<B, E, M>(
data: &B,
position: &mut usize,
ext_memory: &mut E,
metadata: &M,
) -> Result<Call, SignableError<E, M>>
Expand description
Parse call part of the signable transaction using provided metadata.
Entry point for call decoding is call_ty
, describing all available pallets
for the chain. Type corresponding to call_ty
is expected to be an enum
with call-associated Path
identifier
CALL
, and the selected variant is
expected to have a single field, also and enum by type, also having
call-associated Path
identifier and corresponding to all calls within
selected pallet. If the pallet-call pattern is not observed, an error
occurs.