Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Ledger.State.UTxO
Documentation
type CurrentEra = ConwayEra Source #
writeEpochState ∷ FilePath → EpochState CurrentEra → IO () Source #
txIdSharing ∷ UTxOFold (Map TxId (IntMap (TxOut CurrentEra))) Source #
readBinUTxO ∷ FilePath → IO (UTxO CurrentEra) Source #
Constructors
Stat | |
Fields
|
Instances
Ord k ⇒ Monoid (Stat k) Source # | |
Ord k ⇒ Semigroup (Stat k) Source # | |
AggregateStat (Stat (Credential 'Staking)) Source # | |
Defined in Cardano.Ledger.State.UTxO Methods aggregateStat ∷ Stat (Credential 'Staking) → AggregateStats Source # | |
AggregateStat (Stat (KeyHash 'StakePool)) Source # | |
Defined in Cardano.Ledger.State.UTxO Methods aggregateStat ∷ Stat (KeyHash 'StakePool) → AggregateStats Source # | |
AggregateStat (Stat ScriptHash) Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty (Stat k) Source # | |
statSingleton ∷ a → Stat a Source #
statMapKeys ∷ Map k v → Stat k Source #
data SnapShotStats Source #
Constructors
SnapShotStats | |
Fields
|
Instances
Monoid SnapShotStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods mappend ∷ SnapShotStats → SnapShotStats → SnapShotStats # mconcat ∷ [SnapShotStats] → SnapShotStats # | |
Semigroup SnapShotStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods (<>) ∷ SnapShotStats → SnapShotStats → SnapShotStats # sconcat ∷ NonEmpty SnapShotStats → SnapShotStats # stimes ∷ Integral b ⇒ b → SnapShotStats → SnapShotStats # | |
AggregateStat SnapShotStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty SnapShotStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
data PoolParamsStats Source #
Constructors
PoolParamsStats | |
Instances
Monoid PoolParamsStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods mappend ∷ PoolParamsStats → PoolParamsStats → PoolParamsStats # | |
Semigroup PoolParamsStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods (<>) ∷ PoolParamsStats → PoolParamsStats → PoolParamsStats # sconcat ∷ NonEmpty PoolParamsStats → PoolParamsStats # stimes ∷ Integral b ⇒ b → PoolParamsStats → PoolParamsStats # | |
AggregateStat PoolParamsStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty PoolParamsStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
data RewardUpdateStats Source #
Constructors
RewardUpdateStats |
Instances
AggregateStat RewardUpdateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty RewardUpdateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods pretty ∷ RewardUpdateStats → Doc ann Source # prettyList ∷ [RewardUpdateStats] → Doc ann Source # |
data PoolDistrStats Source #
Constructors
PoolDistrStats | |
Fields
|
Instances
AggregateStat PoolDistrStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty PoolDistrStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
data NewEpochStateStats Source #
Constructors
NewEpochStateStats | |
Fields |
Instances
Pretty NewEpochStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods pretty ∷ NewEpochStateStats → Doc ann Source # prettyList ∷ [NewEpochStateStats] → Doc ann Source # |
data EpochStateStats Source #
Constructors
EpochStateStats | |
Instances
Pretty EpochStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
data DStateStats Source #
Constructors
DStateStats | |
Fields
|
Instances
AggregateStat DStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty DStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
data PStateStats Source #
Constructors
PStateStats | |
Fields |
Instances
AggregateStat PStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty PStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
data LedgerStateStats Source #
Constructors
LedgerStateStats | |
Fields |
Instances
AggregateStat LedgerStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty LedgerStateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods pretty ∷ LedgerStateStats → Doc ann Source # prettyList ∷ [LedgerStateStats] → Doc ann Source # |
countTxInStats ∷ [TxIn] → TxInStats Source #
data TxOutStats Source #
Constructors
TxOutStats | |
Fields
|
Instances
Monoid TxOutStats Source # | |
Defined in Cardano.Ledger.State.UTxO | |
Semigroup TxOutStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods (<>) ∷ TxOutStats → TxOutStats → TxOutStats # sconcat ∷ NonEmpty TxOutStats → TxOutStats # stimes ∷ Integral b ⇒ b → TxOutStats → TxOutStats # | |
AggregateStat TxOutStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty TxOutStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
Constructors
UTxOStats | |
Fields |
Instances
AggregateStat UTxOStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods | |
Pretty UTxOStats Source # | |
data AggregateStats Source #
Constructors
AggregateStats | |
Fields
|
Instances
Monoid AggregateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods mappend ∷ AggregateStats → AggregateStats → AggregateStats # mconcat ∷ [AggregateStats] → AggregateStats # | |
Semigroup AggregateStats Source # | |
Defined in Cardano.Ledger.State.UTxO Methods (<>) ∷ AggregateStats → AggregateStats → AggregateStats # sconcat ∷ NonEmpty AggregateStats → AggregateStats # stimes ∷ Integral b ⇒ b → AggregateStats → AggregateStats # | |
Pretty AggregateStats Source # | |
Defined in Cardano.Ledger.State.UTxO |
class AggregateStat s where Source #
Methods
aggregateStat ∷ s → AggregateStats Source #
Instances
data UTxOUniques Source #
Constructors
UTxOUniques | |
Fields
|
data UTxOStats' Source #
Constructors
UTxOStats' | |
Instances
Show UTxOStats' Source # | |
Defined in Cardano.Ledger.State.UTxO Methods showsPrec ∷ Int → UTxOStats' → ShowS # show ∷ UTxOStats' → String # showList ∷ [UTxOStats'] → ShowS # |
collectStats ∷ ConduitT (TxIn, TxOut CurrentEra) Void IO () Source #
reportStats ∷ UTxOUniques → UTxOStats' → IO () Source #