Commit Graph

160 Commits

Author SHA1 Message Date
Hadrien Charlanes
06d75ac7c7 Cleaned up config 2021-02-22 18:08:17 +01:00
Hadrien Charlanes
da2ade5d3b Added Weth gateway contract in config, updated deployment 2021-02-22 17:25:12 +01:00
Zer0dot
b3e14bc033 Fixed MATIC WETHGateway adaptation, uses wMATIC 2021-02-21 20:05:11 -05:00
Zer0dot
ec4df02f84 Fixed tests, moved MOCK_CHAINLING_AGGREGATORS_PRICES to constants.ts 2021-02-21 18:55:27 -05:00
Zer0dot
379761b56f Testing mumbai network deployment, Oracles fail 2021-02-19 18:50:24 -05:00
Zer0dot
016cdacc5f Added MATIC token to types 2021-02-19 17:38:54 -05:00
Zer0dot
71c5d7b080 Merge branch 'feat/lp-market-updated-deployment' into feat/l2-markets 2021-02-19 16:44:41 -05:00
Zer0dot
6d0daf033d Began adaptation to new networks 2021-02-19 16:44:27 -05:00
Zer0dot
5965ef09d4 Fixed names & added prefixes 2021-02-19 15:50:06 -05:00
Zer0dot
f196a3be7a Added Balancer WBTCWETH. Renamed tokens to show underlying AMM. 2021-02-15 22:50:16 -05:00
Zer0dot
283cf2ce97 Added re-using collateral manager functionality 2021-02-11 22:54:04 -05:00
Zer0dot
fda95dd318 Added optimized deployment functionality 2021-02-10 18:23:05 -05:00
Zer0dot
4b39c42169 Unoptimized but functional light deployment 2021-02-10 13:52:51 -05:00
Zer0dot
0bf9810158 Replaced "Uni" prefix with "Lp" for tokens 2021-02-08 11:24:01 -05:00
Zer0dot
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
Zer0dot
073b30d8c9 Added assets & fixed test 2021-01-20 21:44:19 -05:00
Zer0dot
97a6179703 Added all UNI-V2 pairs and configs 2021-01-19 20:58:21 -05:00
root
a9aff29b77 Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support. 2021-01-15 15:48:54 +00:00
Zer0dot
ccb6e36760 Slight cleanup 2021-01-14 18:56:18 -05:00
Zer0dot
917f632980 Added unique prefix functionality 2021-01-13 01:05:44 -05:00
Zer0dot
0472cc27f2 Cleanup (Removed unneeded dev deployment) 2021-01-10 20:40:23 -05:00
Zer0dot
4637476bbd Removed UNI prefix, cleaned up 2020-12-30 01:04:06 -05:00
Zer0dot
57986b76a8 Testing 2020-12-25 00:47:30 -05:00
Zer0dot
9e001ec0b6 Initial testing 2020-12-22 18:48:02 -05:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01: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
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
7892587f1b Updated migration scripts to add the reserve factor configuration 2020-11-28 12:54:54 +01:00
The3D
c7a0ca5fb0 Added reservefactor to the commons configuration 2020-11-27 11:18:04 +01:00
David Racero
43712d8a2b Support marketId argument 2020-11-26 16:11:40 +01:00
Gerardo Nardelli
71ea58f758 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	test/__setup.spec.ts
2020-11-25 10:46:01 -03:00
David Racero
4034c75536 Support custom aToken deployments 2020-11-20 12:11:57 +01:00
The3D
d5f0e9ebf9 Updated migration scripts 2020-11-19 18:11:53 +01:00
The3D
3f5822f5f6 Updated DefaultInterestRateStrategy 2020-11-19 17:17:11 +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
David Racero
edac705301 Check Reserves and Oracles config. Removed unneded config related with old uniswap v1. 2020-11-18 10:33:44 +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
Ernesto Boado
200c02e081 Merge branch '140-setup-mainnet-fork-simulation-environment-based-on-tenderly' into 'master'
Add Mainnet fork, deployment check-list, add Tenderly integration

Closes #140

See merge request aave-tech/protocol-v2!160
2020-11-17 11:58:01 +00:00
David Racero
12d17179d6 Renamed ChainlinkProxyPriceProvider to AaveOracle 2020-11-17 10:24:24 +01:00
David Racero
b275fedfe8 Remove Uniswap V1 config and scripts. Renamed config to markets. 2020-11-17 09:33:45 +01:00
David Racero
d1c6943cd3 Initial implementation of Tenderly plugin 2020-11-12 14:12:26 +01:00
eboado
f32ac702ec - Refactoring on some Errors 2020-11-12 13:54:23 +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
Ernesto Boado
3fc261037a Merge branch 'fix/123' into 'master'
Resolve "Add check that amount != 0 in validateBorrow()"

Closes #123

See merge request aave-tech/protocol-v2!141
2020-11-10 13:59:16 +00:00
The3D
ee1e20568b Added check 2020-11-10 14:11:01 +01:00
David Racero
6eb19a2d66 Move verification to a separate task and run after deployment. Speed up verification via more logic to prevent too many retries. 2020-11-10 13:23:30 +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