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.Preds.Universes

Synopsis

Documentation

genAddrPairNetworkGen (BootstrapAddress, SigningKey) Source #

Generate a pair, A Byron address, and the key that can sign it.

genByronUnivNetworkGen (Map (KeyHash 'Payment) (Addr, SigningKey)) Source #

Generate a Map, that maps the Hash of a Byron address to a pair of the actual Byron address and the key that can sign it.

bootWitnessHash HASH EraIndependentTxBody → [BootstrapAddress] → Map (KeyHash 'Payment) (Addr, SigningKey) → Set BootstrapWitness Source #

Given a list of Byron addresses, compute BootStrap witnesses of all of those addresses Can only be used with StandardCrypto

genDatumsEra era ⇒ UnivSizeIntMap DataHash (Data era) → Gen [Datum era] Source #

The universe of non-empty Datums. i.e. There are no NoDatum Datums in this list

genDatumEra era ⇒ UnivSizeMap DataHash (Data era) → Gen (Datum era) Source #

Only generate non-empty Datums. I.e. There are no NoDatum Datums generated.

genTxOutReflect era ⇒ UnivSize → (CoinMap ScriptHash (ScriptF era) → Gen (Value era)) → Proof era → CoinSet AddrMap ScriptHash (ScriptF era) → Map ScriptHash (ScriptF era) → Map DataHash (Data era) → Gen (TxOut era) Source #

genTxOutsReflect era ⇒ UnivSize → (CoinMap ScriptHash (ScriptF era) → Gen (Value era)) → Proof era → IntSet AddrMap ScriptHash (ScriptF era) → Map ScriptHash (ScriptF era) → Map DataHash (Data era) → Gen [TxOutF era] Source #

pick1 ∷ [String] → Set t → Gen t Source #

genDataWitsEra era ⇒ Proof era → IntGen (Map DataHash (Data era)) Source #

noScriptsProof era → AddrBool Source #

genDRepsSet (Credential 'Staking) → Gen [DRep] Source #

Make some candidate DReps. The 'Always...' and one from each Credential.

txOutTReflect era ⇒ Proof era → AddrCoinTxOutF era Source #

colTxOutTEraTxOut era ⇒ Proof era → Set AddrGen (TxOutF era) Source #

The collateral consists only of VKey addresses and the collateral outputs in the UTxO do not contain any non-ADA part

colTxOutSetTEraTxOut era ⇒ Proof era → Set AddrGen (Set (TxOutF era)) Source #

The collateral consists only of VKey addresses and the collateral outputs in the UTxO do not contain any non-ADA part

ptrUnivTIntTerm era SlotNoTarget era (Gen (Set Ptr)) Source #

addrUnivTProof era → IntTerm era NetworkTerm era (Set (Credential 'Payment)) → Term era (Set Ptr) → Term era (Set (Credential 'Staking)) → Term era (Map (KeyHash 'Payment) (Addr, SigningKey)) → Target era (Gen (Set Addr)) Source #

cast ∷ ∀ k. Set (KeyHash 'Witness) → Set (KeyHash k) Source #

universePredsReflect era ⇒ UnivSizeProof era → [Pred era] Source #

genValueFUnivSizeProof era → CoinMap ScriptHash (ScriptF era) → Gen (Value era) Source #

solveUnivReflect era ⇒ UnivSizeProof era → Gen (Subst era) Source #

universeStageReflect era ⇒ UnivSizeProof era → Subst era → Gen (Subst era) Source #

demoReplModeIO () Source #

mainIO () Source #