foundry_common::abi

Function coerce_value

Source
pub fn coerce_value(ty: &str, arg: &str) -> Result<DynSolValue>
Expand description

Helper function to coerce a value to a [DynSolValue] given a type string