cardano-ledger-dijkstra-0.3.0.0: Cardano ledger with nested transactions
Safe HaskellNone
LanguageHaskell2010

Cardano.Ledger.Dijkstra.TxInfo

Documentation

data DijkstraContextError era Source #

Constructors

ConwayContextError (ConwayContextError era) 
SubTxContextError TxId (ContextError era)

Failure translating sub-transactions for Guarding purpose at the top level

PointerPresentInOutput (NonEmpty (TxOut era)) 
UnsupportedScriptInSubTx Language TxId

Attempt to use PlutusV1-V3 in a sub-transaction will result in this failure

DirectDepositsNotSupported DirectDeposits

Attempt to use PlutusV1-V3 with non-empty direct deposits will result in this failure

AccountBalanceIntervalsNotSupported (AccountBalanceIntervals era)

Attempt to use PlutusV1-V3 with non-empty account balance intervals will result in this failure

SubTxsAreNotSupported (NonEmpty TxId)

Attempt to use sub-transactions with PlutusV1-V3 scripts at the top level will result in this failure

GuardScriptHashesNotSupported (NonEmpty ScriptHash)

Attempt to use PlutusV1-V3 with script hashes in guards will result in this failure

Instances

Instances details
(ToJSON (TxOut era), ToJSON (TxCert era), ToJSON (ContextError era), ToJSON (PlutusPurpose AsIx era), ToJSON (PlutusPurpose AsItem era), EraPParams era) ⇒ ToJSON (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

(EraPParams era, DecCBOR (TxOut era), DecCBOR (TxCert era), DecCBOR (ContextError era), DecCBOR (PlutusPurpose AsIx era), DecCBOR (PlutusPurpose AsItem era)) ⇒ DecCBOR (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

(EraPParams era, EncCBOR (TxOut era), EncCBOR (TxCert era), EncCBOR (ContextError era), EncCBOR (PlutusPurpose AsIx era), EncCBOR (PlutusPurpose AsItem era)) ⇒ EncCBOR (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

(AlonzoEraScript era, EraTxCert era, EraTxOut era, NFData (ContextError era)) ⇒ NFData (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

Methods

rnfDijkstraContextError era → () #

Generic (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

Associated Types

type Rep (DijkstraContextError era) 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

type Rep (DijkstraContextError era) = D1 ('MetaData "DijkstraContextError" "Cardano.Ledger.Dijkstra.TxInfo" "cardano-ledger-dijkstra-0.3.0.0-inplace" 'False) (((C1 ('MetaCons "ConwayContextError" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConwayContextError era))) :+: C1 ('MetaCons "SubTxContextError" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ContextError era)))) :+: (C1 ('MetaCons "PointerPresentInOutput" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty (TxOut era)))) :+: C1 ('MetaCons "UnsupportedScriptInSubTx" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Language) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId)))) :+: ((C1 ('MetaCons "DirectDepositsNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DirectDeposits)) :+: C1 ('MetaCons "AccountBalanceIntervalsNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AccountBalanceIntervals era)))) :+: (C1 ('MetaCons "SubTxsAreNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty TxId))) :+: C1 ('MetaCons "GuardScriptHashesNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty ScriptHash))))))
(AlonzoEraScript era, EraTxCert era, EraTxOut era, Show (ContextError era)) ⇒ Show (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

(AlonzoEraScript era, EraTxCert era, EraTxOut era, Eq (ContextError era)) ⇒ Eq (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

Inject (BabbageContextError era) (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

Inject (ConwayContextError era) (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

Inject (AlonzoContextError era) (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

type Rep (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

type Rep (DijkstraContextError era) = D1 ('MetaData "DijkstraContextError" "Cardano.Ledger.Dijkstra.TxInfo" "cardano-ledger-dijkstra-0.3.0.0-inplace" 'False) (((C1 ('MetaCons "ConwayContextError" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConwayContextError era))) :+: C1 ('MetaCons "SubTxContextError" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ContextError era)))) :+: (C1 ('MetaCons "PointerPresentInOutput" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty (TxOut era)))) :+: C1 ('MetaCons "UnsupportedScriptInSubTx" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Language) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId)))) :+: ((C1 ('MetaCons "DirectDepositsNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DirectDeposits)) :+: C1 ('MetaCons "AccountBalanceIntervalsNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AccountBalanceIntervals era)))) :+: (C1 ('MetaCons "SubTxsAreNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty TxId))) :+: C1 ('MetaCons "GuardScriptHashesNotSupported" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty ScriptHash))))))

Orphan instances

EraPlutusContext DijkstraEra Source # 
Instance details

EraPlutusTxInfo 'PlutusV1 DijkstraEra Source # 
Instance details

EraPlutusTxInfo 'PlutusV2 DijkstraEra Source # 
Instance details

EraPlutusTxInfo 'PlutusV3 DijkstraEra Source # 
Instance details

EraPlutusTxInfo 'PlutusV4 DijkstraEra Source # 
Instance details

ConwayEraPlutusTxInfo 'PlutusV3 DijkstraEra Source # 
Instance details

ConwayEraPlutusTxInfo 'PlutusV4 DijkstraEra Source # 
Instance details