Skip to content

feat: add Safe multisig proposals for owner actions - #107

Open
gabrielstoica wants to merge 4 commits into
stagingfrom
feat/safe-propose-tx
Open

gabrielstoica wants to merge 4 commits into
stagingfrom
feat/safe-propose-tx

Conversation

@gabrielstoica

Copy link
Copy Markdown
Contributor

Changelog:

  • Adds a script that proposes owner actions to the Safe multisig, signed with a Ledger or a keystore;
  • Adds Safe actions for the ModuleKeeper, StationRegistry, PaymentModule and CompensationModule owner methods;
  • Adds a Safe action to transfer the ownership of any of these contracts;
  • Updates the Makefile deploy targets to use the scripts in script/deploy/;
  • Moves the deployment scripts into script/deploy/;

Owner actions are Solidity scripts in 'script/safe/{actions,upgrades}' returning
the '(to, data)' call the Safe must execute. 'bun run safe:propose' runs the
script, simulates the call from the Safe, signs the Safe tx with a Ledger or a
cast keystore and proposes it to the Safe Transaction Service.

Includes 'UpdateSablierLockup' and the 'PaymentModule' / 'CompensationModule'
upgrades, which validate and deploy the new implementation via OZ Upgrades.
Group the Safe actions by contract under 'script/safe/actions/<contract>/<action>.s.sol',
invoked as '<contract>/<action>'. Upgrades are detected by their 'SafeUpgradeScript'
base, and each contract folder gets its own broadcast root so that the 'upgrade.s.sol'
scripts don't overwrite each other's 'run-latest.json'.

New actions:
- module-keeper/add-to-allowlist, module-keeper/remove-from-allowlist
- station-registry/upgrade, station-registry/update-module-keeper,
  station-registry/update-space-implementation
- compensation-module/update-sablier-flow
- ownable/transfer-ownership
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant