Commit Graph

182 Commits

Author SHA1 Message Date
Jason Raymond Bell
14e2ab47d9 Add task to deploy ParaSwapLiquiditySwapAdapter
Note that it didn't actually work as written since gasPrice was set too low
and also the verifyContract didn't work (so I had to verify it manually).

Deployed to mainnet at 0xC91864A5A1E2F52aDdfb69e31b89a3b7783733c3.
2021-03-29 17:19:26 +01:00
David Racero
356f45f8da Fixed WETH config and added new oracle. Automatize ETH/USD aggregator at oracle task 2021-03-29 12:13:56 +02:00
David Racero
d7cf033e62 Added sidechain task to follow guidelines. Added IncentivesController to config. 2021-03-26 15:20:24 +01:00
l3lackcurtains
7777d1d5cf replace with Add flag for verify on aave.dev.ts 2021-03-16 14:57:58 -07:00
David Racero
194e1df6c3 Fix deployment scripts regarding Oracles. 2021-03-15 11:52:57 +01:00
David Racero
de4aec2804 Set configs for matic. Minor changes to polygon utils and tasks. 2021-03-12 18:06:15 +01:00
David Racero
d16c680b7c Integrate polygon verifier into verification tools and Hardhat tasks 2021-03-11 16:55:04 +01:00
David Racero
d9026b7122 Support fork connection. 2021-03-03 12:25:10 +01:00
David Racero
befb447148 Added configs to support tenderly fork rpcs. Added new price feeds addresses. Fix owner signer issues. 2021-03-02 17:21:04 +01:00
Zer0dot
71127888a6 Updated Matic deployment script 2021-02-24 16:49:23 -05:00
Zer0dot
735fc5c6c7 Removed useless space 2021-02-23 11:05:46 -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
Zer0dot
599c2759f1 Fixed & tested etherscan verification (on Kovan) 2021-02-23 08:34:24 +01:00
Zer0dot
50e2828008 Updated to reuse LendingPool & Configurator if possible 2021-02-23 08:34:02 +01:00
Zer0dot
f023ce09c5 Slight fixed for fork deployment 2021-02-22 17:26:22 +01:00
Hadrien Charlanes
18aac08061 Added full script and config for kovan 2021-02-22 17:26:06 +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
384f00f15e Fixed issues before deployment 2021-02-19 21:59:14 -05:00
Zer0dot
379761b56f Testing mumbai network deployment, Oracles fail 2021-02-19 18:50:24 -05:00
Zer0dot
51ea7364e1 (Same functionality) Updated LP mainnet 2021-02-19 18:31:04 -05:00
Zer0dot
5965ef09d4 Fixed names & added prefixes 2021-02-19 15:50:06 -05:00
Zer0dot
f44879e625 Fixed missing "waitForTx" 2021-02-18 16:50:15 -05:00
Zer0dot
5ca1a4f05b Re-enabled Sec 3 2021-02-18 16:49:29 -05:00
Zer0dot
0c2b92a0c8 Removed useless import 2021-02-12 21:40:20 -05:00
Zer0dot
313e3146f4 Added functionality to re-use Aave/Lending Rate Oracles 2021-02-12 11:08:36 -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
9fb097e687 Removed old console lo 2021-02-10 18:36:51 -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
8f68b3b444 Updated package.json task name 2021-02-08 17:42:43 -05:00
Zer0dot
6fbed47205 Fixed deploy-new-asset script 2021-02-08 16:18:49 -05:00
Zer0dot
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -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
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
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
David Racero
63ce8bc2bb Revert "add withFlash flage to getAmountIn/Out"
This reverts commit 3d2a877770.
2021-01-12 13:20:32 +01: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
36e5642f24 Removed dev task 2021-01-10 19:57:58 -05:00
Zer0dot
ced0bc3dfe Setup testing on Kovan. Error on oracle deployment 2021-01-07 20:27:39 -05:00
dhadrien
334718a077 added package.json script 2021-01-07 16:36:54 +01:00
Zer0dot
1669d6587a Fixed UNI prefix error in setup.spec 2021-01-01 21:14:02 -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
ec77c690b8 Fixed script, working 2020-12-22 10:46:56 +01:00
dhadrien
a3403631be added task for deploying new asset 2020-12-21 17:13:51 +01:00
andyk
3d2a877770 add withFlash flage to getAmountIn/Out 2020-12-09 13:29:25 +04:00
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04:00
The3D
8113cdaef1 Updated migration scripts to receive external parameters 2020-12-02 11:18:31 +01: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
04c49117b8 Fix CI task. Move initialize tokens outside of full tasks. 2020-12-02 09:57:47 +01:00
David Racero
f5d0ce14bb Fix verification tasks 2020-12-02 09:28:55 +01:00
David Racero
e0025184a0 Added resume initialization task 2020-12-01 12:39:54 +01:00
andyk
6ce019c04a add deployment task for UniswapRepayAdapter 2020-12-01 14:27:57 +04:00
David Racero
7bd0e9afd1 Use registry address. Fix Provider verify. Fix WalletProvider verify. 2020-12-01 10:29:30 +01:00
David Racero
a2c9e0074f Add kovan print config 2020-11-30 19:47:16 +01:00
David Racero
3f46697d24 Added tokens, fix getter 2020-11-30 19:41:42 +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
David Racero
a21d823646 Remove console logs 2020-11-30 14:32:01 +01:00
David Racero
c22533f139 Add lending provider kovan address at deploy-UniswapRepayAdapter task 2020-11-30 14:27:56 +01:00
andyk
a21757d0fc adoption to the latest 2020-11-30 17:14:29 +04:00
The3D
dcc60f5966 Updated migration script 2020-11-28 13:32:13 +01:00
The3D
7892587f1b Updated migration scripts to add the reserve factor configuration 2020-11-28 12:54:54 +01:00
The3D
8cff75f7e3 Migration scripts updated 2020-11-27 16:40:00 +01:00
David Racero
43712d8a2b Support marketId argument 2020-11-26 16:11:40 +01: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
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
1c26eeef87 Add UNI aDelegatedToken 2020-11-19 17:46:23 +01: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
61b935ce41 Fixes dev tasks 2020-11-18 10:35:42 +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
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
27365697ac Added mainnet check list. Remove deployed contracts. Update README.md 2020-11-16 19:22:22 +01:00
David Racero
0d40682054 Added initial README. Digging into Tenderly. Added initial mainnet fork with buidler. 2020-11-16 16:08:07 +01:00
David Racero
d0ea8d2e32 Added buidler mainnent fork 2020-11-16 11:09:23 +01:00
David Racero
84053c7b1d Added latest update from Tenderly 2020-11-16 10:19:14 +01:00
David Racero
d2739e3a9c Add the Tenderly provider at set-bre task 2020-11-12 14:43:14 +01:00
David Racero
588a0c8da0 Add provider. Add transaction link to task. 2020-11-12 14:41:08 +01:00
David Racero
d1c6943cd3 Initial implementation of Tenderly plugin 2020-11-12 14:12:26 +01:00
David Racero
cf32c1f84f Fixes task related with LendingOracle. Add token verification task. 2020-11-10 21:16:31 +01:00
David Racero
4df4841767 Rename AaveProtocolTestHelpers to AaveProtocolDataProvider. Add task to deploy AaveProtocolDataProvider. 2020-11-10 15:19:47 +01:00
David Racero
ce3db28503 Added tokenization verifications 2020-11-10 14:18:48 +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
The3D
43da90b989 Added Lending rate oracle 2020-11-06 15:19:09 +01:00
andyk
efb77fdf4c Merge branch 'master' into feat/data-helpers 2020-11-06 15:54:50 +03:00
The-3D
7d4dd6d0e0 Merge branch 'feat/117-oracle-weth' into 'master'
Added management of WETH to ChainlinkProxyPriceProvider.

Closes #117

See merge request aave-tech/protocol-v2!128
2020-11-06 11:51:59 +00:00
eboado
3aa5de28b4 - Added management of WETH to ChainlinkProxyPriceProvider. 2020-11-06 12:09:24 +01:00
The3D
aa354bad59 Replaced getAaveAdmin with getPoolAdmin 2020-11-06 10:16:40 +01:00
David Racero
b5f2f283a2 Fix conflicts 2020-11-05 16:15:52 +01:00
emilio
73f38a46ec Merge branch 'master' into fix/114 2020-11-05 14:51:04 +01:00