Commit Graph

917 Commits

Author SHA1 Message Date
Gerardo Nardelli
b0d9dbe2a7 code improvements 2020-11-10 11:28:19 -03: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
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
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
The-3D
58c326e8e4 Merge branch 'fix/wb-provider-2' into 'master'
Fix getUserWalletBalances of WalletBalanceProvider - 2

See merge request aave-tech/protocol-v2!134
2020-11-06 15:27:51 +00:00
andyk
206d33eaa6 fix getUserWalletBalances of WalletBalanceProvider - 2 2020-11-06 18:23:18 +03:00
Gerardo Nardelli
6aeabbe00b Add build params unit tests helpers 2020-11-06 12:12:40 -03:00
Gerardo Nardelli
1faffa2c39 Add permit amount parameter to correctly execute permit call 2020-11-06 12:12:08 -03:00
The-3D
1d0dfb443f Merge branch 'fix/wb-provider' into 'master'
Fix getUserWalletBalances of WalletBalanceProvider

See merge request aave-tech/protocol-v2!133
2020-11-06 15:09:42 +00:00
andyk
d7f4998f52 fix getUserWalletBalances of WalletBalanceProvider 2020-11-06 18:01:19 +03:00
The3D
47569dccfe Updated WalletBalanceProvider to use the addressesProvider interface 2020-11-06 15:32:51 +01:00
The-3D
4de4d6cf96 Merge branch 'fix/wallet-balance-provider' into 'master'
Change wallet balance provider to support eth

See merge request aave-tech/protocol-v2!132
2020-11-06 14:22:11 +00:00
The3D
43da90b989 Added Lending rate oracle 2020-11-06 15:19:09 +01:00
andyk
442847dc1d fix types issue 2020-11-06 17:18:13 +03:00
andyk
7cb042517f change wallet balance provider to support eth 2020-11-06 17:06:52 +03:00
Ernesto Boado
d599dee431 Merge branch 'feat/data-helpers' into 'master'
UI data helpers

See merge request aave-tech/protocol-v2!131
2020-11-06 12:57:32 +00:00
andyk
efb77fdf4c Merge branch 'master' into feat/data-helpers 2020-11-06 15:54:50 +03:00
andyk
e32b62fb6f add eth to the wallet balance provider 2020-11-06 15:51:08 +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
Ernesto Boado
bb9d98c9fd Merge branch 'fix/120' into 'master'
Resolve "Remove unused tokenDistributor code"

Closes #120

See merge request aave-tech/protocol-v2!130
2020-11-06 12:40:14 +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
The-3D
7c80c8d243 Merge branch '116-migrate-buidler-to-hardhat' into 'master'
Migrate from buidler to hardhat

Closes #116

See merge request aave-tech/protocol-v2!126
2020-11-06 11:48:05 +00:00
David Racero
b5a52c2b98 Fix rename 2020-11-06 12:19:08 +01:00
David Racero
8264835735 Merge branch '116-migrate-buidler-to-hardhat' of gitlab.com:aave-tech/protocol-v2 into 116-migrate-buidler-to-hardhat 2020-11-06 12:18:24 +01:00
David Racero
1ee5ac78af Fix typos 2020-11-06 12:16:36 +01:00
David Racero
ef9e32f13b Fix typos 2020-11-06 12:14:41 +01: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
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
Ernesto Boado
60428846fe Merge branch 'add-missing-kovan-aggregators' into 'master'
Added missing aggregators

See merge request aave-tech/protocol-v2!127
2020-11-05 15:06:45 +00:00
David Racero
5ba8045c89 Added missing aggregators 2020-11-05 15:54:45 +01:00
David Racero
1c9eb2efbf Fix CI 2020-11-05 15:52:36 +01:00
Gerardo Nardelli
48b9a603a7 Update getAmountsIn to return prices 2020-11-05 11:33:11 -03:00
David Racero
51b3fb1669 Fix migration logic 2020-11-05 15:31:35 +01:00
Ernesto Boado
dcf501204a Merge branch 'fix/114' into 'master'
Resolve "Separate the AaveAdmin from the pause function"

Closes #114

See merge request aave-tech/protocol-v2!125
2020-11-05 14:31:16 +00:00
emilio
57e444714d Merge branch 'master' into fix/114 2020-11-05 15:25:24 +01:00
Ernesto Boado
3cace25f62 Merge branch 'feat/refactor-delegation' into 'master'
Feat/refactor delegation

See merge request aave-tech/protocol-v2!124
2020-11-05 14:10:23 +00: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
emilio
b101af21cc Fixed certora harness 2020-11-05 14:43:39 +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