You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repay(); // ***Step 2: Repay the aggregated flash loan + above fees
/* Remember to factor in:
+ 6bps in Kollateral aggregation fee
+ 9bps in native Aave flash loan fee
+ 2 Wei in native DyDx floan loan fee
*/
it seems the repay function would need to know how the loan was routed - ie the fraction of tokenAmount sent to aave or dydx? Other question what happens if we repay too much?
The text was updated successfully, but these errors were encountered:
it seems the repay function would need to know how the loan was routed - ie the fraction of tokenAmount sent to aave or dydx? Other question what happens if we repay too much?
The text was updated successfully, but these errors were encountered: