Commit Graph

81 Commits

Author SHA1 Message Date
David Racero
dc65b0b62e
Merge branch 'master' into feat/188-avalanche-market 2021-09-20 11:04:24 +02:00
miguelmtzinf
a000ed9134 fix: Fix comments and ts style warnings 2021-08-17 18:38:56 +02:00
David Racero
0e7bc49a37 feat: Replace AaveOracle to the latest version. Fix dev deployment scripts. 2021-07-20 16:41:38 +02:00
David Racero
95e9c3588c feat: support custom quote currencies. Added base scripts for custom atokens and rates. 2021-07-16 12:21:44 +02:00
Jason Raymond Bell
258a9be607 Merge branch 'master' into paraswap 2021-06-15 16:52:42 +01:00
Jason Raymond Bell
4fe36c8fa4 Introduce registry of valid Augustus addresses
Set in constructor of BaseParaSwapSellAdapter and validates before swap.
Created mock registry that only validates one address.
Changed the test fixtures to accomodate registry and added two new tests.
Updated deployment script.
Registry address left as a placeholder in package.json since not known yet.

Fixes MixBytes Warning 1.
2021-05-20 23:25:51 +01:00
miguelmtzinf
329a48cd03 feat: Add defender utils and use of signer 2021-05-17 14:35:21 +02:00
David Racero
b7462c6be2 feat: update UiPoolDataProvider task to match other tasks code style. Fix old reference of verifyContract at deployUiPoolDataProvider function. 2021-05-12 10:15:41 +02:00
sendra
516cbc7349 updated deployment scripts 2021-03-30 13:17:08 +02:00
Jason Raymond Bell
bf635b6d50 Merge branch 'master' into paraswap 2021-03-18 16:46:02 +00:00
Jason Raymond Bell
242826ded6 ParaSwap adapter for collateral swaps
Complete with unit tests (using a mock AugustusSwapper contract).

Has similar functionality/tests as for existing Uniswap adapter.

Fixed a couple bugs in tests for Uniswap adapters.
2021-03-18 15:44:52 +00:00
The3D
eb9077f25e Refactored interest rate strategies tests 2021-03-01 20:26:08 +01:00
The3D
682a7d13fe Updated tests 2021-02-26 19:18:38 +01:00
Hadrien Charlanes
da2ade5d3b Added Weth gateway contract in config, updated deployment 2021-02-22 17:25:12 +01:00
Zer0dot
f9f29b312c Added generic debt token deployments 2021-02-19 21:58:25 -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
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
Zer0dot
9431541593 More fixes, some stable tests fail WIP 2021-02-02 17:44:46 -05:00
Zer0dot
517d51f900 Began work on implementing light deployment scripts 2021-01-29 22:52:12 -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
b2123e914c Slight fix 2021-01-14 19:06:29 -05:00
Zer0dot
ccb6e36760 Slight cleanup 2021-01-14 18:56:18 -05:00
Zer0dot
688b62fed2 Added gas tracking 2021-01-11 21:15:47 -05:00
Zer0dot
587c4df47c Cleanup 2021-01-10 20:10:43 -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
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04: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
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
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
David Racero
4034c75536 Support custom aToken deployments 2020-11-20 12:11:57 +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
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
David Racero
12d17179d6 Renamed ChainlinkProxyPriceProvider to AaveOracle 2020-11-17 10:24:24 +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
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
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