Files
khadhroony-bot3/migration/khadhroony-bot2-reference/kb_executor_spl_token/src/lib.rs
2026-07-23 16:37:12 +02:00

91 lines
4.3 KiB
Rust

// file: kb_executor_spl_token/src/lib.rs
// version: 8
//! Executor crate for `spl_token`.
#![warn(missing_docs)]
#![deny(unreachable_pub)]
#![forbid(unsafe_code)]
mod builder;
mod constants;
mod executor;
mod intent;
/// Crate-root access to `build_prepared_plan` from `builder`.
pub(crate) use crate::builder::build_prepared_plan;
/// Maximum aggregate account-meta occurrences accepted by one Batch plan.
pub(crate) use crate::constants::MAX_BATCH_ACCOUNTS;
/// Maximum number of children accepted by one Batch plan.
pub(crate) use crate::constants::MAX_BATCH_INSTRUCTIONS;
/// Maximum number of ordered multisig signer occurrences.
pub(crate) use crate::constants::MAX_MULTISIG_SIGNERS;
/// Maximum UI amount string length accepted before transaction assembly.
pub(crate) use crate::constants::MAX_UI_AMOUNT_BYTES;
/// Canonical tracing target for this crate.
pub(crate) use crate::constants::TRACING_TARGET;
/// Exposes the typed SPL Token executor.
pub use crate::executor::SplTokenExecutor;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::AMOUNT_TO_UI_AMOUNT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::APPROVE_CHECKED_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::APPROVE_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::BATCH_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::BURN_CHECKED_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::BURN_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::CLOSE_ACCOUNT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::FREEZE_ACCOUNT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::GET_ACCOUNT_DATA_SIZE_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::INITIALIZE_ACCOUNT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::INITIALIZE_IMMUTABLE_OWNER_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::INITIALIZE_MINT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::INITIALIZE_MULTISIG_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::MINT_TO_CHECKED_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::MINT_TO_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::REVOKE_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::SET_AUTHORITY_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::SUPPORTED_OPERATION_CODES;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::SYNC_NATIVE_OPERATION;
/// Exposes the exact raw amount string contract.
pub use crate::intent::SplTokenAmount;
/// Exposes the typed authority contract.
pub use crate::intent::SplTokenAuthority;
/// Exposes the typed authority-kind contract.
pub use crate::intent::SplTokenAuthorityType;
/// Exposes the complete typed execution intent.
pub use crate::intent::SplTokenExecutionIntent;
/// Exposes the top-level operation contract.
pub use crate::intent::SplTokenOperation;
/// Exposes the non-batch operation contract.
pub use crate::intent::SplTokenSingleOperation;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::THAW_ACCOUNT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::TRANSFER_CHECKED_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::TRANSFER_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::UI_AMOUNT_TO_AMOUNT_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::UNWRAP_LAMPORTS_OPERATION;
/// Exposes stable operation codes for generic executor dispatch.
pub use crate::intent::WITHDRAW_EXCESS_LAMPORTS_OPERATION;