Commit Graph

75 Commits

Author SHA1 Message Date
The-3D
85168f8ea7 Merge branch 'fix/78' into 'master'
Resolve "Extend flashloans to allow flashborrowing of multiple currencies"

Closes #78

See merge request aave-tech/protocol-v2!87
2020-10-26 13:14:42 +00:00
The3D
9c283fb4cb Fixed PVE014 2020-10-26 12:14:33 +01:00
The3D
86d25393e9 Add small optimization in _mintToTreasury 2020-10-23 13:09:19 +02:00
The3D
a2e2450bb3 Finalized implementation, fixed tests 2020-10-22 20:37:50 +02:00
The3D
8873b9cdac initial implementation 2020-10-22 18:15:56 +02:00
The3D
b7efa920ca Remove swapLiquidity/repayWithCollateral 2020-10-22 11:50:04 +02:00
Ernesto Boado
017589a8f7 Merge branch 'fix/68' into 'master'
Resolve "Gas optimizations"

Closes #68

See merge request aave-tech/protocol-v2!77
2020-10-16 08:05:11 +00:00
The3D
b4f8592775 Fixed #69 2020-10-15 17:57:54 +02:00
The3D
6a06a3e88f removed openzeppelin imports2 2020-10-15 15:41:56 +02:00
The3D
46bcf4b821 Merge branch 'master' into feat/rm-unused-imports 2020-10-15 14:29:51 +02:00
The3D
1b1fd6e5e2 Fixes #68 2020-10-15 14:13:46 +02:00
David Racero
b919886916 Remove unused imports 2020-10-14 09:53:48 +02:00
The3D
b450a04642 Added getter for userconfiguration 2020-10-12 14:37:53 +02:00
The3D
24a4980496 Refactored reservesList to a mapping 2020-10-06 15:51:48 +02:00
The3D
e328cf0482 Formatting, removed console import 2020-09-25 10:57:51 +02:00
The3D
687b13f019 Formatting, removed console import 2020-09-25 10:57:26 +02:00
The3D
fb0f533ae9 Changes usage of the ltv in calculateUserAccountData 2020-09-25 10:55:58 +02:00
The3D
6e7787d23c initial fix 2020-09-24 18:20:17 +02:00
The3D
12f1dbd0dc Readded calculateAvailableBorrowsETH 2020-09-21 22:08:44 +02:00
The3D
2e30bb8b85 Fixed error on rebalance conditions, changed style of internal functions 2020-09-21 21:15:12 +02:00
The3D
75579e5d28 Merge branch 'master' into fix/45 2020-09-21 20:19:28 +02:00
The3D
c346251df0 Added comments 2020-09-21 18:51:51 +02:00
The3D
c7f0dfbaa9 Merge branch 'master' into fix/34 2020-09-21 10:03:18 +02:00
The3D
7c5de62910 Merge branch 'master' into 40-refactor-the-storage-of-lp 2020-09-21 09:31:54 +02:00
The3D
bfe0657b1a Updated code to fix deposit and withdraw tests 2020-09-17 16:37:51 +02:00
The3D
e4890a14c2 Merge branch 'master' into fix/34 2020-09-17 11:55:38 +02:00
The3D
7986a4704b Fixed mintToTreasury function 2020-09-17 10:53:55 +02:00
The3D
274b63713d Merge branch 'master' into fix/34 2020-09-16 16:34:29 +02:00
andyk
9594571761 Merge branch 'master' into 41-rename-liqudiationmanager 2020-09-16 15:22:55 +01:00
andyk
2a6248c6d2 misc renaming 2020-09-16 15:09:42 +03:00
andyk
214c51f365 disallow liquiditySwap with freezed reserve as to 2020-09-16 10:22:46 +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
eboado
59996e1ece - Refactor validation of swapLiquidity() to ValidationLogic.
- Added extra check on active reserves on swapLiquidity().
2020-09-15 10:28:39 +02:00
eboado
8d391b9ab5 Merge branch 'master' into 30-collateral-swap 2020-09-15 09:56:41 +02:00
The3D
f428f69ebd Merge branch 'master' into fix/34 2020-09-15 09:34:00 +02:00
eboado
fb15afda8e Merge branch 'master' into fix/35-isActive-liquidations 2020-09-14 21:31:22 +02:00
eboado
c4904bc41c Merge branch 'master' into 30-collateral-swap 2020-09-14 21:06:16 +02:00
David Racero
59bfdc39f2 Fix conflicts 2020-09-14 19:59:00 +02:00
The3D
d542f098c1 fixed deposit, withdraw tests 2020-09-14 19:25:45 +02:00
eboado
a87dae445f Merge branch 'master' into 33-add-native-credit-delegation 2020-09-14 17:24:55 +02:00
andyk
9d757aaa37 fix docustring 2020-09-14 17:57:59 +03:00
The3D
bb4e1b5c4b Fixed errors 2020-09-14 15:09:16 +02:00
andyk
35bff4bea2 add comment for getDebtTokenAddress function 2020-09-14 15:50:46 +03:00
andyk
d135c25b39 add borrowRateMode check on credit delegation 2020-09-14 15:41:44 +03:00
The3D
6e92575ac2 add code to _mintToTreasury 2020-09-14 11:41:14 +02:00
The3D
13f77ec0d2 Fixed repay 2020-09-14 11:34:40 +02:00
The3D
5061aab9cc Added the total supply on stable debt token 2020-09-14 11:09:47 +02:00
eboado
e2500d1532 - Refactored validation logic of liquidationCall() and repayWithCollateral() to ValidationLogic. 2020-09-14 10:52:31 +02:00
David Racero
1fbe84df49 Remove unused parameter to allow compilation without optimization for coverage. 2020-09-14 10:46:57 +02:00