Commit Graph

91 Commits

Author SHA1 Message Date
David Racero
5af23057fa Fix conflicts. 2020-09-14 15:53:34 +02:00
The3D
a64edb3011 Removed interest redirection leftovers 2020-09-14 11:13:53 +02:00
The3D
f3856bac12 Refactored variable names, reordered the ReserveData struct 2020-09-13 11:58:45 +02:00
The3D
0d9a18813f Added optimization on mint and burn 2020-09-12 13:18:17 +02:00
The3D
7383fc9786 Merge branch 'master' into fix/29 2020-09-11 16:47:47 +02:00
David Racero
53112c0982 Merge changes 2020-09-09 21:26:52 +02:00
eboado
4b3abac526 Merge branch 'master' into feat/26-repay-collateral 2020-09-09 21:12:36 +02:00
The3D
e3c422468d Updated comment 2020-09-08 13:48:33 +02:00
The3D
a7b6beef48 Initial refactor commit 2020-09-07 17:55:47 +02:00
eboado
819cc65abd Merge branch 'master' into feat/27-new-erc20 2020-09-04 17:10:32 +02:00
eboado
da734aa68a - Refactored ERC20 and adapted derived contracts. 2020-09-04 16:27:35 +02:00
The3D
58488158cd Refactored error messages 2020-09-04 12:48:29 +02:00
The3D
9aad57978d Merged master 2020-09-04 10:27:32 +02:00
eboado
2cbb1f5714 - Implemented repayWithCollateral() on LendingPoolLiquidationManager. 2020-09-03 15:46:45 +02:00
pol
07007fa933 Fixed sintax errors 2020-09-03 11:17:49 +02:00
pol
714c2ff3fd Refactored as per the PR comments 2020-09-03 10:33:15 +02:00
pol
288d8f2889 Added LendingPoolLiquidationManager error messages to error lib, and updated tests. 2020-09-02 18:53:39 +02:00
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
dbcd78a098 Updated require message errors with constant string numbers to reduce gas 2020-08-25 17:27:37 +02:00
David Racero
cf70929eee Merge and fix conflicts 2020-08-25 14:15:35 +02:00
andyk
b0ddb815b8 small lending pool gas optimization 2020-08-25 13:37:38 +03:00
The3D
03ec940109 Changed the indexes and rates type to uint128 2020-08-23 11:13:43 +02:00
The3D
4d054dd56d Optimized MathUtils, ReserveLogic 2020-08-22 13:01:41 +02:00
The3D
06fbe2d2a4 Removed SafeMath from WadRayMath, PercentageMath 2020-08-22 12:04:34 +02:00
The3D
796dc8ee3f Updated repay function 2020-08-21 19:10:48 +02:00
The3D
1864c7abf4 Updated libraries, renamed internal methods 2020-08-21 18:18:12 +02:00
David Racero
f9fddfba59 Fix conflicts 2020-08-21 17:19:25 +02:00
The3D
78cf1d5bfd Merge branch 'master' into fix/22 2020-08-21 16:00:51 +02:00
The3D
8fe40b4639 Initial update of ReserveLogic 2020-08-21 15:13:08 +02:00
The3D
86541b3fe5 Fixed GenericLogic 2020-08-21 14:58:30 +02:00
The3D
e948101f87 Fixed Helpers 2020-08-21 14:54:07 +02:00
The3D
b13e08cfde Fixed UserConfiguration 2020-08-21 14:52:10 +02:00
The3D
e39cf64183 Updated ReserveConfiguration 2020-08-21 14:50:28 +02: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
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
926d25dba8 Cleaned up validation logic 2020-08-19 16:57:49 +02:00
The3D
a419ca9014 Further cleaned up reserveLogic 2020-08-19 16:39:04 +02:00
The3D
b68bb992fb Cleaned up reserveLogic 2020-08-19 16:36:58 +02:00
The3D
576fd4ec55 Initial refactor 2020-08-18 21:19:11 +02:00
emilio
1d02b7f5e3 Initial commit 2020-08-12 19:36:58 +02:00
emilio
b5264a7c66 Removed rayPow 2020-08-11 12:32:34 +02:00
emilio
9b0b190019 Fixed compounded interest approximation 2020-08-11 10:11:35 +02:00
emilio
413b648b41 implementation 2020-08-11 09:36:46 +02:00
The3D
b387bcf845 Added upgradeability tests 2020-08-10 20:20:08 +02:00
emilio
fb5377a63e Gas optimization in getNormalizedIncome/getNormalizedDebt 2020-08-10 00:11:06 +02:00
emilio
1015a7ca13 Fixes comments 2020-08-06 19:49:41 +02:00