Commit Graph

59 Commits

Author SHA1 Message Date
David Racero
a54f910928 Added emergency token and ether withdrawal. Follow code guidelines. 2020-11-03 17:23:35 +01:00
David Racero
a4a02e761b Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth 2020-11-02 16:54:22 +01:00
David Racero
6d009f796d Moved WETH9.sol to mock/dependencies due is only for testing purposes 2020-11-02 15:47:02 +01:00
David Racero
a12706949d WETH9Mocked now inherits from WETH9 instead of copying the contract 2020-11-02 15:33:37 +01:00
The3D
1b021dca18 Added tests 2020-11-02 14:44:11 +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
The-3D
7eb31124b2 Merge branch 'fix/83-msgSender' into 'master'
- Changed msg.sender to _msgSender()

See merge request aave-tech/protocol-v2!97
2020-10-27 14:05:03 +00:00
eboado
87bbfb9571 - Changed msg.sender to _msgSender() 2020-10-27 14:42:11 +01:00
pol
52c21a38ba Merge branch 'master' of sendra.gitlab.com:aave-tech/protocol-v2 into feat/70-basic-flow-task 2020-10-27 10:49:34 +01:00
pol
1384afa534 merged conflicts 2020-10-23 13:04:09 +02: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
pol
258b70fad3 cleaned code 2020-10-20 15:19:41 +02:00
pol
4e951147c2 added type method on aggregator 2020-10-20 12:54:17 +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
David Racero
b919886916 Remove unused imports 2020-10-14 09:53:48 +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
The3D
d150458604 Merge branch 'master' into feat/18 2020-10-08 15:41:48 +02:00
eboado
273070fada Added return uint256 validation to flashLoan() 2020-10-07 16:20:32 +02:00
The3D
274b63713d Merge branch 'master' into fix/34 2020-09-16 16:34:29 +02:00
andyk
125644cc54 Merge branch 'master' into feat/pei-integration 2020-09-15 18:43:55 +03:00
andyk
43c8ef02db initial integration of pei, no tests 2020-09-15 16:53:20 +03:00
The3D
c6a3588792 Merge branch 'master' into fix/34 2020-09-15 15:33:09 +02:00
David Racero
6842978706 Merge and fix conflicts 2020-09-15 10:57:04 +02:00
The3D
dbf1a0b9e7 Merge branch 'master' into fix/34 2020-09-14 09:22:39 +02:00
eboado
7a8a0d6ac5 Merge branch 'master' into 30-collateral-swap 2020-09-14 08:58:37 +02:00
The3D
4a1e1156f4 Merge local branch 2020-09-10 12:51:52 +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
819cc65abd Merge branch 'master' into feat/27-new-erc20 2020-09-04 17:10:32 +02:00
eboado
da734aa68a - Refactored ERC20 and adapted derived contracts. 2020-09-04 16:27:35 +02: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
39984383c6 remove payable, add IAToken and ILendingPool 2020-08-20 15:32:20 +03:00
andyk
ae8878a50e fix more imports 2020-08-20 13:44:51 +03:00
emilio
3247fb8784 Added mock debt tokens for test 2020-08-18 11:39:34 +02:00
emilio
1d02b7f5e3 Initial commit 2020-08-12 19:36:58 +02:00
The3D
b387bcf845 Added upgradeability tests 2020-08-10 20:20:08 +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