v0.1.0-pre.015
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: kb-lib/src/executor.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Consolidated executor modules.
|
||||
|
||||
@@ -236,8 +236,254 @@ pub use self::router::ExRouterOkxLabsV1Executor;
|
||||
pub use self::router::ExRouterOkxLabsV2Executor;
|
||||
/// Exposes the reserved `rwa/ondo_global_markets` executor.
|
||||
pub use self::rwa::ExRwaOndoGlobalMarketsExecutor;
|
||||
/// Exposes the reserved `solana/core` executor.
|
||||
/// Exposes the Address Lookup Table close operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CLOSE_OPERATION;
|
||||
/// Exposes the Address Lookup Table create operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CREATE_OPERATION;
|
||||
/// Exposes the Address Lookup Table deactivate operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_DEACTIVATE_OPERATION;
|
||||
/// Exposes the Address Lookup Table extend operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_EXTEND_OPERATION;
|
||||
/// Exposes the Address Lookup Table freeze operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_FREEZE_OPERATION;
|
||||
/// Exposes the Compute Budget heap-frame operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_COMPUTE_BUDGET_REQUEST_HEAP_FRAME_OPERATION;
|
||||
/// Exposes the Compute Budget loaded-account data-size operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_LOADED_ACCOUNTS_DATA_SIZE_LIMIT_OPERATION;
|
||||
/// Exposes the Compute Budget unit-limit operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_UNIT_LIMIT_OPERATION;
|
||||
/// Exposes the Compute Budget unit-price operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_COMPUTE_BUDGET_SET_UNIT_PRICE_OPERATION;
|
||||
/// Exposes the Config account creation operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_CONFIG_CREATE_ACCOUNT_OPERATION;
|
||||
/// Exposes the Config store operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_CONFIG_STORE_OPERATION;
|
||||
/// Exposes the Ed25519 inline verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ED25519_VERIFY_INLINE_OPERATION;
|
||||
/// Exposes the Ed25519 offset-table verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ED25519_VERIFY_OFFSETS_OPERATION;
|
||||
/// Exposes the feature activation operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_FEATURE_ACTIVATE_OPERATION;
|
||||
/// Exposes the feature pending-activation revoke operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_FEATURE_REVOKE_PENDING_ACTIVATION_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_CLOSE_ANY_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_CLOSE_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_CREATE_BUFFER_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_DEPLOY_WITH_MAX_PROGRAM_LEN_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_EXTEND_PROGRAM_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_SET_BUFFER_AUTHORITY_CHECKED_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_SET_BUFFER_AUTHORITY_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_SET_UPGRADE_AUTHORITY_CHECKED_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_SET_UPGRADE_AUTHORITY_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_UPGRADE_OPERATION;
|
||||
/// Exposes Loader v3 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V3_WRITE_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_COPY_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_CREATE_BUFFER_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_DEPLOY_FROM_SOURCE_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_DEPLOY_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_FINALIZE_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_RETRACT_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_SET_PROGRAM_LENGTH_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_TRANSFER_AUTHORITY_OPERATION;
|
||||
/// Exposes Loader v4 operation codes.
|
||||
pub use self::solana::EX_SOLANA_CORE_LOADER_V4_WRITE_OPERATION;
|
||||
/// Exposes every stable callable Solana core operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_OPERATION_CODES;
|
||||
/// Exposes the secp256k1 inline verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SECP256K1_VERIFY_INLINE_OPERATION;
|
||||
/// Exposes the secp256k1 offset-table verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SECP256K1_VERIFY_OFFSETS_OPERATION;
|
||||
/// Exposes the secp256r1 inline verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SECP256R1_VERIFY_INLINE_OPERATION;
|
||||
/// Exposes the secp256r1 offset-table verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SECP256R1_VERIFY_OFFSETS_OPERATION;
|
||||
/// Exposes the Slashing violation-report close operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SLASHING_CLOSE_VIOLATION_REPORT_OPERATION;
|
||||
/// Exposes the Slashing duplicate-block proof submission operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SLASHING_SUBMIT_DUPLICATE_BLOCK_PROOF_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_AUTHORIZE_CHECKED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_AUTHORIZE_CHECKED_WITH_SEED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_AUTHORIZE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_AUTHORIZE_WITH_SEED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_AND_DELEGATE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_CHECKED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_AND_DELEGATE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_CHECKED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_CREATE_ACCOUNT_WITH_SEED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_DEACTIVATE_DELINQUENT_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_DEACTIVATE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_DELEGATE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_GET_MINIMUM_DELEGATION_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_INITIALIZE_CHECKED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_INITIALIZE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_MERGE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_MOVE_LAMPORTS_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_MOVE_STAKE_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_SET_LOCKUP_CHECKED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_SET_LOCKUP_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_SPLIT_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_SPLIT_WITH_SEED_OPERATION;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::EX_SOLANA_CORE_STAKE_WITHDRAW_OPERATION;
|
||||
/// Exposes the System allocate operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_ALLOCATE_OPERATION;
|
||||
/// Exposes the System seeded allocate operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_ALLOCATE_WITH_SEED_OPERATION;
|
||||
/// Exposes the System assign operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_ASSIGN_OPERATION;
|
||||
/// Exposes the System seeded assign operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_ASSIGN_WITH_SEED_OPERATION;
|
||||
/// Exposes the System prefunded create-account operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_ALLOW_PREFUND_OPERATION;
|
||||
/// Exposes the System create-account operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_OPERATION;
|
||||
/// Exposes the System seeded create-account operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_CREATE_ACCOUNT_WITH_SEED_OPERATION;
|
||||
/// Exposes the durable nonce advance operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_ADVANCE_OPERATION;
|
||||
/// Exposes the durable nonce authorize operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_AUTHORIZE_OPERATION;
|
||||
/// Exposes the durable nonce account creation operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_CREATE_OPERATION;
|
||||
/// Exposes the seeded durable nonce account creation operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_CREATE_WITH_SEED_OPERATION;
|
||||
/// Exposes the durable nonce initialize operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_INITIALIZE_OPERATION;
|
||||
/// Exposes the durable nonce upgrade operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_UPGRADE_OPERATION;
|
||||
/// Exposes the durable nonce withdraw operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_NONCE_WITHDRAW_OPERATION;
|
||||
/// Exposes the System multi-transfer operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_TRANSFER_MANY_OPERATION;
|
||||
/// Exposes the System transfer operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_TRANSFER_OPERATION;
|
||||
/// Exposes the System seeded transfer operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_SYSTEM_TRANSFER_WITH_SEED_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_AUTHORIZE_CHECKED_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_AUTHORIZE_CHECKED_WITH_SEED_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_AUTHORIZE_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_AUTHORIZE_WITH_SEED_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_COMPACT_UPDATE_VOTE_STATE_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_COMPACT_UPDATE_VOTE_STATE_SWITCH_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_V2_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_WITH_SEED_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_CREATE_ACCOUNT_WITH_SEED_V2_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_DEPOSIT_DELEGATOR_REWARDS_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_INITIALIZE_ACCOUNT_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_INITIALIZE_ACCOUNT_V2_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_SUBMIT_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_SWITCH_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_TOWER_SYNC_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_TOWER_SYNC_SWITCH_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_BPS_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_COLLECTOR_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_UPDATE_COMMISSION_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_UPDATE_VALIDATOR_IDENTITY_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_UPDATE_VOTE_STATE_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_UPDATE_VOTE_STATE_SWITCH_OPERATION;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::EX_SOLANA_CORE_VOTE_WITHDRAW_OPERATION;
|
||||
/// Exposes the ZK ElGamal context-state close operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ZK_ELGAMAL_CLOSE_CONTEXT_STATE_OPERATION;
|
||||
/// Exposes the ZK ElGamal proof-account verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ZK_ELGAMAL_VERIFY_FROM_ACCOUNT_OPERATION;
|
||||
/// Exposes the ZK ElGamal inline proof verification operation code.
|
||||
pub use self::solana::EX_SOLANA_CORE_ZK_ELGAMAL_VERIFY_INLINE_OPERATION;
|
||||
/// Exposes one Config Program key entry.
|
||||
pub use self::solana::ExSolanaCoreConfigKey;
|
||||
/// Exposes one Ed25519 verification offset record.
|
||||
pub use self::solana::ExSolanaCoreEd25519VerificationOffsets;
|
||||
/// Exposes the complete typed Solana core intent.
|
||||
pub use self::solana::ExSolanaCoreExecutionIntent;
|
||||
/// Exposes the Solana core executor.
|
||||
pub use self::solana::ExSolanaCoreExecutor;
|
||||
/// Exposes typed Solana core operation arguments.
|
||||
pub use self::solana::ExSolanaCoreOperation;
|
||||
/// Exposes one secp256k1 verification offset record.
|
||||
pub use self::solana::ExSolanaCoreSecp256k1VerificationOffsets;
|
||||
/// Exposes one secp256r1 verification offset record.
|
||||
pub use self::solana::ExSolanaCoreSecp256r1VerificationOffsets;
|
||||
/// Exposes Stake Program operation codes and the authority-role selector.
|
||||
pub use self::solana::ExSolanaCoreStakeAuthorizationKind;
|
||||
/// Exposes one recipient in a System multi-transfer.
|
||||
pub use self::solana::ExSolanaCoreSystemTransferRecipient;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::ExSolanaCoreVoteAuthorizationKind;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::ExSolanaCoreVoteCommissionKind;
|
||||
/// Exposes Vote Program operation codes and typed Vote selectors.
|
||||
pub use self::solana::ExSolanaCoreVoteLockout;
|
||||
/// Exposes optional ZK ElGamal context-state accounts.
|
||||
pub use self::solana::ExSolanaCoreZkElGamalContextState;
|
||||
/// Exposes the official ZK ElGamal proof kinds.
|
||||
pub use self::solana::ExSolanaCoreZkElGamalProofType;
|
||||
/// Exposes the reserved `spl/account_compression` executor.
|
||||
pub use self::spl::ExSplAccountCompressionExecutor;
|
||||
/// Exposes the reserved `spl/associated_token_account` executor.
|
||||
@@ -291,11 +537,50 @@ pub use self::wallet::ExWalletJupiterApeproSmartWalletExecutor;
|
||||
/// Exposes the reserved `weighted/swap_stabble` executor.
|
||||
pub use self::weighted::ExWeightedSwapStabbleExecutor;
|
||||
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) use self::solana::EX_SOLANA_CORE_TRACING_TARGET;
|
||||
/// Crate-root access to `build_prepared_plan` from `address_lookup_table`.
|
||||
pub(crate) use self::solana::executor_solana_core_address_lookup_table_build_prepared_plan;
|
||||
/// Crate-root access to `build_prepared_plan` from `builder`.
|
||||
pub(crate) use self::solana::executor_solana_core_builder_build_prepared_plan;
|
||||
/// Crate-root access to `finalize_prepared_plan` from `builder`.
|
||||
pub(crate) use self::solana::executor_solana_core_finalize_prepared_plan;
|
||||
/// Builds one typed validation error without duplicating domain-local wrappers.
|
||||
pub(crate) use self::solana::executor_solana_core_invalid;
|
||||
/// Crate-root access to `build_prepared_plan` from `loader_v3`.
|
||||
pub(crate) use self::solana::executor_solana_core_loader_v3_build_prepared_plan;
|
||||
/// Crate-root access to `build_prepared_plan` from `loader_v4`.
|
||||
pub(crate) use self::solana::executor_solana_core_loader_v4_build_prepared_plan;
|
||||
/// Crate-root access to `build_prepared_plan` from `native_admin`.
|
||||
pub(crate) use self::solana::executor_solana_core_native_admin_build_prepared_plan;
|
||||
/// Parses one canonical native program identifier.
|
||||
pub(crate) use self::solana::executor_solana_core_parse_native_program_id;
|
||||
/// Parses one model public key with the canonical execution error contract.
|
||||
pub(crate) use self::solana::executor_solana_core_parse_pubkey;
|
||||
/// Crate-root access to `build_prepared_plan` from `precompiles`.
|
||||
pub(crate) use self::solana::executor_solana_core_precompiles_build_prepared_plan;
|
||||
/// Crate-root access to `build_prepared_plan` from `slashing`.
|
||||
pub(crate) use self::solana::executor_solana_core_slashing_build_prepared_plan;
|
||||
/// Crate-root access to `build_prepared_plan` from `stake`.
|
||||
pub(crate) use self::solana::executor_solana_core_stake_build_prepared_plan;
|
||||
/// Validates that two model public keys identify distinct accounts.
|
||||
pub(crate) use self::solana::executor_solana_core_validate_distinct_pubkeys;
|
||||
/// Validates an exact byte-slice length while preserving the caller error code.
|
||||
pub(crate) use self::solana::executor_solana_core_validate_exact_length;
|
||||
/// Validates that an unsigned execution amount is strictly positive.
|
||||
pub(crate) use self::solana::executor_solana_core_validate_positive_u64;
|
||||
/// Validates one `Pubkey::create_with_seed` derivation with caller-owned error codes.
|
||||
pub(crate) use self::solana::executor_solana_core_validate_seeded_address;
|
||||
/// Crate-root access to `build_prepared_plan` from `vote`.
|
||||
pub(crate) use self::solana::executor_solana_core_vote_build_prepared_plan;
|
||||
/// Crate-root access to `build_prepared_plan` from `zk_elgamal`.
|
||||
pub(crate) use self::solana::executor_solana_core_zk_elgamal_build_prepared_plan;
|
||||
|
||||
#[cfg(test)]
|
||||
mod reserved_executor_tests {
|
||||
#[test]
|
||||
fn every_reserved_executor_is_registered_and_builds_only_an_empty_plan() {
|
||||
let executors: [&dyn crate::ExApiInstructionExecutor; 104] = [
|
||||
let executors: [&dyn crate::ExApiInstructionExecutor; 103] = [
|
||||
&crate::ExAdapterSaberDecimalWrapperExecutor,
|
||||
&crate::ExAdminJupiterLockExecutor,
|
||||
&crate::ExAdminPumpFeesExecutor,
|
||||
@@ -373,7 +658,6 @@ mod reserved_executor_tests {
|
||||
&crate::ExRouterOkxLabsV1Executor,
|
||||
&crate::ExRouterOkxLabsV2Executor,
|
||||
&crate::ExRwaOndoGlobalMarketsExecutor,
|
||||
&crate::ExSolanaCoreExecutor,
|
||||
&crate::ExSplAccountCompressionExecutor,
|
||||
&crate::ExSplAssociatedTokenAccountExecutor,
|
||||
&crate::ExSplElgamalRegistryExecutor,
|
||||
@@ -401,7 +685,7 @@ mod reserved_executor_tests {
|
||||
&crate::ExWalletJupiterApeproSmartWalletExecutor,
|
||||
&crate::ExWeightedSwapStabbleExecutor,
|
||||
];
|
||||
assert_eq!(executors.len(), 104);
|
||||
assert_eq!(executors.len(), 103);
|
||||
for executor in executors {
|
||||
assert!(!executor.program_ids().is_empty());
|
||||
for program_id in executor.program_ids() {
|
||||
|
||||
Reference in New Issue
Block a user