Commit Graph

526 Commits

Author SHA1 Message Date
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
The3D
bcdef6fa7e Added change to the stabledebttoken 2020-09-16 20:00:13 +02:00
The3D
5c2ec07b70 Fixes #42 2020-09-16 17:12:07 +02:00
The-3D
faf15605bf Merge branch '41-rename-liqudiationmanager' into 'master'
Misc renaming

Closes #41

See merge request aave-tech/protocol-v2!52
2020-09-16 14:45:52 +00:00
The3D
570a81a1b2 Fixed aToken deployment function 2020-09-16 16:44:27 +02:00
The3D
274b63713d Merge branch 'master' into fix/34 2020-09-16 16:34:29 +02:00
andyk
9594571761 Merge branch 'master' into 41-rename-liqudiationmanager 2020-09-16 15:22:55 +01:00
The3D
d06e3a39fc Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 2020-09-16 16:04:19 +02:00
andyk
373bac109b small comments fixes 2020-09-16 15:45:49 +03:00
andyk
2a6248c6d2 misc renaming 2020-09-16 15:09:42 +03:00
Ernesto Boado
b182731074 Merge branch 'feat/pei-integration' into 'master'
Integration of pei

See merge request aave-tech/protocol-v2!49
2020-09-16 11:17:05 +00:00
Ernesto Boado
9b2380c5bd Merge branch 'fix/no-swap-to-freezed' into 'master'
Disallow liquiditySwap with freezed reserve as to

See merge request aave-tech/protocol-v2!50
2020-09-16 11:15:48 +00:00
andyk
66113d64a2 rename LendingPoolLiquidationManager -> LendingPoolCollateralManager 2020-09-16 13:41:12 +03:00
andyk
83e0318bc6 add logic to set usageAsCollateralEnabled for the user if his balance was 0 before swap 2020-09-16 13:30:57 +03:00