diff --git a/contracts/deploy/mainnet/168_reset_first_deposit.js b/contracts/deploy/mainnet/168_reset_first_deposit.js new file mode 100644 index 0000000000..afa652c82c --- /dev/null +++ b/contracts/deploy/mainnet/168_reset_first_deposit.js @@ -0,0 +1,35 @@ +const { deploymentWithGovernanceProposal } = require("../../utils/deploy"); + +module.exports = deploymentWithGovernanceProposal( + { + deployName: "168_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/169_claim_CVX.js b/contracts/deploy/mainnet/169_claim_CVX.js new file mode 100644 index 0000000000..4234a6be71 --- /dev/null +++ b/contracts/deploy/mainnet/169_claim_CVX.js @@ -0,0 +1,32 @@ +const addresses = require("../../utils/addresses"); +const { deploymentWithGovernanceProposal } = require("../../utils/deploy"); + +module.exports = deploymentWithGovernanceProposal( + { + deployName: "169_claim_CVX", + forceDeploy: false, + // forceSkip: true, + reduceQueueTime: true, + deployerIsProposer: false, + proposalId: "", + }, + async () => { + // Current OUSD Vault contracts + const cVaultProxy = await ethers.getContract("VaultProxy"); + const cVaultAdmin = await ethers.getContractAt( + "VaultAdmin", + cVaultProxy.address + ); + + return { + name: `Claim CVX tokens stuck in the OUSD Vault.`, + actions: [ + { + contract: cVaultAdmin, + signature: "transferToken(address,uint256)", + args: [addresses.mainnet.CVX, "805679677566091469209"], + }, + ], + }; + } +);