Commit Graph

259 Commits

Author SHA1 Message Date
David Racero
743eb6ec29 Added isContract to check asset at LendingPool.initResetve function 2020-11-10 17:50:13 +01:00
The-3D
74ab2fd126 Merge branch 'fix/133' into 'master'
Resolve "Add validation on UserConfiguration that the reserveIndex is < 128"

Closes #133

See merge request aave-tech/protocol-v2!151
2020-11-10 16:29:11 +00:00
The3D
6460dd9e03 fixes #133 2020-11-10 17:21:59 +01:00
The3D
f125eeb0c5 Removed unneeded conditions 2020-11-10 17:15:36 +01:00
The3D
fed8c79884 Fixed comment in ReserveLogic 2020-11-10 16:52:34 +01:00
The3D
643ed2f9bc Fixed comment in ReserveConfiguration 2020-11-10 16:52:02 +01:00
The3D
57ed9efd58 Validated the user balance before isActive 2020-11-10 16:33:00 +01:00
The3D
31cbe9127e Fixed validateWithdraw 2020-11-10 16:29: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
673b8f22c4 Fixed validation of isActive in validateWithdraw 2020-11-10 15:42:03 +01:00
The3D
ee1e20568b Added check 2020-11-10 14:11:01 +01:00
The3D
0c8efc2261 Added negative test on setUsageAsCollateral(), clearer require condition 2020-11-10 13:45:08 +01:00
emilio
57e444714d Merge branch 'master' into fix/114 2020-11-05 15:25:24 +01:00
emilio
73f38a46ec Merge branch 'master' into fix/114 2020-11-05 14:51:04 +01:00
emilio
42f7e07173 Merge branch 'master' into feat/refactor-delegation 2020-11-05 14:49:59 +01:00
emilio
69c3d5b9b7 Adds Emergency admin 2020-11-05 12:35:50 +01:00
The3D
4e4fbe6539 Refactoring of credit delegation 2020-11-03 19:47:57 +01:00
David Racero
6174539966 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth 2020-11-03 12:51:54 +01:00
The3D
54bae079c9 Renamed error 2020-11-03 12:15:37 +01:00
David Racero
cabff851d0 Move interfaces that are not core protocol to misc/interfaces directory. Rename method to follow guidelines. 2020-11-02 17:01:47 +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
The3D
3570fc7803 Added delegation capabilities to the aToken 2020-11-02 12:54:56 +01:00
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +01:00
Ernesto Boado
282e6093bb Merge branch 'fix/51' into 'master'
Resolve "Remove the disable as collateral function on LendingPoolConfigurator"

Closes #51

See merge request aave-tech/protocol-v2!60
2020-10-31 17:41:48 +00:00
emilio
07429b0a57 Fixed P_IS_PAUSED 2020-10-31 13:55:19 +01:00
emilio
05d426645d Changed freezed to frozen 2020-10-31 13:47:16 +01:00
emilio
3f7bb806ac Merge branch 'master' into fix/51 2020-10-31 13:10:26 +01:00
David Racero
1ac0a45394 Fix conflicts 2020-10-30 16:52:44 +01:00
emilio
96d00edd00 Merge branch 'master' into fix/51 2020-10-30 16:21:37 +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
eboado
5a9a46a31f Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 14:55:03 +01:00
David Racero
b3cc9d1a62 Fix conflicts 2020-10-30 13:40:06 +01:00
eboado
7227717a7a - Removed modes from validateFlashLoan. Not needed as executeBorrow() will fail. 2020-10-30 12:06:02 +01:00
eboado
1954f609c2 Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 11:40:31 +01:00
emilio
a49f2744ee Updated comments 2020-10-30 11:38:49 +01:00
emilio
7ae9a2df8f Updated variable names 2020-10-30 11:36:53 +01:00
David Racero
e6d913d251 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth 2020-10-29 15:50:37 +01:00
Ernesto Boado
b7f47d160e Merge branch 'fix/99' into 'master'
Resolve "Set the isUsedAsCollateral flag on aToken transfers"

Closes #99

See merge request aave-tech/protocol-v2!107
2020-10-29 14:48:48 +00:00
eboado
913a6a9237 - Added batch of modes to flashLoan() 2020-10-29 15:14:28 +01:00
eboado
edfe17bd97 - Added batch to credit delegation 2020-10-29 14:36:01 +01:00
David Racero
c187440f84 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into fix/75-improve-migration-scripts 2020-10-29 14:11:00 +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
eboado
6cd18c4320 - Simplified getter of boolean fields on ReserveConfiguration.
- Added all 256 bits to masks on ReserveConfiguration for clarity.
2020-10-29 12:09:07 +01:00
emilio
2cf84f19ce removed console import 2020-10-29 12:03:26 +01:00
emilio
9e55ea12b6 Fixes #99 2020-10-29 11:57:43 +01:00
David Racero
b5a3903ca0 Merge changes 2020-10-28 18:47:35 +01:00
David Racero
a966d9f53f Added new StringLib library with concat to reuse function in deployment helpers. 2020-10-28 18:39:19 +01:00