Commit Graph

489 Commits

Author SHA1 Message Date
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
The3D
f188a21221 Fixed deployed-contracts 2020-09-21 10:12:04 +02:00
The3D
c7f0dfbaa9 Merge branch 'master' into fix/34 2020-09-21 10:03:18 +02:00
The-3D
a960e43dcf Merge branch '40-refactor-the-storage-of-lp' into 'master'
Resolve "Refactor the storage of lendingpool to LendingPoolStorage parent contract"

Closes #40

See merge request aave-tech/protocol-v2!51
2020-09-21 07:35:16 +00:00
The3D
7c5de62910 Merge branch 'master' into 40-refactor-the-storage-of-lp 2020-09-21 09:31:54 +02:00
The3D
52033bae21 Added console logs 2020-09-18 18:03:38 +02:00
The3D
5868a4844f Updated testsW 2020-09-18 17:56:33 +02:00
The3D
13f6c264b3 Partially fixed repay tests 2020-09-17 19:05:22 +02:00
The3D
72e2102529 removed other console.log 2020-09-17 16:40:23 +02:00
The3D
6df8a7a6e0 Removed console.log 2020-09-17 16:38:15 +02:00
The3D
bfe0657b1a Updated code to fix deposit and withdraw tests 2020-09-17 16:37:51 +02:00
The3D
e4890a14c2 Merge branch 'master' into fix/34 2020-09-17 11:55:38 +02:00
The3D
5c6a8b0926 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 2020-09-17 11:52:27 +02:00
The3D
5b38bb144b Updated borrow calculations on scenarios 2020-09-17 11:52:10 +02:00
The3D
7986a4704b Fixed mintToTreasury function 2020-09-17 10:53:55 +02:00