Skip to main content

protection_targets

Function protection_targets 

Source
fn protection_targets(
    gcx: Gcx<'_>,
    bases: &[ContractId],
) -> HashMap<String, FunctionId>
Expand description

Guard functions and modifiers by Slither signature. Functions take precedence over modifiers; within a kind, linearization order keeps the most-derived declaration and drops shadowed ones.