generated from PaulRBerg/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tested closing borrows (through etherscan on the ladle)
- Loading branch information
alcueca
committed
Nov 6, 2023
1 parent
a880335
commit 586c1f7
Showing
3 changed files
with
228 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
No files changed, compilation skipped | ||
|
||
Running 4 tests for test/Unwind.t.sol:UnwindTest | ||
[32m[PASS][0m test_closeLend() (gas: 4446031) | ||
Logs: | ||
FYDAI2209: Redeemed 874038457156458737001 | ||
FYDAI2209: Obtained 891290810571659890893 Dai Stablecoin | ||
FYUSDC2209: Redeemed 10572960402 | ||
FYUSDC2209: Obtained 10801105695 USD Coin | ||
FYETH2206: Redeemed 516792406942865521 | ||
FYETH2206: Obtained 517443283522987356 Wrapped Ether | ||
FYETH2209: Redeemed 3071514926253883454 | ||
FYETH2209: Obtained 3074198083000828496 Wrapped Ether | ||
FYFRAX2206: Redeemed 4778009003933814540 | ||
FYFRAX2206: Obtained 4778009003933814540 Frax | ||
FYFRAX2209: Redeemed 450293943802284084002 | ||
FYFRAX2209: Obtained 450293943802284084002 Frax | ||
FYETH2212: Redeemed 517009576912384790 | ||
FYETH2212: Obtained 517363231059231936 Wrapped Ether | ||
FYDAI2212: Redeemed 2169123449581959176388 | ||
FYDAI2212: Obtained 2206187622774458218096 Dai Stablecoin | ||
FYUSDC2212: Redeemed 726828497 | ||
FYUSDC2212: Obtained 742020444 USD Coin | ||
FYFRAX2212: Redeemed 98395967000787659418 | ||
FYFRAX2212: Obtained 98395967000787659418 Frax | ||
FYETH2303: Not enough join balance to redeem 49305177069456091243 | ||
FYDAI2303: Not enough join balance to redeem 155742829126709002996692 | ||
FYUSDC2303: Not enough join balance to redeem 480765014727 | ||
FYFRAX2303: Redeemed 18532199651966809832 | ||
FYFRAX2303: Obtained 18532199651966809832 Frax | ||
FYETH2306: Not enough join balance to redeem 50893234478993045053 | ||
FYDAI2306: Not enough join balance to redeem 69565033016285121898491 | ||
FYUSDC2306: Not enough join balance to redeem 682445332479 | ||
FYFRAX2306: Redeemed 0 | ||
FYFRAX2306: Obtained 0 Frax | ||
FYUSDT2303: Redeemed 0 | ||
FYUSDT2303: Obtained 0 Tether USD | ||
FYUSDT2306: Redeemed 0 | ||
FYUSDT2306: Obtained 0 Tether USD | ||
FYETH2306B: Not enough join balance to redeem 51137393239489811000 | ||
FYDAI2306B: Not enough join balance to redeem 67138863944130937500000 | ||
FYUSDC2306B: Not enough join balance to redeem 482374497345 | ||
FYUSDT2306B: Redeemed 0 | ||
FYUSDT2306B: Obtained 0 Tether USD | ||
FYETH2309: Not enough join balance to redeem 95221144190374570599 | ||
FYDAI2309: Not enough join balance to redeem 174664828497776995079197 | ||
FYUSDC2309: Not enough join balance to redeem 669278729399 | ||
FYUSDT2309: Redeemed 0 | ||
FYUSDT2309: Obtained 0 Tether USD | ||
FYFRAX2309: Redeemed 0 | ||
FYFRAX2309: Obtained 0 Frax | ||
FYETH2312: Not mature yet, wait until 1703862000 | ||
FYDAI2312: Not mature yet, wait until 1703862000 | ||
FYUSDC2312: Not mature yet, wait until 1703862000 | ||
FYUSDT2312: Not mature yet, wait until 1703862000 | ||
|
||
[32m[PASS][0m test_removePoolLiquidity() (gas: 4688435) | ||
Logs: | ||
FYDAI2209 LP: Burned 100000000000000000000 | ||
FYDAI2209 LP: Obtained 228502871611840946 Dai Stablecoin | ||
FYDAI2209 LP: Obtained 102774704718300135173 FYDAI2209 | ||
FYUSDC2209 LP: Burned 100000000 | ||
FYUSDC2209 LP: Obtained 62928251 USD Coin | ||
FYUSDC2209 LP: Obtained 37528901 FYUSDC2209 | ||
FYETH2206 LP: Burned 20000000000000000 | ||
FYETH2206 LP: Obtained 19843391620264438 Wrapped Ether | ||
FYETH2206 LP: Obtained 170198861852961 FYETH2206 | ||
FYETH2209 LP: Burned 20000000000000000 | ||
FYETH2209 LP: Obtained 5482585309194814 Wrapped Ether | ||
FYETH2209 LP: Obtained 14651939034972902 FYETH2209 | ||
FYFRAX2206 LP: Burned 100000000000000000000 | ||
FYFRAX2206 LP: Obtained 95224553880186822799 Frax | ||
FYFRAX2206 LP: Obtained 4778009003933814540 FYFRAX2206 | ||
FYFRAX2209 LP: Burned 1113390066928335047098 | ||
FYFRAX2209 LP: Obtained 664716756024535422806 Frax | ||
FYFRAX2209 LP: Obtained 450293943801588476757 FYFRAX2209 | ||
FYFRAX2212 LP: Burned 100000000000000000000 | ||
FYFRAX2212 LP: Obtained 3477341725657951587 Frax | ||
FYFRAX2212 LP: Obtained 97381942677273731374 FYFRAX2212 | ||
FYFRAX2303 LP: Burned 100000000000000000000 | ||
FYFRAX2303 LP: Obtained 81521258725807684796 Frax | ||
FYFRAX2303 LP: Obtained 18532199651966809832 FYFRAX2303 | ||
FYETH2309 LP: Burned 72965494953399697001 | ||
FYETH2309 LP: Obtained 27420794736759831517 Wrapped Ether | ||
FYETH2309 LP: Obtained 45893879156306145802 FYETH2309 | ||
FYDAI2309 LP: Burned 29276093541189200772686 | ||
FYDAI2309 LP: Obtained 10862909020333163784572 Dai Stablecoin | ||
FYDAI2309 LP: Obtained 18481584435112439681172 FYDAI2309 | ||
FYUSDC2309 LP: Burned 238056647337 | ||
FYUSDC2309 LP: Obtained 52403151418 USD Coin | ||
FYUSDC2309 LP: Obtained 186855957731 FYUSDC2309 | ||
FYUSDT2309 LP: Burned 50000000 | ||
FYUSDT2309 LP: Obtained 50000000 Tether USD | ||
FYUSDT2309 LP: Obtained 0 FYUSDT2309 | ||
FYETH2312 LP: Burned 15347519517416743612 | ||
FYETH2312 LP: Obtained 663028375484652750 Wrapped Ether | ||
FYETH2312 LP: Obtained 14928536111815056522 FYETH2312 | ||
FYDAI2312 LP: Burned 16616211893811339107726 | ||
FYDAI2312 LP: Obtained 1798386451058797458480 Dai Stablecoin | ||
FYDAI2312 LP: Obtained 15000000000000000000000 FYDAI2312 | ||
FYUSDC2312 LP: Burned 72229004184 | ||
FYUSDC2312 LP: Obtained 50822631609 USD Coin | ||
FYUSDC2312 LP: Obtained 22176106845 FYUSDC2312 | ||
FYUSDT2312 LP: Burned 50000000 | ||
FYUSDT2312 LP: Obtained 50000000 Tether USD | ||
FYUSDT2312 LP: Obtained 0 FYUSDT2312 | ||
|
||
[32m[PASS][0m test_removeStrategyV1Liquidity() (gas: 1437948) | ||
Logs: | ||
Yield Strategy ETH 6M Mar Sep: Burned 125770477228476838662 | ||
Yield Strategy ETH 6M Mar Sep: Obtained 126553981178711828695 FYETH2303 LP | ||
Yield Strategy DAI 6M Mar Sep: Burned 495603981537727718432306 | ||
Yield Strategy DAI 6M Mar Sep: Obtained 513389586981711751769593 FYDAI2303 LP | ||
Yield Strategy USDC 6M Mar Sep: Burned 910929018275 | ||
Yield Strategy USDC 6M Mar Sep: Obtained 919736046989 FYUSDC2303 LP | ||
Yield Strategy FRAX 6M Mar Sep: Burned 21381046315055623151880 | ||
Yield Strategy FRAX 6M Mar Sep: Obtained 21423614824263458524826 Yield Strategy FRAX 6M Mar Sep | ||
|
||
[32m[PASS][0m test_removeStrategyV2Liquidity() (gas: 2949162) | ||
Logs: | ||
Yield Strategy FRAX 6M Jun Dec: Burned 191859800892600206609 | ||
Yield Strategy FRAX 6M Jun Dec: Obtained 191859800892600206609 Frax | ||
Yield Strategy ETH 6M Jun Dec: Burned 15340652240301902574 | ||
Yield Strategy ETH 6M Jun Dec: Obtained 15347519517416743612 FYETH2312 LP | ||
Yield Strategy DAI 6M Jun Dec: Burned 16614305191942101174417 | ||
Yield Strategy DAI 6M Jun Dec: Obtained 16616211893811339107726 FYDAI2312 LP | ||
Yield Strategy USDC 6M Jun Dec: Burned 72199699134 | ||
Yield Strategy USDC 6M Jun Dec: Obtained 72229004184 FYUSDC2312 LP | ||
Yield Strategy USDT 6M Jun Dec: Burned 50000000 | ||
Yield Strategy USDT 6M Jun Dec: Obtained 50000000 FYUSDT2312 LP | ||
Yield Strategy ETH 6M Mar Sep: Burned 72965494953399697001 | ||
Yield Strategy ETH 6M Mar Sep: Obtained 72965494953399697001 FYETH2309 LP | ||
Yield Strategy DAI 6M Mar Sep: Burned 29276093541189200772686 | ||
Yield Strategy DAI 6M Mar Sep: Obtained 29276093541189200772686 FYDAI2309 LP | ||
Yield Strategy USDC 6M Mar Sep: Burned 238056647337 | ||
Yield Strategy USDC 6M Mar Sep: Obtained 238056647337 FYUSDC2309 LP | ||
Yield Strategy USDT 6M Mar Sep: Burned 50000000 | ||
Yield Strategy USDT 6M Mar Sep: Obtained 50000000 FYUSDT2309 LP | ||
Yield Strategy FRAX 6M Mar Sep: Burned 21423614824263458524826 | ||
Yield Strategy FRAX 6M Mar Sep: Obtained 21423614824263458524826 Frax | ||
|
||
Test result: [32mok[0m. [32m4[0m passed; [31m0[0m failed; [33m0[0m skipped; finished in 44.29s | ||
|
||
Ran 1 test suites: [32m4[0m tests passed, [31m0[0m failed, [33m0[0m skipped (4 total tests) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters