Commit Graph

1799 Commits

Author SHA1 Message Date
Hadrien Charlanes
ef62299da1 refactor: cheaper check first 2021-06-15 16:46:27 +02:00
Hadrien Charlanes
a792d5500f feat: Added validate Repay check to revert if borrow/repay in same tx 2021-06-15 16:41:02 +02:00
The-3D
4b12f1916c
Merge pull request #141 from aave/feat/gas-optimization-5
2.5 - Feat/gas optimization 5
2021-06-15 13:22:07 +02:00
emilio
e1b9b1241a Merge branch 'protocol-2.5' into feat/gas-optimization-5 2021-06-15 12:40:14 +02:00
The-3D
b3b8d11a8c
Merge pull request #145 from aave/feat/2.5-split-flashloan-fees
feat: split flashoan fees between fees to protocol and fees to LPs
2021-06-14 17:41:56 +02:00
Hadrien Charlanes
1abfdda4af fix: typo 2021-06-14 17:21:00 +02:00
Hadrien Charlanes
cdbfeef1dc doc: added natspec doc 2021-06-14 17:19:53 +02:00
Hadrien Charlanes
a579ca15d8 doc: added natspec doc to updateFlashloanPremiums and isFlashBorrowerAuthorized 2021-06-14 17:02:36 +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
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
ce6a07be62 fix: fixed test 2021-06-10 19:06:02 +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
Hadrien Charlanes
39301ebee1 feat: passed some internal validation functions to external for LendingPool codesize 2021-06-10 18:32:24 +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
The-3D
4a8d0748da
Merge pull request #143 from aave/feat/2.5-drop-one-reserve
Feat/2.5 drop one reserve
2021-06-09 01:09:16 +02:00
Hadrien Charlanes
d708ff4971 fix: added override to drop reserve function 2021-06-08 18:05:26 +02:00
Hadrien Charlanes
5bbbc78d0b fix: test naming 2021-06-08 18:04:33 +02:00
Hadrien Charlanes
58ab73272e test: added testing droped reserve is inactive 2021-06-08 17:58:36 +02:00
Hadrien Charlanes
a0f6199ea3 doc: added doc to drop reserve 2021-06-08 17:58:12 +02:00
Hadrien Charlanes
648604930e test: tested drop reserve 2021-06-08 17:57:53 +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
52b903cd20 feat: configurator: added reserveDropped event 2021-06-08 17:55:25 +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
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
Hadrien Charlanes
a0c92d47d0 fix-grammar: fixed typos 2021-06-04 09:53:48 +02:00
Hadrien Charlanes
3d3bdc2096 fix-grammar: fixed typos 2021-06-04 09:43:43 +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
Ernesto Boado
729194d587
Merge pull request #132 from aave/feat/gas-optimization-3
Feat/gas optimization 3
2021-06-03 11:47:07 +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