Commit Graph

61 Commits

Author SHA1 Message Date
David Racero
53d92ccfe4 Added permit domain check test. Update typechain and typescript to support new ethers 5 generated typings. Updated ethers to support _TypedDataEncoder for domain hash. 2020-11-18 19:18:02 +01:00
David Racero
b5f2f283a2 Fix conflicts 2020-11-05 16:15:52 +01:00
David Racero
729b642ea5 Support Buidler to run solidity-coverage until is ported. 2020-11-05 14:43:17 +01:00
emilio
add6cad5c3 Fixed scenarios, tests, removed console.log 2020-11-04 11:12:26 +01:00
The3D
4e4fbe6539 Refactoring of credit delegation 2020-11-03 19:47:57 +01:00
eboado
cba766d282 Merge branch 'master' into feat/102-batch-delegation-allowance 2020-10-30 16:04:31 +01:00
eboado
b2bbe62822 - Added to to withdraw() 2020-10-30 12:38:41 +01:00
eboado
edfe17bd97 - Added batch to credit delegation 2020-10-29 14:36:01 +01:00
David Racero
e0627ce66b Added correct library placheholder hashes. Fix imports. 2020-10-16 11:27:09 +02:00
David Racero
03504849f1 Deployment function optimizations WIP 2020-10-15 19:19:02 +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
d150458604 Merge branch 'master' into feat/18 2020-10-08 15:41:48 +02:00
The3D
8ed9b88163 fixed last tests on repayWithCollateral 2020-09-21 16:07:26 +02:00
The3D
56be9304c2 Fixed rebalance rate tests 2020-09-21 15:52:53 +02:00
The3D
6f9ff11e49 Fixed credit delegation tests 2020-09-21 15:35:22 +02:00
The3D
a1a45d392a Updating rebalance rate tests 2020-09-21 15:27:53 +02:00
The3D
c8b044aecf Fixed borrow tests 2020-09-21 12:29:33 +02:00
The3D
52033bae21 Added console logs 2020-09-18 18:03:38 +02:00
The3D
5868a4844f Updated testsW 2020-09-18 17:56:33 +02:00
The3D
72e2102529 removed other console.log 2020-09-17 16:40:23 +02:00
The3D
bfe0657b1a Updated code to fix deposit and withdraw tests 2020-09-17 16:37:51 +02:00
David Racero
6cbcf39454 Fixed conflicts and merge changes 2020-09-15 17:24:50 +02:00
David Racero
6842978706 Merge and fix conflicts 2020-09-15 10:57:04 +02:00
eboado
c4904bc41c Merge branch 'master' into 30-collateral-swap 2020-09-14 21:06:16 +02:00
David Racero
59bfdc39f2 Fix conflicts 2020-09-14 19:59:00 +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
David Racero
5af23057fa Fix conflicts. 2020-09-14 15:53:34 +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
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
a67c56c09f Removed interest redirection, fixed tests 2020-09-09 21:16:39 +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
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
eboado
3aa0dbc570 - Added tests of repayWithCollateral(), only for self-liquidation. 2020-09-08 15:05:53 +02:00
andyk
4912f3bb73 update tests calculation logic on swap 2020-09-08 13:08:16 +03:00
David Racero
9de0fe2bc3 Fix conflicts. Stable config implementation. Migrate from constants to configuration files per pool. Skip script loads while compilation. 2020-08-25 17:15:27 +02:00
andyk
94d8f38597 refactoring tokenization folder to fit current guideline, small gas optimizations 2020-08-21 13:38:08 +03: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
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