Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Ledger.Shelley.TxWits
Contents
Synopsis
- newtype ShelleyTxWits era where
- MkShelleyTxWits (MemoBytes (ShelleyTxWitsRaw era))
- pattern ShelleyTxWits ∷ ∀ era. EraScript era ⇒ Set (WitVKey 'Witness) → Map ScriptHash (Script era) → Set BootstrapWitness → ShelleyTxWits era
- data ShelleyTxWitsRaw era = ShelleyTxWitsRaw {
- stwrAddrTxWits ∷ !(Set (WitVKey 'Witness))
- stwrScriptTxWits ∷ !(Map ScriptHash (Script era))
- stwrBootAddrTxWits ∷ !(Set BootstrapWitness)
- scriptShelleyTxWitsL ∷ EraScript era ⇒ Lens' (ShelleyTxWits era) (Map ScriptHash (Script era))
- addrShelleyTxWitsL ∷ EraScript era ⇒ Lens' (ShelleyTxWits era) (Set (WitVKey 'Witness))
- bootAddrShelleyTxWitsL ∷ EraScript era ⇒ Lens' (ShelleyTxWits era) (Set BootstrapWitness)
- addrWits' ∷ ShelleyTxWitsRaw era → Set (WitVKey 'Witness)
- shelleyEqTxWitsRaw ∷ EraTxWits era ⇒ TxWits era → TxWits era → Bool
Documentation
newtype ShelleyTxWits era Source #
Constructors
MkShelleyTxWits (MemoBytes (ShelleyTxWitsRaw era)) |
Bundled Patterns
pattern ShelleyTxWits ∷ ∀ era. EraScript era ⇒ Set (WitVKey 'Witness) → Map ScriptHash (Script era) → Set BootstrapWitness → ShelleyTxWits era |
Instances
data ShelleyTxWitsRaw era Source #
Constructors
ShelleyTxWitsRaw | |
Fields
|
Instances
scriptShelleyTxWitsL ∷ EraScript era ⇒ Lens' (ShelleyTxWits era) (Map ScriptHash (Script era)) Source #
Script witness setter and getter for ShelleyTxWits
. The
setter does update memoized binary representation.
addrShelleyTxWitsL ∷ EraScript era ⇒ Lens' (ShelleyTxWits era) (Set (WitVKey 'Witness)) Source #
Addresses witness setter and getter for ShelleyTxWits
. The
setter does update memoized binary representation.
bootAddrShelleyTxWitsL ∷ EraScript 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
Orphan instances
EraTxWits ShelleyEra Source # | |
Associated Types type TxWits ShelleyEra = (r ∷ Type) Source # Methods mkBasicTxWits ∷ TxWits ShelleyEra Source # addrTxWitsL ∷ Lens' (TxWits ShelleyEra) (Set (WitVKey 'Witness)) Source # bootAddrTxWitsL ∷ Lens' (TxWits ShelleyEra) (Set BootstrapWitness) Source # scriptTxWitsL ∷ Lens' (TxWits ShelleyEra) (Map ScriptHash (Script ShelleyEra)) Source # upgradeTxWits ∷ TxWits (PreviousEra ShelleyEra) → TxWits ShelleyEra Source # |