@safe:owners
Owner addresses of a Safe.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: array
Syntax
Section titled “Syntax”@safe:owners(safe?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
[safe] | address | Safe address (defaults to the context Safe or connected account) |
Examples
Section titled “Examples”load safe
set $owners @safe:owners(0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67)print $ownersOn-chain face (@owners!)
Section titled “On-chain face (@owners!)”The Safe's getOwners() read happens on-chain at assertion time as an
ARRAY operand: the live owner words payload (the Safe itself still
resolves at composition time). It composes with the lang array faces
like any nested array face.
Examples
Section titled “Examples”load safeload lang
set $safe 0x44fA8E6f47987339850636F88629646662444217
# Membership, live at judge timeassert @includes!(@safe:owners!($safe) @me) "signer removed"
# Owner-set size and a specific slotassert @len!(@safe:owners!($safe)) >= 3assert @at!(@safe:owners!($safe) 0) != 0x0000000000000000000000000000000000000000See Also
Section titled “See Also”assert,@safe:threshold!,@safe:isOwner!,@safe:modules!