Reservation

data class Reservation(val id: String, val domainId: DomainId, val chainId: String, val locked: TokenAmount, val correlationId: String, val createdAt: Instant, val ttl: Duration = DEFAULT_TTL)

Handle returned by DomainTreasury.reserve. Captures the amount locked against a ChainAccount for the duration of a single ledger-touching operation. The reservation must be settled or cancelled — orphaned reservations are auto-cancelled after their ttl.

Constructors

Link copied to clipboard
constructor(id: String, domainId: DomainId, chainId: String, locked: TokenAmount, correlationId: String, createdAt: Instant, ttl: Duration = DEFAULT_TTL)

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
val id: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard