Torque-Money / Dev-Environment

Smart contract dev environment.
GNU General Public License v3.0
1 stars 0 forks source link

Oracle testing #44

Closed BenGOsborn closed 2 years ago

BenGOsborn commented 2 years ago

Create a new Oracle that can have its price manipulated during tests to test liquidations and repayments and such.

BenGOsborn commented 2 years ago

Setup Gelato (How do I automate it with paying with ETH - do I just have to make a new swap function that involves ETH or something ???) (maybe I can check if my converter will swap for ETH by default)

BenGOsborn commented 2 years ago

Clean up other tests at some point and clean up contracts + upload source code to etherscan when it is ready.

BenGOsborn commented 2 years ago

Add more restrictions to functions to prevent empty balances and stuff to prevent unnecessary events

BenGOsborn commented 2 years ago

Update

I need to unclaim AFTER the events have been redeposited otherwise it is not taken into consideration.