Skip to content

Commit 63e9163

Browse files
committed
feat: propose for multisig
1 parent b29fa33 commit 63e9163

File tree

2 files changed

+57
-1
lines changed

2 files changed

+57
-1
lines changed

docs/0_internal/6_a_modify_strategies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Modify Strategy Weight Multipliers Contracts
1+
# Modify Strategy Weight Multipliers
22
This doc contains a guide on how to modify the strategy weight multipliers on Aligned.
33

44
To run the make targets specified in this guide, you must first have the relevant following env vars under `contracts/scripts/.env`:
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Propose the Transaction for Modify Strategy Weight Multipliers using Multisig
2+
3+
If you want to modify the Strategy Weight Multipliers the contracts, you can propose the transaction using the multisig wallet.
4+
5+
## Prerequisites
6+
7+
- You need to have deployed the contracts following the [Deploy Contracts Guide](./2_deploy_contracts.md).
8+
9+
## Propose transaction for Pause AlignedLayerServiceManager
10+
11+
To propose the modify Strategy Weight Multipliers transaction you can follow the steps below:
12+
13+
1. Go to [Safe](https://app.safe.global/home)
14+
15+
2. Click on `New transaction` -> `Transaction Builder`
16+
17+
![New transaction](./images/4_b_1_pause_1.png)
18+
19+
![Transaction Builder](./images/4_b_1_pause_2.png)
20+
21+
3. . Get the `StakeRegistry` address from ```contracts/script/output/mainnet/alignedlayer_deployment_output.json``` or ```contracts/script/output/holesky/alignedlayer_deployment_output.json``` or ```contracts/script/output/sepolia/alignedlayer_deployment_output.json```
22+
23+
4. Paste the `StakeRegistry` address on `Enter Address or ENS Name`
24+
25+
TODO pic
26+
27+
5. As this is a Proxy contract, choose `Use Implementation ABI`
28+
29+
![use implementation abi](image.png)
30+
31+
6. In `contract method selector` choose `modifyStrategyParams` , and fill in the parameter values accordingly.
32+
33+
Note: Aligned currently only has `quorumNumber: 0`, and you will replace `strategyIndices` with `newMultipliers`
34+
35+
![choose modify strategy params](image-1.png)
36+
37+
7. Click on `+ Add new transaction`
38+
39+
You should see the new transaction to be executed
40+
41+
8. Click on `Create batch` to create the transaction.
42+
43+
9. Simulate the transaction by clicking on `Simulate`
44+
45+
10. If everything is correct, click on `Send batch` to send the transaction.
46+
47+
11. Simulate the transaction, and if everything is correct, click on `Sign`.
48+
49+
![send batch](image-2.png)
50+
51+
> [!NOTE]
52+
> In the `call` field, you will see `fallback`.
53+
54+
12. Wait for the transaction to be executed. You can check the transaction status on the `Transactions` tab.
55+
56+
If the transaction is correctly created, you have to wait until the required Multisig member signs the transaction to send it. For this, you can follow [the following guide](./4_b_2_approve_pause.md)

0 commit comments

Comments
 (0)