1
2
3
4
5
6
7
8
9
10
11
12
13
use async_trait::async_trait;

use ex3_canister_client::{ActorResult, CanisterResult};

#[cfg(feature = "mock")]
pub mod mock;

pub mod canister_impl;

#[async_trait]
pub trait WalletRegistryFactory: Send + Sync {
    async fn capacity_alert(&self) -> CanisterResult<ActorResult<()>>;
}