Commit Graph

244 Commits

Author SHA1 Message Date
David Racero
398335124f Added collateral test to flash liquidation 2020-09-09 15:43:02 +02:00
David Racero
2b930e4cd7 Merge branch 'feat/26-repay-collateral' of gitlab.com:aave-tech/protocol-v2 into feat/26-repay-collateral 2020-09-09 14:47:56 +02:00
David Racero
f1bd569346 Added reentrancy test and full amount flash liquidation test 2020-09-09 14:47:33 +02:00
eboado
75c5c7c615 - Added test for user's usage as collateral on repayWithCollateral(). 2020-09-09 14:22:35 +02:00
eboado
d828c63a83 - Added reset of user's usage as collateral on repayWithCollateral(). 2020-09-09 13:21:19 +02:00
eboado
91e064eb31 Merge branch 'feat/26-repay-collateral' of gitlab.com:aave-tech/protocol-v2 into feat/26-repay-collateral 2020-09-09 13:07:10 +02:00
eboado
37a9c7ad88 - Added reentrancy guard on repayWithCollateral() and test. 2020-09-09 13:06:46 +02:00
David Racero
863d888be6 Added flash-liquidation tests, mimics self-liquidation tests 2020-09-08 20:06:28 +02:00
eboado
56ddeceb94 - Added extra test of repayWithCollateral() on self-liquidation. 2020-09-08 16:25:16 +02:00
eboado
3aa0dbc570 - Added tests of repayWithCollateral(), only for self-liquidation. 2020-09-08 15:05:53 +02:00
eboado
2cbb1f5714 - Implemented repayWithCollateral() on LendingPoolLiquidationManager. 2020-09-03 15:46:45 +02:00
eboado
e4485f12fe - Refactored logic of repay() to an internal _executeRepay().
-  Initial implementation of flashCollateral() for flash liquidations, repayment with collateral and movement of position.
2020-08-26 16:02:22 +02:00
Ernesto Boado
cd09d04d30 Merge branch 'fix/lp-gas-optimization' into 'master'
Small lending pool gas optimization

See merge request aave-tech/protocol-v2!34
2020-08-25 12:59:12 +00:00
andyk
b0ddb815b8 small lending pool gas optimization 2020-08-25 13:37:38 +03:00
Ernesto Boado
eba3b5260f Merge branch 'fix/interest-strategy-styliguide' into 'master'
Refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide

See merge request aave-tech/protocol-v2!32
2020-08-25 09:11:58 +00:00
Ernesto Boado
639a2f2df0 Merge branch 'fix/lending-pool-styleguide' into 'master'
Fixes in lendingpool folder to follow our styleguide

See merge request aave-tech/protocol-v2!33
2020-08-25 09:11:07 +00:00
andyk
4b00cde616 fixes in lendingpool folder to follow our styleguide 2020-08-25 11:53:58 +03:00
andyk
da5b6738c1 refactoring of DefaultReserveInterestRateStrategy to follow the stuileguide 2020-08-24 15:35:59 +03:00
The3D
dfe865fc76 Removed unused code in tests 2020-08-24 01:46:15 +02:00
The3D
b2d8a9e053 Removed ETH specific logic in tests 2020-08-24 01:41:10 +02:00
Andrey Ko
45cb9ab680 Merge branch 'fix/22' into 'master'
Resolve "FIx the libraries folder to follow our internal guidelines"

Closes #22

See merge request aave-tech/protocol-v2!27
2020-08-21 20:34:28 +00:00
The3D
796dc8ee3f Updated repay function 2020-08-21 19:10:48 +02:00
The3D
9a4ccde6a2 Removed obsolete code 2020-08-21 19:00:08 +02:00
The3D
955d2be1da Merge branch 'master' into fix/22 2020-08-21 18:48:16 +02:00
The-3D
579f38e82a Merge branch 'fix/interfaces-guideline' into 'master'
Refactoring interfaces and config folders to fit current guideline

See merge request aave-tech/protocol-v2!28
2020-08-21 16:46:12 +00:00
The3D
bd0377198c Merge branch 'master' into fix/interfaces-guideline 2020-08-21 18:36:03 +02:00
The-3D
704aae7dba Merge branch 'fix/flash-loan-guideline' into 'master'
Refactoring flashloan folder to fit current guideline, move events to interfaces

See merge request aave-tech/protocol-v2!29
2020-08-21 16:31:47 +00:00
The3D
2ce03614a1 Deleted log files 2020-08-21 18:28:11 +02:00
The3D
1864c7abf4 Updated libraries, renamed internal methods 2020-08-21 18:18:12 +02:00
andyk
13f4d34867 refactoring flashloan folder to fit current guideline, move events to interfaces 2020-08-21 17:03:01 +03:00
The3D
78cf1d5bfd Merge branch 'master' into fix/22 2020-08-21 16:00:51 +02:00
andyk
2d0325a3d2 refactoring interfaces and config folders to fit current guideline 2020-08-21 16:38:47 +03:00
Andrey Ko
cdc7e4effc Merge branch 'fix/21' into 'master'
Resolve "Align the usage of _ to our internal guidelines"

Closes #21

See merge request aave-tech/protocol-v2!24
2020-08-21 13:23:53 +00:00
Andrey Ko
c340b9972f Merge branch 'master' into 'fix/21'
# Conflicts:
#   contracts/lendingpool/LendingPool.sol
2020-08-21 13:20:41 +00:00
The3D
b7fa1bcac8 Merge branch 'master' into fix/22 2020-08-21 15:14:43 +02:00
The3D
8fe40b4639 Initial update of ReserveLogic 2020-08-21 15:13:08 +02:00
The-3D
dfa64d63f3 Merge branch 'fix/misc-guideline' into 'master'
Refactoring misc folder to fit current guideline

See merge request aave-tech/protocol-v2!26
2020-08-21 13:03:47 +00:00
The-3D
9caf3ea60a Merge branch 'fix/tokenization-guideline' into 'master'
Refactoring tokenization folder to fit current guideline, small gas optimizations

See merge request aave-tech/protocol-v2!25
2020-08-21 13:03:30 +00:00
The3D
86541b3fe5 Fixed GenericLogic 2020-08-21 14:58:30 +02:00
The3D
e948101f87 Fixed Helpers 2020-08-21 14:54:07 +02:00
The3D
b13e08cfde Fixed UserConfiguration 2020-08-21 14:52:10 +02:00
The3D
e39cf64183 Updated ReserveConfiguration 2020-08-21 14:50:28 +02:00
andyk
83b499fd71 fix ci -5 2020-08-21 15:19:07 +03:00
andyk
19b259f959 fix ci -4 2020-08-21 15:16:30 +03:00
andyk
03669633cc fix ci -3 2020-08-21 15:15:52 +03:00
The3D
1dd2a638ca Updated LiquidationManager 2020-08-21 14:14:13 +02:00
andyk
e6633bdb01 fix ci -2 2020-08-21 15:13:19 +03:00
andyk
8b191d3d52 fix ci 2020-08-21 15:12:18 +03:00
andyk
2cc6aa9974 add test step to CI 2020-08-21 15:11:01 +03:00
The3D
38bff60298 Updated comments 2020-08-21 14:05:14 +02:00