cardano-api-1.36.0: The cardano api
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Api.GenesisParameters

Description

Parameters fixed in the genesis file: GenesisParameters

Synopsis

Protocol parameters fixed in the genesis file

data GenesisParameters Source #

Constructors

GenesisParameters 

Fields

newtype EpochSize #

Constructors

EpochSize 

Fields

Instances

Instances details
FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochSize #

parseJSONList ∷ Value → Parser [EpochSize] #

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochSize → Value #

toEncodingEpochSize → Encoding #

toJSONList ∷ [EpochSize] → Value #

toEncodingList ∷ [EpochSize] → Encoding #

Enum EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Generic EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochSizeTypeType Source #

Num EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Integral EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Real EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Show EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

FromCBOR EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochSize #

labelProxy EpochSizeText #

ToCBOR EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOREpochSize → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochSize → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochSize] → Size #

NFData EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnfEpochSize → () Source #

Eq EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

NoThunks EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks ∷ Context → EpochSizeIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochSizeIO (Maybe ThunkInfo)

showTypeOfProxy EpochSizeString

type Rep EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

type Rep EpochSize = D1 ('MetaData "EpochSize" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.2-5ecadb882e6f1896225ef3f366c408bfc73edba8fb7d935db3b12f51d1c1f954" 'True) (C1 ('MetaCons "EpochSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Internal conversion functions