export function calculateDistributionPlan({ proceeds, totalDebt, totalCollateral, oraclePriceAtStart, vaultsBalances, penaltyRate, }: { proceeds: AmountKeywordRecord; totalDebt: Amount<"nat">; totalCollateral: Amount<"nat">; oraclePriceAtStart: PriceDescription; vaultsBalances: VaultBalances[]; penaltyRate: Ratio; }): DistributionPlan; /** * The plan to execute for distributing proceeds of a liquidation. * * Vaults are referenced by index in the list sent to the calculator. */ export type DistributionPlan = { overage: Amount<"nat">; shortfallToReserve: Amount<"nat">; collateralForReserve: Amount<"nat">; actualCollateralSold: Amount<"nat">; collateralSold: Amount<"nat">; collatRemaining: Amount<"nat">; debtToBurn: Amount<"nat">; mintedForReserve: Amount<"nat">; mintedProceeds: Amount<"nat">; phantomDebt: Amount<"nat">; totalPenalty: Amount<"nat">; transfersToVault: [number, AmountKeywordRecord][]; vaultsToReinstate: number[]; }; export type VaultBalances = { collateral: Amount<"nat">; presaleDebt: Amount<"nat">; currentDebt: Amount<"nat">; }; import type { PriceDescription } from '@agoric/zoe/tools/types.js'; //# sourceMappingURL=proceeds.d.ts.map