Skip to content

Commit

Permalink
[OETHb] Deploy 026 - Deploy Harvester 2.0 (#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro authored Feb 15, 2025
1 parent 07c7d62 commit ea0d38c
Show file tree
Hide file tree
Showing 6 changed files with 856 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/deployments/base/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
"022_upgrade_oeth": 1739206945,
"023_update_weth_share": 1738333646,
"024_multisig_as_canceller": 1737993822,
"025_base_curve_amo": 1739214342
"025_base_curve_amo": 1739214342,
"026_harvester_v2": 1739547078
}
590 changes: 590 additions & 0 deletions contracts/deployments/base/SuperOETHHarvester.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": "1.0",
"chainId": "8453",
"createdAt": 1739547078,
"meta": {
"name": "Transaction Batch",
"description": "",
"txBuilderVersion": "1.16.1",
"createdFromSafeAddress": "0x92A19381444A001d62cE67BaFF066fA1111d7202",
"createdFromOwnerAddress": ""
},
"transactions": [
{
"to": "0xf817cb3092179083c48c014688D98B72fB61464f",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"type": "address[]",
"name": "targets"
},
{
"type": "uint256[]",
"name": "values"
},
{
"type": "bytes[]",
"name": "payloads"
},
{
"type": "bytes32",
"name": "predecessor"
},
{
"type": "bytes32",
"name": "salt"
}
],
"name": "executeBatch",
"payable": true
},
"contractInputsValues": {
"targets": "[\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x9cfcAF81600155e01c63e4D2993A8A81A8205829\"]",
"values": "[\"0\",\"0\",\"0\",\"0\",\"0\"]",
"payloads": "[\"0x3659cfe60000000000000000000000008d840080f57bcd698941631817694d896ac8f9fa\",\"0xc0c53b8b000000000000000000000000f817cb3092179083c48c014688d98b72fb61464f0000000000000000000000004ff1b9d9ba8558f5eafcec096318ea0d8b54197100000000000000000000000002f2c609950e90934ce99e58b4d7326ad0d7f8d6\",\"0x65f6fa94000000000000000000000000f611cc500eee7e4e4763a05fe623e2363c86d2af0000000000000000000000000000000000000000000000000000000000000001\",\"0x65f6fa940000000000000000000000009cfcaf81600155e01c63e4d2993a8a81a82058290000000000000000000000000000000000000000000000000000000000000001\",\"0xc2e1e3f4000000000000000000000000247872f58f2ff11f9e8f89c1c48e460cff0c6b29\"]",
"predecessor": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x116145a3dd6296ddd3ff4c491380b7ecf00843d3cc4fd175e98c6b232486200f"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"version": "1.0",
"chainId": "8453",
"createdAt": 1739547078,
"meta": {
"name": "Transaction Batch",
"description": "",
"txBuilderVersion": "1.16.1",
"createdFromSafeAddress": "0x92A19381444A001d62cE67BaFF066fA1111d7202",
"createdFromOwnerAddress": ""
},
"transactions": [
{
"to": "0xf817cb3092179083c48c014688D98B72fB61464f",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"type": "address[]",
"name": "targets"
},
{
"type": "uint256[]",
"name": "values"
},
{
"type": "bytes[]",
"name": "payloads"
},
{
"type": "bytes32",
"name": "predecessor"
},
{
"type": "bytes32",
"name": "salt"
},
{
"type": "uint256",
"name": "delay"
}
],
"name": "scheduleBatch",
"payable": false
},
"contractInputsValues": {
"targets": "[\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29\",\"0x9cfcAF81600155e01c63e4D2993A8A81A8205829\"]",
"values": "[\"0\",\"0\",\"0\",\"0\",\"0\"]",
"payloads": "[\"0x3659cfe60000000000000000000000008d840080f57bcd698941631817694d896ac8f9fa\",\"0xc0c53b8b000000000000000000000000f817cb3092179083c48c014688d98b72fb61464f0000000000000000000000004ff1b9d9ba8558f5eafcec096318ea0d8b54197100000000000000000000000002f2c609950e90934ce99e58b4d7326ad0d7f8d6\",\"0x65f6fa94000000000000000000000000f611cc500eee7e4e4763a05fe623e2363c86d2af0000000000000000000000000000000000000000000000000000000000000001\",\"0x65f6fa940000000000000000000000009cfcaf81600155e01c63e4d2993a8a81a82058290000000000000000000000000000000000000000000000000000000000000001\",\"0xc2e1e3f4000000000000000000000000247872f58f2ff11f9e8f89c1c48e460cff0c6b29\"]",
"predecessor": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x116145a3dd6296ddd3ff4c491380b7ecf00843d3cc4fd175e98c6b232486200f",
"delay": "172800"
}
}
]
}

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions contracts/storageLayout/localhost/SuperOETHHarvester.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"solcVersion": "0.8.28",
"storage": [
{
"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": "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": "103",
"type": "t_mapping(t_address,t_bool)",
"contract": "OETHHarvesterSimple",
"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"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_mapping(t_address,t_bool)": {
"label": "mapping(address => bool)",
"numberOfBytes": "32"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
}
}
}

0 comments on commit ea0d38c

Please sign in to comment.