mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-28 06:28:41 +01:00
Upstream reformatted its whole tree in 16ddc0837. Matching it removes
formatting from the conflict surface of this and every later sync.
21 lines
449 B
Dart
21 lines
449 B
Dart
import 'package:cw_core/amount/money.dart';
|
|
|
|
/// Balance Data class with all amounts in the lowest possible currency (e.g. satoshis or wei)
|
|
abstract class Balance {
|
|
const Balance(
|
|
this.available,
|
|
this.unavailable, {
|
|
this.secondAvailable,
|
|
this.secondUnavailable,
|
|
this.frozen,
|
|
});
|
|
|
|
final Money available;
|
|
final Money unavailable;
|
|
|
|
final Money? secondAvailable;
|
|
final Money? secondUnavailable;
|
|
|
|
final Money? frozen;
|
|
}
|