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

Synopsis

Documentation

sRegKey ∷ ∀ era. Typeable era ⇒ RootTarget era (ShelleyTxCert era) (StakeCredential (EraCrypto era) → ShelleyTxCert era) Source #

sMirShift ∷ ∀ era. Era era ⇒ RootTarget era (ShelleyTxCert era) (CoinMIRPotCoinShelleyTxCert era) Source #

cDelegVoteTarget era (StakeCredential (EraCrypto era) → DRep (EraCrypto era) → a → ConwayTxCert era) Source #

cRegDeleg ∷ ∀ era. ConwayEraTxCert era ⇒ Target era (StakeCredential (EraCrypto era) → Delegatee (EraCrypto era) → CoinTxCert era) Source #

cDelegateeVote ∷ ∀ era. Era era ⇒ RootTarget era (Delegatee (EraCrypto era)) (DRep (EraCrypto era) → Delegatee (EraCrypto era)) Source #

partBfromPartAOrd k ⇒ Proof era → Map k CoinMap k DeltaCoin Source #

Transform some SubMap of instanReserves (or instanTreasury) into a partB map with invariants: (partB ! key) + (instanReserves ! key) >= (Coin 0) Note in Era before Alonzo, Negative transfers are not allowed.

makeDRepPred ∷ ∀ era. Era era ⇒ Term era (DRep (EraCrypto era)) → Term era (Credential 'DRepRole (EraCrypto era)) → Pred era Source #

A user defined Predicate that Binds drep to a random DRep The parameter vote should be existentially bound in the surrounding context (inside a Choose Target perhaps)

txCertMir ∷ ∀ era any. Era era ⇒ RootTarget era (ShelleyTxCert era) (MIRPotMap (Credential 'Staking (EraCrypto era)) DeltaCoin → any → ShelleyTxCert era) Source #

certsPreds ∷ ∀ era. Reflect era ⇒ UnivSizeProof era → [Pred era] Source #

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

demoReplModeIntIO () Source #

mainIntIO () Source #

poolMetadataEra era ⇒ Proof era → Term era (Maybe PoolMetadata) Source #