+ // void DelayedPaymentBasepoint_free(struct LDKDelayedPaymentBasepoint this_obj);
+ public static native void DelayedPaymentBasepoint_free(long this_obj);
+ // struct LDKPublicKey DelayedPaymentBasepoint_get_a(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR this_ptr);
+ public static native byte[] DelayedPaymentBasepoint_get_a(long this_ptr);
+ // void DelayedPaymentBasepoint_set_a(struct LDKDelayedPaymentBasepoint *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void DelayedPaymentBasepoint_set_a(long this_ptr, byte[] val);
+ // MUST_USE_RES struct LDKDelayedPaymentBasepoint DelayedPaymentBasepoint_new(struct LDKPublicKey a_arg);
+ public static native long DelayedPaymentBasepoint_new(byte[] a_arg);
+ // bool DelayedPaymentBasepoint_eq(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR a, const struct LDKDelayedPaymentBasepoint *NONNULL_PTR b);
+ public static native boolean DelayedPaymentBasepoint_eq(long a, long b);
+ // uint64_t DelayedPaymentBasepoint_clone_ptr(LDKDelayedPaymentBasepoint *NONNULL_PTR arg);
+ public static native long DelayedPaymentBasepoint_clone_ptr(long arg);
+ // struct LDKDelayedPaymentBasepoint DelayedPaymentBasepoint_clone(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR orig);
+ public static native long DelayedPaymentBasepoint_clone(long orig);
+ // uint64_t DelayedPaymentBasepoint_hash(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR o);
+ public static native long DelayedPaymentBasepoint_hash(long o);
+ // MUST_USE_RES struct LDKPublicKey DelayedPaymentBasepoint_to_public_key(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR this_arg);
+ public static native byte[] DelayedPaymentBasepoint_to_public_key(long this_arg);
+ // struct LDKCVec_u8Z DelayedPaymentBasepoint_write(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR obj);
+ public static native byte[] DelayedPaymentBasepoint_write(long obj);
+ // struct LDKCResult_DelayedPaymentBasepointDecodeErrorZ DelayedPaymentBasepoint_read(struct LDKu8slice ser);
+ public static native long DelayedPaymentBasepoint_read(byte[] ser);
+ // void DelayedPaymentKey_free(struct LDKDelayedPaymentKey this_obj);
+ public static native void DelayedPaymentKey_free(long this_obj);
+ // struct LDKPublicKey DelayedPaymentKey_get_a(const struct LDKDelayedPaymentKey *NONNULL_PTR this_ptr);
+ public static native byte[] DelayedPaymentKey_get_a(long this_ptr);
+ // void DelayedPaymentKey_set_a(struct LDKDelayedPaymentKey *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void DelayedPaymentKey_set_a(long this_ptr, byte[] val);
+ // MUST_USE_RES struct LDKDelayedPaymentKey DelayedPaymentKey_new(struct LDKPublicKey a_arg);
+ public static native long DelayedPaymentKey_new(byte[] a_arg);
+ // bool DelayedPaymentKey_eq(const struct LDKDelayedPaymentKey *NONNULL_PTR a, const struct LDKDelayedPaymentKey *NONNULL_PTR b);
+ public static native boolean DelayedPaymentKey_eq(long a, long b);
+ // uint64_t DelayedPaymentKey_clone_ptr(LDKDelayedPaymentKey *NONNULL_PTR arg);
+ public static native long DelayedPaymentKey_clone_ptr(long arg);
+ // struct LDKDelayedPaymentKey DelayedPaymentKey_clone(const struct LDKDelayedPaymentKey *NONNULL_PTR orig);
+ public static native long DelayedPaymentKey_clone(long orig);
+ // MUST_USE_RES struct LDKDelayedPaymentKey DelayedPaymentKey_from_basepoint(const struct LDKDelayedPaymentBasepoint *NONNULL_PTR countersignatory_basepoint, struct LDKPublicKey per_commitment_point);
+ public static native long DelayedPaymentKey_from_basepoint(long countersignatory_basepoint, byte[] per_commitment_point);
+ // MUST_USE_RES struct LDKDelayedPaymentKey DelayedPaymentKey_from_secret_key(const uint8_t (*sk)[32]);
+ public static native long DelayedPaymentKey_from_secret_key(byte[] sk);
+ // MUST_USE_RES struct LDKPublicKey DelayedPaymentKey_to_public_key(const struct LDKDelayedPaymentKey *NONNULL_PTR this_arg);
+ public static native byte[] DelayedPaymentKey_to_public_key(long this_arg);
+ // struct LDKCVec_u8Z DelayedPaymentKey_write(const struct LDKDelayedPaymentKey *NONNULL_PTR obj);
+ public static native byte[] DelayedPaymentKey_write(long obj);
+ // struct LDKCResult_DelayedPaymentKeyDecodeErrorZ DelayedPaymentKey_read(struct LDKu8slice ser);
+ public static native long DelayedPaymentKey_read(byte[] ser);
+ // void HtlcBasepoint_free(struct LDKHtlcBasepoint this_obj);
+ public static native void HtlcBasepoint_free(long this_obj);
+ // struct LDKPublicKey HtlcBasepoint_get_a(const struct LDKHtlcBasepoint *NONNULL_PTR this_ptr);
+ public static native byte[] HtlcBasepoint_get_a(long this_ptr);
+ // void HtlcBasepoint_set_a(struct LDKHtlcBasepoint *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void HtlcBasepoint_set_a(long this_ptr, byte[] val);
+ // MUST_USE_RES struct LDKHtlcBasepoint HtlcBasepoint_new(struct LDKPublicKey a_arg);
+ public static native long HtlcBasepoint_new(byte[] a_arg);
+ // bool HtlcBasepoint_eq(const struct LDKHtlcBasepoint *NONNULL_PTR a, const struct LDKHtlcBasepoint *NONNULL_PTR b);
+ public static native boolean HtlcBasepoint_eq(long a, long b);
+ // uint64_t HtlcBasepoint_clone_ptr(LDKHtlcBasepoint *NONNULL_PTR arg);
+ public static native long HtlcBasepoint_clone_ptr(long arg);
+ // struct LDKHtlcBasepoint HtlcBasepoint_clone(const struct LDKHtlcBasepoint *NONNULL_PTR orig);
+ public static native long HtlcBasepoint_clone(long orig);
+ // uint64_t HtlcBasepoint_hash(const struct LDKHtlcBasepoint *NONNULL_PTR o);
+ public static native long HtlcBasepoint_hash(long o);
+ // MUST_USE_RES struct LDKPublicKey HtlcBasepoint_to_public_key(const struct LDKHtlcBasepoint *NONNULL_PTR this_arg);
+ public static native byte[] HtlcBasepoint_to_public_key(long this_arg);
+ // struct LDKCVec_u8Z HtlcBasepoint_write(const struct LDKHtlcBasepoint *NONNULL_PTR obj);
+ public static native byte[] HtlcBasepoint_write(long obj);
+ // struct LDKCResult_HtlcBasepointDecodeErrorZ HtlcBasepoint_read(struct LDKu8slice ser);
+ public static native long HtlcBasepoint_read(byte[] ser);
+ // void HtlcKey_free(struct LDKHtlcKey this_obj);
+ public static native void HtlcKey_free(long this_obj);
+ // struct LDKPublicKey HtlcKey_get_a(const struct LDKHtlcKey *NONNULL_PTR this_ptr);
+ public static native byte[] HtlcKey_get_a(long this_ptr);
+ // void HtlcKey_set_a(struct LDKHtlcKey *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void HtlcKey_set_a(long this_ptr, byte[] val);
+ // MUST_USE_RES struct LDKHtlcKey HtlcKey_new(struct LDKPublicKey a_arg);
+ public static native long HtlcKey_new(byte[] a_arg);
+ // bool HtlcKey_eq(const struct LDKHtlcKey *NONNULL_PTR a, const struct LDKHtlcKey *NONNULL_PTR b);
+ public static native boolean HtlcKey_eq(long a, long b);
+ // uint64_t HtlcKey_clone_ptr(LDKHtlcKey *NONNULL_PTR arg);
+ public static native long HtlcKey_clone_ptr(long arg);
+ // struct LDKHtlcKey HtlcKey_clone(const struct LDKHtlcKey *NONNULL_PTR orig);
+ public static native long HtlcKey_clone(long orig);
+ // MUST_USE_RES struct LDKHtlcKey HtlcKey_from_basepoint(const struct LDKHtlcBasepoint *NONNULL_PTR countersignatory_basepoint, struct LDKPublicKey per_commitment_point);
+ public static native long HtlcKey_from_basepoint(long countersignatory_basepoint, byte[] per_commitment_point);
+ // MUST_USE_RES struct LDKHtlcKey HtlcKey_from_secret_key(const uint8_t (*sk)[32]);
+ public static native long HtlcKey_from_secret_key(byte[] sk);
+ // MUST_USE_RES struct LDKPublicKey HtlcKey_to_public_key(const struct LDKHtlcKey *NONNULL_PTR this_arg);
+ public static native byte[] HtlcKey_to_public_key(long this_arg);
+ // struct LDKCVec_u8Z HtlcKey_write(const struct LDKHtlcKey *NONNULL_PTR obj);
+ public static native byte[] HtlcKey_write(long obj);
+ // struct LDKCResult_HtlcKeyDecodeErrorZ HtlcKey_read(struct LDKu8slice ser);
+ public static native long HtlcKey_read(byte[] ser);
+ // void RevocationBasepoint_free(struct LDKRevocationBasepoint this_obj);
+ public static native void RevocationBasepoint_free(long this_obj);
+ // struct LDKPublicKey RevocationBasepoint_get_a(const struct LDKRevocationBasepoint *NONNULL_PTR this_ptr);
+ public static native byte[] RevocationBasepoint_get_a(long this_ptr);
+ // void RevocationBasepoint_set_a(struct LDKRevocationBasepoint *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void RevocationBasepoint_set_a(long this_ptr, byte[] val);
+ // MUST_USE_RES struct LDKRevocationBasepoint RevocationBasepoint_new(struct LDKPublicKey a_arg);
+ public static native long RevocationBasepoint_new(byte[] a_arg);
+ // bool RevocationBasepoint_eq(const struct LDKRevocationBasepoint *NONNULL_PTR a, const struct LDKRevocationBasepoint *NONNULL_PTR b);
+ public static native boolean RevocationBasepoint_eq(long a, long b);
+ // uint64_t RevocationBasepoint_clone_ptr(LDKRevocationBasepoint *NONNULL_PTR arg);
+ public static native long RevocationBasepoint_clone_ptr(long arg);
+ // struct LDKRevocationBasepoint RevocationBasepoint_clone(const struct LDKRevocationBasepoint *NONNULL_PTR orig);
+ public static native long RevocationBasepoint_clone(long orig);
+ // uint64_t RevocationBasepoint_hash(const struct LDKRevocationBasepoint *NONNULL_PTR o);
+ public static native long RevocationBasepoint_hash(long o);
+ // MUST_USE_RES struct LDKPublicKey RevocationBasepoint_to_public_key(const struct LDKRevocationBasepoint *NONNULL_PTR this_arg);
+ public static native byte[] RevocationBasepoint_to_public_key(long this_arg);
+ // struct LDKCVec_u8Z RevocationBasepoint_write(const struct LDKRevocationBasepoint *NONNULL_PTR obj);
+ public static native byte[] RevocationBasepoint_write(long obj);
+ // struct LDKCResult_RevocationBasepointDecodeErrorZ RevocationBasepoint_read(struct LDKu8slice ser);
+ public static native long RevocationBasepoint_read(byte[] ser);
+ // void RevocationKey_free(struct LDKRevocationKey this_obj);
+ public static native void RevocationKey_free(long this_obj);
+ // struct LDKPublicKey RevocationKey_get_a(const struct LDKRevocationKey *NONNULL_PTR this_ptr);
+ public static native byte[] RevocationKey_get_a(long this_ptr);
+ // void RevocationKey_set_a(struct LDKRevocationKey *NONNULL_PTR this_ptr, struct LDKPublicKey val);
+ public static native void RevocationKey_set_a(long this_ptr, byte[] val);
+ // MUST_USE_RES struct LDKRevocationKey RevocationKey_new(struct LDKPublicKey a_arg);
+ public static native long RevocationKey_new(byte[] a_arg);
+ // bool RevocationKey_eq(const struct LDKRevocationKey *NONNULL_PTR a, const struct LDKRevocationKey *NONNULL_PTR b);
+ public static native boolean RevocationKey_eq(long a, long b);
+ // uint64_t RevocationKey_clone_ptr(LDKRevocationKey *NONNULL_PTR arg);
+ public static native long RevocationKey_clone_ptr(long arg);
+ // struct LDKRevocationKey RevocationKey_clone(const struct LDKRevocationKey *NONNULL_PTR orig);
+ public static native long RevocationKey_clone(long orig);
+ // uint64_t RevocationKey_hash(const struct LDKRevocationKey *NONNULL_PTR o);
+ public static native long RevocationKey_hash(long o);
+ // MUST_USE_RES struct LDKRevocationKey RevocationKey_from_basepoint(const struct LDKRevocationBasepoint *NONNULL_PTR countersignatory_basepoint, struct LDKPublicKey per_commitment_point);
+ public static native long RevocationKey_from_basepoint(long countersignatory_basepoint, byte[] per_commitment_point);
+ // MUST_USE_RES struct LDKPublicKey RevocationKey_to_public_key(const struct LDKRevocationKey *NONNULL_PTR this_arg);
+ public static native byte[] RevocationKey_to_public_key(long this_arg);
+ // struct LDKCVec_u8Z RevocationKey_write(const struct LDKRevocationKey *NONNULL_PTR obj);
+ public static native byte[] RevocationKey_write(long obj);
+ // struct LDKCResult_RevocationKeyDecodeErrorZ RevocationKey_read(struct LDKu8slice ser);
+ public static native long RevocationKey_read(byte[] ser);