30 lines
918 B
TypeScript
30 lines
918 B
TypeScript
export type PredictionBetSettlementStatus = 'won' | 'lost' | 'refunded' | 'step_advanced';
|
|
/**
|
|
* Records audit entry when a prediction bet is validated at maturity.
|
|
*/
|
|
export declare function logPredictionBetSettled(data: {
|
|
userId: string;
|
|
betId: string;
|
|
candleOpenMs: number;
|
|
status: PredictionBetSettlementStatus;
|
|
direction?: string;
|
|
outcomeType: string;
|
|
stakeRaw: string;
|
|
payoutRaw?: string;
|
|
predictionMode?: string;
|
|
intervalMinutes?: number;
|
|
}): Promise<void>;
|
|
/**
|
|
* Records audit entry when a candle predict round is settled at maturity.
|
|
*/
|
|
export declare function logPredictionRoundSettled(data: {
|
|
roundId: string;
|
|
candleOpenMs: number;
|
|
intervalMinutes: number;
|
|
outcomeType: string;
|
|
winner: string | null;
|
|
shortPool: number;
|
|
longPool: number;
|
|
betsSettled?: number;
|
|
}): Promise<void>;
|
|
//# sourceMappingURL=predictionAuditService.d.ts.map
|