Commit Graph

145 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
12d17179d6 Renamed ChainlinkProxyPriceProvider to AaveOracle 2020-11-17 10:24:24 +01:00
David Racero
27365697ac Added mainnet check list. Remove deployed contracts. Update README.md 2020-11-16 19:22:22 +01:00
David Racero
4df4841767 Rename AaveProtocolTestHelpers to AaveProtocolDataProvider. Add task to deploy AaveProtocolDataProvider. 2020-11-10 15:19:47 +01:00
The3D
0c8efc2261 Added negative test on setUsageAsCollateral(), clearer require condition 2020-11-10 13:45:08 +01:00
David Racero
b5f2f283a2 Fix conflicts 2020-11-05 16:15:52 +01:00
emilio
42f7e07173 Merge branch 'master' into feat/refactor-delegation 2020-11-05 14:49:59 +01:00
David Racero
729b642ea5 Support Buidler to run solidity-coverage until is ported. 2020-11-05 14:43:17 +01:00
David Racero
21e57a1a37 Migrate buidler to hardhat 2020-11-05 12:18:20 +01:00
David Racero
8ab3bce12e Fixed conflicts 2020-11-05 09:20:50 +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
David Racero
7282f7678b Allow WETHGateway to be used by multiple pools. Remove logger. 2020-11-02 17:51:54 +01:00
David Racero
d22a6f629b Remove LEND config and fix tests to use AAVE conversion 100:1 2020-11-02 12:37:57 +01:00
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +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
David Racero
a9e7fa3516 Added WETHGateway tests 2020-10-29 15:50:32 +01:00
eboado
edfe17bd97 - Added batch to credit delegation 2020-10-29 14:36:01 +01:00
David Racero
744befc46c Added deposit test for WETHGateway 2020-10-29 12:44:21 +01:00
David Racero
0d87292867 Fix merge conflicts. Fix ETH to WETH symbol change 2020-10-28 15:49:50 +01:00
The-3D
b1fdd59c39 Merge branch 'feat/86-linear-interest-optimization' into 'master'
Fixes #86

Closes #86

See merge request aave-tech/protocol-v2!93
2020-10-27 12:02:32 +00:00
eboado
e88d9dc81b - Optimized calculateLinearInterest() on MathUtils. 2020-10-27 12:44:30 +01:00
emilio
1f8efbd4f5 Removed swapAdapter from the migration scripts 2020-10-27 11:08:11 +01:00
David Racero
1c7ce57b2b Aggregated deployments for initialization, atokens and debtTokens 2020-10-23 18:38:27 +02:00
David Racero
64df1eeb36 Removed mock swap 2020-10-22 18:27:23 +02:00
David Racero
60c93a4d73 Remove debug console.logs 2020-10-16 12:07:35 +02:00
David Racero
628f0de639 Merge branch 'feat/66' into 67-use-factory-functions 2020-10-16 11:50:51 +02: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
b4f8592775 Fixed #69 2020-10-15 17:57:54 +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
f0191909a2 Added more setUseReserveAsCollateral() scenarios tests 2020-09-25 11:51:35 +02:00
The3D
06d16c6abf Added initial test for the registry 2020-09-23 11:21:49 +02:00
The3D
12f1dbd0dc Readded calculateAvailableBorrowsETH 2020-09-21 22:08:44 +02:00
The3D
2e30bb8b85 Fixed error on rebalance conditions, changed style of internal functions 2020-09-21 21:15:12 +02:00
The3D
75579e5d28 Merge branch 'master' into fix/45 2020-09-21 20:19:28 +02:00
The3D
07db321b4d updated rebalance conditions,tests 2020-09-21 19:52:22 +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
8792515f5b fixed swap rate mode tests 2020-09-21 14:29:59 +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
13f6c264b3 Partially fixed repay tests 2020-09-17 19:05:22 +02:00
The3D
72e2102529 removed other console.log 2020-09-17 16:40:23 +02:00