hydra-tx-0.19.0: Hydra transaction library
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Tx.HeadParameters

Synopsis

Documentation

data HeadParameters Source #

Contains the head's parameters as established in the initial transaction.

Instances

Instances details
Arbitrary HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

FromJSON HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

Methods

parseJSON :: Value -> Parser HeadParameters

parseJSONList :: Value -> Parser [HeadParameters]

omittedField :: Maybe HeadParameters

ToJSON HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

Generic HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

Associated Types

type Rep HeadParameters :: Type -> Type Source #

Show HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

Eq HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

type Rep HeadParameters Source # 
Instance details

Defined in Hydra.Tx.HeadParameters

type Rep HeadParameters = D1 ('MetaData "HeadParameters" "Hydra.Tx.HeadParameters" "hydra-tx-0.19.0-CNt37yoHV6SLHPMLDZKDue" 'False) (C1 ('MetaCons "HeadParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "contestationPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ContestationPeriod) :*: S1 ('MetaSel ('Just "parties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Party])))

mkHeadParameters :: Environment -> HeadParameters Source #

Make HeadParameters that are consistent with the given Environment.