pub struct Auth002;Expand description
AUTH-002 — invoke_contract() without require_auth() in the same function.
Trait Implementations§
Source§impl AuditRule for Auth002
impl AuditRule for Auth002
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description of what the rule checks.
Source§fn check(
&self,
scans: &[FnScan],
_ctx: &AuditContext<'_>,
report: &mut AuditReport,
)
fn check( &self, scans: &[FnScan], _ctx: &AuditContext<'_>, report: &mut AuditReport, )
Run the rule over the scanned functions and record findings.
Auto Trait Implementations§
impl Freeze for Auth002
impl RefUnwindSafe for Auth002
impl Send for Auth002
impl Sync for Auth002
impl Unpin for Auth002
impl UnsafeUnpin for Auth002
impl UnwindSafe for Auth002
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more