spark_sdk/wallet/internal_handlers/traits/
split.rs

1use crate::error::SparkSdkError;
2use crate::signer::traits::SparkSigner;
3
4use tonic::async_trait;
5
6#[async_trait]
7pub(crate) trait SplitInternalHandlers<S: SparkSigner + Send + Sync> {
8    async fn split(&mut self, target_value: u64) -> Result<(), SparkSdkError>;
9}