Commit Graph

82 Commits

Author SHA1 Message Date
The3D
2d769f4480 Fixes #19 2020-08-20 17:09:23 +02:00
andyk
39984383c6 remove payable, add IAToken and ILendingPool 2020-08-20 15:32:20 +03:00
The3D
8a8c75c713 Fixed flashloan test 2020-08-20 12:21:42 +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
The3D
5b33ea65d1 Initial fix 2020-08-19 16:10:08 +02:00
andyk
d141d090e4 migrate to ethers v5 2020-08-19 15:23:41 +03:00
The3D
90b2625bc0 Refactored tests, burn and mint function 2020-08-19 12:56:39 +02: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
d7656839fa Fixes remaining tests 2020-08-17 13:48:23 +02:00
emilio
142cec24e7 fixed usage as collateral tests 2020-08-17 11:59:38 +02:00
emilio
ffb3c9f39d Fixes flashloans tests 2020-08-14 19:05:31 +02:00
emilio
fbc6205479 Fixes liquidation/transfer tests 2020-08-13 19:25:29 +02:00
emilio
db17958737 Fixes the borrow-repay-variable scenario 2020-08-13 16:58:06 +02:00
emilio
85f6feba89 Further fix 2020-08-13 16:15:34 +02:00
emilio
991fba36c3 Fixes borrow-repay-stable scenario 2020-08-13 16:15:02 +02:00
emilio
8af0e9fd11 Fixed borrow negatives 2020-08-13 15:46:31 +02:00
emilio
78023ae5c3 Fixed redeem negatives 2020-08-13 15:37:11 +02:00
emilio
f149d9e56a Fixed redeem scenarios 2020-08-13 14:58:44 +02:00
emilio
547c95dc1a Updated deposit scenarios 2020-08-13 14:32:41 +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
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
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
emilio
1eb2d11a3d initial commit 2020-08-05 12:40:24 +02:00
emilio
c86884ef28 Fixes tests on liquidation 2020-08-02 18:36:04 +02:00
The3D
692cc87f62 Updated PercentageMath to support two decimals of precision 2020-07-27 16:14:21 +02:00
The3D
6752203c5c Fixed scenario test 2020-07-27 10:00:26 +02:00
The3D
fa60f03d8d Updated parameters mapping 2020-07-23 17:18:06 +02:00
The3D
4d2406a5e1 Fixed liquidation tests 2020-07-15 16:49:56 +02:00
The3D
2add014fe5 Fixes issue on LiquidationManager 2020-07-15 16:44:20 +02:00
The-3D
7b66a05c5d Merge branch 'feat/funds-allocation' into 'master'
Feat/funds allocation

Closes #6

See merge request aave-tech/protocol-v2!4
2020-07-15 12:11:18 +00:00
The3D
92f2f2a9b3 Fixes aToken bug 2020-07-14 14:43:43 +02:00
The3D
40e3cd4f31 added tests for transferUnderlyingTo 2020-07-13 16:43:26 +02:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
emilio
853f3118dc removed unused library, console.log 2020-07-09 17:02:16 +02:00
emilio
529115dd98 added stable and variable debt tokens tests 2020-07-09 16:46:49 +02:00
emilio
a3326fc86d Updated LendingPool to add a method to retrieve debt tokens 2020-07-09 16:27:19 +02:00
emilio
77be1963d1 added comments, cleaned up variable debt token, base debt token 2020-07-09 11:59:49 +02:00
emilio
7813e8cec0 Added natspec comments to stable debt token, cleaned up stable debt token code 2020-07-09 11:23:30 +02:00
The3D
f1743a5eac Fixed liquidation tests 2020-07-08 17:26:50 +02:00
The3D
6b2764f760 Renamed debt fetching function, updated liquidationManager 2020-07-07 17:14:44 +02:00
The3D
5b840dd577 Fixed interest redirection tests 2020-07-07 14:04:38 +02:00