Commit Graph

88 Commits

Author SHA1 Message Date
pol
76b4fc6b2d All tests working. WIP look at old error messages to remove them all 2020-09-02 17:54:34 +02:00
pol
6122826ef4 fixed getting error codes from error lib 2020-09-02 16:34:15 +02:00
pol
7b4812c956 Moved error messages to error lib 2020-09-02 15:48:38 +02:00
pol
0f5017cc81 Updated require message errors with constant string numbers to reduce gas 2020-08-25 15:51:52 +02:00
pol
abe967c707 Updated require message errors with constant string numbers to reduce gas 2020-08-25 15:32:22 +02:00
andyk
b0ddb815b8 small lending pool gas optimization 2020-08-25 13:37:38 +03:00
Ernesto Boado
eba3b5260f Merge branch 'fix/interest-strategy-styliguide' into 'master'
Refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide

See merge request aave-tech/protocol-v2!32
2020-08-25 09:11:58 +00:00
andyk
4b00cde616 fixes in lendingpool folder to follow our styleguide 2020-08-25 11:53:58 +03:00
andyk
da5b6738c1 refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide 2020-08-24 15:35:59 +03:00
The3D
796dc8ee3f Updated repay function 2020-08-21 19:10:48 +02:00
The3D
9a4ccde6a2 Removed obsolete code 2020-08-21 19:00:08 +02:00
The3D
955d2be1da Merge branch 'master' into fix/22 2020-08-21 18:48:16 +02:00
The3D
1864c7abf4 Updated libraries, renamed internal methods 2020-08-21 18:18:12 +02:00
andyk
13f4d34867 refactoring flashloan folder to fit current guideline, move events to interfaces 2020-08-21 17:03:01 +03:00
The3D
78cf1d5bfd Merge branch 'master' into fix/22 2020-08-21 16:00:51 +02:00
Andrey Ko
c340b9972f Merge branch 'master' into 'fix/21'
# Conflicts:
#   contracts/lendingpool/LendingPool.sol
2020-08-21 13:20:41 +00:00
The3D
b7fa1bcac8 Merge branch 'master' into fix/22 2020-08-21 15:14:43 +02:00
The3D
8fe40b4639 Initial update of ReserveLogic 2020-08-21 15:13:08 +02:00
The3D
1dd2a638ca Updated LiquidationManager 2020-08-21 14:14:13 +02:00
The3D
38bff60298 Updated comments 2020-08-21 14:05:14 +02:00
The3D
b4b9ff604a Cleaned up configurator, LendingPooL 2020-08-21 14:03:17 +02:00
The3D
05fac16063 Cleanup LendingPool 2020-08-21 13:15:29 +02:00
andyk
94d8f38597 refactoring tokenization folder to fit current guideline, small gas optimizations 2020-08-21 13:38:08 +03:00
The3D
b93937f4fd Fixed DefaultReserveInterestRateStrategy 2020-08-21 11:21:50 +02:00
andyk
57fb45e380 remove named return in calculateAvailableCollateralToLiquidate 2020-08-20 16:31:52 +03:00
The-3D
7c3d5e0239 Merge branch 'feat/remove-payable' into 'master'
Remove payable

See merge request aave-tech/protocol-v2!20
2020-08-20 13:29:31 +00:00
andyk
26115b4601 RepayLocalVars removal 2020-08-20 16:12:19 +03:00
andyk
a6e78856a0 remove using WadRayMath and SafeMath duplication 2020-08-20 16:01:54 +03:00
andyk
3a24d4e434 remove unused Address lib imports 2020-08-20 15:35:51 +03:00
andyk
39984383c6 remove payable, add IAToken and ILendingPool 2020-08-20 15:32:20 +03:00
The3D
028d859a54 Merge branch 'master' into feat/token-distributor-removal 2020-08-20 11:32:26 +02:00
The3D
a437512ae9 Removed origination fee event, variables 2020-08-20 09:56:43 +02:00
The3D
76fcb20b44 Code cleanup 2020-08-20 09:51:21 +02:00
andyk
d60f7b6272 removal of TokenDistributor, FeeProvider and FlashLoanVars 2020-08-19 18:56:51 +03:00
The3D
90b2625bc0 Refactored tests, burn and mint function 2020-08-19 12:56:39 +02:00
The3D
576fd4ec55 Initial refactor 2020-08-18 21:19:11 +02:00
The3D
dd008ae226 Refactored code 2020-08-18 18:48:23 +02:00
emilio
4a4073f1a9 Added function to update stable/variable debt tokens 2020-08-18 02:16:46 +02:00
emilio
674b885b31 Updated initReserve() with proxies 2020-08-17 21:28:50 +02:00
emilio
1d02b7f5e3 Initial commit 2020-08-12 19:36:58 +02:00
emilio
7bb6f2fef2 Space 2020-08-11 09:23:57 +02:00
emilio
b3bf8d66a2 Updated initReserve() parameter 2020-08-11 09:20:47 +02:00
The3D
b387bcf845 Added upgradeability tests 2020-08-10 20:20:08 +02:00
The3D
734d125cd7 added function to update the aToken instance 2020-08-10 15:29:18 +02:00
emilio
fb5377a63e Gas optimization in getNormalizedIncome/getNormalizedDebt 2020-08-10 00:11:06 +02:00
emilio
49bca9febb Optimized aToken - turned pool and underlying asset address into immutables 2020-08-08 19:21:23 +02:00
emilio
50bb9d39b0 Merge branch 'master' into feat/10 2020-08-07 19:32:34 +02:00
emilio
a0bf692373 Initial commit 2020-08-07 18:23:52 +02:00
emilio
f9115b7030 refactored UserLogic 2020-08-06 09:52:15 +02:00
emilio
8df5182c59 Fixed bugs in user configuration 2020-08-06 00:46:22 +02:00