Skip to main content

modifier_restricts_caller

Function modifier_restricts_caller 

Source
fn modifier_restricts_caller<'hir>(
    gcx: Gcx<'hir>,
    hir: &'hir Hir<'hir>,
    invocation: &Modifier<'_>,
) -> bool
Expand description

True when a modifier reverts unless msg.sender equals a trusted principal.