Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Test.Cardano.Ledger.Constrained.Conway.Gov
Description
Specs necessary to generate, environment, state, and signal for the GOV rule
Documentation
proposalsSpec ∷ Term EpochNo → Term (StrictMaybe ScriptHash) → Term (CertState ConwayEra) → Specification (Proposals ConwayEra) Source #
allGASInTree ∷ IsPred p ⇒ (Term (GovActionState ConwayEra) → p) → Specification (ProposalTree ConwayEra) Source #
allGASAndChildInTree ∷ IsPred p ⇒ Term (ProposalTree ConwayEra) → (Term (GovActionState ConwayEra) → Term (GovActionState ConwayEra) → p) → Pred Source #
withPrevActId ∷ Term (GovActionState ConwayEra) → (Term (StrictMaybe GovActionId) → Pred) → Pred Source #
onHardFork ∷ IsPred p ⇒ Term (GovActionState ConwayEra) → (Term (StrictMaybe (GovPurposeId 'HardForkPurpose ConwayEra)) → Term ProtVer → p) → Pred Source #