Commit Graph

98 Commits

Author SHA1 Message Date
David Racero
59bfdc39f2 Fix conflicts 2020-09-14 19:59:00 +02:00
eboado
a87dae445f Merge branch 'master' into 33-add-native-credit-delegation 2020-09-14 17:24:55 +02:00
andyk
9d757aaa37 fix docustring 2020-09-14 17:57:59 +03:00
David Racero
64066a14ec Rename IS_ACTIVE to NOT_PAUSED error. 2020-09-14 16:09:57 +02:00
David Racero
6e0091a668 Added PausablePool contract to support errors by number. 2020-09-14 15:24:30 +02:00
andyk
35bff4bea2 add comment for getDebtTokenAddress function 2020-09-14 15:50:46 +03:00
andyk
d135c25b39 add borrowRateMode check on credit delegation 2020-09-14 15:41:44 +03:00
The3D
a64edb3011 Removed interest redirection leftovers 2020-09-14 11:13:53 +02:00
David Racero
1fbe84df49 Remove unused parameter to allow compilation without optimization for coverage. 2020-09-14 10:46:57 +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
eboado
f355ae219f Merge branch 'master' into 33-add-native-credit-delegation 2020-09-11 11:25:42 +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
andyk
3173bee782 initial implementation of the credit delegation + basic tests 2020-09-09 15:33:05 +03: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
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
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