Commit Graph

235 Commits

Author SHA1 Message Date
emilio
69c3d5b9b7 Adds Emergency admin 2020-11-05 12:35:50 +01:00
The3D
54bae079c9 Renamed error 2020-11-03 12:15:37 +01:00
The3D
3570fc7803 Added delegation capabilities to the aToken 2020-11-02 12:54:56 +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
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
a966d9f53f Added new StringLib library with concat to reuse function in deployment helpers. 2020-10-28 18:39:19 +01:00
The-3D
251bd591f5 Merge branch 'fix/88-validations-configs' into 'master'
Fixes #88

Closes #88

See merge request aave-tech/protocol-v2!101
2020-10-28 14:55:04 +00:00
David Racero
0d87292867 Fix merge conflicts. Fix ETH to WETH symbol change 2020-10-28 15:49:50 +01:00
emilio
e91e3595d6 Updated PercentageMath 2020-10-28 12:39:11 +01:00
eboado
3f714b9dc8 - Fixed non-initialized availableLiquidity on validateBorrow() 2020-10-28 11:48:55 +01:00
emilio
064af06385 updated percentageMath 2020-10-28 11:47:01 +01:00
eboado
6be8b1c5fd - Added validations on ReserveConfiguration's numeric setters. 2020-10-28 10:54:09 +01:00
emilio
a2d068a817 Merge branch 'master' into fix/87 2020-10-27 22:12:23 +01:00
emilio
1cd7f2d5a0 Fixed error on variable naming 2020-10-27 17:49:35 +01:00
emilio
276dee4918 Fixes#87 2020-10-27 17:22:51 +01:00
emilio
28a6323763 fixed condition, local variable name 2020-10-27 16:57:05 +01:00
The-3D
b1fdd59c39 Merge branch 'feat/86-linear-interest-optimization' into 'master'
Fixes #86

Closes #86

See merge request aave-tech/protocol-v2!93
2020-10-27 12:02:32 +00:00
eboado
e88d9dc81b - Optimized calculateLinearInterest() on MathUtils. 2020-10-27 12:44:30 +01:00
eboado
0a6b1caad0 - Added comment to SECONDS_PER_YEAR constant 2020-10-27 10:44:37 +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
The3D
9c283fb4cb Fixed PVE014 2020-10-26 12:14:33 +01:00
The3D
4e1a8c29bd Fixed wad functions in WadRayMath 2020-10-23 16:52:22 +02:00
The3D
86d25393e9 Add small optimization in _mintToTreasury 2020-10-23 13:09:19 +02:00
The3D
dadebe9d2c Updated optimization 2020-10-23 10:57:22 +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
The3D
af99c88b70 Added error constant 2020-10-22 19:20:19 +02:00
The3D
d4abc12349 Updated wadDiv 2020-10-22 19:06:37 +02:00
The3D
d05a2d1c4f Rolled back PVE002, added further optimization 2020-10-22 18:59:15 +02:00