Skip to content

Commit b7ac332

Browse files
committed
Recreated the gov prop to remove OETH Convex AMO
1 parent fe662f2 commit b7ac332

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
const { deploymentWithGovernanceProposal } = require("../../utils/deploy");
2+
3+
module.exports = deploymentWithGovernanceProposal(
4+
{
5+
deployName: "201_remove_oeth_convex_amo",
6+
forceDeploy: false,
7+
reduceQueueTime: true,
8+
deployerIsProposer: false,
9+
proposalId:
10+
"65917466506012284308120271732167759811825281875173804912309711554959620397852",
11+
},
12+
async ({ ethers }) => {
13+
// Current OETH Vault contracts
14+
const cVaultProxy = await ethers.getContract("OETHVaultProxy");
15+
const cVault = await ethers.getContractAt("IVault", cVaultProxy.address);
16+
17+
// Convex OETH/ETH AMO Strategy (0x1827F9eA98E0bf96550b2FC20F7233277FcD7E63)
18+
// The old Curve OETH/ETH pool used by this AMO is no longer used.
19+
const cStrategyProxy = await ethers.getContract(
20+
"ConvexEthMetaStrategyProxy"
21+
);
22+
23+
// Governance Actions
24+
// ----------------
25+
return {
26+
name: "Remove the Convex AMO Strategy from the OETH Vault.",
27+
actions: [
28+
{
29+
// removeStrategy withdraws all assets from the strategy back to the
30+
// Vault before marking it as unsupported.
31+
contract: cVault,
32+
signature: "removeStrategy(address)",
33+
args: [cStrategyProxy.address],
34+
},
35+
],
36+
};
37+
}
38+
);

contracts/deployments/mainnet/.migrations.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,6 @@
8383
"197_migrate_xogn_module6_to_talos": 1780930872,
8484
"198_migrate_strategist_modules_to_talos": 1780930872,
8585
"199_deploy_compounding_staking_strategy": 1781093567,
86-
"200_remove_old_compounding_ssv_strategy": 1781561627
86+
"200_remove_old_compounding_ssv_strategy": 1781561627,
87+
"201_remove_oeth_convex_amo": 1782091931
8788
}

0 commit comments

Comments
 (0)