ledger-state-9.9.9.9
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.State.UTxO

Documentation

runConduitFoldMonad m ⇒ ConduitT () a m () → Fold a b → m b Source #

txIdSharing_UTxOFold (Map TxId (IntMap ())) Source #

txIdNestedInsertMap TxId (IntMap a) → (TxIn, a) → Map TxId (IntMap a) Source #

txIxSharingFold (TxIn, a) (IntMap (Map TxId a)) Source #

txIxSharing_UTxOFold (IntMap (Map TxId ())) Source #

txIxNestedInsert ∷ IntMap (Map TxId a) → (TxIn, a) → IntMap (Map TxId a) Source #

newtype Count Source #

Constructors

Count Int 

Instances

Instances details
Enum Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

succCountCount #

predCountCount #

toEnumIntCount #

fromEnumCountInt #

enumFromCount → [Count] #

enumFromThenCountCount → [Count] #

enumFromToCountCount → [Count] #

enumFromThenToCountCountCount → [Count] #

Num Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

(+)CountCountCount #

(-)CountCountCount #

(*)CountCountCount #

negateCountCount #

absCountCount #

signumCountCount #

fromIntegerIntegerCount #

Integral Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

quotCountCountCount #

remCountCountCount #

divCountCountCount #

modCountCountCount #

quotRemCountCount → (Count, Count) #

divModCountCount → (Count, Count) #

toIntegerCountInteger #

Real Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

toRationalCountRational #

Eq Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

(==)CountCountBool #

(/=)CountCountBool #

Ord Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

compareCountCountOrdering #

(<)CountCountBool #

(<=)CountCountBool #

(>)CountCountBool #

(>=)CountCountBool #

maxCountCountCount #

minCountCountCount #

Pretty Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

prettyCountDoc ann Source #

prettyList ∷ [Count] → Doc ann Source #

data Stat k Source #

Constructors

Stat 

Fields

Instances

Instances details
Ord k ⇒ Monoid (Stat k) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

memptyStat k #

mappendStat k → Stat k → Stat k #

mconcat ∷ [Stat k] → Stat k #

Ord k ⇒ Semigroup (Stat k) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

(<>)Stat k → Stat k → Stat k #

sconcatNonEmpty (Stat k) → Stat k #

stimesIntegral b ⇒ b → Stat k → Stat k #

AggregateStat (Stat (Credential 'Staking)) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat (Stat (KeyHash 'StakePool)) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat (Stat ScriptHash) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Pretty (Stat k) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

prettyStat k → Doc ann Source #

prettyList ∷ [Stat k] → Doc ann Source #

data Percent Source #

Constructors

Percent Int Int 

Instances

Instances details
Pretty Percent Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

prettyPercentDoc ann Source #

prettyList ∷ [Percent] → Doc ann Source #

intPercentIntegral i ⇒ Int → i → Percent Source #

statSetSet a → Stat a Source #

mapStatOrd b ⇒ (a → b) → Stat a → Stat b Source #

statMapKeysMap k v → Stat k Source #

statFoldable ∷ (Ord a, Foldable t) ⇒ t a → Stat a Source #

prettyRecordDoc ann → [Doc ann] → Doc ann Source #

(<:>) ∷ (Typeable a, Pretty a) ⇒ Doc ann → a → Doc ann infixr 6 Source #

data TxInStats Source #

Constructors

TxInStats 

Fields

Instances

Instances details
Pretty TxInStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

prettyTxInStatsDoc ann Source #

prettyList ∷ [TxInStats] → Doc ann Source #

data UTxOStats Source #

Constructors

UTxOStats 

Instances

Instances details
AggregateStat UTxOStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Pretty UTxOStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

prettyUTxOStatsDoc ann Source #

prettyList ∷ [UTxOStats] → Doc ann Source #

class AggregateStat s where Source #

Instances

Instances details
AggregateStat DStateStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat LedgerStateStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat PStateStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat PoolDistrStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat PoolParamsStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat RewardUpdateStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat SnapShotStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat TxOutStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat UTxOStats Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat (Stat (Credential 'Staking)) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat (Stat (KeyHash 'StakePool)) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

AggregateStat (Stat ScriptHash) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO