abi_values_to_fields

Function abi_values_to_fields 

Source
pub fn abi_values_to_fields(args: &[AbiValue]) -> Vec<Fr>
Expand description

Flatten ABI values into their field element representation.

Handles the common types used in authwit scenarios: Field, Boolean, Integer, Array, Struct, and Tuple. Strings are encoded as one field element per byte.