| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ledger.Index.Internal
Synopsis
- newtype UtxoIndex = UtxoIndex {}
- data ValidationError
- class AsValidationError r where
- data ValidationPhase
- type ValidationErrorInPhase = (ValidationPhase, ValidationError)
- type ValidationSuccess = Map RdmrPtr ([Text], ExUnits)
Documentation
The UTxOs of a blockchain indexed by their references.
Instances
| Eq UtxoIndex Source # | |
| Show UtxoIndex Source # | |
| Generic UtxoIndex Source # | |
| Semigroup UtxoIndex Source # | |
| Monoid UtxoIndex Source # | |
| NFData UtxoIndex Source # | |
Defined in Ledger.Index.Internal | |
| ToJSON UtxoIndex Source # | |
| FromJSON UtxoIndex Source # | |
| ToSchema UtxoIndex Source # | |
Defined in Ledger.Index.Internal Methods declareNamedSchema :: Proxy UtxoIndex -> Declare (Definitions Schema) NamedSchema Source # | |
| Serialise UtxoIndex Source # | |
| type Rep UtxoIndex Source # | |
Defined in Ledger.Index.Internal | |
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
class AsValidationError r where Source #
Minimal complete definition
Methods
_ValidationError :: Prism' r ValidationError Source #
_TxOutRefNotFound :: Prism' r TxOutRef Source #
Instances
data ValidationPhase Source #