Commit Graph

143 Commits

Author SHA1 Message Date
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
David Racero
729b642ea5 Support Buidler to run solidity-coverage until is ported. 2020-11-05 14:43:17 +01:00
emilio
69c3d5b9b7 Adds Emergency admin 2020-11-05 12:35:50 +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
David Racero
86f79b4c13 Reserves Configuration 2020-11-04 13:22:40 +01:00
David Racero
525c816bbe Rollback to 1 WETHGateway per LendingPool 2020-11-02 18:43:50 +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
fd46bf888a Print addresses after migration. Fix minor migration issues. 2020-11-02 14:45:00 +01:00
andyk
898d72dfb3 Merge branch 'master' into feat/data-helpers 2020-10-30 13:16:21 +03:00
David Racero
9317df9252 Added boilerplate deployment, getters and tests. 2020-10-28 18:06:24 +01:00
David Racero
161fb63f19 Added borrow rates deployment optimization and minor tweaks for deployment helpers 2020-10-27 10:58:51 +01:00
David Racero
e17f2ec814 Added collateral enable and stable migration optimization. 2020-10-26 17:43:10 +01:00
David Racero
95b94e46e2 Merge master 2020-10-26 10:41:24 +01:00
David Racero
1c7ce57b2b Aggregated deployments for initialization, atokens and debtTokens 2020-10-23 18:38:27 +02:00
David Racero
bb0df73449 WIP test erroring 2020-10-22 17:32:50 +02:00
The3D
7ddf18b823 Updated migration scripts to add custom proxy price providers 2020-10-20 12:19:07 +02:00
The3D
dc0d021572 removed the oracles deployment task 2020-10-16 13:49:45 +02:00
David Racero
60c93a4d73 Remove debug console.logs 2020-10-16 12:07:35 +02:00
David Racero
e0627ce66b Added correct library placheholder hashes. Fix imports. 2020-10-16 11:27:09 +02:00
David Racero
88a2cb21f4 Move contract getters to their own file. Use factory connect. Fix imports 2020-10-15 13:57:03 +02:00
The3D
543c3f5c9c Merge branch 'master' into fix/62 2020-10-13 13:41:57 +02:00
David Racero
ffc81df4ee Fix conflicts and renamings 2020-09-24 17:48:29 +02:00
David Racero
6cbcf39454 Fixed conflicts and merge changes 2020-09-15 17:24:50 +02:00
David Racero
84d1ed0cb7 Added migration scripts for Uniswap and Aave with configuration and common tasks 2020-08-31 12:10:40 +02:00
David Racero
b3896fa4e3 WIP full migrations 2020-08-26 12:38:52 +02:00
David Racero
9de0fe2bc3 Fix conflicts. Stable config implementation. Migrate from constants to configuration files per pool. Skip script loads while compilation. 2020-08-25 17:15:27 +02:00
David Racero
cf70929eee Merge and fix conflicts 2020-08-25 14:15:35 +02:00
David Racero
82ee09caef Added initialize task 2020-08-21 13:07:32 +02:00
David Racero
383f7fc3bb WIP: Added dev-deployment scripts. Moved some helpers and mocks outside of test setup. 2020-08-20 17:35:05 +02:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
andyk
7690b22e8e repo cleanup -1 2020-07-03 12:15:30 +03:00
eboado
0ca8e30fb2 Initial commit 2020-05-29 16:55:31 +02:00