| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Plutus.ChainIndex.ChainIndexLog
Synopsis
- data ChainIndexLog
- = InsertionSuccess Tip InsertUtxoPosition
- | ConversionFailed FromCardanoError
- | RollbackSuccess Tip
- | Err ChainIndexError
- | TxNotFound TxId
- | TxOutNotFound TxOutRef
- | TipIsGenesis
- | NoDatumScriptAddr ChainIndexTxOut
- | BeamLogItem BeamLog
- data InsertUtxoPosition
Documentation
data ChainIndexLog Source #
Constructors
| InsertionSuccess Tip InsertUtxoPosition | |
| ConversionFailed FromCardanoError | |
| RollbackSuccess Tip | |
| Err ChainIndexError | |
| TxNotFound TxId | |
| TxOutNotFound TxOutRef | |
| TipIsGenesis | |
| NoDatumScriptAddr ChainIndexTxOut | |
| BeamLogItem BeamLog |
Instances
data InsertUtxoPosition Source #
Outcome of inserting a UtxoState into the utxo index
Constructors
| InsertAtEnd | The utxo state was added to the end. Returns the new index |
| InsertBeforeEnd | The utxo state was added somewhere before the end. Returns the new index and the tip |