@safe:isOwner
Whether an address is an owner of a Safe.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: bool
Syntax
Section titled “Syntax”@safe:isOwner(owner safe?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
owner | address | Address to check |
[safe] | address | Safe address (defaults to the context Safe or connected account) |
Examples
Section titled “Examples”# TODO: add examplesSee Also
Section titled “See Also”On-chain face (@isOwner!)
Section titled “On-chain face (@isOwner!)”Read the Safe's own isOwner(address) view at assertion time (the plain face walks getOwners() off-chain instead).
Examples
Section titled “Examples”load safe
set $safe 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
assert @safe:isOwner!(@me $safe) "removed from owners"