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