Module 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::events

@title Events module @author Aave @notice Implements the common events for different submodules

use 0x1::event;

Struct IsolationModeTotalDebtUpdated

@notice Emitted when the total debt in isolation mode is updated @dev Emitted on borrow(), repay() and liquidation_call() when using isolated assets @param asset The address of the underlying asset of the reserve @param total_debt The total isolation mode debt for the reserve

#[event]
struct IsolationModeTotalDebtUpdated has drop, store

Struct ReserveUsedAsCollateralEnabled

@notice Emitted when a reserve is enabled as collateral for a user @dev Emitted on supply(), set_user_use_reserve_as_collateral() @param reserve The address of the underlying asset of the reserve @param user The address of the user enabling the usage as collateral

#[event]
struct ReserveUsedAsCollateralEnabled has drop, store

Struct ReserveUsedAsCollateralDisabled

@notice Emitted when a reserve is disabled as collateral for a user @dev Emitted on finalize_transfer() @param reserve The address of the underlying asset of the reserve @param user The address of the user disabling the usage as collateral

#[event]
struct ReserveUsedAsCollateralDisabled has drop, store

Struct BalanceTransfer

@notice Emitted when a balance transfer occurs @dev Emitted during the transfer action @param from The user whose tokens are being transferred @param to The recipient @param value The scaled amount being transferred @param index The next liquidity index of the reserve @param a_token_address The address of the aToken

#[event]
struct BalanceTransfer has drop, store

Function emit_isolated_mode_total_debt_updated

@notice Emits an event when isolation mode total debt is updated @param asset The address of the underlying asset @param total_debt The updated total debt amount

public(friend) fun emit_isolated_mode_total_debt_updated(asset: address, total_debt: u256)

Function emit_reserve_used_as_collateral_enabled

@notice Emits an event when a reserve is enabled as collateral @param reserve The address of the reserve @param user The address of the user

public(friend) fun emit_reserve_used_as_collateral_enabled(reserve: address, user: address)

Function emit_reserve_used_as_collateral_disabled

@notice Emits an event when a reserve is disabled as collateral @param reserve The address of the reserve @param user The address of the user

public(friend) fun emit_reserve_used_as_collateral_disabled(reserve: address, user: address)

Function emit_balance_transfer

@notice Emits an event when a balance transfer occurs @param from The source address @param to The destination address @param value The amount being transferred (scaled) @param index The liquidity index @param a_token_address The address of the aToken

public(friend) fun emit_balance_transfer(from: address, to: address, value: u256, index: u256, a_token_address: address)