Commit Graph

207 Commits

Author SHA1 Message Date
eboado
94ce7c649f - Fixed innacuracy on borrow() comments. 2020-11-19 10:46:10 +01:00
eboado
82268e6a5e - Removed not needed receive() on LendingPool 2020-11-11 16:05:44 +01:00
eboado
9b04f21ae0 - Changed to require on result on liquidationCall() 2020-11-11 15:52:42 +01:00
David Racero
2d5e651959 Fix conflicts 2020-11-10 17:52:23 +01:00
David Racero
743eb6ec29 Added isContract to check asset at LendingPool.initResetve function 2020-11-10 17:50:13 +01:00
The-3D
3fc812e7fb Merge branch 'fix/130' into 'master'
Resolve "Add a modifier for _whenNotPaused()"

Closes #130

See merge request aave-tech/protocol-v2!152
2020-11-10 16:48:30 +00:00
The3D
2df0598e4b Added modifiers 2020-11-10 17:38:06 +01:00
The3D
12707238f8 Fixes #131 2020-11-10 17:28:43 +01:00
The3D
f87873a6de Added natspec, isActive check 2020-11-10 16:07:13 +01:00
The3D
d66959f4ff Refactored validation logic of rebalanceStableBorrowRate 2020-11-10 15:57:49 +01:00
The3D
0c8efc2261 Added negative test on setUsageAsCollateral(), clearer require condition 2020-11-10 13:45:08 +01:00
The3D
4e4fbe6539 Refactoring of credit delegation 2020-11-03 19:47:57 +01:00
The3D
54bae079c9 Renamed error 2020-11-03 12:15:37 +01:00
The3D
f513ebee37 Refactored duplicated code 2020-11-03 12:14:09 +01:00
The3D
492c5fcd4a Added usage as collateral enabled/disabled events 2020-11-02 16:40:31 +01:00
The3D
3570fc7803 Added delegation capabilities to the aToken 2020-11-02 12:54:56 +01:00
emilio
07429b0a57 Fixed P_IS_PAUSED 2020-10-31 13:55:19 +01:00
David Racero
1ac0a45394 Fix conflicts 2020-10-30 16:52:44 +01:00
eboado
cba766d282 Merge branch 'master' into feat/102-batch-delegation-allowance 2020-10-30 16:04:31 +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