mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
- Re-enable Wownero and remove the wallet-deprecation popup - Disable Solana, Tron, Zano, Zcash, Decred across all platform configs - Trim swap providers to Trocador-only (its aggregator already covers ChangeNow, FixedFloat, LetsExchange, Exolix, StealthEx, Quantex, +16 more) - Bundle ID com.suchsoftware.hashwallet, display name "Hash Wallet", URL scheme "hashwallet"; Android Java package moved - iOS plist + macOS xcconfig + Windows bat updated - About page and English strings rebranded; new README - Cake Pay verified hidden via existing FeatureFlag.isCakePayEnabled = false
68 lines
1.9 KiB
Dart
68 lines
1.9 KiB
Dart
import 'package:cw_core/crypto_currency.dart';
|
|
|
|
class TransactionWrongBalanceException implements Exception {
|
|
TransactionWrongBalanceException(this.currency, {this.amount});
|
|
|
|
final CryptoCurrency currency;
|
|
final int? amount;
|
|
}
|
|
|
|
class TransactionNoInputsException implements Exception {}
|
|
|
|
class TransactionNoFeeException implements Exception {}
|
|
|
|
class TransactionNoDustException implements Exception {}
|
|
|
|
class TransactionNoDustOnChangeException implements Exception {
|
|
TransactionNoDustOnChangeException(this.max, this.min);
|
|
|
|
final String max;
|
|
final String min;
|
|
}
|
|
|
|
class TransactionCommitFailed implements Exception {
|
|
final String? errorMessage;
|
|
|
|
TransactionCommitFailed({this.errorMessage});
|
|
|
|
@override
|
|
String toString() {
|
|
return errorMessage ?? "unknown error";
|
|
}
|
|
}
|
|
|
|
class TransactionCommitFailedDustChange implements Exception {}
|
|
|
|
class TransactionCommitFailedDustOutput implements Exception {}
|
|
|
|
class TransactionCommitFailedDustOutputSendAll implements Exception {}
|
|
|
|
class TransactionCommitFailedVoutNegative implements Exception {}
|
|
|
|
class TransactionCommitFailedBIP68Final implements Exception {}
|
|
|
|
class TransactionCommitFailedLessThanMin implements Exception {}
|
|
|
|
class TransactionInputNotSupported implements Exception {}
|
|
|
|
class SignNativeTokenTransactionRentException implements Exception {}
|
|
|
|
class CreateAssociatedTokenAccountException implements Exception {
|
|
final String errorMessage;
|
|
|
|
CreateAssociatedTokenAccountException(this.errorMessage);
|
|
}
|
|
|
|
class SignSPLTokenTransactionRentException implements Exception {}
|
|
|
|
class NoAssociatedTokenAccountException implements Exception {}
|
|
|
|
|
|
/// ==============================================================================
|
|
/// ==============================================================================
|
|
|
|
class RestoreFromSeedException implements Exception {
|
|
final String message;
|
|
|
|
RestoreFromSeedException(this.message);
|
|
} |