Commit Graph

86 Commits

Author SHA1 Message Date
The3D
5b38bb144b Updated borrow calculations on scenarios 2020-09-17 11:52:10 +02:00
The3D
7986a4704b Fixed mintToTreasury function 2020-09-17 10:53:55 +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
f428f69ebd Merge branch 'master' into fix/34 2020-09-15 09:34:00 +02:00
eboado
c4904bc41c Merge branch 'master' into 30-collateral-swap 2020-09-14 21:06:16 +02:00
The3D
d0d1db5e4d Initial fix of the borrow tests 2020-09-14 20:04:49 +02:00
David Racero
59bfdc39f2 Fix conflicts 2020-09-14 19:59:00 +02:00
The3D
d542f098c1 fixed deposit, withdraw tests 2020-09-14 19:25:45 +02:00
eboado
a87dae445f Merge branch 'master' into 33-add-native-credit-delegation 2020-09-14 17:24:55 +02:00
eboado
6d96be5f42 - Added extra natspecs 2020-09-14 17:18:57 +02:00
The3D
b2ec4dd2fa Renamed totalBorrowsStable, totalBorrowsVariable 2020-09-14 15:13:30 +02:00
The3D
bb4e1b5c4b Fixed errors 2020-09-14 15:09:16 +02:00
andyk
d135c25b39 add borrowRateMode check on credit delegation 2020-09-14 15:41:44 +03:00
andyk
c0c3133763 makecredit delegation per debt token 2020-09-14 13:52:05 +03:00
The3D
d1ffac6380 Merge branch 'master' into fix/34 2020-09-14 11:33:34 +02:00
The3D
a64edb3011 Removed interest redirection leftovers 2020-09-14 11:13:53 +02:00
The3D
dbf1a0b9e7 Merge branch 'master' into fix/34 2020-09-14 09:22:39 +02:00
eboado
7a8a0d6ac5 Merge branch 'master' into 30-collateral-swap 2020-09-14 08:58:37 +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
eboado
d3f9cd2191 Merge branch 'master' into 32-deposit-on-behalf-of 2020-09-10 21:40:26 +02:00
The3D
de8ae523c8 Fixed total supply, tests 2020-09-10 13:05:02 +02:00
David Racero
53112c0982 Merge changes 2020-09-09 21:26:52 +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
andyk
3173bee782 initial implementation of the credit delegation + basic tests 2020-09-09 15:33:05 +03:00
The3D
223690f5f1 Fixed test on transfer, updated interest redirection tests 2020-09-09 14:15:38 +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
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
03767e003f Fixes deposits tests 2020-09-08 13:45:24 +02:00
andyk
4912f3bb73 update tests calculation logic on swap 2020-09-08 13:08:16 +03:00
The3D
9aad57978d Merged master 2020-09-04 10:27:32 +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
The3D
2d769f4480 Fixes #19 2020-08-20 17:09:23 +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
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
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