Skip to main content

clamp_enum_leaf

Function clamp_enum_leaf 

Source
fn clamp_enum_leaf(value: DynSolValue, count: U256) -> DynSolValue
Expand description

Recursively reduces every uint8 leaf in an enum value (possibly nested in arrays) modulo count.