Commit Graph

575 Commits

Author SHA1 Message Date
The3D
f87873a6de Added natspec, isActive check 2020-11-10 16:07:13 +01:00
The3D
d66959f4ff Refactored validation logic of rebalanceStableBorrowRate 2020-11-10 15:57:49 +01:00
The3D
673b8f22c4 Fixed validation of isActive in validateWithdraw 2020-11-10 15:42:03 +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
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
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
andyk
6a3695c5b7 final fix for ETH balance calculations in getUserWalletBalances 2020-11-10 10:33:53 +02:00
andyk
206d33eaa6 fix getUserWalletBalances of WalletBalanceProvider - 2 2020-11-06 18:23:18 +03: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
andyk
7cb042517f change wallet balance provider to support eth 2020-11-06 17:06:52 +03: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
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
eboado
3aa5de28b4 - Added management of WETH to ChainlinkProxyPriceProvider. 2020-11-06 12:09:24 +01: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
emilio
69c3d5b9b7 Adds Emergency admin 2020-11-05 12:35:50 +01:00
David Racero
8ab3bce12e Fixed conflicts 2020-11-05 09:20:50 +01:00
emilio
add6cad5c3 Fixed scenarios, tests, removed console.log 2020-11-04 11:12:26 +01:00
David Racero
4b511188c7 Remove comment 2020-11-03 20:47:36 +01:00
The3D
4e4fbe6539 Refactoring of credit delegation 2020-11-03 19:47:57 +01:00
David Racero
a54f910928 Added emergency token and ether withdrawal. Follow code guidelines. 2020-11-03 17:23:35 +01:00
David Racero
ad5fa1b9a0 Change require to revert 2020-11-03 13:54:15 +01:00
David Racero
6ab6b835a2 Merge branch '97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth 2020-11-03 13:51:17 +01:00
David Racero
5f37f317e9 Added fallback function 2020-11-03 13:51:10 +01:00
The3D
e8028416d6 Cached the aWETH address 2020-11-03 13:45:54 +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
The3D
f513ebee37 Refactored duplicated code 2020-11-03 12:14:09 +01:00
David Racero
bec8db6c7f 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 18:44:59 +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
cabff851d0 Move interfaces that are not core protocol to misc/interfaces directory. Rename method to follow guidelines. 2020-11-02 17:01:47 +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
492c5fcd4a Added usage as collateral enabled/disabled events 2020-11-02 16:40:31 +01:00
David Racero
6d009f796d Moved WETH9.sol to mock/dependencies due is only for testing purposes 2020-11-02 15:47:02 +01:00
David Racero
a12706949d WETH9Mocked now inherits from WETH9 instead of copying the contract 2020-11-02 15:33:37 +01:00
The3D
8daa8130b7 Updated comment 2020-11-02 15:19:29 +01:00
David Racero
077078b084 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into feat/109-config-aave-token 2020-11-02 14:52:11 +01:00