Commit Graph

41 Commits

Author SHA1 Message Date
The3D
6398fe4260 Fix comments, tests 2020-10-23 18:41:08 +02:00
The3D
a2e2450bb3 Finalized implementation, fixed tests 2020-10-22 20:37:50 +02:00
The3D
e4dc67ec7a Updated test error messages 2020-10-15 17:20:22 +02:00
The3D
543c3f5c9c Merge branch 'master' into fix/62 2020-10-13 13:41:57 +02:00
The3D
aea61d57ab Fixed tests code 2020-10-12 20:07:17 +02:00
The3D
53d6114775 Merge branch 'master' into feat/18 2020-10-12 15:19:27 +02:00
eboado
273070fada Added return uint256 validation to flashLoan() 2020-10-07 16:20:32 +02:00
The3D
274b63713d Merge branch 'master' into fix/34 2020-09-16 16:34:29 +02:00
The3D
c6a3588792 Merge branch 'master' into fix/34 2020-09-15 15:33:09 +02:00
David Racero
6842978706 Merge and fix conflicts 2020-09-15 10:57:04 +02:00
The3D
b2ec4dd2fa Renamed totalBorrowsStable, totalBorrowsVariable 2020-09-14 15:13:30 +02:00
David Racero
202ddbdec4 Moved all pausable tests into their own Pausable test suite 2020-09-14 15:02:48 +02:00
David Racero
ad2581b0a0 Added pausable tests 2020-09-14 13:57:40 +02:00
eboado
7a8a0d6ac5 Merge branch 'master' into 30-collateral-swap 2020-09-14 08:58:37 +02:00
eboado
d3f9cd2191 Merge branch 'master' into 32-deposit-on-behalf-of 2020-09-10 21:40:26 +02:00
David Racero
53112c0982 Merge changes 2020-09-09 21:26:52 +02:00
andyk
9d7bf388a6 initial changes + test 2020-09-09 13:47:27 +03:00
andyk
212cf76f23 add base tests 2020-09-07 16:48:46 +03:00
eboado
819cc65abd Merge branch 'master' into feat/27-new-erc20 2020-09-04 17:10:32 +02:00
emilio
bb822035a8 Added further test on flashloan for stable rate borrowing 2020-09-03 18:14:39 +02:00
emilio
48438f59f5 Added a new test to check an invalid interest rate mode 2020-09-03 16:29:14 +02:00
emilio
1486cee774 Fixed tests on flashloan 2020-09-03 15:53:18 +02:00
emilio
db99b6eca6 Merge branch 'master' into fix/23 2020-09-03 15:41:36 +02:00
emilio
16fc0d4971 Updated flashloans 2020-09-03 15:17:46 +02:00
pol
714c2ff3fd Refactored as per the PR comments 2020-09-03 10:33:15 +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
eboado
e0c27fef3f - Moved index update on flashLoan() to before the executeOperation.
- Refactor to remove try..catch.
- Change on _executeBorrow() to not consider liquidityTaken when coming from flash loan.
2020-08-28 16:44:14 +02:00
eboado
5435620e41 - Added tests to cover flashLoan(). 2020-08-25 14:50:07 +02:00
eboado
75da6e0fba - Adapted flashLoan() for partial debt opening. 2020-08-25 12:55:05 +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
The3D
8a8c75c713 Fixed flashloan test 2020-08-20 12:21:42 +02: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
ffb3c9f39d Fixes flashloans tests 2020-08-14 19:05:31 +02:00
emilio
3c3e4d146a First refactor of the tests; replaced ETH with WETH in the configuration 2020-08-13 13:06:23 +02:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
The3D
abc0d3edb6 Fixed tests 2020-06-27 04:13:32 +02:00
The3D
02d943b235 Refactoring migration 2020-06-21 01:40:03 +02:00
eboado
0b17abc6eb - Finished migration of flashloan.spec.ts.
- Fixed issue with buidlerevm snapshotting.
2020-06-12 15:41:52 +02:00
eboado
82de55fdbf - Added mocha __setup script with snapshotting 2020-06-08 14:03:40 +02:00