Commit Graph

88 Commits

Author SHA1 Message Date
Ernesto Boado
6b26e39d5f Merge branch 'feat/74' into 'master'
Feat/74 - Add `onBehalf` for flashloan(), to open debt if debt mode selected

Closes #74

See merge request aave-tech/protocol-v2!96
2020-10-29 15:08:18 +00:00
emilio
9e55ea12b6 Fixes #99 2020-10-29 11:57:43 +01:00
emilio
bd911de167 Fixed ReserveDataUpdated event 2020-10-27 15:09:11 +01:00
David Truong
a517d5d11d - implement test for onBehalfOf flashloan borrow debt 2020-10-27 13:10:10 +01:00
David Truong
d78c89151b Merge remote-tracking branch 'origin/master' into feat/74 2020-10-27 12:14:34 +01:00
David Truong
e0660bda7b Merge remote-tracking branch 'origin/master' into feat/74
# Conflicts:
#	contracts/interfaces/ILendingPool.sol
#	contracts/lendingpool/LendingPool.sol
#	test/flashloan.spec.ts
2020-10-27 12:05:48 +01:00
emilio
31a76ef047 Updated ILendingPool 2020-10-27 10:31:32 +01:00
David Truong
24d5c4766f [WIP] Adding onBehalfOf to flashloan 2020-10-26 13:27:31 +01:00
The3D
c44ed2c0c7 Updated flashloan event 2020-10-26 10:35:44 +01: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
emilio
bb234fbc7c fixed #72 2020-10-19 10:55:45 +02:00
The3D
6a06a3e88f removed openzeppelin imports2 2020-10-15 15:41:56 +02:00
The3D
86ddf25a3a Reorganized folders 2020-10-15 15:16:05 +02:00
The3D
46bcf4b821 Merge branch 'master' into feat/rm-unused-imports 2020-10-15 14:29:51 +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
44ba72540c Updated configurator, LendingPool interface 2020-10-09 17:59:10 +02:00
The3D
640f30c786 Removed getters 2020-10-09 16:35:02 +02:00
The3D
24a4980496 Refactored reservesList to a mapping 2020-10-06 15:51:48 +02:00
eboado
099532ee48 - Added general setter and getter of address to LendingPoolAddressesProvider.
- Adapted style of LendingPoolAddressesProviderRegistry, adding public getter function in the process.
2020-09-29 16:31:21 +02:00
The3D
12f1dbd0dc Readded calculateAvailableBorrowsETH 2020-09-21 22:08:44 +02:00
The3D
75579e5d28 Merge branch 'master' into fix/45 2020-09-21 20:19:28 +02:00
The3D
07db321b4d updated rebalance conditions,tests 2020-09-21 19:52:22 +02:00
The3D
e4890a14c2 Merge branch 'master' into fix/34 2020-09-17 11:55:38 +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
66113d64a2 rename LendingPoolLiquidationManager -> LendingPoolCollateralManager 2020-09-16 13:41:12 +03: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
eboado
aef8e68ce0 - Changed _paused visibility and added getter. 2020-09-15 15:46:19 +02:00
The3D
c6a3588792 Merge branch 'master' into fix/34 2020-09-15 15:33:09 +02:00
David Racero
eea47aedde Minimize Pausable contract 2020-09-15 11:03:04 +02:00
David Racero
6842978706 Merge and fix conflicts 2020-09-15 10:57:04 +02:00
eboado
0c94b24700 - Fixed description on swapLiquidity(). 2020-09-15 10:43:22 +02:00
eboado
172cb05b64 - Renamed collateralSwap() to swapDeposit().
- Added docs to sw
2020-09-15 09:51:23 +02:00
The3D
f428f69ebd Merge branch 'master' into fix/34 2020-09-15 09:34:00 +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
David Racero
4ec61ee993 When transfer, check pause at pool to save one external call. 2020-09-14 19:46:27 +02:00
eboado
a87dae445f Merge branch 'master' into 33-add-native-credit-delegation 2020-09-14 17:24:55 +02:00
eboado
6d96be5f42 - Added extra natspecs 2020-09-14 17:18:57 +02:00
David Racero
98ed475000 Remove Context and account from PausablePool events. 2020-09-14 15:59:11 +02:00
David Racero
775d003cc0 Keep standard paused() name function. 2020-09-14 15:33:24 +02:00
The3D
b2ec4dd2fa Renamed totalBorrowsStable, totalBorrowsVariable 2020-09-14 15:13:30 +02:00
The3D
bb4e1b5c4b Fixed errors 2020-09-14 15:09:16 +02:00
David Racero
bbc11eb092 Added pausable to Pool actions and aTokens at transfer, triggered by LendingPoolConfigurator. Added basic test to aToken transfer. 2020-09-14 13:03:39 +02:00
andyk
c0c3133763 makecredit delegation per debt token 2020-09-14 13:52:05 +03:00