Skip to content

API ReferenceLOC lifecycleInterface

LetterOfCreditLifecycle

Accumulated protocol facts. Redemption, liquidation and resolution are independent dimensions.

Properties

liquidation

liquidation: object;

Partial-liquidation and full-conversion facts, independently of redemption and resolution.

count

count: number;

Number of partial liquidations and full conversions.

fullConversion

fullConversion:
| LetterOfCreditConversion & object
| null;

Full-conversion outcome, or null if none occurred; any observed shortfall survives later resolution.

totalCollateralConverted

totalCollateralConverted: TokenAmount;

Total original collateral traded, excluding liquidator fees.

totalLiquidatorFees

totalLiquidatorFees: TokenAmount;

Total compensation paid in the original collateral token.


redemption

redemption: object;

Redemption facts accumulated through the aggregate’s index boundary.

count

count: number;

Number of partial and full redemptions.

totalCredited

totalCredited: TokenAmount;

Total credit paid by redemptions, in the original credited token.


resolution

resolution:
| LetterOfCreditResolution
| null;

Terminal settlement and its transaction, or null while the LOC remains unresolved. Expiration alone does not resolve a LOC.