Expand description
The core ChainDecoder trait and associated progress/batch types.
Every chain-specific decoder (EVM, Solana, Cosmos, etc.) implements
ChainDecoder. The trait is object-safe so decoders can be stored as
Arc<dyn ChainDecoder> in the streaming and batch engines.
Structs§
- Batch
Decode Result - The output of a batch decode: successful events plus any collected errors.
Enums§
- Error
Mode - Controls how the batch engine reacts to individual decode failures.
Traits§
- Chain
Decoder - The central trait every chain-specific decoder must implement.
- Progress
Callback - Callback invoked by the batch engine during long-running decodes.
decodedis the number of events successfully decoded so far;totalis the total count in the current batch.