Update auto-generated bindings
[ldk-java] / ts / structs / RoutingFees.ts
index e046cbe5851781485bc2bccc68aee51581a5200f..494a0fb1ee5a7f86313691471f0a1a7c62fda7c0 100644 (file)
@@ -43,6 +43,17 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public boolean eq(RoutingFees b) {
+               boolean ret = bindings.RoutingFees_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               this.ptrs_to.add(b);
+               return ret;
+       }
+
+       public number clone_ptr() {
+               number ret = bindings.RoutingFees_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public RoutingFees clone() {
                number ret = bindings.RoutingFees_clone(this.ptr);
                const ret_hu_conv: RoutingFees = new RoutingFees(null, ret);
@@ -50,10 +61,9 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
-       public static Result_RoutingFeesDecodeErrorZ constructor_read(Uint8Array ser) {
-               number ret = bindings.RoutingFees_read(ser);
-               Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
-               return ret_hu_conv;
+       public number hash() {
+               number ret = bindings.RoutingFees_hash(this.ptr);
+               return ret;
        }
 
        public Uint8Array write() {
@@ -61,4 +71,10 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret;
        }
 
+       public static Result_RoutingFeesDecodeErrorZ constructor_read(Uint8Array ser) {
+               number ret = bindings.RoutingFees_read(ser);
+               Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
+               return ret_hu_conv;
+       }
+
 }