Skip to main content

constrain_enum_value

Function constrain_enum_value 

Source
pub(crate) fn constrain_enum_value(
    value: DynSolValue,
    input: &Param,
    fuzz_fixtures: &FuzzFixtures,
) -> DynSolValue
Expand description

Constrains enum leaves in a decoded value to the range declared by its Solidity type.