v0.4.8-pre.003
This commit is contained in:
@@ -1,7 +1,39 @@
|
||||
// file: kb-lib/src/decoder/metadata/solana_program_metadata.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
//! Reserved protocol decoder for `metadata_solana_program_metadata`.
|
||||
//! Public Solana Program Metadata models and reserved protocol decoder.
|
||||
|
||||
mod constants;
|
||||
mod model;
|
||||
|
||||
/// Exact fixed byte length of one Buffer account header.
|
||||
pub use self::constants::DC_METADATA_SPM_BUFFER_HEADER_BYTES;
|
||||
/// Exact byte length of one external-account data reference.
|
||||
pub use self::constants::DC_METADATA_SPM_EXTERNAL_DATA_BYTES;
|
||||
/// Exact fixed byte length of one Metadata account header.
|
||||
pub use self::constants::DC_METADATA_SPM_METADATA_HEADER_BYTES;
|
||||
/// Exact byte length of one Solana Program Metadata seed.
|
||||
pub use self::constants::DC_METADATA_SPM_SEED_BYTES;
|
||||
/// Solana Program Metadata account discriminator.
|
||||
pub use self::model::DcMetadataSpmAccountDiscriminator;
|
||||
/// Compression declared for metadata content.
|
||||
pub use self::model::DcMetadataSpmCompression;
|
||||
/// Typed on-chain metadata content without off-chain resolution.
|
||||
pub use self::model::DcMetadataSpmData;
|
||||
/// On-chain source used for metadata content.
|
||||
pub use self::model::DcMetadataSpmDataSource;
|
||||
/// Encoding declared for metadata content.
|
||||
pub use self::model::DcMetadataSpmEncoding;
|
||||
/// Fixed external-account data reference.
|
||||
pub use self::model::DcMetadataSpmExternalData;
|
||||
/// Format declared for metadata content.
|
||||
pub use self::model::DcMetadataSpmFormat;
|
||||
/// Bounded model conversion error.
|
||||
pub use self::model::DcMetadataSpmModelError;
|
||||
/// Official Solana Program Metadata custom error.
|
||||
pub use self::model::DcMetadataSpmProgramError;
|
||||
/// Exact fixed-size metadata seed.
|
||||
pub use self::model::DcMetadataSpmSeed;
|
||||
|
||||
/// Reserved decoder for the `metadata_solana_program_metadata` program surface.
|
||||
#[derive(Clone, Debug, Default)]
|
||||
|
||||
Reference in New Issue
Block a user