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
The-3D
776a6a4aae
Merge branch 'fix/hardhat-time-error' into 'master'
...
Fix master test suite at CI
See merge request aave-tech/protocol-v2!226
2021-02-03 09:43:49 +00:00
David Racero
56e5efd47b
Add a comment to specify why retries are being used at scenarios tests suite
2021-02-03 09:22:22 +00:00
David Racero
f106502c72
Add retries to scenarios to prevent random networking bug.
2021-02-01 19:24:50 +01:00
David Racero
a4a6d3d437
WIP change implementation of increaseTime
2021-02-01 16:40:11 +01:00
emilio
00f414b681
Updated test description
2021-02-01 16:16:42 +01:00
David Racero
37ac8b5297
Add new edge case when flash liquidation same asset. Add tests.
2021-01-29 18:09:06 +01:00
David Racero
d464b0d592
Pull master and fix conflicts
2021-01-29 13:27:12 +01:00
David Racero
80cfc7d0fe
Add fixed format scenario test
2021-01-28 09:51:52 +01:00
David Racero
ba054edbd9
Test formatting error
2021-01-27 16:02:44 +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
root
55f14c1af9
Use diff balances instead of liquidation logic for flash liquidations
2021-01-22 09:59:47 +00:00
David Racero
f05550fc04
Fixed master tests
2021-01-21 20:21:56 +01:00
David Racero
c7a8f41d46
Added test fixes to support latest stable fix
2021-01-21 00:42:39 +01:00
David Racero
a72b73d804
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 183-flash-liquidation-adapter
2021-01-20 09:27:33 +01:00
David Racero
600912463f
Add waitTx for some missing scenario actions
2021-01-19 09:57:36 +01: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
16a7398574
Fixed tests. Add uniswap adapter test to package.json script
2021-01-14 11:53:48 +01:00
David Racero
611605eebf
Fix mockup base tests. Separate uniswap adapter tests into separate files.
2021-01-13 15:11:39 +01:00
The3D
2e23281cdc
Merge branch 'master' into 178-add-uniswap-adapters
2020-12-02 10:14:03 +01:00
The-3D
57ee9e0a7c
Merge branch '181-check-configuration-and-scripts' into 'master'
...
Resolve "Check configuration and scripts"
Closes #181
See merge request aave-tech/protocol-v2!204
2020-11-30 20:42:50 +00: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
The3D
3b5344388d
Fixed failing test after updating the latest risk parameters
2020-11-30 18:14:21 +01:00
The3D
83346703a5
Fixed liquidation tests
2020-11-30 13:08:37 +01:00
The3D
4bb7d0c5db
Updated config
2020-11-30 12:53:33 +01:00
The3D
59d5c3a6a9
Fixed configuration parameters
2020-11-30 12:49:31 +01:00
The3D
ae0414eb23
Fixed configuration tests
2020-11-30 12:01:26 +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
bfa52fb3a8
Fixed tests
2020-11-27 18:22:23 +01:00
The3D
8cff75f7e3
Migration scripts updated
2020-11-27 16:40:00 +01:00
The-3D
b7bae0cb67
Merge branch 'feat/166-market-id' into 'master'
...
- Added marketId and setter on LendingPoolAddressesProvider
Closes #166
See merge request aave-tech/protocol-v2!189
2020-11-26 16:13:04 +00:00
eboado
3d6150a729
- Added test for onlyOwner on setMarketId()
2020-11-26 17:08:09 +01:00
The-3D
f6a33495e2
Merge branch 'fix/167-usage-collateral-liquidation' into 'master'
...
- Added set of usage as collateral to true on liquidator receiving aToken.
Closes #167
See merge request aave-tech/protocol-v2!193
2020-11-26 15:49:35 +00:00
eboado
3f070d67ec
- Added set of usage as collateral to true on liquidator receiving aToken.
2020-11-26 16:44:32 +01:00
Gerardo Nardelli
b41ccf7441
Add repay with same asset unit test
2020-11-26 12:42:42 -03:00
The3D
34264243be
Merge branch 'master' into fix/159
2020-11-26 16:18:33 +01:00
David Racero
43712d8a2b
Support marketId argument
2020-11-26 16:11:40 +01:00
Gerardo Nardelli
bc969d926e
Add swapAndRepay unit tests
2020-11-25 14:55:46 -03: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
Gerardo Nardelli
a496be8833
Refactor to avoid leftovers on _swapAndRepay with flash loan
2020-11-25 10:44:50 -03:00
The3D
584a567635
Updated flashloan updateInterestRates
2020-11-23 18:44:13 +01:00
eboado
e2d1a274bc
Merge branch 'master' into feat/153-improve-docs
2020-11-23 15:56:55 +01:00
eboado
0bca8c6519
Merge branch 'master' into feat/153-improve-docs
2020-11-23 11:15:31 +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
92168f500b
Fixes missing param at deployDefaultReserveInterestRateStrategy. Update WalletBalanceProvider to add provider argument. Minor fixes migration script.
2020-11-20 11:32:17 +01:00
The3D
8aa46e9c4f
Fixes tests
2020-11-19 19:24:41 +01:00