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
David Racero
94dd996666
Add test cases for FlashLiquidationAdapter
2021-01-18 15:40:02 +01:00
root
a9aff29b77
Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support.
2021-01-15 15:48:54 +00:00
David Racero
611605eebf
Fix mockup base tests. Separate uniswap adapter tests into separate files.
2021-01-13 15:11:39 +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
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
92168f500b
Fixes missing param at deployDefaultReserveInterestRateStrategy. Update WalletBalanceProvider to add provider argument. Minor fixes migration script.
2020-11-20 11:32:17 +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
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
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
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
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
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
1480668f94
Fix domain separator
2020-11-04 21:03:58 +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
d22a6f629b
Remove LEND config and fix tests to use AAVE conversion 100:1
2020-11-02 12:37:57 +01:00
Gerardo Nardelli
fc358b7c14
merge fixes
2020-10-29 17:29:41 -03:00
Gerardo Nardelli
17095c3ae1
Merge branch 'master' into feat/uniswap-adapter-flashloan
...
# Conflicts:
# helpers/contracts-helpers.ts
# helpers/types.ts
# test/__setup.spec.ts
# test/helpers/make-suite.ts
2020-10-29 16:49:25 -03:00
David Racero
744befc46c
Added deposit test for WETHGateway
2020-10-29 12:44:21 +01:00
Gerardo Nardelli
a05b75b467
Add uniswap adapters unit tests
2020-10-27 09:18:30 -03: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
64df1eeb36
Removed mock swap
2020-10-22 18:27:23 +02:00
David Racero
3b2b843b7b
Fixes typings errors.
2020-10-22 18:14:56 +02:00
David Racero
bb0df73449
WIP test erroring
2020-10-22 17:32:50 +02:00
David Racero
e0627ce66b
Added correct library placheholder hashes. Fix imports.
2020-10-16 11:27:09 +02:00
David Racero
03504849f1
Deployment function optimizations WIP
2020-10-15 19:19:02 +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
The3D
aea61d57ab
Fixed tests code
2020-10-12 20:07:17 +02:00