cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Constrained.Conway.Instances.TxBody

Synopsis

Documentation

type ShelleyTxBodyTypes = '[Set TxIn, [TxOut ShelleyEra], [TxCert ShelleyEra], Map RewardAccount Coin, Coin, SlotNo, Maybe (Update ShelleyEra), Maybe TxAuxDataHash] Source #

This is an abstraction of the Pattern ShelleyTxBody, that uses [x] instead of (StrictSeq x) and (Maybe x) instead of (StrictMaybe x). It transforms bewtween the two, in the toSimpleRep and fromSimpleRep methods. This makes it much easier to write Specifications, because the Constrained packaage knows about Lists and Maybe.

type AllegraTxBodyTypes = '[Set TxIn, [TxOut AllegraEra], [TxCert AllegraEra], Map RewardAccount Coin, Coin, ValidityInterval, Maybe (Update AllegraEra), Maybe TxAuxDataHash] Source #

This is an abstraction of the Pattern AllegraTxBody, that uses [x] instead of (StrictSeq x) and (Maybe x) instead of (StrictMaybe x). It transforms bewtween the two, in the toSimpleRep and fromSimpleRep methods. This makes it much easier to write Specifications, because the Constrained packaage knows about Lists and Maybe.

type MaryTxBodyTypes = '[Set TxIn, [TxOut MaryEra], [TxCert MaryEra], Map RewardAccount Coin, Coin, ValidityInterval, Maybe (Update MaryEra), Maybe TxAuxDataHash, MultiAsset] Source #

This is an abstraction of the Pattern MaryTxBody, that uses [x] instead of (StrictSeq x) and (Maybe x) instead of (StrictMaybe x). It transforms between the abstractions and the real types in the toSimpleRep and fromSimpleRep methods. This makes it much easier to write Specifications, because the Constrained packaage knows about Lists and Maybe.

type AlonzoTxBodyTypes = '[Set TxIn, Set TxIn, [TxOut AlonzoEra], [TxCert AlonzoEra], Map RewardAccount Coin, Coin, ValidityInterval, Maybe (Update AlonzoEra), Set (KeyHash 'Witness), MultiAsset, Maybe ScriptIntegrityHash, Maybe TxAuxDataHash, Maybe Network] Source #

This is an abstraction of the Pattern AlonzoTxBody, that uses [x] instead of (StrictSeq x) and (Maybe x) instead of (StrictMaybe x). It transforms between the abstractions and the real types in the toSimpleRep and fromSimpleRep methods. This makes it much easier to write Specifications, because the Constrained packaage knows about Lists and Maybe.

type BabbageTxBodyTypes = '[Set TxIn, Set TxIn, Set TxIn, [Sized (TxOut BabbageEra)], Maybe (Sized (TxOut BabbageEra)), Maybe Coin, [TxCert BabbageEra], Map RewardAccount Coin, Coin, ValidityInterval, Maybe (Update BabbageEra), Set (KeyHash 'Witness), MultiAsset, Maybe ScriptIntegrityHash, Maybe TxAuxDataHash, Maybe Network] Source #

This is an abstraction of the Pattern BabbageTxBody, that uses [x] instead of (StrictSeq x) and (Maybe x) instead of (StrictMaybe x). It transforms between the abstractions and the real types in the toSimpleRep and fromSimpleRep methods. This makes it much easier to write Specifications, because the Constrained packaage knows about Lists and Maybe.

Orphan instances

HasSpec (TxBody AllegraEra) Source # 
Instance details

HasSpec (TxBody AlonzoEra) Source # 
Instance details

HasSpec (TxBody BabbageEra) Source # 
Instance details

HasSpec (TxBody MaryEra) Source # 
Instance details

HasSpec (TxBody ShelleyEra) Source # 
Instance details

EraSpecPParams era ⇒ HasSpec (Update era) Source # 
Instance details

Associated Types

type TypeSpec (Update era) Source #

type Prerequisites (Update era) Source #

HasSimpleRep (TxBody AllegraEra) Source # 
Instance details

Associated Types

type SimpleRep (TxBody AllegraEra) Source #

type TheSop (TxBody AllegraEra) ∷ [Type] Source #

HasSimpleRep (TxBody AlonzoEra) Source # 
Instance details

Associated Types

type SimpleRep (TxBody AlonzoEra) Source #

type TheSop (TxBody AlonzoEra) ∷ [Type] Source #

HasSimpleRep (TxBody BabbageEra) Source # 
Instance details

Associated Types

type SimpleRep (TxBody BabbageEra) Source #

type TheSop (TxBody BabbageEra) ∷ [Type] Source #

HasSimpleRep (TxBody MaryEra) Source # 
Instance details

Associated Types

type SimpleRep (TxBody MaryEra) Source #

type TheSop (TxBody MaryEra) ∷ [Type] Source #

HasSimpleRep (TxBody ShelleyEra) Source # 
Instance details

Associated Types

type SimpleRep (TxBody ShelleyEra) Source #

type TheSop (TxBody ShelleyEra) ∷ [Type] Source #

Typeable era ⇒ HasSimpleRep (Update era) Source # 
Instance details

Associated Types

type SimpleRep (Update era) Source #

type TheSop (Update era) ∷ [Type] Source #