Skip to main content

optional_delay

Function optional_delay 

Source
fn optional_delay(
    state: &FuzzState,
    max: Option<u32>,
    dictionary_weight: u32,
) -> BoxedStrategy<Option<U256>>
Expand description

Generates a delay of at most max like a fuzzed uint256 argument, so dictionary constants such as 1 days and zero delays are drawn regularly.