Skip to content

API ReferenceLOC lifecycleType Alias

RedeemLiquidationResolver

type RedeemLiquidationResolver = (
context
) => RedeemLiquidationSelection | null | Promise<RedeemLiquidationSelection | null>;

Computes a liquidator selection when the form is submitted. Returning null explicitly selects self-liquidation.

Parameters

ParameterType
contextRedeemLiquidationContext

Returns

| RedeemLiquidationSelection | null | Promise< | RedeemLiquidationSelection | null>