Implements the SNAP rule from the Cardano ledger specification. Computes stake distribution from the current ledger state.
Deprecated, ledger-rules spec [DM-15]: the Emulator takes the stake snapshots of the ledger's SNAP at each epoch boundary; read them with Emulator.snapshots, a scalus.cardano.ledger.epoch.SnapShots, or the live stake with Emulator.stakeDistribution.
Attributes
Deprecated
[Since version 1.4.1] use scalus.cardano.ledger.epoch: Emulator.snapshots are the stake snapshots
Extracts each UTxO's delegation-part stake credential and sums the coin value of every UTxO that names it. Enterprise addresses (no delegation part) and pointer addresses (deprecated) contribute nothing.