Commit Graph

123 Commits

Author SHA1 Message Date
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
d3f9cd2191 Merge branch 'master' into 32-deposit-on-behalf-of 2020-09-10 21:40:26 +02:00
David Racero
831bc3d0eb Added tests to check repay with collateral when is disabled 2020-09-10 13:05:26 +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
The3D
a67c56c09f Removed interest redirection, fixed tests 2020-09-09 21:16:39 +02:00
eboado
4b3abac526 Merge branch 'master' into feat/26-repay-collateral 2020-09-09 21:12:36 +02:00
The3D
a3934152fe updated interest redirection 2020-09-09 19:43:41 +02:00
The3D
0f06c3b72e updated interest redirection tests 2020-09-09 17:20:36 +02:00
David Racero
23b7226a73 Fix bignumber global test config 2020-09-09 16:35:49 +02:00
David Racero
398335124f Added collateral test to flash liquidation 2020-09-09 15:43:02 +02:00
David Racero
2b930e4cd7 Merge branch 'feat/26-repay-collateral' of gitlab.com:aave-tech/protocol-v2 into feat/26-repay-collateral 2020-09-09 14:47:56 +02:00
David Racero
f1bd569346 Added reentrancy test and full amount flash liquidation test 2020-09-09 14:47:33 +02:00
eboado
75c5c7c615 - Added test for user's usage as collateral on repayWithCollateral(). 2020-09-09 14:22:35 +02:00
The3D
223690f5f1 Fixed test on transfer, updated interest redirection tests 2020-09-09 14:15:38 +02:00
eboado
91e064eb31 Merge branch 'feat/26-repay-collateral' of gitlab.com:aave-tech/protocol-v2 into feat/26-repay-collateral 2020-09-09 13:07:10 +02:00
eboado
37a9c7ad88 - Added reentrancy guard on repayWithCollateral() and test. 2020-09-09 13:06:46 +02:00
andyk
9d7bf388a6 initial changes + test 2020-09-09 13:47:27 +03:00
The3D
b0084aaf33 Fixes borrow, repay, swap rate mode, rebalance tests 2020-09-09 11:43:11 +02:00
The3D
6454f040e8 Fixed withdrawal tests 2020-09-09 10:44:34 +02:00
The3D
90de5d2b0f Fixed transfer tests 2020-09-09 10:03:19 +02:00
David Racero
863d888be6 Added flash-liquidation tests, mimics self-liquidation tests 2020-09-08 20:06:28 +02:00
eboado
56ddeceb94 - Added extra test of repayWithCollateral() on self-liquidation. 2020-09-08 16:25:16 +02:00
The3D
2e8f6ee02c Updating withdrawal tests 2020-09-08 16:14:32 +02:00
eboado
3aa0dbc570 - Added tests of repayWithCollateral(), only for self-liquidation. 2020-09-08 15:05:53 +02:00
The3D
e3c422468d Updated comment 2020-09-08 13:48:33 +02:00
The3D
03767e003f Fixes deposits tests 2020-09-08 13:45:24 +02:00
eboado
819cc65abd Merge branch 'master' into feat/27-new-erc20 2020-09-04 17:10:32 +02:00
The3D
9aad57978d Merged master 2020-09-04 10:27:32 +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
The3D
dfe865fc76 Removed unused code in tests 2020-08-24 01:46:15 +02:00
The3D
b2d8a9e053 Removed ETH specific logic in tests 2020-08-24 01:41:10 +02:00
The3D
4d054dd56d Optimized MathUtils, ReserveLogic 2020-08-22 13:01:41 +02:00
andyk
94d8f38597 refactoring tokenization folder to fit current guideline, small gas optimizations 2020-08-21 13:38:08 +03:00
andyk
d2848105f7 fix liquidation test 2020-08-21 10:33:06 +03:00
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