plutus-ledger-1.1.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Ledger.Index.Internal

Synopsis

Documentation

newtype UtxoIndex Source #

The UTxOs of a blockchain indexed by their references.

Constructors

UtxoIndex 

Instances

Instances details
Eq UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

Show UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

Generic UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

Associated Types

type Rep UtxoIndex :: Type -> Type Source #

Semigroup UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

Monoid UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

NFData UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

Methods

rnf :: UtxoIndex -> () Source #

ToJSON UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

FromJSON UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

ToSchema UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

Serialise UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

type Rep UtxoIndex Source # 
Instance details

Defined in Ledger.Index.Internal

type Rep UtxoIndex = D1 ('MetaData "UtxoIndex" "Ledger.Index.Internal" "plutus-ledger-1.1.0.0-JskZbcPMCdRJVHaAZ0to82" 'True) (C1 ('MetaCons "UtxoIndex" 'PrefixI 'True) (S1 ('MetaSel ('Just "getIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map TxOutRef TxOut))))

data ValidationError Source #

A reason why a transaction is invalid.

Constructors

TxOutRefNotFound TxOutRef

The transaction output consumed by a transaction input could not be found (either because it was already spent, or because there was no transaction with the given hash on the blockchain).

ScriptFailure ScriptError

For pay-to-script outputs: evaluation of the validator script failed.

CardanoLedgerValidationError Text

An error from Cardano.Ledger validation

Instances

Instances details
Eq ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

Show ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

Generic ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

Associated Types

type Rep ValidationError :: Type -> Type Source #

ToJSON ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

FromJSON ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

Pretty ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

AsValidationError ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

type Rep ValidationError Source # 
Instance details

Defined in Ledger.Index.Internal

type Rep ValidationError = D1 ('MetaData "ValidationError" "Ledger.Index.Internal" "plutus-ledger-1.1.0.0-JskZbcPMCdRJVHaAZ0to82" 'False) (C1 ('MetaCons "TxOutRefNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxOutRef)) :+: (C1 ('MetaCons "ScriptFailure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptError)) :+: C1 ('MetaCons "CardanoLedgerValidationError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data ValidationPhase Source #

Constructors

Phase1 
Phase2 

Instances

Instances details
Eq ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

Show ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

Generic ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

Associated Types

type Rep ValidationPhase :: Type -> Type Source #

ToJSON ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

FromJSON ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

Pretty ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

type Rep ValidationPhase Source # 
Instance details

Defined in Ledger.Index.Internal

type Rep ValidationPhase = D1 ('MetaData "ValidationPhase" "Ledger.Index.Internal" "plutus-ledger-1.1.0.0-JskZbcPMCdRJVHaAZ0to82" 'False) (C1 ('MetaCons "Phase1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Phase2" 'PrefixI 'False) (U1 :: Type -> Type))