use crate::{AuthError, AuthResult, CreateWalletAddress, WalletAddress};
use async_trait::async_trait;
#[async_trait]
pub trait WalletAddressStore: Send + Sync {
async fn get_wallet_address(
&self,
_address: &str,
_chain_id: Option<f64>,
) -> AuthResult<Option<WalletAddress>> {
Err(AuthError::NotImplemented(
"Wallet address lookup is not supported by this store".to_owned(),
))
}
async fn create_wallet_address(&self, _data: CreateWalletAddress) -> AuthResult<WalletAddress> {
Err(AuthError::NotImplemented(
"Wallet address creation is not supported by this store".to_owned(),
))
}
}