@@ -81,6 +81,7 @@ ChannelMonitor_get_funding_txo(this_argPointer)
81
81
return Bindings . LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
82
82
ChannelMonitor_get_outputs_to_watch ( this_argPointer)
83
83
} )
84
+
84
85
. map { ( cOpaqueStruct) in
85
86
C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ ( pointer: cOpaqueStruct)
86
87
}
@@ -101,6 +102,7 @@ ChannelMonitor_load_outputs_to_watch(this_argPointer, filterPointer)
101
102
return Bindings . LDKCVec_MonitorEventZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
102
103
ChannelMonitor_get_and_clear_pending_monitor_events ( this_argPointer)
103
104
} )
105
+
104
106
. map { ( cOpaqueStruct) in
105
107
MonitorEvent ( pointer: cOpaqueStruct)
106
108
}
@@ -112,6 +114,7 @@ ChannelMonitor_get_and_clear_pending_monitor_events(this_argPointer)
112
114
return Bindings . LDKCVec_EventZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
113
115
ChannelMonitor_get_and_clear_pending_events ( this_argPointer)
114
116
} )
117
+
115
118
. map { ( cOpaqueStruct) in
116
119
Event ( pointer: cOpaqueStruct)
117
120
}
@@ -149,6 +152,7 @@ withUnsafePointer(to: Bindings.array_to_tuple80(array: header)) { (headerPointer
149
152
ChannelMonitor_block_connected ( this_argPointer, headerPointer, txdataWrapper. dangle ( ) . cOpaqueStruct!, height, broadcaster. cOpaqueStruct!, fee_estimator. cOpaqueStruct!, logger. cOpaqueStruct!)
150
153
}
151
154
} )
155
+
152
156
. map { ( cOpaqueStruct) in
153
157
TransactionOutputs ( pointer: cOpaqueStruct)
154
158
}
@@ -186,6 +190,7 @@ withUnsafePointer(to: Bindings.array_to_tuple80(array: header)) { (headerPointer
186
190
ChannelMonitor_transactions_confirmed ( this_argPointer, headerPointer, txdataWrapper. dangle ( ) . cOpaqueStruct!, height, broadcaster. cOpaqueStruct!, fee_estimator. cOpaqueStruct!, logger. cOpaqueStruct!)
187
191
}
188
192
} )
193
+
189
194
. map { ( cOpaqueStruct) in
190
195
TransactionOutputs ( pointer: cOpaqueStruct)
191
196
}
@@ -208,6 +213,7 @@ withUnsafePointer(to: Bindings.array_to_tuple80(array: header)) { (headerPointer
208
213
ChannelMonitor_best_block_updated ( this_argPointer, headerPointer, height, broadcaster. cOpaqueStruct!, fee_estimator. cOpaqueStruct!, logger. cOpaqueStruct!)
209
214
}
210
215
} )
216
+
211
217
. map { ( cOpaqueStruct) in
212
218
TransactionOutputs ( pointer: cOpaqueStruct)
213
219
}
@@ -237,6 +243,7 @@ ChannelMonitor_current_best_block(this_argPointer)
237
243
return Bindings . LDKCVec_BalanceZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
238
244
ChannelMonitor_get_claimable_balances ( this_argPointer)
239
245
} )
246
+
240
247
. map { ( cOpaqueStruct) in
241
248
Balance ( pointer: cOpaqueStruct)
242
249
}
0 commit comments