Commit Graph

853 Commits

Author SHA1 Message Date
David Racero
8264835735 Merge branch '116-migrate-buidler-to-hardhat' of gitlab.com:aave-tech/protocol-v2 into 116-migrate-buidler-to-hardhat 2020-11-06 12:18:24 +01:00
David Racero
1ee5ac78af Fix typos 2020-11-06 12:16:36 +01:00
David Racero
ef9e32f13b Fix typos 2020-11-06 12:14:41 +01:00
David Racero
b5f2f283a2 Fix conflicts 2020-11-05 16:15:52 +01:00
David Racero
1c9eb2efbf Fix CI 2020-11-05 15:52:36 +01:00
David Racero
51b3fb1669 Fix migration logic 2020-11-05 15:31:35 +01:00
Ernesto Boado
dcf501204a Merge branch 'fix/114' into 'master'
Resolve "Separate the AaveAdmin from the pause function"

Closes #114

See merge request aave-tech/protocol-v2!125
2020-11-05 14:31:16 +00:00
emilio
57e444714d Merge branch 'master' into fix/114 2020-11-05 15:25:24 +01:00
Ernesto Boado
3cace25f62 Merge branch 'feat/refactor-delegation' into 'master'
Feat/refactor delegation

See merge request aave-tech/protocol-v2!124
2020-11-05 14:10:23 +00: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
b101af21cc Fixed certora harness 2020-11-05 14:43:39 +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
Ernesto Boado
73eb11f40e Merge branch 'feat/109-config-aave-token' into 'master'
AAVE Config, etherscan fixes, print contract addreses list after migration

Closes #109

See merge request aave-tech/protocol-v2!119
2020-11-05 08:34:58 +00:00
David Racero
8ab3bce12e Fixed conflicts 2020-11-05 09:20:50 +01:00
Ernesto Boado
671870b237 Merge branch '97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth' into 'master'
Create an utility contract to deposit/withdraw/repay with ETH

Closes #97

See merge request aave-tech/protocol-v2!102
2020-11-05 08:10:01 +00:00
David Racero
1480668f94 Fix domain separator 2020-11-04 21:03:58 +01:00
David Racero
d75c31db71 Added missing faucet tokens at Kovan 2020-11-04 20:51:45 +01:00
David Racero
5477ad2c8d Added configs 2020-11-04 16:33:03 +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
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
4893548d36 Added fallback/receive test 2020-11-03 14:06:10 +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
Ernesto Boado
688c7da6e6 Merge branch 'fix/113' into 'master'
Resolve "Remove duplicated code on flashloan"

Closes #113

See merge request aave-tech/protocol-v2!123
2020-11-03 11:49:52 +00: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
Ernesto Boado
43c66dc5cd Merge branch 'fix/112' into 'master'
Resolve "Emit event regarding set usage as collateral"

Closes #112

See merge request aave-tech/protocol-v2!122
2020-11-02 16:44:42 +00: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
The3D
73254a66aa Fixed test 2020-11-02 16:05:55 +01:00
Ernesto Boado
19b3d987f8 Merge branch 'fix/111' into 'master'
Resolve "Add a COMP-governance aware aToken"

Closes #111

See merge request aave-tech/protocol-v2!121
2020-11-02 14:52:01 +00: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
David Racero
3da870d167 Latest kovan release 2020-11-02 15:27:09 +01:00