ledger-state-9.9.9.9
Safe HaskellNone
LanguageHaskell2010

Cardano.Ledger.State.UTxO

Documentation

runConduitFold ∷ Monad m ⇒ ConduitT () a m () → Fold a b → m b Source #

newtype Count Source #

Constructors

Count Int 

Instances

Instances details
Enum Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

succ ∷ Count → Count #

pred ∷ Count → Count #

toEnum ∷ Int → Count #

fromEnum ∷ Count → Int #

enumFrom ∷ Count → [Count] #

enumFromThen ∷ Count → Count → [Count] #

enumFromTo ∷ Count → Count → [Count] #

enumFromThenTo ∷ Count → Count → Count → [Count] #

Num Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

(+) ∷ Count → Count → Count #

(-) ∷ Count → Count → Count #

(*) ∷ Count → Count → Count #

negate ∷ Count → Count #

abs ∷ Count → Count #

signum ∷ Count → Count #

fromInteger ∷ Integer → Count #

Integral Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

quot ∷ Count → Count → Count #

rem ∷ Count → Count → Count #

div ∷ Count → Count → Count #

mod ∷ Count → Count → Count #

quotRem ∷ Count → Count → (Count, Count) #

divMod ∷ Count → Count → (Count, Count) #

toInteger ∷ Count → Integer #

Real Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

toRational ∷ Count → Rational #

Eq Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

(==) ∷ Count → Count → Bool #

(/=) ∷ Count → Count → Bool #

Ord Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

compare ∷ Count → Count → Ordering #

(<) ∷ Count → Count → Bool #

(<=) ∷ Count → Count → Bool #

(>) ∷ Count → Count → Bool #

(>=) ∷ Count → Count → Bool #

max ∷ Count → Count → Count #

min ∷ Count → Count → Count #

Pretty Count Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

pretty ∷ Count → Doc 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

mempty ∷ Stat k #

mappend ∷ Stat 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 #

sconcat ∷ NonEmpty (Stat k) → Stat k #

stimes ∷ Integral b ⇒ b → Stat k → Stat k #

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

Defined in Cardano.Ledger.State.UTxO

AggregateStat (Stat ScriptHash) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

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

Defined in Cardano.Ledger.State.UTxO

Pretty (Stat k) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

Methods

pretty ∷ Stat 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

pretty ∷ Percent → Doc ann Source #

prettyList ∷ [Percent] → Doc ann Source #

intPercent ∷ Integral i ⇒ Int → i → Percent Source #

statSet ∷ Set a → Stat a Source #

mapStat ∷ Ord b ⇒ (a → b) → Stat a → Stat b Source #

statMapKeys ∷ Map k v → Stat k Source #

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

prettyRecord ∷ Doc 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

pretty ∷ TxInStats → Doc 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

pretty ∷ UTxOStats → Doc 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 ScriptHash) Source # 
Instance details

Defined in Cardano.Ledger.State.UTxO

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

Defined in Cardano.Ledger.State.UTxO