Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Aave V3 EMode category handling (#4044)
* Refactor Aave V3 EMode category handling This commit refactors the Aave V3 EMode category handling by renaming some functions and variables for clarity. The changes include: - Renaming `getAaveV3EModeCategoryForAsset` to `getAaveV3EModeCategoryForAssets` for consistency. - Updating the function signature of `getAaveV3EModeCategoryForAssets` to accept `debtToken` and `collateralToken` parameters instead of a single `token` parameter. - Adding logic to determine the EMode category based on whether the collateral or debt token is correlated with ETH. - Renaming the `primaryTokenEModeCategory` and `secondaryTokenEModeCategory` variables to `strategyEmodeCategory` for better naming. These changes improve the readability and maintainability of the code related to Aave V3 EMode category handling. * Refactor Aave V3 EMode category handling
- Loading branch information