mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-12 08:53:57 +01:00
Upstream reformatted its whole tree in 16ddc0837. Matching it removes
formatting from the conflict surface of this and every later sync.
47 lines
1.4 KiB
Dart
47 lines
1.4 KiB
Dart
part of 'dogecoin.dart';
|
|
|
|
class CWDogeCoin extends DogeCoin {
|
|
@override
|
|
WalletService createDogeCoinWalletService(
|
|
Box<UnspentCoinsInfo> unspentCoinSource, bool isDirect) {
|
|
return DogeCoinWalletService(unspentCoinSource, isDirect);
|
|
}
|
|
|
|
@override
|
|
WalletCredentials createDogeCoinNewWalletCredentials({
|
|
required String name,
|
|
WalletInfo? walletInfo,
|
|
String? password,
|
|
String? passphrase,
|
|
String? mnemonic,
|
|
}) =>
|
|
DogeCoinNewWalletCredentials(
|
|
name: name,
|
|
walletInfo: walletInfo,
|
|
password: password,
|
|
passphrase: passphrase,
|
|
mnemonic: mnemonic,
|
|
);
|
|
|
|
@override
|
|
WalletCredentials createDogeCoinRestoreWalletFromSeedCredentials({
|
|
required String name,
|
|
required String mnemonic,
|
|
required String password,
|
|
String? passphrase,
|
|
}) =>
|
|
DogeCoinRestoreWalletFromSeedCredentials(
|
|
name: name, mnemonic: mnemonic, password: password, passphrase: passphrase);
|
|
|
|
@override
|
|
TransactionPriority deserializeDogeCoinTransactionPriority(int raw) =>
|
|
DogecoinTransactionPriority.deserialize(raw: raw);
|
|
|
|
@override
|
|
TransactionPriority getDefaultTransactionPriority() => DogecoinTransactionPriority.medium;
|
|
@override
|
|
List<TransactionPriority> getTransactionPriorities() => DogecoinTransactionPriority.all;
|
|
@override
|
|
TransactionPriority getDogeCoinTransactionPrioritySlow() => DogecoinTransactionPriority.slow;
|
|
}
|