| 1 | part of 'dogecoin.dart'; |
| 2 | |
| 3 | class CWDogeCoin extends DogeCoin { |
| 4 | @override |
| 5 | WalletService createDogeCoinWalletService( |
| 6 | Box<UnspentCoinsInfo> unspentCoinSource, bool isDirect) { |
| 7 | return DogeCoinWalletService(unspentCoinSource, isDirect); |
| 8 | } |
| 9 | |
| 10 | @override |
| 11 | WalletCredentials createDogeCoinNewWalletCredentials({ |
| 12 | required String name, |
| 13 | WalletInfo? walletInfo, |
| 14 | String? password, |
| 15 | String? passphrase, |
| 16 | String? mnemonic, |
| 17 | }) => |
| 18 | DogeCoinNewWalletCredentials( |
| 19 | name: name, |
| 20 | walletInfo: walletInfo, |
| 21 | password: password, |
| 22 | passphrase: passphrase, |
| 23 | mnemonic: mnemonic, |
| 24 | ); |
| 25 | |
| 26 | @override |
| 27 | WalletCredentials createDogeCoinRestoreWalletFromSeedCredentials({ |
| 28 | required String name, |
| 29 | required String mnemonic, |
| 30 | required String password, |
| 31 | String? passphrase, |
| 32 | }) => |
| 33 | DogeCoinRestoreWalletFromSeedCredentials( |
| 34 | name: name, mnemonic: mnemonic, password: password, passphrase: passphrase); |
| 35 | |
| 36 | @override |
| 37 | TransactionPriority deserializeDogeCoinTransactionPriority(int raw) => |
| 38 | DogecoinTransactionPriority.deserialize(raw: raw); |
| 39 | |
| 40 | @override |
| 41 | TransactionPriority getDefaultTransactionPriority() => DogecoinTransactionPriority.medium; |
| 42 | @override |
| 43 | List<TransactionPriority> getTransactionPriorities() => DogecoinTransactionPriority.all; |
| 44 | @override |
| 45 | TransactionPriority getDogeCoinTransactionPrioritySlow() => DogecoinTransactionPriority.slow; |
| 46 | } |