Commit Graph

86 Commits

Author SHA1 Message Date
The3D
b6ae954093 fix: updated implementation of the atokens/debt tokens to store additional data (user index/borrow rate) per user 2021-07-27 10:05:55 +02:00
The3D
d62ef92d30 fix: improved block on borrow/repay in the same tx 2021-07-12 03:07:47 +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
7acbd2925b refactor: changed params names, removed redundant event 2021-07-01 19:55:30 +02:00
The3D
0fe470656e fix: various fixes and refactorings on the implementation 2021-07-01 16:59:14 +02:00
Hadrien Charlanes
66165c4fdd refactor: refactored the pause pool funciton. From global pause to reserve local pauses 2021-07-01 14:15:40 +02:00
Hadrien Charlanes
716d1ce68d fix: protected against disable as collateral + withdraw/transfer 2021-07-01 10:29:40 +02:00
Hadrien Charlanes
9f110e1d19 fix: protected against disable as collateral + withdraw 2021-06-30 18:34:53 +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
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
The-3D
6a69a00372
Merge pull request #152 from aave/feat/rebalance-eoa
2.5 - Enforce invocation from an EOA for rebalanceStableBorrowRate()
2021-06-15 20:21:43 +02:00
Hadrien Charlanes
ebe13276c2
Merge pull request #149 from aave/feat/docs-refactor
refactor: refactored docs in LendingPool.sol
2021-06-15 19:36:56 +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
emilio
bc31fe63d9 refactor: refactored docs, variable names 2021-06-15 16:18:42 +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
e1b9b1241a Merge branch 'protocol-2.5' into feat/gas-optimization-5 2021-06-15 12:40:14 +02:00
Hadrien Charlanes
1abfdda4af fix: typo 2021-06-14 17:21:00 +02:00
Hadrien Charlanes
a579ca15d8 doc: added natspec doc to updateFlashloanPremiums and isFlashBorrowerAuthorized 2021-06-14 17:02:36 +02:00
emilio
8451c88174 refactor:removed unneeded diff 2021-06-11 11:53:43 +02:00
emilio
760be1cb42 refactor: further refactored cache, changed linkage behavior of GenericLogic 2021-06-11 11:27:19 +02:00
Hadrien Charlanes
e416c10c67 fix: event now emit total flashloa premium 2021-06-10 19:09:47 +02:00
Hadrien Charlanes
a6b71313e1 feat: Added configurator managing flashloan premiums 2021-06-10 19:05:50 +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
85c477f422 test: commited first tests 2021-06-10 12:29:50 +02:00
Hadrien Charlanes
b33fd05b14 fix: removed useless caching variable 2021-06-09 18:15:43 +02:00
Hadrien Charlanes
9cbda77b27 feat: split flashoan fees between fees to protocol and fees to LPs 2021-06-09 18:12:33 +02:00
Hadrien Charlanes
d0841097e6 fix: drop reserve logic updated 2021-06-08 17:56:39 +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
c794a697a7 Merge branch 'protocol-2.5' into feat/gas-optimization-5 2021-06-04 17:26:24 +02:00
The-3D
8926371a37
Merge pull request #117 from aave/feat/2.5-flashloan-whitelist
Feat/2.5 flashloan whitelist
2021-06-04 16:35:22 +02:00
The3D
044b492f7f refactor: further refactored the CachingHelper 2021-06-04 14:47:02 +02:00
Hadrien Charlanes
b03710b9dc refactor: LendingPool: flash loan borrowers authorization functions merged into one 2021-06-04 09:55:36 +02:00
The3D
360e83fd05 refactor: further refactored the cache layer and replaced reads/calls 2021-06-03 21:28:21 +02:00
The3D
6cdfd8e31b feat: initial cache layer implementation 2021-06-03 14:10:50 +02:00
Hadrien Charlanes
5a8572d568 feat: added collateral withdrawal check regarding exposure cap 2021-06-03 11:24:01 +02:00
The3D
d013c6e9ce test: added mintToTreasury() test 2021-06-03 11:09:48 +02:00
The3D
0326259c03 fix: added check to avoid dropped reserves 2021-06-01 20:41:35 +02:00
The3D
054dd5973e fix: changed event name 2021-06-01 20:24:51 +02:00
The3D
ec0199e3d7 Merge branch 'protocol-2.5' into feat/gas-optimization-3 2021-06-01 20:22:58 +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
b6f8dedfca refactor: refactor validation logic after merging validateHealthFactor 2021-05-26 09:21:49 +02:00
Hadrien Charlanes
2019b5f500 feat: implemented pause validation for reserve assets 2021-05-26 09:19:59 +02:00
Hadrien Charlanes
335b13e891 review-fix: mul => percentMul in premium 2021-05-21 03:44:04 +02:00