v0.1.0-pre.018
This commit is contained in:
13
kb-lib/src/executor/spl/token2022/constants.rs
Normal file
13
kb-lib/src/executor/spl/token2022/constants.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
// 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";
|
||||
Reference in New Issue
Block a user