Skip to content

Commit

Permalink
test: integration tests (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
HrikB authored Feb 21, 2024
1 parent 585a758 commit aecfb8c
Show file tree
Hide file tree
Showing 15 changed files with 2,379 additions and 90 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
[submodule "lib/forge-safe"]
path = lib/forge-safe
url = https://github.com/ind-igo/forge-safe
[submodule "lib/solarray"]
path = lib/solarray
url = https://github.com/evmcheb/solarray
2 changes: 1 addition & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rm -rf coverage
rm -f lcov.info
forge coverage --report lcov
forge coverage --report lcov --ffi

delete=false

Expand Down
38 changes: 19 additions & 19 deletions deployment-config/01_DeployYieldOracle.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,41 @@
"weETH": {
"address": "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
"historicalExchangeRates": [
"1031075002100282186",
"1031158812531177075",
"1031226095319016479",
"1031310415834844310",
"1031388291876689267",
"1031388291876689267",
"1031542659696644181"
"1031542659696644181",
"1031594042215378342",
"1031701738797902646"
]
},
"stader": {
"address": "0xcf5EA1b38380f6aF39068375516Daf40Ed70D299",
"historicalExchangeRates": [
"1021458251714077925",
"1021540011059018889",
"1021612411074716374",
"1021686165920947256",
"1021769550207969202",
"1021858880545256403",
"1021940599803942448"
"1021940599803942448",
"1022018676921434661",
"1022105684015751204"
]
},
"swell": {
"address": "0xf951E335afb289353dc249e82926178EaC7DEd78",
"historicalExchangeRates": [
"1050491517818073833",
"1050637173054058672",
"1050754209601187151",
"1050754209601187151",
"1050884470901249618",
"1051043935170285905",
"1051043935170285905"
"1051043935170285905",
"1051174925937085597",
"1051320787896182686"
]
}
},
"dailyBlockData": [
{
"humanTimestamp": "2024-02-12 06:59:59",
"timestamp": "1707739199",
"blockNumber": "19211804"
},
{
"humanTimestamp": "2024-02-13 06:59:59",
"timestamp": "1707825599",
"blockNumber": "19218950"
},
{
"humanTimestamp": "2024-02-14 06:59:59",
"timestamp": "1707911999",
Expand All @@ -72,6 +62,16 @@
"humanTimestamp": "2024-02-18 06:59:59",
"timestamp": "1708257599",
"blockNumber": "19254549"
},
{
"humanTimestamp": "2024-02-19 06:59:59",
"timestamp": "1708343999",
"blockNumber": "19261638"
},
{
"humanTimestamp": "2024-02-20 06:59:59",
"timestamp": "1708430399",
"blockNumber": "19268776"
}
]
}
17 changes: 8 additions & 9 deletions deployment-config/02_DeployInterestRateModule.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"ilkData": {
"adjustedProfitMargin": "70677685926057170",
"minimumKinkRate": "911013579023514400",
"adjustedProfitMargin": "0",
"minimumKinkRate": "4062570058138700000",
"reserveFactor": "0",
"adjustedBaseRate": "68369713930720290",
"minimumBaseRate": "68369713930720290",
"optimalUtilizationRate": "9200",
"distributionFactor": "10000",
"adjustedAboveKinkSlope": "25017682370176442000",
"minimumAboveKinkSlope": "26390655175013278000"
"adjustedBaseRate": "0",
"minimumBaseRate": "1580630071273960000",
"optimalUtilizationRate": "8500",
"adjustedAboveKinkSlope": "0",
"minimumAboveKinkSlope": "23863999665252300000"
},
"yieldOracleAddress": "0x437CC840e234C2127f54CD59B0B18aF59c586760"
"yieldOracleAddress": "0x31403b1e52051883f2Ce1B1b4C89f36034e1221D"
}
Loading

0 comments on commit aecfb8c

Please sign in to comment.