Expand description
Helpers for writing a proposal directory under the contracts/deployments/proposals/ convention.
Modules§
- ISafe
- Module containing a contract’s types and functions.
Structs§
- Write
Proposal Params - Parameters for writing the full StakeTableV3 proposal directory.
Functions§
- default_
rpc_ url - Map well-known chain IDs to their public RPC endpoints.
- network_
name - Map well-known chain IDs to their network names.
- proposal_
dir - Compute the convention directory:
<proposals_root>/<network>/<YYYYMMDD>-<slug>/ - resolve_
network - Resolve network name: explicit override, then chain-id map, else error.
- resolve_
toml_ 🔒phases - Resolve schedule/execute Safe addresses and nonces, then compute all hashes.
- safe_
nonce 🔒 - Query the Safe nonce on-chain.
- validate_
path_ component - Reject path components that could escape the proposals root.
- write_
stake_ table_ v3_ proposal_ dir - Create the proposal directory, write
schedule.json,execute.json, andproposal.toml.