Commit Graph

162 Commits

Author SHA1 Message Date
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00
The-3D
57ee9e0a7c Merge branch '181-check-configuration-and-scripts' into 'master'
Resolve "Check configuration and scripts"

Closes #181

See merge request aave-tech/protocol-v2!204
2020-11-30 20:42:50 +00:00
David Racero
ac63cfaf05 Minor changes to deploy scripts. Fix token verify errors. Added new task for print providers config. 2020-11-30 19:25:06 +01:00
The3D
3b5344388d Fixed failing test after updating the latest risk parameters 2020-11-30 18:14:21 +01:00
The3D
59d5c3a6a9 Fixed configuration parameters 2020-11-30 12:49:31 +01:00
Andrey Ko
a32d1ce404 Merge branch 'feat/uniswap-adapter-flashloan' into '178-add-uniswap-adapters'
Add Uniswap adapter for liquidity swap and repay with collateral using flashloan

See merge request aave-tech/protocol-v2!106
2020-11-30 10:21:46 +00:00
The3D
c9875f0a8f Handled reserveFactor in the scenario tests 2020-11-28 13:28:50 +01:00
The3D
584a567635 Updated flashloan updateInterestRates 2020-11-23 18:44:13 +01:00
Gerardo Nardelli
9478381992 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-helpers.ts
#	test/helpers/make-suite.ts
2020-11-19 09:32:52 -03:00
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
Gerardo Nardelli
092f9c983b Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-getters.ts
2020-11-17 13:21:41 -03: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
Gerardo Nardelli
a7115f019e Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-getters.ts
#	helpers/types.ts
2020-11-10 11:40:25 -03: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
Gerardo Nardelli
3f779e2e9f Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-deployments.ts
#	helpers/types.ts
#	test/__setup.spec.ts
#	test/helpers/make-suite.ts
2020-11-06 14:26:31 -03: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
Gerardo Nardelli
e7183536b3 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-deployments.ts
#	helpers/contracts-getters.ts
2020-10-30 17:01:39 -03:00
Gerardo Nardelli
8278d2e6d8 Merge branch 'master' into feat/uniswap-adapter-flashloan 2020-10-30 12:09:29 -03: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
Gerardo Nardelli
17095c3ae1 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-helpers.ts
#	helpers/types.ts
#	test/__setup.spec.ts
#	test/helpers/make-suite.ts
2020-10-29 16:49:25 -03: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
Gerardo Nardelli
723e3f82a6 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-helpers.ts
#	test/__setup.spec.ts
#	test/helpers/make-suite.ts
2020-10-27 09:26:43 -03:00
Gerardo Nardelli
a05b75b467 Add uniswap adapters unit tests 2020-10-27 09:18:30 -03: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