Commit Graph

1194 Commits

Author SHA1 Message Date
The3D
ce76335078 Fixes #124 2020-11-10 15:38:43 +01:00
Gerardo Nardelli
b0d9dbe2a7 code improvements 2020-11-10 11:28:19 -03:00
Ernesto Boado
84b34d2c1a Merge branch '138-rename-aaveprotocoltesthelpers-in-aaveprotocoldataprovider' into 'master'
Resolve "Rename AaveProtocolTestHelpers in AaveProtocolDataProvider"

Closes #138

See merge request aave-tech/protocol-v2!144
2020-11-10 14:24:57 +00: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
Ernesto Boado
4a836740d0 Merge branch 'feat/hardhat-etherscan-dependency-graph' into 'master'
Upload source dependency graph instead of all source code while etherscan verification

See merge request aave-tech/protocol-v2!137
2020-11-10 13:58:38 +00:00
The3D
c81047ca93 Fixes #123 2020-11-10 14:57:09 +01:00
David Racero
0d0ef98fe6 Added deployment addresses. Rollback atoken deployer. 2020-11-10 14:53:16 +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
David Racero
ce3db28503 Added tokenization verifications 2020-11-10 14:18:48 +01:00
The3D
ee1e20568b Added check 2020-11-10 14:11:01 +01: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
Ernesto Boado
d82c86bf26 Merge branch 'fix/121' into 'master'
Resolve "Fix call to balanceDecreaseAllowed in setUserUseReserveAsCollateral"

Closes #121

See merge request aave-tech/protocol-v2!139
2020-11-10 12:49:59 +00:00
The3D
bfa26634a6 Removed setDecimals 2020-11-10 13:47:31 +01:00
The3D
0c8efc2261 Added negative test on setUsageAsCollateral(), clearer require condition 2020-11-10 13:45:08 +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
The-3D
e907f91742 Merge branch 'fix/wb-provider-eth-mock' into 'master'
Final fix for ETH balance calculations in getUserWalletBalances

See merge request aave-tech/protocol-v2!138
2020-11-10 09:13:31 +00:00
andyk
6a3695c5b7 final fix for ETH balance calculations in getUserWalletBalances 2020-11-10 10:33:53 +02:00
Gerardo Nardelli
6e9defe14c Add repayAllDebt flag to repay the whole debt with collateral 2020-11-09 16:53:03 -03:00
David Racero
8389410819 Use latest package 2020-11-09 19:28:13 +01:00
Gerardo Nardelli
4fb43f7aff Remove not used batch capabilities on repay adapter 2020-11-09 15:27:18 -03:00
David Racero
b3870cc107 Use fallback verification if related sources causes Solidity bug. 2020-11-09 18:55:09 +01:00
David Racero
45f882b401 Upload source dependency graph instead of all source code while etherscan verification 2020-11-09 15:52:28 +01:00
The-3D
ef98aadd66 Merge branch 'feat/118-kovan-configs' into 'master'
Added kovan configs

Closes #118

See merge request aave-tech/protocol-v2!135
2020-11-09 09:09:47 +00:00
eboado
f46bef2b00 - Reordered rest of config parameters. 2020-11-09 10:05:03 +01:00
Ernesto Boado
33057d3e61 Merge branch 'fix-gas-estimation' into 'master'
Remove buidler gas estimation to fix conflict with hardhat estimation plugin

See merge request aave-tech/protocol-v2!136
2020-11-09 08:57:22 +00:00
David Racero
089dd2a55a Remove buidler gas estimation to fix conflict with hardhat estimation plugin 2020-11-09 09:51:44 +01:00
eboado
8cd474864b Merge branch 'master' into feat/118-kovan-configs 2020-11-09 08:48:30 +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
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