Skip to main content

is_state_mutating_external_call

Function is_state_mutating_external_call 

Source
pub(super) fn is_state_mutating_external_call<'gcx>(
    gcx: Gcx<'gcx>,
    hir: &'gcx Hir<'gcx>,
    callee: &Expr<'gcx>,
    explicit_arg_count: usize,
    enclosing_contract: Option<ContractId>,
) -> bool
Expand description

Like is_external_call, but excludes calls that cannot affect log ordering or observable state: staticcall and high-level view/pure callees (including this.*).