Skip to content

Commit

Permalink
Added second native staking strategy as the default for WETH
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Jul 15, 2024
1 parent 33a5678 commit cbd6764
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { deploymentWithGovernanceProposal } = require("../../utils/deploy");

module.exports = deploymentWithGovernanceProposal(
{
deployName: "101_oeth_withdraw_queue",
deployName: "103_oeth_withdraw_queue",
forceDeploy: false,
//forceSkip: true,
reduceQueueTime: true,
Expand Down Expand Up @@ -54,6 +54,10 @@ module.exports = deploymentWithGovernanceProposal(
const rEthInVault = await rETH.balanceOf(cVault.address);
console.log(`There is ${formatUnits(rEthInVault)} rETH in the OETH Vault`);

const cNativeStakingStrategy2Proxy = await ethers.getContract(
"NativeStakingSSVStrategy2Proxy"
);

// Governance Actions
// ----------------
return {
Expand Down Expand Up @@ -108,6 +112,12 @@ module.exports = deploymentWithGovernanceProposal(
signature: "setDripper(address)",
args: [cDripperProxy.address],
},
// 9. Set the second Native Staking Strategy as the default for WETH
{
contract: cVault,
signature: "setAssetDefaultStrategy(address,address)",
args: [addresses.mainnet.WETH, cNativeStakingStrategy2Proxy.address],
},
],
};
}
Expand Down

0 comments on commit cbd6764

Please sign in to comment.