Commit Graph

303 Commits

Author SHA1 Message Date
eboado
0bca8c6519 Merge branch 'master' into feat/153-improve-docs 2020-11-23 11:15:31 +01:00
eboado
f98335cb68 - Improved docs on LendingPool and interface 2020-11-23 10:58:04 +01:00
The3D
f1778b88d4 Removed the ^ on solidity version 2020-11-20 11:45:20 +01:00
The3D
8c03180f89 Updated solidity version 2020-11-20 11:41:58 +01:00
The3D
3f5822f5f6 Updated DefaultInterestRateStrategy 2020-11-19 17:17:11 +01:00
eboado
0c6ec03cec - Reviewed comments on DefaultReserveInterestRateStrategy and interface. 2020-11-19 14:48:15 +01:00
eboado
94ce7c649f - Fixed innacuracy on borrow() comments. 2020-11-19 10:46:10 +01:00
The3D
b66253bfe9 Removed separate setters 2020-11-13 15:48:38 +01:00
eboado
982fb46336 - Reorder on LiquidationCallLocalVars for better packing. 2020-11-12 10:16:10 +01:00
eboado
996c16237c - Changed CONFIGURATOR_REVISION visibility to internal 2020-11-12 09:48:03 +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
The3D
80997ea965 Added checks on liquidationBonus 2020-11-10 18:16:27 +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
The-3D
ec600e56e7 Merge branch 'fix/131' into 'master'
Resolve "Change _reservesCount++; with _reservesCount=reservesCount+1; in addToReservesList()"

Closes #131

See merge request aave-tech/protocol-v2!149
2020-11-10 16:41:13 +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
92e2ecab51 Added more detailed comments on configureReserveAsCollateral 2020-11-10 16:57:35 +01:00
Ernesto Boado
690d876047 Merge branch 'fix/126' into 'master'
Resolve "Add check on reserve active for rebalanceBorrowRate and withdraw"

Closes #126

See merge request aave-tech/protocol-v2!145
2020-11-10 15:45:14 +00:00
The3D
a3ee5d2ce6 Added tracking of the usage as collateral to the liquidationCall 2020-11-10 16:18:31 +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
Ernesto Boado
ce62734786 Merge branch '122-remove-setreservedecimals-from-lendingpoolconfiguration' into 'master'
Resolve "Remove setReserveDecimals() from lendingPoolConfigurator"

Closes #122

See merge request aave-tech/protocol-v2!140
2020-11-10 13:03:48 +00:00
The3D
bfa26634a6 Removed setDecimals 2020-11-10 13:47:31 +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
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
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
eboado
5d25b362ca - Removed unused _flashLiquidationLocked from LendingPoolStorage. 2020-11-01 08:53:33 +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
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