Skip to main content

Interface: CreditEvent

Defined in: javascript/src/stores/events.ts:54

A typed credit lifecycle event.

Money values inside data (amount, balanceAfter, allowanceConsumed, threshold, …) are exact Decimal instances (contract §1/§6), never binary number.

Properties

data?

optional data?: Record<string, unknown>

Defined in: javascript/src/stores/events.ts:58


timestamp

timestamp: Date

Defined in: javascript/src/stores/events.ts:56


type

type: CreditEventType

Defined in: javascript/src/stores/events.ts:55


userId

userId: string

Defined in: javascript/src/stores/events.ts:57