rahul-kothari/hack-money-ape

Flash loan integration

Opened this issue · 0 comments

People borrow a desirable amount of base tokens to do YTC.
Some of the base tokens is spent which they need to cover. So now they can do YTC with a very very small amount of base token.

Note: if people YTC but want to end with PTs then they should only take a flash loan of PTs (to make it easier for both us and them)

Note 2: With flash loan, add a new column for leverage and calculate APY now based on the base tokens that they end up spending. Hint: this will be very very high!