@@ -25,6 +25,21 @@ ChannelDetails_get_channel_id(this_ptrPointer)
2525 return ChannelDetails_set_channel_id ( this_ptrPointer, Bindings . new_LDKThirtyTwoBytes ( array: val) ) ;
2626 }
2727
28+ public func get_funding_txo( ) -> OutPoint {
29+
30+ return OutPoint ( pointer: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
31+ ChannelDetails_get_funding_txo ( this_ptrPointer)
32+ } ) ;
33+ }
34+
35+ public func set_funding_txo( val: OutPoint ) -> Void {
36+
37+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
38+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
39+
40+ return ChannelDetails_set_funding_txo ( this_ptrPointer, val. cOpaqueStruct!) ;
41+ }
42+
2843 public func get_short_channel_id( ) -> Option_u64Z {
2944
3045 return Option_u64Z ( pointer: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
@@ -130,19 +145,64 @@ ChannelDetails_get_inbound_capacity_msat(this_ptrPointer)
130145 return ChannelDetails_set_inbound_capacity_msat ( this_ptrPointer, val) ;
131146 }
132147
133- public func get_is_live( ) -> Bool {
148+ public func get_is_outbound( ) -> Bool {
149+
150+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
151+ ChannelDetails_get_is_outbound ( this_ptrPointer)
152+ } ;
153+ }
154+
155+ public func set_is_outbound( val: Bool ) -> Void {
156+
157+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
158+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
159+
160+ return ChannelDetails_set_is_outbound ( this_ptrPointer, val) ;
161+ }
162+
163+ public func get_is_funding_locked( ) -> Bool {
164+
165+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
166+ ChannelDetails_get_is_funding_locked ( this_ptrPointer)
167+ } ;
168+ }
169+
170+ public func set_is_funding_locked( val: Bool ) -> Void {
171+
172+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
173+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
174+
175+ return ChannelDetails_set_is_funding_locked ( this_ptrPointer, val) ;
176+ }
177+
178+ public func get_is_usable( ) -> Bool {
179+
180+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
181+ ChannelDetails_get_is_usable ( this_ptrPointer)
182+ } ;
183+ }
184+
185+ public func set_is_usable( val: Bool ) -> Void {
186+
187+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
188+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
189+
190+ return ChannelDetails_set_is_usable ( this_ptrPointer, val) ;
191+ }
192+
193+ public func get_is_public( ) -> Bool {
134194
135195 return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
136- ChannelDetails_get_is_live ( this_ptrPointer)
196+ ChannelDetails_get_is_public ( this_ptrPointer)
137197} ;
138198 }
139199
140- public func set_is_live ( val: Bool ) -> Void {
200+ public func set_is_public ( val: Bool ) -> Void {
141201
142202 let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
143203 this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
144204
145- return ChannelDetails_set_is_live ( this_ptrPointer, val) ;
205+ return ChannelDetails_set_is_public ( this_ptrPointer, val) ;
146206 }
147207
148208 public func clone( orig: ChannelDetails ) -> ChannelDetails {
0 commit comments