MintRecord

@Serializable
data class MintRecord(val holder: ReplicaId, val amount: Long) : Comparable<MintRecord>

One act of introducing root supply: holder is credited amount units at the root path. Keyed in the ledger by a unique MintId so independently-recorded mints union rather than collide (design fix 4).

Constructors

Link copied to clipboard
constructor(holder: ReplicaId, amount: Long)

Properties

Link copied to clipboard

the units minted; non-negative.

Link copied to clipboard

the replica the minted supply is credited to.

Functions

Link copied to clipboard
open operator override fun compareTo(other: MintRecord): Int