Commit Graph

65 Commits

Author SHA1 Message Date
andyk
2a6248c6d2 misc renaming 2020-09-16 15:09:42 +03:00
andyk
66113d64a2 rename LendingPoolLiquidationManager -> LendingPoolCollateralManager 2020-09-16 13:41:12 +03: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
59bfdc39f2 Fix conflicts 2020-09-14 19:59:00 +02:00
David Racero
64066a14ec Rename IS_ACTIVE to NOT_PAUSED error. 2020-09-14 16:09:57 +02:00
eboado
c531b87703 Merge branch 'master' into feat/36-permit-atoken 2020-09-14 16:02:53 +02:00
eboado
748312cf20 - Added permit() to aToken. 2020-09-14 15:57:11 +02:00
David Racero
6e0091a668 Added PausablePool contract to support errors by number. 2020-09-14 15:24:30 +02:00
David Racero
ad2581b0a0 Added pausable tests 2020-09-14 13:57:40 +02:00
The3D
a64edb3011 Removed interest redirection leftovers 2020-09-14 11:13:53 +02:00
David Racero
53112c0982 Merge changes 2020-09-09 21:26:52 +02:00
David Racero
113c481512 Fixed coverage random failing tests. Added coverage network and minimal config. 2020-09-09 21:24:20 +02:00
eboado
4b3abac526 Merge branch 'master' into feat/26-repay-collateral 2020-09-09 21:12:36 +02:00
eboado
3aa0dbc570 - Added tests of repayWithCollateral(), only for self-liquidation. 2020-09-08 15:05:53 +02:00
eboado
819cc65abd Merge branch 'master' into feat/27-new-erc20 2020-09-04 17:10:32 +02:00
emilio
48438f59f5 Added a new test to check an invalid interest rate mode 2020-09-03 16:29:14 +02:00
emilio
db99b6eca6 Merge branch 'master' into fix/23 2020-09-03 15:41:36 +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
5b5f8ae74a cleaned comments 2020-09-02 18:18:17 +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
The3D
928770d9d5 Updated flashloans V2 2020-08-24 01:22:14 +02:00
The3D
d833157cf4 Updated flashloans to transferFrom the receiver instead of checking that the funds where sent back 2020-08-23 18:38:34 +02:00
andyk
1a2bfcbf45 remove FeeProvider setters and getters 2020-08-19 19:06:32 +03:00
andyk
d60f7b6272 removal of TokenDistributor, FeeProvider and FlashLoanVars 2020-08-19 18:56:51 +03:00
andyk
d141d090e4 migrate to ethers v5 2020-08-19 15:23:41 +03:00
emilio
7b51fde8e7 Added tests for debt tokens upgradeability 2020-08-18 12:16:48 +02:00
emilio
3247fb8784 Added mock debt tokens for test 2020-08-18 11:39:34 +02:00
emilio
674b885b31 Updated initReserve() with proxies 2020-08-17 21:28:50 +02:00
emilio
3c3e4d146a First refactor of the tests; replaced ETH with WETH in the configuration 2020-08-13 13:06:23 +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
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
cf3f68653f Updated setup script 2020-08-07 19:29:13 +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
The3D
692cc87f62 Updated PercentageMath to support two decimals of precision 2020-07-27 16:14:21 +02:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
emilio
a3326fc86d Updated LendingPool to add a method to retrieve debt tokens 2020-07-09 16:27:19 +02:00
emilio
8f86b44076 Removed CoreLibrary 2020-07-09 00:16:05 +02:00
andyk
7690b22e8e repo cleanup -1 2020-07-03 12:15:30 +03:00
The3D
a784e42b78 Initial commit 2020-06-30 14:09:28 +02:00
The3D
abc0d3edb6 Fixed tests 2020-06-27 04:13:32 +02:00
The3D
51fee50e50 Fixed setup 2020-06-26 14:34:44 +02:00
The3D
9a92cb08f7 Fixed validation logic artifact 2020-06-26 00:39:28 +02:00
The3D
02d943b235 Refactoring migration 2020-06-21 01:40:03 +02:00