cardano-ledger-core-1.17.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Keys.WitVKey

Synopsis

Documentation

data WitVKey kr where Source #

Proof/Witness that a transaction is authorized by the given key holder.

Bundled Patterns

pattern WitVKeyTypeable kr ⇒ VKey kr → SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody) → WitVKey kr 

Instances

Instances details
Generic (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Associated Types

type Rep (WitVKey kr) ∷ TypeType Source #

Methods

fromWitVKey kr → Rep (WitVKey kr) x Source #

toRep (WitVKey kr) x → WitVKey kr Source #

Show (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

showsPrecIntWitVKey kr → ShowS Source #

showWitVKey kr → String Source #

showList ∷ [WitVKey kr] → ShowS Source #

Typeable kr ⇒ ToCBOR (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

toCBORWitVKey kr → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (WitVKey kr) → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [WitVKey kr] → Size Source #

Typeable kr ⇒ DecCBOR (Annotator (WitVKey kr)) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Typeable kr ⇒ EncCBOR (WitVKey kr) Source #

Encodes memoized bytes created upon construction.

Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

encCBORWitVKey kr → Encoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (WitVKey kr) → Size Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [WitVKey kr] → Size Source #

Typeable kr ⇒ EqRaw (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

eqRawWitVKey kr → WitVKey kr → Bool Source #

NFData (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

rnfWitVKey kr → () Source #

Eq (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

(==)WitVKey kr → WitVKey kr → Bool Source #

(/=)WitVKey kr → WitVKey kr → Bool Source #

Typeable kr ⇒ Ord (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

compareWitVKey kr → WitVKey kr → Ordering Source #

(<)WitVKey kr → WitVKey kr → Bool Source #

(<=)WitVKey kr → WitVKey kr → Bool Source #

(>)WitVKey kr → WitVKey kr → Bool Source #

(>=)WitVKey kr → WitVKey kr → Bool Source #

maxWitVKey kr → WitVKey kr → WitVKey kr Source #

minWitVKey kr → WitVKey kr → WitVKey kr Source #

Typeable kr ⇒ NoThunks (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

type Rep (WitVKey kr) Source # 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

type Rep (WitVKey kr) = D1 ('MetaData "WitVKey" "Cardano.Ledger.Keys.WitVKey" "cardano-ledger-core-1.17.0.0-inplace" 'False) (C1 ('MetaCons "WitVKeyInternal" 'PrefixI 'True) ((S1 ('MetaSel ('Just "wvkKey") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (VKey kr)) :*: S1 ('MetaSel ('Just "wvkSig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody)))) :*: (S1 ('MetaSel ('Just "wvkKeyHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (KeyHash 'Witness)) :*: S1 ('MetaSel ('Just "wvkBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))

witVKeyBytesWitVKey kr → ByteString Source #

Access CBOR encoded representation of the witness. Evaluated lazily

witVKeyHashWitVKey kr → KeyHash 'Witness Source #

Access computed hash. Evaluated lazily

eqWitVKeyRawTypeable kr ⇒ WitVKey kr → WitVKey kr → Bool Source #