Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BabbageTxOut era where
- TxOutCompactDatum !(CompactAddr (EraCrypto era)) !(CompactForm (Value era)) !(BinaryData era)
- TxOutCompactRefScript !(CompactAddr (EraCrypto era)) !(CompactForm (Value era)) !(Datum era) !(Script era)
- pattern BabbageTxOut ∷ (Era era, Val (Value era), HasCallStack) ⇒ Addr (EraCrypto era) → Value era → Datum era → StrictMaybe (Script era) → BabbageTxOut era
- pattern TxOutCompact ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr (EraCrypto era) → CompactForm (Value era) → BabbageTxOut era
- pattern TxOutCompactDH ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr (EraCrypto era) → CompactForm (Value era) → DataHash (EraCrypto era) → 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 (EraCrypto era)) → Set (TxIn (EraCrypto era)) → Set (TxIn (EraCrypto era)) → StrictSeq (Sized (TxOut era)) → StrictMaybe (Sized (TxOut era)) → StrictMaybe Coin → StrictSeq (TxCert era) → Withdrawals (EraCrypto era) → Coin → ValidityInterval → StrictMaybe (Update era) → Set (KeyHash 'Witness (EraCrypto era)) → MultiAsset (EraCrypto era) → StrictMaybe (ScriptIntegrityHash (EraCrypto era)) → StrictMaybe (AuxiliaryDataHash (EraCrypto era)) → StrictMaybe Network → BabbageTxBody era
- data BabbageTxBodyRaw era
- data BabbageTxBodyUpgradeError
- babbageAllInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set (TxIn (EraCrypto era)))
- babbageSpendableInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set (TxIn (EraCrypto era)))
- class (AlonzoEraTxBody era, BabbageEraTxOut era) ⇒ BabbageEraTxBody era where
- sizedOutputsTxBodyL ∷ Lens' (TxBody era) (StrictSeq (Sized (TxOut era)))
- referenceInputsTxBodyL ∷ Lens' (TxBody era) (Set (TxIn (EraCrypto era)))
- 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 (EraCrypto era))
- collateralInputs' ∷ BabbageTxBody era → Set (TxIn (EraCrypto era))
- referenceInputs' ∷ BabbageTxBody era → Set (TxIn (EraCrypto era))
- 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 (EraCrypto era)
- txfee' ∷ BabbageTxBody era → Coin
- vldt' ∷ BabbageTxBody era → ValidityInterval
- update' ∷ BabbageTxBody era → StrictMaybe (Update era)
- reqSignerHashes' ∷ BabbageTxBody era → Set (KeyHash 'Witness (EraCrypto era))
- mint' ∷ BabbageTxBody era → MultiAsset (EraCrypto era)
- scriptIntegrityHash' ∷ BabbageTxBody era → StrictMaybe (ScriptIntegrityHash (EraCrypto era))
- adHash' ∷ BabbageTxBody era → StrictMaybe (AuxiliaryDataHash (EraCrypto era))
- txnetworkid' ∷ BabbageTxBody era → StrictMaybe Network
- getEitherAddrBabbageTxOut ∷ (HasCallStack, HashAlgorithm (ADDRHASH (EraCrypto era))) ⇒ BabbageTxOut era → Either (Addr (EraCrypto era)) (CompactAddr (EraCrypto era))
- data EraIndependentScriptIntegrity
- type ScriptIntegrityHash c = SafeHash c EraIndependentScriptIntegrity
- txOutData ∷ Era era ⇒ BabbageTxOut era → Maybe (Data era)
- txOutDataHash ∷ Era era ⇒ BabbageTxOut era → Maybe (DataHash (EraCrypto era))
- txOutScript ∷ BabbageTxOut era → Maybe (Script era)
Documentation
data BabbageTxOut era Source #
TxOutCompactDatum !(CompactAddr (EraCrypto era)) !(CompactForm (Value era)) !(BinaryData era) | |
TxOutCompactRefScript !(CompactAddr (EraCrypto era)) !(CompactForm (Value era)) !(Datum era) !(Script era) |
pattern BabbageTxOut ∷ (Era era, Val (Value era), HasCallStack) ⇒ Addr (EraCrypto era) → Value era → Datum era → StrictMaybe (Script era) → BabbageTxOut era | |
pattern TxOutCompact ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr (EraCrypto era) → CompactForm (Value era) → BabbageTxOut era | |
pattern TxOutCompactDH ∷ (Era era, Val (Value era), Compactible (Value era), HasCallStack) ⇒ CompactAddr (EraCrypto era) → CompactForm (Value era) → DataHash (EraCrypto era) → 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 (EraCrypto era)) → Set (TxIn (EraCrypto era)) → Set (TxIn (EraCrypto era)) → StrictSeq (Sized (TxOut era)) → StrictMaybe (Sized (TxOut era)) → StrictMaybe Coin → StrictSeq (TxCert era) → Withdrawals (EraCrypto era) → Coin → ValidityInterval → StrictMaybe (Update era) → Set (KeyHash 'Witness (EraCrypto era)) → MultiAsset (EraCrypto era) → StrictMaybe (ScriptIntegrityHash (EraCrypto era)) → StrictMaybe (AuxiliaryDataHash (EraCrypto era)) → StrictMaybe Network → BabbageTxBody era |
Instances
data BabbageTxBodyRaw era Source #
Instances
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 (EraCrypto era))) Source #
babbageSpendableInputsTxBodyF ∷ BabbageEraTxBody era ⇒ SimpleGetter (TxBody era) (Set (TxIn (EraCrypto era))) 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 (EraCrypto era))) 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
Crypto c ⇒ BabbageEraTxBody (BabbageEra c) Source # | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal sizedOutputsTxBodyL ∷ Lens' (TxBody (BabbageEra c)) (StrictSeq (Sized (TxOut (BabbageEra c)))) Source # referenceInputsTxBodyL ∷ Lens' (TxBody (BabbageEra c)) (Set (TxIn (EraCrypto (BabbageEra c)))) Source # totalCollateralTxBodyL ∷ Lens' (TxBody (BabbageEra c)) (StrictMaybe Coin) Source # collateralReturnTxBodyL ∷ Lens' (TxBody (BabbageEra c)) (StrictMaybe (TxOut (BabbageEra c))) Source # sizedCollateralReturnTxBodyL ∷ Lens' (TxBody (BabbageEra c)) (StrictMaybe (Sized (TxOut (BabbageEra c)))) Source # allSizedOutputsTxBodyF ∷ SimpleGetter (TxBody (BabbageEra c)) (StrictSeq (Sized (TxOut (BabbageEra c)))) Source # |
spendInputs' ∷ BabbageTxBody era → Set (TxIn (EraCrypto era)) Source #
collateralInputs' ∷ BabbageTxBody era → Set (TxIn (EraCrypto era)) Source #
referenceInputs' ∷ BabbageTxBody era → Set (TxIn (EraCrypto era)) Source #
collateralReturn' ∷ BabbageTxBody era → StrictMaybe (TxOut era) Source #
totalCollateral' ∷ BabbageTxBody era → StrictMaybe Coin Source #
withdrawals' ∷ BabbageTxBody era → Withdrawals (EraCrypto era) Source #
txfee' ∷ BabbageTxBody era → Coin Source #
vldt' ∷ BabbageTxBody era → ValidityInterval Source #
update' ∷ BabbageTxBody era → StrictMaybe (Update era) Source #
reqSignerHashes' ∷ BabbageTxBody era → Set (KeyHash 'Witness (EraCrypto era)) Source #
mint' ∷ BabbageTxBody era → MultiAsset (EraCrypto era) Source #
scriptIntegrityHash' ∷ BabbageTxBody era → StrictMaybe (ScriptIntegrityHash (EraCrypto era)) Source #
adHash' ∷ BabbageTxBody era → StrictMaybe (AuxiliaryDataHash (EraCrypto era)) Source #
txnetworkid' ∷ BabbageTxBody era → StrictMaybe Network Source #
getEitherAddrBabbageTxOut ∷ (HasCallStack, HashAlgorithm (ADDRHASH (EraCrypto era))) ⇒ BabbageTxOut era → Either (Addr (EraCrypto era)) (CompactAddr (EraCrypto era)) Source #
data EraIndependentScriptIntegrity Source #
Instances
(Era era, c ~ EraCrypto era) ⇒ HashAnnotated (ScriptIntegrity era) EraIndependentScriptIntegrity c | |
txOutData ∷ Era era ⇒ BabbageTxOut era → Maybe (Data era) Source #
Deprecated: In favor of dataTxOutL
or getDataBabbageTxOut
txOutDataHash ∷ Era era ⇒ BabbageTxOut era → Maybe (DataHash (EraCrypto era)) Source #
Deprecated: In favor of dataHashTxOutL
or getDataHashBabbageTxOut
txOutScript ∷ BabbageTxOut era → Maybe (Script era) Source #
Deprecated: In favor of dataTxOutL
or getScriptBabbageTxOut