mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
rerrange
This commit is contained in:
parent
38c8a8d363
commit
4625dd62c6
|
@ -102,29 +102,29 @@ contract PayloadIGP {
|
||||||
}
|
}
|
||||||
|
|
||||||
function execute() external {
|
function execute() external {
|
||||||
// Action 1: _acceptAdmin() function on governor contract
|
// Action 1: updateMaster() function on DSA instaIndex
|
||||||
GOVERNOR._acceptAdmin();
|
INSTAINDEX.updateMaster();
|
||||||
|
|
||||||
// Action 2: acceptAdmin() function on old time contract
|
// Action 2: acceptAdmin() function on old time contract
|
||||||
OLD_TIMELOCK.acceptAdmin();
|
OLD_TIMELOCK.acceptAdmin();
|
||||||
|
|
||||||
// Action 2: updateMaster() function on DSA instaIndex
|
|
||||||
INSTAINDEX.updateMaster();
|
|
||||||
|
|
||||||
// Action 4: setDelay() on new timelock contract with 1 day
|
// Action 3: _acceptAdmin() function on governor contract
|
||||||
TIMELOCK.setDelay(ONE_DAY_TIME_IN_SECONDS);
|
GOVERNOR._acceptAdmin();
|
||||||
|
|
||||||
// Action 5: setPendingAdmin() on new timelock contract
|
// Action 4: _setVotingDelay() function on governor contract with 1 days
|
||||||
TIMELOCK.setPendingAdmin(address(GOVERNOR));
|
|
||||||
|
|
||||||
// Action 6: _acceptAdminOnTimelock() on governor contract
|
|
||||||
GOVERNOR._acceptAdminOnTimelock();
|
|
||||||
|
|
||||||
// Action 7: _setVotingDelay() function on governor contract with 1 days
|
|
||||||
GOVERNOR._setVotingDelay(ONE_DAY_TIME_IN_BLOCKS);
|
GOVERNOR._setVotingDelay(ONE_DAY_TIME_IN_BLOCKS);
|
||||||
|
|
||||||
// Action 8: _setVotingPeriod() function on governor contract with 2 days
|
// Action 5: _setVotingPeriod() function on governor contract with 2 days
|
||||||
GOVERNOR._setVotingPeriod(TWO_DAY_TIME_IN_BLOCKS);
|
GOVERNOR._setVotingPeriod(TWO_DAY_TIME_IN_BLOCKS);
|
||||||
|
|
||||||
|
// Action 6: setPendingAdmin() on new timelock contract
|
||||||
|
TIMELOCK.setPendingAdmin(address(GOVERNOR));
|
||||||
|
|
||||||
|
// Action 7: _acceptAdminOnTimelock() on governor contract
|
||||||
|
GOVERNOR._acceptAdminOnTimelock();
|
||||||
|
|
||||||
|
// Action 8: setDelay() on new timelock contract with 1 day
|
||||||
|
TIMELOCK.setDelay(ONE_DAY_TIME_IN_SECONDS);
|
||||||
}
|
}
|
||||||
|
|
||||||
function verifyProposal() external {
|
function verifyProposal() external {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user