14 lines
757 B
Rust
14 lines
757 B
Rust
// file: kb-lib/src/executor/spl/token2022/constants.rs
|
|
// version: 5
|
|
|
|
//! Local constants for the `kb_executor_spl_token_2022` crate. Program identifiers live in `kb_program_ids`.
|
|
|
|
/// Maximum number of ordered multisig signer occurrences.
|
|
pub(crate) const EX_SPL_TOKEN2022_MAX_MULTISIG_SIGNERS: usize = 11;
|
|
/// Maximum UI amount string length accepted before transaction assembly.
|
|
pub(crate) const EX_SPL_TOKEN2022_MAX_UI_AMOUNT_BYTES: usize = 255;
|
|
/// Maximum ordered token accounts accepted by transfer-fee harvest or withdraw builders.
|
|
pub(crate) const EX_SPL_TOKEN2022_MAX_TRANSFER_FEE_SOURCE_ACCOUNTS: usize = 255;
|
|
/// Canonical tracing target for this crate.
|
|
pub(crate) const EX_SPL_TOKEN2022_TRACING_TARGET: &str = "kb-lib.executor.spl.token2022";
|