v0.1.0-pre.011-fix-01

This commit is contained in:
2026-07-24 15:06:27 +02:00
parent 42e8a203ec
commit 60660ca555
161 changed files with 10665 additions and 977 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-program-ids/src/lib.rs
// version: 8
// version: 9
#![forbid(unsafe_code)]
#![deny(unreachable_pub)]
@@ -11,89 +11,89 @@ mod constants;
mod programs;
/// Internal list of executable native programs.
pub(crate) use constants::NATIVE_PROGRAM_ID_ENTRIES;
pub(crate) use self::constants::NATIVE_PROGRAM_ID_ENTRIES;
/// Internal list of native well-known accounts.
pub(crate) use constants::NATIVE_WELL_KNOWN_ACCOUNT_ID_ENTRIES;
pub(crate) use self::constants::NATIVE_WELL_KNOWN_ACCOUNT_ID_ENTRIES;
/// Internal list of currently registered identifiers.
pub(crate) use constants::PROGRAM_ID_ENTRIES;
pub(crate) use self::constants::PROGRAM_ID_ENTRIES;
/// Address Lookup Table program identifier.
pub use constants::ADDRESS_LOOKUP_TABLE_PROGRAM_ID;
pub use self::constants::ADDRESS_LOOKUP_TABLE_PROGRAM_ID;
/// SPL Associated Token Account program identifier.
pub use constants::ASSOCIATED_TOKEN_PROGRAM_ID;
pub use self::constants::ASSOCIATED_TOKEN_PROGRAM_ID;
/// Deprecated BPF Loader program identifier.
pub use constants::BPF_LOADER_DEPRECATED_PROGRAM_ID;
pub use self::constants::BPF_LOADER_DEPRECATED_PROGRAM_ID;
/// BPF Loader version 2 program identifier.
pub use constants::BPF_LOADER_PROGRAM_ID;
pub use self::constants::BPF_LOADER_PROGRAM_ID;
/// Upgradeable BPF Loader program identifier.
pub use constants::BPF_LOADER_UPGRADEABLE_PROGRAM_ID;
pub use self::constants::BPF_LOADER_UPGRADEABLE_PROGRAM_ID;
/// Compute Budget program identifier.
pub use constants::COMPUTE_BUDGET_PROGRAM_ID;
pub use self::constants::COMPUTE_BUDGET_PROGRAM_ID;
/// Config program identifier.
pub use constants::CONFIG_PROGRAM_ID;
pub use self::constants::CONFIG_PROGRAM_ID;
/// Ed25519 precompile program identifier.
pub use constants::ED25519_PROGRAM_ID;
pub use self::constants::ED25519_PROGRAM_ID;
/// Feature program identifier.
pub use constants::FEATURE_PROGRAM_ID;
pub use self::constants::FEATURE_PROGRAM_ID;
/// Incinerator well-known account identifier.
pub use constants::INCINERATOR_PROGRAM_ID;
pub use self::constants::INCINERATOR_PROGRAM_ID;
/// Loader version 4 program identifier.
pub use constants::LOADER_V4_PROGRAM_ID;
pub use self::constants::LOADER_V4_PROGRAM_ID;
/// Metaplex Token Metadata program identifier.
pub use constants::METADATA_METAPLEX_TOKEN_METADATA_PROGRAM_ID;
pub use self::constants::METADATA_METAPLEX_TOKEN_METADATA_PROGRAM_ID;
/// Native Loader program identifier.
pub use constants::NATIVE_LOADER_PROGRAM_ID;
pub use self::constants::NATIVE_LOADER_PROGRAM_ID;
/// Secp256k1 precompile program identifier.
pub use constants::SECP256K1_PROGRAM_ID;
pub use self::constants::SECP256K1_PROGRAM_ID;
/// Secp256r1 precompile program identifier.
pub use constants::SECP256R1_PROGRAM_ID;
pub use self::constants::SECP256R1_PROGRAM_ID;
/// Enshrined stateless Slashing program identifier.
pub use constants::SLASHING_PROGRAM_ID;
pub use self::constants::SLASHING_PROGRAM_ID;
/// Historical SPL Memo v1 program identifier.
pub use constants::SPL_MEMO_V1_PROGRAM_ID;
pub use self::constants::SPL_MEMO_V1_PROGRAM_ID;
/// Historical SPL Memo v3 program identifier.
pub use constants::SPL_MEMO_V3_PROGRAM_ID;
pub use self::constants::SPL_MEMO_V3_PROGRAM_ID;
/// Current SPL Memo v4 program identifier.
pub use constants::SPL_MEMO_V4_PROGRAM_ID;
pub use self::constants::SPL_MEMO_V4_PROGRAM_ID;
/// Classic SPL Token program identifier.
pub use constants::SPL_TOKEN_PROGRAM_ID;
pub use self::constants::SPL_TOKEN_PROGRAM_ID;
/// SPL Token-2022 ElGamal public-key registry program identifier.
pub use constants::SPL_TOKEN2022_ELGAMAL_REGISTRY_PROGRAM_ID;
pub use self::constants::SPL_TOKEN2022_ELGAMAL_REGISTRY_PROGRAM_ID;
/// SPL Token-2022 program identifier.
pub use constants::SPL_TOKEN2022_PROGRAM_ID;
pub use self::constants::SPL_TOKEN2022_PROGRAM_ID;
/// Historical Stake configuration account identifier.
pub use constants::STAKE_CONFIG_ACCOUNT_ID;
pub use self::constants::STAKE_CONFIG_ACCOUNT_ID;
/// Compatibility alias for the historical Stake configuration account identifier.
pub use constants::STAKE_CONFIG_PROGRAM_ID;
pub use self::constants::STAKE_CONFIG_PROGRAM_ID;
/// Stake program identifier.
pub use constants::STAKE_PROGRAM_ID;
pub use self::constants::STAKE_PROGRAM_ID;
/// System program identifier.
pub use constants::SYSTEM_PROGRAM_ID;
pub use self::constants::SYSTEM_PROGRAM_ID;
/// Clock sysvar account identifier.
pub use constants::SYSVAR_CLOCK_PROGRAM_ID;
pub use self::constants::SYSVAR_CLOCK_PROGRAM_ID;
/// Instructions sysvar account identifier.
pub use constants::SYSVAR_INSTRUCTIONS_PROGRAM_ID;
pub use self::constants::SYSVAR_INSTRUCTIONS_PROGRAM_ID;
/// Rent sysvar account identifier.
pub use constants::SYSVAR_RENT_PROGRAM_ID;
pub use self::constants::SYSVAR_RENT_PROGRAM_ID;
/// Slot Hashes sysvar account identifier.
pub use constants::SYSVAR_SLOT_HASHES_PROGRAM_ID;
pub use self::constants::SYSVAR_SLOT_HASHES_PROGRAM_ID;
/// Stake History sysvar account identifier.
pub use constants::SYSVAR_STAKE_HISTORY_PROGRAM_ID;
pub use self::constants::SYSVAR_STAKE_HISTORY_PROGRAM_ID;
/// Vote program identifier.
pub use constants::VOTE_PROGRAM_ID;
pub use self::constants::VOTE_PROGRAM_ID;
/// ZK ElGamal Proof program identifier.
pub use constants::ZK_ELGAMAL_PROOF_PROGRAM_ID;
pub use self::constants::ZK_ELGAMAL_PROOF_PROGRAM_ID;
/// ZK Token Proof program identifier.
pub use constants::ZK_TOKEN_PROOF_PROGRAM_ID;
pub use self::constants::ZK_TOKEN_PROOF_PROGRAM_ID;
/// One enumerable program identifier entry.
pub use programs::ProgramIdEntry;
pub use self::programs::ProgramIdEntry;
/// Returns every program identifier currently registered by this crate.
pub use programs::entries;
pub use self::programs::entries;
/// Finds one registered program or well-known account by exact Base58 identifier.
pub use programs::find_registered_program_id;
pub use self::programs::find_registered_program_id;
/// Returns every executable runtime-native, loader, precompile and historical native program identifier.
pub use programs::native_program_ids;
pub use self::programs::native_program_ids;
/// Returns native well-known accounts that are not executable programs.
pub use programs::native_well_known_account_ids;
pub use self::programs::native_well_known_account_ids;
/// Returns every program identifier currently registered by this crate.
pub use programs::registered_program_ids;
pub use self::programs::registered_program_ids;