Commit Graph

80 Commits

Author SHA1 Message Date
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
eboado
7bcdce3090 - Reviewed tokenization documentation-wise
- Moved interaces in protocol/tokenization to the general interfaces/ folder.
2020-11-26 10:21:18 +01:00
The3D
1054dea632 Removed reserveLogic import from WETHGateway 2020-11-24 17:07:47 +01:00
The3D
126458c7aa Updated ReserveMap and UserMap 2020-11-24 16:17:27 +01:00
eboado
5532ebdc8a - Moved data types (structs and enum) to a DataTypes library, to simplify interfaces 2020-11-24 14:53:34 +01:00
eboado
e2d1a274bc Merge branch 'master' into feat/153-improve-docs 2020-11-23 15:56:55 +01:00
David Racero
98ac879181 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 154-updates-for-walletbalalanceprovider-contract 2020-11-23 12:04:59 +01:00
David Racero
6532fd0765 Move protocol contracts inside own directory to scope audits. Update library hash at contracts-deployments.ts:165 due libraries paths has changed. 2020-11-23 11:28:57 +01:00
eboado
0bca8c6519 Merge branch 'master' into feat/153-improve-docs 2020-11-23 11:15:31 +01:00
The3D
f1778b88d4 Removed the ^ on solidity version 2020-11-20 11:45:20 +01:00
The3D
8c03180f89 Updated solidity version 2020-11-20 11:41:58 +01: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
75c7d52031 removed hardhat console 2020-11-20 10:13:14 +01:00
David Racero
12d17179d6 Renamed ChainlinkProxyPriceProvider to AaveOracle 2020-11-17 10:24:24 +01:00
David Racero
27365697ac Added mainnet check list. Remove deployed contracts. Update README.md 2020-11-16 19:22:22 +01:00
David Racero
4df4841767 Rename AaveProtocolTestHelpers to AaveProtocolDataProvider. Add task to deploy AaveProtocolDataProvider. 2020-11-10 15:19:47 +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
David Racero
4b511188c7 Remove comment 2020-11-03 20:47:36 +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
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
andyk
f5d7d0192d fix bad merge mistakes 2020-11-02 15:00:24 +03:00
andyk
438ab0fca1 Merge branch 'feat/data-helpers' into feat/renameing 2020-11-02 14:50:41 +03:00
andyk
5b85aef283 add scaled/principal debt 2020-11-02 14:41:53 +03:00
pol
c74dbb0503 added correct call to get total stable debt 2020-11-02 12:16:10 +01:00
pol
7a8ed00909 principal and stable to total 2020-11-02 11:54:21 +01:00
pol
498a5b5e1f Renaming 2020-11-02 10:37:24 +01:00
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +01:00
andyk
18d7a44db5 removal of ReserveLogic.ReserveData from UI helper return 2020-10-30 13:14:42 +03:00
David Racero
a9e7fa3516 Added WETHGateway tests 2020-10-29 15:50:32 +01:00
David Racero
744befc46c Added deposit test for WETHGateway 2020-10-29 12:44:21 +01:00
David Racero
9317df9252 Added boilerplate deployment, getters and tests. 2020-10-28 18:06:24 +01:00
David Racero
8ad022979b Added WETHGateway 2020-10-28 15:41:31 +01:00
andyk
3400d3b2a8 Merge branch 'master' into feat/data-helpers 2020-10-27 16:01:18 +03:00
The3D
6a06a3e88f removed openzeppelin imports2 2020-10-15 15:41:56 +02:00