Commit Graph

807 Commits

Author SHA1 Message Date
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
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
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
The3D
8daa8130b7 Updated comment 2020-11-02 15:19:29 +01:00
The3D
1b021dca18 Added tests 2020-11-02 14:44:11 +01:00
The3D
a2f60470ec Removed getRevision in the DelegationAwareAToken 2020-11-02 13:35:05 +01:00
The3D
dae912ba3f add delegation aware aToken to the contract ids 2020-11-02 13:25:24 +01:00
The3D
473336955e added deployment function for delegation aware aToken 2020-11-02 13:22:26 +01:00
The3D
3570fc7803 Added delegation capabilities to the aToken 2020-11-02 12:54:56 +01:00
The3D
fa3d61be6f Updated event 2020-11-02 12:24:12 +01:00
Ernesto Boado
019c41e32a Merge branch 'fix/110' into 'master'
Resolve "Adapt mint/burn events of the stableDebtToken to include the new totalSupply"

Closes #110

See merge request aave-tech/protocol-v2!120
2020-11-02 11:20:07 +00:00
The3D
6536200eea Update mint/burn event on the stable debt token 2020-11-02 11:55:37 +01:00
Ernesto Boado
e5597b6156 Merge branch 'fix/108-redundancy-stable-debt' into 'master'
- Fixed redundant assignment on StableDebtToken.

Closes #108

See merge request aave-tech/protocol-v2!116
2020-11-02 10:26:11 +00:00
Ernesto Boado
c9bd6d97ff Merge branch 'fix/107-burn-event' into 'master'
- Fixed Burn event on AToken

Closes #107

See merge request aave-tech/protocol-v2!117
2020-11-02 10:25:58 +00:00
David Racero
e9d21ef74d Fixed conflicts 2020-11-02 10:20:59 +01:00
emilio
860402a94c updated comment 2020-11-02 09:17:48 +01:00
eboado
9fddcd0a20 - Fixed Burn event on AToken 2020-11-01 09:11:53 +01:00
eboado
0d7be4e7df - Fixed redundant assignment on StableDebtToken. 2020-11-01 09:03:45 +01:00
eboado
5d25b362ca - Removed unused _flashLiquidationLocked from LendingPoolStorage. 2020-11-01 08:53:33 +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
05d426645d Changed freezed to frozen 2020-10-31 13:47:16 +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
emilio
f0a9d18f51 fixed gas reporter import 2020-10-31 12:37:48 +01:00
emilio
08c8482cc1 Fixed conditions, removed console.log 2020-10-31 12:33:26 +01:00
emilio
d645155321 Updated configureAsCollateral 2020-10-31 12:17:59 +01:00
Ernesto Boado
f188fd5c8f Merge branch 'feat/reorg-errors' into 'master'
Resolve "Reorg `Errors.sol`"

Closes #54

See merge request aave-tech/protocol-v2!74
2020-10-30 16:03:04 +00:00
David Racero
1ac0a45394 Fix conflicts 2020-10-30 16:52:44 +01:00
eboado
929fd6bc83 - Removed buidler console.log from LendingPool 2020-10-30 16:40:49 +01:00
emilio
96d00edd00 Merge branch 'master' into fix/51 2020-10-30 16:21:37 +01:00
Ernesto Boado
8e08614145 Merge branch 'feat/102-batch-delegation-allowance' into 'master'
Added batch to credit delegation

Closes #102

See merge request aave-tech/protocol-v2!109
2020-10-30 15:15:35 +00:00
emilio
6f5bcddab1 fixed tests 2020-10-30 16:12:59 +01:00
eboado
cba766d282 Merge branch 'master' into feat/102-batch-delegation-allowance 2020-10-30 16:04:31 +01:00
The-3D
2ac63ef16d Merge branch 'fix/89-available-liquidity' into 'master'
Fixes #89

Closes #89

See merge request aave-tech/protocol-v2!103
2020-10-30 14:24:14 +00:00
emilio
b888fc12ab Merge branch 'master' into fix/51 2020-10-30 15:12:11 +01:00
eboado
a86902ee02 Merge branch 'master' into fix/89-available-liquidity 2020-10-30 15:02:40 +01:00
Ernesto Boado
22e4cc353c Merge branch '100/flash-loan-bath-modes' into 'master'
Added batch of modes to flashLoan()

Closes #100

See merge request aave-tech/protocol-v2!111
2020-10-30 14:01:52 +00:00
eboado
5a9a46a31f Merge branch 'master' into 100/flash-loan-bath-modes 2020-10-30 14:55:03 +01:00
Ernesto Boado
4e56df7d56 Merge branch 'certora/integration' into 'master'
Resolve "Integrating the certora formal verification rules in the CI"

Closes #59

See merge request aave-tech/protocol-v2!67
2020-10-30 13:48:25 +00:00
Ernesto Boado
8a9afaaea0 Merge branch 'feat/105-msgsender-executeOperation' into 'master'
Passed `initiator` param to flashLoan()'s executeOperation() receiver.

Closes #105

See merge request aave-tech/protocol-v2!114
2020-10-30 13:00:27 +00:00
David Racero
b3cc9d1a62 Fix conflicts 2020-10-30 13:40:06 +01:00
eboado
631d6ebfcb - Passed initiator param to flashLoan()'s executeOperation() receiver.
- Removed unused ISwapAdapter.
2020-10-30 13:32:42 +01:00
The-3D
38b579b44a Merge branch 'feat/104-withdraw-to' into 'master'
Added `to` to withdraw()

Closes #104

See merge request aave-tech/protocol-v2!113
2020-10-30 12:25:12 +00:00
eboado
b2bbe62822 - Added to to withdraw() 2020-10-30 12:38:41 +01:00
eboado
7227717a7a - Removed modes from validateFlashLoan. Not needed as executeBorrow() will fail. 2020-10-30 12:06:02 +01:00