v0.1.0-pre.012
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
// file: kb-lib/src/materializer/admin.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! `admin` materializer family.
|
||||
|
||||
mod constants;
|
||||
mod core;
|
||||
|
||||
/// Canonical processor name for the native and SPL administration materializer.
|
||||
pub(crate) use self::constants::MT_ADMIN_PROCESSOR_NAME;
|
||||
/// Canonical tracing target for the native and SPL administration materializer.
|
||||
pub(crate) use self::constants::MT_ADMIN_TRACING_TARGET;
|
||||
|
||||
/// Stable native and SPL administration materializer.
|
||||
pub use self::core::MtAdminMaterializer;
|
||||
/// Materializes one exact SPL ElGamal registry account snapshot.
|
||||
pub use self::core::materializer_admin_materialize_elgamal_registry_state_snapshot;
|
||||
/// Materializes exact Token-2022 administration account snapshots.
|
||||
pub use self::core::materializer_admin_materialize_token2022_state_snapshots;
|
||||
|
||||
/// Canonical processor name for the native and SPL administration materializer.
|
||||
pub(crate) use self::constants::MT_ADMIN_PROCESSOR_NAME;
|
||||
/// Canonical tracing target for the native and SPL administration materializer.
|
||||
pub(crate) use self::constants::MT_ADMIN_TRACING_TARGET;
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Canonical processor name for this component.
|
||||
pub(crate) const MT_ADMIN_PROCESSOR_NAME: &str = "solana_native_admin";
|
||||
|
||||
/// Canonical tracing target for this component.
|
||||
pub(crate) const MT_ADMIN_TRACING_TARGET: &str = "kb-lib.materializer.admin";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_bridge";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
mod audit;
|
||||
mod constants;
|
||||
|
||||
/// Canonical tracing target for the native compliance audit materializer.
|
||||
pub(crate) use self::constants::MT_COMPLIANCE_AUDIT_TRACING_TARGET;
|
||||
|
||||
/// Stable native compliance audit materializer.
|
||||
pub use self::audit::MtComplianceAuditMaterializer;
|
||||
|
||||
/// Canonical tracing target for the native compliance audit materializer.
|
||||
pub(crate) use self::constants::MT_COMPLIANCE_AUDIT_TRACING_TARGET;
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_governance";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_lending";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
mod constants;
|
||||
mod core;
|
||||
|
||||
/// Canonical tracing target for the native lifecycle materializer.
|
||||
pub(crate) use self::constants::MT_LIFECYCLE_TRACING_TARGET;
|
||||
|
||||
/// Stable native lifecycle materializer.
|
||||
pub use self::core::MtLifecycleMaterializer;
|
||||
|
||||
/// Canonical tracing target for the native lifecycle materializer.
|
||||
pub(crate) use self::constants::MT_LIFECYCLE_TRACING_TARGET;
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_liquidity";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_nft";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_oracle";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_orderbook";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_perpetuals";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_pool_state";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_rewards";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
mod constants;
|
||||
mod core;
|
||||
|
||||
/// Stable SPL Token and ATA risk materializer.
|
||||
pub use self::core::MtRiskMaterializer;
|
||||
|
||||
/// Stable processor name for SPL Token and ATA risk facts.
|
||||
pub(crate) use self::constants::MT_RISK_PROCESSOR_NAME;
|
||||
/// Stable projection contract version for SPL Token and ATA risk facts.
|
||||
pub(crate) use self::constants::MT_RISK_PROJECTION_VERSION;
|
||||
/// Canonical tracing target for SPL Token and ATA risk facts.
|
||||
pub(crate) use self::constants::MT_RISK_TRACING_TARGET;
|
||||
|
||||
/// Stable SPL Token and ATA risk materializer.
|
||||
pub use self::core::MtRiskMaterializer;
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_routing";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
mod constants;
|
||||
mod core;
|
||||
|
||||
/// Canonical tracing target for the native stake and vote materializer.
|
||||
pub(crate) use self::constants::MT_STAKING_TRACING_TARGET;
|
||||
|
||||
/// Stable native stake and vote materializer.
|
||||
pub use self::core::MtStakingMaterializer;
|
||||
|
||||
/// Canonical tracing target for the native stake and vote materializer.
|
||||
pub(crate) use self::constants::MT_STAKING_TRACING_TARGET;
|
||||
|
||||
@@ -7,14 +7,14 @@ mod accounts;
|
||||
mod constants;
|
||||
mod metadata_risk;
|
||||
|
||||
/// Stable Token, ATA and Token-2022 account materializer.
|
||||
pub use self::accounts::MtTokenAccountsMaterializer;
|
||||
/// Materializes one bounded Token-2022 account state snapshot.
|
||||
pub use self::accounts::materializer_token_materialize_token2022_state_snapshot;
|
||||
|
||||
/// Stable processor name for Token, ATA and Token-2022 account projections.
|
||||
pub(crate) use self::constants::MT_TOKEN_ACCOUNTS_PROCESSOR_NAME;
|
||||
/// Stable projection contract version for Token, ATA and Token-2022 account projections.
|
||||
pub(crate) use self::constants::MT_TOKEN_ACCOUNTS_PROJECTION_VERSION;
|
||||
/// Canonical tracing target for Token, ATA and Token-2022 account projections.
|
||||
pub(crate) use self::constants::MT_TOKEN_ACCOUNTS_TRACING_TARGET;
|
||||
|
||||
/// Stable Token, ATA and Token-2022 account materializer.
|
||||
pub use self::accounts::MtTokenAccountsMaterializer;
|
||||
/// Materializes one bounded Token-2022 account state snapshot.
|
||||
pub use self::accounts::materializer_token_materialize_token2022_state_snapshot;
|
||||
|
||||
@@ -9,7 +9,6 @@ const ACCEPTED_FAMILIES: &[crate::MdEventFamily] = &[
|
||||
crate::MdEventFamily::TokenBurn,
|
||||
crate::MdEventFamily::Lifecycle,
|
||||
];
|
||||
|
||||
const MUTATION_ENTRIES: &[&str] = &[
|
||||
"initialize_mint",
|
||||
"initialize_mint2",
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_token_metadata_risk";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_trades";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
mod annotations;
|
||||
mod constants;
|
||||
|
||||
/// Stable committed Memo transaction annotation materializer.
|
||||
pub use self::annotations::MtTransactionAnnotationMaterializer;
|
||||
|
||||
/// Maximum Memo payload accepted by transaction annotations.
|
||||
pub(crate) use self::constants::MT_TRANSACTION_ANNOTATIONS_MAX_MEMO_PAYLOAD_BYTES;
|
||||
/// Stable processor name for transaction annotations.
|
||||
@@ -14,6 +17,3 @@ pub(crate) use self::constants::MT_TRANSACTION_ANNOTATIONS_PROCESSOR_NAME;
|
||||
pub(crate) use self::constants::MT_TRANSACTION_ANNOTATIONS_PROJECTION_VERSION;
|
||||
/// Canonical tracing target for transaction annotations.
|
||||
pub(crate) use self::constants::MT_TRANSACTION_ANNOTATIONS_TRACING_TARGET;
|
||||
|
||||
/// Stable committed Memo transaction annotation materializer.
|
||||
pub use self::annotations::MtTransactionAnnotationMaterializer;
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
/// Legacy crate name retained for migration and compatibility tracking.
|
||||
const LEGACY_CRATE: &str = "kb_materializer_vault";
|
||||
|
||||
/// Current porting status.
|
||||
const MIGRATION_STATUS: &str = "source-preserved-pending-port";
|
||||
|
||||
Reference in New Issue
Block a user