blockfrost-api-0.12.0.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Cardano.Genesis

Description

Blockchain genesis

Synopsis

Documentation

data Genesis Source #

Information about blockchain genesis

Constructors

Genesis 

Fields

Instances

Instances details
FromJSON Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

ToJSON Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

Generic Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

Associated Types

type Rep Genesis :: Type -> Type #

Methods

from :: Genesis -> Rep Genesis x #

to :: Rep Genesis x -> Genesis #

Show Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

Eq Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

Methods

(==) :: Genesis -> Genesis -> Bool #

(/=) :: Genesis -> Genesis -> Bool #

ToSample Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

Methods

toSamples :: Proxy Genesis -> [(Text, Genesis)] #

HasActiveSlotsCoefficient Genesis Rational Source # 
Instance details

Defined in Blockfrost.Lens

HasEpochLength Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxKesEvolutions Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasMaxLovelaceSupply Genesis a Source # 
Instance details

Defined in Blockfrost.Lens

HasNetworkMagic Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasSecurityParam Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasSlotLength Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasSlotsPerKesPeriod Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasSystemStart Genesis POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

HasUpdateQuorum Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

type Rep Genesis Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

type Rep Genesis = D1 ('MetaData "Genesis" "Blockfrost.Types.Cardano.Genesis" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" 'False) (C1 ('MetaCons "Genesis" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_genesisActiveSlotsCoefficient") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "_genesisUpdateQuorum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_genesisMaxLovelaceSupply") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: (S1 ('MetaSel ('Just "_genesisNetworkMagic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_genesisEpochLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: ((S1 ('MetaSel ('Just "_genesisSystemStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: S1 ('MetaSel ('Just "_genesisSlotsPerKesPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_genesisSlotLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "_genesisMaxKesEvolutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_genesisSecurityParam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))))))