Skip to content
Open
35 changes: 35 additions & 0 deletions contracts/deploy/mainnet/177_reset_first_deposit.js
Original file line number Diff line number Diff line change
@@ -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: [],
},
],
};
}
);
38 changes: 38 additions & 0 deletions contracts/deploy/mainnet/178_claim_CVX.js
Original file line number Diff line number Diff line change
@@ -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"],
},
],
};
}
);
5 changes: 3 additions & 2 deletions contracts/deployments/mainnet/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
"173_improve_curve_pb_module": 1770818413,
"178_claim_CVX": 1771833071
}