Skip to content

Commit

Permalink
Upgrade OUSD Vault
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-ux committed Jan 8, 2025
1 parent a29405f commit 7b93180
Show file tree
Hide file tree
Showing 10 changed files with 6,505 additions and 314 deletions.
4,831 changes: 4,831 additions & 0 deletions contracts/114.out

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/deploy/mainnet/108_vault_upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = deploymentWithGovernanceProposal(
{
deployName: "108_vault_upgrade",
forceDeploy: false,
//forceSkip: true,
forceSkip: true,
reduceQueueTime: true,
deployerIsProposer: false,
proposalId: "",
Expand Down
446 changes: 446 additions & 0 deletions contracts/deployments/mainnet/OETHHarvesterSimple.json

Large diffs are not rendered by default.

252 changes: 155 additions & 97 deletions contracts/deployments/mainnet/OETHVaultAdmin.json

Large diffs are not rendered by default.

248 changes: 136 additions & 112 deletions contracts/deployments/mainnet/OETHVaultCore.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions contracts/simpleHarvester-args.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = [0x35918cDE7233F2dD33fA41ae3Cb6aE0e42E0e69F,0xF14BBdf064E3F67f51cd9BD646aE3716aD938FDC]
51 changes: 51 additions & 0 deletions contracts/storageLayout/mainnet/OETHHarvesterSimple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"solcVersion": "0.8.7",
"storage": [
{
"label": "strategistAddr",
"offset": 0,
"slot": "0",
"type": "t_address",
"contract": "Strategizable",
"src": "contracts/governance/Strategizable.sol:10"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "Strategizable",
"src": "contracts/governance/Strategizable.sol:13"
},
{
"label": "supportedStrategies",
"offset": 0,
"slot": "51",
"type": "t_mapping(t_address,t_bool)",
"contract": "OETHHarvesterSimple",
"src": "contracts/harvest/OETHHarvesterSimple.sol:15"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"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"
}
}
}
Loading

0 comments on commit 7b93180

Please sign in to comment.