cake_wallet/cw_monero/lib/structs/pending_transaction.dart

23 lines
430 B
Dart
Raw Normal View History

2020-01-04 19:31:52 +00:00
import 'dart:ffi';
import 'package:ffi/ffi.dart';
class PendingTransactionRaw extends Struct {
@Int64()
int amount;
@Int64()
int fee;
Pointer<Utf8> hash;
String getHash() => Utf8.fromUtf8(hash);
}
class PendingTransactionDescription {
2020-01-08 12:26:34 +00:00
PendingTransactionDescription({this.amount, this.fee, this.hash, this.pointerAddress});
2020-01-04 19:31:52 +00:00
final int amount;
final int fee;
final String hash;
final int pointerAddress;
}