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 |
|
eboado
|
a5f9332234
|
- Fixed comments on LendingPoolAddressesProviderRegistry and removed useless getter.
|
2020-11-19 14:21:36 +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
|
2e70cc6288
|
remove .only in tests
|
2020-11-17 13:31:05 -03: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 |
|
Ernesto Boado
|
200c02e081
|
Merge branch '140-setup-mainnet-fork-simulation-environment-based-on-tenderly' into 'master'
Add Mainnet fork, deployment check-list, add Tenderly integration
Closes #140
See merge request aave-tech/protocol-v2!160
|
2020-11-17 11:58:01 +00: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
|
d0d0e869d0
|
Fix flash loan fee usage in _getAmountsIn
|
2020-11-13 12:30:14 -03:00 |
|
The3D
|
b66253bfe9
|
Removed separate setters
|
2020-11-13 15:48:38 +01:00 |
|
eboado
|
f32ac702ec
|
- Refactoring on some Errors
|
2020-11-12 13:54:23 +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 |
|
Ernesto Boado
|
3fc261037a
|
Merge branch 'fix/123' into 'master'
Resolve "Add check that amount != 0 in validateBorrow()"
Closes #123
See merge request aave-tech/protocol-v2!141
|
2020-11-10 13:59:16 +00:00 |
|
The3D
|
c81047ca93
|
Fixes #123
|
2020-11-10 14:57:09 +01:00 |
|
Gerardo Nardelli
|
cf9c8855c3
|
Pull the correct amount of atokens from user to avoid leftovers in repay adapter
|
2020-11-10 10:38:24 -03:00 |
|
Ernesto Boado
|
ce62734786
|
Merge branch '122-remove-setreservedecimals-from-lendingpoolconfiguration' into 'master'
Resolve "Remove setReserveDecimals() from lendingPoolConfigurator"
Closes #122
See merge request aave-tech/protocol-v2!140
|
2020-11-10 13:03:48 +00:00 |
|
The3D
|
d9fa61539a
|
Removed invalid tests
|
2020-11-10 13:59:08 +01:00 |
|
The3D
|
0c8efc2261
|
Added negative test on setUsageAsCollateral(), clearer require condition
|
2020-11-10 13:45:08 +01:00 |
|
Gerardo Nardelli
|
6e9defe14c
|
Add repayAllDebt flag to repay the whole debt with collateral
|
2020-11-09 16:53:03 -03:00 |
|
Gerardo Nardelli
|
4fb43f7aff
|
Remove not used batch capabilities on repay adapter
|
2020-11-09 15:27:18 -03:00 |
|
eboado
|
f46bef2b00
|
- Reordered rest of config parameters.
|
2020-11-09 10:05:03 +01:00 |
|
Gerardo Nardelli
|
d3ef60f01b
|
Merge fix
|
2020-11-06 15:21:27 -03: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 |
|
Gerardo Nardelli
|
1faffa2c39
|
Add permit amount parameter to correctly execute permit call
|
2020-11-06 12:12:08 -03:00 |
|
andyk
|
efb77fdf4c
|
Merge branch 'master' into feat/data-helpers
|
2020-11-06 15:54:50 +03:00 |
|
Ernesto Boado
|
e92b4eb59d
|
Merge branch '119-add-a-borroweth-function-to-the-weth-gateway' into 'master'
Add a borrowETH() function to the WETH gateway
Closes #119
See merge request aave-tech/protocol-v2!129
|
2020-11-06 12:43:03 +00:00 |
|
David Racero
|
248782ec71
|
Deleted unneded imports
|
2020-11-06 13:25:45 +01:00 |
|
David Racero
|
7beda9bcc0
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 119-add-a-borroweth-function-to-the-weth-gateway
|
2020-11-06 13:22:15 +01:00 |
|
David Racero
|
167bca74ab
|
Added borrowETH to WETHGateway.
|
2020-11-06 13:22:03 +01:00 |
|
The3D
|
7b6058fe3b
|
removed unused code
|
2020-11-06 13:02:49 +01: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 |
|
Gerardo Nardelli
|
20bbae88d3
|
Add swapAllBalance parameter for liquidity swap
|
2020-11-05 16:49:55 -03:00 |
|
David Racero
|
b5f2f283a2
|
Fix conflicts
|
2020-11-05 16:15:52 +01:00 |
|
Gerardo Nardelli
|
48b9a603a7
|
Update getAmountsIn to return prices
|
2020-11-05 11:33:11 -03:00 |
|
emilio
|
57e444714d
|
Merge branch 'master' into fix/114
|
2020-11-05 15:25:24 +01:00 |
|
emilio
|
73f38a46ec
|
Merge branch 'master' into fix/114
|
2020-11-05 14:51:04 +01:00 |
|
emilio
|
42f7e07173
|
Merge branch 'master' into feat/refactor-delegation
|
2020-11-05 14:49:59 +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 |
|
Gerardo Nardelli
|
5d9cd6ebd1
|
Update getAmountsOut to return prices
|
2020-11-04 16:51:21 -03:00 |
|
David Racero
|
86f79b4c13
|
Reserves Configuration
|
2020-11-04 13:22:40 +01:00 |
|
emilio
|
add6cad5c3
|
Fixed scenarios, tests, removed console.log
|
2020-11-04 11:12:26 +01:00 |
|
David Racero
|
46a42233c6
|
Test emergency Ether withdrawal via self-destruct
|
2020-11-03 21:04:48 +01:00 |
|
The3D
|
4e4fbe6539
|
Refactoring of credit delegation
|
2020-11-03 19:47:57 +01:00 |
|
Gerardo Nardelli
|
847ad3b12a
|
Add batch swaps unit tests
|
2020-11-03 15:37:06 -03:00 |
|
David Racero
|
a54f910928
|
Added emergency token and ether withdrawal. Follow code guidelines.
|
2020-11-03 17:23:35 +01:00 |
|
Gerardo Nardelli
|
94a6a8688c
|
Update liquidity swap adapter params to include min amount to receive
|
2020-11-03 12:22:15 -03:00 |
|
David Racero
|
4893548d36
|
Added fallback/receive test
|
2020-11-03 14:06:10 +01:00 |
|
David Racero
|
5f37f317e9
|
Added fallback function
|
2020-11-03 13:51:10 +01:00 |
|
David Racero
|
f70754263d
|
Remove requires. Change onBehalf to To at withdraw. Add fallback function revert.
|
2020-11-03 13:29:11 +01:00 |
|
David Racero
|
6174539966
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-03 12:51:54 +01:00 |
|
The3D
|
54bae079c9
|
Renamed error
|
2020-11-03 12:15:37 +01:00 |
|
Gerardo Nardelli
|
fa7fa9f948
|
Add permit support in swap adapters
|
2020-11-02 17:33:00 -03: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
|
a4a02e761b
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-02 16:54:22 +01:00 |
|
David Racero
|
cd687b7a0c
|
Fix conflicts
|
2020-11-02 16:53:02 +01:00 |
|
The3D
|
73254a66aa
|
Fixed test
|
2020-11-02 16:05:55 +01:00 |
|
The3D
|
1b021dca18
|
Added tests
|
2020-11-02 14:44:11 +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 |
|
David Racero
|
e9d21ef74d
|
Fixed conflicts
|
2020-11-02 10:20:59 +01:00 |
|
Ernesto Boado
|
282e6093bb
|
Merge branch 'fix/51' into 'master'
Resolve "Remove the disable as collateral function on LendingPoolConfigurator"
Closes #51
See merge request aave-tech/protocol-v2!60
|
2020-10-31 17:41:48 +00:00 |
|
emilio
|
07429b0a57
|
Fixed P_IS_PAUSED
|
2020-10-31 13:55:19 +01:00 |
|
emilio
|
3f7bb806ac
|
Merge branch 'master' into fix/51
|
2020-10-31 13:10:26 +01:00 |
|
emilio
|
72fe465782
|
fixed test
|
2020-10-31 12:42:14 +01:00 |
|
Gerardo Nardelli
|
e7183536b3
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-deployments.ts
# helpers/contracts-getters.ts
|
2020-10-30 17:01:39 -03:00 |
|
Gerardo Nardelli
|
0eddff4933
|
Apply feedback fixes
|
2020-10-30 16:59:25 -03:00 |
|
David Racero
|
1ac0a45394
|
Fix conflicts
|
2020-10-30 16:52:44 +01:00 |
|
emilio
|
96d00edd00
|
Merge branch 'master' into fix/51
|
2020-10-30 16:21:37 +01:00 |
|
Gerardo Nardelli
|
8278d2e6d8
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
|
2020-10-30 12:09:29 -03:00 |
|
eboado
|
cba766d282
|
Merge branch 'master' into feat/102-batch-delegation-allowance
|
2020-10-30 16:04:31 +01:00 |
|
emilio
|
b888fc12ab
|
Merge branch 'master' into fix/51
|
2020-10-30 15:12:11 +01:00 |
|
eboado
|
5a9a46a31f
|
Merge branch 'master' into 100/flash-loan-bath-modes
|
2020-10-30 14:55:03 +01:00 |
|
David Racero
|
b3cc9d1a62
|
Fix conflicts
|
2020-10-30 13:40:06 +01:00 |
|
eboado
|
b2bbe62822
|
- Added to to withdraw()
|
2020-10-30 12:38:41 +01:00 |
|
eboado
|
1954f609c2
|
Merge branch 'master' into 100/flash-loan-bath-modes
|
2020-10-30 11:40:31 +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
|
951e749c1e
|
Merge master
|
2020-10-29 18:15:07 +01:00 |
|
David Racero
|
2892e69df0
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-10-29 16:20:12 +01:00 |
|
Ernesto Boado
|
6b26e39d5f
|
Merge branch 'feat/74' into 'master'
Feat/74 - Add `onBehalf` for flashloan(), to open debt if debt mode selected
Closes #74
See merge request aave-tech/protocol-v2!96
|
2020-10-29 15:08:18 +00:00 |
|
David Truong
|
f546d21c97
|
Merge branch 'feat/74' of gitlab.com:aave-tech/protocol-v2 into feat/74
|
2020-10-29 15:55:20 +01:00 |
|
David Truong
|
d373b9beb8
|
Fix for pausable-function flashloan test
|
2020-10-29 15:53:38 +01:00 |
|
David Racero
|
e6d913d251
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-10-29 15:50:37 +01:00 |
|