Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- genUpdateCommittee ∷ Gen (GovAction era)
- genNoConfidence ∷ Gen (GovAction era)
- genTreasuryWithdrawals ∷ Gen (GovAction era)
- genHardForkInitiation ∷ Gen (GovAction era)
- genParameterChange ∷ Arbitrary (PParamsUpdate era) ⇒ Gen (GovAction era)
- genNewConstitution ∷ Era era ⇒ Gen (GovAction era)
- govActionGenerators ∷ (Era era, Arbitrary (PParamsUpdate era)) ⇒ [Gen (GovAction era)]
- genConwayPlutusPurposePointer ∷ Word32 → Gen (ConwayPlutusPurpose AsIx era)
- genGovAction ∷ ∀ era. (Era era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ Proposals era → Gen (GovAction era)
- genGovActionState ∷ GovAction era → Gen (GovActionState era)
- genPParamUpdateGovAction ∷ (Era era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ StrictMaybe (GovPurposeId 'PParamUpdatePurpose era) → Gen (GovAction era)
- genHardForkGovAction ∷ StrictMaybe (GovPurposeId 'HardForkPurpose era) → Gen (GovAction era)
- genCommitteeGovAction ∷ StrictMaybe (GovPurposeId 'CommitteePurpose era) → Gen (GovAction era)
- genConstitutionGovAction ∷ Era era ⇒ StrictMaybe (GovPurposeId 'ConstitutionPurpose era) → Gen (GovAction era)
- genProposals ∷ ∀ era. (HasCallStack, EraPParams era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ (Int, Int) → Gen (Proposals era)
- data ProposalsNewActions era = ProposalsNewActions (Proposals era) [GovActionState era]
- data ProposalsForEnactment era = ProposalsForEnactment {
- pfeProposals ∷ Proposals era
- pfeToEnact ∷ Seq (GovActionState era)
- pfeToRemove ∷ Set GovActionId
- pfeToRetain ∷ Set GovActionId
- data ShuffledGovActionStates era = ShuffledGovActionStates [GovActionState era] [GovActionState era]
Documentation
genUpdateCommittee ∷ Gen (GovAction era) Source #
genNoConfidence ∷ Gen (GovAction era) Source #
genTreasuryWithdrawals ∷ Gen (GovAction era) Source #
genHardForkInitiation ∷ Gen (GovAction era) Source #
genParameterChange ∷ Arbitrary (PParamsUpdate era) ⇒ Gen (GovAction era) Source #
govActionGenerators ∷ (Era era, Arbitrary (PParamsUpdate era)) ⇒ [Gen (GovAction era)] Source #
genGovAction ∷ ∀ era. (Era era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ Proposals era → Gen (GovAction era) Source #
genGovActionState ∷ GovAction era → Gen (GovActionState era) Source #
genPParamUpdateGovAction ∷ (Era era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ StrictMaybe (GovPurposeId 'PParamUpdatePurpose era) → Gen (GovAction era) Source #
genHardForkGovAction ∷ StrictMaybe (GovPurposeId 'HardForkPurpose era) → Gen (GovAction era) Source #
genCommitteeGovAction ∷ StrictMaybe (GovPurposeId 'CommitteePurpose era) → Gen (GovAction era) Source #
genConstitutionGovAction ∷ Era era ⇒ StrictMaybe (GovPurposeId 'ConstitutionPurpose era) → Gen (GovAction era) Source #
genProposals ∷ ∀ era. (HasCallStack, EraPParams era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ (Int, Int) → Gen (Proposals era) Source #
data ProposalsNewActions era Source #
ProposalsNewActions (Proposals era) [GovActionState era] |
Instances
(EraPParams era, Arbitrary (PParamsUpdate era), Arbitrary (PParamsHKD StrictMaybe era)) ⇒ Arbitrary (ProposalsNewActions era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary arbitrary ∷ Gen (ProposalsNewActions era) Source # shrink ∷ ProposalsNewActions era → [ProposalsNewActions era] Source # | |
EraPParams era ⇒ Show (ProposalsNewActions era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary | |
EraPParams era ⇒ Eq (ProposalsNewActions era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary (==) ∷ ProposalsNewActions era → ProposalsNewActions era → Bool Source # (/=) ∷ ProposalsNewActions era → ProposalsNewActions era → Bool Source # |
data ProposalsForEnactment era Source #
ProposalsForEnactment | |
|
Instances
(EraPParams era, Arbitrary (PParamsUpdate era), Arbitrary (PParamsHKD StrictMaybe era)) ⇒ Arbitrary (ProposalsForEnactment era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary arbitrary ∷ Gen (ProposalsForEnactment era) Source # shrink ∷ ProposalsForEnactment era → [ProposalsForEnactment era] Source # | |
EraPParams era ⇒ Show (ProposalsForEnactment era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary | |
EraPParams era ⇒ Eq (ProposalsForEnactment era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary (==) ∷ ProposalsForEnactment era → ProposalsForEnactment era → Bool Source # (/=) ∷ ProposalsForEnactment era → ProposalsForEnactment era → Bool Source # |
data ShuffledGovActionStates era Source #
These lists of GovActionStates
contain only one of a priority.
In other words, no two GovActionState
s in the list have the same actionPriority
.
ShuffledGovActionStates [GovActionState era] [GovActionState era] |
Instances
(Era era, Arbitrary (PParamsUpdate era)) ⇒ Arbitrary (ShuffledGovActionStates era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary arbitrary ∷ Gen (ShuffledGovActionStates era) Source # shrink ∷ ShuffledGovActionStates era → [ShuffledGovActionStates era] Source # | |
EraPParams era ⇒ Show (ShuffledGovActionStates era) Source # | |
Defined in Test.Cardano.Ledger.Conway.Arbitrary |