fn resolve_sol_type(id: &str, storage_type: &StorageType) -> Option<DynSolType>Expand description
Resolves the layout type id to a [DynSolType], returning None for types that have no
direct ABI equivalent (mappings, structs).
A user-defined value type’s label is its name (Delay, or Time.Delay when declared in a
library), which says nothing of the underlying type, and the layout records only its size. It is
resolved to an unsigned integer of that size, which keeps packed neighbours apart and decodes
the common unsigned underlying types exactly. Other underlying types are displayed as raw
unsigned bits, not their original signed, address, bool or fixed-bytes values. Mapping keys
retain the full encoded key word, whose padding can differ from compact storage.