Skip to content

Commit b72a152

Browse files
authored
Add proxy deployment file for Morpho V2 strategy (#2719)
* Add proxy deployment file for Morpho V2 strategy * Deploy proxy
1 parent 7fdf6e1 commit b72a152

File tree

6 files changed

+382
-1
lines changed

6 files changed

+382
-1
lines changed

contracts/contracts/proxies/Proxies.sol

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,3 +320,10 @@ contract CompoundingStakingSSVStrategyProxy is
320320
{
321321

322322
}
323+
324+
/**
325+
* @notice OUSDMorphoV2StrategyProxy delegates calls to a Generalized4626Strategy implementation
326+
*/
327+
contract OUSDMorphoV2StrategyProxy is InitializeGovernedUpgradeabilityProxy {
328+
329+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
const { deploymentWithGovernanceProposal } = require("../../utils/deploy");
2+
3+
module.exports = deploymentWithGovernanceProposal(
4+
{
5+
deployName: "159_ousd_morpho_v2_proxy",
6+
forceDeploy: false,
7+
reduceQueueTime: true,
8+
deployerIsProposer: false,
9+
proposalId: "",
10+
},
11+
async ({ deployWithConfirmation }) => {
12+
await deployWithConfirmation("OUSDMorphoV2StrategyProxy");
13+
const cOUSDMorphoV2StrategyProxy = await ethers.getContract(
14+
"OUSDMorphoV2StrategyProxy"
15+
);
16+
17+
console.log(
18+
`OUSDMorphoV2StrategyProxy deployed to ${cOUSDMorphoV2StrategyProxy.address}`
19+
);
20+
21+
return {
22+
actions: [],
23+
};
24+
}
25+
);

contracts/deployments/mainnet/.migrations.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"154_upgrade_native_staking": 1761558983,
5353
"155_oeth_zapper": 1762855829,
5454
"157_curve_pool_booster_factory": 1764086068,
55-
"158_deploy_xogn_rewards_module": 1764146932
55+
"158_deploy_xogn_rewards_module": 1764146932,
56+
"159_ousd_morpho_v2_proxy": 1765998626
5657
}

contracts/deployments/mainnet/OUSDMorphoV2StrategyProxy.json

Lines changed: 297 additions & 0 deletions
Large diffs are not rendered by default.

contracts/deployments/mainnet/solcInputs/4d7fb9a338561e25ea29eeb117bd92d9.json

Lines changed: 45 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"solcVersion": "0.8.28",
3+
"storage": [],
4+
"types": {},
5+
"namespaces": {}
6+
}

0 commit comments

Comments
 (0)