Skip to content

Commit 531ee88

Browse files
authored
Add deployment file to change RewardsSource guardian (#2772)
* Add deployment file to change RewardsSource guardian * Add proposal ID
1 parent 0710471 commit 531ee88

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
const { deploymentWithGovernanceProposal } = require("../../utils/deploy");
2+
const addresses = require("../../utils/addresses");
3+
4+
module.exports = deploymentWithGovernanceProposal(
5+
{
6+
deployName: "167_change_rewards_source_strategist",
7+
forceDeploy: false,
8+
// forceSkip: true,
9+
// reduceQueueTime: true,
10+
deployerIsProposer: false,
11+
proposalId:
12+
"94269607648314023436956568233797971858375759818949315042916605004641910146597",
13+
},
14+
async () => {
15+
// Current contracts
16+
const xOGNRewardsSource = await ethers.getContractAt(
17+
["function setStrategistAddr(address) external"],
18+
addresses.mainnet.OGNRewardsSource
19+
);
20+
21+
// Governance Actions
22+
// ----------------
23+
return {
24+
name: `Change Guardian address on the OGNRewardsSource contract
25+
26+
We previously changed the Guardian on all Ethereum contracts to the new Multichain Guardian. This contract was missed out. This proposal addresses that so that we can deprecate the older Guardian multisig.`,
27+
actions: [
28+
{
29+
contract: xOGNRewardsSource,
30+
signature: "setStrategistAddr(address)",
31+
args: [addresses.multichainStrategist],
32+
},
33+
],
34+
};
35+
}
36+
);

0 commit comments

Comments
 (0)