Commit Graph

99 Commits

Author SHA1 Message Date
sendra
c1c2cffd26 remove try catch as it doesnt catch the implementation exeption 2021-04-26 17:51:39 +02:00
sendra
d36b9fd14c added other catch 2021-04-26 16:43:21 +02:00
sendra
f5f3adeb0f removed error from catch so it catches everything 2021-04-26 16:29:30 +02:00
sendra
8b8736dc5a Back to try catch, but with also 0 address catching 2021-04-26 15:26:36 +02:00
sendra
60ee0c54eb fix: added check if incentives contract is 0 2021-04-26 12:39:37 +02:00
sendra
60dc2346c8 fix: added try catch for incentives controller interactions 2021-04-26 12:26:30 +02:00
David Racero
2a19131b7a feat: Updated to new interface of Incentives Controller 2021-04-21 18:00:00 +02:00
sendra
717bb133e1 added unclaimed user rewards 2021-04-08 13:55:01 +02:00
sendra
dc2943f2ec removed incentives data, as it is hardcoded on client side 2021-04-07 17:44:29 +02:00
sendra
b84a486d10 removed extra external calls that are not needed 2021-04-06 16:17:04 +02:00
sendra
5ba17aa1c1 naming changed to IncentivesUserData 2021-03-30 13:19:47 +02:00
sendra
9ed357662b added public to incentives controller and price oracle so we can remove getters 2021-03-30 12:42:20 +02:00
sendra
99a0d17de4 reused local vars to not fill stack 2021-03-30 12:39:00 +02:00
sendra
e81ddb4e2f Added incentives information to UI data provider contract 2021-03-29 17:10:35 +02:00
sendra
2028631ad7 fixed not needed casting 2021-03-26 13:59:49 +01:00
sendra
83a499f299 added incentives emission for a / v /s tokens 2021-03-26 11:08:07 +01:00
sendra
f9cf541be1 Added incentives data to ui helper 2021-03-23 18:52:51 +01:00
Hadrien Charlanes
1656f1c6a3 Added Weth gateway contract in config, updated deployment 2021-02-22 14:26:05 +01:00
Hadrien Charlanes
dacf441916 Updated Weth gateway contract 2021-02-22 12:30:26 +01:00
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