v0.1.0-pre.015

This commit is contained in:
2026-07-24 17:25:51 +02:00
parent 60a75c4434
commit a818c4a60e
26 changed files with 16723 additions and 103 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-lib/src/lib.rs
// version: 17
// version: 18
//! Consolidated decoder, executor, materializer and shared model library.
#![warn(missing_docs)]
@@ -172,67 +172,51 @@ pub use self::decoder::DcLendingMarginfiV2Decoder;
/// Reserved `kb_decoder_lock_raydium_lp` decoder.
pub use self::decoder::DcLockRaydiumLpDecoder;
/// Exact decoder for the Metaplex Token Metadata program.
/// Exact decoder for the Metaplex Token Metadata program.
pub use self::decoder::DcMetadataMetaplexTokenMetadataDecoder;
/// Canonical projection shared by Collection and Use Authority records.
pub use self::decoder::DcMetadataMtmAuthorityRecordAccountSnapshot;
/// Stable identity and policy of one canonical account snapshot.
pub use self::decoder::DcMetadataMtmCanonicalAccountIdentity;
/// Lifecycle represented by one canonical Metaplex account snapshot.
/// Lifecycle class of one canonical account layout.
pub use self::decoder::DcMetadataMtmCanonicalAccountLifecycle;
/// Provenance for one canonical Metaplex account snapshot.
/// Provenance retained for one canonical account observation.
pub use self::decoder::DcMetadataMtmCanonicalAccountProvenance;
/// Execution policy attached to one canonical Metaplex account layout.
/// Execution policy separated from historical materialization.
pub use self::decoder::DcMetadataMtmCanonicalExecutionPolicy;
/// Materialization policy attached to one canonical Metaplex account layout.
/// Materialization policy for active or historical state.
pub use self::decoder::DcMetadataMtmCanonicalMaterializationPolicy;
/// Canonical Metaplex account snapshot.
/// Canonical account envelope used by materializers and replay.
pub use self::decoder::DcMetadataMtmCanonicalMetadataAccountSnapshot;
/// Canonical state held by one Metaplex account snapshot.
/// Typed canonical Metaplex account state.
pub use self::decoder::DcMetadataMtmCanonicalMetadataAccountState;
/// Source of one canonical Metaplex account observation.
/// Origin of one canonical account observation.
pub use self::decoder::DcMetadataMtmCanonicalObservationSource;
/// Canonical projection shared by Metadata and Holder delegate records.
pub use self::decoder::DcMetadataMtmDelegateRecordAccountSnapshot;
/// Parsed Metaplex edition account kind.
/// Supported edition account layout.
pub use self::decoder::DcMetadataMtmEditionAccountKind;
/// Parsed Metaplex edition account snapshot.
/// Canonical bounded projection of one edition or master-edition account.
pub use self::decoder::DcMetadataMtmEditionAccountSnapshot;
/// Parsed Metaplex edition marker account kind.
/// Supported Edition Marker account layout.
pub use self::decoder::DcMetadataMtmEditionMarkerAccountKind;
/// Parsed Metaplex edition marker account snapshot.
/// Canonical bounded projection of one Edition Marker account.
pub use self::decoder::DcMetadataMtmEditionMarkerAccountSnapshot;
/// Bounded error returned while decoding a Metadata account.
pub use self::decoder::DcMetadataMtmMetadataAccountDecodeError;
/// One entry in the exhaustive published account-key audit.
pub use self::decoder::DcMetadataMtmMetadataAccountLayoutAuditEntry;
/// Parsed Metaplex MetadataV1 account snapshot.
/// Canonical bounded projection of one Metadata account.
pub use self::decoder::DcMetadataMtmMetadataAccountSnapshot;
/// One bounded historical reservation entry.
pub use self::decoder::DcMetadataMtmReservationEntrySnapshot;
/// Parsed Metaplex reservation-list account kind.
/// Historical Reservation List account generation.
pub use self::decoder::DcMetadataMtmReservationListAccountKind;
/// Parsed Metaplex reservation-list account snapshot.
/// Canonical decode-only projection of a historical Reservation List account.
pub use self::decoder::DcMetadataMtmReservationListAccountSnapshot;
/// Canonical projection of one Token Owned Escrow account.
pub use self::decoder::DcMetadataMtmTokenOwnedEscrowAccountSnapshot;
/// Authority form used by one Token Owned Escrow account.
pub use self::decoder::DcMetadataMtmTokenOwnedEscrowAuthorityKind;
/// Parsed Metaplex token-record account snapshot.
/// Canonical bounded projection of one programmable Token Record account.
pub use self::decoder::DcMetadataMtmTokenRecordAccountSnapshot;
/// Reserved `kb_decoder_metadata_spl_name_service` decoder.
@@ -359,6 +343,226 @@ pub use self::decoder::decoder_metadata_metaplex_token_metadata_decode_use_autho
pub use self::decoder::decoder_spl_elgamal_registry_parse_elgamal_registry_state;
/// Parses one Token-2022 Mint, Account, or Multisig state.
pub use self::decoder::decoder_spl_token2022_parse_token2022_state;
/// Exposes the Address Lookup Table close operation code.
pub use self::executor::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CLOSE_OPERATION;
/// Exposes the Address Lookup Table create operation code.
pub use self::executor::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CREATE_OPERATION;
/// Exposes the Address Lookup Table deactivate operation code.
pub use self::executor::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_DEACTIVATE_OPERATION;
/// Exposes the Address Lookup Table extend operation code.
pub use self::executor::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_EXTEND_OPERATION;
/// Exposes the Address Lookup Table freeze operation code.
pub use self::executor::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_FREEZE_OPERATION;
/// Exposes the Compute Budget heap-frame operation code.
pub use self::executor::EX_SOLANA_CORE_COMPUTE_BUDGET_REQUEST_HEAP_FRAME_OPERATION;
/// Exposes the Compute Budget loaded-account data-size operation code.
pub use self::executor::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_LOADED_ACCOUNTS_DATA_SIZE_LIMIT_OPERATION;
/// Exposes the Compute Budget unit-limit operation code.
pub use self::executor::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_UNIT_LIMIT_OPERATION;
/// Exposes the Compute Budget unit-price operation code.
pub use self::executor::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_UNIT_PRICE_OPERATION;
/// Exposes the Config account creation operation code.
pub use self::executor::EX_SOLANA_CORE_CONFIG_CREATE_ACCOUNT_OPERATION;
/// Exposes the Config store operation code.
pub use self::executor::EX_SOLANA_CORE_CONFIG_STORE_OPERATION;
/// Exposes the Ed25519 inline verification operation code.
pub use self::executor::EX_SOLANA_CORE_ED25519_VERIFY_INLINE_OPERATION;
/// Exposes the Ed25519 offset-table verification operation code.
pub use self::executor::EX_SOLANA_CORE_ED25519_VERIFY_OFFSETS_OPERATION;
/// Exposes the feature activation operation code.
pub use self::executor::EX_SOLANA_CORE_FEATURE_ACTIVATE_OPERATION;
/// Exposes the feature pending-activation revoke operation code.
pub use self::executor::EX_SOLANA_CORE_FEATURE_REVOKE_PENDING_ACTIVATION_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_CLOSE_ANY_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_CLOSE_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_CREATE_BUFFER_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_DEPLOY_WITH_MAX_PROGRAM_LEN_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_EXTEND_PROGRAM_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_SET_BUFFER_AUTHORITY_CHECKED_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_SET_BUFFER_AUTHORITY_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_SET_UPGRADE_AUTHORITY_CHECKED_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_SET_UPGRADE_AUTHORITY_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_UPGRADE_OPERATION;
/// Exposes Loader v3 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V3_WRITE_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_COPY_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_CREATE_BUFFER_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_DEPLOY_FROM_SOURCE_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_DEPLOY_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_FINALIZE_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_RETRACT_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_SET_PROGRAM_LENGTH_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_TRANSFER_AUTHORITY_OPERATION;
/// Exposes Loader v4 operation codes.
pub use self::executor::EX_SOLANA_CORE_LOADER_V4_WRITE_OPERATION;
/// Exposes every stable callable Solana core operation code.
pub use self::executor::EX_SOLANA_CORE_OPERATION_CODES;
/// Exposes the secp256k1 inline verification operation code.
pub use self::executor::EX_SOLANA_CORE_SECP256K1_VERIFY_INLINE_OPERATION;
/// Exposes the secp256k1 offset-table verification operation code.
pub use self::executor::EX_SOLANA_CORE_SECP256K1_VERIFY_OFFSETS_OPERATION;
/// Exposes the secp256r1 inline verification operation code.
pub use self::executor::EX_SOLANA_CORE_SECP256R1_VERIFY_INLINE_OPERATION;
/// Exposes the secp256r1 offset-table verification operation code.
pub use self::executor::EX_SOLANA_CORE_SECP256R1_VERIFY_OFFSETS_OPERATION;
/// Exposes the Slashing violation-report close operation code.
pub use self::executor::EX_SOLANA_CORE_SLASHING_CLOSE_VIOLATION_REPORT_OPERATION;
/// Exposes the Slashing duplicate-block proof submission operation code.
pub use self::executor::EX_SOLANA_CORE_SLASHING_SUBMIT_DUPLICATE_BLOCK_PROOF_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_AUTHORIZE_CHECKED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_AUTHORIZE_CHECKED_WITH_SEED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_AUTHORIZE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_AUTHORIZE_WITH_SEED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_AND_DELEGATE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_CHECKED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_AND_DELEGATE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_CHECKED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_DEACTIVATE_DELINQUENT_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_DEACTIVATE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_DELEGATE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_GET_MINIMUM_DELEGATION_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_INITIALIZE_CHECKED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_INITIALIZE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_MERGE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_MOVE_LAMPORTS_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_MOVE_STAKE_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_SET_LOCKUP_CHECKED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_SET_LOCKUP_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_SPLIT_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_SPLIT_WITH_SEED_OPERATION;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::EX_SOLANA_CORE_STAKE_WITHDRAW_OPERATION;
/// Exposes the System allocate operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_ALLOCATE_OPERATION;
/// Exposes the System seeded allocate operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_ALLOCATE_WITH_SEED_OPERATION;
/// Exposes the System assign operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_ASSIGN_OPERATION;
/// Exposes the System seeded assign operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_ASSIGN_WITH_SEED_OPERATION;
/// Exposes the System prefunded create-account operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_ALLOW_PREFUND_OPERATION;
/// Exposes the System create-account operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_OPERATION;
/// Exposes the System seeded create-account operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_WITH_SEED_OPERATION;
/// Exposes the durable nonce advance operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_ADVANCE_OPERATION;
/// Exposes the durable nonce authorize operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_AUTHORIZE_OPERATION;
/// Exposes the durable nonce account creation operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_CREATE_OPERATION;
/// Exposes the seeded durable nonce account creation operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_CREATE_WITH_SEED_OPERATION;
/// Exposes the durable nonce initialize operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_INITIALIZE_OPERATION;
/// Exposes the durable nonce upgrade operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_UPGRADE_OPERATION;
/// Exposes the durable nonce withdraw operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_NONCE_WITHDRAW_OPERATION;
/// Exposes the System multi-transfer operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_TRANSFER_MANY_OPERATION;
/// Exposes the System transfer operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_TRANSFER_OPERATION;
/// Exposes the System seeded transfer operation code.
pub use self::executor::EX_SOLANA_CORE_SYSTEM_TRANSFER_WITH_SEED_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_AUTHORIZE_CHECKED_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_AUTHORIZE_CHECKED_WITH_SEED_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_AUTHORIZE_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_AUTHORIZE_WITH_SEED_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_COMPACT_UPDATE_VOTE_STATE_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_COMPACT_UPDATE_VOTE_STATE_SWITCH_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_V2_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_WITH_SEED_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_WITH_SEED_V2_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_DEPOSIT_DELEGATOR_REWARDS_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_INITIALIZE_ACCOUNT_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_INITIALIZE_ACCOUNT_V2_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_SUBMIT_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_SWITCH_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_TOWER_SYNC_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_TOWER_SYNC_SWITCH_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_BPS_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_COLLECTOR_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_UPDATE_VALIDATOR_IDENTITY_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_UPDATE_VOTE_STATE_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_UPDATE_VOTE_STATE_SWITCH_OPERATION;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::EX_SOLANA_CORE_VOTE_WITHDRAW_OPERATION;
/// Exposes the ZK ElGamal context-state close operation code.
pub use self::executor::EX_SOLANA_CORE_ZK_ELGAMAL_CLOSE_CONTEXT_STATE_OPERATION;
/// Exposes the ZK ElGamal proof-account verification operation code.
pub use self::executor::EX_SOLANA_CORE_ZK_ELGAMAL_VERIFY_FROM_ACCOUNT_OPERATION;
/// Exposes the ZK ElGamal inline proof verification operation code.
pub use self::executor::EX_SOLANA_CORE_ZK_ELGAMAL_VERIFY_INLINE_OPERATION;
/// Exposes the reserved `ExAdapterSaberDecimalWrapperExecutor` implementation.
pub use self::executor::ExAdapterSaberDecimalWrapperExecutor;
/// Exposes the reserved `ExAdminJupiterLockExecutor` implementation.
@@ -559,8 +763,34 @@ pub use self::executor::ExRouterOkxLabsV1Executor;
pub use self::executor::ExRouterOkxLabsV2Executor;
/// Exposes the reserved `ExRwaOndoGlobalMarketsExecutor` implementation.
pub use self::executor::ExRwaOndoGlobalMarketsExecutor;
/// Exposes the reserved `ExSolanaCoreExecutor` implementation.
/// Exposes one Config Program key entry.
pub use self::executor::ExSolanaCoreConfigKey;
/// Exposes one Ed25519 verification offset record.
pub use self::executor::ExSolanaCoreEd25519VerificationOffsets;
/// Exposes the complete typed Solana core intent.
pub use self::executor::ExSolanaCoreExecutionIntent;
/// Exposes the Solana core executor.
pub use self::executor::ExSolanaCoreExecutor;
/// Exposes typed Solana core operation arguments.
pub use self::executor::ExSolanaCoreOperation;
/// Exposes one secp256k1 verification offset record.
pub use self::executor::ExSolanaCoreSecp256k1VerificationOffsets;
/// Exposes one secp256r1 verification offset record.
pub use self::executor::ExSolanaCoreSecp256r1VerificationOffsets;
/// Exposes Stake Program operation codes and the authority-role selector.
pub use self::executor::ExSolanaCoreStakeAuthorizationKind;
/// Exposes one recipient in a System multi-transfer.
pub use self::executor::ExSolanaCoreSystemTransferRecipient;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::ExSolanaCoreVoteAuthorizationKind;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::ExSolanaCoreVoteCommissionKind;
/// Exposes Vote Program operation codes and typed Vote selectors.
pub use self::executor::ExSolanaCoreVoteLockout;
/// Exposes optional ZK ElGamal context-state accounts.
pub use self::executor::ExSolanaCoreZkElGamalContextState;
/// Exposes the official ZK ElGamal proof kinds.
pub use self::executor::ExSolanaCoreZkElGamalProofType;
/// Exposes the reserved `ExSplAccountCompressionExecutor` implementation.
pub use self::executor::ExSplAccountCompressionExecutor;
/// Exposes the reserved `ExSplAssociatedTokenAccountExecutor` implementation.
@@ -703,7 +933,6 @@ pub use self::materializer::materializer_metadata_materialize_token2022_snapshot
pub use self::materializer::materializer_token_materialize_token2022_state_snapshot;
/// Current canonical transaction document version.
pub use self::model::MD_CANONICAL_TRANSACTION_FORMAT_VERSION;
/// Source-neutral replay contracts.
/// Version of the normalized core replay contract.
pub use self::model::MD_CORE_REPLAY_INPUT_CONTRACT_VERSION;
/// Canonical address lookup table reference.
@@ -1111,7 +1340,6 @@ pub(crate) use self::decoder::decoder_solana_core_read_u32_le;
pub(crate) use self::decoder::decoder_solana_core_read_u64_le;
/// Resolves positional instruction accounts and validates their core indexes.
pub(crate) use self::decoder::decoder_solana_core_resolve_accounts;
/// Resolves a secp256k1 instruction reference. The runtime format has no current-instruction
/// sentinel: every `u8` value is an explicit outer instruction index.
pub(crate) use self::decoder::decoder_solana_core_resolve_u8_instruction_payload;
/// Resolves an Ed25519 or secp256r1 instruction reference using the official `u16::MAX` sentinel.
@@ -1182,6 +1410,44 @@ pub(crate) use self::decoder::decoder_spl_token2022_decode;
pub(crate) use self::decoder::decoder_spl_token2022_entry_for_tag;
/// Returns the first byte of one retained Token-2022 payload.
pub(crate) use self::decoder::decoder_spl_token2022_payload_tag;
/// Canonical tracing target for this crate.
pub(crate) use self::executor::EX_SOLANA_CORE_TRACING_TARGET;
/// Crate-root access to `build_prepared_plan` from `address_lookup_table`.
pub(crate) use self::executor::executor_solana_core_address_lookup_table_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `builder`.
pub(crate) use self::executor::executor_solana_core_builder_build_prepared_plan;
/// Crate-root access to `finalize_prepared_plan` from `builder`.
pub(crate) use self::executor::executor_solana_core_finalize_prepared_plan;
/// Builds one typed validation error without duplicating domain-local wrappers.
pub(crate) use self::executor::executor_solana_core_invalid;
/// Crate-root access to `build_prepared_plan` from `loader_v3`.
pub(crate) use self::executor::executor_solana_core_loader_v3_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `loader_v4`.
pub(crate) use self::executor::executor_solana_core_loader_v4_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `native_admin`.
pub(crate) use self::executor::executor_solana_core_native_admin_build_prepared_plan;
/// Parses one canonical native program identifier.
pub(crate) use self::executor::executor_solana_core_parse_native_program_id;
/// Parses one model public key with the canonical execution error contract.
pub(crate) use self::executor::executor_solana_core_parse_pubkey;
/// Crate-root access to `build_prepared_plan` from `precompiles`.
pub(crate) use self::executor::executor_solana_core_precompiles_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `slashing`.
pub(crate) use self::executor::executor_solana_core_slashing_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `stake`.
pub(crate) use self::executor::executor_solana_core_stake_build_prepared_plan;
/// Validates that two model public keys identify distinct accounts.
pub(crate) use self::executor::executor_solana_core_validate_distinct_pubkeys;
/// Validates an exact byte-slice length while preserving the caller error code.
pub(crate) use self::executor::executor_solana_core_validate_exact_length;
/// Validates that an unsigned execution amount is strictly positive.
pub(crate) use self::executor::executor_solana_core_validate_positive_u64;
/// Validates one `Pubkey::create_with_seed` derivation with caller-owned error codes.
pub(crate) use self::executor::executor_solana_core_validate_seeded_address;
/// Crate-root access to `build_prepared_plan` from `vote`.
pub(crate) use self::executor::executor_solana_core_vote_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `zk_elgamal`.
pub(crate) use self::executor::executor_solana_core_zk_elgamal_build_prepared_plan;
/// Canonical processor name for the native and SPL administration materializer.
pub(crate) use self::materializer::MT_ADMIN_PROCESSOR_NAME;
/// Canonical tracing target for the native and SPL administration materializer.