Commit Graph

33 Commits

Author SHA1 Message Date
The3D
f1778b88d4 Removed the ^ on solidity version 2020-11-20 11:45:20 +01:00
The3D
8c03180f89 Updated solidity version 2020-11-20 11:41:58 +01:00
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +01:00
eboado
631d6ebfcb - Passed initiator param to flashLoan()'s executeOperation() receiver.
- Removed unused ISwapAdapter.
2020-10-30 13:32:42 +01:00
David Racero
744befc46c Added deposit test for WETHGateway 2020-10-29 12:44:21 +01:00
The3D
a2e2450bb3 Finalized implementation, fixed tests 2020-10-22 20:37:50 +02:00
The3D
b7efa920ca Remove swapLiquidity/repayWithCollateral 2020-10-22 11:50:04 +02:00
The3D
6a06a3e88f removed openzeppelin imports2 2020-10-15 15:41:56 +02:00
The3D
937fb1df93 Folders reorg 2020-10-15 15:25:27 +02:00
The3D
86ddf25a3a Reorganized folders 2020-10-15 15:16:05 +02:00
The3D
53d6114775 Merge branch 'master' into feat/18 2020-10-12 15:19:27 +02:00
eboado
80bdb0f2b2 Changed return of executeOperation() to bool, as the amount is never used. 2020-10-12 12:00:49 +02:00
eboado
273070fada Added return uint256 validation to flashLoan() 2020-10-07 16:20:32 +02:00
David Racero
6842978706 Merge and fix conflicts 2020-09-15 10:57:04 +02:00
David Racero
5af23057fa Fix conflicts. 2020-09-14 15:53:34 +02:00
eboado
7a8a0d6ac5 Merge branch 'master' into 30-collateral-swap 2020-09-14 08:58:37 +02:00
eboado
4b3abac526 Merge branch 'master' into feat/26-repay-collateral 2020-09-09 21:12:36 +02:00
eboado
37a9c7ad88 - Added reentrancy guard on repayWithCollateral() and test. 2020-09-09 13:06:46 +02:00
eboado
3aa0dbc570 - Added tests of repayWithCollateral(), only for self-liquidation. 2020-09-08 15:05:53 +02:00
andyk
212cf76f23 add base tests 2020-09-07 16:48:46 +03:00
eboado
5435620e41 - Added tests to cover flashLoan(). 2020-08-25 14:50:07 +02:00
The3D
d833157cf4 Updated flashloans to transferFrom the receiver instead of checking that the funds where sent back 2020-08-23 18:38:34 +02:00
The3D
1864c7abf4 Updated libraries, renamed internal methods 2020-08-21 18:18:12 +02:00
andyk
ae8878a50e fix more imports 2020-08-20 13:44:51 +03:00
emilio
1d02b7f5e3 Initial commit 2020-08-12 19:36:58 +02:00
The3D
56fa10bd8f Fixes tests on flashloans 2020-07-13 15:19:47 +02:00
The3D
048a2de7de Merge branch 'master' into feat/funds-allocation 2020-07-13 12:24:36 +02:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
The3D
edd7ad3b15 Added transfer of the funds to aTokens 2020-07-10 19:16:04 +02:00
andyk
e31d5b9bee add doc strings to UniversalERC20, delete remove values there, fixes from MR comments 2020-06-03 14:02:18 +03:00
andyk
268e749a6d remove SafeERC20 dependency 2020-06-02 18:16:27 +03:00
andyk
f3597f670f remove EthAddressLib 2020-06-02 17:16:22 +03:00
eboado
b889cb25b6 - Added contracts from v1 of the protocol. 2020-05-29 18:45:37 +02:00