mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
typedef txdata recipients
This commit is contained in:
parent
e85c9b1747
commit
02dc543b2f
1 changed files with 4 additions and 8 deletions
|
@ -10,6 +10,8 @@ import '../../utilities/amount/amount.dart';
|
|||
import '../../utilities/enums/fee_rate_type_enum.dart';
|
||||
import '../isar/models/spark_coin.dart';
|
||||
|
||||
typedef TxRecipient = ({String address, Amount amount, bool isChange});
|
||||
|
||||
class TxData {
|
||||
final FeeRateType? feeRateType;
|
||||
final int? feeRateAmount;
|
||||
|
@ -28,7 +30,7 @@ class TxData {
|
|||
|
||||
final String? memo;
|
||||
|
||||
final List<({String address, Amount amount, bool isChange})>? recipients;
|
||||
final List<TxRecipient>? recipients;
|
||||
final Set<UTXO>? utxos;
|
||||
final List<UTXO>? usedUTXOs;
|
||||
|
||||
|
@ -165,13 +167,7 @@ class TxData {
|
|||
String? memo,
|
||||
Set<UTXO>? utxos,
|
||||
List<UTXO>? usedUTXOs,
|
||||
List<
|
||||
({
|
||||
String address,
|
||||
Amount amount,
|
||||
bool isChange,
|
||||
})>?
|
||||
recipients,
|
||||
List<TxRecipient>? recipients,
|
||||
String? frostMSConfig,
|
||||
List<String>? frostSigners,
|
||||
String? changeAddress,
|
||||
|
|
Loading…
Reference in a new issue