Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Tokenomics V1.2 deployment procedure update #172

Merged
merged 5 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/deployment_v1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ Steps for deploying the tokenomics version 1.2 contracts are as follows:
1. EOA to deploy Tokenomics implementation (`TokenomicsThree`);
2. TokenomicsProxy to change Tokenomics implementation calling `changeTokenomicsImplementation(TokenomicsThree)`;
3. EOA to deploy Dispenser (`DispenserTwo`) with VoteWeighting contract being deployed before that in `autonolas-governance`;
4. EOA to deploy staking bridging contracts;
4. EOA to deploy staking bridging contracts with StakingFactory contract being deployed before that in `autonolas-registries`;
5. EOA to set up correct L1->L2 links for all the bridging contracts calling `setL2TargetDispenser(L2 corresponding contract)`;
6. EOA to transfer ownership rights of Dispenser to Timelock calling `changeOwner(Timelock)`;
7. DAO to change Tokenomics managers calling `changeManagers(ZeroAddress, ZeroAddress, DispenserTwo)`;
8. DAO to change staking parameters in Tokenomics calling `changeStakingParams()`;
9. DAO to enable bridge deposit processors in Dispenser calling `setDepositProcessorChainIds()`.
9. DAO to change Treasury managers calling `changeManagers(ZeroAddress, ZeroAddress, DispenserTwo)`;
10. DAO to enable bridge deposit processors in Dispenser calling `setDepositProcessorChainIds()`;
11. DAO to unpause staking incentives in Dispenser calling `setPauseState(3)`;
12. EOA to transfer ownership rights of all the L2 bridging contracts to Timelock representation calling `changeOwner(Timelock)`.

Note for updating VoteWeighting contract address in Dispenser, if required at some point of time.
As outlined in the C4R [issue 59](https://github.com/code-423n4/2024-05-olas-findings/issues/59), the following set of
Expand Down
Loading