PoolSnapshot

scalus.cardano.ledger.epoch.PoolSnapshot
case class PoolSnapshot(stake: Coin, selfDelegatedOwners: Set[AddrKeyHash], selfDelegatedOwnersStake: Coin, vrfKeyHash: VrfKeyHash, pledge: Coin, cost: Coin, margin: UnitInterval, numDelegators: Int, rewardAccount: Credential)

One pool in a StakeSnapshot, the ledger's StakePoolSnapShot without the derived spssStakeRatio (cardano-ledger-core State/SnapShots.hs:160-185), ledger-rules spec [DM-10b], [SN-8].

Value parameters

cost

the fixed cost of the pool params

margin

the margin of the pool params

numDelegators

the number of registered accounts that delegate to the pool, whatever their stake

pledge

the pledge of the pool params

rewardAccount

the credential of the reward account of the pool params

selfDelegatedOwners

the owners whose key credential is a registered account that delegates to the pool

selfDelegatedOwnersStake

the sum of the active stake of selfDelegatedOwners

stake

the sum of the active stake of the credentials that delegate to the pool

vrfKeyHash

the VRF key of the pool params

Attributes

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