Build a transaction to optimally change the owners of a Safe Multisigs to match a given list.
- Deno.
Tip
This repository can be run in a devcontainer directly from within github without the need for a local setup.
The file ./config.ts specifies all safes to consider, and, for each:
- the network they live in,
- the list of new owners, and
- the new threshold.
The script generates a transaction file for each Safe. You can use the transaction builder on the Safe interface to simulate and execute the resulting transaction.
Generate the transaction files with:
./run.shThe resulting output can be found in ./out.
See ./src/networks.ts for a full list of supported networks.
Run the following command to format the code to this project's standards:
deno fmt