Skip to content

Commit d95279f

Browse files
committed
feat: modify strategies non multisig guide
1 parent 5af9eb5 commit d95279f

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Modify Strategy Weight Multipliers Contracts
2+
This doc contains a guide on how to use the modify the strategy weight multipliers on Aligned.
3+
4+
To run the make targets specified in this guide, you must first have the relevant following env vars under `contracts/scripts/.env`:
5+
```
6+
RPC_URL=<rpc_url>
7+
ALIGNED_SERVICE_MANAGER=<aligned_contract_address>
8+
PRIVATE_KEY=<private_key>
9+
OUTPUT_PATH=<deployment_output_path>
10+
```
11+
12+
##
13+
14+
To view some relevant information you can:
15+
16+
### Get all available strategies:
17+
18+
```
19+
make strategies_get_addresses
20+
```
21+
22+
### Get weight multiplier of a specific strategy:
23+
24+
```
25+
make strategies_get_weight STRATEGY_INDEX=<strategy_index>
26+
```
27+
28+
### Update the weight of any amount of stratefies
29+
30+
```
31+
make strategies_update_weight STRATEGY_INDICES=[0,1,...,n] NEW_MULTIPLIERS=[0,1,...,n]
32+
```
33+
34+
### Remove a strategy
35+
36+
```
37+
make strategies_remove INDICES_TO_REMOVE=[0,1,...,n]
38+
```
39+

0 commit comments

Comments
 (0)