v0.1.0-pre.010

This commit is contained in:
2026-07-23 21:41:09 +02:00
parent 51ed3d11cf
commit 62bc0ffb44
25 changed files with 3863 additions and 214 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-lib/src/lib.rs
// version: 11
// version: 12
//! Consolidated decoder, executor, materializer and shared model library.
#![warn(missing_docs)]
@@ -286,6 +286,16 @@ pub(crate) use crate::decoder::spl_token_decode;
pub(crate) use crate::decoder::spl_token_entry_for_tag;
/// Returns the first byte of one retained classic SPL Token payload.
pub(crate) use crate::decoder::spl_token_payload_tag;
/// Canonical tracing target for the native and SPL administration materializer.
pub(crate) use crate::materializer::admin::MATERIALIZER_ADMIN_TRACING_TARGET;
/// Canonical processor name for the native and SPL administration materializer.
pub(crate) use crate::materializer::admin::PROCESSOR_NAME as MATERIALIZER_ADMIN_PROCESSOR_NAME;
/// Canonical tracing target for the native compliance audit materializer.
pub(crate) use crate::materializer::compliance::MATERIALIZER_COMPLIANCE_AUDIT_TRACING_TARGET;
/// Canonical tracing target for the native lifecycle materializer.
pub(crate) use crate::materializer::lifecycle::MATERIALIZER_LIFECYCLE_TRACING_TARGET;
/// Canonical tracing target for the native stake and vote materializer.
pub(crate) use crate::materializer::staking::MATERIALIZER_STAKING_TRACING_TARGET;
/// Exact byte length of one SPL ElGamal registry account.
pub use crate::decoder::ELGAMAL_REGISTRY_ACCOUNT_LEN;
@@ -405,6 +415,12 @@ pub use crate::executor::api::executor::InstructionExecutor;
pub use crate::executor::api::executor::serialize_payload_json;
/// Exposes the pretty JSON payload serializer.
pub use crate::executor::api::executor::serialize_payload_json_pretty;
/// Stable native and SPL administration materializer.
pub use crate::materializer::admin::AdminMaterializer;
/// Materializes one exact SPL ElGamal registry account snapshot.
pub use crate::materializer::admin::materialize_elgamal_registry_state_snapshot;
/// Materializes exact Token-2022 administration account snapshots.
pub use crate::materializer::admin::materialize_token_2022_admin_state_snapshots;
/// Stable decoded observation materializer contract used by the common pipeline.
pub use crate::materializer::api::contracts::EventMaterializer;
/// Explicit policy applied to successful and failed source transactions.
@@ -429,6 +445,12 @@ pub use crate::materializer::api::contracts::validate_materialization_policy;
pub use crate::materializer::api::contracts::validate_materialized_output_policy;
/// Exposes the legacy common business materializer trait.
pub use crate::materializer::api::materializer::Materializer;
/// Stable native compliance audit materializer.
pub use crate::materializer::compliance::ComplianceAuditMaterializer;
/// Stable native lifecycle materializer.
pub use crate::materializer::lifecycle::LifecycleMaterializer;
/// Stable native stake and vote materializer.
pub use crate::materializer::staking::StakingMaterializer;
/// Current canonical transaction document version.
pub use crate::model::canonical_transaction::CANONICAL_TRANSACTION_FORMAT_VERSION;
/// Canonical address lookup table reference.