Commit Graph

90 Commits

Author SHA1 Message Date
emilio
89e03892f1 refactor: refactored tests, removed last exposure ceiling references 2021-07-11 20:00:45 +02:00
The3D
c1db1f8953 tests: updated tests for the ltv validation 2021-07-06 18:51:08 +02:00
The3D
7f3bf12d23 docs: removed obsolete comment 2021-07-05 19:55:56 +02:00
The3D
a98956f8b2 fix: remove exposure cap specific code and configuration 2021-07-05 19:54:59 +02:00
The-3D
cf54f4ca2d
Merge pull request #174 from aave/feat/2.5-remove-global-pause
Refactor: refactored the pause pool function. From global pause to local ones
2021-07-01 20:02:51 +02:00
The3D
0fe470656e fix: various fixes and refactorings on the implementation 2021-07-01 16:59:14 +02:00
Hadrien Charlanes
79a8d2bba6 doc: added deprecated notice 2021-07-01 16:50:17 +02:00
Hadrien Charlanes
716d1ce68d fix: protected against disable as collateral + withdraw/transfer 2021-07-01 10:29:40 +02:00
Hadrien Charlanes
9bd5b99654 fix: fixed error on balance" 2021-06-30 17:14:36 +02:00
The3D
435c34fefd fix: changed conditions of the exposure ceiling 2021-06-28 16:41:35 +02:00
The3D
715635def4 Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-28 14:31:17 +02:00
The3D
d2d7e48ee3 refactor: optimization on getUserAccountData() 2021-06-28 14:30:07 +02:00
The3D
ef5dac3268 Merge branch 'protocol-2.5' into feat/protocol-2.5/borrow-repay-same-block 2021-06-22 18:22:07 +02:00
The3D
d52046dbbc test: updated tests for the borrow/repay validation 2021-06-22 18:01:13 +02:00
Hadrien Charlanes
22bbb96261 test: added requirements in update premium functions of configurator 2021-06-22 12:38:34 +02:00
Hadrien Charlanes
a0a185fbf6 feat: added new Errors.VL_SAME_BLOCK_BORROW 2021-06-21 12:58:20 +02:00
Hadrien Charlanes
09233d09bf feat: added storage and check that repayer is not the last borrower of a reserve 2021-06-21 12:25:33 +02:00
Hadrien Charlanes
369e25f5d8
Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-17 11:16:50 +02:00
emilio
cce28ab4ea refactor: moved check to validateRebalanceStableBorrowRate 2021-06-15 18:56:38 +02:00
emilio
0a58e714bf feat: added isContract() check on rebalanceStableBorrowRate() 2021-06-15 18:38:51 +02:00
Hadrien Charlanes
9727c0ab79
Merge branch 'protocol-2.5' into feat/2.5-exposure-ceiling 2021-06-15 14:13:25 +02:00
emilio
978f6c9385 refactor:removed unused/unneeded fields in the cache object 2021-06-14 15:47:13 +02:00
emilio
9f71c7da8e comments: fixed natspec comments on validation 2021-06-13 21:54:23 +02:00
emilio
0965a99d88 refactor: fixed natspec comments and removed redunant check in refreshDebt() 2021-06-13 21:15:06 +02:00
emilio
dd07e934c2 comments: updated comments 2021-06-11 19:45:31 +02:00
emilio
065799eb29 comments: added comments to cache() and refreshDebt() 2021-06-11 17:03:52 +02:00
emilio
760be1cb42 refactor: further refactored cache, changed linkage behavior of GenericLogic 2021-06-11 11:27:19 +02:00
emilio
666c6a0666 Merge branch 'protocol-2.5' into feat/gas-optimization-5 2021-06-10 18:52:16 +02:00
emilio
61217d1ee5 refactor: further refactored the caching logic 2021-06-10 18:18:01 +02:00
Hadrien Charlanes
46d14e9124 refactor: changed the order of requirements in validateDropReserve for easier testing 2021-06-08 17:57:15 +02:00
Hadrien Charlanes
68b7384146 rename: renamed NOT_NULL Errors to NOT_ZERO 2021-06-08 17:56:57 +02:00
Hadrien Charlanes
d0841097e6 fix: drop reserve logic updated 2021-06-08 17:56:39 +02:00
Hadrien Charlanes
776220d705 feat: removed user updates on droped reserves 2021-06-08 17:53:52 +02:00
Hadrien Charlanes
e2edf016eb feat: added drop reserve main capability 2021-06-08 17:52:30 +02:00
emilio
b8fb9e592f refactor: updated cache field names 2021-06-08 10:44:16 +02:00
The3D
86686ef3be refactor: further refactored the cache helper functions 2021-06-07 18:02:13 +02:00
The3D
044b492f7f refactor: further refactored the CachingHelper 2021-06-04 14:47:02 +02:00
The3D
360e83fd05 refactor: further refactored the cache layer and replaced reads/calls 2021-06-03 21:28:21 +02:00
Hadrien Charlanes
7a80d5cd14 feat: allowed people to withdraw colleteral that exceeded the exposure cap if their ltv still superior to their liq threshold 2021-06-03 18:19:38 +02:00
Hadrien Charlanes
485a41a0ef feat: added exposure cap == 0 means no exposure cap 2021-06-03 16:33:26 +02:00
Hadrien Charlanes
129a96a3cf fix: exposure cap is on supply of collaterals, not on debts.. 2021-06-03 16:31:09 +02:00
The3D
6cdfd8e31b feat: initial cache layer implementation 2021-06-03 14:10:50 +02:00
Hadrien Charlanes
68ff74a3a6 feat: added exposure cap logic in calculateUserAccountData 2021-06-03 11:57:14 +02:00
Hadrien Charlanes
5a8572d568 feat: added collateral withdrawal check regarding exposure cap 2021-06-03 11:24:01 +02:00
Hadrien Charlanes
31f78a1537 feat: addind exposure caps to reserve config, condigurator and helpers 2021-06-02 16:44:03 +02:00
The3D
ec0199e3d7 Merge branch 'protocol-2.5' into feat/gas-optimization-3 2021-06-01 20:22:58 +02:00
Hadrien Charlanes
0b0996b49c feat: added risk admins 2021-05-31 13:39:53 +02:00
Hadrien Charlanes
992e026075 revert: Revert control access of transfer back to LendingPool contract 2021-05-31 10:49:25 +02:00
Hadrien Charlanes
15a1d1608a merge-fix: finishing resolving conflicts: naming convention. Fix: removed transfer aToken origin check from lendingPool to Validation Logic 2021-05-31 10:37:42 +02:00
Hadrien Charlanes
a4b6064f56 rebase: resolved conflicts after rebase: market config, internal/external validation for codesize and fixed bad conflict resolution 2021-05-26 09:27:45 +02:00