stack_wallet/lib/models/signing_data.dart

35 lines
776 B
Dart
Raw Normal View History

2023-05-26 21:21:16 +00:00
/*
* This file is part of Stack Wallet.
*
* Copyright (c) 2023 Cypher Stack
* All Rights Reserved.
* The code is distributed under GPLv3 license, see LICENSE file for details.
* Generated by Cypher Stack on 2023-05-26
*
*/
2024-04-18 17:33:23 +00:00
import 'package:coinlib_flutter/coinlib_flutter.dart';
import 'isar/models/isar_models.dart';
import '../utilities/enums/derive_path_type_enum.dart';
class SigningData {
SigningData({
required this.derivePathType,
required this.utxo,
this.keyPair,
});
final DerivePathType derivePathType;
final UTXO utxo;
2024-04-18 17:33:23 +00:00
HDPrivateKey? keyPair;
2023-10-27 17:37:50 +00:00
@override
String toString() {
return "SigningData{\n"
" derivePathType: $derivePathType,\n"
" utxo: $utxo,\n"
" keyPair: $keyPair,\n"
"}";
}
}