orca_whirlpools_docs::orca_whirlpools

Function set_enforce_token_balance_check

pub fn set_enforce_token_balance_check(
    enforce_balance_check: bool,
) -> Result<(), Box<dyn Error>>
Expand description

Sets whether to enforce balance checks during token account preparation.

ยงArguments

  • enforce_balance_check - When true, the system will assert that token accounts have sufficient balance. When false, balance checks are skipped.