pub mod aggregator;
pub mod error;
pub mod providers;
pub mod types;
use async_trait::async_trait;
use error::EyeError;
use types::NodeMatrixRow;
#[async_trait]
pub trait YedadEyeProvider: Send + Sync {
async fn fetch_node_row(&self, address: &str) -> Result<NodeMatrixRow, EyeError>;
async fn fetch_all_active_addresses(&self) -> Result<Vec<String>, EyeError>;
}