Skip to content

Commit

Permalink
Deploy 123 - Simple Harvester v2 (#2387)
Browse files Browse the repository at this point in the history
* Deploy- 123.

* fix: add proposal ID
  • Loading branch information
clement-ux authored Feb 14, 2025
1 parent 83b8790 commit 07c7d62
Show file tree
Hide file tree
Showing 7 changed files with 1,390 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ const { deploymentWithGovernanceProposal } = require("../../utils/deploy");

module.exports = deploymentWithGovernanceProposal(
{
deployName: "122_simple_harvester_v2",
deployName: "123_simple_harvester_v2",
forceDeploy: false,
//forceSkip: true,
reduceQueueTime: true,
deployerIsProposer: false,
proposalId: "",
proposalId:
"26550610486664057138305516943450169995813254080724548319324256884874259231291",
},
async ({ deployWithConfirmation, withConfirmation }) => {
const { multichainStrategistAddr, deployerAddr } = await getNamedAccounts();
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 @@ -110,5 +110,6 @@
"119_multisig_as_canceller": 1737991984,
"120_remove_ousd_amo": 1737992146,
"121_pool_booster_curve": 1737965774,
"122_delegate_yield_curve_pool": 1739200325
"122_delegate_yield_curve_pool": 1739200325,
"123_simple_harvester_v2": 1739168735
}
280 changes: 215 additions & 65 deletions contracts/deployments/mainnet/OETHHarvesterSimple.json

Large diffs are not rendered by default.

297 changes: 297 additions & 0 deletions contracts/deployments/mainnet/OETHSimpleHarvesterProxy.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

54 changes: 49 additions & 5 deletions contracts/storageLayout/mainnet/OETHHarvesterSimple.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,80 @@
{
"solcVersion": "0.8.7",
"solcVersion": "0.8.28",
"storage": [
{
"label": "strategistAddr",
"label": "initialized",
"offset": 0,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "contracts/utils/Initializable.sol:12"
},
{
"label": "initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"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:41"
},
{
"label": "strategistAddr",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "Strategizable",
"src": "contracts/governance/Strategizable.sol:10"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"slot": "52",
"type": "t_array(t_uint256)50_storage",
"contract": "Strategizable",
"src": "contracts/governance/Strategizable.sol:13"
},
{
"label": "dripper",
"offset": 0,
"slot": "102",
"type": "t_address",
"contract": "OETHHarvesterSimple",
"src": "contracts/harvest/OETHHarvesterSimple.sol:26"
},
{
"label": "supportedStrategies",
"offset": 0,
"slot": "51",
"slot": "103",
"type": "t_mapping(t_address,t_bool)",
"contract": "OETHHarvesterSimple",
"src": "contracts/harvest/OETHHarvesterSimple.sol:15"
"src": "contracts/harvest/OETHHarvesterSimple.sol:29"
},
{
"label": "___gap",
"offset": 0,
"slot": "104",
"type": "t_array(t_uint256)48_storage",
"contract": "OETHHarvesterSimple",
"src": "contracts/harvest/OETHHarvesterSimple.sol:32"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint256)48_storage": {
"label": "uint256[48]",
"numberOfBytes": "1536"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
Expand Down
5 changes: 5 additions & 0 deletions contracts/storageLayout/mainnet/OETHSimpleHarvesterProxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"solcVersion": "0.8.28",
"storage": [],
"types": {}
}

0 comments on commit 07c7d62

Please sign in to comment.