Skip to content

@safe:nonce

Current nonce of a Safe.

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

Returns: number

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

Read the Safe's nonce() at assertion time — pin a proposal's execution window on-chain.

load safe
set $safe 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
assert @safe:nonce!($safe) == 42 "nonce moved"