Skip to main content

chaincodec_core/
lib.rs

1//! # chaincodec-core
2//!
3//! Core traits, types, and primitives shared across all ChainCodec crates.
4//! Every chain decoder, registry, and streaming engine is built on top of
5//! the interfaces defined here.
6
7pub mod call;
8pub mod chain;
9pub mod decoder;
10pub mod error;
11pub mod event;
12pub mod schema;
13pub mod types;
14
15pub use call::{DecodedCall, DecodedConstructor, HumanReadable};
16pub use chain::{ChainFamily, ChainId};
17pub use decoder::{ChainDecoder, ProgressCallback};
18pub use error::{BatchDecodeError, DecodeError, RegistryError, StreamError};
19pub use event::{DecodedEvent, EventFingerprint, RawEvent};
20pub use schema::{Schema, SchemaRegistry};
21pub use types::{CanonicalType, NormalizedValue};