encode_view_function_inputs_to

Function encode_view_function_inputs_to 

Source
pub fn encode_view_function_inputs_to<Info, Resolver, Inputs>(
    pallet_name: &str,
    function_name: &str,
    inputs: Inputs,
    info: &Info,
    type_resolver: &Resolver,
    out: &mut Vec<u8>,
) -> Result<(), ViewFunctionInputsEncodeError>
where Inputs: IntoEncodableValues, Info: ViewFunctionTypeInfo, Info::TypeId: Clone + Debug, Resolver: TypeResolver<TypeId = Info::TypeId>,
Expand description

Encode to a provided output Vec the Runtime API input data necessary to call a View Function.