microwavedcola1
2dca3003df
Don't incentivise using asset tokens with high liquidation fee during liquidation ( #536 )
...
* Don't incentivise using non-usdc coins to liquidate tokens
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix tests
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix tests
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* review: add back test comment
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: Christian Kamm <mail@ckamm.de>
2023-04-13 12:43:31 +02:00
Christian Kamm
b7dd8e0663
Fee buyback: Respect USDC oracle ( #504 )
2023-03-20 11:18:11 +01:00
Christian Kamm
b6bfb01879
token_liq_bankruptcy: Use oracle for valuing insurance fund tokens ( #503 )
...
Previously a token from the insurance fund was valued at 1 USD. Now it
uses the oracle associated with it (USDC oracle).
2023-03-16 11:23:45 +01:00
Christian Kamm
d3cbb9e2ec
Create a single rust test binary ( #425 )
...
Speeds up the linking step, needs way less disk space for test binaries
and executes tests significantly faster.
Test execution went from 35s -> 29s for me and compilation improved a
lot.
2023-01-30 21:09:47 +01:00