safe:install-scope-guard
Deploy a Zodiac ScopeGuard owned by the Safe and set it as the transaction guard of the Safe, limiting which targets and functions owners can call.
Syntax
Section titled “Syntax”safe:install-scope-guardOptions
Section titled “Options”| Name | Type | Description |
|---|---|---|
--salt |
number |
Deployment salt nonce (defaults to 0) |
Examples
Section titled “Examples”Restrict what Safe owners can execute:
load safe
set $mySafe 0x5afe3855358e112b5647b952709e6165e1c1eeeesafe:propose $mySafe ( safe:install-scope-guard)Deploys a Zodiac ScopeGuard owned by the Safe and sets it as the transaction guard in one proposal. Until targets are allowed on the guard, it blocks all owner-initiated transactions — configure it before or right after installing.