cardano-ledger-shelley-1.17.0.0: Shelley Ledger Executable Model
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Shelley.TxWits

Synopsis

Documentation

newtype ShelleyTxWits era Source #

Bundled Patterns

pattern ShelleyTxWits ∷ ∀ era. EraScript era ⇒ Set (WitVKey 'Witness) → Map ScriptHash (Script era) → Set BootstrapWitnessShelleyTxWits era 

Instances

Instances details
EraScript era ⇒ Monoid (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

EraScript era ⇒ Semigroup (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

(<>)ShelleyTxWits era → ShelleyTxWits era → ShelleyTxWits era #

sconcatNonEmpty (ShelleyTxWits era) → ShelleyTxWits era #

stimesIntegral b ⇒ b → ShelleyTxWits era → ShelleyTxWits era #

Generic (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Associated Types

type Rep (ShelleyTxWits era) ∷ TypeType #

Methods

fromShelleyTxWits era → Rep (ShelleyTxWits era) x #

toRep (ShelleyTxWits era) x → ShelleyTxWits era #

EraScript era ⇒ Show (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

showsPrecIntShelleyTxWits era → ShowS #

showShelleyTxWits era → String #

showList ∷ [ShelleyTxWits era] → ShowS #

Typeable era ⇒ ToCBOR (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

toCBORShelleyTxWits era → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyTxWits era) → Size Source #

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

EraScript era ⇒ DecCBOR (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Era era ⇒ EncCBOR (ShelleyTxWits era) Source #

Encodes memoized bytes created upon construction.

Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

encCBORShelleyTxWits era → Encoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyTxWits era) → Size Source #

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

SafeToHash (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

(TxWits era ~ ShelleyTxWits era, EraTxWits era) ⇒ EqRaw (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

eqRawShelleyTxWits era → ShelleyTxWits era → Bool Source #

Memoized (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Associated Types

type RawType (ShelleyTxWits era) = (r ∷ Type) Source #

(Era era, NFData (Script era), NFData (WitVKey 'Witness), NFData BootstrapWitness) ⇒ NFData (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

rnfShelleyTxWits era → () #

EraScript era ⇒ Eq (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

(==)ShelleyTxWits era → ShelleyTxWits era → Bool #

(/=)ShelleyTxWits era → ShelleyTxWits era → Bool #

EraScript era ⇒ NoThunks (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

type Rep (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

type Rep (ShelleyTxWits era) = D1 ('MetaData "ShelleyTxWits" "Cardano.Ledger.Shelley.TxWits" "cardano-ledger-shelley-1.17.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTxWits" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (ShelleyTxWitsRaw era)))))
type RawType (ShelleyTxWits era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

data ShelleyTxWitsRaw era Source #

Instances

Instances details
Generic (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Associated Types

type Rep (ShelleyTxWitsRaw era) ∷ TypeType #

Methods

fromShelleyTxWitsRaw era → Rep (ShelleyTxWitsRaw era) x #

toRep (ShelleyTxWitsRaw era) x → ShelleyTxWitsRaw era #

EraScript era ⇒ Show (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

EraScript era ⇒ DecCBOR (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

(Era era, EncCBOR (Script era)) ⇒ EncCBOR (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

encCBORShelleyTxWitsRaw era → Encoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyTxWitsRaw era) → Size Source #

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

(Era era, NFData (Script era), NFData (WitVKey 'Witness), NFData BootstrapWitness) ⇒ NFData (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

rnfShelleyTxWitsRaw era → () #

EraScript era ⇒ Eq (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

(==)ShelleyTxWitsRaw era → ShelleyTxWitsRaw era → Bool #

(/=)ShelleyTxWitsRaw era → ShelleyTxWitsRaw era → Bool #

EraScript era ⇒ NoThunks (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

type Rep (ShelleyTxWitsRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

type Rep (ShelleyTxWitsRaw era) = D1 ('MetaData "ShelleyTxWitsRaw" "Cardano.Ledger.Shelley.TxWits" "cardano-ledger-shelley-1.17.0.0-inplace" 'False) (C1 ('MetaCons "ShelleyTxWitsRaw" 'PrefixI 'True) (S1 ('MetaSel ('Just "stwrAddrTxWits") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set (WitVKey 'Witness))) :*: (S1 ('MetaSel ('Just "stwrScriptTxWits") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map ScriptHash (Script era))) :*: S1 ('MetaSel ('Just "stwrBootAddrTxWits") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set BootstrapWitness)))))

scriptShelleyTxWitsLEraScript era ⇒ Lens' (ShelleyTxWits era) (Map ScriptHash (Script era)) Source #

Script witness setter and getter for ShelleyTxWits. The setter does update memoized binary representation.

addrShelleyTxWitsLEraScript era ⇒ Lens' (ShelleyTxWits era) (Set (WitVKey 'Witness)) Source #

Addresses witness setter and getter for ShelleyTxWits. The setter does update memoized binary representation.

bootAddrShelleyTxWitsLEraScript era ⇒ Lens' (ShelleyTxWits era) (Set BootstrapWitness) Source #

Bootstrap Addresses witness setter and getter for ShelleyTxWits. The setter does update memoized binary representation.

addrWits'ShelleyTxWitsRaw era → Set (WitVKey 'Witness) Source #

Deprecated: In favor of stwrAddrTxWits

shelleyEqTxWitsRawEraTxWits era ⇒ TxWits era → TxWits era → Bool Source #

Orphan instances