Trait NetworkProfile
pub trait NetworkProfile: Send + Sync {
// Required methods
fn display_name(&self) -> &'static str;
fn id(&self) -> &'static str;
fn network_type(&self) -> NetworkType;
fn dns_suffix(&self) -> &'static str;
fn sequencer<'a>(&'a self) -> &'a str;
fn bartender_id(&self) -> &'static str;
fn bartender_addr(&self) -> &'static str;
fn init_chain_position(&self) -> ChainPos;
fn finality(&self) -> &'static str;
}Expand description
Network-specific configuration.
Required Methods§
Sourcefn display_name(&self) -> &'static str
fn display_name(&self) -> &'static str
Display name of the network.
Sourcefn network_type(&self) -> NetworkType
fn network_type(&self) -> NetworkType
Network enum for this profile.
Sourcefn dns_suffix(&self) -> &'static str
fn dns_suffix(&self) -> &'static str
DNS suffix for nodes on this network.
Sourcefn bartender_id(&self) -> &'static str
fn bartender_id(&self) -> &'static str
Bartender’s lyquid id.
Sourcefn bartender_addr(&self) -> &'static str
fn bartender_addr(&self) -> &'static str
Bartender’s sequencer contract addresss (initial).
Sourcefn init_chain_position(&self) -> ChainPos
fn init_chain_position(&self) -> ChainPos
The first chain position that can possibly contain any events.