| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0
Synopsis
- newtype GovProposalIn = GovProposalIn CanonicalGovActionId
- newtype GovProposalOut v = GovProposalOut v
- data CanonicalGovActionId = CanonicalGovActionId {}
- newtype CanonicalGovActionIx = CanonicalGovActionIx Word16
Documentation
newtype GovProposalIn Source #
Constructors
| GovProposalIn CanonicalGovActionId |
Instances
| Show GovProposalIn Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods showsPrec ∷ Int → GovProposalIn → ShowS # show ∷ GovProposalIn → String # showList ∷ [GovProposalIn] → ShowS # | |
| Eq GovProposalIn Source # | |
| Ord GovProposalIn Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods compare ∷ GovProposalIn → GovProposalIn → Ordering # (<) ∷ GovProposalIn → GovProposalIn → Bool # (<=) ∷ GovProposalIn → GovProposalIn → Bool # (>) ∷ GovProposalIn → GovProposalIn → Bool # (>=) ∷ GovProposalIn → GovProposalIn → Bool # | |
| IsKey GovProposalIn Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods packKeyM ∷ GovProposalIn → Pack b () Source # unpackKeyM ∷ Buffer b ⇒ Unpack' s b GovProposalIn Source # | |
newtype GovProposalOut v Source #
Canonical wrapper over gov action state. Because this is on-chain data we create a wrapper for that.
Constructors
| GovProposalOut v |
Instances
data CanonicalGovActionId Source #
Constructors
| CanonicalGovActionId | |
Fields | |
Instances
| Generic CanonicalGovActionId Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Associated Types
Methods | |||||
| Show CanonicalGovActionId Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods showsPrec ∷ Int → CanonicalGovActionId → ShowS # show ∷ CanonicalGovActionId → String # showList ∷ [CanonicalGovActionId] → ShowS # | |||||
| Eq CanonicalGovActionId Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods | |||||
| Ord CanonicalGovActionId Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods compare ∷ CanonicalGovActionId → CanonicalGovActionId → Ordering # (<) ∷ CanonicalGovActionId → CanonicalGovActionId → Bool # (<=) ∷ CanonicalGovActionId → CanonicalGovActionId → Bool # (>) ∷ CanonicalGovActionId → CanonicalGovActionId → Bool # (>=) ∷ CanonicalGovActionId → CanonicalGovActionId → Bool # max ∷ CanonicalGovActionId → CanonicalGovActionId → CanonicalGovActionId # min ∷ CanonicalGovActionId → CanonicalGovActionId → CanonicalGovActionId # | |||||
| type Rep CanonicalGovActionId Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 type Rep CanonicalGovActionId = D1 ('MetaData "CanonicalGovActionId" "Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0" "cardano-ledger-canonical-state-9.9.9.9-inplace" 'False) (C1 ('MetaCons "CanonicalGovActionId" 'PrefixI 'True) (S1 ('MetaSel ('Just "gaidTxId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxId) :*: S1 ('MetaSel ('Just "gaidGovActionIx") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 CanonicalGovActionIx))) | |||||
newtype CanonicalGovActionIx Source #
Constructors
| CanonicalGovActionIx Word16 |
Instances
| Generic CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Associated Types
Methods | |||||
| Show CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods showsPrec ∷ Int → CanonicalGovActionIx → ShowS # show ∷ CanonicalGovActionIx → String # showList ∷ [CanonicalGovActionIx] → ShowS # | |||||
| Eq CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods | |||||
| Ord CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods compare ∷ CanonicalGovActionIx → CanonicalGovActionIx → Ordering # (<) ∷ CanonicalGovActionIx → CanonicalGovActionIx → Bool # (<=) ∷ CanonicalGovActionIx → CanonicalGovActionIx → Bool # (>) ∷ CanonicalGovActionIx → CanonicalGovActionIx → Bool # (>=) ∷ CanonicalGovActionIx → CanonicalGovActionIx → Bool # max ∷ CanonicalGovActionIx → CanonicalGovActionIx → CanonicalGovActionIx # min ∷ CanonicalGovActionIx → CanonicalGovActionIx → CanonicalGovActionIx # | |||||
| MemPack CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods packedByteCount ∷ CanonicalGovActionIx → Int Source # packM ∷ CanonicalGovActionIx → Pack s () Source # unpackM ∷ Buffer b ⇒ Unpack s b CanonicalGovActionIx Source # | |||||
| FromCanonicalCBOR v CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods fromCanonicalCBOR ∷ CanonicalDecoder s (Versioned v CanonicalGovActionIx) Source # | |||||
| ToCanonicalCBOR v CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 Methods toCanonicalCBOR ∷ proxy v → CanonicalGovActionIx → CanonicalEncoding Source # | |||||
| type Rep CanonicalGovActionIx Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0 type Rep CanonicalGovActionIx = D1 ('MetaData "CanonicalGovActionIx" "Cardano.Ledger.CanonicalState.Namespace.GovProposals.V0" "cardano-ledger-canonical-state-9.9.9.9-inplace" 'True) (C1 ('MetaCons "CanonicalGovActionIx" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16))) | |||||