use core::{fmt, hash::Hash};
pub trait Cluster: fmt::Debug + PartialEq + Eq + PartialOrd + Ord + Hash + Clone + Copy {
fn network_namespace(&self) -> &str;
fn chain(&self) -> &str;
fn identifier(&self) -> &str;
fn endpoint(&self) -> &str;
fn chains(&self) -> [&str; 4];
}
pub trait ClusterEnabled {
fn mainnet(&self) -> bool {
true
}
fn testnet(&self) -> bool {
true
}
fn devnet(&self) -> bool {
true
}
fn localnet(&self) -> bool {
true
}
}