// file: kb-lib/src/executor/solana.rs // version: 5 //! `solana` executor family. mod core; mod transaction; /// Exposes the Address Lookup Table close operation code. pub use self::core::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CLOSE_OPERATION; /// Exposes the Address Lookup Table create operation code. pub use self::core::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CREATE_OPERATION; /// Exposes the Address Lookup Table deactivate operation code. pub use self::core::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_DEACTIVATE_OPERATION; /// Exposes the Address Lookup Table extend operation code. pub use self::core::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_EXTEND_OPERATION; /// Exposes the Address Lookup Table freeze operation code. pub use self::core::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_FREEZE_OPERATION; /// Exposes the Compute Budget heap-frame operation code. pub use self::core::EX_SOLANA_CORE_COMPUTE_BUDGET_REQUEST_HEAP_FRAME_OPERATION; /// Exposes the Compute Budget loaded-account data-size operation code. pub use self::core::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_LOADED_ACCOUNTS_DATA_SIZE_LIMIT_OPERATION; /// Exposes the Compute Budget unit-limit operation code. pub use self::core::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_UNIT_LIMIT_OPERATION; /// Exposes the Compute Budget unit-price operation code. pub use self::core::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_UNIT_PRICE_OPERATION; /// Exposes the Config account creation operation code. pub use self::core::EX_SOLANA_CORE_CONFIG_CREATE_ACCOUNT_OPERATION; /// Exposes the Config store operation code. pub use self::core::EX_SOLANA_CORE_CONFIG_STORE_OPERATION; /// Exposes the Ed25519 inline verification operation code. pub use self::core::EX_SOLANA_CORE_ED25519_VERIFY_INLINE_OPERATION; /// Exposes the Ed25519 offset-table verification operation code. pub use self::core::EX_SOLANA_CORE_ED25519_VERIFY_OFFSETS_OPERATION; /// Exposes the feature activation operation code. pub use self::core::EX_SOLANA_CORE_FEATURE_ACTIVATE_OPERATION; /// Exposes the feature pending-activation revoke operation code. pub use self::core::EX_SOLANA_CORE_FEATURE_REVOKE_PENDING_ACTIVATION_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_CLOSE_ANY_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_CLOSE_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_CREATE_BUFFER_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_DEPLOY_WITH_MAX_PROGRAM_LEN_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_EXTEND_PROGRAM_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_SET_BUFFER_AUTHORITY_CHECKED_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_SET_BUFFER_AUTHORITY_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_SET_UPGRADE_AUTHORITY_CHECKED_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_SET_UPGRADE_AUTHORITY_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_UPGRADE_OPERATION; /// Exposes Loader v3 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V3_WRITE_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_COPY_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_CREATE_BUFFER_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_DEPLOY_FROM_SOURCE_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_DEPLOY_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_FINALIZE_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_RETRACT_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_SET_PROGRAM_LENGTH_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_TRANSFER_AUTHORITY_OPERATION; /// Exposes Loader v4 operation codes. pub use self::core::EX_SOLANA_CORE_LOADER_V4_WRITE_OPERATION; /// Exposes every stable callable Solana core operation code. pub use self::core::EX_SOLANA_CORE_OPERATION_CODES; /// Exposes the secp256k1 inline verification operation code. pub use self::core::EX_SOLANA_CORE_SECP256K1_VERIFY_INLINE_OPERATION; /// Exposes the secp256k1 offset-table verification operation code. pub use self::core::EX_SOLANA_CORE_SECP256K1_VERIFY_OFFSETS_OPERATION; /// Exposes the secp256r1 inline verification operation code. pub use self::core::EX_SOLANA_CORE_SECP256R1_VERIFY_INLINE_OPERATION; /// Exposes the secp256r1 offset-table verification operation code. pub use self::core::EX_SOLANA_CORE_SECP256R1_VERIFY_OFFSETS_OPERATION; /// Exposes the Slashing violation-report close operation code. pub use self::core::EX_SOLANA_CORE_SLASHING_CLOSE_VIOLATION_REPORT_OPERATION; /// Exposes the Slashing duplicate-block proof submission operation code. pub use self::core::EX_SOLANA_CORE_SLASHING_SUBMIT_DUPLICATE_BLOCK_PROOF_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_AUTHORIZE_CHECKED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_AUTHORIZE_CHECKED_WITH_SEED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_AUTHORIZE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_AUTHORIZE_WITH_SEED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_AND_DELEGATE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_CHECKED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_AND_DELEGATE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_CHECKED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_DEACTIVATE_DELINQUENT_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_DEACTIVATE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_DELEGATE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_GET_MINIMUM_DELEGATION_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_INITIALIZE_CHECKED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_INITIALIZE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_MERGE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_MOVE_LAMPORTS_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_MOVE_STAKE_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_SET_LOCKUP_CHECKED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_SET_LOCKUP_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_SPLIT_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_SPLIT_WITH_SEED_OPERATION; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::EX_SOLANA_CORE_STAKE_WITHDRAW_OPERATION; /// Exposes the System allocate operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_ALLOCATE_OPERATION; /// Exposes the System seeded allocate operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_ALLOCATE_WITH_SEED_OPERATION; /// Exposes the System assign operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_ASSIGN_OPERATION; /// Exposes the System seeded assign operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_ASSIGN_WITH_SEED_OPERATION; /// Exposes the System prefunded create-account operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_ALLOW_PREFUND_OPERATION; /// Exposes the System create-account operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_OPERATION; /// Exposes the System seeded create-account operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_WITH_SEED_OPERATION; /// Exposes the durable nonce advance operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_ADVANCE_OPERATION; /// Exposes the durable nonce authorize operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_AUTHORIZE_OPERATION; /// Exposes the durable nonce account creation operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_CREATE_OPERATION; /// Exposes the seeded durable nonce account creation operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_CREATE_WITH_SEED_OPERATION; /// Exposes the durable nonce initialize operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_INITIALIZE_OPERATION; /// Exposes the durable nonce upgrade operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_UPGRADE_OPERATION; /// Exposes the durable nonce withdraw operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_NONCE_WITHDRAW_OPERATION; /// Exposes the System multi-transfer operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_TRANSFER_MANY_OPERATION; /// Exposes the System transfer operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_TRANSFER_OPERATION; /// Exposes the System seeded transfer operation code. pub use self::core::EX_SOLANA_CORE_SYSTEM_TRANSFER_WITH_SEED_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_AUTHORIZE_CHECKED_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_AUTHORIZE_CHECKED_WITH_SEED_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_AUTHORIZE_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_AUTHORIZE_WITH_SEED_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_COMPACT_UPDATE_VOTE_STATE_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_COMPACT_UPDATE_VOTE_STATE_SWITCH_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_V2_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_WITH_SEED_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_WITH_SEED_V2_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_DEPOSIT_DELEGATOR_REWARDS_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_INITIALIZE_ACCOUNT_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_INITIALIZE_ACCOUNT_V2_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_SUBMIT_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_SWITCH_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_TOWER_SYNC_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_TOWER_SYNC_SWITCH_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_BPS_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_COLLECTOR_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_UPDATE_VALIDATOR_IDENTITY_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_UPDATE_VOTE_STATE_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_UPDATE_VOTE_STATE_SWITCH_OPERATION; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::EX_SOLANA_CORE_VOTE_WITHDRAW_OPERATION; /// Exposes the ZK ElGamal context-state close operation code. pub use self::core::EX_SOLANA_CORE_ZK_ELGAMAL_CLOSE_CONTEXT_STATE_OPERATION; /// Exposes the ZK ElGamal proof-account verification operation code. pub use self::core::EX_SOLANA_CORE_ZK_ELGAMAL_VERIFY_FROM_ACCOUNT_OPERATION; /// Exposes the ZK ElGamal inline proof verification operation code. pub use self::core::EX_SOLANA_CORE_ZK_ELGAMAL_VERIFY_INLINE_OPERATION; /// Exposes one Config Program key entry. pub use self::core::ExSolanaCoreConfigKey; /// Exposes one Ed25519 verification offset record. pub use self::core::ExSolanaCoreEd25519VerificationOffsets; /// Exposes the complete typed Solana core intent. pub use self::core::ExSolanaCoreExecutionIntent; /// Exposes the Solana core executor. pub use self::core::ExSolanaCoreExecutor; /// Exposes typed Solana core operation arguments. pub use self::core::ExSolanaCoreOperation; /// Exposes one secp256k1 verification offset record. pub use self::core::ExSolanaCoreSecp256k1VerificationOffsets; /// Exposes one secp256r1 verification offset record. pub use self::core::ExSolanaCoreSecp256r1VerificationOffsets; /// Exposes Stake Program operation codes and the authority-role selector. pub use self::core::ExSolanaCoreStakeAuthorizationKind; /// Exposes one recipient in a System multi-transfer. pub use self::core::ExSolanaCoreSystemTransferRecipient; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::ExSolanaCoreVoteAuthorizationKind; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::ExSolanaCoreVoteCommissionKind; /// Exposes Vote Program operation codes and typed Vote selectors. pub use self::core::ExSolanaCoreVoteLockout; /// Exposes optional ZK ElGamal context-state accounts. pub use self::core::ExSolanaCoreZkElGamalContextState; /// Exposes the official ZK ElGamal proof kinds. pub use self::core::ExSolanaCoreZkElGamalProofType; /// Validated current durable nonce account state used for transaction assembly. pub use self::transaction::ExSolanaDurableNonceAccountState; /// Signed Solana transaction ready for RPC submission. pub use self::transaction::ExSolanaSignedTransaction; /// Simulation result bound to the exact assembled message that was simulated. pub use self::transaction::ExSolanaSimulationEvidence; /// Unsigned assembled Solana transaction used for fee estimation and simulation. pub use self::transaction::ExSolanaUnsignedTransaction; /// Builds an unsigned durable nonce transaction from a prepared execution plan and validated nonce state. pub use self::transaction::executor_solana_build_durable_nonce_transaction; /// Builds an unsigned legacy Solana transaction from a prepared execution plan. pub use self::transaction::executor_solana_build_legacy_transaction; /// Returns the exact serialized byte length of a Solana nonce account state. pub use self::transaction::executor_solana_durable_nonce_account_data_length; /// Parses and validates a complete System Program-owned durable nonce account snapshot. pub use self::transaction::executor_solana_parse_durable_nonce_account; /// Canonical tracing target for this crate. pub(crate) use self::core::TRACING_TARGET_EXECUTOR_SOLANA_CORE; /// Crate-root access to `build_prepared_plan` from `address_lookup_table`. pub(crate) use self::core::executor_solana_core_address_lookup_table_build_prepared_plan; /// Crate-root access to `build_prepared_plan` from `builder`. pub(crate) use self::core::executor_solana_core_builder_build_prepared_plan; /// Crate-root access to `finalize_prepared_plan` from `builder`. pub(crate) use self::core::executor_solana_core_finalize_prepared_plan; /// Builds one typed validation error without duplicating domain-local wrappers. pub(crate) use self::core::executor_solana_core_invalid; /// Crate-root access to `build_prepared_plan` from `loader_v3`. pub(crate) use self::core::executor_solana_core_loader_v3_build_prepared_plan; /// Crate-root access to `build_prepared_plan` from `loader_v4`. pub(crate) use self::core::executor_solana_core_loader_v4_build_prepared_plan; /// Crate-root access to `build_prepared_plan` from `native_admin`. pub(crate) use self::core::executor_solana_core_native_admin_build_prepared_plan; /// Parses one canonical native program identifier. pub(crate) use self::core::executor_solana_core_parse_native_program_id; /// Parses one model public key with the canonical execution error contract. pub(crate) use self::core::executor_solana_core_parse_pubkey; /// Crate-root access to `build_prepared_plan` from `precompiles`. pub(crate) use self::core::executor_solana_core_precompiles_build_prepared_plan; /// Crate-root access to `build_prepared_plan` from `slashing`. pub(crate) use self::core::executor_solana_core_slashing_build_prepared_plan; /// Crate-root access to `build_prepared_plan` from `stake`. pub(crate) use self::core::executor_solana_core_stake_build_prepared_plan; /// Validates that two model public keys identify distinct accounts. pub(crate) use self::core::executor_solana_core_validate_distinct_pubkeys; /// Validates an exact byte-slice length while preserving the caller error code. pub(crate) use self::core::executor_solana_core_validate_exact_length; /// Validates that an unsigned execution amount is strictly positive. pub(crate) use self::core::executor_solana_core_validate_positive_u64; /// Validates one `Pubkey::create_with_seed` derivation with caller-owned error codes. pub(crate) use self::core::executor_solana_core_validate_seeded_address; /// Crate-root access to `build_prepared_plan` from `vote`. pub(crate) use self::core::executor_solana_core_vote_build_prepared_plan; /// Crate-root access to `build_prepared_plan` from `zk_elgamal`. pub(crate) use self::core::executor_solana_core_zk_elgamal_build_prepared_plan; /// Stable operation code for the nonce advance injected by durable transaction assembly. pub(crate) use self::transaction::EX_SOLANA_TRANSACTION_DURABLE_NONCE_ADVANCE_OPERATION; /// Maximum over-the-wire size of a Solana transaction packet. pub(crate) use self::transaction::EX_SOLANA_TRANSACTION_MAX_WIRE_BYTES; /// Canonical tracing target for Solana transaction assembly. pub(crate) use self::transaction::TRACING_TARGET_EXECUTOR_SOLANA_TRANSACTION;