Files
hash-wallet/cw_core/lib/currency.dart
T
Konstantin UllrichandGitHub 3647e3043a CW-1017: Monero minor enhancements (#2347)
* feat: add max decimal handling for crypto amounts and test coverage

* fix: correct decimal point handling in `withMaxDecimals` and update related test

* fix: ensure amount formatting aligns with selected currency decimals in ReceivePage

* fix: ensure amount controller syncs with ViewModel in AddressPage and ReceivePage

* feat: add support for currency decimals and streamline amount handling logic

* fix: ensure crypto and fiat amounts sync correctly in Send ViewModel
2025-07-04 04:54:40 +03:00

8 lines
134 B
Dart

abstract class Currency {
String get name;
String? get tag;
String? get fullName;
String? get iconPath;
int get decimals;
}