Commit Graph

333 Commits

Author SHA1 Message Date
The3D
0c8efc2261 Added negative test on setUsageAsCollateral(), clearer require condition 2020-11-10 13:45:08 +01:00
eboado
f46bef2b00 - Reordered rest of config parameters. 2020-11-09 10:05:03 +01:00
andyk
efb77fdf4c Merge branch 'master' into feat/data-helpers 2020-11-06 15:54:50 +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
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
The3D
7b6058fe3b removed unused code 2020-11-06 13:02:49 +01:00
The-3D
7d4dd6d0e0 Merge branch 'feat/117-oracle-weth' into 'master'
Added management of WETH to ChainlinkProxyPriceProvider.

Closes #117

See merge request aave-tech/protocol-v2!128
2020-11-06 11:51:59 +00:00
eboado
3aa5de28b4 - Added management of WETH to ChainlinkProxyPriceProvider. 2020-11-06 12:09:24 +01:00
David Racero
b5f2f283a2 Fix conflicts 2020-11-05 16:15:52 +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
David Racero
729b642ea5 Support Buidler to run solidity-coverage until is ported. 2020-11-05 14:43:17 +01:00
emilio
69c3d5b9b7 Adds Emergency admin 2020-11-05 12:35:50 +01:00
David Racero
21e57a1a37 Migrate buidler to hardhat 2020-11-05 12:18:20 +01:00
David Racero
8ab3bce12e Fixed conflicts 2020-11-05 09:20:50 +01:00
David Racero
1480668f94 Fix domain separator 2020-11-04 21:03:58 +01:00
David Racero
86f79b4c13 Reserves Configuration 2020-11-04 13:22:40 +01:00
emilio
add6cad5c3 Fixed scenarios, tests, removed console.log 2020-11-04 11:12:26 +01:00
David Racero
46a42233c6 Test emergency Ether withdrawal via self-destruct 2020-11-03 21:04:48 +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
4893548d36 Added fallback/receive test 2020-11-03 14:06:10 +01:00
David Racero
5f37f317e9 Added fallback function 2020-11-03 13:51:10 +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
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
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
73254a66aa Fixed test 2020-11-02 16:05:55 +01:00
The3D
1b021dca18 Added tests 2020-11-02 14:44:11 +01:00
David Racero
d22a6f629b Remove LEND config and fix tests to use AAVE conversion 100:1 2020-11-02 12:37:57 +01:00
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +01:00
Ernesto Boado
282e6093bb Merge branch 'fix/51' into 'master'
Resolve "Remove the disable as collateral function on LendingPoolConfigurator"

Closes #51

See merge request aave-tech/protocol-v2!60
2020-10-31 17:41:48 +00:00
emilio
07429b0a57 Fixed P_IS_PAUSED 2020-10-31 13:55:19 +01:00
emilio
3f7bb806ac Merge branch 'master' into fix/51 2020-10-31 13:10:26 +01:00
emilio
72fe465782 fixed test 2020-10-31 12:42:14 +01:00
David Racero
1ac0a45394 Fix conflicts 2020-10-30 16:52:44 +01:00
emilio
96d00edd00 Merge branch 'master' into fix/51 2020-10-30 16:21:37 +01:00
eboado
cba766d282 Merge branch 'master' into feat/102-batch-delegation-allowance 2020-10-30 16:04:31 +01:00
emilio
b888fc12ab Merge branch 'master' into fix/51 2020-10-30 15:12:11 +01:00
eboado
5a9a46a31f Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 14:55:03 +01:00
David Racero
b3cc9d1a62 Fix conflicts 2020-10-30 13:40:06 +01:00
eboado
b2bbe62822 - Added to to withdraw() 2020-10-30 12:38:41 +01:00
eboado
1954f609c2 Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 11:40:31 +01:00
David Racero
951e749c1e Merge master 2020-10-29 18:15:07 +01:00