MoneroConf class
A configuration class for Monero that defines the key network versions and maps each supported MoneroCoins to its corresponding CoinConfig.
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
-
coinToConf
→ Map<
MoneroCoins, MoneroCoinConf> -
A mapping that associates each MoneroCoins (enum) with its corresponding
MoneroCoinConf configuration.
final
- mainNet → MoneroCoinConf
-
final
- stageNet → MoneroCoinConf
-
final
- testNet → MoneroCoinConf
-
final
Static Methods
-
getCoin(
CryptoCoins coin) → MoneroCoinConf - Retrieves the MoneroCoinConf for the given MoneroCoins. If the provided coin is not an instance of MoneroCoins, an error is thrown.