SnapShots

scalus.cardano.ledger.epoch.SnapShots
See theSnapShots companion object
case class SnapShots(mark: StakeSnapshot, set: StakeSnapshot, go: StakeSnapshot, fee: Coin)

The three stake snapshots and the fee snapshot of an epoch boundary, the ledger's SnapShots (cardano-ledger-core State/SnapShots.hs), ledger-rules spec [DM-9a].

SNAP makes a new mark at every boundary and moves the others down one: go := set, set := mark, spec [EB-6]. Rewards read go, the stake of two boundaries ago.

Value parameters

fee

the fees of the ledger at the last boundary, ssFee

go

the stake at the boundary before that, ssStakeGo

mark

the stake at the last boundary, ssStakeMark

set

the stake at the boundary before, ssStakeSet

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product