cast::fuzz::strategies

Function fuzz_param_from_state

Source
pub fn fuzz_param_from_state(
    param: &DynSolType,
    state: &EvmFuzzState,
) -> BoxedStrategy<DynSolValue>
Expand description

Given a parameter type, returns a strategy for generating values for that type, given some EVM fuzz state.

Works with ABI Encoder v2 tuples.