pub trait IdentifyVariant {
    // Required methods
    fn is_moonbase(&self) -> bool;
    fn is_moonbeam(&self) -> bool;
    fn is_moonriver(&self) -> bool;
    fn is_dev(&self) -> bool;
}
Expand description

Can be called for a Configuration to check if it is a configuration for the Moonbeam network.

Required Methods§

source

fn is_moonbase(&self) -> bool

Returns true if this is a configuration for the Moonbase network.

source

fn is_moonbeam(&self) -> bool

Returns true if this is a configuration for the Moonbeam network.

source

fn is_moonriver(&self) -> bool

Returns true if this is a configuration for the Moonriver network.

source

fn is_dev(&self) -> bool

Returns true if this is a configuration for a dev network.

Implementations on Foreign Types§

source§

impl IdentifyVariant for Box<dyn ChainSpec>

Implementors§