TreasuryLedgerEntry

@Serializable
data class TreasuryLedgerEntry(val correlationId: String, val domainId: String, val payerDid: String, val chainId: String, val operation: String, val estimatedFeeAmount: String, val actualFeeAmount: String, val asset: String, val txHash: String? = null, val status: SettlementStatus, val atEpochMillis: Long)

Append-only audit entry for one ledger-touching operation. The treasury writes one entry per reservation (RESERVED), then updates it in place with the terminal status (SETTLED / CANCELLED / FAILED).

Implementations of TreasuryLedgerStore may choose to emit append-only deltas instead of mutating; consumers must treat the latest entry per correlationId as authoritative.

Constructors

Link copied to clipboard
constructor(correlationId: String, domainId: String, payerDid: String, chainId: String, operation: String, estimatedFeeAmount: String, actualFeeAmount: String, asset: String, txHash: String? = null, status: SettlementStatus, atEpochMillis: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard