Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
38 changes: 38 additions & 0 deletions contracts/deploy/mainnet/201_remove_oeth_convex_amo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const { deploymentWithGovernanceProposal } = require("../../utils/deploy");

module.exports = deploymentWithGovernanceProposal(
{
deployName: "201_remove_oeth_convex_amo",
forceDeploy: false,
reduceQueueTime: true,
deployerIsProposer: false,
proposalId:
"65917466506012284308120271732167759811825281875173804912309711554959620397852",
},
async ({ ethers }) => {
// Current OETH Vault contracts
const cVaultProxy = await ethers.getContract("OETHVaultProxy");
const cVault = await ethers.getContractAt("IVault", cVaultProxy.address);

// Convex OETH/ETH AMO Strategy (0x1827F9eA98E0bf96550b2FC20F7233277FcD7E63)
// The old Curve OETH/ETH pool used by this AMO is no longer used.
const cStrategyProxy = await ethers.getContract(
"ConvexEthMetaStrategyProxy"
);

// Governance Actions
// ----------------
return {
name: "Remove the Convex AMO Strategy from the OETH Vault.",
actions: [
{
// removeStrategy withdraws all assets from the strategy back to the
// Vault before marking it as unsupported.
contract: cVault,
signature: "removeStrategy(address)",
args: [cStrategyProxy.address],
},
],
};
}
);
3 changes: 2 additions & 1 deletion contracts/deployments/mainnet/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@
"197_migrate_xogn_module6_to_talos": 1780930872,
"198_migrate_strategist_modules_to_talos": 1780930872,
"199_deploy_compounding_staking_strategy": 1781093567,
"200_remove_old_compounding_ssv_strategy": 1781561627
"200_remove_old_compounding_ssv_strategy": 1781561627,
"201_remove_oeth_convex_amo": 1782091931
}
Loading