compose_call_for_pallet_metadata

Macro compose_call_for_pallet_metadata 

Source
macro_rules! compose_call_for_pallet_metadata {
    ($pallet_metadata: expr, $call_name: expr $(, $args: expr) *) => { ... };
}
Expand description

Generates the extrinsic’s call field for the given PalletMetadata

§Arguments

  • ‘pallet_metadata’ - This crate’s parsed pallet metadata as field of the API.
  • ‘call_name’ - Call name as &str
  • ‘args’ - Optional sequence of arguments of the call. They are not checked against the metadata. As of now the user needs to check himself that the correct arguments are supplied.