Skip to main content

random_uint

Function random_uint 

Source
fn random_uint<FEN: FoundryEvmNetwork>(
    state: &mut Cheatcodes<FEN>,
    bits: Option<U256>,
    bounds: Option<(U256, U256)>,
) -> Result
Expand description

Helper to generate a random uint value (with given bits or bounded if specified) from type strategy.