👻
AaveV3SetEMode
Action ID: 0x3d35d254
Set positions eMode on AaveV3.
const aaveSetEModeAction = new dfs.actions.aaveV3.AaveV3SetEModeAction(
categoryId, useDefaultMarket, market,
);
This is a DFS STANDARD_ACTION.
Input:
/// @param categoryId eMode category id (0 - 255)
/// @param useDefaultMarket If true the action will inject aave default market
/// @param market Address provider for specific market
struct Params {
uint8 categoryId;
bool useDefaultMarket;
address market;
}
Return value:
return bytes32(categoryId);
Events:
emit ActionEvent("AaveV3SetEMode", logData);
logger.logActionDirectEvent("AaveV3SetEMode", logData);
bytes memory logData = abi.encode(_market, _categoryId)
Last modified 7mo ago