SubstrateConf class
A configuration class for Substrate coins that defines the key network versions and maps each supported SubstrateCoins to its corresponding SubstrateConf.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- acala → SubstrateCoinConf
-
final
- bifrost → SubstrateCoinConf
-
final
- chainX → SubstrateCoinConf
-
final
-
coinToConf
→ Map<
SubstrateCoins, SubstrateCoinConf> -
A mapping that associates each SubstrateCoins (enum) with its corresponding
SubstrateCoinConf configuration.
final
- edgeware → SubstrateCoinConf
-
final
- generic → SubstrateCoinConf
-
final
- karura → SubstrateCoinConf
-
final
- kusama → SubstrateCoinConf
-
final
- moonbeam → SubstrateCoinConf
-
final
- moonriver → SubstrateCoinConf
-
final
- phala → SubstrateCoinConf
-
final
- plasm → SubstrateCoinConf
-
final
- polkadot → SubstrateCoinConf
-
final
- sora → SubstrateCoinConf
-
final
- stafi → SubstrateCoinConf
-
final
Static Methods
-
getCoin(
CryptoCoins coin) → SubstrateCoinConf - Retrieves the SubstrateCoinConf for the given SubstrateCoin. If the provided coin is not an instance of SubstrateCoins, an error is thrown.