@acl:pendingDefaultAdmin
Pending default admin of an AccessControlDefaultAdminRules contract (the zero address when no transfer is in progress).
On-chain (@acl:pendingDefaultAdmin!): Reads the pending admin of the pair, not the accept schedule.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: address
Syntax
Section titled “Syntax”@acl:pendingDefaultAdmin(contract)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
contract | address | AccessControlDefaultAdminRules contract address |
Examples
Section titled “Examples”load acl
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdbprint @acl:pendingDefaultAdmin($token)- Returns the zero address when no transfer is in progress.
See Also
Section titled “See Also”On-chain face (@pendingDefaultAdmin!)
Section titled “On-chain face (@pendingDefaultAdmin!)”Read the pending default admin at assertion time. The contract returns (newAdmin, acceptSchedule); the face unwraps the admin word through a core pick.
Examples
Section titled “Examples”load acl
set $registry 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
assert @pendingDefaultAdmin!($registry) == 0x0000000000000000000000000000000000000000 "transfer pending"