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.Utxo

Description

Specs necessary to generate, environment, state, and signal for the UTXO rule

Documentation

data DepositPurpose c Source #

Instances

Instances details
Crypto c ⇒ Arbitrary (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Generic (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Associated Types

type Rep (DepositPurpose c) ∷ TypeType Source #

Show (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Crypto c ⇒ DecCBOR (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Crypto c ⇒ EncCBOR (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Methods

encCBORDepositPurpose c → Encoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (DepositPurpose c) → Size Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [DepositPurpose c] → Size Source #

Crypto c ⇒ NFData (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Methods

rnfDepositPurpose c → () Source #

Eq (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Ord (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

ToExpr (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

type Rep (DepositPurpose c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

type Rep (DepositPurpose c) = D1 ('MetaData "DepositPurpose" "Test.Cardano.Ledger.Constrained.Conway.Utxo" "cardano-ledger-test-9.9.9.9-inplace" 'False) ((C1 ('MetaCons "CredentialDeposit" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Credential 'Staking c))) :+: C1 ('MetaCons "PoolDeposit" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (KeyHash 'StakePool c)))) :+: (C1 ('MetaCons "DRepDeposit" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Credential 'DRepRole c))) :+: C1 ('MetaCons "GovActionDeposit" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (GovActionId c)))))

data UtxoExecContext era Source #

Constructors

UtxoExecContext 

Fields

Instances

Instances details
Generic (UtxoExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Associated Types

type Rep (UtxoExecContext era) ∷ TypeType Source #

(EraPParams era, EncCBOR (TxOut era), EncCBOR (TxBody era), EncCBOR (TxAuxData era), EncCBOR (TxWits era)) ⇒ EncCBOR (UtxoExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Methods

encCBORUtxoExecContext era → Encoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (UtxoExecContext era) → Size Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [UtxoExecContext era] → Size Source #

(EraTx era, NFData (TxWits era), NFData (TxAuxData era)) ⇒ NFData (UtxoExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

Methods

rnfUtxoExecContext era → () Source #

(EraTx era, ToExpr (TxOut era), ToExpr (TxBody era), ToExpr (TxWits era), ToExpr (TxAuxData era), ToExpr (PParamsHKD Identity era)) ⇒ ToExpr (UtxoExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

type Rep (UtxoExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Utxo

type Rep (UtxoExecContext era) = D1 ('MetaData "UtxoExecContext" "Test.Cardano.Ledger.Constrained.Conway.Utxo" "cardano-ledger-test-9.9.9.9-inplace" 'False) (C1 ('MetaCons "UtxoExecContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "uecTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (AlonzoTx era)) :*: (S1 ('MetaSel ('Just "uecUTxO") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (UTxO era)) :*: S1 ('MetaSel ('Just "uecUtxoEnv") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (UtxoEnv era)))))