EModeLogic

This contract records whenever a user switches their borrowing profile to a specific E-Mode category, enabling optimized risk management and potentially higher efficiency when borrowing correlated assets.

Events

  • UserEModeSet(user, categoryId) Emitted when a user changes their Efficiency Mode (E-Mode) configuration in the lending protocol.

    • user: The address of the user who set their E-Mode.

    • categoryId: The ID of the chosen E-Mode category, which determines custom risk parameters (e.g., higher LTVs for correlated assets like stablecoins).

[
  {
    "anonymous": false,
    "inputs": [
      { "indexed": true, "internalType": "address", "name": "user", "type": "address" },
      { "indexed": false, "internalType": "uint8", "name": "categoryId", "type": "uint8" }
    ],
    "name": "UserEModeSet",
    "type": "event"
  }
]

Last updated

Was this helpful?