| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.CanonicalState.Conway
Contents
Synopsis
- mkCanonicalConstitution ∷ Constitution era → CanonicalConstitution
- data CanonicalGovActionState = CanonicalGovActionState {}
- toGovActionState ∷ (GovProposalIn, GovProposalOut CanonicalGovActionState) → GovActionState ConwayEra
- fromGovActionState ∷ GovActionState ConwayEra → (GovProposalIn, GovProposalOut CanonicalGovActionState)
- mkGovProposalIn ∷ GovActionId → GovProposalIn
- fromGovProposalIn ∷ GovProposalIn → GovActionId
Documentation
data CanonicalGovActionState Source #
This is the same structure as GovActionState but without the id.
This unfortunate code duplication is needed because otherwise we would have to create dummy keys.
Constructors
| CanonicalGovActionState | |
Fields
| |
Instances
| Show CanonicalGovActionState Source # | |
Defined in Cardano.Ledger.CanonicalState.Conway | |
| Eq CanonicalGovActionState Source # | |
Defined in Cardano.Ledger.CanonicalState.Conway | |
| FromCanonicalCBOR "gov/proposals/v0" CanonicalGovActionState Source # | |
Defined in Cardano.Ledger.CanonicalState.Conway Methods fromCanonicalCBOR ∷ CanonicalDecoder s (Versioned "gov/proposals/v0" CanonicalGovActionState) Source # | |
| ToCanonicalCBOR "gov/proposals/v0" CanonicalGovActionState Source # | |
Defined in Cardano.Ledger.CanonicalState.Conway Methods toCanonicalCBOR ∷ proxy "gov/proposals/v0" → CanonicalGovActionState → CanonicalEncoding Source # | |
toGovActionState ∷ (GovProposalIn, GovProposalOut CanonicalGovActionState) → GovActionState ConwayEra Source #
fromGovActionState ∷ GovActionState ConwayEra → (GovProposalIn, GovProposalOut CanonicalGovActionState) Source #