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 |
|
Hadrien Charlanes
|
e79f59d2c5
|
test: added tests to exposure cap
|
2021-06-07 16:11:03 +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 |
|
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 |
|
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 |
|
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 |
|
Hadrien Charlanes
|
3b0f7b18c0
|
test: added tests on configurator on exposure cap update functions
|
2021-06-03 09:02:00 +02:00 |
|
Hadrien Charlanes
|
360e2e74a6
|
feat: updated configs to add exposure caps
|
2021-06-02 17:58:33 +02:00 |
|
Hadrien Charlanes
|
1e55bb69ab
|
feat: added exposure cap to init reserve as collateral function
|
2021-06-02 17:58:06 +02:00 |
|
Hadrien Charlanes
|
31f78a1537
|
feat: addind exposure caps to reserve config, condigurator and helpers
|
2021-06-02 16:44:03 +02:00 |
|