Skip to main content

is_self_address

Function is_self_address 

Source
fn is_self_address(expr: &Expr<'_>) -> bool
Expand description

Returns true when expr syntactically denotes this contract’s own address: this, address(this), payable(this), a contract/interface cast IFoo(<self>), or any nested combination thereof.