Grant

data class Grant(val attachment: AttachmentId, val amount: Long)

The outcome of one HeddlePolicy.pick: delegate amount service units down the edge named by attachment. The caller applies the patch to its ledger before the next pick (design §7.3 step 5).

Constructors

Link copied to clipboard
constructor(attachment: AttachmentId, amount: Long)

Properties

Link copied to clipboard

the quantum to delegate; always > 0.

Link copied to clipboard

which child edge wins this round.