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';
|
2024-05-23 00:37:06 +00:00
|
|
|
import 'isar/models/isar_models.dart';
|
|
|
|
import '../utilities/enums/derive_path_type_enum.dart';
|
2023-03-09 18:31:36 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
"}";
|
|
|
|
}
|
2023-03-09 18:31:36 +00:00
|
|
|
}
|