scalus.cardano.ledger.epoch.StakeSnapshot
See theStakeSnapshot companion object
case class StakeSnapshot(activeStake: Map[Credential, Coin], delegations: Map[Credential, PoolKeyHash], pools: Map[PoolKeyHash, PoolSnapshot])
The stake of one boundary, the ledger's SnapShot, ledger-rules spec [DM-10a].
Value parameters
- activeStake
-
the stake of each registered credential that delegates to a pool and has stake above 0: the coin of its base-address outputs plus its reward balance, spec [SN-2] to [SN-5]
- delegations
-
the pool each credential of
activeStakedelegates to, with the same keys - pools
-
one entry per registered pool at the boundary, also a pool with no stake, spec [SN-7]
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article