Interface LiquidationOperationBuilderParameters

Parameters for building liquidation operations LiquidationOperationBuilderParameters

interface LiquidationOperationBuilderParameters {
    asset: PoolAssetConfig;
    borrowerAddress: Address;
    collateralAsset: bigint;
    includeUserCode: boolean;
    liquidationAmount: bigint;
    minCollateralAmount: bigint;
}

Properties

Asset configuration for the liquidation

borrowerAddress: Address

Address of the borrower being liquidated

collateralAsset: bigint

Asset ID of the collateral to be seized

includeUserCode: boolean

Whether to include user contract code update

liquidationAmount: bigint

Amount of debt to liquidate

minCollateralAmount: bigint

Minimum collateral amount expected from liquidation