diff --git a/contracts/deploy/mainnet/177_reset_first_deposit.js b/contracts/deploy/mainnet/177_reset_first_deposit.js new file mode 100644 index 0000000000..e8a8dea55b --- /dev/null +++ b/contracts/deploy/mainnet/177_reset_first_deposit.js @@ -0,0 +1,35 @@ +const { deploymentWithGovernanceProposal } = require("../../utils/deploy"); + +module.exports = deploymentWithGovernanceProposal( + { + deployName: "177_reset_first_deposit", + forceDeploy: false, + // Skipping as this is run 5 times and doesn't make sense to execute without the validator registrator + // calling stakeEth between each + forceSkip: true, + reduceQueueTime: true, + deployerIsProposer: false, + proposalId: "", + }, + async () => { + // Current contracts + const cStakingStrategyProxy = await ethers.getContract( + "CompoundingStakingSSVStrategyProxy" + ); + const cStakingStrategy = await ethers.getContractAt( + "CompoundingStakingSSVStrategy", + cStakingStrategyProxy.address + ); + + return { + name: `Allow the initial 1 ETH validator deposits to be made two at a time.`, + actions: [ + { + contract: cStakingStrategy, + signature: "resetFirstDeposit()", + args: [], + }, + ], + }; + } +); diff --git a/contracts/deploy/mainnet/178_claim_CVX.js b/contracts/deploy/mainnet/178_claim_CVX.js new file mode 100644 index 0000000000..fe5ce1dbce --- /dev/null +++ b/contracts/deploy/mainnet/178_claim_CVX.js @@ -0,0 +1,38 @@ +const addresses = require("../../utils/addresses"); +const { deploymentWithGovernanceProposal } = require("../../utils/deploy"); + +module.exports = deploymentWithGovernanceProposal( + { + deployName: "178_claim_CVX", + forceDeploy: false, + // forceSkip: true, + reduceQueueTime: true, + deployerIsProposer: false, + proposalId: "56969544083996304166076833674482534703985965819377671508249694929739383139166", + }, + async () => { + // Current OUSD Vault contracts + const cVaultProxy = await ethers.getContract("VaultProxy"); + const cVaultAdmin = await ethers.getContractAt( + "VaultAdmin", + cVaultProxy.address + ); + const cCVX = await ethers.getContractAt("ERC20", addresses.mainnet.CVX); + + return { + name: `Claim CVX tokens stuck in the OUSD Vault`, + actions: [ + { + contract: cVaultAdmin, + signature: "transferToken(address,uint256)", + args: [addresses.mainnet.CVX, "805679677566091469209"], + }, + { + contract: cCVX, + signature: "transfer(address,uint256)", + args: [addresses.multichainStrategist, "805679677566091469209"], + }, + ], + }; + } +); diff --git a/contracts/deployments/mainnet/.migrations.json b/contracts/deployments/mainnet/.migrations.json index 2c7ea56107..11c296ac52 100644 --- a/contracts/deployments/mainnet/.migrations.json +++ b/contracts/deployments/mainnet/.migrations.json @@ -63,5 +63,6 @@ "166_curve_pool_booster_factory": 1769174027, "168_crosschain_strategy_proxies": 1770738208, "169_crosschain_strategy": 1770738961, - "173_improve_curve_pb_module": 1770818413 -} \ No newline at end of file + "173_improve_curve_pb_module": 1770818413, + "178_claim_CVX": 1771833071 +}