v0.1.0-pre.061

This commit is contained in:
2026-07-28 18:41:30 +02:00
parent c7bad46f50
commit f40fb78817
527 changed files with 4598 additions and 4114 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-program-ids/src/constants.rs
// version: 6
// version: 7
//! Canonical Solana program and well-known account identifiers.
@@ -262,9 +262,9 @@ pub const SPL_MEMO_V4_PROGRAM_ID: &str = "Memo4c2pN8afCj432Lb7RMVKi9PbQnnW7ewFFa
/// Classic SPL Token program identifier.
pub const SPL_TOKEN_PROGRAM_ID: &str = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
/// SPL Token-2022 program identifier.
pub const SPL_TOKEN2022_PROGRAM_ID: &str = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
pub const SPL_TOKEN_2022_PROGRAM_ID: &str = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
/// SPL Token-2022 ElGamal public-key registry program identifier.
pub const SPL_TOKEN2022_ELGAMAL_REGISTRY_PROGRAM_ID: &str =
pub const SPL_TOKEN_2022_ELGAMAL_REGISTRY_PROGRAM_ID: &str =
"regVYJW7tcT8zipN5YiBvHsvR5jXW1uLFxaHSbugABg";
/// Historical Stake configuration account identifier.
pub const STAKE_CONFIG_ACCOUNT_ID: &str = "StakeConfig11111111111111111111111111111111";
@@ -779,12 +779,12 @@ pub(crate) const PROGRAM_ID_ENTRIES: &[crate::ProgramIdEntry] = &[
address: crate::SPL_TOKEN_PROGRAM_ID,
},
crate::ProgramIdEntry {
name: "spl_token2022",
address: crate::SPL_TOKEN2022_PROGRAM_ID,
name: "spl_token_2022",
address: crate::SPL_TOKEN_2022_PROGRAM_ID,
},
crate::ProgramIdEntry {
name: "spl_token2022_elgamal_registry",
address: crate::SPL_TOKEN2022_ELGAMAL_REGISTRY_PROGRAM_ID,
name: "spl_token_2022_elgamal_registry",
address: crate::SPL_TOKEN_2022_ELGAMAL_REGISTRY_PROGRAM_ID,
},
crate::ProgramIdEntry {
name: "stable_swap_hylo_exchange",

View File

@@ -1,5 +1,5 @@
// file: kb-program-ids/src/lib.rs
// version: 10
// version: 11
#![forbid(unsafe_code)]
#![deny(unreachable_pub)]
@@ -208,12 +208,12 @@ pub use self::constants::SPL_NOOP_PROGRAM_ID;
pub use self::constants::SPL_SINGLE_POOL_PROGRAM_ID;
/// Reserved `spl_stake_pool` program identifier.
pub use self::constants::SPL_STAKE_POOL_PROGRAM_ID;
/// SPL Token-2022 ElGamal public-key registry program identifier.
pub use self::constants::SPL_TOKEN_2022_ELGAMAL_REGISTRY_PROGRAM_ID;
/// SPL Token-2022 program identifier.
pub use self::constants::SPL_TOKEN_2022_PROGRAM_ID;
/// Classic SPL Token program identifier.
pub use self::constants::SPL_TOKEN_PROGRAM_ID;
/// SPL Token-2022 ElGamal public-key registry program identifier.
pub use self::constants::SPL_TOKEN2022_ELGAMAL_REGISTRY_PROGRAM_ID;
/// SPL Token-2022 program identifier.
pub use self::constants::SPL_TOKEN2022_PROGRAM_ID;
/// Reserved `stable_swap_hylo_exchange` program identifier.
pub use self::constants::STABLE_SWAP_HYLO_EXCHANGE_PROGRAM_ID;
/// Reserved `stable_swap_jupiter_stable` program identifier.

View File

@@ -1,5 +1,5 @@
// file: kb-program-ids/src/programs.rs
// version: 3
// version: 4
//! Enumerable canonical program registry.
@@ -131,8 +131,8 @@ mod tests {
crate::SPL_MEMO_V3_PROGRAM_ID,
crate::SPL_MEMO_V4_PROGRAM_ID,
crate::SPL_TOKEN_PROGRAM_ID,
crate::SPL_TOKEN2022_PROGRAM_ID,
crate::SPL_TOKEN2022_ELGAMAL_REGISTRY_PROGRAM_ID,
crate::SPL_TOKEN_2022_PROGRAM_ID,
crate::SPL_TOKEN_2022_ELGAMAL_REGISTRY_PROGRAM_ID,
crate::ASSOCIATED_TOKEN_PROGRAM_ID,
crate::METADATA_METAPLEX_TOKEN_METADATA_PROGRAM_ID,
];