Skip to main content

canonical_type

Function canonical_type 

Source
fn canonical_type(ty: DynSolType) -> DynSolType
Expand description

Returns the type with every struct replaced by its plain tuple, which is how ABI function parameters resolve, so values decoded with struct names still match parameter types.