Skip to content

@safe:isOwner

Whether an address is an owner of a Safe.

⚗️ Experimental — available at next.evmcrispr.com.

Returns: bool

@safe:isOwner(owner safe?)
NameTypeDescription
owneraddressAddress to check
[safe]addressSafe address (defaults to the context Safe or connected account)
# TODO: add examples

Read the Safe's own isOwner(address) view at assertion time (the plain face walks getOwners() off-chain instead).

load safe
set $safe 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
assert @safe:isOwner!(@me $safe) "removed from owners"