Commit Graph

16 Commits

Author SHA1 Message Date
David Racero
167bca74ab Added borrowETH to WETHGateway. 2020-11-06 13:22:03 +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
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +01: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