Commit Graph

503 Commits

Author SHA1 Message Date
The3D
35db5833fa Added test on disable stable borrow rate 2020-10-06 11:27:53 +02:00
The3D
3fd4003aa0 Added test on deactivate as collateral 2020-10-06 11:20:45 +02:00
The3D
450cdfa95c Updated tests on enableBorrowingOnReserve 2020-10-06 11:03:51 +02:00
The3D
bad45772c1 Updated tests on unfreeze 2020-10-06 11:02:34 +02:00
The3D
4d991e6709 Updated tests on freeze, borrowingEnabled 2020-10-06 10:59:33 +02:00
The3D
e86cf9fe0a Fixes liquidation bonus mask, adds comment on reserved bits 2020-10-06 10:23:02 +02:00
eboado
d56a7a2779 Misc changes on ReserveConfiguration:
- Fixed unprecise STABLE_BORROWING_MASK.
  - Added constant for start bit positions of the different configurations.
2020-09-30 11:24:22 +02:00
The-3D
f435b2fa0a Merge branch 'feat/52-getter-setter' into 'master'
Fixes #52

Closes #52

See merge request aave-tech/protocol-v2!61
2020-09-30 08:32:50 +00:00
eboado
3343769510 - Added setter tests for setAddress() on LendingPoolAddressesProvider 2020-09-29 17:00:51 +02:00
eboado
099532ee48 - Added general setter and getter of address to LendingPoolAddressesProvider.
- Adapted style of LendingPoolAddressesProviderRegistry, adding public getter function in the process.
2020-09-29 16:31:21 +02:00
Ernesto Boado
479f6f6b72 Merge branch 'fix/50-check-on-balancedecreaseallowed' into 'master'
Resolve "Fix: Check on balanceDecreaseAllowed() if the reserve liquidation threshold is 0, not the ltv"

Closes #50

See merge request aave-tech/protocol-v2!59
2020-09-28 14:37:03 +00:00
The3D
6d1fede2c9 Removed selected scenario from the scenario file 2020-09-25 13:48:42 +02:00
The3D
f0191909a2 Added more setUseReserveAsCollateral() scenarios tests 2020-09-25 11:51:35 +02:00
The3D
35044941b0 Fix test related to the LTV change 2020-09-25 11:20:12 +02:00
The3D
e328cf0482 Formatting, removed console import 2020-09-25 10:57:51 +02:00
The3D
687b13f019 Formatting, removed console import 2020-09-25 10:57:26 +02:00
The3D
fb0f533ae9 Changes usage of the ltv in calculateUserAccountData 2020-09-25 10:55:58 +02:00
The3D
6e7787d23c initial fix 2020-09-24 18:20:17 +02:00
Ernesto Boado
12d97f9f13 Merge branch 'fix/48-interest-rates-calculation' into 'master'
Resolve "Fix issue on the calculation of the interest rate on swapCollateral"

Closes #48

See merge request aave-tech/protocol-v2!57
2020-09-24 10:04:07 +00:00
The3D
6ee4b2725b Fix order of calculation of the interest rates 2020-09-24 10:00:17 +02:00
Ernesto Boado
ee0bc07238 Merge branch 'fix/47' into 'master'
Resolve "Fix transferFrom() on flashLoan()"

Closes #47

See merge request aave-tech/protocol-v2!56
2020-09-24 07:40:00 +00:00
Ernesto Boado
8901646f3c Merge branch 'fix/46' into 'master'
Resolve "improve test coverage of the AddressesProviderRegistry"

Closes #46

See merge request aave-tech/protocol-v2!55
2020-09-24 07:38:56 +00:00
The3D
7be723c773 Adds 100% test coverage to the addressesProviderRegistry 2020-09-23 17:59:43 +02:00
The3D
4e25657731 Updated transferFrom in repayWithCollateral() and swapLiquidity() 2020-09-23 15:19:21 +02:00
The3D
d724d1f58f Fixed comment 2020-09-23 14:39:17 +02:00
The3D
7c6034db67 Fixes the flashloan transferFrom() 2020-09-23 12:57:48 +02:00
The3D
7c892ec4ba added test on removal of an addresses provider 2020-09-23 12:34:53 +02:00
The3D
2a5547570c Adds another addresses provider test 2020-09-23 11:25:35 +02:00
The3D
06d16c6abf Added initial test for the registry 2020-09-23 11:21:49 +02:00
Ernesto Boado
f756f44a8d Merge branch 'fix/45' into 'master'
Resolve "Update rebalance conditions"

Closes #45

See merge request aave-tech/protocol-v2!54
2020-09-21 20:14:34 +00:00
The3D
12f1dbd0dc Readded calculateAvailableBorrowsETH 2020-09-21 22:08:44 +02:00
The3D
2e30bb8b85 Fixed error on rebalance conditions, changed style of internal functions 2020-09-21 21:15:12 +02:00
The3D
332cdff67a Merge branch 'master' into fix/45 2020-09-21 20:38:15 +02:00
Ernesto Boado
ed4e54d4c3 Merge branch 'fix/42' into 'master'
Resolve "Ensure that no more than 128 assets can be added to the reserve"

Closes #42

See merge request aave-tech/protocol-v2!53
2020-09-21 18:34:31 +00:00
The3D
45e4e0b5fe Merge branch 'master' into fix/42 2020-09-21 20:27:14 +02:00
The3D
75579e5d28 Merge branch 'master' into fix/45 2020-09-21 20:19:28 +02:00
The3D
07db321b4d updated rebalance conditions,tests 2020-09-21 19:52:22 +02:00
Ernesto Boado
a6fbea8a22 Merge branch 'fix/34' into 'master'
Resolve "Refactor variable debt token and stable debt token, add reserve factor"

Closes #34

See merge request aave-tech/protocol-v2!42
2020-09-21 17:40:57 +00:00
The3D
c346251df0 Added comments 2020-09-21 18:51:51 +02:00
The3D
c278832e5a Removed unused error code 2020-09-21 17:59:44 +02:00
The3D
e348c334e3 Cleaned up aToken, debt tokens code 2020-09-21 17:58:02 +02:00
The3D
9d1c13cf96 added events to mintToTreasury() 2020-09-21 17:41:38 +02:00
The3D
2ebe34a051 removed userIndex from variabledebttoken 2020-09-21 16:11:14 +02:00
The3D
8ed9b88163 fixed last tests on repayWithCollateral 2020-09-21 16:07:26 +02:00
The3D
b7c4a255a9 Refactored aToken 2020-09-21 15:58:19 +02:00
The3D
56be9304c2 Fixed rebalance rate tests 2020-09-21 15:52:53 +02:00
The3D
6f9ff11e49 Fixed credit delegation tests 2020-09-21 15:35:22 +02:00
The3D
a1a45d392a Updating rebalance rate tests 2020-09-21 15:27:53 +02:00
The3D
8792515f5b fixed swap rate mode tests 2020-09-21 14:29:59 +02:00
The3D
c8b044aecf Fixed borrow tests 2020-09-21 12:29:33 +02:00