Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BabbageTxOut era where
- TxOutCompactDatum !CompactAddr !(CompactForm (Value era)) !(BinaryData era)
- TxOutCompactRefScript !CompactAddr !(CompactForm (Value era)) !(Datum era) !(Script era)
- pattern BabbageTxOut ∷ (Era era, Val (Value era), HasCallStack) ⇒ Addr → Value era → Datum era → StrictMaybe (Script era) → BabbageTxOut era
- pattern TxOutCompact ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr → CompactForm (Value era) → BabbageTxOut era
- pattern TxOutCompactDH ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr → CompactForm (Value era) → DataHash → BabbageTxOut era
- class (AlonzoEraTxOut era, AlonzoEraScript era) ⇒ BabbageEraTxOut era where
- referenceScriptTxOutL ∷ Lens' (TxOut era) (StrictMaybe (Script era))
- dataTxOutL ∷ Lens' (TxOut era) (StrictMaybe (Data era))
- datumTxOutL ∷ Lens' (TxOut era) (Datum era)
- type family TxOut era = (r ∷ Type) | r → era
- addrEitherBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (Either Addr CompactAddr)
- valueEitherBabbageTxOutL ∷ ∀ era. EraTxOut era ⇒ Lens' (BabbageTxOut era) (Either (Value era) (CompactForm (Value era)))
- dataHashBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (StrictMaybe DataHash)
- dataBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (StrictMaybe (Data era))
- datumBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (Datum era)
- referenceScriptBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (StrictMaybe (Script era))
- getDatumBabbageTxOut ∷ HasCallStack ⇒ BabbageTxOut era → Datum era
- babbageMinUTxOValue ∷ BabbageEraPParams era ⇒ PParams era → Sized a → Coin
- getEitherAddrBabbageTxOut ∷ HasCallStack ⇒ BabbageTxOut era → Either Addr CompactAddr
- txOutData ∷ Era era ⇒ BabbageTxOut era → Maybe (Data era)
- txOutDataHash ∷ BabbageTxOut era → Maybe DataHash
- txOutScript ∷ BabbageTxOut era → Maybe (Script era)
- internBabbageTxOut ∷ (Credential 'Staking → Credential 'Staking) → BabbageTxOut era → BabbageTxOut era
Documentation
data BabbageTxOut era Source #
TxOutCompactDatum !CompactAddr !(CompactForm (Value era)) !(BinaryData era) | |
TxOutCompactRefScript !CompactAddr !(CompactForm (Value era)) !(Datum era) !(Script era) |
pattern BabbageTxOut ∷ (Era era, Val (Value era), HasCallStack) ⇒ Addr → Value era → Datum era → StrictMaybe (Script era) → BabbageTxOut era | |
pattern TxOutCompact ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr → CompactForm (Value era) → BabbageTxOut era | |
pattern TxOutCompactDH ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr → CompactForm (Value era) → DataHash → BabbageTxOut era |
Instances
class (AlonzoEraTxOut era, AlonzoEraScript era) ⇒ BabbageEraTxOut era where Source #
referenceScriptTxOutL ∷ Lens' (TxOut era) (StrictMaybe (Script era)) Source #
dataTxOutL ∷ Lens' (TxOut era) (StrictMaybe (Data era)) Source #
Instances
BabbageEraTxOut BabbageEra Source # | |
Defined in Cardano.Ledger.Babbage.TxOut |
type family TxOut era = (r ∷ Type) | r → era Source #
The output of a UTxO for a particular era
Instances
type TxOut AllegraEra | |
Defined in Cardano.Ledger.Allegra.TxOut | |
type TxOut AlonzoEra | |
Defined in Cardano.Ledger.Alonzo.TxOut | |
type TxOut BabbageEra Source # | |
Defined in Cardano.Ledger.Babbage.TxOut | |
type TxOut MaryEra | |
Defined in Cardano.Ledger.Mary.TxOut | |
type TxOut ShelleyEra | |
Defined in Cardano.Ledger.Shelley.TxOut |
addrEitherBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (Either Addr CompactAddr) Source #
valueEitherBabbageTxOutL ∷ ∀ era. EraTxOut era ⇒ Lens' (BabbageTxOut era) (Either (Value era) (CompactForm (Value era))) Source #
dataHashBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (StrictMaybe DataHash) Source #
dataBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (StrictMaybe (Data era)) Source #
datumBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (Datum era) Source #
referenceScriptBabbageTxOutL ∷ EraTxOut era ⇒ Lens' (BabbageTxOut era) (StrictMaybe (Script era)) Source #
getDatumBabbageTxOut ∷ HasCallStack ⇒ BabbageTxOut era → Datum era Source #
babbageMinUTxOValue ∷ BabbageEraPParams era ⇒ PParams era → Sized a → Coin Source #
txOutData ∷ Era era ⇒ BabbageTxOut era → Maybe (Data era) Source #
Deprecated: In favor of dataTxOutL
or getDataBabbageTxOut
txOutDataHash ∷ BabbageTxOut era → Maybe DataHash Source #
Deprecated: In favor of dataHashTxOutL
or getDataHashBabbageTxOut
txOutScript ∷ BabbageTxOut era → Maybe (Script era) Source #
Deprecated: In favor of dataTxOutL
or getScriptBabbageTxOut
internBabbageTxOut ∷ (Credential 'Staking → Credential 'Staking) → BabbageTxOut era → BabbageTxOut era Source #