David Racero
|
6cbcf39454
|
Fixed conflicts and merge changes
|
2020-09-15 17:24:50 +02:00 |
|
David Racero
|
aa834ee904
|
Added missing whenNotPaused to new functions. Changed IS_PAUSED error code to 58 to prevent error collision. Added new pausable tests.
|
2020-09-15 13:13:28 +02:00 |
|
David Racero
|
83bf3e5677
|
Trim PausablePool into LendingPool to save code size.
|
2020-09-15 11:56:08 +02:00 |
|
David Racero
|
6842978706
|
Merge and fix conflicts
|
2020-09-15 10:57:04 +02:00 |
|
eboado
|
59996e1ece
|
- Refactor validation of swapLiquidity() to ValidationLogic.
- Added extra check on active reserves on swapLiquidity().
|
2020-09-15 10:28:39 +02:00 |
|
eboado
|
8d391b9ab5
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-15 09:56:41 +02:00 |
|
eboado
|
fb15afda8e
|
Merge branch 'master' into fix/35-isActive-liquidations
|
2020-09-14 21:31:22 +02:00 |
|
eboado
|
c4904bc41c
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-14 21:06:16 +02:00 |
|
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
|
5af23057fa
|
Fix conflicts.
|
2020-09-14 15:53:34 +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 |
|
eboado
|
e2500d1532
|
- Refactored validation logic of liquidationCall() and repayWithCollateral() to ValidationLogic.
|
2020-09-14 10:52:31 +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 |
|
eboado
|
0911f907a8
|
Fixes #35
|
2020-09-13 10:08:14 +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 |
|
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 |
|