v0.4.8-pre.003
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// file: kb-lib/src/decoder/metadata/solana_program_metadata/constants.rs
|
||||
// version: 1
|
||||
|
||||
//! Bounded Solana Program Metadata wire constants.
|
||||
|
||||
/// Exact byte length of one Solana Program Metadata seed.
|
||||
pub const DC_METADATA_SPM_SEED_BYTES: usize = 16;
|
||||
/// Exact fixed byte length of one Buffer account header.
|
||||
pub const DC_METADATA_SPM_BUFFER_HEADER_BYTES: usize = 96;
|
||||
/// Exact fixed byte length of one Metadata account header.
|
||||
pub const DC_METADATA_SPM_METADATA_HEADER_BYTES: usize = 96;
|
||||
/// Exact byte length of one external-account data reference.
|
||||
pub const DC_METADATA_SPM_EXTERNAL_DATA_BYTES: usize = 40;
|
||||
Reference in New Issue
Block a user