TreasuryLedger

Read view over a domain's ledger, exposed to callers and to policy evaluation. Backed by a TreasuryLedgerStore.

Functions

Link copied to clipboard
suspend fun all(chainId: String? = null): List<TreasuryLedgerEntry>
Link copied to clipboard
suspend fun get(correlationId: String): TreasuryLedgerEntry?
Link copied to clipboard
suspend fun windowState(chainId: String, window: Duration, now: Instant): SpendPolicy.WindowState