Commit Graph

265 Commits

Author SHA1 Message Date
emilio
3f7bb806ac Merge branch 'master' into fix/51 2020-10-31 13:10:26 +01:00
emilio
08c8482cc1 Fixed conditions, removed console.log 2020-10-31 12:33:26 +01:00
emilio
d645155321 Updated configureAsCollateral 2020-10-31 12:17:59 +01:00
David Racero
1ac0a45394 Fix conflicts 2020-10-30 16:52:44 +01:00
eboado
929fd6bc83 - Removed buidler console.log from LendingPool 2020-10-30 16:40:49 +01:00
emilio
96d00edd00 Merge branch 'master' into fix/51 2020-10-30 16:21:37 +01:00
emilio
6f5bcddab1 fixed tests 2020-10-30 16:12:59 +01:00
eboado
cba766d282 Merge branch 'master' into feat/102-batch-delegation-allowance 2020-10-30 16:04:31 +01:00
emilio
b888fc12ab Merge branch 'master' into fix/51 2020-10-30 15:12:11 +01:00
eboado
a86902ee02 Merge branch 'master' into fix/89-available-liquidity 2020-10-30 15:02:40 +01:00
Ernesto Boado
22e4cc353c Merge branch '100/flash-loan-bath-modes' into 'master'
Added batch of modes to flashLoan()

Closes #100

See merge request aave-tech/protocol-v2!111
2020-10-30 14:01:52 +00:00
eboado
5a9a46a31f Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 14:55:03 +01:00
Ernesto Boado
4e56df7d56 Merge branch 'certora/integration' into 'master'
Resolve "Integrating the certora formal verification rules in the CI"

Closes #59

See merge request aave-tech/protocol-v2!67
2020-10-30 13:48:25 +00:00
Ernesto Boado
8a9afaaea0 Merge branch 'feat/105-msgsender-executeOperation' into 'master'
Passed `initiator` param to flashLoan()'s executeOperation() receiver.

Closes #105

See merge request aave-tech/protocol-v2!114
2020-10-30 13:00:27 +00:00
David Racero
b3cc9d1a62 Fix conflicts 2020-10-30 13:40:06 +01:00
eboado
631d6ebfcb - Passed initiator param to flashLoan()'s executeOperation() receiver.
- Removed unused ISwapAdapter.
2020-10-30 13:32:42 +01:00
eboado
b2bbe62822 - Added to to withdraw() 2020-10-30 12:38:41 +01:00
eboado
7227717a7a - Removed modes from validateFlashLoan. Not needed as executeBorrow() will fail. 2020-10-30 12:06:02 +01:00
The-3D
386138cc9c Merge branch 'feat/101-first-borrowing-on-debt-tokens' into 'master'
Added return of is first borrowing on debt tokens mint()

Closes #101

See merge request aave-tech/protocol-v2!110
2020-10-30 10:58:36 +00:00
emilio
decf652e19 Removed variable 2020-10-30 11:55:50 +01:00
eboado
af6b370f0e - Removed from memory struct debtMode on flashLoan() 2020-10-30 11:55:28 +01:00
eboado
092aacc85a - Added initiator to flash loan event. 2020-10-30 11:49:23 +01:00
eboado
1954f609c2 Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 11:40:31 +01:00
pistiner
22353eeee5 Fixes to run on VariableDebtToken 2020-10-30 01:07:30 +02:00
emilio
e4dc22e50e Fixed events, removed unused constants in addressesProvider 2020-10-29 18:03:19 +01:00
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
eboado
913a6a9237 - Added batch of modes to flashLoan() 2020-10-29 15:14:28 +01:00
eboado
38bb760112 - Added return of is first borrowing on debt tokens mint() 2020-10-29 14:55:11 +01:00
eboado
edfe17bd97 - Added batch to credit delegation 2020-10-29 14:36:01 +01:00
emilio
3f7d913fd4 Fixed issue on 0 transfer, added check that the caller must be an aToken 2020-10-29 13:43:24 +01:00
emilio
9e55ea12b6 Fixes #99 2020-10-29 11:57:43 +01:00
David Racero
0d87292867 Fix merge conflicts. Fix ETH to WETH symbol change 2020-10-28 15:49:50 +01:00
eboado
232743c332 - Cached _reservesCount on _addReserveToList() 2020-10-28 12:02:40 +01:00
eboado
3f714b9dc8 - Fixed non-initialized availableLiquidity on validateBorrow() 2020-10-28 11:48:55 +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
4834a587f5 Fixed the amountToWithdraw in withdraw event 2020-10-27 10:47:01 +01:00
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
David Truong
d2b52ced8f Merge commit 'ea66bf317030bd8e4caf9fdfe5b3933adc187fcc' into feat/74 2020-10-26 13:29:59 +01:00
David Truong
24d5c4766f [WIP] Adding onBehalfOf to flashloan 2020-10-26 13:27:31 +01:00
The3D
5bd4fd0e13 Updated comment 2020-10-26 11:58:57 +01:00
The3D
14c4b750e1 Fixes PVE013 2020-10-26 11:18:25 +01:00
The3D
c5d7bb5e80 Fixed PVE011 2020-10-26 11:04:13 +01:00
The3D
65dace0054 updated validation of validateRepay 2020-10-26 10:57:45 +01:00
The3D
4b750850a2 Fixes PVE006-2 2020-10-26 10:48:43 +01:00
The3D
c44ed2c0c7 Updated flashloan event 2020-10-26 10:35:44 +01:00
The3D
6398fe4260 Fix comments, tests 2020-10-23 18:41:08 +02:00
The3D
a2e2450bb3 Finalized implementation, fixed tests 2020-10-22 20:37:50 +02:00
The3D
302a19a1bc Merge branch 'master' into fix/73 2020-10-22 19:20:57 +02:00