SwapInfo constructor
const
SwapInfo({
- required String bitcoinAddress,
- required int createdAt,
- required int lockHeight,
- required Uint8List paymentHash,
- required Uint8List preimage,
- required Uint8List privateKey,
- required Uint8List publicKey,
- required Uint8List swapperPublicKey,
- required Uint8List script,
- String? bolt11,
- required int paidMsat,
- required int totalIncomingTxs,
- required int confirmedSats,
- required int unconfirmedSats,
- required SwapStatus status,
- required List<
String> refundTxIds, - required List<
String> unconfirmedTxIds, - required List<
String> confirmedTxIds, - required int minAllowedDeposit,
- required int maxAllowedDeposit,
- required int maxSwapperPayable,
- String? lastRedeemError,
- OpeningFeeParams? channelOpeningFees,
- int? confirmedAt,
Implementation
const SwapInfo({
required this.bitcoinAddress,
required this.createdAt,
required this.lockHeight,
required this.paymentHash,
required this.preimage,
required this.privateKey,
required this.publicKey,
required this.swapperPublicKey,
required this.script,
this.bolt11,
required this.paidMsat,
required this.totalIncomingTxs,
required this.confirmedSats,
required this.unconfirmedSats,
required this.status,
required this.refundTxIds,
required this.unconfirmedTxIds,
required this.confirmedTxIds,
required this.minAllowedDeposit,
required this.maxAllowedDeposit,
required this.maxSwapperPayable,
this.lastRedeemError,
this.channelOpeningFees,
this.confirmedAt,
});