Commit Graph

27 Commits

Author SHA1 Message Date
David Racero
7040f9ea2e Fix conflicts 2021-01-15 16:55:51 +01:00
root
a9aff29b77 Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support. 2021-01-15 15:48:54 +00:00
The3D
773bdd252b Added latest fixes 2021-01-14 15:21:42 +01:00
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04:00
The3D
d611b1e8dc Updated to receive theindication on which path to use from outside 2020-12-02 15:30:57 +01:00
eboado
a25bdd9280 - Change path logic on repay adapter and base 2020-12-02 14:39:05 +01:00
andyk
a21757d0fc adoption to the latest 2020-11-30 17:14:29 +04:00
Gerardo Nardelli
3415204216 Update adapter docs 2020-11-25 15:49:11 -03:00
Gerardo Nardelli
cdd922c908 Merge fixes 2020-11-25 11:07:33 -03:00
Gerardo Nardelli
a496be8833 Refactor to avoid leftovers on _swapAndRepay with flash loan 2020-11-25 10:44:50 -03:00
Gerardo Nardelli
4d2d9e8459 Avoid leftovers on swapAndRepay 2020-11-24 14:06:58 -03:00
Gerardo Nardelli
50e5ea907b Add first draft of swapAndRepay without using flash loans 2020-11-24 12:11:13 -03:00
Gerardo Nardelli
43d05c2bdf Refactor repayAdapter to flash loan the debt asset instead of the collateral 2020-11-20 15:53:50 -03:00
Gerardo Nardelli
b48b50208a Support using all the collateral for a debt repay 2020-11-20 09:06:28 -03:00
Gerardo Nardelli
8a303c6195 Refactor repayMode in repayAdapter 2020-11-19 16:39:00 -03:00
Gerardo Nardelli
101c775789 Avoid param override in repay adapter 2020-11-13 12:28:57 -03:00
Gerardo Nardelli
b0d9dbe2a7 code improvements 2020-11-10 11:28:19 -03:00
Gerardo Nardelli
cf9c8855c3 Pull the correct amount of atokens from user to avoid leftovers in repay adapter 2020-11-10 10:38:24 -03:00
Gerardo Nardelli
6e9defe14c Add repayAllDebt flag to repay the whole debt with collateral 2020-11-09 16:53:03 -03:00
Gerardo Nardelli
4fb43f7aff Remove not used batch capabilities on repay adapter 2020-11-09 15:27:18 -03:00
Gerardo Nardelli
1faffa2c39 Add permit amount parameter to correctly execute permit call 2020-11-06 12:12:08 -03:00
Gerardo Nardelli
20bbae88d3 Add swapAllBalance parameter for liquidity swap 2020-11-05 16:49:55 -03:00
Gerardo Nardelli
847ad3b12a Add batch swaps unit tests 2020-11-03 15:37:06 -03:00
Gerardo Nardelli
fa7fa9f948 Add permit support in swap adapters 2020-11-02 17:33:00 -03:00
Gerardo Nardelli
0eddff4933 Apply feedback fixes 2020-10-30 16:59:25 -03:00
Gerardo Nardelli
96e74cf707 Update adapters to use the new flashloan interface 2020-10-27 11:22:16 -03:00
Gerardo Nardelli
7c51597282 Add uniswap adapters for liquidity swap and repay with collateral 2020-10-27 09:17:33 -03:00