Skip to main content

Module assert_state_change

Module assert_state_change 

Source

Re-exportsยง

use super::AssertStateChange; ๐Ÿ”’
use crate::linter::LateLintPass; ๐Ÿ”’
use crate::linter::LintContext; ๐Ÿ”’
use crate::sol::Severity; ๐Ÿ”’
use crate::sol::SolLint; ๐Ÿ”’
use crate::sol::analysis::for_each_lhs_var; ๐Ÿ”’
use solar::ast::DataLocation; ๐Ÿ”’
use solar::ast::StateMutability; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::builtins::Builtin; ๐Ÿ”’
use solar::sema::hir::Expr; ๐Ÿ”’
use solar::sema::hir::ExprKind; ๐Ÿ”’
use std::ops::ControlFlow; ๐Ÿ”’

Staticsยง

ASSERT_STATE_CHANGE

Functionsยง

is_mutating_call ๐Ÿ”’
is_state_change ๐Ÿ”’
is_storage_lvalue ๐Ÿ”’
True if the lvalue is rooted in contract storage: a state variable or a local declared storage, which aliases contract storage.