Commit Graph

355 Commits

Author SHA1 Message Date
Zer0dot
ce7d011e20 Initial setup for BptBALWETH 2021-02-24 17:58:20 -05:00
Zer0dot
71127888a6 Updated Matic deployment script 2021-02-24 16:49:23 -05:00
Zer0dot
6508aa6127 Fixed small error 2021-02-24 16:44:45 -05:00
Zer0dot
46be3c6e8a Clarified comment 2021-02-24 16:43:57 -05:00
Zer0dot
53139ce991 Removed useless space 2021-02-24 16:42:41 -05:00
Zer0dot
b2d344e189 Changed USDCDAI to DAIUSDC to fit pair order 2021-02-24 10:55:52 -05:00
Zer0dot
d41edec1ab Merged feat/lp-market-updated-deployment 2021-02-23 10:59:02 -05:00
Hadrien Charlanes
e3846332db Cleaned up more conf, getParanetwork working now. Added weth Gateway Matic 2021-02-23 15:43:24 +01:00
Hadrien Charlanes
029a349d90 Prepared XDAI configs, updated matic with new LendingPool and LendingPoolConfigurator 2021-02-23 10:01:32 +01:00
Zer0dot
50e2828008 Updated to reuse LendingPool & Configurator if possible 2021-02-23 08:34:02 +01:00
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
1c16f9f074 COMMENTED OUT MATIC-BREAKING code 2021-02-19 21:58:39 -05:00
Zer0dot
f9f29b312c Added generic debt token deployments 2021-02-19 21:58:25 -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
e4f4bb0cdb Brought branch up to speed with light deployment update 2021-02-18 09:38:13 -05:00
Zer0dot
f196a3be7a Added Balancer WBTCWETH. Renamed tokens to show underlying AMM. 2021-02-15 22:50:16 -05:00
Zer0dot
e72c07ae6d Cleanup & added a comment for clarity on a potentially deprecated function. 2021-02-12 21:49:53 -05:00
Zer0dot
283cf2ce97 Added re-using collateral manager functionality 2021-02-11 22:54:04 -05:00
Zer0dot
0652b09ffd Slight fixes for tests to run and removed old gas tracker 2021-02-10 19:11:41 -05:00
Zer0dot
0a3da08c9c Added a few comments for clarity 2021-02-10 18:47:31 -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
6fbed47205 Fixed deploy-new-asset script 2021-02-08 16:18:49 -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
2601dbb2df Updated helpers 2021-02-05 21:51:12 -05:00
Zer0dot
dad66ef2d4 Adapted deployments and tests 2021-02-05 11:19:40 -05:00
Zer0dot
039e00fdb0 Moved gas-tracker.ts into ./helpers and updated references 2021-02-04 17:57:03 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
dangerousfood
5d6332d6ea add xSushi 2021-02-03 11:18:03 -06:00
Zer0dot
9431541593 More fixes, some stable tests fail WIP 2021-02-02 17:44:46 -05:00
Zer0dot
d63ae5405f Fixed missing gas estimation 2021-02-01 18:42:01 -05:00
Zer0dot
221c19c910 Tentative fix in init-helpers for light deployment 2021-02-01 18:23:11 -05:00
David Racero
f106502c72 Add retries to scenarios to prevent random networking bug. 2021-02-01 19:24:50 +01:00
David Racero
3f6dd8a0f0 Update hardhat to latest version. Add timeout to advanceTimeAndBlock function. 2021-02-01 17:54:02 +01:00
David Racero
a4a6d3d437 WIP change implementation of increaseTime 2021-02-01 16:40:11 +01:00
Zer0dot
517d51f900 Began work on implementing light deployment scripts 2021-01-29 22:52:12 -05:00
David Racero
d464b0d592 Pull master and fix conflicts 2021-01-29 13:27:12 +01:00
David Racero
6a503eb0a8 Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI. 2021-01-27 15:43:34 +01: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
ed17b5a037 Slight cleanup 2021-01-14 20:59:14 -05:00
Zer0dot
b2123e914c Slight fix 2021-01-14 19:06:29 -05:00
Zer0dot
ccb6e36760 Slight cleanup 2021-01-14 18:56:18 -05:00
David Racero
16a7398574 Fixed tests. Add uniswap adapter test to package.json script 2021-01-14 11:53:48 +01:00
Zer0dot
917f632980 Added unique prefix functionality 2021-01-13 01:05:44 -05:00
David Racero
46c753cea1 Solve conflicts 2021-01-12 12:11:03 +01:00
Zer0dot
688b62fed2 Added gas tracking 2021-01-11 21:15:47 -05:00
Zer0dot
0472cc27f2 Cleanup (Removed unneeded dev deployment) 2021-01-10 20:40:23 -05:00
Zer0dot
587c4df47c Cleanup 2021-01-10 20:10:43 -05:00
Zer0dot
95691770ab Reset to original state 2021-01-10 20:05:34 -05:00
Zer0dot
36e5642f24 Removed dev task 2021-01-10 19:57:58 -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
dhadrien
a3403631be added task for deploying new asset 2020-12-21 17:13:51 +01:00
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04:00
David Racero
39f71f9610 Prevent to hang if missing address at db json 2020-12-02 10:58:44 +01:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00
David Racero
86db408af5 Added extra check to verify symbol of token implementation 2020-12-01 13:21:46 +01:00
David Racero
e0025184a0 Added resume initialization task 2020-12-01 12:39:54 +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
c9875f0a8f Handled reserveFactor in the scenario tests 2020-11-28 13:28:50 +01:00
The3D
7892587f1b Updated migration scripts to add the reserve factor configuration 2020-11-28 12:54:54 +01:00
The3D
2bebc6fdfd Removed space 2020-11-27 18:26:00 +01:00
The3D
e5ec690a21 Removed unused code 2020-11-27 18:23:17 +01:00
The3D
9165cdc4d5 Updated migration scripts for the reserve factor 2020-11-27 18:18:31 +01:00
The3D
8cff75f7e3 Migration scripts updated 2020-11-27 16:40:00 +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
6e7567c842 Merge branch 'master' into '155-use-the-delegationawareatoken-for-the-uni-deployment'
# Conflicts:
#   tasks/full/5_initialize.ts
2020-11-23 14:24:25 +00:00
David Racero
98ac879181 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 154-updates-for-walletbalalanceprovider-contract 2020-11-23 12:04:59 +01:00
David Racero
55cf8f9b0e Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 155-use-the-delegationawareatoken-for-the-uni-deployment 2020-11-23 11:43:40 +01:00
David Racero
6532fd0765 Move protocol contracts inside own directory to scope audits. Update library hash at contracts-deployments.ts:165 due libraries paths has changed. 2020-11-23 11:28:57 +01:00
Gerardo Nardelli
43d05c2bdf Refactor repayAdapter to flash loan the debt asset instead of the collateral 2020-11-20 15:53:50 -03:00
Gerardo Nardelli
b48b50208a Support using all the collateral for a debt repay 2020-11-20 09:06:28 -03:00
David Racero
4034c75536 Support custom aToken deployments 2020-11-20 12:11:57 +01:00
David Racero
2231452bac Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 155-use-the-delegationawareatoken-for-the-uni-deployment 2020-11-20 11:41:32 +01:00
David Racero
92168f500b Fixes missing param at deployDefaultReserveInterestRateStrategy. Update WalletBalanceProvider to add provider argument. Minor fixes migration script. 2020-11-20 11:32:17 +01:00
David Racero
e04c7092fc Change wrong ID from deployment scripts 2020-11-20 10:57:52 +01:00
The3D
151146c95b removed bigNumber import 2020-11-20 10:14:37 +01:00
The3D
8aa46e9c4f Fixes tests 2020-11-19 19:24:41 +01:00
The3D
d5f0e9ebf9 Updated migration scripts 2020-11-19 18:11:53 +01:00
David Racero
39dcb51fee Add missing symbol in name. 2020-11-19 17:47:56 +01:00
David Racero
1c26eeef87 Add UNI aDelegatedToken 2020-11-19 17:46:23 +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