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
- allSizedOutputsBabbageTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (StrictSeq (Sized (TxOut era)))
- babbageMinUTxOValue ∷ BabbageEraPParams era ⇒ PParams era → Sized a → Coin
- data BabbageTxBody era where
- pattern BabbageTxBody ∷ BabbageEraTxBody era ⇒ Set TxIn → Set TxIn → Set TxIn → StrictSeq (Sized (TxOut era)) → StrictMaybe (Sized (TxOut era)) → StrictMaybe Coin → StrictSeq (TxCert era) → Withdrawals → Coin → ValidityInterval → StrictMaybe (Update era) → Set (KeyHash 'Witness) → MultiAsset → StrictMaybe ScriptIntegrityHash → StrictMaybe TxAuxDataHash → StrictMaybe Network → BabbageTxBody era
- data BabbageTxBodyRaw era
- data BabbageTxBodyUpgradeError
- babbageAllInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set TxIn)
- babbageSpendableInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set TxIn)
- class (AlonzoEraTxBody era, BabbageEraTxOut era) ⇒ BabbageEraTxBody era where
- sizedOutputsTxBodyL ∷ Lens' (TxBody era) (StrictSeq (Sized (TxOut era)))
- referenceInputsTxBodyL ∷ Lens' (TxBody era) (Set TxIn)
- totalCollateralTxBodyL ∷ Lens' (TxBody era) (StrictMaybe Coin)
- collateralReturnTxBodyL ∷ Lens' (TxBody era) (StrictMaybe (TxOut era))
- sizedCollateralReturnTxBodyL ∷ Lens' (TxBody era) (StrictMaybe (Sized (TxOut era)))
- allSizedOutputsTxBodyF ∷ SimpleGetter (TxBody era) (StrictSeq (Sized (TxOut era)))
- spendInputs' ∷ BabbageTxBody era → Set TxIn
- collateralInputs' ∷ BabbageTxBody era → Set TxIn
- referenceInputs' ∷ BabbageTxBody era → Set TxIn
- outputs' ∷ BabbageTxBody era → StrictSeq (TxOut era)
- collateralReturn' ∷ BabbageTxBody era → StrictMaybe (TxOut era)
- totalCollateral' ∷ BabbageTxBody era → StrictMaybe Coin
- certs' ∷ BabbageTxBody era → StrictSeq (TxCert era)
- withdrawals' ∷ BabbageTxBody era → Withdrawals
- txfee' ∷ BabbageTxBody era → Coin
- vldt' ∷ BabbageTxBody era → ValidityInterval
- update' ∷ BabbageTxBody era → StrictMaybe (Update era)
- reqSignerHashes' ∷ BabbageTxBody era → Set (KeyHash 'Witness)
- mint' ∷ BabbageTxBody era → MultiAsset
- scriptIntegrityHash' ∷ BabbageTxBody era → StrictMaybe ScriptIntegrityHash
- adHash' ∷ BabbageTxBody era → StrictMaybe TxAuxDataHash
- txnetworkid' ∷ BabbageTxBody era → StrictMaybe Network
- getEitherAddrBabbageTxOut ∷ BabbageTxOut era → Either Addr CompactAddr
- data EraIndependentScriptIntegrity
- type ScriptIntegrityHash = SafeHash EraIndependentScriptIntegrity
- txOutData ∷ Era era ⇒ BabbageTxOut era → Maybe (Data era)
- txOutDataHash ∷ BabbageTxOut era → Maybe DataHash
- txOutScript ∷ BabbageTxOut era → Maybe (Script 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
allSizedOutputsBabbageTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (StrictSeq (Sized (TxOut era))) Source #
babbageMinUTxOValue ∷ BabbageEraPParams era ⇒ PParams era → Sized a → Coin Source #
data BabbageTxBody era where Source #
pattern BabbageTxBody ∷ BabbageEraTxBody era ⇒ Set TxIn → Set TxIn → Set TxIn → StrictSeq (Sized (TxOut era)) → StrictMaybe (Sized (TxOut era)) → StrictMaybe Coin → StrictSeq (TxCert era) → Withdrawals → Coin → ValidityInterval → StrictMaybe (Update era) → Set (KeyHash 'Witness) → MultiAsset → StrictMaybe ScriptIntegrityHash → StrictMaybe TxAuxDataHash → StrictMaybe Network → BabbageTxBody era |
Instances
data BabbageTxBodyRaw era Source #
Instances
Generic (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal type Rep (BabbageTxBodyRaw era) ∷ Type → Type # from ∷ BabbageTxBodyRaw era → Rep (BabbageTxBodyRaw era) x # to ∷ Rep (BabbageTxBodyRaw era) x → BabbageTxBodyRaw era # | |
(Era era, Show (TxOut era), Show (TxCert era), Show (PParamsUpdate era)) ⇒ Show (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal showsPrec ∷ Int → BabbageTxBodyRaw era → ShowS # show ∷ BabbageTxBodyRaw era → String # showList ∷ [BabbageTxBodyRaw era] → ShowS # | |
(Era era, DecCBOR (TxOut era), DecCBOR (TxCert era), DecCBOR (PParamsUpdate era)) ⇒ DecCBOR (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal | |
(Era era, DecCBOR (TxOut era), DecCBOR (TxCert era), DecCBOR (PParamsUpdate era)) ⇒ DecCBOR (Annotator (BabbageTxBodyRaw era)) Source # | |
(Era era, EncCBOR (TxOut era), EncCBOR (TxCert era), EncCBOR (PParamsUpdate era)) ⇒ EncCBOR (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal encCBOR ∷ BabbageTxBodyRaw era → Encoding Source # encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (BabbageTxBodyRaw era) → Size Source # encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [BabbageTxBodyRaw era] → Size Source # | |
(Era era, Eq (TxOut era), Eq (TxCert era), Eq (PParamsUpdate era)) ⇒ EqRaw (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal eqRaw ∷ BabbageTxBodyRaw era → BabbageTxBodyRaw era → Bool Source # | |
(Era era, NFData (TxOut era), NFData (TxCert era), NFData (PParamsUpdate era)) ⇒ NFData (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal rnf ∷ BabbageTxBodyRaw era → () # | |
(Era era, Eq (TxOut era), Eq (TxCert era), Eq (PParamsUpdate era)) ⇒ Eq (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal (==) ∷ BabbageTxBodyRaw era → BabbageTxBodyRaw era → Bool # (/=) ∷ BabbageTxBodyRaw era → BabbageTxBodyRaw era → Bool # | |
(Era era, NoThunks (TxOut era), NoThunks (TxCert era), NoThunks (PParamsUpdate era)) ⇒ NoThunks (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal | |
type MemoHashIndex BabbageTxBodyRaw Source # | |
type Rep (BabbageTxBodyRaw era) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal type Rep (BabbageTxBodyRaw era) = D1 ('MetaData "BabbageTxBodyRaw" "Cardano.Ledger.Babbage.TxBody.Internal" "cardano-ledger-babbage-1.11.0.0-inplace" 'False) (C1 ('MetaCons "BabbageTxBodyRaw" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "btbrSpendInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set TxIn)) :*: S1 ('MetaSel ('Just "btbrCollateralInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set TxIn))) :*: (S1 ('MetaSel ('Just "btbrReferenceInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set TxIn)) :*: S1 ('MetaSel ('Just "btbrOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictSeq (Sized (TxOut era)))))) :*: ((S1 ('MetaSel ('Just "btbrCollateralReturn") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe (Sized (TxOut era)))) :*: S1 ('MetaSel ('Just "btbrTotalCollateral") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe Coin))) :*: (S1 ('MetaSel ('Just "btbrCerts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictSeq (TxCert era))) :*: S1 ('MetaSel ('Just "btbrWithdrawals") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Withdrawals)))) :*: (((S1 ('MetaSel ('Just "btbrTxFee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin) :*: S1 ('MetaSel ('Just "btbrValidityInterval") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ValidityInterval)) :*: (S1 ('MetaSel ('Just "btbrUpdate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe (Update era))) :*: S1 ('MetaSel ('Just "btbrReqSignerHashes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set (KeyHash 'Witness))))) :*: ((S1 ('MetaSel ('Just "btbrMint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MultiAsset) :*: S1 ('MetaSel ('Just "btbrScriptIntegrityHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe ScriptIntegrityHash))) :*: (S1 ('MetaSel ('Just "btbrAuxDataHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe TxAuxDataHash)) :*: S1 ('MetaSel ('Just "btbrTxNetworkId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe Network))))))) |
data BabbageTxBodyUpgradeError Source #
BTBUEUpdatesD | The update attempts to update the decentralistion parameter, which is dropped in Babbage. |
BTBUEUpdatesExtraEntropy | The update attempts to update the extra entropy, which is dropped in Babbage. |
babbageAllInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set TxIn) Source #
babbageSpendableInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set TxIn) Source #
class (AlonzoEraTxBody era, BabbageEraTxOut era) ⇒ BabbageEraTxBody era where Source #
sizedOutputsTxBodyL ∷ Lens' (TxBody era) (StrictSeq (Sized (TxOut era))) Source #
referenceInputsTxBodyL ∷ Lens' (TxBody era) (Set TxIn) Source #
totalCollateralTxBodyL ∷ Lens' (TxBody era) (StrictMaybe Coin) Source #
collateralReturnTxBodyL ∷ Lens' (TxBody era) (StrictMaybe (TxOut era)) Source #
sizedCollateralReturnTxBodyL ∷ Lens' (TxBody era) (StrictMaybe (Sized (TxOut era))) Source #
allSizedOutputsTxBodyF ∷ SimpleGetter (TxBody era) (StrictSeq (Sized (TxOut era))) Source #
Instances
spendInputs' ∷ BabbageTxBody era → Set TxIn Source #
collateralInputs' ∷ BabbageTxBody era → Set TxIn Source #
referenceInputs' ∷ BabbageTxBody era → Set TxIn Source #
collateralReturn' ∷ BabbageTxBody era → StrictMaybe (TxOut era) Source #
totalCollateral' ∷ BabbageTxBody era → StrictMaybe Coin Source #
withdrawals' ∷ BabbageTxBody era → Withdrawals Source #
txfee' ∷ BabbageTxBody era → Coin Source #
vldt' ∷ BabbageTxBody era → ValidityInterval Source #
update' ∷ BabbageTxBody era → StrictMaybe (Update era) Source #
reqSignerHashes' ∷ BabbageTxBody era → Set (KeyHash 'Witness) Source #
mint' ∷ BabbageTxBody era → MultiAsset Source #
adHash' ∷ BabbageTxBody era → StrictMaybe TxAuxDataHash Source #
txnetworkid' ∷ BabbageTxBody era → StrictMaybe Network Source #
data EraIndependentScriptIntegrity Source #
Instances
Era era ⇒ HashAnnotated (ScriptIntegrity era) EraIndependentScriptIntegrity | |
Defined in Cardano.Ledger.Alonzo.Tx |
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