Function get_canonical_type_def

Source
fn get_canonical_type_def(
    name_or_def: &String,
    state: &mut Cheatcodes,
    path: Option<PathBuf>,
) -> Result<String>
Expand description

Returns EIP-712 canonical type definition from the provided string type representation or type name. If type name provided, then it looks up bindings from file generated by forge bind-json.