Skip to content

Commit

Permalink
Deploy 106 - Metamorpho OUSD strategy (#2217)
Browse files Browse the repository at this point in the history
* Deploy Metamorpho OUSD strategy

* feat: set proposal id.

* fix: remove .out file.
  • Loading branch information
clement-ux authored Sep 9, 2024
1 parent 9bbe3f9 commit 4e3b141
Show file tree
Hide file tree
Showing 7 changed files with 1,115 additions and 95 deletions.
2 changes: 1 addition & 1 deletion contracts/deploy/mainnet/106_ousd_metamorpho_usdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = deploymentWithGovernanceProposal(
// forceSkip: true,
// reduceQueueTime: true,
deployerIsProposer: false,
proposalId: "",
proposalId: "18625164866922300754601338202643973145672922743793130890170553774294234651247",
},
async ({ deployWithConfirmation, getTxOpts, withConfirmation }) => {
// Current OUSD Vault contracts
Expand Down
3 changes: 2 additions & 1 deletion contracts/deployments/mainnet/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@
"102_2nd_native_ssv_staking": 1720787923,
"103_oeth_withdraw_queue": 1722834443,
"104_upgrade_staking_strategies": 1723926635,
"105_ousd_remove_flux_strat": 1724650407
"105_ousd_remove_flux_strat": 1724650407,
"106_ousd_metamorpho_usdc": 1725548135
}
147 changes: 66 additions & 81 deletions contracts/deployments/mainnet/Generalized4626Strategy.json

Large diffs are not rendered by default.

289 changes: 289 additions & 0 deletions contracts/deployments/mainnet/MetaMorphoStrategyProxy.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions contracts/storageLayout/mainnet/Generalized4626Strategy.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,95 +7,95 @@
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "contracts/utils/Initializable.sol:8"
"src": "contracts/utils/Initializable.sol:12"
},
{
"label": "initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "contracts/utils/Initializable.sol:13"
"src": "contracts/utils/Initializable.sol:17"
},
{
"label": "______gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "Initializable",
"src": "contracts/utils/Initializable.sol:37"
"src": "contracts/utils/Initializable.sol:41"
},
{
"label": "_deprecated_platformAddress",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:39"
"src": "contracts/utils/InitializableAbstractStrategy.sol:43"
},
{
"label": "_deprecated_vaultAddress",
"offset": 0,
"slot": "52",
"type": "t_address",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:43"
"src": "contracts/utils/InitializableAbstractStrategy.sol:47"
},
{
"label": "assetToPToken",
"offset": 0,
"slot": "53",
"type": "t_mapping(t_address,t_address)",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:46"
"src": "contracts/utils/InitializableAbstractStrategy.sol:50"
},
{
"label": "assetsMapped",
"offset": 0,
"slot": "54",
"type": "t_array(t_address)dyn_storage",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:49"
"src": "contracts/utils/InitializableAbstractStrategy.sol:53"
},
{
"label": "_deprecated_rewardTokenAddress",
"offset": 0,
"slot": "55",
"type": "t_address",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:53"
"src": "contracts/utils/InitializableAbstractStrategy.sol:57"
},
{
"label": "_deprecated_rewardLiquidationThreshold",
"offset": 0,
"slot": "56",
"type": "t_uint256",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:57"
"src": "contracts/utils/InitializableAbstractStrategy.sol:61"
},
{
"label": "harvesterAddress",
"offset": 0,
"slot": "57",
"type": "t_address",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:60"
"src": "contracts/utils/InitializableAbstractStrategy.sol:64"
},
{
"label": "rewardTokenAddresses",
"offset": 0,
"slot": "58",
"type": "t_array(t_address)dyn_storage",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:63"
"src": "contracts/utils/InitializableAbstractStrategy.sol:67"
},
{
"label": "_reserved",
"offset": 0,
"slot": "59",
"type": "t_array(t_int256)98_storage",
"contract": "InitializableAbstractStrategy",
"src": "contracts/utils/InitializableAbstractStrategy.sol:69"
"src": "contracts/utils/InitializableAbstractStrategy.sol:74"
},
{
"label": "_deprecate_shareToken",
Expand Down
5 changes: 5 additions & 0 deletions contracts/storageLayout/mainnet/MetaMorphoStrategyProxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"solcVersion": "0.8.7",
"storage": [],
"types": {}
}

0 comments on commit 4e3b141

Please sign in to comment.