Merge pull request #114 from TheBlueMatt/main
[ldk-java] / ts / bindings.mts
index 8f4cf6126b55cf9547de1f74c2454236a3e34e0c..e40ab49bfe188c5f5e55265f147bf5fd93acb110 100644 (file)
@@ -10,14 +10,17 @@ var js_invoke: Function;
 var getRandomValues: Function;
 
 imports.wasi_snapshot_preview1 = {
-       "fd_write": (fd: number, iovec_array_ptr: number, iovec_array_len: number) => {
+       "fd_write": (fd: number, iovec_array_ptr: number, iovec_array_len: number, bytes_written_ptr: number) => {
                // This should generally only be used to print panic messages
-               console.log("FD_WRITE to " + fd + " in " + iovec_array_len + " chunks.");
                const ptr_len_view = new Uint32Array(wasm.memory.buffer, iovec_array_ptr, iovec_array_len * 2);
+               var bytes_written = 0;
                for (var i = 0; i < iovec_array_len; i++) {
                        const bytes_view = new Uint8Array(wasm.memory.buffer, ptr_len_view[i*2], ptr_len_view[i*2+1]);
-                       console.log(String.fromCharCode(...bytes_view));
+                       console.log("[fd " + fd + "]: " + String.fromCharCode(...bytes_view));
+                       bytes_written += ptr_len_view[i*2+1];
                }
+               const written_view = new Uint32Array(wasm.memory.buffer, bytes_written_ptr, 1);
+               written_view[0] = bytes_written;
                return 0;
        },
        "fd_close": (_fd: number) => {
@@ -37,7 +40,6 @@ imports.wasi_snapshot_preview1 = {
        },
        "environ_sizes_get": (environ_var_count_ptr: number, environ_len_ptr: number) => {
                // This is called before fd_write to format + print panic messages
-               console.log("wasi_snapshot_preview1:environ_sizes_get");
                const out_count_view = new Uint32Array(wasm.memory.buffer, environ_var_count_ptr, 1);
                out_count_view[0] = 0;
                const out_len_view = new Uint32Array(wasm.memory.buffer, environ_len_ptr, 1);
@@ -45,7 +47,8 @@ imports.wasi_snapshot_preview1 = {
                return 0;
        },
        "environ_get": (environ_ptr: number, environ_buf_ptr: number) => {
-               // This is called before fd_write to format + print panic messages
+               // This is called before fd_write to format + print panic messages,
+               // but only if we have variables in environ_sizes_get, so shouldn't ever actually happen!
                console.log("wasi_snapshot_preview1:environ_get");
                return 58; // Note supported - we said there were 0 environment entries!
        },
@@ -86,19 +89,20 @@ async function finishInitializeWasm(wasmInstance: WebAssembly.Instance) {
        isWasmInitialized = true;
 }
 
+const fn_list = ["uuuuuu", "buuuuu", "bbuuuu", "bbbuuu", "bbbbuu",
+       "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uububu"];
+
 /* @internal */
 export async function initializeWasmFromUint8Array(wasmBinary: Uint8Array) {
-       imports.env["js_invoke_function_u"] = js_invoke;
-       imports.env["js_invoke_function_b"] = js_invoke;
+       for (const fn of fn_list) { imports.env["js_invoke_function_" + fn] = js_invoke; }
        const { instance: wasmInstance } = await WebAssembly.instantiate(wasmBinary, imports);
        await finishInitializeWasm(wasmInstance);
 }
 
 /* @internal */
 export async function initializeWasmFetch(uri: string) {
+       for (const fn of fn_list) { imports.env["js_invoke_function_" + fn] = js_invoke; }
        const stream = fetch(uri);
-       imports.env["js_invoke_function_u"] = js_invoke;
-       imports.env["js_invoke_function_b"] = js_invoke;
        const { instance: wasmInstance } = await WebAssembly.instantiateStreaming(stream, imports);
        await finishInitializeWasm(wasmInstance);
 }
@@ -126,28 +130,28 @@ export function WitnessVersionArrToBytes(inputArray: Array<WitnessVersion>): Uin
 
 /* @internal */
 export function encodeUint8Array (inputArray: Uint8Array): number {
-       const cArrayPointer = wasm.TS_malloc(inputArray.length + 4);
-       const arrayLengthView = new Uint32Array(wasm.memory.buffer, cArrayPointer, 1);
-       arrayLengthView[0] = inputArray.length;
-       const arrayMemoryView = new Uint8Array(wasm.memory.buffer, cArrayPointer + 4, inputArray.length);
+       const cArrayPointer = wasm.TS_malloc(inputArray.length + 8);
+       const arrayLengthView = new BigUint64Array(wasm.memory.buffer, cArrayPointer, 1);
+       arrayLengthView[0] = BigInt(inputArray.length);
+       const arrayMemoryView = new Uint8Array(wasm.memory.buffer, cArrayPointer + 8, inputArray.length);
        arrayMemoryView.set(inputArray);
        return cArrayPointer;
 }
 /* @internal */
 export function encodeUint32Array (inputArray: Uint32Array|Array<number>): number {
-       const cArrayPointer = wasm.TS_malloc((inputArray.length + 1) * 4);
-       const arrayMemoryView = new Uint32Array(wasm.memory.buffer, cArrayPointer, inputArray.length);
-       arrayMemoryView.set(inputArray, 1);
-       arrayMemoryView[0] = inputArray.length;
+       const cArrayPointer = wasm.TS_malloc((inputArray.length + 2) * 4);
+       const arrayLengthView = new BigUint64Array(wasm.memory.buffer, cArrayPointer, 1);
+       arrayLengthView[0] = BigInt(inputArray.length);
+       const arrayMemoryView = new Uint32Array(wasm.memory.buffer, cArrayPointer + 8, inputArray.length);
+       arrayMemoryView.set(inputArray);
        return cArrayPointer;
 }
 /* @internal */
 export function encodeUint64Array (inputArray: BigUint64Array|Array<bigint>): number {
-       const cArrayPointer = wasm.TS_malloc(inputArray.length * 8 + 1);
-       const arrayLengthView = new Uint32Array(wasm.memory.buffer, cArrayPointer, 1);
-       arrayLengthView[0] = inputArray.length;
-       const arrayMemoryView = new BigUint64Array(wasm.memory.buffer, cArrayPointer + 4, inputArray.length);
-       arrayMemoryView.set(inputArray);
+       const cArrayPointer = wasm.TS_malloc((inputArray.length + 1) * 8);
+       const arrayMemoryView = new BigUint64Array(wasm.memory.buffer, cArrayPointer, 1);
+       arrayMemoryView.set(inputArray, 1);
+       arrayMemoryView[0] = BigInt(inputArray.length);
        return cArrayPointer;
 }
 
@@ -159,13 +163,15 @@ export function check_arr_len(arr: Uint8Array, len: number): Uint8Array {
 
 /* @internal */
 export function getArrayLength(arrayPointer: number): number {
-       const arraySizeViewer = new Uint32Array(wasm.memory.buffer, arrayPointer, 1);
-       return arraySizeViewer[0];
+       const arraySizeViewer = new BigUint64Array(wasm.memory.buffer, arrayPointer, 1);
+       const len = arraySizeViewer[0];
+       if (len >= (2n ** 32n)) throw new Error("Bogus Array Size");
+       return Number(len % (2n ** 32n));
 }
 /* @internal */
 export function decodeUint8Array (arrayPointer: number, free = true): Uint8Array {
        const arraySize = getArrayLength(arrayPointer);
-       const actualArrayViewer = new Uint8Array(wasm.memory.buffer, arrayPointer + 4, arraySize);
+       const actualArrayViewer = new Uint8Array(wasm.memory.buffer, arrayPointer + 8, arraySize);
        // Clone the contents, TODO: In the future we should wrap the Viewer in a class that
        // will free the underlying memory when it becomes unreachable instead of copying here.
        // Note that doing so may have edge-case interactions with memory resizing (invalidating the buffer).
@@ -179,7 +185,7 @@ const decodeUint32Array = (arrayPointer: number, free = true) => {
        const arraySize = getArrayLength(arrayPointer);
        const actualArrayViewer = new Uint32Array(
                wasm.memory.buffer, // value
-               arrayPointer + 4, // offset (ignoring length bytes)
+               arrayPointer + 8, // offset (ignoring length bytes)
                arraySize // uint32 count
        );
        // Clone the contents, TODO: In the future we should wrap the Viewer in a class that
@@ -190,19 +196,41 @@ const decodeUint32Array = (arrayPointer: number, free = true) => {
        }
        return actualArray;
 }
-
+/* @internal */
+export function decodeUint64Array (arrayPointer: number, free = true): bigint[] {
+       const arraySize = getArrayLength(arrayPointer);
+       const actualArrayViewer = new BigUint64Array(
+               wasm.memory.buffer, // value
+               arrayPointer + 8, // offset (ignoring length bytes)
+               arraySize // uint32 count
+       );
+       // Clone the contents, TODO: In the future we should wrap the Viewer in a class that
+       // will free the underlying memory when it becomes unreachable instead of copying here.
+       const actualArray = new Array(arraySize);
+       for (var i = 0; i < arraySize; i++) actualArray[i] = actualArrayViewer[i];
+       if (free) {
+               wasm.TS_free(arrayPointer);
+       }
+       return actualArray;
+}
 
 export function freeWasmMemory(pointer: number) { wasm.TS_free(pointer); }
 
+/* @internal */
+export function getU64ArrayElem(arrayPointer: number, idx: number): bigint {
+       const actualArrayViewer = new BigUint64Array(wasm.memory.buffer, arrayPointer + 8, idx + 1);
+       return actualArrayViewer[idx];
+}
+
 /* @internal */
 export function getU32ArrayElem(arrayPointer: number, idx: number): number {
-       const actualArrayViewer = new Uint32Array(wasm.memory.buffer, arrayPointer + 4, idx + 1);
+       const actualArrayViewer = new Uint32Array(wasm.memory.buffer, arrayPointer + 8, idx + 1);
        return actualArrayViewer[idx];
 }
 
 /* @internal */
 export function getU8ArrayElem(arrayPointer: number, idx: number): number {
-       const actualArrayViewer = new Uint8Array(wasm.memory.buffer, arrayPointer + 4, idx + 1);
+       const actualArrayViewer = new Uint8Array(wasm.memory.buffer, arrayPointer + 8, idx + 1);
        return actualArrayViewer[idx];
 }
 
@@ -216,7 +244,7 @@ export function encodeString(str: string): number {
 /* @internal */
 export function decodeString(stringPointer: number, free = true): string {
        const arraySize = getArrayLength(stringPointer);
-       const memoryView = new Uint8Array(wasm.memory.buffer, stringPointer + 4, arraySize);
+       const memoryView = new Uint8Array(wasm.memory.buffer, stringPointer + 8, arraySize);
        const result = new TextDecoder("utf-8").decode(memoryView);
 
        if (free) {
@@ -632,7 +660,7 @@ export class LDKBech32Error {
        protected constructor() {}
 }
 /* @internal */
-export function LDKBech32Error_ty_from_ptr(ptr: number): number {
+export function LDKBech32Error_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -640,7 +668,7 @@ export function LDKBech32Error_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBech32Error_InvalidChar_get_invalid_char(ptr: number): number {
+export function LDKBech32Error_InvalidChar_get_invalid_char(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -648,7 +676,7 @@ export function LDKBech32Error_InvalidChar_get_invalid_char(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBech32Error_InvalidData_get_invalid_data(ptr: number): number {
+export function LDKBech32Error_InvalidData_get_invalid_data(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -657,7 +685,7 @@ export function LDKBech32Error_InvalidData_get_invalid_data(ptr: number): number
 }
        // struct LDKCVec_u8Z TxOut_get_script_pubkey (struct LDKTxOut* thing)
 /* @internal */
-export function TxOut_get_script_pubkey(thing: number): number {
+export function TxOut_get_script_pubkey(thing: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -666,7 +694,7 @@ export function TxOut_get_script_pubkey(thing: number): number {
 }
        // uint64_t TxOut_get_value (struct LDKTxOut* thing)
 /* @internal */
-export function TxOut_get_value(thing: number): bigint {
+export function TxOut_get_value(thing: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -675,7 +703,7 @@ export function TxOut_get_value(thing: number): bigint {
 }
        // void CResult_NoneNoneZ_get_ok(LDKCResult_NoneNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneNoneZ_get_ok(owner: number): void {
+export function CResult_NoneNoneZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -684,7 +712,7 @@ export function CResult_NoneNoneZ_get_ok(owner: number): void {
 }
        // void CResult_NoneNoneZ_get_err(LDKCResult_NoneNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneNoneZ_get_err(owner: number): void {
+export function CResult_NoneNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -693,7 +721,7 @@ export function CResult_NoneNoneZ_get_err(owner: number): void {
 }
        // struct LDKCounterpartyCommitmentSecrets CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_ok(LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -702,7 +730,7 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_ok(owner:
 }
        // struct LDKDecodeError CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_err(LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_err(owner: number): number {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -711,7 +739,7 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_get_err(owner:
 }
        // struct LDKSecretKey CResult_SecretKeyErrorZ_get_ok(LDKCResult_SecretKeyErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SecretKeyErrorZ_get_ok(owner: number): number {
+export function CResult_SecretKeyErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -720,7 +748,7 @@ export function CResult_SecretKeyErrorZ_get_ok(owner: number): number {
 }
        // enum LDKSecp256k1Error CResult_SecretKeyErrorZ_get_err(LDKCResult_SecretKeyErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SecretKeyErrorZ_get_err(owner: number): Secp256k1Error {
+export function CResult_SecretKeyErrorZ_get_err(owner: bigint): Secp256k1Error {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -729,7 +757,7 @@ export function CResult_SecretKeyErrorZ_get_err(owner: number): Secp256k1Error {
 }
        // struct LDKPublicKey CResult_PublicKeyErrorZ_get_ok(LDKCResult_PublicKeyErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PublicKeyErrorZ_get_ok(owner: number): number {
+export function CResult_PublicKeyErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -738,7 +766,7 @@ export function CResult_PublicKeyErrorZ_get_ok(owner: number): number {
 }
        // enum LDKSecp256k1Error CResult_PublicKeyErrorZ_get_err(LDKCResult_PublicKeyErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PublicKeyErrorZ_get_err(owner: number): Secp256k1Error {
+export function CResult_PublicKeyErrorZ_get_err(owner: bigint): Secp256k1Error {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -747,7 +775,7 @@ export function CResult_PublicKeyErrorZ_get_err(owner: number): Secp256k1Error {
 }
        // struct LDKTxCreationKeys CResult_TxCreationKeysDecodeErrorZ_get_ok(LDKCResult_TxCreationKeysDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_TxCreationKeysDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -756,7 +784,7 @@ export function CResult_TxCreationKeysDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_TxCreationKeysDecodeErrorZ_get_err(LDKCResult_TxCreationKeysDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_get_err(owner: number): number {
+export function CResult_TxCreationKeysDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -765,7 +793,7 @@ export function CResult_TxCreationKeysDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKChannelPublicKeys CResult_ChannelPublicKeysDecodeErrorZ_get_ok(LDKCResult_ChannelPublicKeysDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelPublicKeysDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -774,7 +802,7 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_ChannelPublicKeysDecodeErrorZ_get_err(LDKCResult_ChannelPublicKeysDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelPublicKeysDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -783,7 +811,7 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_get_err(owner: number): nu
 }
        // struct LDKTxCreationKeys CResult_TxCreationKeysErrorZ_get_ok(LDKCResult_TxCreationKeysErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_get_ok(owner: number): number {
+export function CResult_TxCreationKeysErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -792,7 +820,7 @@ export function CResult_TxCreationKeysErrorZ_get_ok(owner: number): number {
 }
        // enum LDKSecp256k1Error CResult_TxCreationKeysErrorZ_get_err(LDKCResult_TxCreationKeysErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_get_err(owner: number): Secp256k1Error {
+export function CResult_TxCreationKeysErrorZ_get_err(owner: bigint): Secp256k1Error {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -804,7 +832,7 @@ export class LDKCOption_u32Z {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_u32Z_ty_from_ptr(ptr: number): number {
+export function LDKCOption_u32Z_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -812,7 +840,7 @@ export function LDKCOption_u32Z_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_u32Z_Some_get_some(ptr: number): number {
+export function LDKCOption_u32Z_Some_get_some(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -821,7 +849,7 @@ export function LDKCOption_u32Z_Some_get_some(ptr: number): number {
 }
        // struct LDKHTLCOutputInCommitment CResult_HTLCOutputInCommitmentDecodeErrorZ_get_ok(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -830,7 +858,7 @@ export function CResult_HTLCOutputInCommitmentDecodeErrorZ_get_ok(owner: number)
 }
        // struct LDKDecodeError CResult_HTLCOutputInCommitmentDecodeErrorZ_get_err(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_get_err(owner: number): number {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -839,7 +867,7 @@ export function CResult_HTLCOutputInCommitmentDecodeErrorZ_get_err(owner: number
 }
        // struct LDKCounterpartyChannelTransactionParameters CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get_ok(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -848,7 +876,7 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get
 }
        // struct LDKDecodeError CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get_err(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get_err(owner: number): number {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -857,7 +885,7 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_get
 }
        // struct LDKChannelTransactionParameters CResult_ChannelTransactionParametersDecodeErrorZ_get_ok(LDKCResult_ChannelTransactionParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -866,7 +894,7 @@ export function CResult_ChannelTransactionParametersDecodeErrorZ_get_ok(owner: n
 }
        // struct LDKDecodeError CResult_ChannelTransactionParametersDecodeErrorZ_get_err(LDKCResult_ChannelTransactionParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -875,7 +903,7 @@ export function CResult_ChannelTransactionParametersDecodeErrorZ_get_err(owner:
 }
        // struct LDKHolderCommitmentTransaction CResult_HolderCommitmentTransactionDecodeErrorZ_get_ok(LDKCResult_HolderCommitmentTransactionDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -884,7 +912,7 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_get_ok(owner: nu
 }
        // struct LDKDecodeError CResult_HolderCommitmentTransactionDecodeErrorZ_get_err(LDKCResult_HolderCommitmentTransactionDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_get_err(owner: number): number {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -893,7 +921,7 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_get_err(owner: n
 }
        // struct LDKBuiltCommitmentTransaction CResult_BuiltCommitmentTransactionDecodeErrorZ_get_ok(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -902,7 +930,7 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_get_ok(owner: num
 }
        // struct LDKDecodeError CResult_BuiltCommitmentTransactionDecodeErrorZ_get_err(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_get_err(owner: number): number {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -911,7 +939,7 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_get_err(owner: nu
 }
        // struct LDKTrustedClosingTransaction *CResult_TrustedClosingTransactionNoneZ_get_ok(LDKCResult_TrustedClosingTransactionNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TrustedClosingTransactionNoneZ_get_ok(owner: number): number {
+export function CResult_TrustedClosingTransactionNoneZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -920,7 +948,7 @@ export function CResult_TrustedClosingTransactionNoneZ_get_ok(owner: number): nu
 }
        // void CResult_TrustedClosingTransactionNoneZ_get_err(LDKCResult_TrustedClosingTransactionNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TrustedClosingTransactionNoneZ_get_err(owner: number): void {
+export function CResult_TrustedClosingTransactionNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -929,7 +957,7 @@ export function CResult_TrustedClosingTransactionNoneZ_get_err(owner: number): v
 }
        // struct LDKCommitmentTransaction CResult_CommitmentTransactionDecodeErrorZ_get_ok(LDKCResult_CommitmentTransactionDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_CommitmentTransactionDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -938,7 +966,7 @@ export function CResult_CommitmentTransactionDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_CommitmentTransactionDecodeErrorZ_get_err(LDKCResult_CommitmentTransactionDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_get_err(owner: number): number {
+export function CResult_CommitmentTransactionDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -947,7 +975,7 @@ export function CResult_CommitmentTransactionDecodeErrorZ_get_err(owner: number)
 }
        // struct LDKTrustedCommitmentTransaction *CResult_TrustedCommitmentTransactionNoneZ_get_ok(LDKCResult_TrustedCommitmentTransactionNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TrustedCommitmentTransactionNoneZ_get_ok(owner: number): number {
+export function CResult_TrustedCommitmentTransactionNoneZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -956,7 +984,7 @@ export function CResult_TrustedCommitmentTransactionNoneZ_get_ok(owner: number):
 }
        // void CResult_TrustedCommitmentTransactionNoneZ_get_err(LDKCResult_TrustedCommitmentTransactionNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TrustedCommitmentTransactionNoneZ_get_err(owner: number): void {
+export function CResult_TrustedCommitmentTransactionNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -965,7 +993,7 @@ export function CResult_TrustedCommitmentTransactionNoneZ_get_err(owner: number)
 }
        // struct LDKCVec_SignatureZ CResult_CVec_SignatureZNoneZ_get_ok(LDKCResult_CVec_SignatureZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_get_ok(owner: number): number {
+export function CResult_CVec_SignatureZNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -974,7 +1002,7 @@ export function CResult_CVec_SignatureZNoneZ_get_ok(owner: number): number {
 }
        // void CResult_CVec_SignatureZNoneZ_get_err(LDKCResult_CVec_SignatureZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_get_err(owner: number): void {
+export function CResult_CVec_SignatureZNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -983,7 +1011,7 @@ export function CResult_CVec_SignatureZNoneZ_get_err(owner: number): void {
 }
        // struct LDKShutdownScript CResult_ShutdownScriptDecodeErrorZ_get_ok(LDKCResult_ShutdownScriptDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ShutdownScriptDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -992,7 +1020,7 @@ export function CResult_ShutdownScriptDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_ShutdownScriptDecodeErrorZ_get_err(LDKCResult_ShutdownScriptDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ShutdownScriptDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1001,7 +1029,7 @@ export function CResult_ShutdownScriptDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKShutdownScript CResult_ShutdownScriptInvalidShutdownScriptZ_get_ok(LDKCResult_ShutdownScriptInvalidShutdownScriptZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_get_ok(owner: number): number {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1010,7 +1038,7 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_get_ok(owner: numbe
 }
        // struct LDKInvalidShutdownScript CResult_ShutdownScriptInvalidShutdownScriptZ_get_err(LDKCResult_ShutdownScriptInvalidShutdownScriptZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_get_err(owner: number): number {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1019,7 +1047,7 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_get_err(owner: numb
 }
        // struct LDKRouteHop CResult_RouteHopDecodeErrorZ_get_ok(LDKCResult_RouteHopDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RouteHopDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1028,7 +1056,7 @@ export function CResult_RouteHopDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_RouteHopDecodeErrorZ_get_err(LDKCResult_RouteHopDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RouteHopDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1037,7 +1065,7 @@ export function CResult_RouteHopDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKRoute CResult_RouteDecodeErrorZ_get_ok(LDKCResult_RouteDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RouteDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1046,7 +1074,7 @@ export function CResult_RouteDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_RouteDecodeErrorZ_get_err(LDKCResult_RouteDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RouteDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1055,7 +1083,7 @@ export function CResult_RouteDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKRouteParameters CResult_RouteParametersDecodeErrorZ_get_ok(LDKCResult_RouteParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RouteParametersDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1064,7 +1092,7 @@ export function CResult_RouteParametersDecodeErrorZ_get_ok(owner: number): numbe
 }
        // struct LDKDecodeError CResult_RouteParametersDecodeErrorZ_get_err(LDKCResult_RouteParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RouteParametersDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1076,7 +1104,7 @@ export class LDKCOption_u64Z {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_u64Z_ty_from_ptr(ptr: number): number {
+export function LDKCOption_u64Z_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1084,7 +1112,7 @@ export function LDKCOption_u64Z_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_u64Z_Some_get_some(ptr: number): bigint {
+export function LDKCOption_u64Z_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1093,7 +1121,7 @@ export function LDKCOption_u64Z_Some_get_some(ptr: number): bigint {
 }
        // struct LDKPaymentParameters CResult_PaymentParametersDecodeErrorZ_get_ok(LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_PaymentParametersDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1102,7 +1130,7 @@ export function CResult_PaymentParametersDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_PaymentParametersDecodeErrorZ_get_err(LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_get_err(owner: number): number {
+export function CResult_PaymentParametersDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1111,7 +1139,7 @@ export function CResult_PaymentParametersDecodeErrorZ_get_err(owner: number): nu
 }
        // struct LDKRouteHint CResult_RouteHintDecodeErrorZ_get_ok(LDKCResult_RouteHintDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RouteHintDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1120,7 +1148,7 @@ export function CResult_RouteHintDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_RouteHintDecodeErrorZ_get_err(LDKCResult_RouteHintDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RouteHintDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1129,7 +1157,7 @@ export function CResult_RouteHintDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKRouteHintHop CResult_RouteHintHopDecodeErrorZ_get_ok(LDKCResult_RouteHintHopDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RouteHintHopDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1138,7 +1166,7 @@ export function CResult_RouteHintHopDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_RouteHintHopDecodeErrorZ_get_err(LDKCResult_RouteHintHopDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RouteHintHopDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1147,7 +1175,7 @@ export function CResult_RouteHintHopDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKRoute CResult_RouteLightningErrorZ_get_ok(LDKCResult_RouteLightningErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteLightningErrorZ_get_ok(owner: number): number {
+export function CResult_RouteLightningErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1156,7 +1184,7 @@ export function CResult_RouteLightningErrorZ_get_ok(owner: number): number {
 }
        // struct LDKLightningError CResult_RouteLightningErrorZ_get_err(LDKCResult_RouteLightningErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RouteLightningErrorZ_get_err(owner: number): number {
+export function CResult_RouteLightningErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1168,7 +1196,7 @@ export class LDKPaymentPurpose {
        protected constructor() {}
 }
 /* @internal */
-export function LDKPaymentPurpose_ty_from_ptr(ptr: number): number {
+export function LDKPaymentPurpose_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1176,7 +1204,7 @@ export function LDKPaymentPurpose_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentPurpose_InvoicePayment_get_payment_preimage(ptr: number): number {
+export function LDKPaymentPurpose_InvoicePayment_get_payment_preimage(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1184,7 +1212,7 @@ export function LDKPaymentPurpose_InvoicePayment_get_payment_preimage(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentPurpose_InvoicePayment_get_payment_secret(ptr: number): number {
+export function LDKPaymentPurpose_InvoicePayment_get_payment_secret(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1192,7 +1220,7 @@ export function LDKPaymentPurpose_InvoicePayment_get_payment_secret(ptr: number)
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentPurpose_SpontaneousPayment_get_spontaneous_payment(ptr: number): number {
+export function LDKPaymentPurpose_SpontaneousPayment_get_spontaneous_payment(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1201,7 +1229,7 @@ export function LDKPaymentPurpose_SpontaneousPayment_get_spontaneous_payment(ptr
 }
        // struct LDKPaymentPurpose CResult_PaymentPurposeDecodeErrorZ_get_ok(LDKCResult_PaymentPurposeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_PaymentPurposeDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1210,7 +1238,7 @@ export function CResult_PaymentPurposeDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_PaymentPurposeDecodeErrorZ_get_err(LDKCResult_PaymentPurposeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_get_err(owner: number): number {
+export function CResult_PaymentPurposeDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1222,7 +1250,7 @@ export class LDKClosureReason {
        protected constructor() {}
 }
 /* @internal */
-export function LDKClosureReason_ty_from_ptr(ptr: number): number {
+export function LDKClosureReason_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1230,7 +1258,7 @@ export function LDKClosureReason_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKClosureReason_CounterpartyForceClosed_get_peer_msg(ptr: number): number {
+export function LDKClosureReason_CounterpartyForceClosed_get_peer_msg(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1238,7 +1266,7 @@ export function LDKClosureReason_CounterpartyForceClosed_get_peer_msg(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKClosureReason_ProcessingError_get_err(ptr: number): number {
+export function LDKClosureReason_ProcessingError_get_err(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1250,7 +1278,7 @@ export class LDKCOption_ClosureReasonZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_ClosureReasonZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_ClosureReasonZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1258,7 +1286,7 @@ export function LDKCOption_ClosureReasonZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_ClosureReasonZ_Some_get_some(ptr: number): number {
+export function LDKCOption_ClosureReasonZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1267,7 +1295,7 @@ export function LDKCOption_ClosureReasonZ_Some_get_some(ptr: number): number {
 }
        // struct LDKCOption_ClosureReasonZ CResult_COption_ClosureReasonZDecodeErrorZ_get_ok(LDKCResult_COption_ClosureReasonZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1276,7 +1304,7 @@ export function CResult_COption_ClosureReasonZDecodeErrorZ_get_ok(owner: number)
 }
        // struct LDKDecodeError CResult_COption_ClosureReasonZDecodeErrorZ_get_err(LDKCResult_COption_ClosureReasonZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1288,7 +1316,7 @@ export class LDKHTLCDestination {
        protected constructor() {}
 }
 /* @internal */
-export function LDKHTLCDestination_ty_from_ptr(ptr: number): number {
+export function LDKHTLCDestination_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1296,7 +1324,7 @@ export function LDKHTLCDestination_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKHTLCDestination_NextHopChannel_get_node_id(ptr: number): number {
+export function LDKHTLCDestination_NextHopChannel_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1304,7 +1332,7 @@ export function LDKHTLCDestination_NextHopChannel_get_node_id(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKHTLCDestination_NextHopChannel_get_channel_id(ptr: number): number {
+export function LDKHTLCDestination_NextHopChannel_get_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1312,7 +1340,7 @@ export function LDKHTLCDestination_NextHopChannel_get_channel_id(ptr: number): n
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKHTLCDestination_UnknownNextHop_get_requested_forward_scid(ptr: number): bigint {
+export function LDKHTLCDestination_UnknownNextHop_get_requested_forward_scid(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1320,7 +1348,7 @@ export function LDKHTLCDestination_UnknownNextHop_get_requested_forward_scid(ptr
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKHTLCDestination_FailedPayment_get_payment_hash(ptr: number): number {
+export function LDKHTLCDestination_FailedPayment_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1332,7 +1360,7 @@ export class LDKCOption_HTLCDestinationZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_HTLCDestinationZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_HTLCDestinationZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1340,7 +1368,7 @@ export function LDKCOption_HTLCDestinationZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_HTLCDestinationZ_Some_get_some(ptr: number): number {
+export function LDKCOption_HTLCDestinationZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1349,7 +1377,7 @@ export function LDKCOption_HTLCDestinationZ_Some_get_some(ptr: number): number {
 }
        // struct LDKCOption_HTLCDestinationZ CResult_COption_HTLCDestinationZDecodeErrorZ_get_ok(LDKCResult_COption_HTLCDestinationZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1358,7 +1386,7 @@ export function CResult_COption_HTLCDestinationZDecodeErrorZ_get_ok(owner: numbe
 }
        // struct LDKDecodeError CResult_COption_HTLCDestinationZDecodeErrorZ_get_err(LDKCResult_COption_HTLCDestinationZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1370,7 +1398,7 @@ export class LDKNetworkUpdate {
        protected constructor() {}
 }
 /* @internal */
-export function LDKNetworkUpdate_ty_from_ptr(ptr: number): number {
+export function LDKNetworkUpdate_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1378,7 +1406,7 @@ export function LDKNetworkUpdate_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetworkUpdate_ChannelUpdateMessage_get_msg(ptr: number): number {
+export function LDKNetworkUpdate_ChannelUpdateMessage_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1386,7 +1414,7 @@ export function LDKNetworkUpdate_ChannelUpdateMessage_get_msg(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetworkUpdate_ChannelFailure_get_short_channel_id(ptr: number): bigint {
+export function LDKNetworkUpdate_ChannelFailure_get_short_channel_id(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1394,7 +1422,7 @@ export function LDKNetworkUpdate_ChannelFailure_get_short_channel_id(ptr: number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetworkUpdate_ChannelFailure_get_is_permanent(ptr: number): boolean {
+export function LDKNetworkUpdate_ChannelFailure_get_is_permanent(ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1402,7 +1430,7 @@ export function LDKNetworkUpdate_ChannelFailure_get_is_permanent(ptr: number): b
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetworkUpdate_NodeFailure_get_node_id(ptr: number): number {
+export function LDKNetworkUpdate_NodeFailure_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1410,7 +1438,7 @@ export function LDKNetworkUpdate_NodeFailure_get_node_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetworkUpdate_NodeFailure_get_is_permanent(ptr: number): boolean {
+export function LDKNetworkUpdate_NodeFailure_get_is_permanent(ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1422,7 +1450,7 @@ export class LDKCOption_NetworkUpdateZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_NetworkUpdateZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_NetworkUpdateZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1430,7 +1458,7 @@ export function LDKCOption_NetworkUpdateZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_NetworkUpdateZ_Some_get_some(ptr: number): number {
+export function LDKCOption_NetworkUpdateZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1442,7 +1470,7 @@ export class LDKSpendableOutputDescriptor {
        protected constructor() {}
 }
 /* @internal */
-export function LDKSpendableOutputDescriptor_ty_from_ptr(ptr: number): number {
+export function LDKSpendableOutputDescriptor_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1450,7 +1478,7 @@ export function LDKSpendableOutputDescriptor_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKSpendableOutputDescriptor_StaticOutput_get_outpoint(ptr: number): number {
+export function LDKSpendableOutputDescriptor_StaticOutput_get_outpoint(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1458,7 +1486,7 @@ export function LDKSpendableOutputDescriptor_StaticOutput_get_outpoint(ptr: numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKSpendableOutputDescriptor_StaticOutput_get_output(ptr: number): number {
+export function LDKSpendableOutputDescriptor_StaticOutput_get_output(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1466,7 +1494,7 @@ export function LDKSpendableOutputDescriptor_StaticOutput_get_output(ptr: number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKSpendableOutputDescriptor_DelayedPaymentOutput_get_delayed_payment_output(ptr: number): number {
+export function LDKSpendableOutputDescriptor_DelayedPaymentOutput_get_delayed_payment_output(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1474,7 +1502,7 @@ export function LDKSpendableOutputDescriptor_DelayedPaymentOutput_get_delayed_pa
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKSpendableOutputDescriptor_StaticPaymentOutput_get_static_payment_output(ptr: number): number {
+export function LDKSpendableOutputDescriptor_StaticPaymentOutput_get_static_payment_output(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1486,7 +1514,7 @@ export class LDKEvent {
        protected constructor() {}
 }
 /* @internal */
-export function LDKEvent_ty_from_ptr(ptr: number): number {
+export function LDKEvent_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1494,7 +1522,7 @@ export function LDKEvent_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_FundingGenerationReady_get_temporary_channel_id(ptr: number): number {
+export function LDKEvent_FundingGenerationReady_get_temporary_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1502,7 +1530,7 @@ export function LDKEvent_FundingGenerationReady_get_temporary_channel_id(ptr: nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_FundingGenerationReady_get_counterparty_node_id(ptr: number): number {
+export function LDKEvent_FundingGenerationReady_get_counterparty_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1510,7 +1538,7 @@ export function LDKEvent_FundingGenerationReady_get_counterparty_node_id(ptr: nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_FundingGenerationReady_get_channel_value_satoshis(ptr: number): bigint {
+export function LDKEvent_FundingGenerationReady_get_channel_value_satoshis(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1518,7 +1546,7 @@ export function LDKEvent_FundingGenerationReady_get_channel_value_satoshis(ptr:
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_FundingGenerationReady_get_output_script(ptr: number): number {
+export function LDKEvent_FundingGenerationReady_get_output_script(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1526,7 +1554,7 @@ export function LDKEvent_FundingGenerationReady_get_output_script(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_FundingGenerationReady_get_user_channel_id(ptr: number): bigint {
+export function LDKEvent_FundingGenerationReady_get_user_channel_id(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1534,7 +1562,7 @@ export function LDKEvent_FundingGenerationReady_get_user_channel_id(ptr: number)
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentReceived_get_payment_hash(ptr: number): number {
+export function LDKEvent_PaymentReceived_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1542,7 +1570,7 @@ export function LDKEvent_PaymentReceived_get_payment_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentReceived_get_amount_msat(ptr: number): bigint {
+export function LDKEvent_PaymentReceived_get_amount_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1550,7 +1578,7 @@ export function LDKEvent_PaymentReceived_get_amount_msat(ptr: number): bigint {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentReceived_get_purpose(ptr: number): number {
+export function LDKEvent_PaymentReceived_get_purpose(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1558,7 +1586,7 @@ export function LDKEvent_PaymentReceived_get_purpose(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentClaimed_get_payment_hash(ptr: number): number {
+export function LDKEvent_PaymentClaimed_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1566,7 +1594,7 @@ export function LDKEvent_PaymentClaimed_get_payment_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentClaimed_get_amount_msat(ptr: number): bigint {
+export function LDKEvent_PaymentClaimed_get_amount_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1574,7 +1602,7 @@ export function LDKEvent_PaymentClaimed_get_amount_msat(ptr: number): bigint {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentClaimed_get_purpose(ptr: number): number {
+export function LDKEvent_PaymentClaimed_get_purpose(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1582,7 +1610,7 @@ export function LDKEvent_PaymentClaimed_get_purpose(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentSent_get_payment_id(ptr: number): number {
+export function LDKEvent_PaymentSent_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1590,7 +1618,7 @@ export function LDKEvent_PaymentSent_get_payment_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentSent_get_payment_preimage(ptr: number): number {
+export function LDKEvent_PaymentSent_get_payment_preimage(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1598,7 +1626,7 @@ export function LDKEvent_PaymentSent_get_payment_preimage(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentSent_get_payment_hash(ptr: number): number {
+export function LDKEvent_PaymentSent_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1606,7 +1634,7 @@ export function LDKEvent_PaymentSent_get_payment_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentSent_get_fee_paid_msat(ptr: number): number {
+export function LDKEvent_PaymentSent_get_fee_paid_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1614,7 +1642,7 @@ export function LDKEvent_PaymentSent_get_fee_paid_msat(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentFailed_get_payment_id(ptr: number): number {
+export function LDKEvent_PaymentFailed_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1622,7 +1650,7 @@ export function LDKEvent_PaymentFailed_get_payment_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentFailed_get_payment_hash(ptr: number): number {
+export function LDKEvent_PaymentFailed_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1630,7 +1658,7 @@ export function LDKEvent_PaymentFailed_get_payment_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathSuccessful_get_payment_id(ptr: number): number {
+export function LDKEvent_PaymentPathSuccessful_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1638,7 +1666,7 @@ export function LDKEvent_PaymentPathSuccessful_get_payment_id(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathSuccessful_get_payment_hash(ptr: number): number {
+export function LDKEvent_PaymentPathSuccessful_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1646,7 +1674,7 @@ export function LDKEvent_PaymentPathSuccessful_get_payment_hash(ptr: number): nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathSuccessful_get_path(ptr: number): number {
+export function LDKEvent_PaymentPathSuccessful_get_path(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1654,7 +1682,7 @@ export function LDKEvent_PaymentPathSuccessful_get_path(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_payment_id(ptr: number): number {
+export function LDKEvent_PaymentPathFailed_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1662,7 +1690,7 @@ export function LDKEvent_PaymentPathFailed_get_payment_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_payment_hash(ptr: number): number {
+export function LDKEvent_PaymentPathFailed_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1670,7 +1698,7 @@ export function LDKEvent_PaymentPathFailed_get_payment_hash(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_rejected_by_dest(ptr: number): boolean {
+export function LDKEvent_PaymentPathFailed_get_rejected_by_dest(ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1678,7 +1706,7 @@ export function LDKEvent_PaymentPathFailed_get_rejected_by_dest(ptr: number): bo
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_network_update(ptr: number): number {
+export function LDKEvent_PaymentPathFailed_get_network_update(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1686,7 +1714,7 @@ export function LDKEvent_PaymentPathFailed_get_network_update(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_all_paths_failed(ptr: number): boolean {
+export function LDKEvent_PaymentPathFailed_get_all_paths_failed(ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1694,7 +1722,7 @@ export function LDKEvent_PaymentPathFailed_get_all_paths_failed(ptr: number): bo
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_path(ptr: number): number {
+export function LDKEvent_PaymentPathFailed_get_path(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1702,7 +1730,7 @@ export function LDKEvent_PaymentPathFailed_get_path(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_short_channel_id(ptr: number): number {
+export function LDKEvent_PaymentPathFailed_get_short_channel_id(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1710,7 +1738,7 @@ export function LDKEvent_PaymentPathFailed_get_short_channel_id(ptr: number): nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentPathFailed_get_retry(ptr: number): number {
+export function LDKEvent_PaymentPathFailed_get_retry(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1718,7 +1746,7 @@ export function LDKEvent_PaymentPathFailed_get_retry(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeSuccessful_get_payment_id(ptr: number): number {
+export function LDKEvent_ProbeSuccessful_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1726,7 +1754,7 @@ export function LDKEvent_ProbeSuccessful_get_payment_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeSuccessful_get_payment_hash(ptr: number): number {
+export function LDKEvent_ProbeSuccessful_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1734,7 +1762,7 @@ export function LDKEvent_ProbeSuccessful_get_payment_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeSuccessful_get_path(ptr: number): number {
+export function LDKEvent_ProbeSuccessful_get_path(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1742,7 +1770,7 @@ export function LDKEvent_ProbeSuccessful_get_path(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeFailed_get_payment_id(ptr: number): number {
+export function LDKEvent_ProbeFailed_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1750,7 +1778,7 @@ export function LDKEvent_ProbeFailed_get_payment_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeFailed_get_payment_hash(ptr: number): number {
+export function LDKEvent_ProbeFailed_get_payment_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1758,7 +1786,7 @@ export function LDKEvent_ProbeFailed_get_payment_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeFailed_get_path(ptr: number): number {
+export function LDKEvent_ProbeFailed_get_path(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1766,7 +1794,7 @@ export function LDKEvent_ProbeFailed_get_path(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ProbeFailed_get_short_channel_id(ptr: number): number {
+export function LDKEvent_ProbeFailed_get_short_channel_id(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1774,7 +1802,7 @@ export function LDKEvent_ProbeFailed_get_short_channel_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PendingHTLCsForwardable_get_time_forwardable(ptr: number): bigint {
+export function LDKEvent_PendingHTLCsForwardable_get_time_forwardable(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1782,7 +1810,7 @@ export function LDKEvent_PendingHTLCsForwardable_get_time_forwardable(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_SpendableOutputs_get_outputs(ptr: number): number {
+export function LDKEvent_SpendableOutputs_get_outputs(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1790,7 +1818,7 @@ export function LDKEvent_SpendableOutputs_get_outputs(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentForwarded_get_prev_channel_id(ptr: number): number {
+export function LDKEvent_PaymentForwarded_get_prev_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1798,7 +1826,7 @@ export function LDKEvent_PaymentForwarded_get_prev_channel_id(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentForwarded_get_next_channel_id(ptr: number): number {
+export function LDKEvent_PaymentForwarded_get_next_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1806,7 +1834,7 @@ export function LDKEvent_PaymentForwarded_get_next_channel_id(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentForwarded_get_fee_earned_msat(ptr: number): number {
+export function LDKEvent_PaymentForwarded_get_fee_earned_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1814,7 +1842,7 @@ export function LDKEvent_PaymentForwarded_get_fee_earned_msat(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_PaymentForwarded_get_claim_from_onchain_tx(ptr: number): boolean {
+export function LDKEvent_PaymentForwarded_get_claim_from_onchain_tx(ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1822,7 +1850,7 @@ export function LDKEvent_PaymentForwarded_get_claim_from_onchain_tx(ptr: number)
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ChannelClosed_get_channel_id(ptr: number): number {
+export function LDKEvent_ChannelClosed_get_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1830,7 +1858,7 @@ export function LDKEvent_ChannelClosed_get_channel_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ChannelClosed_get_user_channel_id(ptr: number): bigint {
+export function LDKEvent_ChannelClosed_get_user_channel_id(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1838,7 +1866,7 @@ export function LDKEvent_ChannelClosed_get_user_channel_id(ptr: number): bigint
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_ChannelClosed_get_reason(ptr: number): number {
+export function LDKEvent_ChannelClosed_get_reason(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1846,7 +1874,7 @@ export function LDKEvent_ChannelClosed_get_reason(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_DiscardFunding_get_channel_id(ptr: number): number {
+export function LDKEvent_DiscardFunding_get_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1854,7 +1882,7 @@ export function LDKEvent_DiscardFunding_get_channel_id(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_DiscardFunding_get_transaction(ptr: number): number {
+export function LDKEvent_DiscardFunding_get_transaction(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1862,7 +1890,7 @@ export function LDKEvent_DiscardFunding_get_transaction(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_OpenChannelRequest_get_temporary_channel_id(ptr: number): number {
+export function LDKEvent_OpenChannelRequest_get_temporary_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1870,7 +1898,7 @@ export function LDKEvent_OpenChannelRequest_get_temporary_channel_id(ptr: number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_OpenChannelRequest_get_counterparty_node_id(ptr: number): number {
+export function LDKEvent_OpenChannelRequest_get_counterparty_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1878,7 +1906,7 @@ export function LDKEvent_OpenChannelRequest_get_counterparty_node_id(ptr: number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_OpenChannelRequest_get_funding_satoshis(ptr: number): bigint {
+export function LDKEvent_OpenChannelRequest_get_funding_satoshis(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1886,7 +1914,7 @@ export function LDKEvent_OpenChannelRequest_get_funding_satoshis(ptr: number): b
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_OpenChannelRequest_get_push_msat(ptr: number): bigint {
+export function LDKEvent_OpenChannelRequest_get_push_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1894,7 +1922,7 @@ export function LDKEvent_OpenChannelRequest_get_push_msat(ptr: number): bigint {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_OpenChannelRequest_get_channel_type(ptr: number): number {
+export function LDKEvent_OpenChannelRequest_get_channel_type(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1902,7 +1930,7 @@ export function LDKEvent_OpenChannelRequest_get_channel_type(ptr: number): numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_HTLCHandlingFailed_get_prev_channel_id(ptr: number): number {
+export function LDKEvent_HTLCHandlingFailed_get_prev_channel_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1910,7 +1938,7 @@ export function LDKEvent_HTLCHandlingFailed_get_prev_channel_id(ptr: number): nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEvent_HTLCHandlingFailed_get_failed_next_destination(ptr: number): number {
+export function LDKEvent_HTLCHandlingFailed_get_failed_next_destination(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1922,7 +1950,7 @@ export class LDKCOption_EventZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_EventZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_EventZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1930,7 +1958,7 @@ export function LDKCOption_EventZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_EventZ_Some_get_some(ptr: number): number {
+export function LDKCOption_EventZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1939,7 +1967,7 @@ export function LDKCOption_EventZ_Some_get_some(ptr: number): number {
 }
        // struct LDKCOption_EventZ CResult_COption_EventZDecodeErrorZ_get_ok(LDKCResult_COption_EventZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_COption_EventZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1948,7 +1976,7 @@ export function CResult_COption_EventZDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_COption_EventZDecodeErrorZ_get_err(LDKCResult_COption_EventZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_COption_EventZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1960,7 +1988,7 @@ export class LDKErrorAction {
        protected constructor() {}
 }
 /* @internal */
-export function LDKErrorAction_ty_from_ptr(ptr: number): number {
+export function LDKErrorAction_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1968,7 +1996,7 @@ export function LDKErrorAction_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKErrorAction_DisconnectPeer_get_msg(ptr: number): number {
+export function LDKErrorAction_DisconnectPeer_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1976,7 +2004,7 @@ export function LDKErrorAction_DisconnectPeer_get_msg(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKErrorAction_IgnoreAndLog_get_ignore_and_log(ptr: number): Level {
+export function LDKErrorAction_IgnoreAndLog_get_ignore_and_log(ptr: bigint): Level {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1984,7 +2012,7 @@ export function LDKErrorAction_IgnoreAndLog_get_ignore_and_log(ptr: number): Lev
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKErrorAction_SendErrorMessage_get_msg(ptr: number): number {
+export function LDKErrorAction_SendErrorMessage_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -1992,7 +2020,7 @@ export function LDKErrorAction_SendErrorMessage_get_msg(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKErrorAction_SendWarningMessage_get_msg(ptr: number): number {
+export function LDKErrorAction_SendWarningMessage_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2000,7 +2028,7 @@ export function LDKErrorAction_SendWarningMessage_get_msg(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKErrorAction_SendWarningMessage_get_log_level(ptr: number): Level {
+export function LDKErrorAction_SendWarningMessage_get_log_level(ptr: bigint): Level {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2012,7 +2040,7 @@ export class LDKMessageSendEvent {
        protected constructor() {}
 }
 /* @internal */
-export function LDKMessageSendEvent_ty_from_ptr(ptr: number): number {
+export function LDKMessageSendEvent_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2020,7 +2048,7 @@ export function LDKMessageSendEvent_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendAcceptChannel_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendAcceptChannel_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2028,7 +2056,7 @@ export function LDKMessageSendEvent_SendAcceptChannel_get_node_id(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendAcceptChannel_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendAcceptChannel_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2036,7 +2064,7 @@ export function LDKMessageSendEvent_SendAcceptChannel_get_msg(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendOpenChannel_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendOpenChannel_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2044,7 +2072,7 @@ export function LDKMessageSendEvent_SendOpenChannel_get_node_id(ptr: number): nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendOpenChannel_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendOpenChannel_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2052,7 +2080,7 @@ export function LDKMessageSendEvent_SendOpenChannel_get_msg(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendFundingCreated_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendFundingCreated_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2060,7 +2088,7 @@ export function LDKMessageSendEvent_SendFundingCreated_get_node_id(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendFundingCreated_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendFundingCreated_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2068,7 +2096,7 @@ export function LDKMessageSendEvent_SendFundingCreated_get_msg(ptr: number): num
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendFundingSigned_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendFundingSigned_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2076,7 +2104,7 @@ export function LDKMessageSendEvent_SendFundingSigned_get_node_id(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendFundingSigned_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendFundingSigned_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2084,7 +2112,7 @@ export function LDKMessageSendEvent_SendFundingSigned_get_msg(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelReady_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelReady_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2092,7 +2120,7 @@ export function LDKMessageSendEvent_SendChannelReady_get_node_id(ptr: number): n
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelReady_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelReady_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2100,7 +2128,7 @@ export function LDKMessageSendEvent_SendChannelReady_get_msg(ptr: number): numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendAnnouncementSignatures_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendAnnouncementSignatures_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2108,7 +2136,7 @@ export function LDKMessageSendEvent_SendAnnouncementSignatures_get_node_id(ptr:
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendAnnouncementSignatures_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendAnnouncementSignatures_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2116,7 +2144,7 @@ export function LDKMessageSendEvent_SendAnnouncementSignatures_get_msg(ptr: numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_UpdateHTLCs_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_UpdateHTLCs_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2124,7 +2152,7 @@ export function LDKMessageSendEvent_UpdateHTLCs_get_node_id(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_UpdateHTLCs_get_updates(ptr: number): number {
+export function LDKMessageSendEvent_UpdateHTLCs_get_updates(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2132,7 +2160,7 @@ export function LDKMessageSendEvent_UpdateHTLCs_get_updates(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendRevokeAndACK_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendRevokeAndACK_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2140,7 +2168,7 @@ export function LDKMessageSendEvent_SendRevokeAndACK_get_node_id(ptr: number): n
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendRevokeAndACK_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendRevokeAndACK_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2148,7 +2176,7 @@ export function LDKMessageSendEvent_SendRevokeAndACK_get_msg(ptr: number): numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendClosingSigned_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendClosingSigned_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2156,7 +2184,7 @@ export function LDKMessageSendEvent_SendClosingSigned_get_node_id(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendClosingSigned_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendClosingSigned_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2164,7 +2192,7 @@ export function LDKMessageSendEvent_SendClosingSigned_get_msg(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendShutdown_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendShutdown_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2172,7 +2200,7 @@ export function LDKMessageSendEvent_SendShutdown_get_node_id(ptr: number): numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendShutdown_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendShutdown_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2180,7 +2208,7 @@ export function LDKMessageSendEvent_SendShutdown_get_msg(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelReestablish_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelReestablish_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2188,7 +2216,7 @@ export function LDKMessageSendEvent_SendChannelReestablish_get_node_id(ptr: numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelReestablish_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelReestablish_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2196,7 +2224,7 @@ export function LDKMessageSendEvent_SendChannelReestablish_get_msg(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_BroadcastChannelAnnouncement_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_BroadcastChannelAnnouncement_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2204,7 +2232,7 @@ export function LDKMessageSendEvent_BroadcastChannelAnnouncement_get_msg(ptr: nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_BroadcastChannelAnnouncement_get_update_msg(ptr: number): number {
+export function LDKMessageSendEvent_BroadcastChannelAnnouncement_get_update_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2212,7 +2240,7 @@ export function LDKMessageSendEvent_BroadcastChannelAnnouncement_get_update_msg(
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_BroadcastNodeAnnouncement_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_BroadcastNodeAnnouncement_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2220,7 +2248,7 @@ export function LDKMessageSendEvent_BroadcastNodeAnnouncement_get_msg(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_BroadcastChannelUpdate_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_BroadcastChannelUpdate_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2228,7 +2256,7 @@ export function LDKMessageSendEvent_BroadcastChannelUpdate_get_msg(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelUpdate_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelUpdate_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2236,7 +2264,7 @@ export function LDKMessageSendEvent_SendChannelUpdate_get_node_id(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelUpdate_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelUpdate_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2244,7 +2272,7 @@ export function LDKMessageSendEvent_SendChannelUpdate_get_msg(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_HandleError_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_HandleError_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2252,7 +2280,7 @@ export function LDKMessageSendEvent_HandleError_get_node_id(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_HandleError_get_action(ptr: number): number {
+export function LDKMessageSendEvent_HandleError_get_action(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2260,7 +2288,7 @@ export function LDKMessageSendEvent_HandleError_get_action(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelRangeQuery_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelRangeQuery_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2268,7 +2296,7 @@ export function LDKMessageSendEvent_SendChannelRangeQuery_get_node_id(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendChannelRangeQuery_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendChannelRangeQuery_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2276,7 +2304,7 @@ export function LDKMessageSendEvent_SendChannelRangeQuery_get_msg(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendShortIdsQuery_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendShortIdsQuery_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2284,7 +2312,7 @@ export function LDKMessageSendEvent_SendShortIdsQuery_get_node_id(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendShortIdsQuery_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendShortIdsQuery_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2292,7 +2320,7 @@ export function LDKMessageSendEvent_SendShortIdsQuery_get_msg(ptr: number): numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendReplyChannelRange_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendReplyChannelRange_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2300,7 +2328,7 @@ export function LDKMessageSendEvent_SendReplyChannelRange_get_node_id(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendReplyChannelRange_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendReplyChannelRange_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2308,7 +2336,7 @@ export function LDKMessageSendEvent_SendReplyChannelRange_get_msg(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendGossipTimestampFilter_get_node_id(ptr: number): number {
+export function LDKMessageSendEvent_SendGossipTimestampFilter_get_node_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2316,7 +2344,7 @@ export function LDKMessageSendEvent_SendGossipTimestampFilter_get_node_id(ptr: n
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMessageSendEvent_SendGossipTimestampFilter_get_msg(ptr: number): number {
+export function LDKMessageSendEvent_SendGossipTimestampFilter_get_msg(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2325,7 +2353,7 @@ export function LDKMessageSendEvent_SendGossipTimestampFilter_get_msg(ptr: numbe
 }
        // struct LDKTxOut CResult_TxOutAccessErrorZ_get_ok(LDKCResult_TxOutAccessErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_get_ok(owner: number): number {
+export function CResult_TxOutAccessErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2334,7 +2362,7 @@ export function CResult_TxOutAccessErrorZ_get_ok(owner: number): number {
 }
        // enum LDKAccessError CResult_TxOutAccessErrorZ_get_err(LDKCResult_TxOutAccessErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_get_err(owner: number): AccessError {
+export function CResult_TxOutAccessErrorZ_get_err(owner: bigint): AccessError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2343,7 +2371,7 @@ export function CResult_TxOutAccessErrorZ_get_err(owner: number): AccessError {
 }
        // uintptr_t C2Tuple_usizeTransactionZ_get_a(LDKC2Tuple_usizeTransactionZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_usizeTransactionZ_get_a(owner: number): number {
+export function C2Tuple_usizeTransactionZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2352,7 +2380,7 @@ export function C2Tuple_usizeTransactionZ_get_a(owner: number): number {
 }
        // struct LDKTransaction C2Tuple_usizeTransactionZ_get_b(LDKC2Tuple_usizeTransactionZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_usizeTransactionZ_get_b(owner: number): number {
+export function C2Tuple_usizeTransactionZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2361,7 +2389,7 @@ export function C2Tuple_usizeTransactionZ_get_b(owner: number): number {
 }
        // void CResult_NoneChannelMonitorUpdateErrZ_get_ok(LDKCResult_NoneChannelMonitorUpdateErrZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_get_ok(owner: number): void {
+export function CResult_NoneChannelMonitorUpdateErrZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2370,7 +2398,7 @@ export function CResult_NoneChannelMonitorUpdateErrZ_get_ok(owner: number): void
 }
        // enum LDKChannelMonitorUpdateErr CResult_NoneChannelMonitorUpdateErrZ_get_err(LDKCResult_NoneChannelMonitorUpdateErrZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_get_err(owner: number): ChannelMonitorUpdateErr {
+export function CResult_NoneChannelMonitorUpdateErrZ_get_err(owner: bigint): ChannelMonitorUpdateErr {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2382,7 +2410,7 @@ export class LDKMonitorEvent {
        protected constructor() {}
 }
 /* @internal */
-export function LDKMonitorEvent_ty_from_ptr(ptr: number): number {
+export function LDKMonitorEvent_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2390,7 +2418,7 @@ export function LDKMonitorEvent_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMonitorEvent_HTLCEvent_get_htlc_event(ptr: number): number {
+export function LDKMonitorEvent_HTLCEvent_get_htlc_event(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2398,7 +2426,7 @@ export function LDKMonitorEvent_HTLCEvent_get_htlc_event(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMonitorEvent_CommitmentTxConfirmed_get_commitment_tx_confirmed(ptr: number): number {
+export function LDKMonitorEvent_CommitmentTxConfirmed_get_commitment_tx_confirmed(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2406,7 +2434,7 @@ export function LDKMonitorEvent_CommitmentTxConfirmed_get_commitment_tx_confirme
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMonitorEvent_UpdateCompleted_get_funding_txo(ptr: number): number {
+export function LDKMonitorEvent_UpdateCompleted_get_funding_txo(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2414,7 +2442,7 @@ export function LDKMonitorEvent_UpdateCompleted_get_funding_txo(ptr: number): nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMonitorEvent_UpdateCompleted_get_monitor_update_id(ptr: number): bigint {
+export function LDKMonitorEvent_UpdateCompleted_get_monitor_update_id(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2422,7 +2450,7 @@ export function LDKMonitorEvent_UpdateCompleted_get_monitor_update_id(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKMonitorEvent_UpdateFailed_get_update_failed(ptr: number): number {
+export function LDKMonitorEvent_UpdateFailed_get_update_failed(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2431,7 +2459,7 @@ export function LDKMonitorEvent_UpdateFailed_get_update_failed(ptr: number): num
 }
        // struct LDKOutPoint C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_a(LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_a(owner: number): number {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_a(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2440,7 +2468,7 @@ export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_a(owner: number
 }
        // struct LDKCVec_MonitorEventZ C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_b(LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_b(owner: number): number {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2449,7 +2477,7 @@ export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_b(owner: number
 }
        // struct LDKPublicKey C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_c(LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_c(owner: number): number {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_c(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2461,7 +2489,7 @@ export class LDKCOption_C2Tuple_usizeTransactionZZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_C2Tuple_usizeTransactionZZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_C2Tuple_usizeTransactionZZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2469,7 +2497,7 @@ export function LDKCOption_C2Tuple_usizeTransactionZZ_ty_from_ptr(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_C2Tuple_usizeTransactionZZ_Some_get_some(ptr: number): number {
+export function LDKCOption_C2Tuple_usizeTransactionZZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2478,7 +2506,7 @@ export function LDKCOption_C2Tuple_usizeTransactionZZ_Some_get_some(ptr: number)
 }
        // struct LDKFixedPenaltyScorer CResult_FixedPenaltyScorerDecodeErrorZ_get_ok(LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2487,7 +2515,7 @@ export function CResult_FixedPenaltyScorerDecodeErrorZ_get_ok(owner: number): nu
 }
        // struct LDKDecodeError CResult_FixedPenaltyScorerDecodeErrorZ_get_err(LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_get_err(owner: number): number {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2496,7 +2524,7 @@ export function CResult_FixedPenaltyScorerDecodeErrorZ_get_err(owner: number): n
 }
        // uint64_t C2Tuple_u64u64Z_get_a(LDKC2Tuple_u64u64Z *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_u64u64Z_get_a(owner: number): bigint {
+export function C2Tuple_u64u64Z_get_a(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2505,7 +2533,7 @@ export function C2Tuple_u64u64Z_get_a(owner: number): bigint {
 }
        // uint64_t C2Tuple_u64u64Z_get_b(LDKC2Tuple_u64u64Z *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_u64u64Z_get_b(owner: number): bigint {
+export function C2Tuple_u64u64Z_get_b(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2517,7 +2545,7 @@ export class LDKCOption_C2Tuple_u64u64ZZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_C2Tuple_u64u64ZZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_C2Tuple_u64u64ZZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2525,7 +2553,7 @@ export function LDKCOption_C2Tuple_u64u64ZZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_C2Tuple_u64u64ZZ_Some_get_some(ptr: number): number {
+export function LDKCOption_C2Tuple_u64u64ZZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2534,11 +2562,11 @@ export function LDKCOption_C2Tuple_u64u64ZZ_Some_get_some(ptr: number): number {
 }
 /* @internal */
 export interface LDKLogger {
-       log (record: number): void;
+       log (record: bigint): void;
 }
 
 /* @internal */
-export function LDKLogger_new(impl: LDKLogger): number {
+export function LDKLogger_new(impl: LDKLogger): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2551,7 +2579,7 @@ export function LDKLogger_new(impl: LDKLogger): number {
 }
        // struct LDKProbabilisticScorer *CResult_ProbabilisticScorerDecodeErrorZ_get_ok(LDKCResult_ProbabilisticScorerDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ProbabilisticScorerDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ProbabilisticScorerDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2560,7 +2588,7 @@ export function CResult_ProbabilisticScorerDecodeErrorZ_get_ok(owner: number): n
 }
        // struct LDKDecodeError CResult_ProbabilisticScorerDecodeErrorZ_get_err(LDKCResult_ProbabilisticScorerDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ProbabilisticScorerDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ProbabilisticScorerDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2569,7 +2597,7 @@ export function CResult_ProbabilisticScorerDecodeErrorZ_get_err(owner: number):
 }
        // struct LDKInitFeatures CResult_InitFeaturesDecodeErrorZ_get_ok(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_InitFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2578,7 +2606,7 @@ export function CResult_InitFeaturesDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_InitFeaturesDecodeErrorZ_get_err(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_InitFeaturesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2587,7 +2615,7 @@ export function CResult_InitFeaturesDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKChannelFeatures CResult_ChannelFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2596,7 +2624,7 @@ export function CResult_ChannelFeaturesDecodeErrorZ_get_ok(owner: number): numbe
 }
        // struct LDKDecodeError CResult_ChannelFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelFeaturesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2605,7 +2633,7 @@ export function CResult_ChannelFeaturesDecodeErrorZ_get_err(owner: number): numb
 }
        // struct LDKNodeFeatures CResult_NodeFeaturesDecodeErrorZ_get_ok(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NodeFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2614,7 +2642,7 @@ export function CResult_NodeFeaturesDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_NodeFeaturesDecodeErrorZ_get_err(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NodeFeaturesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2623,7 +2651,7 @@ export function CResult_NodeFeaturesDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKInvoiceFeatures CResult_InvoiceFeaturesDecodeErrorZ_get_ok(LDKCResult_InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_InvoiceFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2632,7 +2660,7 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_get_ok(owner: number): numbe
 }
        // struct LDKDecodeError CResult_InvoiceFeaturesDecodeErrorZ_get_err(LDKCResult_InvoiceFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_InvoiceFeaturesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2641,7 +2669,7 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_get_err(owner: number): numb
 }
        // struct LDKChannelTypeFeatures CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2650,7 +2678,7 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_ok(owner: number): n
 }
        // struct LDKDecodeError CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2659,7 +2687,7 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_get_err(owner: number):
 }
        // struct LDKNodeId CResult_NodeIdDecodeErrorZ_get_ok(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NodeIdDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2668,7 +2696,7 @@ export function CResult_NodeIdDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_NodeIdDecodeErrorZ_get_err(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NodeIdDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2677,7 +2705,7 @@ export function CResult_NodeIdDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKCOption_NetworkUpdateZ CResult_COption_NetworkUpdateZDecodeErrorZ_get_ok(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2686,7 +2714,7 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_get_ok(owner: number)
 }
        // struct LDKDecodeError CResult_COption_NetworkUpdateZDecodeErrorZ_get_err(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2695,11 +2723,11 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_get_err(owner: number
 }
 /* @internal */
 export interface LDKAccess {
-       get_utxo (genesis_hash: number, short_channel_id: bigint): number;
+       get_utxo (genesis_hash: number, short_channel_id: bigint): bigint;
 }
 
 /* @internal */
-export function LDKAccess_new(impl: LDKAccess): number {
+export function LDKAccess_new(impl: LDKAccess): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2712,7 +2740,7 @@ export function LDKAccess_new(impl: LDKAccess): number {
 }
        // LDKCResult_TxOutAccessErrorZ Access_get_utxo LDKAccess *NONNULL_PTR this_arg, const uint8_t (*genesis_hash)[32], uint64_t short_channel_id
 /* @internal */
-export function Access_get_utxo(this_arg: number, genesis_hash: number, short_channel_id: bigint): number {
+export function Access_get_utxo(this_arg: bigint, genesis_hash: number, short_channel_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2724,7 +2752,7 @@ export class LDKCOption_AccessZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_AccessZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_AccessZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2732,7 +2760,7 @@ export function LDKCOption_AccessZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_AccessZ_Some_get_some(ptr: number): number {
+export function LDKCOption_AccessZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2741,7 +2769,7 @@ export function LDKCOption_AccessZ_Some_get_some(ptr: number): number {
 }
        // bool CResult_boolLightningErrorZ_get_ok(LDKCResult_boolLightningErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_boolLightningErrorZ_get_ok(owner: number): boolean {
+export function CResult_boolLightningErrorZ_get_ok(owner: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2750,7 +2778,7 @@ export function CResult_boolLightningErrorZ_get_ok(owner: number): boolean {
 }
        // struct LDKLightningError CResult_boolLightningErrorZ_get_err(LDKCResult_boolLightningErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_boolLightningErrorZ_get_err(owner: number): number {
+export function CResult_boolLightningErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2759,7 +2787,7 @@ export function CResult_boolLightningErrorZ_get_err(owner: number): number {
 }
        // struct LDKChannelAnnouncement C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(owner: number): number {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2768,7 +2796,7 @@ export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(own
 }
        // struct LDKChannelUpdate C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(owner: number): number {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2777,7 +2805,7 @@ export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(own
 }
        // struct LDKChannelUpdate C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(owner: number): number {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2786,7 +2814,7 @@ export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(own
 }
        // void CResult_NoneLightningErrorZ_get_ok(LDKCResult_NoneLightningErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneLightningErrorZ_get_ok(owner: number): void {
+export function CResult_NoneLightningErrorZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2795,7 +2823,7 @@ export function CResult_NoneLightningErrorZ_get_ok(owner: number): void {
 }
        // struct LDKLightningError CResult_NoneLightningErrorZ_get_err(LDKCResult_NoneLightningErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneLightningErrorZ_get_err(owner: number): number {
+export function CResult_NoneLightningErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2804,7 +2832,7 @@ export function CResult_NoneLightningErrorZ_get_err(owner: number): number {
 }
        // struct LDKChannelUpdateInfo CResult_ChannelUpdateInfoDecodeErrorZ_get_ok(LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2813,7 +2841,7 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_ChannelUpdateInfoDecodeErrorZ_get_err(LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2822,7 +2850,7 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_get_err(owner: number): nu
 }
        // struct LDKChannelInfo CResult_ChannelInfoDecodeErrorZ_get_ok(LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelInfoDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2831,7 +2859,7 @@ export function CResult_ChannelInfoDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_ChannelInfoDecodeErrorZ_get_err(LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelInfoDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2840,7 +2868,7 @@ export function CResult_ChannelInfoDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKRoutingFees CResult_RoutingFeesDecodeErrorZ_get_ok(LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RoutingFeesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2849,7 +2877,7 @@ export function CResult_RoutingFeesDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_RoutingFeesDecodeErrorZ_get_err(LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RoutingFeesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2861,7 +2889,7 @@ export class LDKNetAddress {
        protected constructor() {}
 }
 /* @internal */
-export function LDKNetAddress_ty_from_ptr(ptr: number): number {
+export function LDKNetAddress_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2869,7 +2897,7 @@ export function LDKNetAddress_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_IPv4_get_addr(ptr: number): number {
+export function LDKNetAddress_IPv4_get_addr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2877,7 +2905,7 @@ export function LDKNetAddress_IPv4_get_addr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_IPv4_get_port(ptr: number): number {
+export function LDKNetAddress_IPv4_get_port(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2885,7 +2913,7 @@ export function LDKNetAddress_IPv4_get_port(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_IPv6_get_addr(ptr: number): number {
+export function LDKNetAddress_IPv6_get_addr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2893,7 +2921,7 @@ export function LDKNetAddress_IPv6_get_addr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_IPv6_get_port(ptr: number): number {
+export function LDKNetAddress_IPv6_get_port(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2901,7 +2929,7 @@ export function LDKNetAddress_IPv6_get_port(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_OnionV2_get_onion_v2(ptr: number): number {
+export function LDKNetAddress_OnionV2_get_onion_v2(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2909,7 +2937,7 @@ export function LDKNetAddress_OnionV2_get_onion_v2(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_OnionV3_get_ed25519_pubkey(ptr: number): number {
+export function LDKNetAddress_OnionV3_get_ed25519_pubkey(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2917,7 +2945,7 @@ export function LDKNetAddress_OnionV3_get_ed25519_pubkey(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_OnionV3_get_checksum(ptr: number): number {
+export function LDKNetAddress_OnionV3_get_checksum(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2925,7 +2953,7 @@ export function LDKNetAddress_OnionV3_get_checksum(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_OnionV3_get_version(ptr: number): number {
+export function LDKNetAddress_OnionV3_get_version(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2933,7 +2961,7 @@ export function LDKNetAddress_OnionV3_get_version(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_OnionV3_get_port(ptr: number): number {
+export function LDKNetAddress_OnionV3_get_port(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2941,7 +2969,7 @@ export function LDKNetAddress_OnionV3_get_port(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_Hostname_get_hostname(ptr: number): number {
+export function LDKNetAddress_Hostname_get_hostname(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2949,7 +2977,7 @@ export function LDKNetAddress_Hostname_get_hostname(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKNetAddress_Hostname_get_port(ptr: number): number {
+export function LDKNetAddress_Hostname_get_port(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2958,7 +2986,7 @@ export function LDKNetAddress_Hostname_get_port(ptr: number): number {
 }
        // struct LDKNodeAnnouncementInfo CResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2967,7 +2995,7 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_NodeAnnouncementInfoDecodeErrorZ_get_err(LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2976,7 +3004,7 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_get_err(owner: number):
 }
        // struct LDKNodeAlias CResult_NodeAliasDecodeErrorZ_get_ok(LDKCResult_NodeAliasDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NodeAliasDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2985,7 +3013,7 @@ export function CResult_NodeAliasDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_NodeAliasDecodeErrorZ_get_err(LDKCResult_NodeAliasDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NodeAliasDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -2994,7 +3022,7 @@ export function CResult_NodeAliasDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKNodeInfo CResult_NodeInfoDecodeErrorZ_get_ok(LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NodeInfoDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3003,7 +3031,7 @@ export function CResult_NodeInfoDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_NodeInfoDecodeErrorZ_get_err(LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NodeInfoDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3012,7 +3040,7 @@ export function CResult_NodeInfoDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKNetworkGraph *CResult_NetworkGraphDecodeErrorZ_get_ok(LDKCResult_NetworkGraphDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NetworkGraphDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NetworkGraphDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3021,7 +3049,7 @@ export function CResult_NetworkGraphDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_NetworkGraphDecodeErrorZ_get_err(LDKCResult_NetworkGraphDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NetworkGraphDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NetworkGraphDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3033,7 +3061,7 @@ export class LDKCOption_CVec_NetAddressZZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_CVec_NetAddressZZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_CVec_NetAddressZZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3041,7 +3069,7 @@ export function LDKCOption_CVec_NetAddressZZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_CVec_NetAddressZZ_Some_get_some(ptr: number): number {
+export function LDKCOption_CVec_NetAddressZZ_Some_get_some(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3050,7 +3078,7 @@ export function LDKCOption_CVec_NetAddressZZ_Some_get_some(ptr: number): number
 }
        // struct LDKDelayedPaymentOutputDescriptor CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_ok(LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3059,7 +3087,7 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_ok(owner:
 }
        // struct LDKDecodeError CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_err(LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_err(owner: number): number {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3068,7 +3096,7 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_get_err(owner
 }
        // struct LDKStaticPaymentOutputDescriptor CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_ok(LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3077,7 +3105,7 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_ok(owner:
 }
        // struct LDKDecodeError CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_err(LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_err(owner: number): number {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3086,7 +3114,7 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_get_err(owner:
 }
        // struct LDKSpendableOutputDescriptor CResult_SpendableOutputDescriptorDecodeErrorZ_get_ok(LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3095,7 +3123,7 @@ export function CResult_SpendableOutputDescriptorDecodeErrorZ_get_ok(owner: numb
 }
        // struct LDKDecodeError CResult_SpendableOutputDescriptorDecodeErrorZ_get_err(LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_get_err(owner: number): number {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3104,7 +3132,7 @@ export function CResult_SpendableOutputDescriptorDecodeErrorZ_get_err(owner: num
 }
        // struct LDKSignature C2Tuple_SignatureCVec_SignatureZZ_get_a(LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_SignatureCVec_SignatureZZ_get_a(owner: number): number {
+export function C2Tuple_SignatureCVec_SignatureZZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3113,7 +3141,7 @@ export function C2Tuple_SignatureCVec_SignatureZZ_get_a(owner: number): number {
 }
        // struct LDKCVec_SignatureZ C2Tuple_SignatureCVec_SignatureZZ_get_b(LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_SignatureCVec_SignatureZZ_get_b(owner: number): number {
+export function C2Tuple_SignatureCVec_SignatureZZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3122,7 +3150,7 @@ export function C2Tuple_SignatureCVec_SignatureZZ_get_b(owner: number): number {
 }
        // struct LDKC2Tuple_SignatureCVec_SignatureZZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_ok(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3131,7 +3159,7 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_ok(owner: num
 }
        // void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_err(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_err(owner: number): void {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3140,7 +3168,7 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_get_err(owner: nu
 }
        // struct LDKSignature CResult_SignatureNoneZ_get_ok(LDKCResult_SignatureNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SignatureNoneZ_get_ok(owner: number): number {
+export function CResult_SignatureNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3149,7 +3177,7 @@ export function CResult_SignatureNoneZ_get_ok(owner: number): number {
 }
        // void CResult_SignatureNoneZ_get_err(LDKCResult_SignatureNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SignatureNoneZ_get_err(owner: number): void {
+export function CResult_SignatureNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3158,7 +3186,7 @@ export function CResult_SignatureNoneZ_get_err(owner: number): void {
 }
        // struct LDKSignature C2Tuple_SignatureSignatureZ_get_a(LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_SignatureSignatureZ_get_a(owner: number): number {
+export function C2Tuple_SignatureSignatureZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3167,7 +3195,7 @@ export function C2Tuple_SignatureSignatureZ_get_a(owner: number): number {
 }
        // struct LDKSignature C2Tuple_SignatureSignatureZ_get_b(LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_SignatureSignatureZ_get_b(owner: number): number {
+export function C2Tuple_SignatureSignatureZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3176,7 +3204,7 @@ export function C2Tuple_SignatureSignatureZ_get_b(owner: number): number {
 }
        // struct LDKC2Tuple_SignatureSignatureZ CResult_C2Tuple_SignatureSignatureZNoneZ_get_ok(LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3185,7 +3213,7 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_get_ok(owner: number):
 }
        // void CResult_C2Tuple_SignatureSignatureZNoneZ_get_err(LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_get_err(owner: number): void {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3194,7 +3222,7 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_get_err(owner: number):
 }
        // struct LDKSecretKey CResult_SecretKeyNoneZ_get_ok(LDKCResult_SecretKeyNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SecretKeyNoneZ_get_ok(owner: number): number {
+export function CResult_SecretKeyNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3203,7 +3231,7 @@ export function CResult_SecretKeyNoneZ_get_ok(owner: number): number {
 }
        // void CResult_SecretKeyNoneZ_get_err(LDKCResult_SecretKeyNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SecretKeyNoneZ_get_err(owner: number): void {
+export function CResult_SecretKeyNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3214,21 +3242,21 @@ export function CResult_SecretKeyNoneZ_get_err(owner: number): void {
 export interface LDKBaseSign {
        get_per_commitment_point (idx: bigint): number;
        release_commitment_secret (idx: bigint): number;
-       validate_holder_commitment (holder_tx: number, preimages: number): number;
+       validate_holder_commitment (holder_tx: bigint, preimages: number): bigint;
        channel_keys_id (): number;
-       sign_counterparty_commitment (commitment_tx: number, preimages: number): number;
-       validate_counterparty_revocation (idx: bigint, secret: number): number;
-       sign_holder_commitment_and_htlcs (commitment_tx: number): number;
-       sign_justice_revoked_output (justice_tx: number, input: number, amount: bigint, per_commitment_key: number): number;
-       sign_justice_revoked_htlc (justice_tx: number, input: number, amount: bigint, per_commitment_key: number, htlc: number): number;
-       sign_counterparty_htlc_transaction (htlc_tx: number, input: number, amount: bigint, per_commitment_point: number, htlc: number): number;
-       sign_closing_transaction (closing_tx: number): number;
-       sign_channel_announcement (msg: number): number;
-       ready_channel (channel_parameters: number): void;
+       sign_counterparty_commitment (commitment_tx: bigint, preimages: number): bigint;
+       validate_counterparty_revocation (idx: bigint, secret: number): bigint;
+       sign_holder_commitment_and_htlcs (commitment_tx: bigint): bigint;
+       sign_justice_revoked_output (justice_tx: number, input: number, amount: bigint, per_commitment_key: number): bigint;
+       sign_justice_revoked_htlc (justice_tx: number, input: number, amount: bigint, per_commitment_key: number, htlc: bigint): bigint;
+       sign_counterparty_htlc_transaction (htlc_tx: number, input: number, amount: bigint, per_commitment_point: number, htlc: bigint): bigint;
+       sign_closing_transaction (closing_tx: bigint): bigint;
+       sign_channel_announcement (msg: bigint): bigint;
+       ready_channel (channel_parameters: bigint): void;
 }
 
 /* @internal */
-export function LDKBaseSign_new(impl: LDKBaseSign, pubkeys: number): number {
+export function LDKBaseSign_new(impl: LDKBaseSign, pubkeys: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3241,7 +3269,7 @@ export function LDKBaseSign_new(impl: LDKBaseSign, pubkeys: number): number {
 }
        // LDKPublicKey BaseSign_get_per_commitment_point LDKBaseSign *NONNULL_PTR this_arg, uint64_t idx
 /* @internal */
-export function BaseSign_get_per_commitment_point(this_arg: number, idx: bigint): number {
+export function BaseSign_get_per_commitment_point(this_arg: bigint, idx: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3250,7 +3278,7 @@ export function BaseSign_get_per_commitment_point(this_arg: number, idx: bigint)
 }
        // LDKThirtyTwoBytes BaseSign_release_commitment_secret LDKBaseSign *NONNULL_PTR this_arg, uint64_t idx
 /* @internal */
-export function BaseSign_release_commitment_secret(this_arg: number, idx: bigint): number {
+export function BaseSign_release_commitment_secret(this_arg: bigint, idx: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3259,7 +3287,7 @@ export function BaseSign_release_commitment_secret(this_arg: number, idx: bigint
 }
        // LDKCResult_NoneNoneZ BaseSign_validate_holder_commitment LDKBaseSign *NONNULL_PTR this_arg, const struct LDKHolderCommitmentTransaction *NONNULL_PTR holder_tx, struct LDKCVec_PaymentPreimageZ preimages
 /* @internal */
-export function BaseSign_validate_holder_commitment(this_arg: number, holder_tx: number, preimages: number): number {
+export function BaseSign_validate_holder_commitment(this_arg: bigint, holder_tx: bigint, preimages: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3268,7 +3296,7 @@ export function BaseSign_validate_holder_commitment(this_arg: number, holder_tx:
 }
        // LDKThirtyTwoBytes BaseSign_channel_keys_id LDKBaseSign *NONNULL_PTR this_arg
 /* @internal */
-export function BaseSign_channel_keys_id(this_arg: number): number {
+export function BaseSign_channel_keys_id(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3277,7 +3305,7 @@ export function BaseSign_channel_keys_id(this_arg: number): number {
 }
        // LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ BaseSign_sign_counterparty_commitment LDKBaseSign *NONNULL_PTR this_arg, const struct LDKCommitmentTransaction *NONNULL_PTR commitment_tx, struct LDKCVec_PaymentPreimageZ preimages
 /* @internal */
-export function BaseSign_sign_counterparty_commitment(this_arg: number, commitment_tx: number, preimages: number): number {
+export function BaseSign_sign_counterparty_commitment(this_arg: bigint, commitment_tx: bigint, preimages: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3286,7 +3314,7 @@ export function BaseSign_sign_counterparty_commitment(this_arg: number, commitme
 }
        // LDKCResult_NoneNoneZ BaseSign_validate_counterparty_revocation LDKBaseSign *NONNULL_PTR this_arg, uint64_t idx, const uint8_t (*secret)[32]
 /* @internal */
-export function BaseSign_validate_counterparty_revocation(this_arg: number, idx: bigint, secret: number): number {
+export function BaseSign_validate_counterparty_revocation(this_arg: bigint, idx: bigint, secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3295,7 +3323,7 @@ export function BaseSign_validate_counterparty_revocation(this_arg: number, idx:
 }
        // LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ BaseSign_sign_holder_commitment_and_htlcs LDKBaseSign *NONNULL_PTR this_arg, const struct LDKHolderCommitmentTransaction *NONNULL_PTR commitment_tx
 /* @internal */
-export function BaseSign_sign_holder_commitment_and_htlcs(this_arg: number, commitment_tx: number): number {
+export function BaseSign_sign_holder_commitment_and_htlcs(this_arg: bigint, commitment_tx: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3304,7 +3332,7 @@ export function BaseSign_sign_holder_commitment_and_htlcs(this_arg: number, comm
 }
        // LDKCResult_SignatureNoneZ BaseSign_sign_justice_revoked_output LDKBaseSign *NONNULL_PTR this_arg, struct LDKTransaction justice_tx, uintptr_t input, uint64_t amount, const uint8_t (*per_commitment_key)[32]
 /* @internal */
-export function BaseSign_sign_justice_revoked_output(this_arg: number, justice_tx: number, input: number, amount: bigint, per_commitment_key: number): number {
+export function BaseSign_sign_justice_revoked_output(this_arg: bigint, justice_tx: number, input: number, amount: bigint, per_commitment_key: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3313,7 +3341,7 @@ export function BaseSign_sign_justice_revoked_output(this_arg: number, justice_t
 }
        // LDKCResult_SignatureNoneZ BaseSign_sign_justice_revoked_htlc LDKBaseSign *NONNULL_PTR this_arg, struct LDKTransaction justice_tx, uintptr_t input, uint64_t amount, const uint8_t (*per_commitment_key)[32], const struct LDKHTLCOutputInCommitment *NONNULL_PTR htlc
 /* @internal */
-export function BaseSign_sign_justice_revoked_htlc(this_arg: number, justice_tx: number, input: number, amount: bigint, per_commitment_key: number, htlc: number): number {
+export function BaseSign_sign_justice_revoked_htlc(this_arg: bigint, justice_tx: number, input: number, amount: bigint, per_commitment_key: number, htlc: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3322,7 +3350,7 @@ export function BaseSign_sign_justice_revoked_htlc(this_arg: number, justice_tx:
 }
        // LDKCResult_SignatureNoneZ BaseSign_sign_counterparty_htlc_transaction LDKBaseSign *NONNULL_PTR this_arg, struct LDKTransaction htlc_tx, uintptr_t input, uint64_t amount, struct LDKPublicKey per_commitment_point, const struct LDKHTLCOutputInCommitment *NONNULL_PTR htlc
 /* @internal */
-export function BaseSign_sign_counterparty_htlc_transaction(this_arg: number, htlc_tx: number, input: number, amount: bigint, per_commitment_point: number, htlc: number): number {
+export function BaseSign_sign_counterparty_htlc_transaction(this_arg: bigint, htlc_tx: number, input: number, amount: bigint, per_commitment_point: number, htlc: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3331,7 +3359,7 @@ export function BaseSign_sign_counterparty_htlc_transaction(this_arg: number, ht
 }
        // LDKCResult_SignatureNoneZ BaseSign_sign_closing_transaction LDKBaseSign *NONNULL_PTR this_arg, const struct LDKClosingTransaction *NONNULL_PTR closing_tx
 /* @internal */
-export function BaseSign_sign_closing_transaction(this_arg: number, closing_tx: number): number {
+export function BaseSign_sign_closing_transaction(this_arg: bigint, closing_tx: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3340,7 +3368,7 @@ export function BaseSign_sign_closing_transaction(this_arg: number, closing_tx:
 }
        // LDKCResult_C2Tuple_SignatureSignatureZNoneZ BaseSign_sign_channel_announcement LDKBaseSign *NONNULL_PTR this_arg, const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR msg
 /* @internal */
-export function BaseSign_sign_channel_announcement(this_arg: number, msg: number): number {
+export function BaseSign_sign_channel_announcement(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3349,7 +3377,7 @@ export function BaseSign_sign_channel_announcement(this_arg: number, msg: number
 }
        // void BaseSign_ready_channel LDKBaseSign *NONNULL_PTR this_arg, const struct LDKChannelTransactionParameters *NONNULL_PTR channel_parameters
 /* @internal */
-export function BaseSign_ready_channel(this_arg: number, channel_parameters: number): void {
+export function BaseSign_ready_channel(this_arg: bigint, channel_parameters: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3358,7 +3386,7 @@ export function BaseSign_ready_channel(this_arg: number, channel_parameters: num
 }
        // LDKChannelPublicKeys BaseSign_get_pubkeys LDKBaseSign *NONNULL_PTR this_arg
 /* @internal */
-export function BaseSign_get_pubkeys(this_arg: number): number {
+export function BaseSign_get_pubkeys(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3371,7 +3399,7 @@ export interface LDKSign {
 }
 
 /* @internal */
-export function LDKSign_new(impl: LDKSign, BaseSign: LDKBaseSign, pubkeys: number): number {
+export function LDKSign_new(impl: LDKSign, BaseSign: LDKBaseSign, pubkeys: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3384,7 +3412,7 @@ export function LDKSign_new(impl: LDKSign, BaseSign: LDKBaseSign, pubkeys: numbe
 }
        // LDKCVec_u8Z Sign_write LDKSign *NONNULL_PTR this_arg
 /* @internal */
-export function Sign_write(this_arg: number): number {
+export function Sign_write(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3393,7 +3421,7 @@ export function Sign_write(this_arg: number): number {
 }
        // struct LDKSign CResult_SignDecodeErrorZ_get_ok(LDKCResult_SignDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SignDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_SignDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3402,7 +3430,7 @@ export function CResult_SignDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_SignDecodeErrorZ_get_err(LDKCResult_SignDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SignDecodeErrorZ_get_err(owner: number): number {
+export function CResult_SignDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3411,7 +3439,7 @@ export function CResult_SignDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKRecoverableSignature CResult_RecoverableSignatureNoneZ_get_ok(LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_get_ok(owner: number): number {
+export function CResult_RecoverableSignatureNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3420,7 +3448,7 @@ export function CResult_RecoverableSignatureNoneZ_get_ok(owner: number): number
 }
        // void CResult_RecoverableSignatureNoneZ_get_err(LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_get_err(owner: number): void {
+export function CResult_RecoverableSignatureNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3429,7 +3457,7 @@ export function CResult_RecoverableSignatureNoneZ_get_err(owner: number): void {
 }
        // struct LDKCVec_CVec_u8ZZ CResult_CVec_CVec_u8ZZNoneZ_get_ok(LDKCResult_CVec_CVec_u8ZZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_get_ok(owner: number): number {
+export function CResult_CVec_CVec_u8ZZNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3438,7 +3466,7 @@ export function CResult_CVec_CVec_u8ZZNoneZ_get_ok(owner: number): number {
 }
        // void CResult_CVec_CVec_u8ZZNoneZ_get_err(LDKCResult_CVec_CVec_u8ZZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_get_err(owner: number): void {
+export function CResult_CVec_CVec_u8ZZNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3447,7 +3475,7 @@ export function CResult_CVec_CVec_u8ZZNoneZ_get_err(owner: number): void {
 }
        // struct LDKInMemorySigner CResult_InMemorySignerDecodeErrorZ_get_ok(LDKCResult_InMemorySignerDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_InMemorySignerDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3456,7 +3484,7 @@ export function CResult_InMemorySignerDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_InMemorySignerDecodeErrorZ_get_err(LDKCResult_InMemorySignerDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_get_err(owner: number): number {
+export function CResult_InMemorySignerDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3465,7 +3493,7 @@ export function CResult_InMemorySignerDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKTransaction CResult_TransactionNoneZ_get_ok(LDKCResult_TransactionNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TransactionNoneZ_get_ok(owner: number): number {
+export function CResult_TransactionNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3474,7 +3502,7 @@ export function CResult_TransactionNoneZ_get_ok(owner: number): number {
 }
        // void CResult_TransactionNoneZ_get_err(LDKCResult_TransactionNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_TransactionNoneZ_get_err(owner: number): void {
+export function CResult_TransactionNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3486,7 +3514,7 @@ export class LDKCOption_u16Z {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_u16Z_ty_from_ptr(ptr: number): number {
+export function LDKCOption_u16Z_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3494,7 +3522,7 @@ export function LDKCOption_u16Z_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_u16Z_Some_get_some(ptr: number): number {
+export function LDKCOption_u16Z_Some_get_some(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3506,7 +3534,7 @@ export class LDKAPIError {
        protected constructor() {}
 }
 /* @internal */
-export function LDKAPIError_ty_from_ptr(ptr: number): number {
+export function LDKAPIError_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3514,7 +3542,7 @@ export function LDKAPIError_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKAPIError_APIMisuseError_get_err(ptr: number): number {
+export function LDKAPIError_APIMisuseError_get_err(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3522,7 +3550,7 @@ export function LDKAPIError_APIMisuseError_get_err(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKAPIError_FeeRateTooHigh_get_err(ptr: number): number {
+export function LDKAPIError_FeeRateTooHigh_get_err(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3530,7 +3558,7 @@ export function LDKAPIError_FeeRateTooHigh_get_err(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKAPIError_FeeRateTooHigh_get_feerate(ptr: number): number {
+export function LDKAPIError_FeeRateTooHigh_get_feerate(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3538,7 +3566,7 @@ export function LDKAPIError_FeeRateTooHigh_get_feerate(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKAPIError_RouteError_get_err(ptr: number): number {
+export function LDKAPIError_RouteError_get_err(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3546,7 +3574,7 @@ export function LDKAPIError_RouteError_get_err(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKAPIError_ChannelUnavailable_get_err(ptr: number): number {
+export function LDKAPIError_ChannelUnavailable_get_err(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3554,7 +3582,7 @@ export function LDKAPIError_ChannelUnavailable_get_err(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKAPIError_IncompatibleShutdownScript_get_script(ptr: number): number {
+export function LDKAPIError_IncompatibleShutdownScript_get_script(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3563,7 +3591,7 @@ export function LDKAPIError_IncompatibleShutdownScript_get_script(ptr: number):
 }
        // void CResult_NoneAPIErrorZ_get_ok(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneAPIErrorZ_get_ok(owner: number): void {
+export function CResult_NoneAPIErrorZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3572,7 +3600,7 @@ export function CResult_NoneAPIErrorZ_get_ok(owner: number): void {
 }
        // struct LDKAPIError CResult_NoneAPIErrorZ_get_err(LDKCResult_NoneAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneAPIErrorZ_get_err(owner: number): number {
+export function CResult_NoneAPIErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3581,7 +3609,7 @@ export function CResult_NoneAPIErrorZ_get_err(owner: number): number {
 }
        // struct LDKThirtyTwoBytes CResult__u832APIErrorZ_get_ok(LDKCResult__u832APIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult__u832APIErrorZ_get_ok(owner: number): number {
+export function CResult__u832APIErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3590,7 +3618,7 @@ export function CResult__u832APIErrorZ_get_ok(owner: number): number {
 }
        // struct LDKAPIError CResult__u832APIErrorZ_get_err(LDKCResult__u832APIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult__u832APIErrorZ_get_err(owner: number): number {
+export function CResult__u832APIErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3602,7 +3630,7 @@ export class LDKPaymentSendFailure {
        protected constructor() {}
 }
 /* @internal */
-export function LDKPaymentSendFailure_ty_from_ptr(ptr: number): number {
+export function LDKPaymentSendFailure_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3610,7 +3638,7 @@ export function LDKPaymentSendFailure_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentSendFailure_ParameterError_get_parameter_error(ptr: number): number {
+export function LDKPaymentSendFailure_ParameterError_get_parameter_error(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3618,7 +3646,7 @@ export function LDKPaymentSendFailure_ParameterError_get_parameter_error(ptr: nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr: number): number {
+export function LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3626,7 +3654,7 @@ export function LDKPaymentSendFailure_PathParameterError_get_path_parameter_erro
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentSendFailure_AllFailedRetrySafe_get_all_failed_retry_safe(ptr: number): number {
+export function LDKPaymentSendFailure_AllFailedRetrySafe_get_all_failed_retry_safe(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3634,7 +3662,7 @@ export function LDKPaymentSendFailure_AllFailedRetrySafe_get_all_failed_retry_sa
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentSendFailure_PartialFailure_get_results(ptr: number): number {
+export function LDKPaymentSendFailure_PartialFailure_get_results(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3642,7 +3670,7 @@ export function LDKPaymentSendFailure_PartialFailure_get_results(ptr: number): n
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(ptr: number): number {
+export function LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3650,7 +3678,7 @@ export function LDKPaymentSendFailure_PartialFailure_get_failed_paths_retry(ptr:
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentSendFailure_PartialFailure_get_payment_id(ptr: number): number {
+export function LDKPaymentSendFailure_PartialFailure_get_payment_id(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3659,7 +3687,7 @@ export function LDKPaymentSendFailure_PartialFailure_get_payment_id(ptr: number)
 }
        // struct LDKThirtyTwoBytes CResult_PaymentIdPaymentSendFailureZ_get_ok(LDKCResult_PaymentIdPaymentSendFailureZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_get_ok(owner: number): number {
+export function CResult_PaymentIdPaymentSendFailureZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3668,7 +3696,7 @@ export function CResult_PaymentIdPaymentSendFailureZ_get_ok(owner: number): numb
 }
        // struct LDKPaymentSendFailure CResult_PaymentIdPaymentSendFailureZ_get_err(LDKCResult_PaymentIdPaymentSendFailureZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_get_err(owner: number): number {
+export function CResult_PaymentIdPaymentSendFailureZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3677,7 +3705,7 @@ export function CResult_PaymentIdPaymentSendFailureZ_get_err(owner: number): num
 }
        // void CResult_NonePaymentSendFailureZ_get_ok(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_get_ok(owner: number): void {
+export function CResult_NonePaymentSendFailureZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3686,7 +3714,7 @@ export function CResult_NonePaymentSendFailureZ_get_ok(owner: number): void {
 }
        // struct LDKPaymentSendFailure CResult_NonePaymentSendFailureZ_get_err(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_get_err(owner: number): number {
+export function CResult_NonePaymentSendFailureZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3695,7 +3723,7 @@ export function CResult_NonePaymentSendFailureZ_get_err(owner: number): number {
 }
        // struct LDKThirtyTwoBytes C2Tuple_PaymentHashPaymentIdZ_get_a(LDKC2Tuple_PaymentHashPaymentIdZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentIdZ_get_a(owner: number): number {
+export function C2Tuple_PaymentHashPaymentIdZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3704,7 +3732,7 @@ export function C2Tuple_PaymentHashPaymentIdZ_get_a(owner: number): number {
 }
        // struct LDKThirtyTwoBytes C2Tuple_PaymentHashPaymentIdZ_get_b(LDKC2Tuple_PaymentHashPaymentIdZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentIdZ_get_b(owner: number): number {
+export function C2Tuple_PaymentHashPaymentIdZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3713,7 +3741,7 @@ export function C2Tuple_PaymentHashPaymentIdZ_get_b(owner: number): number {
 }
        // struct LDKC2Tuple_PaymentHashPaymentIdZ CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_ok(LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3722,7 +3750,7 @@ export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_ok(
 }
        // struct LDKPaymentSendFailure CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_err(LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_err(owner: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3731,7 +3759,7 @@ export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_get_err
 }
        // struct LDKThirtyTwoBytes C2Tuple_PaymentHashPaymentSecretZ_get_a(LDKC2Tuple_PaymentHashPaymentSecretZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentSecretZ_get_a(owner: number): number {
+export function C2Tuple_PaymentHashPaymentSecretZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3740,7 +3768,7 @@ export function C2Tuple_PaymentHashPaymentSecretZ_get_a(owner: number): number {
 }
        // struct LDKThirtyTwoBytes C2Tuple_PaymentHashPaymentSecretZ_get_b(LDKC2Tuple_PaymentHashPaymentSecretZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentSecretZ_get_b(owner: number): number {
+export function C2Tuple_PaymentHashPaymentSecretZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3749,7 +3777,7 @@ export function C2Tuple_PaymentHashPaymentSecretZ_get_b(owner: number): number {
 }
        // struct LDKC2Tuple_PaymentHashPaymentSecretZ CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_ok(LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3758,7 +3786,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_ok(owner: num
 }
        // void CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_err(LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_err(owner: number): void {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3767,7 +3795,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_get_err(owner: nu
 }
        // struct LDKC2Tuple_PaymentHashPaymentSecretZ CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_ok(LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3776,7 +3804,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_ok(owner:
 }
        // struct LDKAPIError CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_err(LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_err(owner: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3785,7 +3813,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_get_err(owner
 }
        // struct LDKThirtyTwoBytes CResult_PaymentSecretNoneZ_get_ok(LDKCResult_PaymentSecretNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_get_ok(owner: number): number {
+export function CResult_PaymentSecretNoneZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3794,7 +3822,7 @@ export function CResult_PaymentSecretNoneZ_get_ok(owner: number): number {
 }
        // void CResult_PaymentSecretNoneZ_get_err(LDKCResult_PaymentSecretNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_get_err(owner: number): void {
+export function CResult_PaymentSecretNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3803,7 +3831,7 @@ export function CResult_PaymentSecretNoneZ_get_err(owner: number): void {
 }
        // struct LDKThirtyTwoBytes CResult_PaymentSecretAPIErrorZ_get_ok(LDKCResult_PaymentSecretAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_get_ok(owner: number): number {
+export function CResult_PaymentSecretAPIErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3812,7 +3840,7 @@ export function CResult_PaymentSecretAPIErrorZ_get_ok(owner: number): number {
 }
        // struct LDKAPIError CResult_PaymentSecretAPIErrorZ_get_err(LDKCResult_PaymentSecretAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_get_err(owner: number): number {
+export function CResult_PaymentSecretAPIErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3821,7 +3849,7 @@ export function CResult_PaymentSecretAPIErrorZ_get_err(owner: number): number {
 }
        // struct LDKThirtyTwoBytes CResult_PaymentPreimageAPIErrorZ_get_ok(LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_get_ok(owner: number): number {
+export function CResult_PaymentPreimageAPIErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3830,7 +3858,7 @@ export function CResult_PaymentPreimageAPIErrorZ_get_ok(owner: number): number {
 }
        // struct LDKAPIError CResult_PaymentPreimageAPIErrorZ_get_err(LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_get_err(owner: number): number {
+export function CResult_PaymentPreimageAPIErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3839,7 +3867,7 @@ export function CResult_PaymentPreimageAPIErrorZ_get_err(owner: number): number
 }
        // struct LDKCounterpartyForwardingInfo CResult_CounterpartyForwardingInfoDecodeErrorZ_get_ok(LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3848,7 +3876,7 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_get_ok(owner: num
 }
        // struct LDKDecodeError CResult_CounterpartyForwardingInfoDecodeErrorZ_get_err(LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_get_err(owner: number): number {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3857,7 +3885,7 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_get_err(owner: nu
 }
        // struct LDKChannelCounterparty CResult_ChannelCounterpartyDecodeErrorZ_get_ok(LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelCounterpartyDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3866,7 +3894,7 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_get_ok(owner: number): n
 }
        // struct LDKDecodeError CResult_ChannelCounterpartyDecodeErrorZ_get_err(LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelCounterpartyDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3875,7 +3903,7 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_get_err(owner: number):
 }
        // struct LDKChannelDetails CResult_ChannelDetailsDecodeErrorZ_get_ok(LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelDetailsDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3884,7 +3912,7 @@ export function CResult_ChannelDetailsDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_ChannelDetailsDecodeErrorZ_get_err(LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelDetailsDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3893,7 +3921,7 @@ export function CResult_ChannelDetailsDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKPhantomRouteHints CResult_PhantomRouteHintsDecodeErrorZ_get_ok(LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_PhantomRouteHintsDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3902,7 +3930,7 @@ export function CResult_PhantomRouteHintsDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_PhantomRouteHintsDecodeErrorZ_get_err(LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_get_err(owner: number): number {
+export function CResult_PhantomRouteHintsDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3911,13 +3939,13 @@ export function CResult_PhantomRouteHintsDecodeErrorZ_get_err(owner: number): nu
 }
 /* @internal */
 export interface LDKWatch {
-       watch_channel (funding_txo: number, monitor: number): number;
-       update_channel (funding_txo: number, update: number): number;
+       watch_channel (funding_txo: bigint, monitor: bigint): bigint;
+       update_channel (funding_txo: bigint, update: bigint): bigint;
        release_pending_monitor_events (): number;
 }
 
 /* @internal */
-export function LDKWatch_new(impl: LDKWatch): number {
+export function LDKWatch_new(impl: LDKWatch): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3930,7 +3958,7 @@ export function LDKWatch_new(impl: LDKWatch): number {
 }
        // LDKCResult_NoneChannelMonitorUpdateErrZ Watch_watch_channel LDKWatch *NONNULL_PTR this_arg, struct LDKOutPoint funding_txo, struct LDKChannelMonitor monitor
 /* @internal */
-export function Watch_watch_channel(this_arg: number, funding_txo: number, monitor: number): number {
+export function Watch_watch_channel(this_arg: bigint, funding_txo: bigint, monitor: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3939,7 +3967,7 @@ export function Watch_watch_channel(this_arg: number, funding_txo: number, monit
 }
        // LDKCResult_NoneChannelMonitorUpdateErrZ Watch_update_channel LDKWatch *NONNULL_PTR this_arg, struct LDKOutPoint funding_txo, struct LDKChannelMonitorUpdate update
 /* @internal */
-export function Watch_update_channel(this_arg: number, funding_txo: number, update: number): number {
+export function Watch_update_channel(this_arg: bigint, funding_txo: bigint, update: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3948,7 +3976,7 @@ export function Watch_update_channel(this_arg: number, funding_txo: number, upda
 }
        // LDKCVec_C3Tuple_OutPointCVec_MonitorEventZPublicKeyZZ Watch_release_pending_monitor_events LDKWatch *NONNULL_PTR this_arg
 /* @internal */
-export function Watch_release_pending_monitor_events(this_arg: number): number {
+export function Watch_release_pending_monitor_events(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3961,7 +3989,7 @@ export interface LDKBroadcasterInterface {
 }
 
 /* @internal */
-export function LDKBroadcasterInterface_new(impl: LDKBroadcasterInterface): number {
+export function LDKBroadcasterInterface_new(impl: LDKBroadcasterInterface): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3974,7 +4002,7 @@ export function LDKBroadcasterInterface_new(impl: LDKBroadcasterInterface): numb
 }
        // void BroadcasterInterface_broadcast_transaction LDKBroadcasterInterface *NONNULL_PTR this_arg, struct LDKTransaction tx
 /* @internal */
-export function BroadcasterInterface_broadcast_transaction(this_arg: number, tx: number): void {
+export function BroadcasterInterface_broadcast_transaction(this_arg: bigint, tx: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -3983,18 +4011,18 @@ export function BroadcasterInterface_broadcast_transaction(this_arg: number, tx:
 }
 /* @internal */
 export interface LDKKeysInterface {
-       get_node_secret (recipient: Recipient): number;
+       get_node_secret (recipient: Recipient): bigint;
        get_destination_script (): number;
-       get_shutdown_scriptpubkey (): number;
-       get_channel_signer (inbound: boolean, channel_value_satoshis: bigint): number;
+       get_shutdown_scriptpubkey (): bigint;
+       get_channel_signer (inbound: boolean, channel_value_satoshis: bigint): bigint;
        get_secure_random_bytes (): number;
-       read_chan_signer (reader: number): number;
-       sign_invoice (hrp_bytes: number, invoice_data: number, receipient: Recipient): number;
+       read_chan_signer (reader: number): bigint;
+       sign_invoice (hrp_bytes: number, invoice_data: number, receipient: Recipient): bigint;
        get_inbound_payment_key_material (): number;
 }
 
 /* @internal */
-export function LDKKeysInterface_new(impl: LDKKeysInterface): number {
+export function LDKKeysInterface_new(impl: LDKKeysInterface): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4007,7 +4035,7 @@ export function LDKKeysInterface_new(impl: LDKKeysInterface): number {
 }
        // LDKCResult_SecretKeyNoneZ KeysInterface_get_node_secret LDKKeysInterface *NONNULL_PTR this_arg, enum LDKRecipient recipient
 /* @internal */
-export function KeysInterface_get_node_secret(this_arg: number, recipient: Recipient): number {
+export function KeysInterface_get_node_secret(this_arg: bigint, recipient: Recipient): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4016,7 +4044,7 @@ export function KeysInterface_get_node_secret(this_arg: number, recipient: Recip
 }
        // LDKCVec_u8Z KeysInterface_get_destination_script LDKKeysInterface *NONNULL_PTR this_arg
 /* @internal */
-export function KeysInterface_get_destination_script(this_arg: number): number {
+export function KeysInterface_get_destination_script(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4025,7 +4053,7 @@ export function KeysInterface_get_destination_script(this_arg: number): number {
 }
        // LDKShutdownScript KeysInterface_get_shutdown_scriptpubkey LDKKeysInterface *NONNULL_PTR this_arg
 /* @internal */
-export function KeysInterface_get_shutdown_scriptpubkey(this_arg: number): number {
+export function KeysInterface_get_shutdown_scriptpubkey(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4034,7 +4062,7 @@ export function KeysInterface_get_shutdown_scriptpubkey(this_arg: number): numbe
 }
        // LDKSign KeysInterface_get_channel_signer LDKKeysInterface *NONNULL_PTR this_arg, bool inbound, uint64_t channel_value_satoshis
 /* @internal */
-export function KeysInterface_get_channel_signer(this_arg: number, inbound: boolean, channel_value_satoshis: bigint): number {
+export function KeysInterface_get_channel_signer(this_arg: bigint, inbound: boolean, channel_value_satoshis: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4043,7 +4071,7 @@ export function KeysInterface_get_channel_signer(this_arg: number, inbound: bool
 }
        // LDKThirtyTwoBytes KeysInterface_get_secure_random_bytes LDKKeysInterface *NONNULL_PTR this_arg
 /* @internal */
-export function KeysInterface_get_secure_random_bytes(this_arg: number): number {
+export function KeysInterface_get_secure_random_bytes(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4052,7 +4080,7 @@ export function KeysInterface_get_secure_random_bytes(this_arg: number): number
 }
        // LDKCResult_SignDecodeErrorZ KeysInterface_read_chan_signer LDKKeysInterface *NONNULL_PTR this_arg, struct LDKu8slice reader
 /* @internal */
-export function KeysInterface_read_chan_signer(this_arg: number, reader: number): number {
+export function KeysInterface_read_chan_signer(this_arg: bigint, reader: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4061,7 +4089,7 @@ export function KeysInterface_read_chan_signer(this_arg: number, reader: number)
 }
        // LDKCResult_RecoverableSignatureNoneZ KeysInterface_sign_invoice LDKKeysInterface *NONNULL_PTR this_arg, struct LDKu8slice hrp_bytes, struct LDKCVec_u5Z invoice_data, enum LDKRecipient receipient
 /* @internal */
-export function KeysInterface_sign_invoice(this_arg: number, hrp_bytes: number, invoice_data: number, receipient: Recipient): number {
+export function KeysInterface_sign_invoice(this_arg: bigint, hrp_bytes: number, invoice_data: number, receipient: Recipient): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4070,7 +4098,7 @@ export function KeysInterface_sign_invoice(this_arg: number, hrp_bytes: number,
 }
        // LDKThirtyTwoBytes KeysInterface_get_inbound_payment_key_material LDKKeysInterface *NONNULL_PTR this_arg
 /* @internal */
-export function KeysInterface_get_inbound_payment_key_material(this_arg: number): number {
+export function KeysInterface_get_inbound_payment_key_material(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4083,7 +4111,7 @@ export interface LDKFeeEstimator {
 }
 
 /* @internal */
-export function LDKFeeEstimator_new(impl: LDKFeeEstimator): number {
+export function LDKFeeEstimator_new(impl: LDKFeeEstimator): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4096,7 +4124,7 @@ export function LDKFeeEstimator_new(impl: LDKFeeEstimator): number {
 }
        // uint32_t FeeEstimator_get_est_sat_per_1000_weight LDKFeeEstimator *NONNULL_PTR this_arg, enum LDKConfirmationTarget confirmation_target
 /* @internal */
-export function FeeEstimator_get_est_sat_per_1000_weight(this_arg: number, confirmation_target: ConfirmationTarget): number {
+export function FeeEstimator_get_est_sat_per_1000_weight(this_arg: bigint, confirmation_target: ConfirmationTarget): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4105,7 +4133,7 @@ export function FeeEstimator_get_est_sat_per_1000_weight(this_arg: number, confi
 }
        // struct LDKThirtyTwoBytes C2Tuple_BlockHashChannelManagerZ_get_a(LDKC2Tuple_BlockHashChannelManagerZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_BlockHashChannelManagerZ_get_a(owner: number): number {
+export function C2Tuple_BlockHashChannelManagerZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4114,7 +4142,7 @@ export function C2Tuple_BlockHashChannelManagerZ_get_a(owner: number): number {
 }
        // struct LDKChannelManager *C2Tuple_BlockHashChannelManagerZ_get_b(LDKC2Tuple_BlockHashChannelManagerZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_BlockHashChannelManagerZ_get_b(owner: number): number {
+export function C2Tuple_BlockHashChannelManagerZ_get_b(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4123,7 +4151,7 @@ export function C2Tuple_BlockHashChannelManagerZ_get_b(owner: number): number {
 }
        // struct LDKC2Tuple_BlockHashChannelManagerZ *CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_ok(LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4132,7 +4160,7 @@ export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_ok(owne
 }
        // struct LDKDecodeError CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_err(LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4141,7 +4169,7 @@ export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_get_err(own
 }
        // struct LDKChannelConfig CResult_ChannelConfigDecodeErrorZ_get_ok(LDKCResult_ChannelConfigDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelConfigDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4150,7 +4178,7 @@ export function CResult_ChannelConfigDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_ChannelConfigDecodeErrorZ_get_err(LDKCResult_ChannelConfigDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelConfigDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4159,7 +4187,7 @@ export function CResult_ChannelConfigDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKOutPoint CResult_OutPointDecodeErrorZ_get_ok(LDKCResult_OutPointDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_OutPointDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4168,7 +4196,7 @@ export function CResult_OutPointDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_OutPointDecodeErrorZ_get_err(LDKCResult_OutPointDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_get_err(owner: number): number {
+export function CResult_OutPointDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4183,7 +4211,7 @@ export interface LDKType {
 }
 
 /* @internal */
-export function LDKType_new(impl: LDKType): number {
+export function LDKType_new(impl: LDKType): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4196,7 +4224,7 @@ export function LDKType_new(impl: LDKType): number {
 }
        // uint16_t Type_type_id LDKType *NONNULL_PTR this_arg
 /* @internal */
-export function Type_type_id(this_arg: number): number {
+export function Type_type_id(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4205,7 +4233,7 @@ export function Type_type_id(this_arg: number): number {
 }
        // LDKStr Type_debug_str LDKType *NONNULL_PTR this_arg
 /* @internal */
-export function Type_debug_str(this_arg: number): number {
+export function Type_debug_str(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4214,7 +4242,7 @@ export function Type_debug_str(this_arg: number): number {
 }
        // LDKCVec_u8Z Type_write LDKType *NONNULL_PTR this_arg
 /* @internal */
-export function Type_write(this_arg: number): number {
+export function Type_write(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4226,7 +4254,7 @@ export class LDKCOption_TypeZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_TypeZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_TypeZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4234,7 +4262,7 @@ export function LDKCOption_TypeZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_TypeZ_Some_get_some(ptr: number): number {
+export function LDKCOption_TypeZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4243,7 +4271,7 @@ export function LDKCOption_TypeZ_Some_get_some(ptr: number): number {
 }
        // struct LDKCOption_TypeZ CResult_COption_TypeZDecodeErrorZ_get_ok(LDKCResult_COption_TypeZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_COption_TypeZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4252,7 +4280,7 @@ export function CResult_COption_TypeZDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_COption_TypeZDecodeErrorZ_get_err(LDKCResult_COption_TypeZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_COption_TypeZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4264,7 +4292,7 @@ export class LDKPaymentError {
        protected constructor() {}
 }
 /* @internal */
-export function LDKPaymentError_ty_from_ptr(ptr: number): number {
+export function LDKPaymentError_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4272,7 +4300,7 @@ export function LDKPaymentError_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentError_Invoice_get_invoice(ptr: number): number {
+export function LDKPaymentError_Invoice_get_invoice(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4280,7 +4308,7 @@ export function LDKPaymentError_Invoice_get_invoice(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentError_Routing_get_routing(ptr: number): number {
+export function LDKPaymentError_Routing_get_routing(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4288,7 +4316,7 @@ export function LDKPaymentError_Routing_get_routing(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKPaymentError_Sending_get_sending(ptr: number): number {
+export function LDKPaymentError_Sending_get_sending(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4297,7 +4325,7 @@ export function LDKPaymentError_Sending_get_sending(ptr: number): number {
 }
        // struct LDKThirtyTwoBytes CResult_PaymentIdPaymentErrorZ_get_ok(LDKCResult_PaymentIdPaymentErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_get_ok(owner: number): number {
+export function CResult_PaymentIdPaymentErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4306,7 +4334,7 @@ export function CResult_PaymentIdPaymentErrorZ_get_ok(owner: number): number {
 }
        // struct LDKPaymentError CResult_PaymentIdPaymentErrorZ_get_err(LDKCResult_PaymentIdPaymentErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_get_err(owner: number): number {
+export function CResult_PaymentIdPaymentErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4318,7 +4346,7 @@ export class LDKParseError {
        protected constructor() {}
 }
 /* @internal */
-export function LDKParseError_ty_from_ptr(ptr: number): number {
+export function LDKParseError_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4326,7 +4354,7 @@ export function LDKParseError_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseError_Bech32Error_get_bech32_error(ptr: number): number {
+export function LDKParseError_Bech32Error_get_bech32_error(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4334,7 +4362,7 @@ export function LDKParseError_Bech32Error_get_bech32_error(ptr: number): number
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseError_ParseAmountError_get_parse_amount_error(ptr: number): number {
+export function LDKParseError_ParseAmountError_get_parse_amount_error(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4342,7 +4370,7 @@ export function LDKParseError_ParseAmountError_get_parse_amount_error(ptr: numbe
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseError_MalformedSignature_get_malformed_signature(ptr: number): Secp256k1Error {
+export function LDKParseError_MalformedSignature_get_malformed_signature(ptr: bigint): Secp256k1Error {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4350,7 +4378,7 @@ export function LDKParseError_MalformedSignature_get_malformed_signature(ptr: nu
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseError_DescriptionDecodeError_get_description_decode_error(ptr: number): number {
+export function LDKParseError_DescriptionDecodeError_get_description_decode_error(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4358,7 +4386,7 @@ export function LDKParseError_DescriptionDecodeError_get_description_decode_erro
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseError_InvalidSliceLength_get_invalid_slice_length(ptr: number): number {
+export function LDKParseError_InvalidSliceLength_get_invalid_slice_length(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4367,7 +4395,7 @@ export function LDKParseError_InvalidSliceLength_get_invalid_slice_length(ptr: n
 }
        // enum LDKSiPrefix CResult_SiPrefixParseErrorZ_get_ok(LDKCResult_SiPrefixParseErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_get_ok(owner: number): SiPrefix {
+export function CResult_SiPrefixParseErrorZ_get_ok(owner: bigint): SiPrefix {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4376,7 +4404,7 @@ export function CResult_SiPrefixParseErrorZ_get_ok(owner: number): SiPrefix {
 }
        // struct LDKParseError CResult_SiPrefixParseErrorZ_get_err(LDKCResult_SiPrefixParseErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_get_err(owner: number): number {
+export function CResult_SiPrefixParseErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4388,7 +4416,7 @@ export class LDKParseOrSemanticError {
        protected constructor() {}
 }
 /* @internal */
-export function LDKParseOrSemanticError_ty_from_ptr(ptr: number): number {
+export function LDKParseOrSemanticError_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4396,7 +4424,7 @@ export function LDKParseOrSemanticError_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseOrSemanticError_ParseError_get_parse_error(ptr: number): number {
+export function LDKParseOrSemanticError_ParseError_get_parse_error(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4404,7 +4432,7 @@ export function LDKParseOrSemanticError_ParseError_get_parse_error(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKParseOrSemanticError_SemanticError_get_semantic_error(ptr: number): SemanticError {
+export function LDKParseOrSemanticError_SemanticError_get_semantic_error(ptr: bigint): SemanticError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4413,7 +4441,7 @@ export function LDKParseOrSemanticError_SemanticError_get_semantic_error(ptr: nu
 }
        // struct LDKInvoice CResult_InvoiceParseOrSemanticErrorZ_get_ok(LDKCResult_InvoiceParseOrSemanticErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_get_ok(owner: number): number {
+export function CResult_InvoiceParseOrSemanticErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4422,7 +4450,7 @@ export function CResult_InvoiceParseOrSemanticErrorZ_get_ok(owner: number): numb
 }
        // struct LDKParseOrSemanticError CResult_InvoiceParseOrSemanticErrorZ_get_err(LDKCResult_InvoiceParseOrSemanticErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_get_err(owner: number): number {
+export function CResult_InvoiceParseOrSemanticErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4431,7 +4459,7 @@ export function CResult_InvoiceParseOrSemanticErrorZ_get_err(owner: number): num
 }
        // struct LDKSignedRawInvoice CResult_SignedRawInvoiceParseErrorZ_get_ok(LDKCResult_SignedRawInvoiceParseErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_get_ok(owner: number): number {
+export function CResult_SignedRawInvoiceParseErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4440,7 +4468,7 @@ export function CResult_SignedRawInvoiceParseErrorZ_get_ok(owner: number): numbe
 }
        // struct LDKParseError CResult_SignedRawInvoiceParseErrorZ_get_err(LDKCResult_SignedRawInvoiceParseErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_get_err(owner: number): number {
+export function CResult_SignedRawInvoiceParseErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4449,7 +4477,7 @@ export function CResult_SignedRawInvoiceParseErrorZ_get_err(owner: number): numb
 }
        // struct LDKRawInvoice C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_a(LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_a(owner: number): number {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_a(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4458,7 +4486,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_a(owner: number): n
 }
        // struct LDKThirtyTwoBytes C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_b(LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_b(owner: number): number {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4467,7 +4495,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_b(owner: number): n
 }
        // struct LDKInvoiceSignature C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_c(LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ *NONNULL_PTR owner);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_c(owner: number): number {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_c(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4476,7 +4504,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_get_c(owner: number): n
 }
        // struct LDKPayeePubKey CResult_PayeePubKeyErrorZ_get_ok(LDKCResult_PayeePubKeyErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_get_ok(owner: number): number {
+export function CResult_PayeePubKeyErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4485,7 +4513,7 @@ export function CResult_PayeePubKeyErrorZ_get_ok(owner: number): number {
 }
        // enum LDKSecp256k1Error CResult_PayeePubKeyErrorZ_get_err(LDKCResult_PayeePubKeyErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_get_err(owner: number): Secp256k1Error {
+export function CResult_PayeePubKeyErrorZ_get_err(owner: bigint): Secp256k1Error {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4494,7 +4522,7 @@ export function CResult_PayeePubKeyErrorZ_get_err(owner: number): Secp256k1Error
 }
        // struct LDKPositiveTimestamp CResult_PositiveTimestampCreationErrorZ_get_ok(LDKCResult_PositiveTimestampCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_get_ok(owner: number): number {
+export function CResult_PositiveTimestampCreationErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4503,7 +4531,7 @@ export function CResult_PositiveTimestampCreationErrorZ_get_ok(owner: number): n
 }
        // enum LDKCreationError CResult_PositiveTimestampCreationErrorZ_get_err(LDKCResult_PositiveTimestampCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_get_err(owner: number): CreationError {
+export function CResult_PositiveTimestampCreationErrorZ_get_err(owner: bigint): CreationError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4512,7 +4540,7 @@ export function CResult_PositiveTimestampCreationErrorZ_get_err(owner: number):
 }
        // void CResult_NoneSemanticErrorZ_get_ok(LDKCResult_NoneSemanticErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_get_ok(owner: number): void {
+export function CResult_NoneSemanticErrorZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4521,7 +4549,7 @@ export function CResult_NoneSemanticErrorZ_get_ok(owner: number): void {
 }
        // enum LDKSemanticError CResult_NoneSemanticErrorZ_get_err(LDKCResult_NoneSemanticErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_get_err(owner: number): SemanticError {
+export function CResult_NoneSemanticErrorZ_get_err(owner: bigint): SemanticError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4530,7 +4558,7 @@ export function CResult_NoneSemanticErrorZ_get_err(owner: number): SemanticError
 }
        // struct LDKInvoice CResult_InvoiceSemanticErrorZ_get_ok(LDKCResult_InvoiceSemanticErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_get_ok(owner: number): number {
+export function CResult_InvoiceSemanticErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4539,7 +4567,7 @@ export function CResult_InvoiceSemanticErrorZ_get_ok(owner: number): number {
 }
        // enum LDKSemanticError CResult_InvoiceSemanticErrorZ_get_err(LDKCResult_InvoiceSemanticErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_get_err(owner: number): SemanticError {
+export function CResult_InvoiceSemanticErrorZ_get_err(owner: bigint): SemanticError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4548,7 +4576,7 @@ export function CResult_InvoiceSemanticErrorZ_get_err(owner: number): SemanticEr
 }
        // struct LDKDescription CResult_DescriptionCreationErrorZ_get_ok(LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_get_ok(owner: number): number {
+export function CResult_DescriptionCreationErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4557,7 +4585,7 @@ export function CResult_DescriptionCreationErrorZ_get_ok(owner: number): number
 }
        // enum LDKCreationError CResult_DescriptionCreationErrorZ_get_err(LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_get_err(owner: number): CreationError {
+export function CResult_DescriptionCreationErrorZ_get_err(owner: bigint): CreationError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4566,7 +4594,7 @@ export function CResult_DescriptionCreationErrorZ_get_err(owner: number): Creati
 }
        // struct LDKPrivateRoute CResult_PrivateRouteCreationErrorZ_get_ok(LDKCResult_PrivateRouteCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_get_ok(owner: number): number {
+export function CResult_PrivateRouteCreationErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4575,7 +4603,7 @@ export function CResult_PrivateRouteCreationErrorZ_get_ok(owner: number): number
 }
        // enum LDKCreationError CResult_PrivateRouteCreationErrorZ_get_err(LDKCResult_PrivateRouteCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_get_err(owner: number): CreationError {
+export function CResult_PrivateRouteCreationErrorZ_get_err(owner: bigint): CreationError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4584,7 +4612,7 @@ export function CResult_PrivateRouteCreationErrorZ_get_err(owner: number): Creat
 }
        // struct LDKStr CResult_StringErrorZ_get_ok(LDKCResult_StringErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_StringErrorZ_get_ok(owner: number): number {
+export function CResult_StringErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4593,7 +4621,7 @@ export function CResult_StringErrorZ_get_ok(owner: number): number {
 }
        // enum LDKSecp256k1Error CResult_StringErrorZ_get_err(LDKCResult_StringErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_StringErrorZ_get_err(owner: number): Secp256k1Error {
+export function CResult_StringErrorZ_get_err(owner: bigint): Secp256k1Error {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4602,7 +4630,7 @@ export function CResult_StringErrorZ_get_err(owner: number): Secp256k1Error {
 }
        // struct LDKChannelMonitorUpdate CResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(LDKCResult_ChannelMonitorUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4611,7 +4639,7 @@ export function CResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_ChannelMonitorUpdateDecodeErrorZ_get_err(LDKCResult_ChannelMonitorUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4623,7 +4651,7 @@ export class LDKCOption_MonitorEventZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_MonitorEventZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_MonitorEventZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4631,7 +4659,7 @@ export function LDKCOption_MonitorEventZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_MonitorEventZ_Some_get_some(ptr: number): number {
+export function LDKCOption_MonitorEventZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4640,7 +4668,7 @@ export function LDKCOption_MonitorEventZ_Some_get_some(ptr: number): number {
 }
        // struct LDKCOption_MonitorEventZ CResult_COption_MonitorEventZDecodeErrorZ_get_ok(LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_COption_MonitorEventZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4649,7 +4677,7 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_COption_MonitorEventZDecodeErrorZ_get_err(LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_COption_MonitorEventZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4658,7 +4686,7 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_get_err(owner: number)
 }
        // struct LDKHTLCUpdate CResult_HTLCUpdateDecodeErrorZ_get_ok(LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_HTLCUpdateDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4667,7 +4695,7 @@ export function CResult_HTLCUpdateDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_HTLCUpdateDecodeErrorZ_get_err(LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_get_err(owner: number): number {
+export function CResult_HTLCUpdateDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4676,7 +4704,7 @@ export function CResult_HTLCUpdateDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKOutPoint C2Tuple_OutPointScriptZ_get_a(LDKC2Tuple_OutPointScriptZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_OutPointScriptZ_get_a(owner: number): number {
+export function C2Tuple_OutPointScriptZ_get_a(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4685,7 +4713,7 @@ export function C2Tuple_OutPointScriptZ_get_a(owner: number): number {
 }
        // struct LDKCVec_u8Z C2Tuple_OutPointScriptZ_get_b(LDKC2Tuple_OutPointScriptZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_OutPointScriptZ_get_b(owner: number): number {
+export function C2Tuple_OutPointScriptZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4694,7 +4722,7 @@ export function C2Tuple_OutPointScriptZ_get_b(owner: number): number {
 }
        // uint32_t C2Tuple_u32ScriptZ_get_a(LDKC2Tuple_u32ScriptZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_u32ScriptZ_get_a(owner: number): number {
+export function C2Tuple_u32ScriptZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4703,7 +4731,7 @@ export function C2Tuple_u32ScriptZ_get_a(owner: number): number {
 }
        // struct LDKCVec_u8Z C2Tuple_u32ScriptZ_get_b(LDKC2Tuple_u32ScriptZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_u32ScriptZ_get_b(owner: number): number {
+export function C2Tuple_u32ScriptZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4712,7 +4740,7 @@ export function C2Tuple_u32ScriptZ_get_b(owner: number): number {
 }
        // struct LDKThirtyTwoBytes C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_a(LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_a(owner: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4721,7 +4749,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_a(owner: number): numb
 }
        // struct LDKCVec_C2Tuple_u32ScriptZZ C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_b(LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_b(owner: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4730,7 +4758,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_b(owner: number): numb
 }
        // uint32_t C2Tuple_u32TxOutZ_get_a(LDKC2Tuple_u32TxOutZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_u32TxOutZ_get_a(owner: number): number {
+export function C2Tuple_u32TxOutZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4739,7 +4767,7 @@ export function C2Tuple_u32TxOutZ_get_a(owner: number): number {
 }
        // struct LDKTxOut C2Tuple_u32TxOutZ_get_b(LDKC2Tuple_u32TxOutZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_u32TxOutZ_get_b(owner: number): number {
+export function C2Tuple_u32TxOutZ_get_b(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4748,7 +4776,7 @@ export function C2Tuple_u32TxOutZ_get_b(owner: number): number {
 }
        // struct LDKThirtyTwoBytes C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(owner: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4757,7 +4785,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(owner: number): numbe
 }
        // struct LDKCVec_C2Tuple_u32TxOutZZ C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_b(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_b(owner: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_b(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4769,7 +4797,7 @@ export class LDKBalance {
        protected constructor() {}
 }
 /* @internal */
-export function LDKBalance_ty_from_ptr(ptr: number): number {
+export function LDKBalance_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4777,7 +4805,7 @@ export function LDKBalance_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_ClaimableOnChannelClose_get_claimable_amount_satoshis(ptr: number): bigint {
+export function LDKBalance_ClaimableOnChannelClose_get_claimable_amount_satoshis(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4785,7 +4813,7 @@ export function LDKBalance_ClaimableOnChannelClose_get_claimable_amount_satoshis
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_ClaimableAwaitingConfirmations_get_claimable_amount_satoshis(ptr: number): bigint {
+export function LDKBalance_ClaimableAwaitingConfirmations_get_claimable_amount_satoshis(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4793,7 +4821,7 @@ export function LDKBalance_ClaimableAwaitingConfirmations_get_claimable_amount_s
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_ClaimableAwaitingConfirmations_get_confirmation_height(ptr: number): number {
+export function LDKBalance_ClaimableAwaitingConfirmations_get_confirmation_height(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4801,7 +4829,7 @@ export function LDKBalance_ClaimableAwaitingConfirmations_get_confirmation_heigh
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_ContentiousClaimable_get_claimable_amount_satoshis(ptr: number): bigint {
+export function LDKBalance_ContentiousClaimable_get_claimable_amount_satoshis(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4809,7 +4837,7 @@ export function LDKBalance_ContentiousClaimable_get_claimable_amount_satoshis(pt
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_ContentiousClaimable_get_timeout_height(ptr: number): number {
+export function LDKBalance_ContentiousClaimable_get_timeout_height(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4817,7 +4845,7 @@ export function LDKBalance_ContentiousClaimable_get_timeout_height(ptr: number):
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_MaybeClaimableHTLCAwaitingTimeout_get_claimable_amount_satoshis(ptr: number): bigint {
+export function LDKBalance_MaybeClaimableHTLCAwaitingTimeout_get_claimable_amount_satoshis(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4825,7 +4853,7 @@ export function LDKBalance_MaybeClaimableHTLCAwaitingTimeout_get_claimable_amoun
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKBalance_MaybeClaimableHTLCAwaitingTimeout_get_claimable_height(ptr: number): number {
+export function LDKBalance_MaybeClaimableHTLCAwaitingTimeout_get_claimable_height(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4834,7 +4862,7 @@ export function LDKBalance_MaybeClaimableHTLCAwaitingTimeout_get_claimable_heigh
 }
        // struct LDKThirtyTwoBytes C2Tuple_BlockHashChannelMonitorZ_get_a(LDKC2Tuple_BlockHashChannelMonitorZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_get_a(owner: number): number {
+export function C2Tuple_BlockHashChannelMonitorZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4843,7 +4871,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_get_a(owner: number): number {
 }
        // struct LDKChannelMonitor C2Tuple_BlockHashChannelMonitorZ_get_b(LDKC2Tuple_BlockHashChannelMonitorZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_get_b(owner: number): number {
+export function C2Tuple_BlockHashChannelMonitorZ_get_b(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4852,7 +4880,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_get_b(owner: number): number {
 }
        // struct LDKC2Tuple_BlockHashChannelMonitorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4861,7 +4889,7 @@ export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(owne
 }
        // struct LDKDecodeError CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(owner: number): number {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4870,7 +4898,7 @@ export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(own
 }
        // struct LDKPublicKey C2Tuple_PublicKeyTypeZ_get_a(LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_PublicKeyTypeZ_get_a(owner: number): number {
+export function C2Tuple_PublicKeyTypeZ_get_a(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4879,7 +4907,7 @@ export function C2Tuple_PublicKeyTypeZ_get_a(owner: number): number {
 }
        // struct LDKType C2Tuple_PublicKeyTypeZ_get_b(LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR owner);
 /* @internal */
-export function C2Tuple_PublicKeyTypeZ_get_b(owner: number): number {
+export function C2Tuple_PublicKeyTypeZ_get_b(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4891,7 +4919,7 @@ export class LDKCOption_NetAddressZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_NetAddressZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_NetAddressZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4899,7 +4927,7 @@ export function LDKCOption_NetAddressZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_NetAddressZ_Some_get_some(ptr: number): number {
+export function LDKCOption_NetAddressZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4908,7 +4936,7 @@ export function LDKCOption_NetAddressZ_Some_get_some(ptr: number): number {
 }
        // struct LDKCVec_u8Z CResult_CVec_u8ZPeerHandleErrorZ_get_ok(LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_get_ok(owner: number): number {
+export function CResult_CVec_u8ZPeerHandleErrorZ_get_ok(owner: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4917,7 +4945,7 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_get_ok(owner: number): number {
 }
        // struct LDKPeerHandleError CResult_CVec_u8ZPeerHandleErrorZ_get_err(LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_get_err(owner: number): number {
+export function CResult_CVec_u8ZPeerHandleErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4926,7 +4954,7 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_get_err(owner: number): number
 }
        // void CResult_NonePeerHandleErrorZ_get_ok(LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_get_ok(owner: number): void {
+export function CResult_NonePeerHandleErrorZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4935,7 +4963,7 @@ export function CResult_NonePeerHandleErrorZ_get_ok(owner: number): void {
 }
        // struct LDKPeerHandleError CResult_NonePeerHandleErrorZ_get_err(LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_get_err(owner: number): number {
+export function CResult_NonePeerHandleErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4944,7 +4972,7 @@ export function CResult_NonePeerHandleErrorZ_get_err(owner: number): number {
 }
        // bool CResult_boolPeerHandleErrorZ_get_ok(LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_get_ok(owner: number): boolean {
+export function CResult_boolPeerHandleErrorZ_get_ok(owner: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4953,7 +4981,7 @@ export function CResult_boolPeerHandleErrorZ_get_ok(owner: number): boolean {
 }
        // struct LDKPeerHandleError CResult_boolPeerHandleErrorZ_get_err(LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_get_err(owner: number): number {
+export function CResult_boolPeerHandleErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4962,7 +4990,7 @@ export function CResult_boolPeerHandleErrorZ_get_err(owner: number): number {
 }
        // void CResult_NoneErrorZ_get_ok(LDKCResult_NoneErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneErrorZ_get_ok(owner: number): void {
+export function CResult_NoneErrorZ_get_ok(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4971,7 +4999,7 @@ export function CResult_NoneErrorZ_get_ok(owner: number): void {
 }
        // enum LDKIOError CResult_NoneErrorZ_get_err(LDKCResult_NoneErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NoneErrorZ_get_err(owner: number): IOError {
+export function CResult_NoneErrorZ_get_err(owner: bigint): IOError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4980,7 +5008,7 @@ export function CResult_NoneErrorZ_get_err(owner: number): IOError {
 }
        // struct LDKNetAddress CResult_NetAddressDecodeErrorZ_get_ok(LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NetAddressDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4989,7 +5017,7 @@ export function CResult_NetAddressDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_NetAddressDecodeErrorZ_get_err(LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NetAddressDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -4998,7 +5026,7 @@ export function CResult_NetAddressDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKAcceptChannel CResult_AcceptChannelDecodeErrorZ_get_ok(LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_AcceptChannelDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5007,7 +5035,7 @@ export function CResult_AcceptChannelDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_AcceptChannelDecodeErrorZ_get_err(LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_get_err(owner: number): number {
+export function CResult_AcceptChannelDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5016,7 +5044,7 @@ export function CResult_AcceptChannelDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKAnnouncementSignatures CResult_AnnouncementSignaturesDecodeErrorZ_get_ok(LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5025,7 +5053,7 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_get_ok(owner: number)
 }
        // struct LDKDecodeError CResult_AnnouncementSignaturesDecodeErrorZ_get_err(LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_get_err(owner: number): number {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5034,7 +5062,7 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_get_err(owner: number
 }
        // struct LDKChannelReestablish CResult_ChannelReestablishDecodeErrorZ_get_ok(LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelReestablishDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5043,7 +5071,7 @@ export function CResult_ChannelReestablishDecodeErrorZ_get_ok(owner: number): nu
 }
        // struct LDKDecodeError CResult_ChannelReestablishDecodeErrorZ_get_err(LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelReestablishDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5052,7 +5080,7 @@ export function CResult_ChannelReestablishDecodeErrorZ_get_err(owner: number): n
 }
        // struct LDKClosingSigned CResult_ClosingSignedDecodeErrorZ_get_ok(LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ClosingSignedDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5061,7 +5089,7 @@ export function CResult_ClosingSignedDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_ClosingSignedDecodeErrorZ_get_err(LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ClosingSignedDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5070,7 +5098,7 @@ export function CResult_ClosingSignedDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKClosingSignedFeeRange CResult_ClosingSignedFeeRangeDecodeErrorZ_get_ok(LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5079,7 +5107,7 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_ClosingSignedFeeRangeDecodeErrorZ_get_err(LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5088,7 +5116,7 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_get_err(owner: number)
 }
        // struct LDKCommitmentSigned CResult_CommitmentSignedDecodeErrorZ_get_ok(LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_CommitmentSignedDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5097,7 +5125,7 @@ export function CResult_CommitmentSignedDecodeErrorZ_get_ok(owner: number): numb
 }
        // struct LDKDecodeError CResult_CommitmentSignedDecodeErrorZ_get_err(LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_get_err(owner: number): number {
+export function CResult_CommitmentSignedDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5106,7 +5134,7 @@ export function CResult_CommitmentSignedDecodeErrorZ_get_err(owner: number): num
 }
        // struct LDKFundingCreated CResult_FundingCreatedDecodeErrorZ_get_ok(LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_FundingCreatedDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5115,7 +5143,7 @@ export function CResult_FundingCreatedDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_FundingCreatedDecodeErrorZ_get_err(LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_get_err(owner: number): number {
+export function CResult_FundingCreatedDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5124,7 +5152,7 @@ export function CResult_FundingCreatedDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKFundingSigned CResult_FundingSignedDecodeErrorZ_get_ok(LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_FundingSignedDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5133,7 +5161,7 @@ export function CResult_FundingSignedDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_FundingSignedDecodeErrorZ_get_err(LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_get_err(owner: number): number {
+export function CResult_FundingSignedDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5142,7 +5170,7 @@ export function CResult_FundingSignedDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKChannelReady CResult_ChannelReadyDecodeErrorZ_get_ok(LDKCResult_ChannelReadyDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelReadyDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5151,7 +5179,7 @@ export function CResult_ChannelReadyDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_ChannelReadyDecodeErrorZ_get_err(LDKCResult_ChannelReadyDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelReadyDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5160,7 +5188,7 @@ export function CResult_ChannelReadyDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKInit CResult_InitDecodeErrorZ_get_ok(LDKCResult_InitDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InitDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_InitDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5169,7 +5197,7 @@ export function CResult_InitDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_InitDecodeErrorZ_get_err(LDKCResult_InitDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InitDecodeErrorZ_get_err(owner: number): number {
+export function CResult_InitDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5178,7 +5206,7 @@ export function CResult_InitDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKOpenChannel CResult_OpenChannelDecodeErrorZ_get_ok(LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_OpenChannelDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5187,7 +5215,7 @@ export function CResult_OpenChannelDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_OpenChannelDecodeErrorZ_get_err(LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_get_err(owner: number): number {
+export function CResult_OpenChannelDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5196,7 +5224,7 @@ export function CResult_OpenChannelDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKRevokeAndACK CResult_RevokeAndACKDecodeErrorZ_get_ok(LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_RevokeAndACKDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5205,7 +5233,7 @@ export function CResult_RevokeAndACKDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_RevokeAndACKDecodeErrorZ_get_err(LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_get_err(owner: number): number {
+export function CResult_RevokeAndACKDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5214,7 +5242,7 @@ export function CResult_RevokeAndACKDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKShutdown CResult_ShutdownDecodeErrorZ_get_ok(LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ShutdownDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5223,7 +5251,7 @@ export function CResult_ShutdownDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_ShutdownDecodeErrorZ_get_err(LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ShutdownDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5232,7 +5260,7 @@ export function CResult_ShutdownDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKUpdateFailHTLC CResult_UpdateFailHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UpdateFailHTLCDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5241,7 +5269,7 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_UpdateFailHTLCDecodeErrorZ_get_err(LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UpdateFailHTLCDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5250,7 +5278,7 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKUpdateFailMalformedHTLC CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5259,7 +5287,7 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(owner: number
 }
        // struct LDKDecodeError CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5268,7 +5296,7 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(owner: numbe
 }
        // struct LDKUpdateFee CResult_UpdateFeeDecodeErrorZ_get_ok(LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UpdateFeeDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5277,7 +5305,7 @@ export function CResult_UpdateFeeDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_UpdateFeeDecodeErrorZ_get_err(LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UpdateFeeDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5286,7 +5314,7 @@ export function CResult_UpdateFeeDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKUpdateFulfillHTLC CResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5295,7 +5323,7 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_UpdateFulfillHTLCDecodeErrorZ_get_err(LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5304,7 +5332,7 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_get_err(owner: number): nu
 }
        // struct LDKUpdateAddHTLC CResult_UpdateAddHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UpdateAddHTLCDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5313,7 +5341,7 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_UpdateAddHTLCDecodeErrorZ_get_err(LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UpdateAddHTLCDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5322,7 +5350,7 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKPing CResult_PingDecodeErrorZ_get_ok(LDKCResult_PingDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PingDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_PingDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5331,7 +5359,7 @@ export function CResult_PingDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_PingDecodeErrorZ_get_err(LDKCResult_PingDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PingDecodeErrorZ_get_err(owner: number): number {
+export function CResult_PingDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5340,7 +5368,7 @@ export function CResult_PingDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKPong CResult_PongDecodeErrorZ_get_ok(LDKCResult_PongDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PongDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_PongDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5349,7 +5377,7 @@ export function CResult_PongDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_PongDecodeErrorZ_get_err(LDKCResult_PongDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_PongDecodeErrorZ_get_err(owner: number): number {
+export function CResult_PongDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5358,7 +5386,7 @@ export function CResult_PongDecodeErrorZ_get_err(owner: number): number {
 }
        // struct LDKUnsignedChannelAnnouncement CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5367,7 +5395,7 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(owner: nu
 }
        // struct LDKDecodeError CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5376,7 +5404,7 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(owner: n
 }
        // struct LDKChannelAnnouncement CResult_ChannelAnnouncementDecodeErrorZ_get_ok(LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelAnnouncementDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5385,7 +5413,7 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_get_ok(owner: number): n
 }
        // struct LDKDecodeError CResult_ChannelAnnouncementDecodeErrorZ_get_err(LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelAnnouncementDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5394,7 +5422,7 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_get_err(owner: number):
 }
        // struct LDKUnsignedChannelUpdate CResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5403,7 +5431,7 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_UnsignedChannelUpdateDecodeErrorZ_get_err(LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5412,7 +5440,7 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_get_err(owner: number)
 }
        // struct LDKChannelUpdate CResult_ChannelUpdateDecodeErrorZ_get_ok(LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ChannelUpdateDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5421,7 +5449,7 @@ export function CResult_ChannelUpdateDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_ChannelUpdateDecodeErrorZ_get_err(LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ChannelUpdateDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5430,7 +5458,7 @@ export function CResult_ChannelUpdateDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKErrorMessage CResult_ErrorMessageDecodeErrorZ_get_ok(LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ErrorMessageDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5439,7 +5467,7 @@ export function CResult_ErrorMessageDecodeErrorZ_get_ok(owner: number): number {
 }
        // struct LDKDecodeError CResult_ErrorMessageDecodeErrorZ_get_err(LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ErrorMessageDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5448,7 +5476,7 @@ export function CResult_ErrorMessageDecodeErrorZ_get_err(owner: number): number
 }
        // struct LDKWarningMessage CResult_WarningMessageDecodeErrorZ_get_ok(LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_WarningMessageDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5457,7 +5485,7 @@ export function CResult_WarningMessageDecodeErrorZ_get_ok(owner: number): number
 }
        // struct LDKDecodeError CResult_WarningMessageDecodeErrorZ_get_err(LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_get_err(owner: number): number {
+export function CResult_WarningMessageDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5466,7 +5494,7 @@ export function CResult_WarningMessageDecodeErrorZ_get_err(owner: number): numbe
 }
        // struct LDKUnsignedNodeAnnouncement CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5475,7 +5503,7 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(owner: numbe
 }
        // struct LDKDecodeError CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(owner: number): number {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5484,7 +5512,7 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(owner: numb
 }
        // struct LDKNodeAnnouncement CResult_NodeAnnouncementDecodeErrorZ_get_ok(LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_NodeAnnouncementDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5493,7 +5521,7 @@ export function CResult_NodeAnnouncementDecodeErrorZ_get_ok(owner: number): numb
 }
        // struct LDKDecodeError CResult_NodeAnnouncementDecodeErrorZ_get_err(LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_get_err(owner: number): number {
+export function CResult_NodeAnnouncementDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5502,7 +5530,7 @@ export function CResult_NodeAnnouncementDecodeErrorZ_get_err(owner: number): num
 }
        // struct LDKQueryShortChannelIds CResult_QueryShortChannelIdsDecodeErrorZ_get_ok(LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5511,7 +5539,7 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_QueryShortChannelIdsDecodeErrorZ_get_err(LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_get_err(owner: number): number {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5520,7 +5548,7 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_get_err(owner: number):
 }
        // struct LDKReplyShortChannelIdsEnd CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5529,7 +5557,7 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(owner: number
 }
        // struct LDKDecodeError CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5538,7 +5566,7 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(owner: numbe
 }
        // struct LDKQueryChannelRange CResult_QueryChannelRangeDecodeErrorZ_get_ok(LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_QueryChannelRangeDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5547,7 +5575,7 @@ export function CResult_QueryChannelRangeDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_QueryChannelRangeDecodeErrorZ_get_err(LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_get_err(owner: number): number {
+export function CResult_QueryChannelRangeDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5556,7 +5584,7 @@ export function CResult_QueryChannelRangeDecodeErrorZ_get_err(owner: number): nu
 }
        // struct LDKReplyChannelRange CResult_ReplyChannelRangeDecodeErrorZ_get_ok(LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_ReplyChannelRangeDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5565,7 +5593,7 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_get_ok(owner: number): num
 }
        // struct LDKDecodeError CResult_ReplyChannelRangeDecodeErrorZ_get_err(LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_get_err(owner: number): number {
+export function CResult_ReplyChannelRangeDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5574,7 +5602,7 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_get_err(owner: number): nu
 }
        // struct LDKGossipTimestampFilter CResult_GossipTimestampFilterDecodeErrorZ_get_ok(LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_get_ok(owner: number): number {
+export function CResult_GossipTimestampFilterDecodeErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5583,7 +5611,7 @@ export function CResult_GossipTimestampFilterDecodeErrorZ_get_ok(owner: number):
 }
        // struct LDKDecodeError CResult_GossipTimestampFilterDecodeErrorZ_get_err(LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_get_err(owner: number): number {
+export function CResult_GossipTimestampFilterDecodeErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5595,7 +5623,7 @@ export class LDKSignOrCreationError {
        protected constructor() {}
 }
 /* @internal */
-export function LDKSignOrCreationError_ty_from_ptr(ptr: number): number {
+export function LDKSignOrCreationError_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5603,7 +5631,7 @@ export function LDKSignOrCreationError_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKSignOrCreationError_CreationError_get_creation_error(ptr: number): CreationError {
+export function LDKSignOrCreationError_CreationError_get_creation_error(ptr: bigint): CreationError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5612,7 +5640,7 @@ export function LDKSignOrCreationError_CreationError_get_creation_error(ptr: num
 }
        // struct LDKInvoice CResult_InvoiceSignOrCreationErrorZ_get_ok(LDKCResult_InvoiceSignOrCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_get_ok(owner: number): number {
+export function CResult_InvoiceSignOrCreationErrorZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5621,7 +5649,7 @@ export function CResult_InvoiceSignOrCreationErrorZ_get_ok(owner: number): numbe
 }
        // struct LDKSignOrCreationError CResult_InvoiceSignOrCreationErrorZ_get_err(LDKCResult_InvoiceSignOrCreationErrorZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_get_err(owner: number): number {
+export function CResult_InvoiceSignOrCreationErrorZ_get_err(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5631,11 +5659,11 @@ export function CResult_InvoiceSignOrCreationErrorZ_get_err(owner: number): numb
 /* @internal */
 export interface LDKFilter {
        register_tx (txid: number, script_pubkey: number): void;
-       register_output (output: number): number;
+       register_output (output: bigint): bigint;
 }
 
 /* @internal */
-export function LDKFilter_new(impl: LDKFilter): number {
+export function LDKFilter_new(impl: LDKFilter): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5648,7 +5676,7 @@ export function LDKFilter_new(impl: LDKFilter): number {
 }
        // void Filter_register_tx LDKFilter *NONNULL_PTR this_arg, const uint8_t (*txid)[32], struct LDKu8slice script_pubkey
 /* @internal */
-export function Filter_register_tx(this_arg: number, txid: number, script_pubkey: number): void {
+export function Filter_register_tx(this_arg: bigint, txid: number, script_pubkey: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5657,7 +5685,7 @@ export function Filter_register_tx(this_arg: number, txid: number, script_pubkey
 }
        // LDKCOption_C2Tuple_usizeTransactionZZ Filter_register_output LDKFilter *NONNULL_PTR this_arg, struct LDKWatchedOutput output
 /* @internal */
-export function Filter_register_output(this_arg: number, output: number): number {
+export function Filter_register_output(this_arg: bigint, output: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5669,7 +5697,7 @@ export class LDKCOption_FilterZ {
        protected constructor() {}
 }
 /* @internal */
-export function LDKCOption_FilterZ_ty_from_ptr(ptr: number): number {
+export function LDKCOption_FilterZ_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5677,7 +5705,7 @@ export function LDKCOption_FilterZ_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKCOption_FilterZ_Some_get_some(ptr: number): number {
+export function LDKCOption_FilterZ_Some_get_some(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5686,7 +5714,7 @@ export function LDKCOption_FilterZ_Some_get_some(ptr: number): number {
 }
        // struct LDKLockedChannelMonitor *CResult_LockedChannelMonitorNoneZ_get_ok(LDKCResult_LockedChannelMonitorNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_LockedChannelMonitorNoneZ_get_ok(owner: number): number {
+export function CResult_LockedChannelMonitorNoneZ_get_ok(owner: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5695,7 +5723,7 @@ export function CResult_LockedChannelMonitorNoneZ_get_ok(owner: number): number
 }
        // void CResult_LockedChannelMonitorNoneZ_get_err(LDKCResult_LockedChannelMonitorNoneZ *NONNULL_PTR owner);
 /* @internal */
-export function CResult_LockedChannelMonitorNoneZ_get_err(owner: number): void {
+export function CResult_LockedChannelMonitorNoneZ_get_err(owner: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5708,7 +5736,7 @@ export interface LDKMessageSendEventsProvider {
 }
 
 /* @internal */
-export function LDKMessageSendEventsProvider_new(impl: LDKMessageSendEventsProvider): number {
+export function LDKMessageSendEventsProvider_new(impl: LDKMessageSendEventsProvider): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5721,7 +5749,7 @@ export function LDKMessageSendEventsProvider_new(impl: LDKMessageSendEventsProvi
 }
        // LDKCVec_MessageSendEventZ MessageSendEventsProvider_get_and_clear_pending_msg_events LDKMessageSendEventsProvider *NONNULL_PTR this_arg
 /* @internal */
-export function MessageSendEventsProvider_get_and_clear_pending_msg_events(this_arg: number): number {
+export function MessageSendEventsProvider_get_and_clear_pending_msg_events(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5730,11 +5758,11 @@ export function MessageSendEventsProvider_get_and_clear_pending_msg_events(this_
 }
 /* @internal */
 export interface LDKEventHandler {
-       handle_event (event: number): void;
+       handle_event (event: bigint): void;
 }
 
 /* @internal */
-export function LDKEventHandler_new(impl: LDKEventHandler): number {
+export function LDKEventHandler_new(impl: LDKEventHandler): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5747,7 +5775,7 @@ export function LDKEventHandler_new(impl: LDKEventHandler): number {
 }
        // void EventHandler_handle_event LDKEventHandler *NONNULL_PTR this_arg, const struct LDKEvent *NONNULL_PTR event
 /* @internal */
-export function EventHandler_handle_event(this_arg: number, event: number): void {
+export function EventHandler_handle_event(this_arg: bigint, event: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5756,11 +5784,11 @@ export function EventHandler_handle_event(this_arg: number, event: number): void
 }
 /* @internal */
 export interface LDKEventsProvider {
-       process_pending_events (handler: number): void;
+       process_pending_events (handler: bigint): void;
 }
 
 /* @internal */
-export function LDKEventsProvider_new(impl: LDKEventsProvider): number {
+export function LDKEventsProvider_new(impl: LDKEventsProvider): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5773,7 +5801,7 @@ export function LDKEventsProvider_new(impl: LDKEventsProvider): number {
 }
        // void EventsProvider_process_pending_events LDKEventsProvider *NONNULL_PTR this_arg, struct LDKEventHandler handler
 /* @internal */
-export function EventsProvider_process_pending_events(this_arg: number, handler: number): void {
+export function EventsProvider_process_pending_events(this_arg: bigint, handler: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5782,7 +5810,7 @@ export function EventsProvider_process_pending_events(this_arg: number, handler:
 }
 /* @internal */
 export interface LDKScore {
-       channel_penalty_msat (short_channel_id: bigint, source: number, target: number, usage: number): bigint;
+       channel_penalty_msat (short_channel_id: bigint, source: bigint, target: bigint, usage: bigint): bigint;
        payment_path_failed (path: number, short_channel_id: bigint): void;
        payment_path_successful (path: number): void;
        probe_failed (path: number, short_channel_id: bigint): void;
@@ -5791,7 +5819,7 @@ export interface LDKScore {
 }
 
 /* @internal */
-export function LDKScore_new(impl: LDKScore): number {
+export function LDKScore_new(impl: LDKScore): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5804,7 +5832,7 @@ export function LDKScore_new(impl: LDKScore): number {
 }
        // uint64_t Score_channel_penalty_msat LDKScore *NONNULL_PTR this_arg, uint64_t short_channel_id, const struct LDKNodeId *NONNULL_PTR source, const struct LDKNodeId *NONNULL_PTR target, struct LDKChannelUsage usage
 /* @internal */
-export function Score_channel_penalty_msat(this_arg: number, short_channel_id: bigint, source: number, target: number, usage: number): bigint {
+export function Score_channel_penalty_msat(this_arg: bigint, short_channel_id: bigint, source: bigint, target: bigint, usage: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5813,7 +5841,7 @@ export function Score_channel_penalty_msat(this_arg: number, short_channel_id: b
 }
        // void Score_payment_path_failed LDKScore *NONNULL_PTR this_arg, struct LDKCVec_RouteHopZ path, uint64_t short_channel_id
 /* @internal */
-export function Score_payment_path_failed(this_arg: number, path: number, short_channel_id: bigint): void {
+export function Score_payment_path_failed(this_arg: bigint, path: number, short_channel_id: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5822,7 +5850,7 @@ export function Score_payment_path_failed(this_arg: number, path: number, short_
 }
        // void Score_payment_path_successful LDKScore *NONNULL_PTR this_arg, struct LDKCVec_RouteHopZ path
 /* @internal */
-export function Score_payment_path_successful(this_arg: number, path: number): void {
+export function Score_payment_path_successful(this_arg: bigint, path: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5831,7 +5859,7 @@ export function Score_payment_path_successful(this_arg: number, path: number): v
 }
        // void Score_probe_failed LDKScore *NONNULL_PTR this_arg, struct LDKCVec_RouteHopZ path, uint64_t short_channel_id
 /* @internal */
-export function Score_probe_failed(this_arg: number, path: number, short_channel_id: bigint): void {
+export function Score_probe_failed(this_arg: bigint, path: number, short_channel_id: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5840,7 +5868,7 @@ export function Score_probe_failed(this_arg: number, path: number, short_channel
 }
        // void Score_probe_successful LDKScore *NONNULL_PTR this_arg, struct LDKCVec_RouteHopZ path
 /* @internal */
-export function Score_probe_successful(this_arg: number, path: number): void {
+export function Score_probe_successful(this_arg: bigint, path: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5849,7 +5877,7 @@ export function Score_probe_successful(this_arg: number, path: number): void {
 }
        // LDKCVec_u8Z Score_write LDKScore *NONNULL_PTR this_arg
 /* @internal */
-export function Score_write(this_arg: number): number {
+export function Score_write(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5858,13 +5886,13 @@ export function Score_write(this_arg: number): number {
 }
 /* @internal */
 export interface LDKPersister {
-       persist_manager (channel_manager: number): number;
-       persist_graph (network_graph: number): number;
-       persist_scorer (scorer: number): number;
+       persist_manager (channel_manager: bigint): bigint;
+       persist_graph (network_graph: bigint): bigint;
+       persist_scorer (scorer: bigint): bigint;
 }
 
 /* @internal */
-export function LDKPersister_new(impl: LDKPersister): number {
+export function LDKPersister_new(impl: LDKPersister): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5877,7 +5905,7 @@ export function LDKPersister_new(impl: LDKPersister): number {
 }
        // LDKCResult_NoneErrorZ Persister_persist_manager LDKPersister *NONNULL_PTR this_arg, const struct LDKChannelManager *NONNULL_PTR channel_manager
 /* @internal */
-export function Persister_persist_manager(this_arg: number, channel_manager: number): number {
+export function Persister_persist_manager(this_arg: bigint, channel_manager: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5886,7 +5914,7 @@ export function Persister_persist_manager(this_arg: number, channel_manager: num
 }
        // LDKCResult_NoneErrorZ Persister_persist_graph LDKPersister *NONNULL_PTR this_arg, const struct LDKNetworkGraph *NONNULL_PTR network_graph
 /* @internal */
-export function Persister_persist_graph(this_arg: number, network_graph: number): number {
+export function Persister_persist_graph(this_arg: bigint, network_graph: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5895,7 +5923,7 @@ export function Persister_persist_graph(this_arg: number, network_graph: number)
 }
        // LDKCResult_NoneErrorZ Persister_persist_scorer LDKPersister *NONNULL_PTR this_arg, const struct LDKMultiThreadedLockableScore *NONNULL_PTR scorer
 /* @internal */
-export function Persister_persist_scorer(this_arg: number, scorer: number): number {
+export function Persister_persist_scorer(this_arg: bigint, scorer: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5910,7 +5938,7 @@ export interface LDKListen {
 }
 
 /* @internal */
-export function LDKListen_new(impl: LDKListen): number {
+export function LDKListen_new(impl: LDKListen): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5923,7 +5951,7 @@ export function LDKListen_new(impl: LDKListen): number {
 }
        // void Listen_filtered_block_connected LDKListen *NONNULL_PTR this_arg, const uint8_t (*header)[80], struct LDKCVec_C2Tuple_usizeTransactionZZ txdata, uint32_t height
 /* @internal */
-export function Listen_filtered_block_connected(this_arg: number, header: number, txdata: number, height: number): void {
+export function Listen_filtered_block_connected(this_arg: bigint, header: number, txdata: number, height: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5932,7 +5960,7 @@ export function Listen_filtered_block_connected(this_arg: number, header: number
 }
        // void Listen_block_connected LDKListen *NONNULL_PTR this_arg, struct LDKu8slice block, uint32_t height
 /* @internal */
-export function Listen_block_connected(this_arg: number, block: number, height: number): void {
+export function Listen_block_connected(this_arg: bigint, block: number, height: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5941,7 +5969,7 @@ export function Listen_block_connected(this_arg: number, block: number, height:
 }
        // void Listen_block_disconnected LDKListen *NONNULL_PTR this_arg, const uint8_t (*header)[80], uint32_t height
 /* @internal */
-export function Listen_block_disconnected(this_arg: number, header: number, height: number): void {
+export function Listen_block_disconnected(this_arg: bigint, header: number, height: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5957,7 +5985,7 @@ export interface LDKConfirm {
 }
 
 /* @internal */
-export function LDKConfirm_new(impl: LDKConfirm): number {
+export function LDKConfirm_new(impl: LDKConfirm): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5970,7 +5998,7 @@ export function LDKConfirm_new(impl: LDKConfirm): number {
 }
        // void Confirm_transactions_confirmed LDKConfirm *NONNULL_PTR this_arg, const uint8_t (*header)[80], struct LDKCVec_C2Tuple_usizeTransactionZZ txdata, uint32_t height
 /* @internal */
-export function Confirm_transactions_confirmed(this_arg: number, header: number, txdata: number, height: number): void {
+export function Confirm_transactions_confirmed(this_arg: bigint, header: number, txdata: number, height: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5979,7 +6007,7 @@ export function Confirm_transactions_confirmed(this_arg: number, header: number,
 }
        // void Confirm_transaction_unconfirmed LDKConfirm *NONNULL_PTR this_arg, const uint8_t (*txid)[32]
 /* @internal */
-export function Confirm_transaction_unconfirmed(this_arg: number, txid: number): void {
+export function Confirm_transaction_unconfirmed(this_arg: bigint, txid: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5988,7 +6016,7 @@ export function Confirm_transaction_unconfirmed(this_arg: number, txid: number):
 }
        // void Confirm_best_block_updated LDKConfirm *NONNULL_PTR this_arg, const uint8_t (*header)[80], uint32_t height
 /* @internal */
-export function Confirm_best_block_updated(this_arg: number, header: number, height: number): void {
+export function Confirm_best_block_updated(this_arg: bigint, header: number, height: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -5997,7 +6025,7 @@ export function Confirm_best_block_updated(this_arg: number, header: number, hei
 }
        // LDKCVec_TxidZ Confirm_get_relevant_txids LDKConfirm *NONNULL_PTR this_arg
 /* @internal */
-export function Confirm_get_relevant_txids(this_arg: number): number {
+export function Confirm_get_relevant_txids(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6006,12 +6034,12 @@ export function Confirm_get_relevant_txids(this_arg: number): number {
 }
 /* @internal */
 export interface LDKPersist {
-       persist_new_channel (channel_id: number, data: number, update_id: number): number;
-       update_persisted_channel (channel_id: number, update: number, data: number, update_id: number): number;
+       persist_new_channel (channel_id: bigint, data: bigint, update_id: bigint): bigint;
+       update_persisted_channel (channel_id: bigint, update: bigint, data: bigint, update_id: bigint): bigint;
 }
 
 /* @internal */
-export function LDKPersist_new(impl: LDKPersist): number {
+export function LDKPersist_new(impl: LDKPersist): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6024,7 +6052,7 @@ export function LDKPersist_new(impl: LDKPersist): number {
 }
        // LDKCResult_NoneChannelMonitorUpdateErrZ Persist_persist_new_channel LDKPersist *NONNULL_PTR this_arg, struct LDKOutPoint channel_id, const struct LDKChannelMonitor *NONNULL_PTR data, struct LDKMonitorUpdateId update_id
 /* @internal */
-export function Persist_persist_new_channel(this_arg: number, channel_id: number, data: number, update_id: number): number {
+export function Persist_persist_new_channel(this_arg: bigint, channel_id: bigint, data: bigint, update_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6033,7 +6061,7 @@ export function Persist_persist_new_channel(this_arg: number, channel_id: number
 }
        // LDKCResult_NoneChannelMonitorUpdateErrZ Persist_update_persisted_channel LDKPersist *NONNULL_PTR this_arg, struct LDKOutPoint channel_id, const struct LDKChannelMonitorUpdate *NONNULL_PTR update, const struct LDKChannelMonitor *NONNULL_PTR data, struct LDKMonitorUpdateId update_id
 /* @internal */
-export function Persist_update_persisted_channel(this_arg: number, channel_id: number, update: number, data: number, update_id: number): number {
+export function Persist_update_persisted_channel(this_arg: bigint, channel_id: bigint, update: bigint, data: bigint, update_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6042,30 +6070,30 @@ export function Persist_update_persisted_channel(this_arg: number, channel_id: n
 }
 /* @internal */
 export interface LDKChannelMessageHandler {
-       handle_open_channel (their_node_id: number, their_features: number, msg: number): void;
-       handle_accept_channel (their_node_id: number, their_features: number, msg: number): void;
-       handle_funding_created (their_node_id: number, msg: number): void;
-       handle_funding_signed (their_node_id: number, msg: number): void;
-       handle_channel_ready (their_node_id: number, msg: number): void;
-       handle_shutdown (their_node_id: number, their_features: number, msg: number): void;
-       handle_closing_signed (their_node_id: number, msg: number): void;
-       handle_update_add_htlc (their_node_id: number, msg: number): void;
-       handle_update_fulfill_htlc (their_node_id: number, msg: number): void;
-       handle_update_fail_htlc (their_node_id: number, msg: number): void;
-       handle_update_fail_malformed_htlc (their_node_id: number, msg: number): void;
-       handle_commitment_signed (their_node_id: number, msg: number): void;
-       handle_revoke_and_ack (their_node_id: number, msg: number): void;
-       handle_update_fee (their_node_id: number, msg: number): void;
-       handle_announcement_signatures (their_node_id: number, msg: number): void;
+       handle_open_channel (their_node_id: number, their_features: bigint, msg: bigint): void;
+       handle_accept_channel (their_node_id: number, their_features: bigint, msg: bigint): void;
+       handle_funding_created (their_node_id: number, msg: bigint): void;
+       handle_funding_signed (their_node_id: number, msg: bigint): void;
+       handle_channel_ready (their_node_id: number, msg: bigint): void;
+       handle_shutdown (their_node_id: number, their_features: bigint, msg: bigint): void;
+       handle_closing_signed (their_node_id: number, msg: bigint): void;
+       handle_update_add_htlc (their_node_id: number, msg: bigint): void;
+       handle_update_fulfill_htlc (their_node_id: number, msg: bigint): void;
+       handle_update_fail_htlc (their_node_id: number, msg: bigint): void;
+       handle_update_fail_malformed_htlc (their_node_id: number, msg: bigint): void;
+       handle_commitment_signed (their_node_id: number, msg: bigint): void;
+       handle_revoke_and_ack (their_node_id: number, msg: bigint): void;
+       handle_update_fee (their_node_id: number, msg: bigint): void;
+       handle_announcement_signatures (their_node_id: number, msg: bigint): void;
        peer_disconnected (their_node_id: number, no_connection_possible: boolean): void;
-       peer_connected (their_node_id: number, msg: number): void;
-       handle_channel_reestablish (their_node_id: number, msg: number): void;
-       handle_channel_update (their_node_id: number, msg: number): void;
-       handle_error (their_node_id: number, msg: number): void;
+       peer_connected (their_node_id: number, msg: bigint): void;
+       handle_channel_reestablish (their_node_id: number, msg: bigint): void;
+       handle_channel_update (their_node_id: number, msg: bigint): void;
+       handle_error (their_node_id: number, msg: bigint): void;
 }
 
 /* @internal */
-export function LDKChannelMessageHandler_new(impl: LDKChannelMessageHandler, MessageSendEventsProvider: LDKMessageSendEventsProvider): number {
+export function LDKChannelMessageHandler_new(impl: LDKChannelMessageHandler, MessageSendEventsProvider: LDKMessageSendEventsProvider): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6078,7 +6106,7 @@ export function LDKChannelMessageHandler_new(impl: LDKChannelMessageHandler, Mes
 }
        // void ChannelMessageHandler_handle_open_channel LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKInitFeatures their_features, const struct LDKOpenChannel *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_open_channel(this_arg: number, their_node_id: number, their_features: number, msg: number): void {
+export function ChannelMessageHandler_handle_open_channel(this_arg: bigint, their_node_id: number, their_features: bigint, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6087,7 +6115,7 @@ export function ChannelMessageHandler_handle_open_channel(this_arg: number, thei
 }
        // void ChannelMessageHandler_handle_accept_channel LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKInitFeatures their_features, const struct LDKAcceptChannel *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_accept_channel(this_arg: number, their_node_id: number, their_features: number, msg: number): void {
+export function ChannelMessageHandler_handle_accept_channel(this_arg: bigint, their_node_id: number, their_features: bigint, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6096,7 +6124,7 @@ export function ChannelMessageHandler_handle_accept_channel(this_arg: number, th
 }
        // void ChannelMessageHandler_handle_funding_created LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKFundingCreated *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_funding_created(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_funding_created(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6105,7 +6133,7 @@ export function ChannelMessageHandler_handle_funding_created(this_arg: number, t
 }
        // void ChannelMessageHandler_handle_funding_signed LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKFundingSigned *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_funding_signed(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_funding_signed(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6114,7 +6142,7 @@ export function ChannelMessageHandler_handle_funding_signed(this_arg: number, th
 }
        // void ChannelMessageHandler_handle_channel_ready LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelReady *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_channel_ready(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_channel_ready(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6123,7 +6151,7 @@ export function ChannelMessageHandler_handle_channel_ready(this_arg: number, the
 }
        // void ChannelMessageHandler_handle_shutdown LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKInitFeatures *NONNULL_PTR their_features, const struct LDKShutdown *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_shutdown(this_arg: number, their_node_id: number, their_features: number, msg: number): void {
+export function ChannelMessageHandler_handle_shutdown(this_arg: bigint, their_node_id: number, their_features: bigint, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6132,7 +6160,7 @@ export function ChannelMessageHandler_handle_shutdown(this_arg: number, their_no
 }
        // void ChannelMessageHandler_handle_closing_signed LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKClosingSigned *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_closing_signed(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_closing_signed(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6141,7 +6169,7 @@ export function ChannelMessageHandler_handle_closing_signed(this_arg: number, th
 }
        // void ChannelMessageHandler_handle_update_add_htlc LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKUpdateAddHTLC *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_update_add_htlc(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_update_add_htlc(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6150,7 +6178,7 @@ export function ChannelMessageHandler_handle_update_add_htlc(this_arg: number, t
 }
        // void ChannelMessageHandler_handle_update_fulfill_htlc LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKUpdateFulfillHTLC *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_update_fulfill_htlc(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_update_fulfill_htlc(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6159,7 +6187,7 @@ export function ChannelMessageHandler_handle_update_fulfill_htlc(this_arg: numbe
 }
        // void ChannelMessageHandler_handle_update_fail_htlc LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKUpdateFailHTLC *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_update_fail_htlc(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_update_fail_htlc(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6168,7 +6196,7 @@ export function ChannelMessageHandler_handle_update_fail_htlc(this_arg: number,
 }
        // void ChannelMessageHandler_handle_update_fail_malformed_htlc LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKUpdateFailMalformedHTLC *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_update_fail_malformed_htlc(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_update_fail_malformed_htlc(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6177,7 +6205,7 @@ export function ChannelMessageHandler_handle_update_fail_malformed_htlc(this_arg
 }
        // void ChannelMessageHandler_handle_commitment_signed LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKCommitmentSigned *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_commitment_signed(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_commitment_signed(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6186,7 +6214,7 @@ export function ChannelMessageHandler_handle_commitment_signed(this_arg: number,
 }
        // void ChannelMessageHandler_handle_revoke_and_ack LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKRevokeAndACK *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_revoke_and_ack(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_revoke_and_ack(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6195,7 +6223,7 @@ export function ChannelMessageHandler_handle_revoke_and_ack(this_arg: number, th
 }
        // void ChannelMessageHandler_handle_update_fee LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKUpdateFee *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_update_fee(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_update_fee(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6204,7 +6232,7 @@ export function ChannelMessageHandler_handle_update_fee(this_arg: number, their_
 }
        // void ChannelMessageHandler_handle_announcement_signatures LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKAnnouncementSignatures *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_announcement_signatures(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_announcement_signatures(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6213,7 +6241,7 @@ export function ChannelMessageHandler_handle_announcement_signatures(this_arg: n
 }
        // void ChannelMessageHandler_peer_disconnected LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, bool no_connection_possible
 /* @internal */
-export function ChannelMessageHandler_peer_disconnected(this_arg: number, their_node_id: number, no_connection_possible: boolean): void {
+export function ChannelMessageHandler_peer_disconnected(this_arg: bigint, their_node_id: number, no_connection_possible: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6222,7 +6250,7 @@ export function ChannelMessageHandler_peer_disconnected(this_arg: number, their_
 }
        // void ChannelMessageHandler_peer_connected LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKInit *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_peer_connected(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_peer_connected(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6231,7 +6259,7 @@ export function ChannelMessageHandler_peer_connected(this_arg: number, their_nod
 }
        // void ChannelMessageHandler_handle_channel_reestablish LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelReestablish *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_channel_reestablish(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_channel_reestablish(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6240,7 +6268,7 @@ export function ChannelMessageHandler_handle_channel_reestablish(this_arg: numbe
 }
        // void ChannelMessageHandler_handle_channel_update LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKChannelUpdate *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_channel_update(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_channel_update(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6249,7 +6277,7 @@ export function ChannelMessageHandler_handle_channel_update(this_arg: number, th
 }
        // void ChannelMessageHandler_handle_error LDKChannelMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKErrorMessage *NONNULL_PTR msg
 /* @internal */
-export function ChannelMessageHandler_handle_error(this_arg: number, their_node_id: number, msg: number): void {
+export function ChannelMessageHandler_handle_error(this_arg: bigint, their_node_id: number, msg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6258,20 +6286,20 @@ export function ChannelMessageHandler_handle_error(this_arg: number, their_node_
 }
 /* @internal */
 export interface LDKRoutingMessageHandler {
-       handle_node_announcement (msg: number): number;
-       handle_channel_announcement (msg: number): number;
-       handle_channel_update (msg: number): number;
+       handle_node_announcement (msg: bigint): bigint;
+       handle_channel_announcement (msg: bigint): bigint;
+       handle_channel_update (msg: bigint): bigint;
        get_next_channel_announcements (starting_point: bigint, batch_amount: number): number;
        get_next_node_announcements (starting_point: number, batch_amount: number): number;
-       peer_connected (their_node_id: number, init: number): void;
-       handle_reply_channel_range (their_node_id: number, msg: number): number;
-       handle_reply_short_channel_ids_end (their_node_id: number, msg: number): number;
-       handle_query_channel_range (their_node_id: number, msg: number): number;
-       handle_query_short_channel_ids (their_node_id: number, msg: number): number;
+       peer_connected (their_node_id: number, init: bigint): void;
+       handle_reply_channel_range (their_node_id: number, msg: bigint): bigint;
+       handle_reply_short_channel_ids_end (their_node_id: number, msg: bigint): bigint;
+       handle_query_channel_range (their_node_id: number, msg: bigint): bigint;
+       handle_query_short_channel_ids (their_node_id: number, msg: bigint): bigint;
 }
 
 /* @internal */
-export function LDKRoutingMessageHandler_new(impl: LDKRoutingMessageHandler, MessageSendEventsProvider: LDKMessageSendEventsProvider): number {
+export function LDKRoutingMessageHandler_new(impl: LDKRoutingMessageHandler, MessageSendEventsProvider: LDKMessageSendEventsProvider): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6284,7 +6312,7 @@ export function LDKRoutingMessageHandler_new(impl: LDKRoutingMessageHandler, Mes
 }
        // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_node_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, const struct LDKNodeAnnouncement *NONNULL_PTR msg
 /* @internal */
-export function RoutingMessageHandler_handle_node_announcement(this_arg: number, msg: number): number {
+export function RoutingMessageHandler_handle_node_announcement(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6293,7 +6321,7 @@ export function RoutingMessageHandler_handle_node_announcement(this_arg: number,
 }
        // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_channel_announcement LDKRoutingMessageHandler *NONNULL_PTR this_arg, const struct LDKChannelAnnouncement *NONNULL_PTR msg
 /* @internal */
-export function RoutingMessageHandler_handle_channel_announcement(this_arg: number, msg: number): number {
+export function RoutingMessageHandler_handle_channel_announcement(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6302,7 +6330,7 @@ export function RoutingMessageHandler_handle_channel_announcement(this_arg: numb
 }
        // LDKCResult_boolLightningErrorZ RoutingMessageHandler_handle_channel_update LDKRoutingMessageHandler *NONNULL_PTR this_arg, const struct LDKChannelUpdate *NONNULL_PTR msg
 /* @internal */
-export function RoutingMessageHandler_handle_channel_update(this_arg: number, msg: number): number {
+export function RoutingMessageHandler_handle_channel_update(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6311,7 +6339,7 @@ export function RoutingMessageHandler_handle_channel_update(this_arg: number, ms
 }
        // LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ RoutingMessageHandler_get_next_channel_announcements LDKRoutingMessageHandler *NONNULL_PTR this_arg, uint64_t starting_point, uint8_t batch_amount
 /* @internal */
-export function RoutingMessageHandler_get_next_channel_announcements(this_arg: number, starting_point: bigint, batch_amount: number): number {
+export function RoutingMessageHandler_get_next_channel_announcements(this_arg: bigint, starting_point: bigint, batch_amount: number): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6320,7 +6348,7 @@ export function RoutingMessageHandler_get_next_channel_announcements(this_arg: n
 }
        // LDKCVec_NodeAnnouncementZ RoutingMessageHandler_get_next_node_announcements LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey starting_point, uint8_t batch_amount
 /* @internal */
-export function RoutingMessageHandler_get_next_node_announcements(this_arg: number, starting_point: number, batch_amount: number): number {
+export function RoutingMessageHandler_get_next_node_announcements(this_arg: bigint, starting_point: number, batch_amount: number): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6329,7 +6357,7 @@ export function RoutingMessageHandler_get_next_node_announcements(this_arg: numb
 }
        // void RoutingMessageHandler_peer_connected LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, const struct LDKInit *NONNULL_PTR init
 /* @internal */
-export function RoutingMessageHandler_peer_connected(this_arg: number, their_node_id: number, init: number): void {
+export function RoutingMessageHandler_peer_connected(this_arg: bigint, their_node_id: number, init: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6338,7 +6366,7 @@ export function RoutingMessageHandler_peer_connected(this_arg: number, their_nod
 }
        // LDKCResult_NoneLightningErrorZ RoutingMessageHandler_handle_reply_channel_range LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKReplyChannelRange msg
 /* @internal */
-export function RoutingMessageHandler_handle_reply_channel_range(this_arg: number, their_node_id: number, msg: number): number {
+export function RoutingMessageHandler_handle_reply_channel_range(this_arg: bigint, their_node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6347,7 +6375,7 @@ export function RoutingMessageHandler_handle_reply_channel_range(this_arg: numbe
 }
        // LDKCResult_NoneLightningErrorZ RoutingMessageHandler_handle_reply_short_channel_ids_end LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKReplyShortChannelIdsEnd msg
 /* @internal */
-export function RoutingMessageHandler_handle_reply_short_channel_ids_end(this_arg: number, their_node_id: number, msg: number): number {
+export function RoutingMessageHandler_handle_reply_short_channel_ids_end(this_arg: bigint, their_node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6356,7 +6384,7 @@ export function RoutingMessageHandler_handle_reply_short_channel_ids_end(this_ar
 }
        // LDKCResult_NoneLightningErrorZ RoutingMessageHandler_handle_query_channel_range LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKQueryChannelRange msg
 /* @internal */
-export function RoutingMessageHandler_handle_query_channel_range(this_arg: number, their_node_id: number, msg: number): number {
+export function RoutingMessageHandler_handle_query_channel_range(this_arg: bigint, their_node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6365,7 +6393,7 @@ export function RoutingMessageHandler_handle_query_channel_range(this_arg: numbe
 }
        // LDKCResult_NoneLightningErrorZ RoutingMessageHandler_handle_query_short_channel_ids LDKRoutingMessageHandler *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKQueryShortChannelIds msg
 /* @internal */
-export function RoutingMessageHandler_handle_query_short_channel_ids(this_arg: number, their_node_id: number, msg: number): number {
+export function RoutingMessageHandler_handle_query_short_channel_ids(this_arg: bigint, their_node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6374,11 +6402,11 @@ export function RoutingMessageHandler_handle_query_short_channel_ids(this_arg: n
 }
 /* @internal */
 export interface LDKCustomMessageReader {
-       read (message_type: number, buffer: number): number;
+       read (message_type: number, buffer: number): bigint;
 }
 
 /* @internal */
-export function LDKCustomMessageReader_new(impl: LDKCustomMessageReader): number {
+export function LDKCustomMessageReader_new(impl: LDKCustomMessageReader): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6391,7 +6419,7 @@ export function LDKCustomMessageReader_new(impl: LDKCustomMessageReader): number
 }
        // LDKCResult_COption_TypeZDecodeErrorZ CustomMessageReader_read LDKCustomMessageReader *NONNULL_PTR this_arg, uint16_t message_type, struct LDKu8slice buffer
 /* @internal */
-export function CustomMessageReader_read(this_arg: number, message_type: number, buffer: number): number {
+export function CustomMessageReader_read(this_arg: bigint, message_type: number, buffer: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6400,12 +6428,12 @@ export function CustomMessageReader_read(this_arg: number, message_type: number,
 }
 /* @internal */
 export interface LDKCustomMessageHandler {
-       handle_custom_message (msg: number, sender_node_id: number): number;
+       handle_custom_message (msg: bigint, sender_node_id: number): bigint;
        get_and_clear_pending_msg (): number;
 }
 
 /* @internal */
-export function LDKCustomMessageHandler_new(impl: LDKCustomMessageHandler, CustomMessageReader: LDKCustomMessageReader): number {
+export function LDKCustomMessageHandler_new(impl: LDKCustomMessageHandler, CustomMessageReader: LDKCustomMessageReader): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6418,7 +6446,7 @@ export function LDKCustomMessageHandler_new(impl: LDKCustomMessageHandler, Custo
 }
        // LDKCResult_NoneLightningErrorZ CustomMessageHandler_handle_custom_message LDKCustomMessageHandler *NONNULL_PTR this_arg, struct LDKType msg, struct LDKPublicKey sender_node_id
 /* @internal */
-export function CustomMessageHandler_handle_custom_message(this_arg: number, msg: number, sender_node_id: number): number {
+export function CustomMessageHandler_handle_custom_message(this_arg: bigint, msg: bigint, sender_node_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6427,7 +6455,7 @@ export function CustomMessageHandler_handle_custom_message(this_arg: number, msg
 }
        // LDKCVec_C2Tuple_PublicKeyTypeZZ CustomMessageHandler_get_and_clear_pending_msg LDKCustomMessageHandler *NONNULL_PTR this_arg
 /* @internal */
-export function CustomMessageHandler_get_and_clear_pending_msg(this_arg: number): number {
+export function CustomMessageHandler_get_and_clear_pending_msg(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6438,12 +6466,12 @@ export function CustomMessageHandler_get_and_clear_pending_msg(this_arg: number)
 export interface LDKSocketDescriptor {
        send_data (data: number, resume_read: boolean): number;
        disconnect_socket (): void;
-       eq (other_arg: number): boolean;
+       eq (other_arg: bigint): boolean;
        hash (): bigint;
 }
 
 /* @internal */
-export function LDKSocketDescriptor_new(impl: LDKSocketDescriptor): number {
+export function LDKSocketDescriptor_new(impl: LDKSocketDescriptor): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6456,7 +6484,7 @@ export function LDKSocketDescriptor_new(impl: LDKSocketDescriptor): number {
 }
        // uintptr_t SocketDescriptor_send_data LDKSocketDescriptor *NONNULL_PTR this_arg, struct LDKu8slice data, bool resume_read
 /* @internal */
-export function SocketDescriptor_send_data(this_arg: number, data: number, resume_read: boolean): number {
+export function SocketDescriptor_send_data(this_arg: bigint, data: number, resume_read: boolean): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6465,7 +6493,7 @@ export function SocketDescriptor_send_data(this_arg: number, data: number, resum
 }
        // void SocketDescriptor_disconnect_socket LDKSocketDescriptor *NONNULL_PTR this_arg
 /* @internal */
-export function SocketDescriptor_disconnect_socket(this_arg: number): void {
+export function SocketDescriptor_disconnect_socket(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6474,7 +6502,7 @@ export function SocketDescriptor_disconnect_socket(this_arg: number): void {
 }
        // uint64_t SocketDescriptor_hash LDKSocketDescriptor *NONNULL_PTR this_arg
 /* @internal */
-export function SocketDescriptor_hash(this_arg: number): bigint {
+export function SocketDescriptor_hash(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6486,7 +6514,7 @@ export class LDKEffectiveCapacity {
        protected constructor() {}
 }
 /* @internal */
-export function LDKEffectiveCapacity_ty_from_ptr(ptr: number): number {
+export function LDKEffectiveCapacity_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6494,7 +6522,7 @@ export function LDKEffectiveCapacity_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEffectiveCapacity_ExactLiquidity_get_liquidity_msat(ptr: number): bigint {
+export function LDKEffectiveCapacity_ExactLiquidity_get_liquidity_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6502,7 +6530,7 @@ export function LDKEffectiveCapacity_ExactLiquidity_get_liquidity_msat(ptr: numb
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEffectiveCapacity_MaximumHTLC_get_amount_msat(ptr: number): bigint {
+export function LDKEffectiveCapacity_MaximumHTLC_get_amount_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6510,7 +6538,7 @@ export function LDKEffectiveCapacity_MaximumHTLC_get_amount_msat(ptr: number): b
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEffectiveCapacity_Total_get_capacity_msat(ptr: number): bigint {
+export function LDKEffectiveCapacity_Total_get_capacity_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6518,7 +6546,7 @@ export function LDKEffectiveCapacity_Total_get_capacity_msat(ptr: number): bigin
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKEffectiveCapacity_Total_get_htlc_maximum_msat(ptr: number): number {
+export function LDKEffectiveCapacity_Total_get_htlc_maximum_msat(ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6527,11 +6555,11 @@ export function LDKEffectiveCapacity_Total_get_htlc_maximum_msat(ptr: number): n
 }
 /* @internal */
 export interface LDKLockableScore {
-       lock (): number;
+       lock (): bigint;
 }
 
 /* @internal */
-export function LDKLockableScore_new(impl: LDKLockableScore): number {
+export function LDKLockableScore_new(impl: LDKLockableScore): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6544,7 +6572,7 @@ export function LDKLockableScore_new(impl: LDKLockableScore): number {
 }
        // LDKScore LockableScore_lock LDKLockableScore *NONNULL_PTR this_arg
 /* @internal */
-export function LockableScore_lock(this_arg: number): number {
+export function LockableScore_lock(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6556,7 +6584,7 @@ export class LDKFallback {
        protected constructor() {}
 }
 /* @internal */
-export function LDKFallback_ty_from_ptr(ptr: number): number {
+export function LDKFallback_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6564,7 +6592,7 @@ export function LDKFallback_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKFallback_SegWitProgram_get_version(ptr: number): number {
+export function LDKFallback_SegWitProgram_get_version(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6572,7 +6600,7 @@ export function LDKFallback_SegWitProgram_get_version(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKFallback_SegWitProgram_get_program(ptr: number): number {
+export function LDKFallback_SegWitProgram_get_program(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6580,7 +6608,7 @@ export function LDKFallback_SegWitProgram_get_program(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKFallback_PubKeyHash_get_pub_key_hash(ptr: number): number {
+export function LDKFallback_PubKeyHash_get_pub_key_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6588,7 +6616,7 @@ export function LDKFallback_PubKeyHash_get_pub_key_hash(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKFallback_ScriptHash_get_script_hash(ptr: number): number {
+export function LDKFallback_ScriptHash_get_script_hash(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6599,14 +6627,14 @@ export function LDKFallback_ScriptHash_get_script_hash(ptr: number): number {
 export interface LDKPayer {
        node_id (): number;
        first_hops (): number;
-       send_payment (route: number, payment_hash: number, payment_secret: number): number;
-       send_spontaneous_payment (route: number, payment_preimage: number): number;
-       retry_payment (route: number, payment_id: number): number;
+       send_payment (route: bigint, payment_hash: number, payment_secret: number): bigint;
+       send_spontaneous_payment (route: bigint, payment_preimage: number): bigint;
+       retry_payment (route: bigint, payment_id: number): bigint;
        abandon_payment (payment_id: number): void;
 }
 
 /* @internal */
-export function LDKPayer_new(impl: LDKPayer): number {
+export function LDKPayer_new(impl: LDKPayer): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6619,7 +6647,7 @@ export function LDKPayer_new(impl: LDKPayer): number {
 }
        // LDKPublicKey Payer_node_id LDKPayer *NONNULL_PTR this_arg
 /* @internal */
-export function Payer_node_id(this_arg: number): number {
+export function Payer_node_id(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6628,7 +6656,7 @@ export function Payer_node_id(this_arg: number): number {
 }
        // LDKCVec_ChannelDetailsZ Payer_first_hops LDKPayer *NONNULL_PTR this_arg
 /* @internal */
-export function Payer_first_hops(this_arg: number): number {
+export function Payer_first_hops(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6637,7 +6665,7 @@ export function Payer_first_hops(this_arg: number): number {
 }
        // LDKCResult_PaymentIdPaymentSendFailureZ Payer_send_payment LDKPayer *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret
 /* @internal */
-export function Payer_send_payment(this_arg: number, route: number, payment_hash: number, payment_secret: number): number {
+export function Payer_send_payment(this_arg: bigint, route: bigint, payment_hash: number, payment_secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6646,7 +6674,7 @@ export function Payer_send_payment(this_arg: number, route: number, payment_hash
 }
        // LDKCResult_PaymentIdPaymentSendFailureZ Payer_send_spontaneous_payment LDKPayer *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKThirtyTwoBytes payment_preimage
 /* @internal */
-export function Payer_send_spontaneous_payment(this_arg: number, route: number, payment_preimage: number): number {
+export function Payer_send_spontaneous_payment(this_arg: bigint, route: bigint, payment_preimage: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6655,7 +6683,7 @@ export function Payer_send_spontaneous_payment(this_arg: number, route: number,
 }
        // LDKCResult_NonePaymentSendFailureZ Payer_retry_payment LDKPayer *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKThirtyTwoBytes payment_id
 /* @internal */
-export function Payer_retry_payment(this_arg: number, route: number, payment_id: number): number {
+export function Payer_retry_payment(this_arg: bigint, route: bigint, payment_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6664,7 +6692,7 @@ export function Payer_retry_payment(this_arg: number, route: number, payment_id:
 }
        // void Payer_abandon_payment LDKPayer *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_id
 /* @internal */
-export function Payer_abandon_payment(this_arg: number, payment_id: number): void {
+export function Payer_abandon_payment(this_arg: bigint, payment_id: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6673,11 +6701,11 @@ export function Payer_abandon_payment(this_arg: number, payment_id: number): voi
 }
 /* @internal */
 export interface LDKRouter {
-       find_route (payer: number, route_params: number, payment_hash: number, first_hops: number, scorer: number): number;
+       find_route (payer: number, route_params: bigint, payment_hash: number, first_hops: number, scorer: bigint): bigint;
 }
 
 /* @internal */
-export function LDKRouter_new(impl: LDKRouter): number {
+export function LDKRouter_new(impl: LDKRouter): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6690,7 +6718,7 @@ export function LDKRouter_new(impl: LDKRouter): number {
 }
        // LDKCResult_RouteLightningErrorZ Router_find_route LDKRouter *NONNULL_PTR this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, const uint8_t (*payment_hash)[32], struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKScore *NONNULL_PTR scorer
 /* @internal */
-export function Router_find_route(this_arg: number, payer: number, route_params: number, payment_hash: number, first_hops: number, scorer: number): number {
+export function Router_find_route(this_arg: bigint, payer: number, route_params: bigint, payment_hash: number, first_hops: number, scorer: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6702,7 +6730,7 @@ export class LDKRetry {
        protected constructor() {}
 }
 /* @internal */
-export function LDKRetry_ty_from_ptr(ptr: number): number {
+export function LDKRetry_ty_from_ptr(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6710,7 +6738,7 @@ export function LDKRetry_ty_from_ptr(ptr: number): number {
        return nativeResponseValue;
 }
 /* @internal */
-export function LDKRetry_Attempts_get_attempts(ptr: number): number {
+export function LDKRetry_Attempts_get_attempts(ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6735,9 +6763,9 @@ export function _ldk_c_bindings_get_compiled_version(): number {
        const nativeResponseValue = wasm.TS__ldk_c_bindings_get_compiled_version();
        return nativeResponseValue;
 }
-       // uintptr_t Bech32Error_clone_ptr(LDKBech32Error *NONNULL_PTR arg);
+       // uint64_t Bech32Error_clone_ptr(LDKBech32Error *NONNULL_PTR arg);
 /* @internal */
-export function Bech32Error_clone_ptr(arg: number): number {
+export function Bech32Error_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6746,7 +6774,7 @@ export function Bech32Error_clone_ptr(arg: number): number {
 }
        // struct LDKBech32Error Bech32Error_clone(const struct LDKBech32Error *NONNULL_PTR orig);
 /* @internal */
-export function Bech32Error_clone(orig: number): number {
+export function Bech32Error_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6755,7 +6783,7 @@ export function Bech32Error_clone(orig: number): number {
 }
        // void Bech32Error_free(struct LDKBech32Error o);
 /* @internal */
-export function Bech32Error_free(o: number): void {
+export function Bech32Error_free(o: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6773,7 +6801,7 @@ export function Transaction_free(_res: number): void {
 }
        // struct LDKTxOut TxOut_new(struct LDKCVec_u8Z script_pubkey, uint64_t value);
 /* @internal */
-export function TxOut_new(script_pubkey: number, value: bigint): number {
+export function TxOut_new(script_pubkey: number, value: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6782,16 +6810,16 @@ export function TxOut_new(script_pubkey: number, value: bigint): number {
 }
        // void TxOut_free(struct LDKTxOut _res);
 /* @internal */
-export function TxOut_free(_res: number): void {
+export function TxOut_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_TxOut_free(_res);
        // debug statements here
 }
-       // uintptr_t TxOut_clone_ptr(LDKTxOut *NONNULL_PTR arg);
+       // uint64_t TxOut_clone_ptr(LDKTxOut *NONNULL_PTR arg);
 /* @internal */
-export function TxOut_clone_ptr(arg: number): number {
+export function TxOut_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6800,7 +6828,7 @@ export function TxOut_clone_ptr(arg: number): number {
 }
        // struct LDKTxOut TxOut_clone(const struct LDKTxOut *NONNULL_PTR orig);
 /* @internal */
-export function TxOut_clone(orig: number): number {
+export function TxOut_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6818,7 +6846,7 @@ export function Str_free(_res: number): void {
 }
        // struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_ok(void);
 /* @internal */
-export function CResult_NoneNoneZ_ok(): number {
+export function CResult_NoneNoneZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6827,7 +6855,7 @@ export function CResult_NoneNoneZ_ok(): number {
 }
        // struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_err(void);
 /* @internal */
-export function CResult_NoneNoneZ_err(): number {
+export function CResult_NoneNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6836,7 +6864,7 @@ export function CResult_NoneNoneZ_err(): number {
 }
        // bool CResult_NoneNoneZ_is_ok(const struct LDKCResult_NoneNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NoneNoneZ_is_ok(o: number): boolean {
+export function CResult_NoneNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6845,16 +6873,16 @@ export function CResult_NoneNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_NoneNoneZ_free(struct LDKCResult_NoneNoneZ _res);
 /* @internal */
-export function CResult_NoneNoneZ_free(_res: number): void {
+export function CResult_NoneNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NoneNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NoneNoneZ_clone_ptr(LDKCResult_NoneNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_NoneNoneZ_clone_ptr(LDKCResult_NoneNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NoneNoneZ_clone_ptr(arg: number): number {
+export function CResult_NoneNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6863,7 +6891,7 @@ export function CResult_NoneNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_clone(const struct LDKCResult_NoneNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NoneNoneZ_clone(orig: number): number {
+export function CResult_NoneNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6872,7 +6900,7 @@ export function CResult_NoneNoneZ_clone(orig: number): number {
 }
        // struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(struct LDKCounterpartyCommitmentSecrets o);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(o: number): number {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6881,7 +6909,7 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(o: number):
 }
        // struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(e: number): number {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6890,7 +6918,7 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(e: number)
 }
        // bool CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6899,16 +6927,16 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(o: numbe
 }
        // void CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ _res);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(_res: number): void {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone_ptr(LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone_ptr(LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6917,7 +6945,7 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone_ptr(arg:
 }
        // struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(const struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(orig: number): number {
+export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6926,7 +6954,7 @@ export function CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(orig: nu
 }
        // struct LDKCResult_SecretKeyErrorZ CResult_SecretKeyErrorZ_ok(struct LDKSecretKey o);
 /* @internal */
-export function CResult_SecretKeyErrorZ_ok(o: number): number {
+export function CResult_SecretKeyErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6935,7 +6963,7 @@ export function CResult_SecretKeyErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_SecretKeyErrorZ CResult_SecretKeyErrorZ_err(enum LDKSecp256k1Error e);
 /* @internal */
-export function CResult_SecretKeyErrorZ_err(e: Secp256k1Error): number {
+export function CResult_SecretKeyErrorZ_err(e: Secp256k1Error): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6944,7 +6972,7 @@ export function CResult_SecretKeyErrorZ_err(e: Secp256k1Error): number {
 }
        // bool CResult_SecretKeyErrorZ_is_ok(const struct LDKCResult_SecretKeyErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SecretKeyErrorZ_is_ok(o: number): boolean {
+export function CResult_SecretKeyErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6953,16 +6981,16 @@ export function CResult_SecretKeyErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_SecretKeyErrorZ_free(struct LDKCResult_SecretKeyErrorZ _res);
 /* @internal */
-export function CResult_SecretKeyErrorZ_free(_res: number): void {
+export function CResult_SecretKeyErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SecretKeyErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SecretKeyErrorZ_clone_ptr(LDKCResult_SecretKeyErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_SecretKeyErrorZ_clone_ptr(LDKCResult_SecretKeyErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SecretKeyErrorZ_clone_ptr(arg: number): number {
+export function CResult_SecretKeyErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6971,7 +6999,7 @@ export function CResult_SecretKeyErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_SecretKeyErrorZ CResult_SecretKeyErrorZ_clone(const struct LDKCResult_SecretKeyErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SecretKeyErrorZ_clone(orig: number): number {
+export function CResult_SecretKeyErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6980,7 +7008,7 @@ export function CResult_SecretKeyErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PublicKeyErrorZ CResult_PublicKeyErrorZ_ok(struct LDKPublicKey o);
 /* @internal */
-export function CResult_PublicKeyErrorZ_ok(o: number): number {
+export function CResult_PublicKeyErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6989,7 +7017,7 @@ export function CResult_PublicKeyErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PublicKeyErrorZ CResult_PublicKeyErrorZ_err(enum LDKSecp256k1Error e);
 /* @internal */
-export function CResult_PublicKeyErrorZ_err(e: Secp256k1Error): number {
+export function CResult_PublicKeyErrorZ_err(e: Secp256k1Error): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -6998,7 +7026,7 @@ export function CResult_PublicKeyErrorZ_err(e: Secp256k1Error): number {
 }
        // bool CResult_PublicKeyErrorZ_is_ok(const struct LDKCResult_PublicKeyErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PublicKeyErrorZ_is_ok(o: number): boolean {
+export function CResult_PublicKeyErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7007,16 +7035,16 @@ export function CResult_PublicKeyErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PublicKeyErrorZ_free(struct LDKCResult_PublicKeyErrorZ _res);
 /* @internal */
-export function CResult_PublicKeyErrorZ_free(_res: number): void {
+export function CResult_PublicKeyErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PublicKeyErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PublicKeyErrorZ_clone_ptr(LDKCResult_PublicKeyErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PublicKeyErrorZ_clone_ptr(LDKCResult_PublicKeyErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PublicKeyErrorZ_clone_ptr(arg: number): number {
+export function CResult_PublicKeyErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7025,7 +7053,7 @@ export function CResult_PublicKeyErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PublicKeyErrorZ CResult_PublicKeyErrorZ_clone(const struct LDKCResult_PublicKeyErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PublicKeyErrorZ_clone(orig: number): number {
+export function CResult_PublicKeyErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7034,7 +7062,7 @@ export function CResult_PublicKeyErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_TxCreationKeysDecodeErrorZ CResult_TxCreationKeysDecodeErrorZ_ok(struct LDKTxCreationKeys o);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_ok(o: number): number {
+export function CResult_TxCreationKeysDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7043,7 +7071,7 @@ export function CResult_TxCreationKeysDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_TxCreationKeysDecodeErrorZ CResult_TxCreationKeysDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_err(e: number): number {
+export function CResult_TxCreationKeysDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7052,7 +7080,7 @@ export function CResult_TxCreationKeysDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_TxCreationKeysDecodeErrorZ_is_ok(const struct LDKCResult_TxCreationKeysDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_TxCreationKeysDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7061,16 +7089,16 @@ export function CResult_TxCreationKeysDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_TxCreationKeysDecodeErrorZ_free(struct LDKCResult_TxCreationKeysDecodeErrorZ _res);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_free(_res: number): void {
+export function CResult_TxCreationKeysDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_TxCreationKeysDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_TxCreationKeysDecodeErrorZ_clone_ptr(LDKCResult_TxCreationKeysDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_TxCreationKeysDecodeErrorZ_clone_ptr(LDKCResult_TxCreationKeysDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_TxCreationKeysDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7079,7 +7107,7 @@ export function CResult_TxCreationKeysDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_TxCreationKeysDecodeErrorZ CResult_TxCreationKeysDecodeErrorZ_clone(const struct LDKCResult_TxCreationKeysDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_TxCreationKeysDecodeErrorZ_clone(orig: number): number {
+export function CResult_TxCreationKeysDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7088,7 +7116,7 @@ export function CResult_TxCreationKeysDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ChannelPublicKeysDecodeErrorZ CResult_ChannelPublicKeysDecodeErrorZ_ok(struct LDKChannelPublicKeys o);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelPublicKeysDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7097,7 +7125,7 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelPublicKeysDecodeErrorZ CResult_ChannelPublicKeysDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelPublicKeysDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7106,7 +7134,7 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelPublicKeysDecodeErrorZ_is_ok(const struct LDKCResult_ChannelPublicKeysDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelPublicKeysDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7115,16 +7143,16 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_ChannelPublicKeysDecodeErrorZ_free(struct LDKCResult_ChannelPublicKeysDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelPublicKeysDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelPublicKeysDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelPublicKeysDecodeErrorZ_clone_ptr(LDKCResult_ChannelPublicKeysDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelPublicKeysDecodeErrorZ_clone_ptr(LDKCResult_ChannelPublicKeysDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelPublicKeysDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7133,7 +7161,7 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_ChannelPublicKeysDecodeErrorZ CResult_ChannelPublicKeysDecodeErrorZ_clone(const struct LDKCResult_ChannelPublicKeysDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelPublicKeysDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelPublicKeysDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7142,7 +7170,7 @@ export function CResult_ChannelPublicKeysDecodeErrorZ_clone(orig: number): numbe
 }
        // struct LDKCResult_TxCreationKeysErrorZ CResult_TxCreationKeysErrorZ_ok(struct LDKTxCreationKeys o);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_ok(o: number): number {
+export function CResult_TxCreationKeysErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7151,7 +7179,7 @@ export function CResult_TxCreationKeysErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_TxCreationKeysErrorZ CResult_TxCreationKeysErrorZ_err(enum LDKSecp256k1Error e);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_err(e: Secp256k1Error): number {
+export function CResult_TxCreationKeysErrorZ_err(e: Secp256k1Error): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7160,7 +7188,7 @@ export function CResult_TxCreationKeysErrorZ_err(e: Secp256k1Error): number {
 }
        // bool CResult_TxCreationKeysErrorZ_is_ok(const struct LDKCResult_TxCreationKeysErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_is_ok(o: number): boolean {
+export function CResult_TxCreationKeysErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7169,16 +7197,16 @@ export function CResult_TxCreationKeysErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_TxCreationKeysErrorZ_free(struct LDKCResult_TxCreationKeysErrorZ _res);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_free(_res: number): void {
+export function CResult_TxCreationKeysErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_TxCreationKeysErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_TxCreationKeysErrorZ_clone_ptr(LDKCResult_TxCreationKeysErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_TxCreationKeysErrorZ_clone_ptr(LDKCResult_TxCreationKeysErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_clone_ptr(arg: number): number {
+export function CResult_TxCreationKeysErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7187,7 +7215,7 @@ export function CResult_TxCreationKeysErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_TxCreationKeysErrorZ CResult_TxCreationKeysErrorZ_clone(const struct LDKCResult_TxCreationKeysErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_TxCreationKeysErrorZ_clone(orig: number): number {
+export function CResult_TxCreationKeysErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7196,7 +7224,7 @@ export function CResult_TxCreationKeysErrorZ_clone(orig: number): number {
 }
        // struct LDKCOption_u32Z COption_u32Z_some(uint32_t o);
 /* @internal */
-export function COption_u32Z_some(o: number): number {
+export function COption_u32Z_some(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7205,7 +7233,7 @@ export function COption_u32Z_some(o: number): number {
 }
        // struct LDKCOption_u32Z COption_u32Z_none(void);
 /* @internal */
-export function COption_u32Z_none(): number {
+export function COption_u32Z_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7214,16 +7242,16 @@ export function COption_u32Z_none(): number {
 }
        // void COption_u32Z_free(struct LDKCOption_u32Z _res);
 /* @internal */
-export function COption_u32Z_free(_res: number): void {
+export function COption_u32Z_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_u32Z_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_u32Z_clone_ptr(LDKCOption_u32Z *NONNULL_PTR arg);
+       // uint64_t COption_u32Z_clone_ptr(LDKCOption_u32Z *NONNULL_PTR arg);
 /* @internal */
-export function COption_u32Z_clone_ptr(arg: number): number {
+export function COption_u32Z_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7232,7 +7260,7 @@ export function COption_u32Z_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_u32Z COption_u32Z_clone(const struct LDKCOption_u32Z *NONNULL_PTR orig);
 /* @internal */
-export function COption_u32Z_clone(orig: number): number {
+export function COption_u32Z_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7241,7 +7269,7 @@ export function COption_u32Z_clone(orig: number): number {
 }
        // struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ CResult_HTLCOutputInCommitmentDecodeErrorZ_ok(struct LDKHTLCOutputInCommitment o);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_ok(o: number): number {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7250,7 +7278,7 @@ export function CResult_HTLCOutputInCommitmentDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ CResult_HTLCOutputInCommitmentDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_err(e: number): number {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7259,7 +7287,7 @@ export function CResult_HTLCOutputInCommitmentDecodeErrorZ_err(e: number): numbe
 }
        // bool CResult_HTLCOutputInCommitmentDecodeErrorZ_is_ok(const struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7268,16 +7296,16 @@ export function CResult_HTLCOutputInCommitmentDecodeErrorZ_is_ok(o: number): boo
 }
        // void CResult_HTLCOutputInCommitmentDecodeErrorZ_free(struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ _res);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_free(_res: number): void {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_HTLCOutputInCommitmentDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_HTLCOutputInCommitmentDecodeErrorZ_clone_ptr(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_HTLCOutputInCommitmentDecodeErrorZ_clone_ptr(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7286,7 +7314,7 @@ export function CResult_HTLCOutputInCommitmentDecodeErrorZ_clone_ptr(arg: number
 }
        // struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ CResult_HTLCOutputInCommitmentDecodeErrorZ_clone(const struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_HTLCOutputInCommitmentDecodeErrorZ_clone(orig: number): number {
+export function CResult_HTLCOutputInCommitmentDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7322,7 +7350,7 @@ export function COption_NoneZ_free(_res: COption_NoneZ): void {
 }
        // struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(struct LDKCounterpartyChannelTransactionParameters o);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(o: number): number {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7331,7 +7359,7 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(
 }
        // struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err(e: number): number {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7340,7 +7368,7 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err
 }
        // bool CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7349,16 +7377,16 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_is_
 }
        // void CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_free(struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ _res);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_free(_res: number): void {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone_ptr(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone_ptr(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7367,7 +7395,7 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clo
 }
        // struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone(const struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone(orig: number): number {
+export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7376,7 +7404,7 @@ export function CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_clo
 }
        // struct LDKCResult_ChannelTransactionParametersDecodeErrorZ CResult_ChannelTransactionParametersDecodeErrorZ_ok(struct LDKChannelTransactionParameters o);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7385,7 +7413,7 @@ export function CResult_ChannelTransactionParametersDecodeErrorZ_ok(o: number):
 }
        // struct LDKCResult_ChannelTransactionParametersDecodeErrorZ CResult_ChannelTransactionParametersDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7394,7 +7422,7 @@ export function CResult_ChannelTransactionParametersDecodeErrorZ_err(e: number):
 }
        // bool CResult_ChannelTransactionParametersDecodeErrorZ_is_ok(const struct LDKCResult_ChannelTransactionParametersDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7403,16 +7431,16 @@ export function CResult_ChannelTransactionParametersDecodeErrorZ_is_ok(o: number
 }
        // void CResult_ChannelTransactionParametersDecodeErrorZ_free(struct LDKCResult_ChannelTransactionParametersDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelTransactionParametersDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelTransactionParametersDecodeErrorZ_clone_ptr(LDKCResult_ChannelTransactionParametersDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelTransactionParametersDecodeErrorZ_clone_ptr(LDKCResult_ChannelTransactionParametersDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7421,7 +7449,7 @@ export function CResult_ChannelTransactionParametersDecodeErrorZ_clone_ptr(arg:
 }
        // struct LDKCResult_ChannelTransactionParametersDecodeErrorZ CResult_ChannelTransactionParametersDecodeErrorZ_clone(const struct LDKCResult_ChannelTransactionParametersDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelTransactionParametersDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelTransactionParametersDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7439,7 +7467,7 @@ export function CVec_SignatureZ_free(_res: number): void {
 }
        // struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ CResult_HolderCommitmentTransactionDecodeErrorZ_ok(struct LDKHolderCommitmentTransaction o);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_ok(o: number): number {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7448,7 +7476,7 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_ok(o: number): n
 }
        // struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ CResult_HolderCommitmentTransactionDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_err(e: number): number {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7457,7 +7485,7 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_err(e: number):
 }
        // bool CResult_HolderCommitmentTransactionDecodeErrorZ_is_ok(const struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7466,16 +7494,16 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_is_ok(o: number)
 }
        // void CResult_HolderCommitmentTransactionDecodeErrorZ_free(struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ _res);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_free(_res: number): void {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_HolderCommitmentTransactionDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_HolderCommitmentTransactionDecodeErrorZ_clone_ptr(LDKCResult_HolderCommitmentTransactionDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_HolderCommitmentTransactionDecodeErrorZ_clone_ptr(LDKCResult_HolderCommitmentTransactionDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7484,7 +7512,7 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_clone_ptr(arg: n
 }
        // struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ CResult_HolderCommitmentTransactionDecodeErrorZ_clone(const struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_HolderCommitmentTransactionDecodeErrorZ_clone(orig: number): number {
+export function CResult_HolderCommitmentTransactionDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7493,7 +7521,7 @@ export function CResult_HolderCommitmentTransactionDecodeErrorZ_clone(orig: numb
 }
        // struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ CResult_BuiltCommitmentTransactionDecodeErrorZ_ok(struct LDKBuiltCommitmentTransaction o);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_ok(o: number): number {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7502,7 +7530,7 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_ok(o: number): nu
 }
        // struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ CResult_BuiltCommitmentTransactionDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_err(e: number): number {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7511,7 +7539,7 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_err(e: number): n
 }
        // bool CResult_BuiltCommitmentTransactionDecodeErrorZ_is_ok(const struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7520,16 +7548,16 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_is_ok(o: number):
 }
        // void CResult_BuiltCommitmentTransactionDecodeErrorZ_free(struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ _res);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_free(_res: number): void {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_BuiltCommitmentTransactionDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_BuiltCommitmentTransactionDecodeErrorZ_clone_ptr(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_BuiltCommitmentTransactionDecodeErrorZ_clone_ptr(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7538,7 +7566,7 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_clone_ptr(arg: nu
 }
        // struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ CResult_BuiltCommitmentTransactionDecodeErrorZ_clone(const struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_BuiltCommitmentTransactionDecodeErrorZ_clone(orig: number): number {
+export function CResult_BuiltCommitmentTransactionDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7547,7 +7575,7 @@ export function CResult_BuiltCommitmentTransactionDecodeErrorZ_clone(orig: numbe
 }
        // struct LDKCResult_TrustedClosingTransactionNoneZ CResult_TrustedClosingTransactionNoneZ_ok(struct LDKTrustedClosingTransaction o);
 /* @internal */
-export function CResult_TrustedClosingTransactionNoneZ_ok(o: number): number {
+export function CResult_TrustedClosingTransactionNoneZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7556,7 +7584,7 @@ export function CResult_TrustedClosingTransactionNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_TrustedClosingTransactionNoneZ CResult_TrustedClosingTransactionNoneZ_err(void);
 /* @internal */
-export function CResult_TrustedClosingTransactionNoneZ_err(): number {
+export function CResult_TrustedClosingTransactionNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7565,7 +7593,7 @@ export function CResult_TrustedClosingTransactionNoneZ_err(): number {
 }
        // bool CResult_TrustedClosingTransactionNoneZ_is_ok(const struct LDKCResult_TrustedClosingTransactionNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_TrustedClosingTransactionNoneZ_is_ok(o: number): boolean {
+export function CResult_TrustedClosingTransactionNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7574,7 +7602,7 @@ export function CResult_TrustedClosingTransactionNoneZ_is_ok(o: number): boolean
 }
        // void CResult_TrustedClosingTransactionNoneZ_free(struct LDKCResult_TrustedClosingTransactionNoneZ _res);
 /* @internal */
-export function CResult_TrustedClosingTransactionNoneZ_free(_res: number): void {
+export function CResult_TrustedClosingTransactionNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7583,7 +7611,7 @@ export function CResult_TrustedClosingTransactionNoneZ_free(_res: number): void
 }
        // struct LDKCResult_CommitmentTransactionDecodeErrorZ CResult_CommitmentTransactionDecodeErrorZ_ok(struct LDKCommitmentTransaction o);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_ok(o: number): number {
+export function CResult_CommitmentTransactionDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7592,7 +7620,7 @@ export function CResult_CommitmentTransactionDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_CommitmentTransactionDecodeErrorZ CResult_CommitmentTransactionDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_err(e: number): number {
+export function CResult_CommitmentTransactionDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7601,7 +7629,7 @@ export function CResult_CommitmentTransactionDecodeErrorZ_err(e: number): number
 }
        // bool CResult_CommitmentTransactionDecodeErrorZ_is_ok(const struct LDKCResult_CommitmentTransactionDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_CommitmentTransactionDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7610,16 +7638,16 @@ export function CResult_CommitmentTransactionDecodeErrorZ_is_ok(o: number): bool
 }
        // void CResult_CommitmentTransactionDecodeErrorZ_free(struct LDKCResult_CommitmentTransactionDecodeErrorZ _res);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_free(_res: number): void {
+export function CResult_CommitmentTransactionDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CommitmentTransactionDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CommitmentTransactionDecodeErrorZ_clone_ptr(LDKCResult_CommitmentTransactionDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_CommitmentTransactionDecodeErrorZ_clone_ptr(LDKCResult_CommitmentTransactionDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_CommitmentTransactionDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7628,7 +7656,7 @@ export function CResult_CommitmentTransactionDecodeErrorZ_clone_ptr(arg: number)
 }
        // struct LDKCResult_CommitmentTransactionDecodeErrorZ CResult_CommitmentTransactionDecodeErrorZ_clone(const struct LDKCResult_CommitmentTransactionDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CommitmentTransactionDecodeErrorZ_clone(orig: number): number {
+export function CResult_CommitmentTransactionDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7637,7 +7665,7 @@ export function CResult_CommitmentTransactionDecodeErrorZ_clone(orig: number): n
 }
        // struct LDKCResult_TrustedCommitmentTransactionNoneZ CResult_TrustedCommitmentTransactionNoneZ_ok(struct LDKTrustedCommitmentTransaction o);
 /* @internal */
-export function CResult_TrustedCommitmentTransactionNoneZ_ok(o: number): number {
+export function CResult_TrustedCommitmentTransactionNoneZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7646,7 +7674,7 @@ export function CResult_TrustedCommitmentTransactionNoneZ_ok(o: number): number
 }
        // struct LDKCResult_TrustedCommitmentTransactionNoneZ CResult_TrustedCommitmentTransactionNoneZ_err(void);
 /* @internal */
-export function CResult_TrustedCommitmentTransactionNoneZ_err(): number {
+export function CResult_TrustedCommitmentTransactionNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7655,7 +7683,7 @@ export function CResult_TrustedCommitmentTransactionNoneZ_err(): number {
 }
        // bool CResult_TrustedCommitmentTransactionNoneZ_is_ok(const struct LDKCResult_TrustedCommitmentTransactionNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_TrustedCommitmentTransactionNoneZ_is_ok(o: number): boolean {
+export function CResult_TrustedCommitmentTransactionNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7664,7 +7692,7 @@ export function CResult_TrustedCommitmentTransactionNoneZ_is_ok(o: number): bool
 }
        // void CResult_TrustedCommitmentTransactionNoneZ_free(struct LDKCResult_TrustedCommitmentTransactionNoneZ _res);
 /* @internal */
-export function CResult_TrustedCommitmentTransactionNoneZ_free(_res: number): void {
+export function CResult_TrustedCommitmentTransactionNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7673,7 +7701,7 @@ export function CResult_TrustedCommitmentTransactionNoneZ_free(_res: number): vo
 }
        // struct LDKCResult_CVec_SignatureZNoneZ CResult_CVec_SignatureZNoneZ_ok(struct LDKCVec_SignatureZ o);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_ok(o: number): number {
+export function CResult_CVec_SignatureZNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7682,7 +7710,7 @@ export function CResult_CVec_SignatureZNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_CVec_SignatureZNoneZ CResult_CVec_SignatureZNoneZ_err(void);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_err(): number {
+export function CResult_CVec_SignatureZNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7691,7 +7719,7 @@ export function CResult_CVec_SignatureZNoneZ_err(): number {
 }
        // bool CResult_CVec_SignatureZNoneZ_is_ok(const struct LDKCResult_CVec_SignatureZNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_is_ok(o: number): boolean {
+export function CResult_CVec_SignatureZNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7700,16 +7728,16 @@ export function CResult_CVec_SignatureZNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_CVec_SignatureZNoneZ_free(struct LDKCResult_CVec_SignatureZNoneZ _res);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_free(_res: number): void {
+export function CResult_CVec_SignatureZNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CVec_SignatureZNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CVec_SignatureZNoneZ_clone_ptr(LDKCResult_CVec_SignatureZNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_CVec_SignatureZNoneZ_clone_ptr(LDKCResult_CVec_SignatureZNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_clone_ptr(arg: number): number {
+export function CResult_CVec_SignatureZNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7718,7 +7746,7 @@ export function CResult_CVec_SignatureZNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_CVec_SignatureZNoneZ CResult_CVec_SignatureZNoneZ_clone(const struct LDKCResult_CVec_SignatureZNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CVec_SignatureZNoneZ_clone(orig: number): number {
+export function CResult_CVec_SignatureZNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7727,7 +7755,7 @@ export function CResult_CVec_SignatureZNoneZ_clone(orig: number): number {
 }
        // struct LDKCResult_ShutdownScriptDecodeErrorZ CResult_ShutdownScriptDecodeErrorZ_ok(struct LDKShutdownScript o);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_ok(o: number): number {
+export function CResult_ShutdownScriptDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7736,7 +7764,7 @@ export function CResult_ShutdownScriptDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ShutdownScriptDecodeErrorZ CResult_ShutdownScriptDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_err(e: number): number {
+export function CResult_ShutdownScriptDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7745,7 +7773,7 @@ export function CResult_ShutdownScriptDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ShutdownScriptDecodeErrorZ_is_ok(const struct LDKCResult_ShutdownScriptDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ShutdownScriptDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7754,16 +7782,16 @@ export function CResult_ShutdownScriptDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ShutdownScriptDecodeErrorZ_free(struct LDKCResult_ShutdownScriptDecodeErrorZ _res);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_free(_res: number): void {
+export function CResult_ShutdownScriptDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ShutdownScriptDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ShutdownScriptDecodeErrorZ_clone_ptr(LDKCResult_ShutdownScriptDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ShutdownScriptDecodeErrorZ_clone_ptr(LDKCResult_ShutdownScriptDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ShutdownScriptDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7772,7 +7800,7 @@ export function CResult_ShutdownScriptDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_ShutdownScriptDecodeErrorZ CResult_ShutdownScriptDecodeErrorZ_clone(const struct LDKCResult_ShutdownScriptDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ShutdownScriptDecodeErrorZ_clone(orig: number): number {
+export function CResult_ShutdownScriptDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7781,7 +7809,7 @@ export function CResult_ShutdownScriptDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ CResult_ShutdownScriptInvalidShutdownScriptZ_ok(struct LDKShutdownScript o);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_ok(o: number): number {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7790,7 +7818,7 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_ok(o: number): numb
 }
        // struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ CResult_ShutdownScriptInvalidShutdownScriptZ_err(struct LDKInvalidShutdownScript e);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_err(e: number): number {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7799,7 +7827,7 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_err(e: number): num
 }
        // bool CResult_ShutdownScriptInvalidShutdownScriptZ_is_ok(const struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_is_ok(o: number): boolean {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7808,16 +7836,16 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_is_ok(o: number): b
 }
        // void CResult_ShutdownScriptInvalidShutdownScriptZ_free(struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ _res);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_free(_res: number): void {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ShutdownScriptInvalidShutdownScriptZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ShutdownScriptInvalidShutdownScriptZ_clone_ptr(LDKCResult_ShutdownScriptInvalidShutdownScriptZ *NONNULL_PTR arg);
+       // uint64_t CResult_ShutdownScriptInvalidShutdownScriptZ_clone_ptr(LDKCResult_ShutdownScriptInvalidShutdownScriptZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_clone_ptr(arg: number): number {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7826,7 +7854,7 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_clone_ptr(arg: numb
 }
        // struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ CResult_ShutdownScriptInvalidShutdownScriptZ_clone(const struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ShutdownScriptInvalidShutdownScriptZ_clone(orig: number): number {
+export function CResult_ShutdownScriptInvalidShutdownScriptZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7835,7 +7863,7 @@ export function CResult_ShutdownScriptInvalidShutdownScriptZ_clone(orig: number)
 }
        // struct LDKCResult_RouteHopDecodeErrorZ CResult_RouteHopDecodeErrorZ_ok(struct LDKRouteHop o);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_ok(o: number): number {
+export function CResult_RouteHopDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7844,7 +7872,7 @@ export function CResult_RouteHopDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RouteHopDecodeErrorZ CResult_RouteHopDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_err(e: number): number {
+export function CResult_RouteHopDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7853,7 +7881,7 @@ export function CResult_RouteHopDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RouteHopDecodeErrorZ_is_ok(const struct LDKCResult_RouteHopDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RouteHopDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7862,16 +7890,16 @@ export function CResult_RouteHopDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RouteHopDecodeErrorZ_free(struct LDKCResult_RouteHopDecodeErrorZ _res);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_free(_res: number): void {
+export function CResult_RouteHopDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RouteHopDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RouteHopDecodeErrorZ_clone_ptr(LDKCResult_RouteHopDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RouteHopDecodeErrorZ_clone_ptr(LDKCResult_RouteHopDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RouteHopDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7880,7 +7908,7 @@ export function CResult_RouteHopDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_RouteHopDecodeErrorZ CResult_RouteHopDecodeErrorZ_clone(const struct LDKCResult_RouteHopDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RouteHopDecodeErrorZ_clone(orig: number): number {
+export function CResult_RouteHopDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7907,7 +7935,7 @@ export function CVec_CVec_RouteHopZZ_free(_res: number): void {
 }
        // struct LDKCResult_RouteDecodeErrorZ CResult_RouteDecodeErrorZ_ok(struct LDKRoute o);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_ok(o: number): number {
+export function CResult_RouteDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7916,7 +7944,7 @@ export function CResult_RouteDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RouteDecodeErrorZ CResult_RouteDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_err(e: number): number {
+export function CResult_RouteDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7925,7 +7953,7 @@ export function CResult_RouteDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RouteDecodeErrorZ_is_ok(const struct LDKCResult_RouteDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RouteDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7934,16 +7962,16 @@ export function CResult_RouteDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RouteDecodeErrorZ_free(struct LDKCResult_RouteDecodeErrorZ _res);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_free(_res: number): void {
+export function CResult_RouteDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RouteDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RouteDecodeErrorZ_clone_ptr(LDKCResult_RouteDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RouteDecodeErrorZ_clone_ptr(LDKCResult_RouteDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RouteDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7952,7 +7980,7 @@ export function CResult_RouteDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_RouteDecodeErrorZ CResult_RouteDecodeErrorZ_clone(const struct LDKCResult_RouteDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RouteDecodeErrorZ_clone(orig: number): number {
+export function CResult_RouteDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7961,7 +7989,7 @@ export function CResult_RouteDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_RouteParametersDecodeErrorZ CResult_RouteParametersDecodeErrorZ_ok(struct LDKRouteParameters o);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_ok(o: number): number {
+export function CResult_RouteParametersDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7970,7 +7998,7 @@ export function CResult_RouteParametersDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RouteParametersDecodeErrorZ CResult_RouteParametersDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_err(e: number): number {
+export function CResult_RouteParametersDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7979,7 +8007,7 @@ export function CResult_RouteParametersDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RouteParametersDecodeErrorZ_is_ok(const struct LDKCResult_RouteParametersDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RouteParametersDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -7988,16 +8016,16 @@ export function CResult_RouteParametersDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RouteParametersDecodeErrorZ_free(struct LDKCResult_RouteParametersDecodeErrorZ _res);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_free(_res: number): void {
+export function CResult_RouteParametersDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RouteParametersDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RouteParametersDecodeErrorZ_clone_ptr(LDKCResult_RouteParametersDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RouteParametersDecodeErrorZ_clone_ptr(LDKCResult_RouteParametersDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RouteParametersDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8006,7 +8034,7 @@ export function CResult_RouteParametersDecodeErrorZ_clone_ptr(arg: number): numb
 }
        // struct LDKCResult_RouteParametersDecodeErrorZ CResult_RouteParametersDecodeErrorZ_clone(const struct LDKCResult_RouteParametersDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RouteParametersDecodeErrorZ_clone(orig: number): number {
+export function CResult_RouteParametersDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8024,7 +8052,7 @@ export function CVec_RouteHintZ_free(_res: number): void {
 }
        // struct LDKCOption_u64Z COption_u64Z_some(uint64_t o);
 /* @internal */
-export function COption_u64Z_some(o: bigint): number {
+export function COption_u64Z_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8033,7 +8061,7 @@ export function COption_u64Z_some(o: bigint): number {
 }
        // struct LDKCOption_u64Z COption_u64Z_none(void);
 /* @internal */
-export function COption_u64Z_none(): number {
+export function COption_u64Z_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8042,16 +8070,16 @@ export function COption_u64Z_none(): number {
 }
        // void COption_u64Z_free(struct LDKCOption_u64Z _res);
 /* @internal */
-export function COption_u64Z_free(_res: number): void {
+export function COption_u64Z_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_u64Z_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_u64Z_clone_ptr(LDKCOption_u64Z *NONNULL_PTR arg);
+       // uint64_t COption_u64Z_clone_ptr(LDKCOption_u64Z *NONNULL_PTR arg);
 /* @internal */
-export function COption_u64Z_clone_ptr(arg: number): number {
+export function COption_u64Z_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8060,7 +8088,7 @@ export function COption_u64Z_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_u64Z COption_u64Z_clone(const struct LDKCOption_u64Z *NONNULL_PTR orig);
 /* @internal */
-export function COption_u64Z_clone(orig: number): number {
+export function COption_u64Z_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8078,7 +8106,7 @@ export function CVec_u64Z_free(_res: number): void {
 }
        // struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_ok(struct LDKPaymentParameters o);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_ok(o: number): number {
+export function CResult_PaymentParametersDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8087,7 +8115,7 @@ export function CResult_PaymentParametersDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_err(e: number): number {
+export function CResult_PaymentParametersDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8096,7 +8124,7 @@ export function CResult_PaymentParametersDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_PaymentParametersDecodeErrorZ_is_ok(const struct LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_PaymentParametersDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8105,16 +8133,16 @@ export function CResult_PaymentParametersDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_PaymentParametersDecodeErrorZ_free(struct LDKCResult_PaymentParametersDecodeErrorZ _res);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_free(_res: number): void {
+export function CResult_PaymentParametersDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentParametersDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentParametersDecodeErrorZ_clone_ptr(LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentParametersDecodeErrorZ_clone_ptr(LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_PaymentParametersDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8123,7 +8151,7 @@ export function CResult_PaymentParametersDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_clone(const struct LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentParametersDecodeErrorZ_clone(orig: number): number {
+export function CResult_PaymentParametersDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8141,7 +8169,7 @@ export function CVec_RouteHintHopZ_free(_res: number): void {
 }
        // struct LDKCResult_RouteHintDecodeErrorZ CResult_RouteHintDecodeErrorZ_ok(struct LDKRouteHint o);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_ok(o: number): number {
+export function CResult_RouteHintDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8150,7 +8178,7 @@ export function CResult_RouteHintDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RouteHintDecodeErrorZ CResult_RouteHintDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_err(e: number): number {
+export function CResult_RouteHintDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8159,7 +8187,7 @@ export function CResult_RouteHintDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RouteHintDecodeErrorZ_is_ok(const struct LDKCResult_RouteHintDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RouteHintDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8168,16 +8196,16 @@ export function CResult_RouteHintDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RouteHintDecodeErrorZ_free(struct LDKCResult_RouteHintDecodeErrorZ _res);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_free(_res: number): void {
+export function CResult_RouteHintDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RouteHintDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RouteHintDecodeErrorZ_clone_ptr(LDKCResult_RouteHintDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RouteHintDecodeErrorZ_clone_ptr(LDKCResult_RouteHintDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RouteHintDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8186,7 +8214,7 @@ export function CResult_RouteHintDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_RouteHintDecodeErrorZ CResult_RouteHintDecodeErrorZ_clone(const struct LDKCResult_RouteHintDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RouteHintDecodeErrorZ_clone(orig: number): number {
+export function CResult_RouteHintDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8195,7 +8223,7 @@ export function CResult_RouteHintDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_RouteHintHopDecodeErrorZ CResult_RouteHintHopDecodeErrorZ_ok(struct LDKRouteHintHop o);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_ok(o: number): number {
+export function CResult_RouteHintHopDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8204,7 +8232,7 @@ export function CResult_RouteHintHopDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RouteHintHopDecodeErrorZ CResult_RouteHintHopDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_err(e: number): number {
+export function CResult_RouteHintHopDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8213,7 +8241,7 @@ export function CResult_RouteHintHopDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RouteHintHopDecodeErrorZ_is_ok(const struct LDKCResult_RouteHintHopDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RouteHintHopDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8222,16 +8250,16 @@ export function CResult_RouteHintHopDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RouteHintHopDecodeErrorZ_free(struct LDKCResult_RouteHintHopDecodeErrorZ _res);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_free(_res: number): void {
+export function CResult_RouteHintHopDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RouteHintHopDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RouteHintHopDecodeErrorZ_clone_ptr(LDKCResult_RouteHintHopDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RouteHintHopDecodeErrorZ_clone_ptr(LDKCResult_RouteHintHopDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RouteHintHopDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8240,7 +8268,7 @@ export function CResult_RouteHintHopDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_RouteHintHopDecodeErrorZ CResult_RouteHintHopDecodeErrorZ_clone(const struct LDKCResult_RouteHintHopDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RouteHintHopDecodeErrorZ_clone(orig: number): number {
+export function CResult_RouteHintHopDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8258,7 +8286,7 @@ export function CVec_ChannelDetailsZ_free(_res: number): void {
 }
        // struct LDKCResult_RouteLightningErrorZ CResult_RouteLightningErrorZ_ok(struct LDKRoute o);
 /* @internal */
-export function CResult_RouteLightningErrorZ_ok(o: number): number {
+export function CResult_RouteLightningErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8267,7 +8295,7 @@ export function CResult_RouteLightningErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RouteLightningErrorZ CResult_RouteLightningErrorZ_err(struct LDKLightningError e);
 /* @internal */
-export function CResult_RouteLightningErrorZ_err(e: number): number {
+export function CResult_RouteLightningErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8276,7 +8304,7 @@ export function CResult_RouteLightningErrorZ_err(e: number): number {
 }
        // bool CResult_RouteLightningErrorZ_is_ok(const struct LDKCResult_RouteLightningErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RouteLightningErrorZ_is_ok(o: number): boolean {
+export function CResult_RouteLightningErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8285,16 +8313,16 @@ export function CResult_RouteLightningErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RouteLightningErrorZ_free(struct LDKCResult_RouteLightningErrorZ _res);
 /* @internal */
-export function CResult_RouteLightningErrorZ_free(_res: number): void {
+export function CResult_RouteLightningErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RouteLightningErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RouteLightningErrorZ_clone_ptr(LDKCResult_RouteLightningErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RouteLightningErrorZ_clone_ptr(LDKCResult_RouteLightningErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RouteLightningErrorZ_clone_ptr(arg: number): number {
+export function CResult_RouteLightningErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8303,7 +8331,7 @@ export function CResult_RouteLightningErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_RouteLightningErrorZ CResult_RouteLightningErrorZ_clone(const struct LDKCResult_RouteLightningErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RouteLightningErrorZ_clone(orig: number): number {
+export function CResult_RouteLightningErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8321,7 +8349,7 @@ export function CVec_PublicKeyZ_free(_res: number): void {
 }
        // struct LDKCResult_PaymentPurposeDecodeErrorZ CResult_PaymentPurposeDecodeErrorZ_ok(struct LDKPaymentPurpose o);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_ok(o: number): number {
+export function CResult_PaymentPurposeDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8330,7 +8358,7 @@ export function CResult_PaymentPurposeDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentPurposeDecodeErrorZ CResult_PaymentPurposeDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_err(e: number): number {
+export function CResult_PaymentPurposeDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8339,7 +8367,7 @@ export function CResult_PaymentPurposeDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_PaymentPurposeDecodeErrorZ_is_ok(const struct LDKCResult_PaymentPurposeDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_PaymentPurposeDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8348,16 +8376,16 @@ export function CResult_PaymentPurposeDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PaymentPurposeDecodeErrorZ_free(struct LDKCResult_PaymentPurposeDecodeErrorZ _res);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_free(_res: number): void {
+export function CResult_PaymentPurposeDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentPurposeDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentPurposeDecodeErrorZ_clone_ptr(LDKCResult_PaymentPurposeDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentPurposeDecodeErrorZ_clone_ptr(LDKCResult_PaymentPurposeDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_PaymentPurposeDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8366,7 +8394,7 @@ export function CResult_PaymentPurposeDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_PaymentPurposeDecodeErrorZ CResult_PaymentPurposeDecodeErrorZ_clone(const struct LDKCResult_PaymentPurposeDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentPurposeDecodeErrorZ_clone(orig: number): number {
+export function CResult_PaymentPurposeDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8375,7 +8403,7 @@ export function CResult_PaymentPurposeDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCOption_ClosureReasonZ COption_ClosureReasonZ_some(struct LDKClosureReason o);
 /* @internal */
-export function COption_ClosureReasonZ_some(o: number): number {
+export function COption_ClosureReasonZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8384,7 +8412,7 @@ export function COption_ClosureReasonZ_some(o: number): number {
 }
        // struct LDKCOption_ClosureReasonZ COption_ClosureReasonZ_none(void);
 /* @internal */
-export function COption_ClosureReasonZ_none(): number {
+export function COption_ClosureReasonZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8393,16 +8421,16 @@ export function COption_ClosureReasonZ_none(): number {
 }
        // void COption_ClosureReasonZ_free(struct LDKCOption_ClosureReasonZ _res);
 /* @internal */
-export function COption_ClosureReasonZ_free(_res: number): void {
+export function COption_ClosureReasonZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_ClosureReasonZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_ClosureReasonZ_clone_ptr(LDKCOption_ClosureReasonZ *NONNULL_PTR arg);
+       // uint64_t COption_ClosureReasonZ_clone_ptr(LDKCOption_ClosureReasonZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_ClosureReasonZ_clone_ptr(arg: number): number {
+export function COption_ClosureReasonZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8411,7 +8439,7 @@ export function COption_ClosureReasonZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_ClosureReasonZ COption_ClosureReasonZ_clone(const struct LDKCOption_ClosureReasonZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_ClosureReasonZ_clone(orig: number): number {
+export function COption_ClosureReasonZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8420,7 +8448,7 @@ export function COption_ClosureReasonZ_clone(orig: number): number {
 }
        // struct LDKCResult_COption_ClosureReasonZDecodeErrorZ CResult_COption_ClosureReasonZDecodeErrorZ_ok(struct LDKCOption_ClosureReasonZ o);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_ok(o: number): number {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8429,7 +8457,7 @@ export function CResult_COption_ClosureReasonZDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_COption_ClosureReasonZDecodeErrorZ CResult_COption_ClosureReasonZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_err(e: number): number {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8438,7 +8466,7 @@ export function CResult_COption_ClosureReasonZDecodeErrorZ_err(e: number): numbe
 }
        // bool CResult_COption_ClosureReasonZDecodeErrorZ_is_ok(const struct LDKCResult_COption_ClosureReasonZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8447,16 +8475,16 @@ export function CResult_COption_ClosureReasonZDecodeErrorZ_is_ok(o: number): boo
 }
        // void CResult_COption_ClosureReasonZDecodeErrorZ_free(struct LDKCResult_COption_ClosureReasonZDecodeErrorZ _res);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_free(_res: number): void {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_COption_ClosureReasonZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_COption_ClosureReasonZDecodeErrorZ_clone_ptr(LDKCResult_COption_ClosureReasonZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_COption_ClosureReasonZDecodeErrorZ_clone_ptr(LDKCResult_COption_ClosureReasonZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8465,7 +8493,7 @@ export function CResult_COption_ClosureReasonZDecodeErrorZ_clone_ptr(arg: number
 }
        // struct LDKCResult_COption_ClosureReasonZDecodeErrorZ CResult_COption_ClosureReasonZDecodeErrorZ_clone(const struct LDKCResult_COption_ClosureReasonZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_COption_ClosureReasonZDecodeErrorZ_clone(orig: number): number {
+export function CResult_COption_ClosureReasonZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8474,7 +8502,7 @@ export function CResult_COption_ClosureReasonZDecodeErrorZ_clone(orig: number):
 }
        // struct LDKCOption_HTLCDestinationZ COption_HTLCDestinationZ_some(struct LDKHTLCDestination o);
 /* @internal */
-export function COption_HTLCDestinationZ_some(o: number): number {
+export function COption_HTLCDestinationZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8483,7 +8511,7 @@ export function COption_HTLCDestinationZ_some(o: number): number {
 }
        // struct LDKCOption_HTLCDestinationZ COption_HTLCDestinationZ_none(void);
 /* @internal */
-export function COption_HTLCDestinationZ_none(): number {
+export function COption_HTLCDestinationZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8492,16 +8520,16 @@ export function COption_HTLCDestinationZ_none(): number {
 }
        // void COption_HTLCDestinationZ_free(struct LDKCOption_HTLCDestinationZ _res);
 /* @internal */
-export function COption_HTLCDestinationZ_free(_res: number): void {
+export function COption_HTLCDestinationZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_HTLCDestinationZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_HTLCDestinationZ_clone_ptr(LDKCOption_HTLCDestinationZ *NONNULL_PTR arg);
+       // uint64_t COption_HTLCDestinationZ_clone_ptr(LDKCOption_HTLCDestinationZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_HTLCDestinationZ_clone_ptr(arg: number): number {
+export function COption_HTLCDestinationZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8510,7 +8538,7 @@ export function COption_HTLCDestinationZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_HTLCDestinationZ COption_HTLCDestinationZ_clone(const struct LDKCOption_HTLCDestinationZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_HTLCDestinationZ_clone(orig: number): number {
+export function COption_HTLCDestinationZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8519,7 +8547,7 @@ export function COption_HTLCDestinationZ_clone(orig: number): number {
 }
        // struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ CResult_COption_HTLCDestinationZDecodeErrorZ_ok(struct LDKCOption_HTLCDestinationZ o);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_ok(o: number): number {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8528,7 +8556,7 @@ export function CResult_COption_HTLCDestinationZDecodeErrorZ_ok(o: number): numb
 }
        // struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ CResult_COption_HTLCDestinationZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_err(e: number): number {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8537,7 +8565,7 @@ export function CResult_COption_HTLCDestinationZDecodeErrorZ_err(e: number): num
 }
        // bool CResult_COption_HTLCDestinationZDecodeErrorZ_is_ok(const struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8546,16 +8574,16 @@ export function CResult_COption_HTLCDestinationZDecodeErrorZ_is_ok(o: number): b
 }
        // void CResult_COption_HTLCDestinationZDecodeErrorZ_free(struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ _res);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_free(_res: number): void {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_COption_HTLCDestinationZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_COption_HTLCDestinationZDecodeErrorZ_clone_ptr(LDKCResult_COption_HTLCDestinationZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_COption_HTLCDestinationZDecodeErrorZ_clone_ptr(LDKCResult_COption_HTLCDestinationZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8564,7 +8592,7 @@ export function CResult_COption_HTLCDestinationZDecodeErrorZ_clone_ptr(arg: numb
 }
        // struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ CResult_COption_HTLCDestinationZDecodeErrorZ_clone(const struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_COption_HTLCDestinationZDecodeErrorZ_clone(orig: number): number {
+export function CResult_COption_HTLCDestinationZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8573,7 +8601,7 @@ export function CResult_COption_HTLCDestinationZDecodeErrorZ_clone(orig: number)
 }
        // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_some(struct LDKNetworkUpdate o);
 /* @internal */
-export function COption_NetworkUpdateZ_some(o: number): number {
+export function COption_NetworkUpdateZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8582,7 +8610,7 @@ export function COption_NetworkUpdateZ_some(o: number): number {
 }
        // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_none(void);
 /* @internal */
-export function COption_NetworkUpdateZ_none(): number {
+export function COption_NetworkUpdateZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8591,16 +8619,16 @@ export function COption_NetworkUpdateZ_none(): number {
 }
        // void COption_NetworkUpdateZ_free(struct LDKCOption_NetworkUpdateZ _res);
 /* @internal */
-export function COption_NetworkUpdateZ_free(_res: number): void {
+export function COption_NetworkUpdateZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_NetworkUpdateZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_NetworkUpdateZ_clone_ptr(LDKCOption_NetworkUpdateZ *NONNULL_PTR arg);
+       // uint64_t COption_NetworkUpdateZ_clone_ptr(LDKCOption_NetworkUpdateZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_NetworkUpdateZ_clone_ptr(arg: number): number {
+export function COption_NetworkUpdateZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8609,7 +8637,7 @@ export function COption_NetworkUpdateZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_NetworkUpdateZ COption_NetworkUpdateZ_clone(const struct LDKCOption_NetworkUpdateZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_NetworkUpdateZ_clone(orig: number): number {
+export function COption_NetworkUpdateZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8627,7 +8655,7 @@ export function CVec_SpendableOutputDescriptorZ_free(_res: number): void {
 }
        // struct LDKCOption_EventZ COption_EventZ_some(struct LDKEvent o);
 /* @internal */
-export function COption_EventZ_some(o: number): number {
+export function COption_EventZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8636,7 +8664,7 @@ export function COption_EventZ_some(o: number): number {
 }
        // struct LDKCOption_EventZ COption_EventZ_none(void);
 /* @internal */
-export function COption_EventZ_none(): number {
+export function COption_EventZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8645,16 +8673,16 @@ export function COption_EventZ_none(): number {
 }
        // void COption_EventZ_free(struct LDKCOption_EventZ _res);
 /* @internal */
-export function COption_EventZ_free(_res: number): void {
+export function COption_EventZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_EventZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_EventZ_clone_ptr(LDKCOption_EventZ *NONNULL_PTR arg);
+       // uint64_t COption_EventZ_clone_ptr(LDKCOption_EventZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_EventZ_clone_ptr(arg: number): number {
+export function COption_EventZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8663,7 +8691,7 @@ export function COption_EventZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_EventZ COption_EventZ_clone(const struct LDKCOption_EventZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_EventZ_clone(orig: number): number {
+export function COption_EventZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8672,7 +8700,7 @@ export function COption_EventZ_clone(orig: number): number {
 }
        // struct LDKCResult_COption_EventZDecodeErrorZ CResult_COption_EventZDecodeErrorZ_ok(struct LDKCOption_EventZ o);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_ok(o: number): number {
+export function CResult_COption_EventZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8681,7 +8709,7 @@ export function CResult_COption_EventZDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_COption_EventZDecodeErrorZ CResult_COption_EventZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_err(e: number): number {
+export function CResult_COption_EventZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8690,7 +8718,7 @@ export function CResult_COption_EventZDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_COption_EventZDecodeErrorZ_is_ok(const struct LDKCResult_COption_EventZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_COption_EventZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8699,16 +8727,16 @@ export function CResult_COption_EventZDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_COption_EventZDecodeErrorZ_free(struct LDKCResult_COption_EventZDecodeErrorZ _res);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_free(_res: number): void {
+export function CResult_COption_EventZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_COption_EventZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_COption_EventZDecodeErrorZ_clone_ptr(LDKCResult_COption_EventZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_COption_EventZDecodeErrorZ_clone_ptr(LDKCResult_COption_EventZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_COption_EventZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8717,7 +8745,7 @@ export function CResult_COption_EventZDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_COption_EventZDecodeErrorZ CResult_COption_EventZDecodeErrorZ_clone(const struct LDKCResult_COption_EventZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_COption_EventZDecodeErrorZ_clone(orig: number): number {
+export function CResult_COption_EventZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8735,7 +8763,7 @@ export function CVec_MessageSendEventZ_free(_res: number): void {
 }
        // struct LDKCResult_TxOutAccessErrorZ CResult_TxOutAccessErrorZ_ok(struct LDKTxOut o);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_ok(o: number): number {
+export function CResult_TxOutAccessErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8744,7 +8772,7 @@ export function CResult_TxOutAccessErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_TxOutAccessErrorZ CResult_TxOutAccessErrorZ_err(enum LDKAccessError e);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_err(e: AccessError): number {
+export function CResult_TxOutAccessErrorZ_err(e: AccessError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8753,7 +8781,7 @@ export function CResult_TxOutAccessErrorZ_err(e: AccessError): number {
 }
        // bool CResult_TxOutAccessErrorZ_is_ok(const struct LDKCResult_TxOutAccessErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_is_ok(o: number): boolean {
+export function CResult_TxOutAccessErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8762,16 +8790,16 @@ export function CResult_TxOutAccessErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_TxOutAccessErrorZ_free(struct LDKCResult_TxOutAccessErrorZ _res);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_free(_res: number): void {
+export function CResult_TxOutAccessErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_TxOutAccessErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_TxOutAccessErrorZ_clone_ptr(LDKCResult_TxOutAccessErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_TxOutAccessErrorZ_clone_ptr(LDKCResult_TxOutAccessErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_clone_ptr(arg: number): number {
+export function CResult_TxOutAccessErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8780,16 +8808,16 @@ export function CResult_TxOutAccessErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_TxOutAccessErrorZ CResult_TxOutAccessErrorZ_clone(const struct LDKCResult_TxOutAccessErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_TxOutAccessErrorZ_clone(orig: number): number {
+export function CResult_TxOutAccessErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_TxOutAccessErrorZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C2Tuple_usizeTransactionZ_clone_ptr(LDKC2Tuple_usizeTransactionZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_usizeTransactionZ_clone_ptr(LDKC2Tuple_usizeTransactionZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_usizeTransactionZ_clone_ptr(arg: number): number {
+export function C2Tuple_usizeTransactionZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8798,7 +8826,7 @@ export function C2Tuple_usizeTransactionZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_usizeTransactionZ C2Tuple_usizeTransactionZ_clone(const struct LDKC2Tuple_usizeTransactionZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_usizeTransactionZ_clone(orig: number): number {
+export function C2Tuple_usizeTransactionZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8807,7 +8835,7 @@ export function C2Tuple_usizeTransactionZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_usizeTransactionZ C2Tuple_usizeTransactionZ_new(uintptr_t a, struct LDKTransaction b);
 /* @internal */
-export function C2Tuple_usizeTransactionZ_new(a: number, b: number): number {
+export function C2Tuple_usizeTransactionZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8816,7 +8844,7 @@ export function C2Tuple_usizeTransactionZ_new(a: number, b: number): number {
 }
        // void C2Tuple_usizeTransactionZ_free(struct LDKC2Tuple_usizeTransactionZ _res);
 /* @internal */
-export function C2Tuple_usizeTransactionZ_free(_res: number): void {
+export function C2Tuple_usizeTransactionZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8843,7 +8871,7 @@ export function CVec_TxidZ_free(_res: number): void {
 }
        // struct LDKCResult_NoneChannelMonitorUpdateErrZ CResult_NoneChannelMonitorUpdateErrZ_ok(void);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_ok(): number {
+export function CResult_NoneChannelMonitorUpdateErrZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8852,7 +8880,7 @@ export function CResult_NoneChannelMonitorUpdateErrZ_ok(): number {
 }
        // struct LDKCResult_NoneChannelMonitorUpdateErrZ CResult_NoneChannelMonitorUpdateErrZ_err(enum LDKChannelMonitorUpdateErr e);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_err(e: ChannelMonitorUpdateErr): number {
+export function CResult_NoneChannelMonitorUpdateErrZ_err(e: ChannelMonitorUpdateErr): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8861,7 +8889,7 @@ export function CResult_NoneChannelMonitorUpdateErrZ_err(e: ChannelMonitorUpdate
 }
        // bool CResult_NoneChannelMonitorUpdateErrZ_is_ok(const struct LDKCResult_NoneChannelMonitorUpdateErrZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_is_ok(o: number): boolean {
+export function CResult_NoneChannelMonitorUpdateErrZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8870,16 +8898,16 @@ export function CResult_NoneChannelMonitorUpdateErrZ_is_ok(o: number): boolean {
 }
        // void CResult_NoneChannelMonitorUpdateErrZ_free(struct LDKCResult_NoneChannelMonitorUpdateErrZ _res);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_free(_res: number): void {
+export function CResult_NoneChannelMonitorUpdateErrZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NoneChannelMonitorUpdateErrZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NoneChannelMonitorUpdateErrZ_clone_ptr(LDKCResult_NoneChannelMonitorUpdateErrZ *NONNULL_PTR arg);
+       // uint64_t CResult_NoneChannelMonitorUpdateErrZ_clone_ptr(LDKCResult_NoneChannelMonitorUpdateErrZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_clone_ptr(arg: number): number {
+export function CResult_NoneChannelMonitorUpdateErrZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8888,7 +8916,7 @@ export function CResult_NoneChannelMonitorUpdateErrZ_clone_ptr(arg: number): num
 }
        // struct LDKCResult_NoneChannelMonitorUpdateErrZ CResult_NoneChannelMonitorUpdateErrZ_clone(const struct LDKCResult_NoneChannelMonitorUpdateErrZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NoneChannelMonitorUpdateErrZ_clone(orig: number): number {
+export function CResult_NoneChannelMonitorUpdateErrZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8904,9 +8932,9 @@ export function CVec_MonitorEventZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_MonitorEventZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ *NONNULL_PTR arg);
+       // uint64_t C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ *NONNULL_PTR arg);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(arg: number): number {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8915,7 +8943,7 @@ export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(arg: numb
 }
        // struct LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone(const struct LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ *NONNULL_PTR orig);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone(orig: number): number {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8924,7 +8952,7 @@ export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone(orig: number)
 }
        // struct LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_new(struct LDKOutPoint a, struct LDKCVec_MonitorEventZ b, struct LDKPublicKey c);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_new(a: number, b: number, c: number): number {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_new(a: bigint, b: number, c: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8933,7 +8961,7 @@ export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_new(a: number, b: n
 }
        // void C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_free(struct LDKC3Tuple_OutPointCVec_MonitorEventZPublicKeyZ _res);
 /* @internal */
-export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_free(_res: number): void {
+export function C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8951,7 +8979,7 @@ export function CVec_C3Tuple_OutPointCVec_MonitorEventZPublicKeyZZ_free(_res: nu
 }
        // struct LDKCOption_C2Tuple_usizeTransactionZZ COption_C2Tuple_usizeTransactionZZ_some(struct LDKC2Tuple_usizeTransactionZ o);
 /* @internal */
-export function COption_C2Tuple_usizeTransactionZZ_some(o: number): number {
+export function COption_C2Tuple_usizeTransactionZZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8960,7 +8988,7 @@ export function COption_C2Tuple_usizeTransactionZZ_some(o: number): number {
 }
        // struct LDKCOption_C2Tuple_usizeTransactionZZ COption_C2Tuple_usizeTransactionZZ_none(void);
 /* @internal */
-export function COption_C2Tuple_usizeTransactionZZ_none(): number {
+export function COption_C2Tuple_usizeTransactionZZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8969,16 +8997,16 @@ export function COption_C2Tuple_usizeTransactionZZ_none(): number {
 }
        // void COption_C2Tuple_usizeTransactionZZ_free(struct LDKCOption_C2Tuple_usizeTransactionZZ _res);
 /* @internal */
-export function COption_C2Tuple_usizeTransactionZZ_free(_res: number): void {
+export function COption_C2Tuple_usizeTransactionZZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_C2Tuple_usizeTransactionZZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_C2Tuple_usizeTransactionZZ_clone_ptr(LDKCOption_C2Tuple_usizeTransactionZZ *NONNULL_PTR arg);
+       // uint64_t COption_C2Tuple_usizeTransactionZZ_clone_ptr(LDKCOption_C2Tuple_usizeTransactionZZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_C2Tuple_usizeTransactionZZ_clone_ptr(arg: number): number {
+export function COption_C2Tuple_usizeTransactionZZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8987,7 +9015,7 @@ export function COption_C2Tuple_usizeTransactionZZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCOption_C2Tuple_usizeTransactionZZ COption_C2Tuple_usizeTransactionZZ_clone(const struct LDKCOption_C2Tuple_usizeTransactionZZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_C2Tuple_usizeTransactionZZ_clone(orig: number): number {
+export function COption_C2Tuple_usizeTransactionZZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -8996,7 +9024,7 @@ export function COption_C2Tuple_usizeTransactionZZ_clone(orig: number): number {
 }
        // struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_ok(struct LDKFixedPenaltyScorer o);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_ok(o: number): number {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9005,7 +9033,7 @@ export function CResult_FixedPenaltyScorerDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_err(e: number): number {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9014,7 +9042,7 @@ export function CResult_FixedPenaltyScorerDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(const struct LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9023,16 +9051,16 @@ export function CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_FixedPenaltyScorerDecodeErrorZ_free(struct LDKCResult_FixedPenaltyScorerDecodeErrorZ _res);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_free(_res: number): void {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_FixedPenaltyScorerDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_FixedPenaltyScorerDecodeErrorZ_clone_ptr(LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_FixedPenaltyScorerDecodeErrorZ_clone_ptr(LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9041,16 +9069,16 @@ export function CResult_FixedPenaltyScorerDecodeErrorZ_clone_ptr(arg: number): n
 }
        // struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_clone(const struct LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_FixedPenaltyScorerDecodeErrorZ_clone(orig: number): number {
+export function CResult_FixedPenaltyScorerDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_FixedPenaltyScorerDecodeErrorZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C2Tuple_u64u64Z_clone_ptr(LDKC2Tuple_u64u64Z *NONNULL_PTR arg);
+       // uint64_t C2Tuple_u64u64Z_clone_ptr(LDKC2Tuple_u64u64Z *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_u64u64Z_clone_ptr(arg: number): number {
+export function C2Tuple_u64u64Z_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9059,7 +9087,7 @@ export function C2Tuple_u64u64Z_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_u64u64Z C2Tuple_u64u64Z_clone(const struct LDKC2Tuple_u64u64Z *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_u64u64Z_clone(orig: number): number {
+export function C2Tuple_u64u64Z_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9068,7 +9096,7 @@ export function C2Tuple_u64u64Z_clone(orig: number): number {
 }
        // struct LDKC2Tuple_u64u64Z C2Tuple_u64u64Z_new(uint64_t a, uint64_t b);
 /* @internal */
-export function C2Tuple_u64u64Z_new(a: bigint, b: bigint): number {
+export function C2Tuple_u64u64Z_new(a: bigint, b: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9077,7 +9105,7 @@ export function C2Tuple_u64u64Z_new(a: bigint, b: bigint): number {
 }
        // void C2Tuple_u64u64Z_free(struct LDKC2Tuple_u64u64Z _res);
 /* @internal */
-export function C2Tuple_u64u64Z_free(_res: number): void {
+export function C2Tuple_u64u64Z_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9086,7 +9114,7 @@ export function C2Tuple_u64u64Z_free(_res: number): void {
 }
        // struct LDKCOption_C2Tuple_u64u64ZZ COption_C2Tuple_u64u64ZZ_some(struct LDKC2Tuple_u64u64Z o);
 /* @internal */
-export function COption_C2Tuple_u64u64ZZ_some(o: number): number {
+export function COption_C2Tuple_u64u64ZZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9095,7 +9123,7 @@ export function COption_C2Tuple_u64u64ZZ_some(o: number): number {
 }
        // struct LDKCOption_C2Tuple_u64u64ZZ COption_C2Tuple_u64u64ZZ_none(void);
 /* @internal */
-export function COption_C2Tuple_u64u64ZZ_none(): number {
+export function COption_C2Tuple_u64u64ZZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9104,16 +9132,16 @@ export function COption_C2Tuple_u64u64ZZ_none(): number {
 }
        // void COption_C2Tuple_u64u64ZZ_free(struct LDKCOption_C2Tuple_u64u64ZZ _res);
 /* @internal */
-export function COption_C2Tuple_u64u64ZZ_free(_res: number): void {
+export function COption_C2Tuple_u64u64ZZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_C2Tuple_u64u64ZZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_C2Tuple_u64u64ZZ_clone_ptr(LDKCOption_C2Tuple_u64u64ZZ *NONNULL_PTR arg);
+       // uint64_t COption_C2Tuple_u64u64ZZ_clone_ptr(LDKCOption_C2Tuple_u64u64ZZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_C2Tuple_u64u64ZZ_clone_ptr(arg: number): number {
+export function COption_C2Tuple_u64u64ZZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9122,7 +9150,7 @@ export function COption_C2Tuple_u64u64ZZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_C2Tuple_u64u64ZZ COption_C2Tuple_u64u64ZZ_clone(const struct LDKCOption_C2Tuple_u64u64ZZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_C2Tuple_u64u64ZZ_clone(orig: number): number {
+export function COption_C2Tuple_u64u64ZZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9140,7 +9168,7 @@ export function CVec_NodeIdZ_free(_res: number): void {
 }
        // struct LDKCResult_ProbabilisticScorerDecodeErrorZ CResult_ProbabilisticScorerDecodeErrorZ_ok(struct LDKProbabilisticScorer o);
 /* @internal */
-export function CResult_ProbabilisticScorerDecodeErrorZ_ok(o: number): number {
+export function CResult_ProbabilisticScorerDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9149,7 +9177,7 @@ export function CResult_ProbabilisticScorerDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ProbabilisticScorerDecodeErrorZ CResult_ProbabilisticScorerDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ProbabilisticScorerDecodeErrorZ_err(e: number): number {
+export function CResult_ProbabilisticScorerDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9158,7 +9186,7 @@ export function CResult_ProbabilisticScorerDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ProbabilisticScorerDecodeErrorZ_is_ok(const struct LDKCResult_ProbabilisticScorerDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ProbabilisticScorerDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ProbabilisticScorerDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9167,7 +9195,7 @@ export function CResult_ProbabilisticScorerDecodeErrorZ_is_ok(o: number): boolea
 }
        // void CResult_ProbabilisticScorerDecodeErrorZ_free(struct LDKCResult_ProbabilisticScorerDecodeErrorZ _res);
 /* @internal */
-export function CResult_ProbabilisticScorerDecodeErrorZ_free(_res: number): void {
+export function CResult_ProbabilisticScorerDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9176,7 +9204,7 @@ export function CResult_ProbabilisticScorerDecodeErrorZ_free(_res: number): void
 }
        // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_ok(struct LDKInitFeatures o);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_ok(o: number): number {
+export function CResult_InitFeaturesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9185,7 +9213,7 @@ export function CResult_InitFeaturesDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_err(e: number): number {
+export function CResult_InitFeaturesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9194,7 +9222,7 @@ export function CResult_InitFeaturesDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_InitFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_InitFeaturesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9203,16 +9231,16 @@ export function CResult_InitFeaturesDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InitFeaturesDecodeErrorZ_free(struct LDKCResult_InitFeaturesDecodeErrorZ _res);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_free(_res: number): void {
+export function CResult_InitFeaturesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InitFeaturesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InitFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9221,7 +9249,7 @@ export function CResult_InitFeaturesDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_InitFeaturesDecodeErrorZ CResult_InitFeaturesDecodeErrorZ_clone(const struct LDKCResult_InitFeaturesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InitFeaturesDecodeErrorZ_clone(orig: number): number {
+export function CResult_InitFeaturesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9230,7 +9258,7 @@ export function CResult_InitFeaturesDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_ok(struct LDKChannelFeatures o);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelFeaturesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9239,7 +9267,7 @@ export function CResult_ChannelFeaturesDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelFeaturesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9248,7 +9276,7 @@ export function CResult_ChannelFeaturesDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelFeaturesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9257,16 +9285,16 @@ export function CResult_ChannelFeaturesDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ChannelFeaturesDecodeErrorZ_free(struct LDKCResult_ChannelFeaturesDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelFeaturesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelFeaturesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9275,7 +9303,7 @@ export function CResult_ChannelFeaturesDecodeErrorZ_clone_ptr(arg: number): numb
 }
        // struct LDKCResult_ChannelFeaturesDecodeErrorZ CResult_ChannelFeaturesDecodeErrorZ_clone(const struct LDKCResult_ChannelFeaturesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelFeaturesDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelFeaturesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9284,7 +9312,7 @@ export function CResult_ChannelFeaturesDecodeErrorZ_clone(orig: number): number
 }
        // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_ok(struct LDKNodeFeatures o);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_ok(o: number): number {
+export function CResult_NodeFeaturesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9293,7 +9321,7 @@ export function CResult_NodeFeaturesDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_err(e: number): number {
+export function CResult_NodeFeaturesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9302,7 +9330,7 @@ export function CResult_NodeFeaturesDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NodeFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NodeFeaturesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9311,16 +9339,16 @@ export function CResult_NodeFeaturesDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NodeFeaturesDecodeErrorZ_free(struct LDKCResult_NodeFeaturesDecodeErrorZ _res);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_free(_res: number): void {
+export function CResult_NodeFeaturesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NodeFeaturesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NodeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9329,7 +9357,7 @@ export function CResult_NodeFeaturesDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_NodeFeaturesDecodeErrorZ CResult_NodeFeaturesDecodeErrorZ_clone(const struct LDKCResult_NodeFeaturesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NodeFeaturesDecodeErrorZ_clone(orig: number): number {
+export function CResult_NodeFeaturesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9338,7 +9366,7 @@ export function CResult_NodeFeaturesDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_InvoiceFeaturesDecodeErrorZ CResult_InvoiceFeaturesDecodeErrorZ_ok(struct LDKInvoiceFeatures o);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_ok(o: number): number {
+export function CResult_InvoiceFeaturesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9347,7 +9375,7 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InvoiceFeaturesDecodeErrorZ CResult_InvoiceFeaturesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_err(e: number): number {
+export function CResult_InvoiceFeaturesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9356,7 +9384,7 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_InvoiceFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_InvoiceFeaturesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_InvoiceFeaturesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9365,16 +9393,16 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InvoiceFeaturesDecodeErrorZ_free(struct LDKCResult_InvoiceFeaturesDecodeErrorZ _res);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_free(_res: number): void {
+export function CResult_InvoiceFeaturesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InvoiceFeaturesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InvoiceFeaturesDecodeErrorZ_clone_ptr(LDKCResult_InvoiceFeaturesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9383,7 +9411,7 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_clone_ptr(arg: number): numb
 }
        // struct LDKCResult_InvoiceFeaturesDecodeErrorZ CResult_InvoiceFeaturesDecodeErrorZ_clone(const struct LDKCResult_InvoiceFeaturesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InvoiceFeaturesDecodeErrorZ_clone(orig: number): number {
+export function CResult_InvoiceFeaturesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9392,7 +9420,7 @@ export function CResult_InvoiceFeaturesDecodeErrorZ_clone(orig: number): number
 }
        // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_ok(struct LDKChannelTypeFeatures o);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9401,7 +9429,7 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9410,7 +9438,7 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(const struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9419,16 +9447,16 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_is_ok(o: number): boolea
 }
        // void CResult_ChannelTypeFeaturesDecodeErrorZ_free(struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelTypeFeaturesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9437,7 +9465,7 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ CResult_ChannelTypeFeaturesDecodeErrorZ_clone(const struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9446,7 +9474,7 @@ export function CResult_ChannelTypeFeaturesDecodeErrorZ_clone(orig: number): num
 }
        // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_ok(struct LDKNodeId o);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_ok(o: number): number {
+export function CResult_NodeIdDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9455,7 +9483,7 @@ export function CResult_NodeIdDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_err(e: number): number {
+export function CResult_NodeIdDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9464,7 +9492,7 @@ export function CResult_NodeIdDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NodeIdDecodeErrorZ_is_ok(const struct LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NodeIdDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9473,16 +9501,16 @@ export function CResult_NodeIdDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NodeIdDecodeErrorZ_free(struct LDKCResult_NodeIdDecodeErrorZ _res);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_free(_res: number): void {
+export function CResult_NodeIdDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NodeIdDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NodeIdDecodeErrorZ_clone_ptr(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NodeIdDecodeErrorZ_clone_ptr(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NodeIdDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9491,7 +9519,7 @@ export function CResult_NodeIdDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NodeIdDecodeErrorZ CResult_NodeIdDecodeErrorZ_clone(const struct LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NodeIdDecodeErrorZ_clone(orig: number): number {
+export function CResult_NodeIdDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9500,7 +9528,7 @@ export function CResult_NodeIdDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_ok(struct LDKCOption_NetworkUpdateZ o);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o: number): number {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9509,7 +9537,7 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_err(e: number): number {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9518,7 +9546,7 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_err(e: number): numbe
 }
        // bool CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(const struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9527,16 +9555,16 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_is_ok(o: number): boo
 }
        // void CResult_COption_NetworkUpdateZDecodeErrorZ_free(struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ _res);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res: number): void {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_COption_NetworkUpdateZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9545,7 +9573,7 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone_ptr(arg: number
 }
        // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ CResult_COption_NetworkUpdateZDecodeErrorZ_clone(const struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig: number): number {
+export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9554,7 +9582,7 @@ export function CResult_COption_NetworkUpdateZDecodeErrorZ_clone(orig: number):
 }
        // struct LDKCOption_AccessZ COption_AccessZ_some(struct LDKAccess o);
 /* @internal */
-export function COption_AccessZ_some(o: number): number {
+export function COption_AccessZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9563,7 +9591,7 @@ export function COption_AccessZ_some(o: number): number {
 }
        // struct LDKCOption_AccessZ COption_AccessZ_none(void);
 /* @internal */
-export function COption_AccessZ_none(): number {
+export function COption_AccessZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9572,7 +9600,7 @@ export function COption_AccessZ_none(): number {
 }
        // void COption_AccessZ_free(struct LDKCOption_AccessZ _res);
 /* @internal */
-export function COption_AccessZ_free(_res: number): void {
+export function COption_AccessZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9581,7 +9609,7 @@ export function COption_AccessZ_free(_res: number): void {
 }
        // struct LDKCResult_boolLightningErrorZ CResult_boolLightningErrorZ_ok(bool o);
 /* @internal */
-export function CResult_boolLightningErrorZ_ok(o: boolean): number {
+export function CResult_boolLightningErrorZ_ok(o: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9590,7 +9618,7 @@ export function CResult_boolLightningErrorZ_ok(o: boolean): number {
 }
        // struct LDKCResult_boolLightningErrorZ CResult_boolLightningErrorZ_err(struct LDKLightningError e);
 /* @internal */
-export function CResult_boolLightningErrorZ_err(e: number): number {
+export function CResult_boolLightningErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9599,7 +9627,7 @@ export function CResult_boolLightningErrorZ_err(e: number): number {
 }
        // bool CResult_boolLightningErrorZ_is_ok(const struct LDKCResult_boolLightningErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_boolLightningErrorZ_is_ok(o: number): boolean {
+export function CResult_boolLightningErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9608,16 +9636,16 @@ export function CResult_boolLightningErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_boolLightningErrorZ_free(struct LDKCResult_boolLightningErrorZ _res);
 /* @internal */
-export function CResult_boolLightningErrorZ_free(_res: number): void {
+export function CResult_boolLightningErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_boolLightningErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_boolLightningErrorZ_clone_ptr(LDKCResult_boolLightningErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_boolLightningErrorZ_clone_ptr(LDKCResult_boolLightningErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_boolLightningErrorZ_clone_ptr(arg: number): number {
+export function CResult_boolLightningErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9626,16 +9654,16 @@ export function CResult_boolLightningErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_boolLightningErrorZ CResult_boolLightningErrorZ_clone(const struct LDKCResult_boolLightningErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_boolLightningErrorZ_clone(orig: number): number {
+export function CResult_boolLightningErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_boolLightningErrorZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone_ptr(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR arg);
+       // uint64_t C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone_ptr(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR arg);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone_ptr(arg: number): number {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9644,7 +9672,7 @@ export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone_ptr
 }
        // struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone(const struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR orig);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone(orig: number): number {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9653,7 +9681,7 @@ export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone(ori
 }
        // struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(struct LDKChannelAnnouncement a, struct LDKChannelUpdate b, struct LDKChannelUpdate c);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(a: number, b: number, c: number): number {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(a: bigint, b: bigint, c: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9662,7 +9690,7 @@ export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(a: nu
 }
        // void C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free(struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ _res);
 /* @internal */
-export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free(_res: number): void {
+export function C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9689,7 +9717,7 @@ export function CVec_NodeAnnouncementZ_free(_res: number): void {
 }
        // struct LDKCResult_NoneLightningErrorZ CResult_NoneLightningErrorZ_ok(void);
 /* @internal */
-export function CResult_NoneLightningErrorZ_ok(): number {
+export function CResult_NoneLightningErrorZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9698,7 +9726,7 @@ export function CResult_NoneLightningErrorZ_ok(): number {
 }
        // struct LDKCResult_NoneLightningErrorZ CResult_NoneLightningErrorZ_err(struct LDKLightningError e);
 /* @internal */
-export function CResult_NoneLightningErrorZ_err(e: number): number {
+export function CResult_NoneLightningErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9707,7 +9735,7 @@ export function CResult_NoneLightningErrorZ_err(e: number): number {
 }
        // bool CResult_NoneLightningErrorZ_is_ok(const struct LDKCResult_NoneLightningErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NoneLightningErrorZ_is_ok(o: number): boolean {
+export function CResult_NoneLightningErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9716,16 +9744,16 @@ export function CResult_NoneLightningErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NoneLightningErrorZ_free(struct LDKCResult_NoneLightningErrorZ _res);
 /* @internal */
-export function CResult_NoneLightningErrorZ_free(_res: number): void {
+export function CResult_NoneLightningErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NoneLightningErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NoneLightningErrorZ_clone_ptr(LDKCResult_NoneLightningErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NoneLightningErrorZ_clone_ptr(LDKCResult_NoneLightningErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NoneLightningErrorZ_clone_ptr(arg: number): number {
+export function CResult_NoneLightningErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9734,7 +9762,7 @@ export function CResult_NoneLightningErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NoneLightningErrorZ CResult_NoneLightningErrorZ_clone(const struct LDKCResult_NoneLightningErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NoneLightningErrorZ_clone(orig: number): number {
+export function CResult_NoneLightningErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9743,7 +9771,7 @@ export function CResult_NoneLightningErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_ok(struct LDKChannelUpdateInfo o);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9752,7 +9780,7 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9761,7 +9789,7 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(const struct LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9770,16 +9798,16 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_ChannelUpdateInfoDecodeErrorZ_free(struct LDKCResult_ChannelUpdateInfoDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelUpdateInfoDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelUpdateInfoDecodeErrorZ_clone_ptr(LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelUpdateInfoDecodeErrorZ_clone_ptr(LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9788,7 +9816,7 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_clone(const struct LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelUpdateInfoDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelUpdateInfoDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9797,7 +9825,7 @@ export function CResult_ChannelUpdateInfoDecodeErrorZ_clone(orig: number): numbe
 }
        // struct LDKCResult_ChannelInfoDecodeErrorZ CResult_ChannelInfoDecodeErrorZ_ok(struct LDKChannelInfo o);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelInfoDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9806,7 +9834,7 @@ export function CResult_ChannelInfoDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelInfoDecodeErrorZ CResult_ChannelInfoDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelInfoDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9815,7 +9843,7 @@ export function CResult_ChannelInfoDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelInfoDecodeErrorZ_is_ok(const struct LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelInfoDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9824,16 +9852,16 @@ export function CResult_ChannelInfoDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ChannelInfoDecodeErrorZ_free(struct LDKCResult_ChannelInfoDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelInfoDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelInfoDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelInfoDecodeErrorZ_clone_ptr(LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelInfoDecodeErrorZ_clone_ptr(LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelInfoDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9842,7 +9870,7 @@ export function CResult_ChannelInfoDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_ChannelInfoDecodeErrorZ CResult_ChannelInfoDecodeErrorZ_clone(const struct LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelInfoDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelInfoDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9851,7 +9879,7 @@ export function CResult_ChannelInfoDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_RoutingFeesDecodeErrorZ CResult_RoutingFeesDecodeErrorZ_ok(struct LDKRoutingFees o);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_ok(o: number): number {
+export function CResult_RoutingFeesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9860,7 +9888,7 @@ export function CResult_RoutingFeesDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RoutingFeesDecodeErrorZ CResult_RoutingFeesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_err(e: number): number {
+export function CResult_RoutingFeesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9869,7 +9897,7 @@ export function CResult_RoutingFeesDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RoutingFeesDecodeErrorZ_is_ok(const struct LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RoutingFeesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9878,16 +9906,16 @@ export function CResult_RoutingFeesDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RoutingFeesDecodeErrorZ_free(struct LDKCResult_RoutingFeesDecodeErrorZ _res);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_free(_res: number): void {
+export function CResult_RoutingFeesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RoutingFeesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RoutingFeesDecodeErrorZ_clone_ptr(LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RoutingFeesDecodeErrorZ_clone_ptr(LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RoutingFeesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9896,7 +9924,7 @@ export function CResult_RoutingFeesDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_RoutingFeesDecodeErrorZ CResult_RoutingFeesDecodeErrorZ_clone(const struct LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RoutingFeesDecodeErrorZ_clone(orig: number): number {
+export function CResult_RoutingFeesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9914,7 +9942,7 @@ export function CVec_NetAddressZ_free(_res: number): void {
 }
        // struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ CResult_NodeAnnouncementInfoDecodeErrorZ_ok(struct LDKNodeAnnouncementInfo o);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_ok(o: number): number {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9923,7 +9951,7 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ CResult_NodeAnnouncementInfoDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_err(e: number): number {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9932,7 +9960,7 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_err(e: number): number
 }
        // bool CResult_NodeAnnouncementInfoDecodeErrorZ_is_ok(const struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9941,16 +9969,16 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_is_ok(o: number): boole
 }
        // void CResult_NodeAnnouncementInfoDecodeErrorZ_free(struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ _res);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_free(_res: number): void {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NodeAnnouncementInfoDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NodeAnnouncementInfoDecodeErrorZ_clone_ptr(LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NodeAnnouncementInfoDecodeErrorZ_clone_ptr(LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9959,7 +9987,7 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ CResult_NodeAnnouncementInfoDecodeErrorZ_clone(const struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NodeAnnouncementInfoDecodeErrorZ_clone(orig: number): number {
+export function CResult_NodeAnnouncementInfoDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9968,7 +9996,7 @@ export function CResult_NodeAnnouncementInfoDecodeErrorZ_clone(orig: number): nu
 }
        // struct LDKCResult_NodeAliasDecodeErrorZ CResult_NodeAliasDecodeErrorZ_ok(struct LDKNodeAlias o);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_ok(o: number): number {
+export function CResult_NodeAliasDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9977,7 +10005,7 @@ export function CResult_NodeAliasDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NodeAliasDecodeErrorZ CResult_NodeAliasDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_err(e: number): number {
+export function CResult_NodeAliasDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9986,7 +10014,7 @@ export function CResult_NodeAliasDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NodeAliasDecodeErrorZ_is_ok(const struct LDKCResult_NodeAliasDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NodeAliasDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -9995,16 +10023,16 @@ export function CResult_NodeAliasDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NodeAliasDecodeErrorZ_free(struct LDKCResult_NodeAliasDecodeErrorZ _res);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_free(_res: number): void {
+export function CResult_NodeAliasDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NodeAliasDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NodeAliasDecodeErrorZ_clone_ptr(LDKCResult_NodeAliasDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NodeAliasDecodeErrorZ_clone_ptr(LDKCResult_NodeAliasDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NodeAliasDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10013,7 +10041,7 @@ export function CResult_NodeAliasDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NodeAliasDecodeErrorZ CResult_NodeAliasDecodeErrorZ_clone(const struct LDKCResult_NodeAliasDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NodeAliasDecodeErrorZ_clone(orig: number): number {
+export function CResult_NodeAliasDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10022,7 +10050,7 @@ export function CResult_NodeAliasDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_NodeInfoDecodeErrorZ CResult_NodeInfoDecodeErrorZ_ok(struct LDKNodeInfo o);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_ok(o: number): number {
+export function CResult_NodeInfoDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10031,7 +10059,7 @@ export function CResult_NodeInfoDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NodeInfoDecodeErrorZ CResult_NodeInfoDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_err(e: number): number {
+export function CResult_NodeInfoDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10040,7 +10068,7 @@ export function CResult_NodeInfoDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NodeInfoDecodeErrorZ_is_ok(const struct LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NodeInfoDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10049,16 +10077,16 @@ export function CResult_NodeInfoDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NodeInfoDecodeErrorZ_free(struct LDKCResult_NodeInfoDecodeErrorZ _res);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_free(_res: number): void {
+export function CResult_NodeInfoDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NodeInfoDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NodeInfoDecodeErrorZ_clone_ptr(LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NodeInfoDecodeErrorZ_clone_ptr(LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NodeInfoDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10067,7 +10095,7 @@ export function CResult_NodeInfoDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NodeInfoDecodeErrorZ CResult_NodeInfoDecodeErrorZ_clone(const struct LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NodeInfoDecodeErrorZ_clone(orig: number): number {
+export function CResult_NodeInfoDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10076,7 +10104,7 @@ export function CResult_NodeInfoDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_NetworkGraphDecodeErrorZ CResult_NetworkGraphDecodeErrorZ_ok(struct LDKNetworkGraph o);
 /* @internal */
-export function CResult_NetworkGraphDecodeErrorZ_ok(o: number): number {
+export function CResult_NetworkGraphDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10085,7 +10113,7 @@ export function CResult_NetworkGraphDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NetworkGraphDecodeErrorZ CResult_NetworkGraphDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NetworkGraphDecodeErrorZ_err(e: number): number {
+export function CResult_NetworkGraphDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10094,7 +10122,7 @@ export function CResult_NetworkGraphDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NetworkGraphDecodeErrorZ_is_ok(const struct LDKCResult_NetworkGraphDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NetworkGraphDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NetworkGraphDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10103,7 +10131,7 @@ export function CResult_NetworkGraphDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NetworkGraphDecodeErrorZ_free(struct LDKCResult_NetworkGraphDecodeErrorZ _res);
 /* @internal */
-export function CResult_NetworkGraphDecodeErrorZ_free(_res: number): void {
+export function CResult_NetworkGraphDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10112,7 +10140,7 @@ export function CResult_NetworkGraphDecodeErrorZ_free(_res: number): void {
 }
        // struct LDKCOption_CVec_NetAddressZZ COption_CVec_NetAddressZZ_some(struct LDKCVec_NetAddressZ o);
 /* @internal */
-export function COption_CVec_NetAddressZZ_some(o: number): number {
+export function COption_CVec_NetAddressZZ_some(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10121,7 +10149,7 @@ export function COption_CVec_NetAddressZZ_some(o: number): number {
 }
        // struct LDKCOption_CVec_NetAddressZZ COption_CVec_NetAddressZZ_none(void);
 /* @internal */
-export function COption_CVec_NetAddressZZ_none(): number {
+export function COption_CVec_NetAddressZZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10130,16 +10158,16 @@ export function COption_CVec_NetAddressZZ_none(): number {
 }
        // void COption_CVec_NetAddressZZ_free(struct LDKCOption_CVec_NetAddressZZ _res);
 /* @internal */
-export function COption_CVec_NetAddressZZ_free(_res: number): void {
+export function COption_CVec_NetAddressZZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_CVec_NetAddressZZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_CVec_NetAddressZZ_clone_ptr(LDKCOption_CVec_NetAddressZZ *NONNULL_PTR arg);
+       // uint64_t COption_CVec_NetAddressZZ_clone_ptr(LDKCOption_CVec_NetAddressZZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_CVec_NetAddressZZ_clone_ptr(arg: number): number {
+export function COption_CVec_NetAddressZZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10148,7 +10176,7 @@ export function COption_CVec_NetAddressZZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_CVec_NetAddressZZ COption_CVec_NetAddressZZ_clone(const struct LDKCOption_CVec_NetAddressZZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_CVec_NetAddressZZ_clone(orig: number): number {
+export function COption_CVec_NetAddressZZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10157,7 +10185,7 @@ export function COption_CVec_NetAddressZZ_clone(orig: number): number {
 }
        // struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_ok(struct LDKDelayedPaymentOutputDescriptor o);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_ok(o: number): number {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10166,7 +10194,7 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_ok(o: number)
 }
        // struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_err(e: number): number {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10175,7 +10203,7 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_err(e: number
 }
        // bool CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_is_ok(const struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10184,16 +10212,16 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_is_ok(o: numb
 }
        // void CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_free(struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ _res);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_free(_res: number): void {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone_ptr(LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone_ptr(LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10202,7 +10230,7 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone_ptr(arg
 }
        // struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone(const struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone(orig: number): number {
+export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10211,7 +10239,7 @@ export function CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_clone(orig: n
 }
        // struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ CResult_StaticPaymentOutputDescriptorDecodeErrorZ_ok(struct LDKStaticPaymentOutputDescriptor o);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_ok(o: number): number {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10220,7 +10248,7 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_ok(o: number):
 }
        // struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ CResult_StaticPaymentOutputDescriptorDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_err(e: number): number {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10229,7 +10257,7 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_err(e: number)
 }
        // bool CResult_StaticPaymentOutputDescriptorDecodeErrorZ_is_ok(const struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10238,16 +10266,16 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_is_ok(o: numbe
 }
        // void CResult_StaticPaymentOutputDescriptorDecodeErrorZ_free(struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ _res);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_free(_res: number): void {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_StaticPaymentOutputDescriptorDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone_ptr(LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone_ptr(LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10256,7 +10284,7 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone_ptr(arg:
 }
        // struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone(const struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone(orig: number): number {
+export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10265,7 +10293,7 @@ export function CResult_StaticPaymentOutputDescriptorDecodeErrorZ_clone(orig: nu
 }
        // struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ CResult_SpendableOutputDescriptorDecodeErrorZ_ok(struct LDKSpendableOutputDescriptor o);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_ok(o: number): number {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10274,7 +10302,7 @@ export function CResult_SpendableOutputDescriptorDecodeErrorZ_ok(o: number): num
 }
        // struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ CResult_SpendableOutputDescriptorDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_err(e: number): number {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10283,7 +10311,7 @@ export function CResult_SpendableOutputDescriptorDecodeErrorZ_err(e: number): nu
 }
        // bool CResult_SpendableOutputDescriptorDecodeErrorZ_is_ok(const struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10292,16 +10320,16 @@ export function CResult_SpendableOutputDescriptorDecodeErrorZ_is_ok(o: number):
 }
        // void CResult_SpendableOutputDescriptorDecodeErrorZ_free(struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ _res);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_free(_res: number): void {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SpendableOutputDescriptorDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SpendableOutputDescriptorDecodeErrorZ_clone_ptr(LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_SpendableOutputDescriptorDecodeErrorZ_clone_ptr(LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10310,7 +10338,7 @@ export function CResult_SpendableOutputDescriptorDecodeErrorZ_clone_ptr(arg: num
 }
        // struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ CResult_SpendableOutputDescriptorDecodeErrorZ_clone(const struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SpendableOutputDescriptorDecodeErrorZ_clone(orig: number): number {
+export function CResult_SpendableOutputDescriptorDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10326,9 +10354,9 @@ export function CVec_PaymentPreimageZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_PaymentPreimageZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_SignatureCVec_SignatureZZ_clone_ptr(LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_SignatureCVec_SignatureZZ_clone_ptr(LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_SignatureCVec_SignatureZZ_clone_ptr(arg: number): number {
+export function C2Tuple_SignatureCVec_SignatureZZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10337,7 +10365,7 @@ export function C2Tuple_SignatureCVec_SignatureZZ_clone_ptr(arg: number): number
 }
        // struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_clone(const struct LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_SignatureCVec_SignatureZZ_clone(orig: number): number {
+export function C2Tuple_SignatureCVec_SignatureZZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10346,7 +10374,7 @@ export function C2Tuple_SignatureCVec_SignatureZZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new(struct LDKSignature a, struct LDKCVec_SignatureZ b);
 /* @internal */
-export function C2Tuple_SignatureCVec_SignatureZZ_new(a: number, b: number): number {
+export function C2Tuple_SignatureCVec_SignatureZZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10355,7 +10383,7 @@ export function C2Tuple_SignatureCVec_SignatureZZ_new(a: number, b: number): num
 }
        // void C2Tuple_SignatureCVec_SignatureZZ_free(struct LDKC2Tuple_SignatureCVec_SignatureZZ _res);
 /* @internal */
-export function C2Tuple_SignatureCVec_SignatureZZ_free(_res: number): void {
+export function C2Tuple_SignatureCVec_SignatureZZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10364,7 +10392,7 @@ export function C2Tuple_SignatureCVec_SignatureZZ_free(_res: number): void {
 }
        // struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(struct LDKC2Tuple_SignatureCVec_SignatureZZ o);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(o: number): number {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10373,7 +10401,7 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(o: number): nu
 }
        // struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(void);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(): number {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10382,7 +10410,7 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(): number {
 }
        // bool CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10391,16 +10419,16 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(o: number):
 }
        // void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ _res);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(_res: number): void {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone_ptr(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone_ptr(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone_ptr(arg: number): number {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10409,7 +10437,7 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone_ptr(arg: nu
 }
        // struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(orig: number): number {
+export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10418,7 +10446,7 @@ export function CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(orig: numbe
 }
        // struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_ok(struct LDKSignature o);
 /* @internal */
-export function CResult_SignatureNoneZ_ok(o: number): number {
+export function CResult_SignatureNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10427,7 +10455,7 @@ export function CResult_SignatureNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_err(void);
 /* @internal */
-export function CResult_SignatureNoneZ_err(): number {
+export function CResult_SignatureNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10436,7 +10464,7 @@ export function CResult_SignatureNoneZ_err(): number {
 }
        // bool CResult_SignatureNoneZ_is_ok(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SignatureNoneZ_is_ok(o: number): boolean {
+export function CResult_SignatureNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10445,16 +10473,16 @@ export function CResult_SignatureNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_SignatureNoneZ_free(struct LDKCResult_SignatureNoneZ _res);
 /* @internal */
-export function CResult_SignatureNoneZ_free(_res: number): void {
+export function CResult_SignatureNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SignatureNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SignatureNoneZ_clone_ptr(LDKCResult_SignatureNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_SignatureNoneZ_clone_ptr(LDKCResult_SignatureNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SignatureNoneZ_clone_ptr(arg: number): number {
+export function CResult_SignatureNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10463,16 +10491,16 @@ export function CResult_SignatureNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_clone(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SignatureNoneZ_clone(orig: number): number {
+export function CResult_SignatureNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SignatureNoneZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C2Tuple_SignatureSignatureZ_clone_ptr(LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_SignatureSignatureZ_clone_ptr(LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_SignatureSignatureZ_clone_ptr(arg: number): number {
+export function C2Tuple_SignatureSignatureZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10481,7 +10509,7 @@ export function C2Tuple_SignatureSignatureZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_SignatureSignatureZ C2Tuple_SignatureSignatureZ_clone(const struct LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_SignatureSignatureZ_clone(orig: number): number {
+export function C2Tuple_SignatureSignatureZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10490,7 +10518,7 @@ export function C2Tuple_SignatureSignatureZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_SignatureSignatureZ C2Tuple_SignatureSignatureZ_new(struct LDKSignature a, struct LDKSignature b);
 /* @internal */
-export function C2Tuple_SignatureSignatureZ_new(a: number, b: number): number {
+export function C2Tuple_SignatureSignatureZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10499,7 +10527,7 @@ export function C2Tuple_SignatureSignatureZ_new(a: number, b: number): number {
 }
        // void C2Tuple_SignatureSignatureZ_free(struct LDKC2Tuple_SignatureSignatureZ _res);
 /* @internal */
-export function C2Tuple_SignatureSignatureZ_free(_res: number): void {
+export function C2Tuple_SignatureSignatureZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10508,7 +10536,7 @@ export function C2Tuple_SignatureSignatureZ_free(_res: number): void {
 }
        // struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_ok(struct LDKC2Tuple_SignatureSignatureZ o);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_ok(o: number): number {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10517,7 +10545,7 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_err(void);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_err(): number {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10526,7 +10554,7 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_err(): number {
 }
        // bool CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10535,16 +10563,16 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(o: number): boole
 }
        // void CResult_C2Tuple_SignatureSignatureZNoneZ_free(struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ _res);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_free(_res: number): void {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_SignatureSignatureZNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_C2Tuple_SignatureSignatureZNoneZ_clone_ptr(LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_C2Tuple_SignatureSignatureZNoneZ_clone_ptr(LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_clone_ptr(arg: number): number {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10553,7 +10581,7 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_C2Tuple_SignatureSignatureZNoneZ_clone(orig: number): number {
+export function CResult_C2Tuple_SignatureSignatureZNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10562,7 +10590,7 @@ export function CResult_C2Tuple_SignatureSignatureZNoneZ_clone(orig: number): nu
 }
        // struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_ok(struct LDKSecretKey o);
 /* @internal */
-export function CResult_SecretKeyNoneZ_ok(o: number): number {
+export function CResult_SecretKeyNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10571,7 +10599,7 @@ export function CResult_SecretKeyNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_err(void);
 /* @internal */
-export function CResult_SecretKeyNoneZ_err(): number {
+export function CResult_SecretKeyNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10580,7 +10608,7 @@ export function CResult_SecretKeyNoneZ_err(): number {
 }
        // bool CResult_SecretKeyNoneZ_is_ok(const struct LDKCResult_SecretKeyNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SecretKeyNoneZ_is_ok(o: number): boolean {
+export function CResult_SecretKeyNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10589,16 +10617,16 @@ export function CResult_SecretKeyNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_SecretKeyNoneZ_free(struct LDKCResult_SecretKeyNoneZ _res);
 /* @internal */
-export function CResult_SecretKeyNoneZ_free(_res: number): void {
+export function CResult_SecretKeyNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SecretKeyNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SecretKeyNoneZ_clone_ptr(LDKCResult_SecretKeyNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_SecretKeyNoneZ_clone_ptr(LDKCResult_SecretKeyNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SecretKeyNoneZ_clone_ptr(arg: number): number {
+export function CResult_SecretKeyNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10607,7 +10635,7 @@ export function CResult_SecretKeyNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_clone(const struct LDKCResult_SecretKeyNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SecretKeyNoneZ_clone(orig: number): number {
+export function CResult_SecretKeyNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10616,7 +10644,7 @@ export function CResult_SecretKeyNoneZ_clone(orig: number): number {
 }
        // struct LDKCResult_SignDecodeErrorZ CResult_SignDecodeErrorZ_ok(struct LDKSign o);
 /* @internal */
-export function CResult_SignDecodeErrorZ_ok(o: number): number {
+export function CResult_SignDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10625,7 +10653,7 @@ export function CResult_SignDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_SignDecodeErrorZ CResult_SignDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_SignDecodeErrorZ_err(e: number): number {
+export function CResult_SignDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10634,7 +10662,7 @@ export function CResult_SignDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_SignDecodeErrorZ_is_ok(const struct LDKCResult_SignDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SignDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_SignDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10643,16 +10671,16 @@ export function CResult_SignDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_SignDecodeErrorZ_free(struct LDKCResult_SignDecodeErrorZ _res);
 /* @internal */
-export function CResult_SignDecodeErrorZ_free(_res: number): void {
+export function CResult_SignDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SignDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SignDecodeErrorZ_clone_ptr(LDKCResult_SignDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_SignDecodeErrorZ_clone_ptr(LDKCResult_SignDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SignDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_SignDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10661,7 +10689,7 @@ export function CResult_SignDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_SignDecodeErrorZ CResult_SignDecodeErrorZ_clone(const struct LDKCResult_SignDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SignDecodeErrorZ_clone(orig: number): number {
+export function CResult_SignDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10679,7 +10707,7 @@ export function CVec_u5Z_free(_res: number): void {
 }
        // struct LDKCResult_RecoverableSignatureNoneZ CResult_RecoverableSignatureNoneZ_ok(struct LDKRecoverableSignature o);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_ok(o: number): number {
+export function CResult_RecoverableSignatureNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10688,7 +10716,7 @@ export function CResult_RecoverableSignatureNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_RecoverableSignatureNoneZ CResult_RecoverableSignatureNoneZ_err(void);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_err(): number {
+export function CResult_RecoverableSignatureNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10697,7 +10725,7 @@ export function CResult_RecoverableSignatureNoneZ_err(): number {
 }
        // bool CResult_RecoverableSignatureNoneZ_is_ok(const struct LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_is_ok(o: number): boolean {
+export function CResult_RecoverableSignatureNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10706,16 +10734,16 @@ export function CResult_RecoverableSignatureNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_RecoverableSignatureNoneZ_free(struct LDKCResult_RecoverableSignatureNoneZ _res);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_free(_res: number): void {
+export function CResult_RecoverableSignatureNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RecoverableSignatureNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RecoverableSignatureNoneZ_clone_ptr(LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_RecoverableSignatureNoneZ_clone_ptr(LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_clone_ptr(arg: number): number {
+export function CResult_RecoverableSignatureNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10724,7 +10752,7 @@ export function CResult_RecoverableSignatureNoneZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_RecoverableSignatureNoneZ CResult_RecoverableSignatureNoneZ_clone(const struct LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RecoverableSignatureNoneZ_clone(orig: number): number {
+export function CResult_RecoverableSignatureNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10751,7 +10779,7 @@ export function CVec_CVec_u8ZZ_free(_res: number): void {
 }
        // struct LDKCResult_CVec_CVec_u8ZZNoneZ CResult_CVec_CVec_u8ZZNoneZ_ok(struct LDKCVec_CVec_u8ZZ o);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_ok(o: number): number {
+export function CResult_CVec_CVec_u8ZZNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10760,7 +10788,7 @@ export function CResult_CVec_CVec_u8ZZNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_CVec_CVec_u8ZZNoneZ CResult_CVec_CVec_u8ZZNoneZ_err(void);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_err(): number {
+export function CResult_CVec_CVec_u8ZZNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10769,7 +10797,7 @@ export function CResult_CVec_CVec_u8ZZNoneZ_err(): number {
 }
        // bool CResult_CVec_CVec_u8ZZNoneZ_is_ok(const struct LDKCResult_CVec_CVec_u8ZZNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_is_ok(o: number): boolean {
+export function CResult_CVec_CVec_u8ZZNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10778,16 +10806,16 @@ export function CResult_CVec_CVec_u8ZZNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_CVec_CVec_u8ZZNoneZ_free(struct LDKCResult_CVec_CVec_u8ZZNoneZ _res);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_free(_res: number): void {
+export function CResult_CVec_CVec_u8ZZNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CVec_CVec_u8ZZNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(LDKCResult_CVec_CVec_u8ZZNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(LDKCResult_CVec_CVec_u8ZZNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(arg: number): number {
+export function CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10796,7 +10824,7 @@ export function CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_CVec_CVec_u8ZZNoneZ CResult_CVec_CVec_u8ZZNoneZ_clone(const struct LDKCResult_CVec_CVec_u8ZZNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CVec_CVec_u8ZZNoneZ_clone(orig: number): number {
+export function CResult_CVec_CVec_u8ZZNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10805,7 +10833,7 @@ export function CResult_CVec_CVec_u8ZZNoneZ_clone(orig: number): number {
 }
        // struct LDKCResult_InMemorySignerDecodeErrorZ CResult_InMemorySignerDecodeErrorZ_ok(struct LDKInMemorySigner o);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_ok(o: number): number {
+export function CResult_InMemorySignerDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10814,7 +10842,7 @@ export function CResult_InMemorySignerDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InMemorySignerDecodeErrorZ CResult_InMemorySignerDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_err(e: number): number {
+export function CResult_InMemorySignerDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10823,7 +10851,7 @@ export function CResult_InMemorySignerDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_InMemorySignerDecodeErrorZ_is_ok(const struct LDKCResult_InMemorySignerDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_InMemorySignerDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10832,16 +10860,16 @@ export function CResult_InMemorySignerDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InMemorySignerDecodeErrorZ_free(struct LDKCResult_InMemorySignerDecodeErrorZ _res);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_free(_res: number): void {
+export function CResult_InMemorySignerDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InMemorySignerDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InMemorySignerDecodeErrorZ_clone_ptr(LDKCResult_InMemorySignerDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InMemorySignerDecodeErrorZ_clone_ptr(LDKCResult_InMemorySignerDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_InMemorySignerDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10850,7 +10878,7 @@ export function CResult_InMemorySignerDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_InMemorySignerDecodeErrorZ CResult_InMemorySignerDecodeErrorZ_clone(const struct LDKCResult_InMemorySignerDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InMemorySignerDecodeErrorZ_clone(orig: number): number {
+export function CResult_InMemorySignerDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10868,7 +10896,7 @@ export function CVec_TxOutZ_free(_res: number): void {
 }
        // struct LDKCResult_TransactionNoneZ CResult_TransactionNoneZ_ok(struct LDKTransaction o);
 /* @internal */
-export function CResult_TransactionNoneZ_ok(o: number): number {
+export function CResult_TransactionNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10877,7 +10905,7 @@ export function CResult_TransactionNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_TransactionNoneZ CResult_TransactionNoneZ_err(void);
 /* @internal */
-export function CResult_TransactionNoneZ_err(): number {
+export function CResult_TransactionNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10886,7 +10914,7 @@ export function CResult_TransactionNoneZ_err(): number {
 }
        // bool CResult_TransactionNoneZ_is_ok(const struct LDKCResult_TransactionNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_TransactionNoneZ_is_ok(o: number): boolean {
+export function CResult_TransactionNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10895,16 +10923,16 @@ export function CResult_TransactionNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_TransactionNoneZ_free(struct LDKCResult_TransactionNoneZ _res);
 /* @internal */
-export function CResult_TransactionNoneZ_free(_res: number): void {
+export function CResult_TransactionNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_TransactionNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_TransactionNoneZ_clone_ptr(LDKCResult_TransactionNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_TransactionNoneZ_clone_ptr(LDKCResult_TransactionNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_TransactionNoneZ_clone_ptr(arg: number): number {
+export function CResult_TransactionNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10913,7 +10941,7 @@ export function CResult_TransactionNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_TransactionNoneZ CResult_TransactionNoneZ_clone(const struct LDKCResult_TransactionNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_TransactionNoneZ_clone(orig: number): number {
+export function CResult_TransactionNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10922,7 +10950,7 @@ export function CResult_TransactionNoneZ_clone(orig: number): number {
 }
        // struct LDKCOption_u16Z COption_u16Z_some(uint16_t o);
 /* @internal */
-export function COption_u16Z_some(o: number): number {
+export function COption_u16Z_some(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10931,7 +10959,7 @@ export function COption_u16Z_some(o: number): number {
 }
        // struct LDKCOption_u16Z COption_u16Z_none(void);
 /* @internal */
-export function COption_u16Z_none(): number {
+export function COption_u16Z_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10940,16 +10968,16 @@ export function COption_u16Z_none(): number {
 }
        // void COption_u16Z_free(struct LDKCOption_u16Z _res);
 /* @internal */
-export function COption_u16Z_free(_res: number): void {
+export function COption_u16Z_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_u16Z_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_u16Z_clone_ptr(LDKCOption_u16Z *NONNULL_PTR arg);
+       // uint64_t COption_u16Z_clone_ptr(LDKCOption_u16Z *NONNULL_PTR arg);
 /* @internal */
-export function COption_u16Z_clone_ptr(arg: number): number {
+export function COption_u16Z_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10958,7 +10986,7 @@ export function COption_u16Z_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_u16Z COption_u16Z_clone(const struct LDKCOption_u16Z *NONNULL_PTR orig);
 /* @internal */
-export function COption_u16Z_clone(orig: number): number {
+export function COption_u16Z_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10967,7 +10995,7 @@ export function COption_u16Z_clone(orig: number): number {
 }
        // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_ok(void);
 /* @internal */
-export function CResult_NoneAPIErrorZ_ok(): number {
+export function CResult_NoneAPIErrorZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10976,7 +11004,7 @@ export function CResult_NoneAPIErrorZ_ok(): number {
 }
        // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_err(struct LDKAPIError e);
 /* @internal */
-export function CResult_NoneAPIErrorZ_err(e: number): number {
+export function CResult_NoneAPIErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10985,7 +11013,7 @@ export function CResult_NoneAPIErrorZ_err(e: number): number {
 }
        // bool CResult_NoneAPIErrorZ_is_ok(const struct LDKCResult_NoneAPIErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NoneAPIErrorZ_is_ok(o: number): boolean {
+export function CResult_NoneAPIErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -10994,16 +11022,16 @@ export function CResult_NoneAPIErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NoneAPIErrorZ_free(struct LDKCResult_NoneAPIErrorZ _res);
 /* @internal */
-export function CResult_NoneAPIErrorZ_free(_res: number): void {
+export function CResult_NoneAPIErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NoneAPIErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NoneAPIErrorZ_clone_ptr(LDKCResult_NoneAPIErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NoneAPIErrorZ_clone_ptr(arg: number): number {
+export function CResult_NoneAPIErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11012,7 +11040,7 @@ export function CResult_NoneAPIErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NoneAPIErrorZ CResult_NoneAPIErrorZ_clone(const struct LDKCResult_NoneAPIErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NoneAPIErrorZ_clone(orig: number): number {
+export function CResult_NoneAPIErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11039,7 +11067,7 @@ export function CVec_APIErrorZ_free(_res: number): void {
 }
        // struct LDKCResult__u832APIErrorZ CResult__u832APIErrorZ_ok(struct LDKThirtyTwoBytes o);
 /* @internal */
-export function CResult__u832APIErrorZ_ok(o: number): number {
+export function CResult__u832APIErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11048,7 +11076,7 @@ export function CResult__u832APIErrorZ_ok(o: number): number {
 }
        // struct LDKCResult__u832APIErrorZ CResult__u832APIErrorZ_err(struct LDKAPIError e);
 /* @internal */
-export function CResult__u832APIErrorZ_err(e: number): number {
+export function CResult__u832APIErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11057,7 +11085,7 @@ export function CResult__u832APIErrorZ_err(e: number): number {
 }
        // bool CResult__u832APIErrorZ_is_ok(const struct LDKCResult__u832APIErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult__u832APIErrorZ_is_ok(o: number): boolean {
+export function CResult__u832APIErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11066,16 +11094,16 @@ export function CResult__u832APIErrorZ_is_ok(o: number): boolean {
 }
        // void CResult__u832APIErrorZ_free(struct LDKCResult__u832APIErrorZ _res);
 /* @internal */
-export function CResult__u832APIErrorZ_free(_res: number): void {
+export function CResult__u832APIErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult__u832APIErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult__u832APIErrorZ_clone_ptr(LDKCResult__u832APIErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult__u832APIErrorZ_clone_ptr(LDKCResult__u832APIErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult__u832APIErrorZ_clone_ptr(arg: number): number {
+export function CResult__u832APIErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11084,7 +11112,7 @@ export function CResult__u832APIErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult__u832APIErrorZ CResult__u832APIErrorZ_clone(const struct LDKCResult__u832APIErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult__u832APIErrorZ_clone(orig: number): number {
+export function CResult__u832APIErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11093,7 +11121,7 @@ export function CResult__u832APIErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PaymentIdPaymentSendFailureZ CResult_PaymentIdPaymentSendFailureZ_ok(struct LDKThirtyTwoBytes o);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_ok(o: number): number {
+export function CResult_PaymentIdPaymentSendFailureZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11102,7 +11130,7 @@ export function CResult_PaymentIdPaymentSendFailureZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentIdPaymentSendFailureZ CResult_PaymentIdPaymentSendFailureZ_err(struct LDKPaymentSendFailure e);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_err(e: number): number {
+export function CResult_PaymentIdPaymentSendFailureZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11111,7 +11139,7 @@ export function CResult_PaymentIdPaymentSendFailureZ_err(e: number): number {
 }
        // bool CResult_PaymentIdPaymentSendFailureZ_is_ok(const struct LDKCResult_PaymentIdPaymentSendFailureZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_is_ok(o: number): boolean {
+export function CResult_PaymentIdPaymentSendFailureZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11120,16 +11148,16 @@ export function CResult_PaymentIdPaymentSendFailureZ_is_ok(o: number): boolean {
 }
        // void CResult_PaymentIdPaymentSendFailureZ_free(struct LDKCResult_PaymentIdPaymentSendFailureZ _res);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_free(_res: number): void {
+export function CResult_PaymentIdPaymentSendFailureZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentIdPaymentSendFailureZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentIdPaymentSendFailureZ_clone_ptr(LDKCResult_PaymentIdPaymentSendFailureZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentIdPaymentSendFailureZ_clone_ptr(LDKCResult_PaymentIdPaymentSendFailureZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_clone_ptr(arg: number): number {
+export function CResult_PaymentIdPaymentSendFailureZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11138,7 +11166,7 @@ export function CResult_PaymentIdPaymentSendFailureZ_clone_ptr(arg: number): num
 }
        // struct LDKCResult_PaymentIdPaymentSendFailureZ CResult_PaymentIdPaymentSendFailureZ_clone(const struct LDKCResult_PaymentIdPaymentSendFailureZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentIdPaymentSendFailureZ_clone(orig: number): number {
+export function CResult_PaymentIdPaymentSendFailureZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11147,7 +11175,7 @@ export function CResult_PaymentIdPaymentSendFailureZ_clone(orig: number): number
 }
        // struct LDKCResult_NonePaymentSendFailureZ CResult_NonePaymentSendFailureZ_ok(void);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_ok(): number {
+export function CResult_NonePaymentSendFailureZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11156,7 +11184,7 @@ export function CResult_NonePaymentSendFailureZ_ok(): number {
 }
        // struct LDKCResult_NonePaymentSendFailureZ CResult_NonePaymentSendFailureZ_err(struct LDKPaymentSendFailure e);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_err(e: number): number {
+export function CResult_NonePaymentSendFailureZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11165,7 +11193,7 @@ export function CResult_NonePaymentSendFailureZ_err(e: number): number {
 }
        // bool CResult_NonePaymentSendFailureZ_is_ok(const struct LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_is_ok(o: number): boolean {
+export function CResult_NonePaymentSendFailureZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11174,16 +11202,16 @@ export function CResult_NonePaymentSendFailureZ_is_ok(o: number): boolean {
 }
        // void CResult_NonePaymentSendFailureZ_free(struct LDKCResult_NonePaymentSendFailureZ _res);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_free(_res: number): void {
+export function CResult_NonePaymentSendFailureZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NonePaymentSendFailureZ_clone_ptr(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR arg);
+       // uint64_t CResult_NonePaymentSendFailureZ_clone_ptr(LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_clone_ptr(arg: number): number {
+export function CResult_NonePaymentSendFailureZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11192,16 +11220,16 @@ export function CResult_NonePaymentSendFailureZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NonePaymentSendFailureZ CResult_NonePaymentSendFailureZ_clone(const struct LDKCResult_NonePaymentSendFailureZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NonePaymentSendFailureZ_clone(orig: number): number {
+export function CResult_NonePaymentSendFailureZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NonePaymentSendFailureZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C2Tuple_PaymentHashPaymentIdZ_clone_ptr(LDKC2Tuple_PaymentHashPaymentIdZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_PaymentHashPaymentIdZ_clone_ptr(LDKC2Tuple_PaymentHashPaymentIdZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentIdZ_clone_ptr(arg: number): number {
+export function C2Tuple_PaymentHashPaymentIdZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11210,7 +11238,7 @@ export function C2Tuple_PaymentHashPaymentIdZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_PaymentHashPaymentIdZ C2Tuple_PaymentHashPaymentIdZ_clone(const struct LDKC2Tuple_PaymentHashPaymentIdZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentIdZ_clone(orig: number): number {
+export function C2Tuple_PaymentHashPaymentIdZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11219,7 +11247,7 @@ export function C2Tuple_PaymentHashPaymentIdZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_PaymentHashPaymentIdZ C2Tuple_PaymentHashPaymentIdZ_new(struct LDKThirtyTwoBytes a, struct LDKThirtyTwoBytes b);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentIdZ_new(a: number, b: number): number {
+export function C2Tuple_PaymentHashPaymentIdZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11228,7 +11256,7 @@ export function C2Tuple_PaymentHashPaymentIdZ_new(a: number, b: number): number
 }
        // void C2Tuple_PaymentHashPaymentIdZ_free(struct LDKC2Tuple_PaymentHashPaymentIdZ _res);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentIdZ_free(_res: number): void {
+export function C2Tuple_PaymentHashPaymentIdZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11237,7 +11265,7 @@ export function C2Tuple_PaymentHashPaymentIdZ_free(_res: number): void {
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_ok(struct LDKC2Tuple_PaymentHashPaymentIdZ o);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_ok(o: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11246,7 +11274,7 @@ export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_ok(o: n
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_err(struct LDKPaymentSendFailure e);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_err(e: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11255,7 +11283,7 @@ export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_err(e:
 }
        // bool CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_is_ok(const struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11264,16 +11292,16 @@ export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_is_ok(o
 }
        // void CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_free(struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ _res);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_free(_res: number): void {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone_ptr(LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ *NONNULL_PTR arg);
+       // uint64_t CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone_ptr(LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone_ptr(arg: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11282,7 +11310,7 @@ export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone_p
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone(const struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone(orig: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11298,9 +11326,9 @@ export function CVec_ThirtyTwoBytesZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_ThirtyTwoBytesZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_PaymentHashPaymentSecretZ_clone_ptr(LDKC2Tuple_PaymentHashPaymentSecretZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_PaymentHashPaymentSecretZ_clone_ptr(LDKC2Tuple_PaymentHashPaymentSecretZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentSecretZ_clone_ptr(arg: number): number {
+export function C2Tuple_PaymentHashPaymentSecretZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11309,7 +11337,7 @@ export function C2Tuple_PaymentHashPaymentSecretZ_clone_ptr(arg: number): number
 }
        // struct LDKC2Tuple_PaymentHashPaymentSecretZ C2Tuple_PaymentHashPaymentSecretZ_clone(const struct LDKC2Tuple_PaymentHashPaymentSecretZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentSecretZ_clone(orig: number): number {
+export function C2Tuple_PaymentHashPaymentSecretZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11318,7 +11346,7 @@ export function C2Tuple_PaymentHashPaymentSecretZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_PaymentHashPaymentSecretZ C2Tuple_PaymentHashPaymentSecretZ_new(struct LDKThirtyTwoBytes a, struct LDKThirtyTwoBytes b);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentSecretZ_new(a: number, b: number): number {
+export function C2Tuple_PaymentHashPaymentSecretZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11327,7 +11355,7 @@ export function C2Tuple_PaymentHashPaymentSecretZ_new(a: number, b: number): num
 }
        // void C2Tuple_PaymentHashPaymentSecretZ_free(struct LDKC2Tuple_PaymentHashPaymentSecretZ _res);
 /* @internal */
-export function C2Tuple_PaymentHashPaymentSecretZ_free(_res: number): void {
+export function C2Tuple_PaymentHashPaymentSecretZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11336,7 +11364,7 @@ export function C2Tuple_PaymentHashPaymentSecretZ_free(_res: number): void {
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_ok(struct LDKC2Tuple_PaymentHashPaymentSecretZ o);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_ok(o: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11345,7 +11373,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_ok(o: number): nu
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_err(void);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_err(): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11354,7 +11382,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_err(): number {
 }
        // bool CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_is_ok(const struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11363,16 +11391,16 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_is_ok(o: number):
 }
        // void CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_free(struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ _res);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_free(_res: number): void {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone_ptr(LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone_ptr(LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone_ptr(arg: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11381,7 +11409,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone_ptr(arg: nu
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone(const struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone(orig: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11390,7 +11418,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ_clone(orig: numbe
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_ok(struct LDKC2Tuple_PaymentHashPaymentSecretZ o);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_ok(o: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11399,7 +11427,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_ok(o: number)
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_err(struct LDKAPIError e);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_err(e: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11408,7 +11436,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_err(e: number
 }
        // bool CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_is_ok(const struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11417,16 +11445,16 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_is_ok(o: numb
 }
        // void CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_free(struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ _res);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_free(_res: number): void {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone_ptr(LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone_ptr(LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone_ptr(arg: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11435,7 +11463,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone_ptr(arg
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone(const struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone(orig: number): number {
+export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11444,7 +11472,7 @@ export function CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_clone(orig: n
 }
        // struct LDKCResult_PaymentSecretNoneZ CResult_PaymentSecretNoneZ_ok(struct LDKThirtyTwoBytes o);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_ok(o: number): number {
+export function CResult_PaymentSecretNoneZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11453,7 +11481,7 @@ export function CResult_PaymentSecretNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentSecretNoneZ CResult_PaymentSecretNoneZ_err(void);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_err(): number {
+export function CResult_PaymentSecretNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11462,7 +11490,7 @@ export function CResult_PaymentSecretNoneZ_err(): number {
 }
        // bool CResult_PaymentSecretNoneZ_is_ok(const struct LDKCResult_PaymentSecretNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_is_ok(o: number): boolean {
+export function CResult_PaymentSecretNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11471,16 +11499,16 @@ export function CResult_PaymentSecretNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_PaymentSecretNoneZ_free(struct LDKCResult_PaymentSecretNoneZ _res);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_free(_res: number): void {
+export function CResult_PaymentSecretNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentSecretNoneZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentSecretNoneZ_clone_ptr(LDKCResult_PaymentSecretNoneZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentSecretNoneZ_clone_ptr(LDKCResult_PaymentSecretNoneZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_clone_ptr(arg: number): number {
+export function CResult_PaymentSecretNoneZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11489,7 +11517,7 @@ export function CResult_PaymentSecretNoneZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PaymentSecretNoneZ CResult_PaymentSecretNoneZ_clone(const struct LDKCResult_PaymentSecretNoneZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentSecretNoneZ_clone(orig: number): number {
+export function CResult_PaymentSecretNoneZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11498,7 +11526,7 @@ export function CResult_PaymentSecretNoneZ_clone(orig: number): number {
 }
        // struct LDKCResult_PaymentSecretAPIErrorZ CResult_PaymentSecretAPIErrorZ_ok(struct LDKThirtyTwoBytes o);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_ok(o: number): number {
+export function CResult_PaymentSecretAPIErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11507,7 +11535,7 @@ export function CResult_PaymentSecretAPIErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentSecretAPIErrorZ CResult_PaymentSecretAPIErrorZ_err(struct LDKAPIError e);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_err(e: number): number {
+export function CResult_PaymentSecretAPIErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11516,7 +11544,7 @@ export function CResult_PaymentSecretAPIErrorZ_err(e: number): number {
 }
        // bool CResult_PaymentSecretAPIErrorZ_is_ok(const struct LDKCResult_PaymentSecretAPIErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_is_ok(o: number): boolean {
+export function CResult_PaymentSecretAPIErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11525,16 +11553,16 @@ export function CResult_PaymentSecretAPIErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PaymentSecretAPIErrorZ_free(struct LDKCResult_PaymentSecretAPIErrorZ _res);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_free(_res: number): void {
+export function CResult_PaymentSecretAPIErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentSecretAPIErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentSecretAPIErrorZ_clone_ptr(LDKCResult_PaymentSecretAPIErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentSecretAPIErrorZ_clone_ptr(LDKCResult_PaymentSecretAPIErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_clone_ptr(arg: number): number {
+export function CResult_PaymentSecretAPIErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11543,7 +11571,7 @@ export function CResult_PaymentSecretAPIErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PaymentSecretAPIErrorZ CResult_PaymentSecretAPIErrorZ_clone(const struct LDKCResult_PaymentSecretAPIErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentSecretAPIErrorZ_clone(orig: number): number {
+export function CResult_PaymentSecretAPIErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11552,7 +11580,7 @@ export function CResult_PaymentSecretAPIErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PaymentPreimageAPIErrorZ CResult_PaymentPreimageAPIErrorZ_ok(struct LDKThirtyTwoBytes o);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_ok(o: number): number {
+export function CResult_PaymentPreimageAPIErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11561,7 +11589,7 @@ export function CResult_PaymentPreimageAPIErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentPreimageAPIErrorZ CResult_PaymentPreimageAPIErrorZ_err(struct LDKAPIError e);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_err(e: number): number {
+export function CResult_PaymentPreimageAPIErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11570,7 +11598,7 @@ export function CResult_PaymentPreimageAPIErrorZ_err(e: number): number {
 }
        // bool CResult_PaymentPreimageAPIErrorZ_is_ok(const struct LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_is_ok(o: number): boolean {
+export function CResult_PaymentPreimageAPIErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11579,16 +11607,16 @@ export function CResult_PaymentPreimageAPIErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PaymentPreimageAPIErrorZ_free(struct LDKCResult_PaymentPreimageAPIErrorZ _res);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_free(_res: number): void {
+export function CResult_PaymentPreimageAPIErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentPreimageAPIErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentPreimageAPIErrorZ_clone_ptr(LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentPreimageAPIErrorZ_clone_ptr(LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_clone_ptr(arg: number): number {
+export function CResult_PaymentPreimageAPIErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11597,7 +11625,7 @@ export function CResult_PaymentPreimageAPIErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_PaymentPreimageAPIErrorZ CResult_PaymentPreimageAPIErrorZ_clone(const struct LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentPreimageAPIErrorZ_clone(orig: number): number {
+export function CResult_PaymentPreimageAPIErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11606,7 +11634,7 @@ export function CResult_PaymentPreimageAPIErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(struct LDKCounterpartyForwardingInfo o);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(o: number): number {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11615,7 +11643,7 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(o: number): nu
 }
        // struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_err(e: number): number {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11624,7 +11652,7 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_err(e: number): n
 }
        // bool CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11633,16 +11661,16 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(o: number):
 }
        // void CResult_CounterpartyForwardingInfoDecodeErrorZ_free(struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ _res);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_free(_res: number): void {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CounterpartyForwardingInfoDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CounterpartyForwardingInfoDecodeErrorZ_clone_ptr(LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_CounterpartyForwardingInfoDecodeErrorZ_clone_ptr(LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11651,7 +11679,7 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_clone_ptr(arg: nu
 }
        // struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(const struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(orig: number): number {
+export function CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11660,7 +11688,7 @@ export function CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(orig: numbe
 }
        // struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_ok(struct LDKChannelCounterparty o);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelCounterpartyDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11669,7 +11697,7 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelCounterpartyDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11678,7 +11706,7 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelCounterpartyDecodeErrorZ_is_ok(const struct LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelCounterpartyDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11687,16 +11715,16 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_is_ok(o: number): boolea
 }
        // void CResult_ChannelCounterpartyDecodeErrorZ_free(struct LDKCResult_ChannelCounterpartyDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelCounterpartyDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelCounterpartyDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelCounterpartyDecodeErrorZ_clone_ptr(LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelCounterpartyDecodeErrorZ_clone_ptr(LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelCounterpartyDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11705,7 +11733,7 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_clone(const struct LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelCounterpartyDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelCounterpartyDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11714,7 +11742,7 @@ export function CResult_ChannelCounterpartyDecodeErrorZ_clone(orig: number): num
 }
        // struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_ok(struct LDKChannelDetails o);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelDetailsDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11723,7 +11751,7 @@ export function CResult_ChannelDetailsDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelDetailsDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11732,7 +11760,7 @@ export function CResult_ChannelDetailsDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelDetailsDecodeErrorZ_is_ok(const struct LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelDetailsDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11741,16 +11769,16 @@ export function CResult_ChannelDetailsDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ChannelDetailsDecodeErrorZ_free(struct LDKCResult_ChannelDetailsDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelDetailsDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelDetailsDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelDetailsDecodeErrorZ_clone_ptr(LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelDetailsDecodeErrorZ_clone_ptr(LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelDetailsDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11759,7 +11787,7 @@ export function CResult_ChannelDetailsDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_clone(const struct LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelDetailsDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelDetailsDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11768,7 +11796,7 @@ export function CResult_ChannelDetailsDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_ok(struct LDKPhantomRouteHints o);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_ok(o: number): number {
+export function CResult_PhantomRouteHintsDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11777,7 +11805,7 @@ export function CResult_PhantomRouteHintsDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_err(e: number): number {
+export function CResult_PhantomRouteHintsDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11786,7 +11814,7 @@ export function CResult_PhantomRouteHintsDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_PhantomRouteHintsDecodeErrorZ_is_ok(const struct LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_PhantomRouteHintsDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11795,16 +11823,16 @@ export function CResult_PhantomRouteHintsDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_PhantomRouteHintsDecodeErrorZ_free(struct LDKCResult_PhantomRouteHintsDecodeErrorZ _res);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_free(_res: number): void {
+export function CResult_PhantomRouteHintsDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PhantomRouteHintsDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PhantomRouteHintsDecodeErrorZ_clone_ptr(LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PhantomRouteHintsDecodeErrorZ_clone_ptr(LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_PhantomRouteHintsDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11813,7 +11841,7 @@ export function CResult_PhantomRouteHintsDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_clone(const struct LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PhantomRouteHintsDecodeErrorZ_clone(orig: number): number {
+export function CResult_PhantomRouteHintsDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11831,7 +11859,7 @@ export function CVec_ChannelMonitorZ_free(_res: number): void {
 }
        // struct LDKC2Tuple_BlockHashChannelManagerZ C2Tuple_BlockHashChannelManagerZ_new(struct LDKThirtyTwoBytes a, struct LDKChannelManager b);
 /* @internal */
-export function C2Tuple_BlockHashChannelManagerZ_new(a: number, b: number): number {
+export function C2Tuple_BlockHashChannelManagerZ_new(a: number, b: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11840,7 +11868,7 @@ export function C2Tuple_BlockHashChannelManagerZ_new(a: number, b: number): numb
 }
        // void C2Tuple_BlockHashChannelManagerZ_free(struct LDKC2Tuple_BlockHashChannelManagerZ _res);
 /* @internal */
-export function C2Tuple_BlockHashChannelManagerZ_free(_res: number): void {
+export function C2Tuple_BlockHashChannelManagerZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11849,7 +11877,7 @@ export function C2Tuple_BlockHashChannelManagerZ_free(_res: number): void {
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_ok(struct LDKC2Tuple_BlockHashChannelManagerZ o);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_ok(o: number): number {
+export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11858,7 +11886,7 @@ export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_ok(o: numbe
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err(e: number): number {
+export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11867,7 +11895,7 @@ export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err(e: numb
 }
        // bool CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_is_ok(const struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11876,7 +11904,7 @@ export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_is_ok(o: nu
 }
        // void CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_free(struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ _res);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_free(_res: number): void {
+export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11885,7 +11913,7 @@ export function CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_free(_res:
 }
        // struct LDKCResult_ChannelConfigDecodeErrorZ CResult_ChannelConfigDecodeErrorZ_ok(struct LDKChannelConfig o);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelConfigDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11894,7 +11922,7 @@ export function CResult_ChannelConfigDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelConfigDecodeErrorZ CResult_ChannelConfigDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelConfigDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11903,7 +11931,7 @@ export function CResult_ChannelConfigDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelConfigDecodeErrorZ_is_ok(const struct LDKCResult_ChannelConfigDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelConfigDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11912,16 +11940,16 @@ export function CResult_ChannelConfigDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ChannelConfigDecodeErrorZ_free(struct LDKCResult_ChannelConfigDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelConfigDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelConfigDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelConfigDecodeErrorZ_clone_ptr(LDKCResult_ChannelConfigDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelConfigDecodeErrorZ_clone_ptr(LDKCResult_ChannelConfigDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelConfigDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11930,7 +11958,7 @@ export function CResult_ChannelConfigDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_ChannelConfigDecodeErrorZ CResult_ChannelConfigDecodeErrorZ_clone(const struct LDKCResult_ChannelConfigDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelConfigDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelConfigDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11939,7 +11967,7 @@ export function CResult_ChannelConfigDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_OutPointDecodeErrorZ CResult_OutPointDecodeErrorZ_ok(struct LDKOutPoint o);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_ok(o: number): number {
+export function CResult_OutPointDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11948,7 +11976,7 @@ export function CResult_OutPointDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_OutPointDecodeErrorZ CResult_OutPointDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_err(e: number): number {
+export function CResult_OutPointDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11957,7 +11985,7 @@ export function CResult_OutPointDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_OutPointDecodeErrorZ_is_ok(const struct LDKCResult_OutPointDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_OutPointDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11966,16 +11994,16 @@ export function CResult_OutPointDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_OutPointDecodeErrorZ_free(struct LDKCResult_OutPointDecodeErrorZ _res);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_free(_res: number): void {
+export function CResult_OutPointDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_OutPointDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_OutPointDecodeErrorZ_clone_ptr(LDKCResult_OutPointDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_OutPointDecodeErrorZ_clone_ptr(LDKCResult_OutPointDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_OutPointDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11984,7 +12012,7 @@ export function CResult_OutPointDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_OutPointDecodeErrorZ CResult_OutPointDecodeErrorZ_clone(const struct LDKCResult_OutPointDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_OutPointDecodeErrorZ_clone(orig: number): number {
+export function CResult_OutPointDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -11993,7 +12021,7 @@ export function CResult_OutPointDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCOption_TypeZ COption_TypeZ_some(struct LDKType o);
 /* @internal */
-export function COption_TypeZ_some(o: number): number {
+export function COption_TypeZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12002,7 +12030,7 @@ export function COption_TypeZ_some(o: number): number {
 }
        // struct LDKCOption_TypeZ COption_TypeZ_none(void);
 /* @internal */
-export function COption_TypeZ_none(): number {
+export function COption_TypeZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12011,16 +12039,16 @@ export function COption_TypeZ_none(): number {
 }
        // void COption_TypeZ_free(struct LDKCOption_TypeZ _res);
 /* @internal */
-export function COption_TypeZ_free(_res: number): void {
+export function COption_TypeZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_TypeZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_TypeZ_clone_ptr(LDKCOption_TypeZ *NONNULL_PTR arg);
+       // uint64_t COption_TypeZ_clone_ptr(LDKCOption_TypeZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_TypeZ_clone_ptr(arg: number): number {
+export function COption_TypeZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12029,7 +12057,7 @@ export function COption_TypeZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_TypeZ COption_TypeZ_clone(const struct LDKCOption_TypeZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_TypeZ_clone(orig: number): number {
+export function COption_TypeZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12038,7 +12066,7 @@ export function COption_TypeZ_clone(orig: number): number {
 }
        // struct LDKCResult_COption_TypeZDecodeErrorZ CResult_COption_TypeZDecodeErrorZ_ok(struct LDKCOption_TypeZ o);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_ok(o: number): number {
+export function CResult_COption_TypeZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12047,7 +12075,7 @@ export function CResult_COption_TypeZDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_COption_TypeZDecodeErrorZ CResult_COption_TypeZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_err(e: number): number {
+export function CResult_COption_TypeZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12056,7 +12084,7 @@ export function CResult_COption_TypeZDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_COption_TypeZDecodeErrorZ_is_ok(const struct LDKCResult_COption_TypeZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_COption_TypeZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12065,16 +12093,16 @@ export function CResult_COption_TypeZDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_COption_TypeZDecodeErrorZ_free(struct LDKCResult_COption_TypeZDecodeErrorZ _res);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_free(_res: number): void {
+export function CResult_COption_TypeZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_COption_TypeZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_COption_TypeZDecodeErrorZ_clone_ptr(LDKCResult_COption_TypeZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_COption_TypeZDecodeErrorZ_clone_ptr(LDKCResult_COption_TypeZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_COption_TypeZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12083,7 +12111,7 @@ export function CResult_COption_TypeZDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_COption_TypeZDecodeErrorZ CResult_COption_TypeZDecodeErrorZ_clone(const struct LDKCResult_COption_TypeZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_COption_TypeZDecodeErrorZ_clone(orig: number): number {
+export function CResult_COption_TypeZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12092,7 +12120,7 @@ export function CResult_COption_TypeZDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PaymentIdPaymentErrorZ CResult_PaymentIdPaymentErrorZ_ok(struct LDKThirtyTwoBytes o);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_ok(o: number): number {
+export function CResult_PaymentIdPaymentErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12101,7 +12129,7 @@ export function CResult_PaymentIdPaymentErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PaymentIdPaymentErrorZ CResult_PaymentIdPaymentErrorZ_err(struct LDKPaymentError e);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_err(e: number): number {
+export function CResult_PaymentIdPaymentErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12110,7 +12138,7 @@ export function CResult_PaymentIdPaymentErrorZ_err(e: number): number {
 }
        // bool CResult_PaymentIdPaymentErrorZ_is_ok(const struct LDKCResult_PaymentIdPaymentErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_is_ok(o: number): boolean {
+export function CResult_PaymentIdPaymentErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12119,16 +12147,16 @@ export function CResult_PaymentIdPaymentErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PaymentIdPaymentErrorZ_free(struct LDKCResult_PaymentIdPaymentErrorZ _res);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_free(_res: number): void {
+export function CResult_PaymentIdPaymentErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PaymentIdPaymentErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PaymentIdPaymentErrorZ_clone_ptr(LDKCResult_PaymentIdPaymentErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PaymentIdPaymentErrorZ_clone_ptr(LDKCResult_PaymentIdPaymentErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_clone_ptr(arg: number): number {
+export function CResult_PaymentIdPaymentErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12137,7 +12165,7 @@ export function CResult_PaymentIdPaymentErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PaymentIdPaymentErrorZ CResult_PaymentIdPaymentErrorZ_clone(const struct LDKCResult_PaymentIdPaymentErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PaymentIdPaymentErrorZ_clone(orig: number): number {
+export function CResult_PaymentIdPaymentErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12146,7 +12174,7 @@ export function CResult_PaymentIdPaymentErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_SiPrefixParseErrorZ CResult_SiPrefixParseErrorZ_ok(enum LDKSiPrefix o);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_ok(o: SiPrefix): number {
+export function CResult_SiPrefixParseErrorZ_ok(o: SiPrefix): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12155,7 +12183,7 @@ export function CResult_SiPrefixParseErrorZ_ok(o: SiPrefix): number {
 }
        // struct LDKCResult_SiPrefixParseErrorZ CResult_SiPrefixParseErrorZ_err(struct LDKParseError e);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_err(e: number): number {
+export function CResult_SiPrefixParseErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12164,7 +12192,7 @@ export function CResult_SiPrefixParseErrorZ_err(e: number): number {
 }
        // bool CResult_SiPrefixParseErrorZ_is_ok(const struct LDKCResult_SiPrefixParseErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_is_ok(o: number): boolean {
+export function CResult_SiPrefixParseErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12173,16 +12201,16 @@ export function CResult_SiPrefixParseErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_SiPrefixParseErrorZ_free(struct LDKCResult_SiPrefixParseErrorZ _res);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_free(_res: number): void {
+export function CResult_SiPrefixParseErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SiPrefixParseErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SiPrefixParseErrorZ_clone_ptr(LDKCResult_SiPrefixParseErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_SiPrefixParseErrorZ_clone_ptr(LDKCResult_SiPrefixParseErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_clone_ptr(arg: number): number {
+export function CResult_SiPrefixParseErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12191,7 +12219,7 @@ export function CResult_SiPrefixParseErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_SiPrefixParseErrorZ CResult_SiPrefixParseErrorZ_clone(const struct LDKCResult_SiPrefixParseErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SiPrefixParseErrorZ_clone(orig: number): number {
+export function CResult_SiPrefixParseErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12200,7 +12228,7 @@ export function CResult_SiPrefixParseErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_InvoiceParseOrSemanticErrorZ CResult_InvoiceParseOrSemanticErrorZ_ok(struct LDKInvoice o);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_ok(o: number): number {
+export function CResult_InvoiceParseOrSemanticErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12209,7 +12237,7 @@ export function CResult_InvoiceParseOrSemanticErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InvoiceParseOrSemanticErrorZ CResult_InvoiceParseOrSemanticErrorZ_err(struct LDKParseOrSemanticError e);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_err(e: number): number {
+export function CResult_InvoiceParseOrSemanticErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12218,7 +12246,7 @@ export function CResult_InvoiceParseOrSemanticErrorZ_err(e: number): number {
 }
        // bool CResult_InvoiceParseOrSemanticErrorZ_is_ok(const struct LDKCResult_InvoiceParseOrSemanticErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_is_ok(o: number): boolean {
+export function CResult_InvoiceParseOrSemanticErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12227,16 +12255,16 @@ export function CResult_InvoiceParseOrSemanticErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InvoiceParseOrSemanticErrorZ_free(struct LDKCResult_InvoiceParseOrSemanticErrorZ _res);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_free(_res: number): void {
+export function CResult_InvoiceParseOrSemanticErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InvoiceParseOrSemanticErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InvoiceParseOrSemanticErrorZ_clone_ptr(LDKCResult_InvoiceParseOrSemanticErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InvoiceParseOrSemanticErrorZ_clone_ptr(LDKCResult_InvoiceParseOrSemanticErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_clone_ptr(arg: number): number {
+export function CResult_InvoiceParseOrSemanticErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12245,7 +12273,7 @@ export function CResult_InvoiceParseOrSemanticErrorZ_clone_ptr(arg: number): num
 }
        // struct LDKCResult_InvoiceParseOrSemanticErrorZ CResult_InvoiceParseOrSemanticErrorZ_clone(const struct LDKCResult_InvoiceParseOrSemanticErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InvoiceParseOrSemanticErrorZ_clone(orig: number): number {
+export function CResult_InvoiceParseOrSemanticErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12254,7 +12282,7 @@ export function CResult_InvoiceParseOrSemanticErrorZ_clone(orig: number): number
 }
        // struct LDKCResult_SignedRawInvoiceParseErrorZ CResult_SignedRawInvoiceParseErrorZ_ok(struct LDKSignedRawInvoice o);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_ok(o: number): number {
+export function CResult_SignedRawInvoiceParseErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12263,7 +12291,7 @@ export function CResult_SignedRawInvoiceParseErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_SignedRawInvoiceParseErrorZ CResult_SignedRawInvoiceParseErrorZ_err(struct LDKParseError e);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_err(e: number): number {
+export function CResult_SignedRawInvoiceParseErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12272,7 +12300,7 @@ export function CResult_SignedRawInvoiceParseErrorZ_err(e: number): number {
 }
        // bool CResult_SignedRawInvoiceParseErrorZ_is_ok(const struct LDKCResult_SignedRawInvoiceParseErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_is_ok(o: number): boolean {
+export function CResult_SignedRawInvoiceParseErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12281,16 +12309,16 @@ export function CResult_SignedRawInvoiceParseErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_SignedRawInvoiceParseErrorZ_free(struct LDKCResult_SignedRawInvoiceParseErrorZ _res);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_free(_res: number): void {
+export function CResult_SignedRawInvoiceParseErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SignedRawInvoiceParseErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_SignedRawInvoiceParseErrorZ_clone_ptr(LDKCResult_SignedRawInvoiceParseErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_SignedRawInvoiceParseErrorZ_clone_ptr(LDKCResult_SignedRawInvoiceParseErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_clone_ptr(arg: number): number {
+export function CResult_SignedRawInvoiceParseErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12299,16 +12327,16 @@ export function CResult_SignedRawInvoiceParseErrorZ_clone_ptr(arg: number): numb
 }
        // struct LDKCResult_SignedRawInvoiceParseErrorZ CResult_SignedRawInvoiceParseErrorZ_clone(const struct LDKCResult_SignedRawInvoiceParseErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_SignedRawInvoiceParseErrorZ_clone(orig: number): number {
+export function CResult_SignedRawInvoiceParseErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_SignedRawInvoiceParseErrorZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone_ptr(LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ *NONNULL_PTR arg);
+       // uint64_t C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone_ptr(LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ *NONNULL_PTR arg);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone_ptr(arg: number): number {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12317,7 +12345,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone_ptr(arg: number):
 }
        // struct LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone(const struct LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ *NONNULL_PTR orig);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone(orig: number): number {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12326,7 +12354,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_clone(orig: number): nu
 }
        // struct LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ C3Tuple_RawInvoice_u832InvoiceSignatureZ_new(struct LDKRawInvoice a, struct LDKThirtyTwoBytes b, struct LDKInvoiceSignature c);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_new(a: number, b: number, c: number): number {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_new(a: bigint, b: number, c: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12335,7 +12363,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_new(a: number, b: numbe
 }
        // void C3Tuple_RawInvoice_u832InvoiceSignatureZ_free(struct LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ _res);
 /* @internal */
-export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_free(_res: number): void {
+export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12344,7 +12372,7 @@ export function C3Tuple_RawInvoice_u832InvoiceSignatureZ_free(_res: number): voi
 }
        // struct LDKCResult_PayeePubKeyErrorZ CResult_PayeePubKeyErrorZ_ok(struct LDKPayeePubKey o);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_ok(o: number): number {
+export function CResult_PayeePubKeyErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12353,7 +12381,7 @@ export function CResult_PayeePubKeyErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PayeePubKeyErrorZ CResult_PayeePubKeyErrorZ_err(enum LDKSecp256k1Error e);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_err(e: Secp256k1Error): number {
+export function CResult_PayeePubKeyErrorZ_err(e: Secp256k1Error): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12362,7 +12390,7 @@ export function CResult_PayeePubKeyErrorZ_err(e: Secp256k1Error): number {
 }
        // bool CResult_PayeePubKeyErrorZ_is_ok(const struct LDKCResult_PayeePubKeyErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_is_ok(o: number): boolean {
+export function CResult_PayeePubKeyErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12371,16 +12399,16 @@ export function CResult_PayeePubKeyErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PayeePubKeyErrorZ_free(struct LDKCResult_PayeePubKeyErrorZ _res);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_free(_res: number): void {
+export function CResult_PayeePubKeyErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PayeePubKeyErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PayeePubKeyErrorZ_clone_ptr(LDKCResult_PayeePubKeyErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PayeePubKeyErrorZ_clone_ptr(LDKCResult_PayeePubKeyErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_clone_ptr(arg: number): number {
+export function CResult_PayeePubKeyErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12389,7 +12417,7 @@ export function CResult_PayeePubKeyErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PayeePubKeyErrorZ CResult_PayeePubKeyErrorZ_clone(const struct LDKCResult_PayeePubKeyErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PayeePubKeyErrorZ_clone(orig: number): number {
+export function CResult_PayeePubKeyErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12407,7 +12435,7 @@ export function CVec_PrivateRouteZ_free(_res: number): void {
 }
        // struct LDKCResult_PositiveTimestampCreationErrorZ CResult_PositiveTimestampCreationErrorZ_ok(struct LDKPositiveTimestamp o);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_ok(o: number): number {
+export function CResult_PositiveTimestampCreationErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12416,7 +12444,7 @@ export function CResult_PositiveTimestampCreationErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PositiveTimestampCreationErrorZ CResult_PositiveTimestampCreationErrorZ_err(enum LDKCreationError e);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_err(e: CreationError): number {
+export function CResult_PositiveTimestampCreationErrorZ_err(e: CreationError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12425,7 +12453,7 @@ export function CResult_PositiveTimestampCreationErrorZ_err(e: CreationError): n
 }
        // bool CResult_PositiveTimestampCreationErrorZ_is_ok(const struct LDKCResult_PositiveTimestampCreationErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_is_ok(o: number): boolean {
+export function CResult_PositiveTimestampCreationErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12434,16 +12462,16 @@ export function CResult_PositiveTimestampCreationErrorZ_is_ok(o: number): boolea
 }
        // void CResult_PositiveTimestampCreationErrorZ_free(struct LDKCResult_PositiveTimestampCreationErrorZ _res);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_free(_res: number): void {
+export function CResult_PositiveTimestampCreationErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PositiveTimestampCreationErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PositiveTimestampCreationErrorZ_clone_ptr(LDKCResult_PositiveTimestampCreationErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PositiveTimestampCreationErrorZ_clone_ptr(LDKCResult_PositiveTimestampCreationErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_clone_ptr(arg: number): number {
+export function CResult_PositiveTimestampCreationErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12452,7 +12480,7 @@ export function CResult_PositiveTimestampCreationErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_PositiveTimestampCreationErrorZ CResult_PositiveTimestampCreationErrorZ_clone(const struct LDKCResult_PositiveTimestampCreationErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PositiveTimestampCreationErrorZ_clone(orig: number): number {
+export function CResult_PositiveTimestampCreationErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12461,7 +12489,7 @@ export function CResult_PositiveTimestampCreationErrorZ_clone(orig: number): num
 }
        // struct LDKCResult_NoneSemanticErrorZ CResult_NoneSemanticErrorZ_ok(void);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_ok(): number {
+export function CResult_NoneSemanticErrorZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12470,7 +12498,7 @@ export function CResult_NoneSemanticErrorZ_ok(): number {
 }
        // struct LDKCResult_NoneSemanticErrorZ CResult_NoneSemanticErrorZ_err(enum LDKSemanticError e);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_err(e: SemanticError): number {
+export function CResult_NoneSemanticErrorZ_err(e: SemanticError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12479,7 +12507,7 @@ export function CResult_NoneSemanticErrorZ_err(e: SemanticError): number {
 }
        // bool CResult_NoneSemanticErrorZ_is_ok(const struct LDKCResult_NoneSemanticErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_is_ok(o: number): boolean {
+export function CResult_NoneSemanticErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12488,16 +12516,16 @@ export function CResult_NoneSemanticErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NoneSemanticErrorZ_free(struct LDKCResult_NoneSemanticErrorZ _res);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_free(_res: number): void {
+export function CResult_NoneSemanticErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NoneSemanticErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NoneSemanticErrorZ_clone_ptr(LDKCResult_NoneSemanticErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NoneSemanticErrorZ_clone_ptr(LDKCResult_NoneSemanticErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_clone_ptr(arg: number): number {
+export function CResult_NoneSemanticErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12506,7 +12534,7 @@ export function CResult_NoneSemanticErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NoneSemanticErrorZ CResult_NoneSemanticErrorZ_clone(const struct LDKCResult_NoneSemanticErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NoneSemanticErrorZ_clone(orig: number): number {
+export function CResult_NoneSemanticErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12515,7 +12543,7 @@ export function CResult_NoneSemanticErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_InvoiceSemanticErrorZ CResult_InvoiceSemanticErrorZ_ok(struct LDKInvoice o);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_ok(o: number): number {
+export function CResult_InvoiceSemanticErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12524,7 +12552,7 @@ export function CResult_InvoiceSemanticErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InvoiceSemanticErrorZ CResult_InvoiceSemanticErrorZ_err(enum LDKSemanticError e);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_err(e: SemanticError): number {
+export function CResult_InvoiceSemanticErrorZ_err(e: SemanticError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12533,7 +12561,7 @@ export function CResult_InvoiceSemanticErrorZ_err(e: SemanticError): number {
 }
        // bool CResult_InvoiceSemanticErrorZ_is_ok(const struct LDKCResult_InvoiceSemanticErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_is_ok(o: number): boolean {
+export function CResult_InvoiceSemanticErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12542,16 +12570,16 @@ export function CResult_InvoiceSemanticErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InvoiceSemanticErrorZ_free(struct LDKCResult_InvoiceSemanticErrorZ _res);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_free(_res: number): void {
+export function CResult_InvoiceSemanticErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InvoiceSemanticErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InvoiceSemanticErrorZ_clone_ptr(LDKCResult_InvoiceSemanticErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InvoiceSemanticErrorZ_clone_ptr(LDKCResult_InvoiceSemanticErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_clone_ptr(arg: number): number {
+export function CResult_InvoiceSemanticErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12560,7 +12588,7 @@ export function CResult_InvoiceSemanticErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_InvoiceSemanticErrorZ CResult_InvoiceSemanticErrorZ_clone(const struct LDKCResult_InvoiceSemanticErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InvoiceSemanticErrorZ_clone(orig: number): number {
+export function CResult_InvoiceSemanticErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12569,7 +12597,7 @@ export function CResult_InvoiceSemanticErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_DescriptionCreationErrorZ CResult_DescriptionCreationErrorZ_ok(struct LDKDescription o);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_ok(o: number): number {
+export function CResult_DescriptionCreationErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12578,7 +12606,7 @@ export function CResult_DescriptionCreationErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_DescriptionCreationErrorZ CResult_DescriptionCreationErrorZ_err(enum LDKCreationError e);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_err(e: CreationError): number {
+export function CResult_DescriptionCreationErrorZ_err(e: CreationError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12587,7 +12615,7 @@ export function CResult_DescriptionCreationErrorZ_err(e: CreationError): number
 }
        // bool CResult_DescriptionCreationErrorZ_is_ok(const struct LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_is_ok(o: number): boolean {
+export function CResult_DescriptionCreationErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12596,16 +12624,16 @@ export function CResult_DescriptionCreationErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_DescriptionCreationErrorZ_free(struct LDKCResult_DescriptionCreationErrorZ _res);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_free(_res: number): void {
+export function CResult_DescriptionCreationErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_DescriptionCreationErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_DescriptionCreationErrorZ_clone_ptr(LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_DescriptionCreationErrorZ_clone_ptr(LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_clone_ptr(arg: number): number {
+export function CResult_DescriptionCreationErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12614,7 +12642,7 @@ export function CResult_DescriptionCreationErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_DescriptionCreationErrorZ CResult_DescriptionCreationErrorZ_clone(const struct LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_DescriptionCreationErrorZ_clone(orig: number): number {
+export function CResult_DescriptionCreationErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12623,7 +12651,7 @@ export function CResult_DescriptionCreationErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PrivateRouteCreationErrorZ CResult_PrivateRouteCreationErrorZ_ok(struct LDKPrivateRoute o);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_ok(o: number): number {
+export function CResult_PrivateRouteCreationErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12632,7 +12660,7 @@ export function CResult_PrivateRouteCreationErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PrivateRouteCreationErrorZ CResult_PrivateRouteCreationErrorZ_err(enum LDKCreationError e);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_err(e: CreationError): number {
+export function CResult_PrivateRouteCreationErrorZ_err(e: CreationError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12641,7 +12669,7 @@ export function CResult_PrivateRouteCreationErrorZ_err(e: CreationError): number
 }
        // bool CResult_PrivateRouteCreationErrorZ_is_ok(const struct LDKCResult_PrivateRouteCreationErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_is_ok(o: number): boolean {
+export function CResult_PrivateRouteCreationErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12650,16 +12678,16 @@ export function CResult_PrivateRouteCreationErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PrivateRouteCreationErrorZ_free(struct LDKCResult_PrivateRouteCreationErrorZ _res);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_free(_res: number): void {
+export function CResult_PrivateRouteCreationErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PrivateRouteCreationErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PrivateRouteCreationErrorZ_clone_ptr(LDKCResult_PrivateRouteCreationErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PrivateRouteCreationErrorZ_clone_ptr(LDKCResult_PrivateRouteCreationErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_clone_ptr(arg: number): number {
+export function CResult_PrivateRouteCreationErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12668,7 +12696,7 @@ export function CResult_PrivateRouteCreationErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_PrivateRouteCreationErrorZ CResult_PrivateRouteCreationErrorZ_clone(const struct LDKCResult_PrivateRouteCreationErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PrivateRouteCreationErrorZ_clone(orig: number): number {
+export function CResult_PrivateRouteCreationErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12677,7 +12705,7 @@ export function CResult_PrivateRouteCreationErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_StringErrorZ CResult_StringErrorZ_ok(struct LDKStr o);
 /* @internal */
-export function CResult_StringErrorZ_ok(o: number): number {
+export function CResult_StringErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12686,7 +12714,7 @@ export function CResult_StringErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_StringErrorZ CResult_StringErrorZ_err(enum LDKSecp256k1Error e);
 /* @internal */
-export function CResult_StringErrorZ_err(e: Secp256k1Error): number {
+export function CResult_StringErrorZ_err(e: Secp256k1Error): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12695,7 +12723,7 @@ export function CResult_StringErrorZ_err(e: Secp256k1Error): number {
 }
        // bool CResult_StringErrorZ_is_ok(const struct LDKCResult_StringErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_StringErrorZ_is_ok(o: number): boolean {
+export function CResult_StringErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12704,16 +12732,16 @@ export function CResult_StringErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_StringErrorZ_free(struct LDKCResult_StringErrorZ _res);
 /* @internal */
-export function CResult_StringErrorZ_free(_res: number): void {
+export function CResult_StringErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_StringErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_StringErrorZ_clone_ptr(LDKCResult_StringErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_StringErrorZ_clone_ptr(LDKCResult_StringErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_StringErrorZ_clone_ptr(arg: number): number {
+export function CResult_StringErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12722,7 +12750,7 @@ export function CResult_StringErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_StringErrorZ CResult_StringErrorZ_clone(const struct LDKCResult_StringErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_StringErrorZ_clone(orig: number): number {
+export function CResult_StringErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12731,7 +12759,7 @@ export function CResult_StringErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ CResult_ChannelMonitorUpdateDecodeErrorZ_ok(struct LDKChannelMonitorUpdate o);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12740,7 +12768,7 @@ export function CResult_ChannelMonitorUpdateDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ CResult_ChannelMonitorUpdateDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12749,7 +12777,7 @@ export function CResult_ChannelMonitorUpdateDecodeErrorZ_err(e: number): number
 }
        // bool CResult_ChannelMonitorUpdateDecodeErrorZ_is_ok(const struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12758,16 +12786,16 @@ export function CResult_ChannelMonitorUpdateDecodeErrorZ_is_ok(o: number): boole
 }
        // void CResult_ChannelMonitorUpdateDecodeErrorZ_free(struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelMonitorUpdateDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelMonitorUpdateDecodeErrorZ_clone_ptr(LDKCResult_ChannelMonitorUpdateDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelMonitorUpdateDecodeErrorZ_clone_ptr(LDKCResult_ChannelMonitorUpdateDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12776,7 +12804,7 @@ export function CResult_ChannelMonitorUpdateDecodeErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ CResult_ChannelMonitorUpdateDecodeErrorZ_clone(const struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelMonitorUpdateDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelMonitorUpdateDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12785,7 +12813,7 @@ export function CResult_ChannelMonitorUpdateDecodeErrorZ_clone(orig: number): nu
 }
        // struct LDKCOption_MonitorEventZ COption_MonitorEventZ_some(struct LDKMonitorEvent o);
 /* @internal */
-export function COption_MonitorEventZ_some(o: number): number {
+export function COption_MonitorEventZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12794,7 +12822,7 @@ export function COption_MonitorEventZ_some(o: number): number {
 }
        // struct LDKCOption_MonitorEventZ COption_MonitorEventZ_none(void);
 /* @internal */
-export function COption_MonitorEventZ_none(): number {
+export function COption_MonitorEventZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12803,16 +12831,16 @@ export function COption_MonitorEventZ_none(): number {
 }
        // void COption_MonitorEventZ_free(struct LDKCOption_MonitorEventZ _res);
 /* @internal */
-export function COption_MonitorEventZ_free(_res: number): void {
+export function COption_MonitorEventZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_MonitorEventZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_MonitorEventZ_clone_ptr(LDKCOption_MonitorEventZ *NONNULL_PTR arg);
+       // uint64_t COption_MonitorEventZ_clone_ptr(LDKCOption_MonitorEventZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_MonitorEventZ_clone_ptr(arg: number): number {
+export function COption_MonitorEventZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12821,7 +12849,7 @@ export function COption_MonitorEventZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_MonitorEventZ COption_MonitorEventZ_clone(const struct LDKCOption_MonitorEventZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_MonitorEventZ_clone(orig: number): number {
+export function COption_MonitorEventZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12830,7 +12858,7 @@ export function COption_MonitorEventZ_clone(orig: number): number {
 }
        // struct LDKCResult_COption_MonitorEventZDecodeErrorZ CResult_COption_MonitorEventZDecodeErrorZ_ok(struct LDKCOption_MonitorEventZ o);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_ok(o: number): number {
+export function CResult_COption_MonitorEventZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12839,7 +12867,7 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_COption_MonitorEventZDecodeErrorZ CResult_COption_MonitorEventZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_err(e: number): number {
+export function CResult_COption_MonitorEventZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12848,7 +12876,7 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_err(e: number): number
 }
        // bool CResult_COption_MonitorEventZDecodeErrorZ_is_ok(const struct LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_COption_MonitorEventZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12857,16 +12885,16 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_is_ok(o: number): bool
 }
        // void CResult_COption_MonitorEventZDecodeErrorZ_free(struct LDKCResult_COption_MonitorEventZDecodeErrorZ _res);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_free(_res: number): void {
+export function CResult_COption_MonitorEventZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_COption_MonitorEventZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_COption_MonitorEventZDecodeErrorZ_clone_ptr(LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_COption_MonitorEventZDecodeErrorZ_clone_ptr(LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_COption_MonitorEventZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12875,7 +12903,7 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_clone_ptr(arg: number)
 }
        // struct LDKCResult_COption_MonitorEventZDecodeErrorZ CResult_COption_MonitorEventZDecodeErrorZ_clone(const struct LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_COption_MonitorEventZDecodeErrorZ_clone(orig: number): number {
+export function CResult_COption_MonitorEventZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12884,7 +12912,7 @@ export function CResult_COption_MonitorEventZDecodeErrorZ_clone(orig: number): n
 }
        // struct LDKCResult_HTLCUpdateDecodeErrorZ CResult_HTLCUpdateDecodeErrorZ_ok(struct LDKHTLCUpdate o);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_ok(o: number): number {
+export function CResult_HTLCUpdateDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12893,7 +12921,7 @@ export function CResult_HTLCUpdateDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_HTLCUpdateDecodeErrorZ CResult_HTLCUpdateDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_err(e: number): number {
+export function CResult_HTLCUpdateDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12902,7 +12930,7 @@ export function CResult_HTLCUpdateDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_HTLCUpdateDecodeErrorZ_is_ok(const struct LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_HTLCUpdateDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12911,16 +12939,16 @@ export function CResult_HTLCUpdateDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_HTLCUpdateDecodeErrorZ_free(struct LDKCResult_HTLCUpdateDecodeErrorZ _res);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_free(_res: number): void {
+export function CResult_HTLCUpdateDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_HTLCUpdateDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_HTLCUpdateDecodeErrorZ_clone_ptr(LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_HTLCUpdateDecodeErrorZ_clone_ptr(LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_HTLCUpdateDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12929,16 +12957,16 @@ export function CResult_HTLCUpdateDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_HTLCUpdateDecodeErrorZ CResult_HTLCUpdateDecodeErrorZ_clone(const struct LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_HTLCUpdateDecodeErrorZ_clone(orig: number): number {
+export function CResult_HTLCUpdateDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_HTLCUpdateDecodeErrorZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C2Tuple_OutPointScriptZ_clone_ptr(LDKC2Tuple_OutPointScriptZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_OutPointScriptZ_clone_ptr(LDKC2Tuple_OutPointScriptZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_OutPointScriptZ_clone_ptr(arg: number): number {
+export function C2Tuple_OutPointScriptZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12947,7 +12975,7 @@ export function C2Tuple_OutPointScriptZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_OutPointScriptZ C2Tuple_OutPointScriptZ_clone(const struct LDKC2Tuple_OutPointScriptZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_OutPointScriptZ_clone(orig: number): number {
+export function C2Tuple_OutPointScriptZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12956,7 +12984,7 @@ export function C2Tuple_OutPointScriptZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_OutPointScriptZ C2Tuple_OutPointScriptZ_new(struct LDKOutPoint a, struct LDKCVec_u8Z b);
 /* @internal */
-export function C2Tuple_OutPointScriptZ_new(a: number, b: number): number {
+export function C2Tuple_OutPointScriptZ_new(a: bigint, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12965,16 +12993,16 @@ export function C2Tuple_OutPointScriptZ_new(a: number, b: number): number {
 }
        // void C2Tuple_OutPointScriptZ_free(struct LDKC2Tuple_OutPointScriptZ _res);
 /* @internal */
-export function C2Tuple_OutPointScriptZ_free(_res: number): void {
+export function C2Tuple_OutPointScriptZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_C2Tuple_OutPointScriptZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_u32ScriptZ_clone_ptr(LDKC2Tuple_u32ScriptZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_u32ScriptZ_clone_ptr(LDKC2Tuple_u32ScriptZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_u32ScriptZ_clone_ptr(arg: number): number {
+export function C2Tuple_u32ScriptZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12983,7 +13011,7 @@ export function C2Tuple_u32ScriptZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_u32ScriptZ C2Tuple_u32ScriptZ_clone(const struct LDKC2Tuple_u32ScriptZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_u32ScriptZ_clone(orig: number): number {
+export function C2Tuple_u32ScriptZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -12992,7 +13020,7 @@ export function C2Tuple_u32ScriptZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_u32ScriptZ C2Tuple_u32ScriptZ_new(uint32_t a, struct LDKCVec_u8Z b);
 /* @internal */
-export function C2Tuple_u32ScriptZ_new(a: number, b: number): number {
+export function C2Tuple_u32ScriptZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13001,7 +13029,7 @@ export function C2Tuple_u32ScriptZ_new(a: number, b: number): number {
 }
        // void C2Tuple_u32ScriptZ_free(struct LDKC2Tuple_u32ScriptZ _res);
 /* @internal */
-export function C2Tuple_u32ScriptZ_free(_res: number): void {
+export function C2Tuple_u32ScriptZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13017,9 +13045,9 @@ export function CVec_C2Tuple_u32ScriptZZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_C2Tuple_u32ScriptZZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone_ptr(LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone_ptr(LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone_ptr(arg: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13028,7 +13056,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone_ptr(arg: number): nu
 }
        // struct LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone(const struct LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone(orig: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13037,7 +13065,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone(orig: number): numbe
 }
        // struct LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_new(struct LDKThirtyTwoBytes a, struct LDKCVec_C2Tuple_u32ScriptZZ b);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_new(a: number, b: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13046,7 +13074,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_new(a: number, b: number):
 }
        // void C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_free(struct LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ _res);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_free(_res: number): void {
+export function C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13080,9 +13108,9 @@ export function CVec_TransactionZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_TransactionZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_u32TxOutZ_clone_ptr(LDKC2Tuple_u32TxOutZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_u32TxOutZ_clone_ptr(LDKC2Tuple_u32TxOutZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_u32TxOutZ_clone_ptr(arg: number): number {
+export function C2Tuple_u32TxOutZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13091,7 +13119,7 @@ export function C2Tuple_u32TxOutZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_u32TxOutZ C2Tuple_u32TxOutZ_clone(const struct LDKC2Tuple_u32TxOutZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_u32TxOutZ_clone(orig: number): number {
+export function C2Tuple_u32TxOutZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13100,7 +13128,7 @@ export function C2Tuple_u32TxOutZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_u32TxOutZ C2Tuple_u32TxOutZ_new(uint32_t a, struct LDKTxOut b);
 /* @internal */
-export function C2Tuple_u32TxOutZ_new(a: number, b: number): number {
+export function C2Tuple_u32TxOutZ_new(a: number, b: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13109,7 +13137,7 @@ export function C2Tuple_u32TxOutZ_new(a: number, b: number): number {
 }
        // void C2Tuple_u32TxOutZ_free(struct LDKC2Tuple_u32TxOutZ _res);
 /* @internal */
-export function C2Tuple_u32TxOutZ_free(_res: number): void {
+export function C2Tuple_u32TxOutZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13125,9 +13153,9 @@ export function CVec_C2Tuple_u32TxOutZZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_C2Tuple_u32TxOutZZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone_ptr(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone_ptr(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone_ptr(arg: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13136,7 +13164,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone_ptr(arg: number): num
 }
        // struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone(const struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone(orig: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13145,7 +13173,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone(orig: number): number
 }
        // struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new(struct LDKThirtyTwoBytes a, struct LDKCVec_C2Tuple_u32TxOutZZ b);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new(a: number, b: number): number {
+export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new(a: number, b: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13154,7 +13182,7 @@ export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new(a: number, b: number):
 }
        // void C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free(struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ _res);
 /* @internal */
-export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free(_res: number): void {
+export function C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13179,9 +13207,9 @@ export function CVec_BalanceZ_free(_res: number): void {
        const nativeResponseValue = wasm.TS_CVec_BalanceZ_free(_res);
        // debug statements here
 }
-       // uintptr_t C2Tuple_BlockHashChannelMonitorZ_clone_ptr(LDKC2Tuple_BlockHashChannelMonitorZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_BlockHashChannelMonitorZ_clone_ptr(LDKC2Tuple_BlockHashChannelMonitorZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_clone_ptr(arg: number): number {
+export function C2Tuple_BlockHashChannelMonitorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13190,7 +13218,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_clone_ptr(arg: number): number
 }
        // struct LDKC2Tuple_BlockHashChannelMonitorZ C2Tuple_BlockHashChannelMonitorZ_clone(const struct LDKC2Tuple_BlockHashChannelMonitorZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_clone(orig: number): number {
+export function C2Tuple_BlockHashChannelMonitorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13199,7 +13227,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_BlockHashChannelMonitorZ C2Tuple_BlockHashChannelMonitorZ_new(struct LDKThirtyTwoBytes a, struct LDKChannelMonitor b);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_new(a: number, b: number): number {
+export function C2Tuple_BlockHashChannelMonitorZ_new(a: number, b: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13208,7 +13236,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_new(a: number, b: number): numb
 }
        // void C2Tuple_BlockHashChannelMonitorZ_free(struct LDKC2Tuple_BlockHashChannelMonitorZ _res);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_free(_res: number): void {
+export function C2Tuple_BlockHashChannelMonitorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13217,7 +13245,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_free(_res: number): void {
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_ok(struct LDKC2Tuple_BlockHashChannelMonitorZ o);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_ok(o: number): number {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13226,7 +13254,7 @@ export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_ok(o: numbe
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err(e: number): number {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13235,7 +13263,7 @@ export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err(e: numb
 }
        // bool CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_is_ok(const struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13244,16 +13272,16 @@ export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_is_ok(o: nu
 }
        // void CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free(struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ _res);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free(_res: number): void {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone_ptr(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone_ptr(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13262,16 +13290,16 @@ export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone_ptr(a
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone(const struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone(orig: number): number {
+export function CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t C2Tuple_PublicKeyTypeZ_clone_ptr(LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR arg);
+       // uint64_t C2Tuple_PublicKeyTypeZ_clone_ptr(LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_PublicKeyTypeZ_clone_ptr(arg: number): number {
+export function C2Tuple_PublicKeyTypeZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13280,7 +13308,7 @@ export function C2Tuple_PublicKeyTypeZ_clone_ptr(arg: number): number {
 }
        // struct LDKC2Tuple_PublicKeyTypeZ C2Tuple_PublicKeyTypeZ_clone(const struct LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR orig);
 /* @internal */
-export function C2Tuple_PublicKeyTypeZ_clone(orig: number): number {
+export function C2Tuple_PublicKeyTypeZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13289,7 +13317,7 @@ export function C2Tuple_PublicKeyTypeZ_clone(orig: number): number {
 }
        // struct LDKC2Tuple_PublicKeyTypeZ C2Tuple_PublicKeyTypeZ_new(struct LDKPublicKey a, struct LDKType b);
 /* @internal */
-export function C2Tuple_PublicKeyTypeZ_new(a: number, b: number): number {
+export function C2Tuple_PublicKeyTypeZ_new(a: number, b: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13298,7 +13326,7 @@ export function C2Tuple_PublicKeyTypeZ_new(a: number, b: number): number {
 }
        // void C2Tuple_PublicKeyTypeZ_free(struct LDKC2Tuple_PublicKeyTypeZ _res);
 /* @internal */
-export function C2Tuple_PublicKeyTypeZ_free(_res: number): void {
+export function C2Tuple_PublicKeyTypeZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13316,7 +13344,7 @@ export function CVec_C2Tuple_PublicKeyTypeZZ_free(_res: number): void {
 }
        // struct LDKCOption_NetAddressZ COption_NetAddressZ_some(struct LDKNetAddress o);
 /* @internal */
-export function COption_NetAddressZ_some(o: number): number {
+export function COption_NetAddressZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13325,7 +13353,7 @@ export function COption_NetAddressZ_some(o: number): number {
 }
        // struct LDKCOption_NetAddressZ COption_NetAddressZ_none(void);
 /* @internal */
-export function COption_NetAddressZ_none(): number {
+export function COption_NetAddressZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13334,16 +13362,16 @@ export function COption_NetAddressZ_none(): number {
 }
        // void COption_NetAddressZ_free(struct LDKCOption_NetAddressZ _res);
 /* @internal */
-export function COption_NetAddressZ_free(_res: number): void {
+export function COption_NetAddressZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_COption_NetAddressZ_free(_res);
        // debug statements here
 }
-       // uintptr_t COption_NetAddressZ_clone_ptr(LDKCOption_NetAddressZ *NONNULL_PTR arg);
+       // uint64_t COption_NetAddressZ_clone_ptr(LDKCOption_NetAddressZ *NONNULL_PTR arg);
 /* @internal */
-export function COption_NetAddressZ_clone_ptr(arg: number): number {
+export function COption_NetAddressZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13352,7 +13380,7 @@ export function COption_NetAddressZ_clone_ptr(arg: number): number {
 }
        // struct LDKCOption_NetAddressZ COption_NetAddressZ_clone(const struct LDKCOption_NetAddressZ *NONNULL_PTR orig);
 /* @internal */
-export function COption_NetAddressZ_clone(orig: number): number {
+export function COption_NetAddressZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13361,7 +13389,7 @@ export function COption_NetAddressZ_clone(orig: number): number {
 }
        // struct LDKCResult_CVec_u8ZPeerHandleErrorZ CResult_CVec_u8ZPeerHandleErrorZ_ok(struct LDKCVec_u8Z o);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_ok(o: number): number {
+export function CResult_CVec_u8ZPeerHandleErrorZ_ok(o: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13370,7 +13398,7 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_CVec_u8ZPeerHandleErrorZ CResult_CVec_u8ZPeerHandleErrorZ_err(struct LDKPeerHandleError e);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_err(e: number): number {
+export function CResult_CVec_u8ZPeerHandleErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13379,7 +13407,7 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_err(e: number): number {
 }
        // bool CResult_CVec_u8ZPeerHandleErrorZ_is_ok(const struct LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_is_ok(o: number): boolean {
+export function CResult_CVec_u8ZPeerHandleErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13388,16 +13416,16 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_CVec_u8ZPeerHandleErrorZ_free(struct LDKCResult_CVec_u8ZPeerHandleErrorZ _res);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_free(_res: number): void {
+export function CResult_CVec_u8ZPeerHandleErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CVec_u8ZPeerHandleErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CVec_u8ZPeerHandleErrorZ_clone_ptr(LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_CVec_u8ZPeerHandleErrorZ_clone_ptr(LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_clone_ptr(arg: number): number {
+export function CResult_CVec_u8ZPeerHandleErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13406,7 +13434,7 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_CVec_u8ZPeerHandleErrorZ CResult_CVec_u8ZPeerHandleErrorZ_clone(const struct LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CVec_u8ZPeerHandleErrorZ_clone(orig: number): number {
+export function CResult_CVec_u8ZPeerHandleErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13415,7 +13443,7 @@ export function CResult_CVec_u8ZPeerHandleErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_NonePeerHandleErrorZ CResult_NonePeerHandleErrorZ_ok(void);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_ok(): number {
+export function CResult_NonePeerHandleErrorZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13424,7 +13452,7 @@ export function CResult_NonePeerHandleErrorZ_ok(): number {
 }
        // struct LDKCResult_NonePeerHandleErrorZ CResult_NonePeerHandleErrorZ_err(struct LDKPeerHandleError e);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_err(e: number): number {
+export function CResult_NonePeerHandleErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13433,7 +13461,7 @@ export function CResult_NonePeerHandleErrorZ_err(e: number): number {
 }
        // bool CResult_NonePeerHandleErrorZ_is_ok(const struct LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_is_ok(o: number): boolean {
+export function CResult_NonePeerHandleErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13442,16 +13470,16 @@ export function CResult_NonePeerHandleErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NonePeerHandleErrorZ_free(struct LDKCResult_NonePeerHandleErrorZ _res);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_free(_res: number): void {
+export function CResult_NonePeerHandleErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NonePeerHandleErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NonePeerHandleErrorZ_clone_ptr(LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NonePeerHandleErrorZ_clone_ptr(LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_clone_ptr(arg: number): number {
+export function CResult_NonePeerHandleErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13460,7 +13488,7 @@ export function CResult_NonePeerHandleErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NonePeerHandleErrorZ CResult_NonePeerHandleErrorZ_clone(const struct LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NonePeerHandleErrorZ_clone(orig: number): number {
+export function CResult_NonePeerHandleErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13469,7 +13497,7 @@ export function CResult_NonePeerHandleErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_boolPeerHandleErrorZ CResult_boolPeerHandleErrorZ_ok(bool o);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_ok(o: boolean): number {
+export function CResult_boolPeerHandleErrorZ_ok(o: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13478,7 +13506,7 @@ export function CResult_boolPeerHandleErrorZ_ok(o: boolean): number {
 }
        // struct LDKCResult_boolPeerHandleErrorZ CResult_boolPeerHandleErrorZ_err(struct LDKPeerHandleError e);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_err(e: number): number {
+export function CResult_boolPeerHandleErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13487,7 +13515,7 @@ export function CResult_boolPeerHandleErrorZ_err(e: number): number {
 }
        // bool CResult_boolPeerHandleErrorZ_is_ok(const struct LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_is_ok(o: number): boolean {
+export function CResult_boolPeerHandleErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13496,16 +13524,16 @@ export function CResult_boolPeerHandleErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_boolPeerHandleErrorZ_free(struct LDKCResult_boolPeerHandleErrorZ _res);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_free(_res: number): void {
+export function CResult_boolPeerHandleErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_boolPeerHandleErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_boolPeerHandleErrorZ_clone_ptr(LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_boolPeerHandleErrorZ_clone_ptr(LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_clone_ptr(arg: number): number {
+export function CResult_boolPeerHandleErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13514,7 +13542,7 @@ export function CResult_boolPeerHandleErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_boolPeerHandleErrorZ CResult_boolPeerHandleErrorZ_clone(const struct LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_boolPeerHandleErrorZ_clone(orig: number): number {
+export function CResult_boolPeerHandleErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13523,7 +13551,7 @@ export function CResult_boolPeerHandleErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_NoneErrorZ CResult_NoneErrorZ_ok(void);
 /* @internal */
-export function CResult_NoneErrorZ_ok(): number {
+export function CResult_NoneErrorZ_ok(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13532,7 +13560,7 @@ export function CResult_NoneErrorZ_ok(): number {
 }
        // struct LDKCResult_NoneErrorZ CResult_NoneErrorZ_err(enum LDKIOError e);
 /* @internal */
-export function CResult_NoneErrorZ_err(e: IOError): number {
+export function CResult_NoneErrorZ_err(e: IOError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13541,7 +13569,7 @@ export function CResult_NoneErrorZ_err(e: IOError): number {
 }
        // bool CResult_NoneErrorZ_is_ok(const struct LDKCResult_NoneErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NoneErrorZ_is_ok(o: number): boolean {
+export function CResult_NoneErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13550,16 +13578,16 @@ export function CResult_NoneErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NoneErrorZ_free(struct LDKCResult_NoneErrorZ _res);
 /* @internal */
-export function CResult_NoneErrorZ_free(_res: number): void {
+export function CResult_NoneErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NoneErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NoneErrorZ_clone_ptr(LDKCResult_NoneErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NoneErrorZ_clone_ptr(LDKCResult_NoneErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NoneErrorZ_clone_ptr(arg: number): number {
+export function CResult_NoneErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13568,7 +13596,7 @@ export function CResult_NoneErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NoneErrorZ CResult_NoneErrorZ_clone(const struct LDKCResult_NoneErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NoneErrorZ_clone(orig: number): number {
+export function CResult_NoneErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13577,7 +13605,7 @@ export function CResult_NoneErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_NetAddressDecodeErrorZ CResult_NetAddressDecodeErrorZ_ok(struct LDKNetAddress o);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_ok(o: number): number {
+export function CResult_NetAddressDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13586,7 +13614,7 @@ export function CResult_NetAddressDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NetAddressDecodeErrorZ CResult_NetAddressDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_err(e: number): number {
+export function CResult_NetAddressDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13595,7 +13623,7 @@ export function CResult_NetAddressDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NetAddressDecodeErrorZ_is_ok(const struct LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NetAddressDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13604,16 +13632,16 @@ export function CResult_NetAddressDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NetAddressDecodeErrorZ_free(struct LDKCResult_NetAddressDecodeErrorZ _res);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_free(_res: number): void {
+export function CResult_NetAddressDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NetAddressDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NetAddressDecodeErrorZ_clone_ptr(LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NetAddressDecodeErrorZ_clone_ptr(LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NetAddressDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13622,7 +13650,7 @@ export function CResult_NetAddressDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_NetAddressDecodeErrorZ CResult_NetAddressDecodeErrorZ_clone(const struct LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NetAddressDecodeErrorZ_clone(orig: number): number {
+export function CResult_NetAddressDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13667,7 +13695,7 @@ export function CVec_UpdateFailMalformedHTLCZ_free(_res: number): void {
 }
        // struct LDKCResult_AcceptChannelDecodeErrorZ CResult_AcceptChannelDecodeErrorZ_ok(struct LDKAcceptChannel o);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_ok(o: number): number {
+export function CResult_AcceptChannelDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13676,7 +13704,7 @@ export function CResult_AcceptChannelDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_AcceptChannelDecodeErrorZ CResult_AcceptChannelDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_err(e: number): number {
+export function CResult_AcceptChannelDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13685,7 +13713,7 @@ export function CResult_AcceptChannelDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_AcceptChannelDecodeErrorZ_is_ok(const struct LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_AcceptChannelDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13694,16 +13722,16 @@ export function CResult_AcceptChannelDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_AcceptChannelDecodeErrorZ_free(struct LDKCResult_AcceptChannelDecodeErrorZ _res);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_free(_res: number): void {
+export function CResult_AcceptChannelDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_AcceptChannelDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_AcceptChannelDecodeErrorZ_clone_ptr(LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_AcceptChannelDecodeErrorZ_clone_ptr(LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_AcceptChannelDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13712,7 +13740,7 @@ export function CResult_AcceptChannelDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_AcceptChannelDecodeErrorZ CResult_AcceptChannelDecodeErrorZ_clone(const struct LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_AcceptChannelDecodeErrorZ_clone(orig: number): number {
+export function CResult_AcceptChannelDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13721,7 +13749,7 @@ export function CResult_AcceptChannelDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_AnnouncementSignaturesDecodeErrorZ CResult_AnnouncementSignaturesDecodeErrorZ_ok(struct LDKAnnouncementSignatures o);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_ok(o: number): number {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13730,7 +13758,7 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_AnnouncementSignaturesDecodeErrorZ CResult_AnnouncementSignaturesDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_err(e: number): number {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13739,7 +13767,7 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_err(e: number): numbe
 }
        // bool CResult_AnnouncementSignaturesDecodeErrorZ_is_ok(const struct LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13748,16 +13776,16 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_is_ok(o: number): boo
 }
        // void CResult_AnnouncementSignaturesDecodeErrorZ_free(struct LDKCResult_AnnouncementSignaturesDecodeErrorZ _res);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_free(_res: number): void {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_AnnouncementSignaturesDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_AnnouncementSignaturesDecodeErrorZ_clone_ptr(LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_AnnouncementSignaturesDecodeErrorZ_clone_ptr(LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13766,7 +13794,7 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_clone_ptr(arg: number
 }
        // struct LDKCResult_AnnouncementSignaturesDecodeErrorZ CResult_AnnouncementSignaturesDecodeErrorZ_clone(const struct LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_AnnouncementSignaturesDecodeErrorZ_clone(orig: number): number {
+export function CResult_AnnouncementSignaturesDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13775,7 +13803,7 @@ export function CResult_AnnouncementSignaturesDecodeErrorZ_clone(orig: number):
 }
        // struct LDKCResult_ChannelReestablishDecodeErrorZ CResult_ChannelReestablishDecodeErrorZ_ok(struct LDKChannelReestablish o);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelReestablishDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13784,7 +13812,7 @@ export function CResult_ChannelReestablishDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelReestablishDecodeErrorZ CResult_ChannelReestablishDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelReestablishDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13793,7 +13821,7 @@ export function CResult_ChannelReestablishDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelReestablishDecodeErrorZ_is_ok(const struct LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelReestablishDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13802,16 +13830,16 @@ export function CResult_ChannelReestablishDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_ChannelReestablishDecodeErrorZ_free(struct LDKCResult_ChannelReestablishDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelReestablishDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelReestablishDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelReestablishDecodeErrorZ_clone_ptr(LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelReestablishDecodeErrorZ_clone_ptr(LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelReestablishDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13820,7 +13848,7 @@ export function CResult_ChannelReestablishDecodeErrorZ_clone_ptr(arg: number): n
 }
        // struct LDKCResult_ChannelReestablishDecodeErrorZ CResult_ChannelReestablishDecodeErrorZ_clone(const struct LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelReestablishDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelReestablishDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13829,7 +13857,7 @@ export function CResult_ChannelReestablishDecodeErrorZ_clone(orig: number): numb
 }
        // struct LDKCResult_ClosingSignedDecodeErrorZ CResult_ClosingSignedDecodeErrorZ_ok(struct LDKClosingSigned o);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_ok(o: number): number {
+export function CResult_ClosingSignedDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13838,7 +13866,7 @@ export function CResult_ClosingSignedDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ClosingSignedDecodeErrorZ CResult_ClosingSignedDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_err(e: number): number {
+export function CResult_ClosingSignedDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13847,7 +13875,7 @@ export function CResult_ClosingSignedDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ClosingSignedDecodeErrorZ_is_ok(const struct LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ClosingSignedDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13856,16 +13884,16 @@ export function CResult_ClosingSignedDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ClosingSignedDecodeErrorZ_free(struct LDKCResult_ClosingSignedDecodeErrorZ _res);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_free(_res: number): void {
+export function CResult_ClosingSignedDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ClosingSignedDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ClosingSignedDecodeErrorZ_clone_ptr(LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ClosingSignedDecodeErrorZ_clone_ptr(LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ClosingSignedDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13874,7 +13902,7 @@ export function CResult_ClosingSignedDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_ClosingSignedDecodeErrorZ CResult_ClosingSignedDecodeErrorZ_clone(const struct LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ClosingSignedDecodeErrorZ_clone(orig: number): number {
+export function CResult_ClosingSignedDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13883,7 +13911,7 @@ export function CResult_ClosingSignedDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ CResult_ClosingSignedFeeRangeDecodeErrorZ_ok(struct LDKClosingSignedFeeRange o);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_ok(o: number): number {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13892,7 +13920,7 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ CResult_ClosingSignedFeeRangeDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_err(e: number): number {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13901,7 +13929,7 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_err(e: number): number
 }
        // bool CResult_ClosingSignedFeeRangeDecodeErrorZ_is_ok(const struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13910,16 +13938,16 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_is_ok(o: number): bool
 }
        // void CResult_ClosingSignedFeeRangeDecodeErrorZ_free(struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ _res);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_free(_res: number): void {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ClosingSignedFeeRangeDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ClosingSignedFeeRangeDecodeErrorZ_clone_ptr(LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ClosingSignedFeeRangeDecodeErrorZ_clone_ptr(LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13928,7 +13956,7 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_clone_ptr(arg: number)
 }
        // struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ CResult_ClosingSignedFeeRangeDecodeErrorZ_clone(const struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ClosingSignedFeeRangeDecodeErrorZ_clone(orig: number): number {
+export function CResult_ClosingSignedFeeRangeDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13937,7 +13965,7 @@ export function CResult_ClosingSignedFeeRangeDecodeErrorZ_clone(orig: number): n
 }
        // struct LDKCResult_CommitmentSignedDecodeErrorZ CResult_CommitmentSignedDecodeErrorZ_ok(struct LDKCommitmentSigned o);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_ok(o: number): number {
+export function CResult_CommitmentSignedDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13946,7 +13974,7 @@ export function CResult_CommitmentSignedDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_CommitmentSignedDecodeErrorZ CResult_CommitmentSignedDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_err(e: number): number {
+export function CResult_CommitmentSignedDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13955,7 +13983,7 @@ export function CResult_CommitmentSignedDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_CommitmentSignedDecodeErrorZ_is_ok(const struct LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_CommitmentSignedDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13964,16 +13992,16 @@ export function CResult_CommitmentSignedDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_CommitmentSignedDecodeErrorZ_free(struct LDKCResult_CommitmentSignedDecodeErrorZ _res);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_free(_res: number): void {
+export function CResult_CommitmentSignedDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_CommitmentSignedDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_CommitmentSignedDecodeErrorZ_clone_ptr(LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_CommitmentSignedDecodeErrorZ_clone_ptr(LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_CommitmentSignedDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13982,7 +14010,7 @@ export function CResult_CommitmentSignedDecodeErrorZ_clone_ptr(arg: number): num
 }
        // struct LDKCResult_CommitmentSignedDecodeErrorZ CResult_CommitmentSignedDecodeErrorZ_clone(const struct LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_CommitmentSignedDecodeErrorZ_clone(orig: number): number {
+export function CResult_CommitmentSignedDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -13991,7 +14019,7 @@ export function CResult_CommitmentSignedDecodeErrorZ_clone(orig: number): number
 }
        // struct LDKCResult_FundingCreatedDecodeErrorZ CResult_FundingCreatedDecodeErrorZ_ok(struct LDKFundingCreated o);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_ok(o: number): number {
+export function CResult_FundingCreatedDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14000,7 +14028,7 @@ export function CResult_FundingCreatedDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_FundingCreatedDecodeErrorZ CResult_FundingCreatedDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_err(e: number): number {
+export function CResult_FundingCreatedDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14009,7 +14037,7 @@ export function CResult_FundingCreatedDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_FundingCreatedDecodeErrorZ_is_ok(const struct LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_FundingCreatedDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14018,16 +14046,16 @@ export function CResult_FundingCreatedDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_FundingCreatedDecodeErrorZ_free(struct LDKCResult_FundingCreatedDecodeErrorZ _res);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_free(_res: number): void {
+export function CResult_FundingCreatedDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_FundingCreatedDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_FundingCreatedDecodeErrorZ_clone_ptr(LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_FundingCreatedDecodeErrorZ_clone_ptr(LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_FundingCreatedDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14036,7 +14064,7 @@ export function CResult_FundingCreatedDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_FundingCreatedDecodeErrorZ CResult_FundingCreatedDecodeErrorZ_clone(const struct LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_FundingCreatedDecodeErrorZ_clone(orig: number): number {
+export function CResult_FundingCreatedDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14045,7 +14073,7 @@ export function CResult_FundingCreatedDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_FundingSignedDecodeErrorZ CResult_FundingSignedDecodeErrorZ_ok(struct LDKFundingSigned o);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_ok(o: number): number {
+export function CResult_FundingSignedDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14054,7 +14082,7 @@ export function CResult_FundingSignedDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_FundingSignedDecodeErrorZ CResult_FundingSignedDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_err(e: number): number {
+export function CResult_FundingSignedDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14063,7 +14091,7 @@ export function CResult_FundingSignedDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_FundingSignedDecodeErrorZ_is_ok(const struct LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_FundingSignedDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14072,16 +14100,16 @@ export function CResult_FundingSignedDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_FundingSignedDecodeErrorZ_free(struct LDKCResult_FundingSignedDecodeErrorZ _res);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_free(_res: number): void {
+export function CResult_FundingSignedDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_FundingSignedDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_FundingSignedDecodeErrorZ_clone_ptr(LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_FundingSignedDecodeErrorZ_clone_ptr(LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_FundingSignedDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14090,7 +14118,7 @@ export function CResult_FundingSignedDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_FundingSignedDecodeErrorZ CResult_FundingSignedDecodeErrorZ_clone(const struct LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_FundingSignedDecodeErrorZ_clone(orig: number): number {
+export function CResult_FundingSignedDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14099,7 +14127,7 @@ export function CResult_FundingSignedDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ChannelReadyDecodeErrorZ CResult_ChannelReadyDecodeErrorZ_ok(struct LDKChannelReady o);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelReadyDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14108,7 +14136,7 @@ export function CResult_ChannelReadyDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelReadyDecodeErrorZ CResult_ChannelReadyDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelReadyDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14117,7 +14145,7 @@ export function CResult_ChannelReadyDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelReadyDecodeErrorZ_is_ok(const struct LDKCResult_ChannelReadyDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelReadyDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14126,16 +14154,16 @@ export function CResult_ChannelReadyDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ChannelReadyDecodeErrorZ_free(struct LDKCResult_ChannelReadyDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelReadyDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelReadyDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelReadyDecodeErrorZ_clone_ptr(LDKCResult_ChannelReadyDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelReadyDecodeErrorZ_clone_ptr(LDKCResult_ChannelReadyDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelReadyDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14144,7 +14172,7 @@ export function CResult_ChannelReadyDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_ChannelReadyDecodeErrorZ CResult_ChannelReadyDecodeErrorZ_clone(const struct LDKCResult_ChannelReadyDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelReadyDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelReadyDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14153,7 +14181,7 @@ export function CResult_ChannelReadyDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_InitDecodeErrorZ CResult_InitDecodeErrorZ_ok(struct LDKInit o);
 /* @internal */
-export function CResult_InitDecodeErrorZ_ok(o: number): number {
+export function CResult_InitDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14162,7 +14190,7 @@ export function CResult_InitDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InitDecodeErrorZ CResult_InitDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_InitDecodeErrorZ_err(e: number): number {
+export function CResult_InitDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14171,7 +14199,7 @@ export function CResult_InitDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_InitDecodeErrorZ_is_ok(const struct LDKCResult_InitDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InitDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_InitDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14180,16 +14208,16 @@ export function CResult_InitDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InitDecodeErrorZ_free(struct LDKCResult_InitDecodeErrorZ _res);
 /* @internal */
-export function CResult_InitDecodeErrorZ_free(_res: number): void {
+export function CResult_InitDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InitDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InitDecodeErrorZ_clone_ptr(LDKCResult_InitDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InitDecodeErrorZ_clone_ptr(LDKCResult_InitDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InitDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_InitDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14198,7 +14226,7 @@ export function CResult_InitDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_InitDecodeErrorZ CResult_InitDecodeErrorZ_clone(const struct LDKCResult_InitDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InitDecodeErrorZ_clone(orig: number): number {
+export function CResult_InitDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14207,7 +14235,7 @@ export function CResult_InitDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_OpenChannelDecodeErrorZ CResult_OpenChannelDecodeErrorZ_ok(struct LDKOpenChannel o);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_ok(o: number): number {
+export function CResult_OpenChannelDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14216,7 +14244,7 @@ export function CResult_OpenChannelDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_OpenChannelDecodeErrorZ CResult_OpenChannelDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_err(e: number): number {
+export function CResult_OpenChannelDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14225,7 +14253,7 @@ export function CResult_OpenChannelDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_OpenChannelDecodeErrorZ_is_ok(const struct LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_OpenChannelDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14234,16 +14262,16 @@ export function CResult_OpenChannelDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_OpenChannelDecodeErrorZ_free(struct LDKCResult_OpenChannelDecodeErrorZ _res);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_free(_res: number): void {
+export function CResult_OpenChannelDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_OpenChannelDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_OpenChannelDecodeErrorZ_clone_ptr(LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_OpenChannelDecodeErrorZ_clone_ptr(LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_OpenChannelDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14252,7 +14280,7 @@ export function CResult_OpenChannelDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_OpenChannelDecodeErrorZ CResult_OpenChannelDecodeErrorZ_clone(const struct LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_OpenChannelDecodeErrorZ_clone(orig: number): number {
+export function CResult_OpenChannelDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14261,7 +14289,7 @@ export function CResult_OpenChannelDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_RevokeAndACKDecodeErrorZ CResult_RevokeAndACKDecodeErrorZ_ok(struct LDKRevokeAndACK o);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_ok(o: number): number {
+export function CResult_RevokeAndACKDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14270,7 +14298,7 @@ export function CResult_RevokeAndACKDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_RevokeAndACKDecodeErrorZ CResult_RevokeAndACKDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_err(e: number): number {
+export function CResult_RevokeAndACKDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14279,7 +14307,7 @@ export function CResult_RevokeAndACKDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_RevokeAndACKDecodeErrorZ_is_ok(const struct LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_RevokeAndACKDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14288,16 +14316,16 @@ export function CResult_RevokeAndACKDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_RevokeAndACKDecodeErrorZ_free(struct LDKCResult_RevokeAndACKDecodeErrorZ _res);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_free(_res: number): void {
+export function CResult_RevokeAndACKDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_RevokeAndACKDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_RevokeAndACKDecodeErrorZ_clone_ptr(LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_RevokeAndACKDecodeErrorZ_clone_ptr(LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_RevokeAndACKDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14306,7 +14334,7 @@ export function CResult_RevokeAndACKDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_RevokeAndACKDecodeErrorZ CResult_RevokeAndACKDecodeErrorZ_clone(const struct LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_RevokeAndACKDecodeErrorZ_clone(orig: number): number {
+export function CResult_RevokeAndACKDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14315,7 +14343,7 @@ export function CResult_RevokeAndACKDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ShutdownDecodeErrorZ CResult_ShutdownDecodeErrorZ_ok(struct LDKShutdown o);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_ok(o: number): number {
+export function CResult_ShutdownDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14324,7 +14352,7 @@ export function CResult_ShutdownDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ShutdownDecodeErrorZ CResult_ShutdownDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_err(e: number): number {
+export function CResult_ShutdownDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14333,7 +14361,7 @@ export function CResult_ShutdownDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ShutdownDecodeErrorZ_is_ok(const struct LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ShutdownDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14342,16 +14370,16 @@ export function CResult_ShutdownDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ShutdownDecodeErrorZ_free(struct LDKCResult_ShutdownDecodeErrorZ _res);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_free(_res: number): void {
+export function CResult_ShutdownDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ShutdownDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ShutdownDecodeErrorZ_clone_ptr(LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ShutdownDecodeErrorZ_clone_ptr(LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ShutdownDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14360,7 +14388,7 @@ export function CResult_ShutdownDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_ShutdownDecodeErrorZ CResult_ShutdownDecodeErrorZ_clone(const struct LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ShutdownDecodeErrorZ_clone(orig: number): number {
+export function CResult_ShutdownDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14369,7 +14397,7 @@ export function CResult_ShutdownDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_UpdateFailHTLCDecodeErrorZ CResult_UpdateFailHTLCDecodeErrorZ_ok(struct LDKUpdateFailHTLC o);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_ok(o: number): number {
+export function CResult_UpdateFailHTLCDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14378,7 +14406,7 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_UpdateFailHTLCDecodeErrorZ CResult_UpdateFailHTLCDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_err(e: number): number {
+export function CResult_UpdateFailHTLCDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14387,7 +14415,7 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_UpdateFailHTLCDecodeErrorZ_is_ok(const struct LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UpdateFailHTLCDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14396,16 +14424,16 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_UpdateFailHTLCDecodeErrorZ_free(struct LDKCResult_UpdateFailHTLCDecodeErrorZ _res);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_free(_res: number): void {
+export function CResult_UpdateFailHTLCDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UpdateFailHTLCDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UpdateFailHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UpdateFailHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UpdateFailHTLCDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14414,7 +14442,7 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_UpdateFailHTLCDecodeErrorZ CResult_UpdateFailHTLCDecodeErrorZ_clone(const struct LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UpdateFailHTLCDecodeErrorZ_clone(orig: number): number {
+export function CResult_UpdateFailHTLCDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14423,7 +14451,7 @@ export function CResult_UpdateFailHTLCDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ CResult_UpdateFailMalformedHTLCDecodeErrorZ_ok(struct LDKUpdateFailMalformedHTLC o);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_ok(o: number): number {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14432,7 +14460,7 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_ok(o: number): numbe
 }
        // struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ CResult_UpdateFailMalformedHTLCDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_err(e: number): number {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14441,7 +14469,7 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_err(e: number): numb
 }
        // bool CResult_UpdateFailMalformedHTLCDecodeErrorZ_is_ok(const struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14450,16 +14478,16 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_is_ok(o: number): bo
 }
        // void CResult_UpdateFailMalformedHTLCDecodeErrorZ_free(struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ _res);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_free(_res: number): void {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UpdateFailMalformedHTLCDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14468,7 +14496,7 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone_ptr(arg: numbe
 }
        // struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone(const struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone(orig: number): number {
+export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14477,7 +14505,7 @@ export function CResult_UpdateFailMalformedHTLCDecodeErrorZ_clone(orig: number):
 }
        // struct LDKCResult_UpdateFeeDecodeErrorZ CResult_UpdateFeeDecodeErrorZ_ok(struct LDKUpdateFee o);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_ok(o: number): number {
+export function CResult_UpdateFeeDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14486,7 +14514,7 @@ export function CResult_UpdateFeeDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_UpdateFeeDecodeErrorZ CResult_UpdateFeeDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_err(e: number): number {
+export function CResult_UpdateFeeDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14495,7 +14523,7 @@ export function CResult_UpdateFeeDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_UpdateFeeDecodeErrorZ_is_ok(const struct LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UpdateFeeDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14504,16 +14532,16 @@ export function CResult_UpdateFeeDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_UpdateFeeDecodeErrorZ_free(struct LDKCResult_UpdateFeeDecodeErrorZ _res);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_free(_res: number): void {
+export function CResult_UpdateFeeDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UpdateFeeDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UpdateFeeDecodeErrorZ_clone_ptr(LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UpdateFeeDecodeErrorZ_clone_ptr(LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UpdateFeeDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14522,7 +14550,7 @@ export function CResult_UpdateFeeDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_UpdateFeeDecodeErrorZ CResult_UpdateFeeDecodeErrorZ_clone(const struct LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UpdateFeeDecodeErrorZ_clone(orig: number): number {
+export function CResult_UpdateFeeDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14531,7 +14559,7 @@ export function CResult_UpdateFeeDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ CResult_UpdateFulfillHTLCDecodeErrorZ_ok(struct LDKUpdateFulfillHTLC o);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_ok(o: number): number {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14540,7 +14568,7 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ CResult_UpdateFulfillHTLCDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_err(e: number): number {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14549,7 +14577,7 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_UpdateFulfillHTLCDecodeErrorZ_is_ok(const struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14558,16 +14586,16 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_UpdateFulfillHTLCDecodeErrorZ_free(struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ _res);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_free(_res: number): void {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UpdateFulfillHTLCDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UpdateFulfillHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UpdateFulfillHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14576,7 +14604,7 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ CResult_UpdateFulfillHTLCDecodeErrorZ_clone(const struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UpdateFulfillHTLCDecodeErrorZ_clone(orig: number): number {
+export function CResult_UpdateFulfillHTLCDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14585,7 +14613,7 @@ export function CResult_UpdateFulfillHTLCDecodeErrorZ_clone(orig: number): numbe
 }
        // struct LDKCResult_UpdateAddHTLCDecodeErrorZ CResult_UpdateAddHTLCDecodeErrorZ_ok(struct LDKUpdateAddHTLC o);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_ok(o: number): number {
+export function CResult_UpdateAddHTLCDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14594,7 +14622,7 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_UpdateAddHTLCDecodeErrorZ CResult_UpdateAddHTLCDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_err(e: number): number {
+export function CResult_UpdateAddHTLCDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14603,7 +14631,7 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_UpdateAddHTLCDecodeErrorZ_is_ok(const struct LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UpdateAddHTLCDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14612,16 +14640,16 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_UpdateAddHTLCDecodeErrorZ_free(struct LDKCResult_UpdateAddHTLCDecodeErrorZ _res);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_free(_res: number): void {
+export function CResult_UpdateAddHTLCDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UpdateAddHTLCDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UpdateAddHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UpdateAddHTLCDecodeErrorZ_clone_ptr(LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UpdateAddHTLCDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14630,7 +14658,7 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_UpdateAddHTLCDecodeErrorZ CResult_UpdateAddHTLCDecodeErrorZ_clone(const struct LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UpdateAddHTLCDecodeErrorZ_clone(orig: number): number {
+export function CResult_UpdateAddHTLCDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14639,7 +14667,7 @@ export function CResult_UpdateAddHTLCDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PingDecodeErrorZ CResult_PingDecodeErrorZ_ok(struct LDKPing o);
 /* @internal */
-export function CResult_PingDecodeErrorZ_ok(o: number): number {
+export function CResult_PingDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14648,7 +14676,7 @@ export function CResult_PingDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PingDecodeErrorZ CResult_PingDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_PingDecodeErrorZ_err(e: number): number {
+export function CResult_PingDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14657,7 +14685,7 @@ export function CResult_PingDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_PingDecodeErrorZ_is_ok(const struct LDKCResult_PingDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PingDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_PingDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14666,16 +14694,16 @@ export function CResult_PingDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PingDecodeErrorZ_free(struct LDKCResult_PingDecodeErrorZ _res);
 /* @internal */
-export function CResult_PingDecodeErrorZ_free(_res: number): void {
+export function CResult_PingDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PingDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PingDecodeErrorZ_clone_ptr(LDKCResult_PingDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PingDecodeErrorZ_clone_ptr(LDKCResult_PingDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PingDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_PingDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14684,7 +14712,7 @@ export function CResult_PingDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PingDecodeErrorZ CResult_PingDecodeErrorZ_clone(const struct LDKCResult_PingDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PingDecodeErrorZ_clone(orig: number): number {
+export function CResult_PingDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14693,7 +14721,7 @@ export function CResult_PingDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_PongDecodeErrorZ CResult_PongDecodeErrorZ_ok(struct LDKPong o);
 /* @internal */
-export function CResult_PongDecodeErrorZ_ok(o: number): number {
+export function CResult_PongDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14702,7 +14730,7 @@ export function CResult_PongDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_PongDecodeErrorZ CResult_PongDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_PongDecodeErrorZ_err(e: number): number {
+export function CResult_PongDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14711,7 +14739,7 @@ export function CResult_PongDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_PongDecodeErrorZ_is_ok(const struct LDKCResult_PongDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_PongDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_PongDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14720,16 +14748,16 @@ export function CResult_PongDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_PongDecodeErrorZ_free(struct LDKCResult_PongDecodeErrorZ _res);
 /* @internal */
-export function CResult_PongDecodeErrorZ_free(_res: number): void {
+export function CResult_PongDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_PongDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_PongDecodeErrorZ_clone_ptr(LDKCResult_PongDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_PongDecodeErrorZ_clone_ptr(LDKCResult_PongDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_PongDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_PongDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14738,7 +14766,7 @@ export function CResult_PongDecodeErrorZ_clone_ptr(arg: number): number {
 }
        // struct LDKCResult_PongDecodeErrorZ CResult_PongDecodeErrorZ_clone(const struct LDKCResult_PongDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_PongDecodeErrorZ_clone(orig: number): number {
+export function CResult_PongDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14747,7 +14775,7 @@ export function CResult_PongDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ CResult_UnsignedChannelAnnouncementDecodeErrorZ_ok(struct LDKUnsignedChannelAnnouncement o);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_ok(o: number): number {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14756,7 +14784,7 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_ok(o: number): n
 }
        // struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ CResult_UnsignedChannelAnnouncementDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_err(e: number): number {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14765,7 +14793,7 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_err(e: number):
 }
        // bool CResult_UnsignedChannelAnnouncementDecodeErrorZ_is_ok(const struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14774,16 +14802,16 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_is_ok(o: number)
 }
        // void CResult_UnsignedChannelAnnouncementDecodeErrorZ_free(struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ _res);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_free(_res: number): void {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UnsignedChannelAnnouncementDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14792,7 +14820,7 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone_ptr(arg: n
 }
        // struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone(const struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone(orig: number): number {
+export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14801,7 +14829,7 @@ export function CResult_UnsignedChannelAnnouncementDecodeErrorZ_clone(orig: numb
 }
        // struct LDKCResult_ChannelAnnouncementDecodeErrorZ CResult_ChannelAnnouncementDecodeErrorZ_ok(struct LDKChannelAnnouncement o);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelAnnouncementDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14810,7 +14838,7 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelAnnouncementDecodeErrorZ CResult_ChannelAnnouncementDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelAnnouncementDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14819,7 +14847,7 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelAnnouncementDecodeErrorZ_is_ok(const struct LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelAnnouncementDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14828,16 +14856,16 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_is_ok(o: number): boolea
 }
        // void CResult_ChannelAnnouncementDecodeErrorZ_free(struct LDKCResult_ChannelAnnouncementDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelAnnouncementDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelAnnouncementDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelAnnouncementDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14846,7 +14874,7 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_ChannelAnnouncementDecodeErrorZ CResult_ChannelAnnouncementDecodeErrorZ_clone(const struct LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelAnnouncementDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelAnnouncementDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14855,7 +14883,7 @@ export function CResult_ChannelAnnouncementDecodeErrorZ_clone(orig: number): num
 }
        // struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ CResult_UnsignedChannelUpdateDecodeErrorZ_ok(struct LDKUnsignedChannelUpdate o);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_ok(o: number): number {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14864,7 +14892,7 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ CResult_UnsignedChannelUpdateDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_err(e: number): number {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14873,7 +14901,7 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_err(e: number): number
 }
        // bool CResult_UnsignedChannelUpdateDecodeErrorZ_is_ok(const struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14882,16 +14910,16 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_is_ok(o: number): bool
 }
        // void CResult_UnsignedChannelUpdateDecodeErrorZ_free(struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ _res);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_free(_res: number): void {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UnsignedChannelUpdateDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UnsignedChannelUpdateDecodeErrorZ_clone_ptr(LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UnsignedChannelUpdateDecodeErrorZ_clone_ptr(LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14900,7 +14928,7 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_clone_ptr(arg: number)
 }
        // struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ CResult_UnsignedChannelUpdateDecodeErrorZ_clone(const struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UnsignedChannelUpdateDecodeErrorZ_clone(orig: number): number {
+export function CResult_UnsignedChannelUpdateDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14909,7 +14937,7 @@ export function CResult_UnsignedChannelUpdateDecodeErrorZ_clone(orig: number): n
 }
        // struct LDKCResult_ChannelUpdateDecodeErrorZ CResult_ChannelUpdateDecodeErrorZ_ok(struct LDKChannelUpdate o);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_ok(o: number): number {
+export function CResult_ChannelUpdateDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14918,7 +14946,7 @@ export function CResult_ChannelUpdateDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ChannelUpdateDecodeErrorZ CResult_ChannelUpdateDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_err(e: number): number {
+export function CResult_ChannelUpdateDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14927,7 +14955,7 @@ export function CResult_ChannelUpdateDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ChannelUpdateDecodeErrorZ_is_ok(const struct LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ChannelUpdateDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14936,16 +14964,16 @@ export function CResult_ChannelUpdateDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ChannelUpdateDecodeErrorZ_free(struct LDKCResult_ChannelUpdateDecodeErrorZ _res);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_free(_res: number): void {
+export function CResult_ChannelUpdateDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ChannelUpdateDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ChannelUpdateDecodeErrorZ_clone_ptr(LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ChannelUpdateDecodeErrorZ_clone_ptr(LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ChannelUpdateDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14954,7 +14982,7 @@ export function CResult_ChannelUpdateDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_ChannelUpdateDecodeErrorZ CResult_ChannelUpdateDecodeErrorZ_clone(const struct LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ChannelUpdateDecodeErrorZ_clone(orig: number): number {
+export function CResult_ChannelUpdateDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14963,7 +14991,7 @@ export function CResult_ChannelUpdateDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_ErrorMessageDecodeErrorZ CResult_ErrorMessageDecodeErrorZ_ok(struct LDKErrorMessage o);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_ok(o: number): number {
+export function CResult_ErrorMessageDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14972,7 +15000,7 @@ export function CResult_ErrorMessageDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ErrorMessageDecodeErrorZ CResult_ErrorMessageDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_err(e: number): number {
+export function CResult_ErrorMessageDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14981,7 +15009,7 @@ export function CResult_ErrorMessageDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ErrorMessageDecodeErrorZ_is_ok(const struct LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ErrorMessageDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -14990,16 +15018,16 @@ export function CResult_ErrorMessageDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_ErrorMessageDecodeErrorZ_free(struct LDKCResult_ErrorMessageDecodeErrorZ _res);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_free(_res: number): void {
+export function CResult_ErrorMessageDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ErrorMessageDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ErrorMessageDecodeErrorZ_clone_ptr(LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ErrorMessageDecodeErrorZ_clone_ptr(LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ErrorMessageDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15008,7 +15036,7 @@ export function CResult_ErrorMessageDecodeErrorZ_clone_ptr(arg: number): number
 }
        // struct LDKCResult_ErrorMessageDecodeErrorZ CResult_ErrorMessageDecodeErrorZ_clone(const struct LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ErrorMessageDecodeErrorZ_clone(orig: number): number {
+export function CResult_ErrorMessageDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15017,7 +15045,7 @@ export function CResult_ErrorMessageDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_ok(struct LDKWarningMessage o);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_ok(o: number): number {
+export function CResult_WarningMessageDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15026,7 +15054,7 @@ export function CResult_WarningMessageDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_err(e: number): number {
+export function CResult_WarningMessageDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15035,7 +15063,7 @@ export function CResult_WarningMessageDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_WarningMessageDecodeErrorZ_is_ok(const struct LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_WarningMessageDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15044,16 +15072,16 @@ export function CResult_WarningMessageDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_WarningMessageDecodeErrorZ_free(struct LDKCResult_WarningMessageDecodeErrorZ _res);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_free(_res: number): void {
+export function CResult_WarningMessageDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_WarningMessageDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_WarningMessageDecodeErrorZ_clone_ptr(LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_WarningMessageDecodeErrorZ_clone_ptr(LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_WarningMessageDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15062,7 +15090,7 @@ export function CResult_WarningMessageDecodeErrorZ_clone_ptr(arg: number): numbe
 }
        // struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_clone(const struct LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_WarningMessageDecodeErrorZ_clone(orig: number): number {
+export function CResult_WarningMessageDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15071,7 +15099,7 @@ export function CResult_WarningMessageDecodeErrorZ_clone(orig: number): number {
 }
        // struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ CResult_UnsignedNodeAnnouncementDecodeErrorZ_ok(struct LDKUnsignedNodeAnnouncement o);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_ok(o: number): number {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15080,7 +15108,7 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_ok(o: number): numb
 }
        // struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ CResult_UnsignedNodeAnnouncementDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_err(e: number): number {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15089,7 +15117,7 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_err(e: number): num
 }
        // bool CResult_UnsignedNodeAnnouncementDecodeErrorZ_is_ok(const struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15098,16 +15126,16 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_is_ok(o: number): b
 }
        // void CResult_UnsignedNodeAnnouncementDecodeErrorZ_free(struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ _res);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_free(_res: number): void {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_UnsignedNodeAnnouncementDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15116,7 +15144,7 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone_ptr(arg: numb
 }
        // struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone(const struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone(orig: number): number {
+export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15125,7 +15153,7 @@ export function CResult_UnsignedNodeAnnouncementDecodeErrorZ_clone(orig: number)
 }
        // struct LDKCResult_NodeAnnouncementDecodeErrorZ CResult_NodeAnnouncementDecodeErrorZ_ok(struct LDKNodeAnnouncement o);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_ok(o: number): number {
+export function CResult_NodeAnnouncementDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15134,7 +15162,7 @@ export function CResult_NodeAnnouncementDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_NodeAnnouncementDecodeErrorZ CResult_NodeAnnouncementDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_err(e: number): number {
+export function CResult_NodeAnnouncementDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15143,7 +15171,7 @@ export function CResult_NodeAnnouncementDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_NodeAnnouncementDecodeErrorZ_is_ok(const struct LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_NodeAnnouncementDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15152,16 +15180,16 @@ export function CResult_NodeAnnouncementDecodeErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_NodeAnnouncementDecodeErrorZ_free(struct LDKCResult_NodeAnnouncementDecodeErrorZ _res);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_free(_res: number): void {
+export function CResult_NodeAnnouncementDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_NodeAnnouncementDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_NodeAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_NodeAnnouncementDecodeErrorZ_clone_ptr(LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_NodeAnnouncementDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15170,7 +15198,7 @@ export function CResult_NodeAnnouncementDecodeErrorZ_clone_ptr(arg: number): num
 }
        // struct LDKCResult_NodeAnnouncementDecodeErrorZ CResult_NodeAnnouncementDecodeErrorZ_clone(const struct LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_NodeAnnouncementDecodeErrorZ_clone(orig: number): number {
+export function CResult_NodeAnnouncementDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15179,7 +15207,7 @@ export function CResult_NodeAnnouncementDecodeErrorZ_clone(orig: number): number
 }
        // struct LDKCResult_QueryShortChannelIdsDecodeErrorZ CResult_QueryShortChannelIdsDecodeErrorZ_ok(struct LDKQueryShortChannelIds o);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_ok(o: number): number {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15188,7 +15216,7 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_QueryShortChannelIdsDecodeErrorZ CResult_QueryShortChannelIdsDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_err(e: number): number {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15197,7 +15225,7 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_err(e: number): number
 }
        // bool CResult_QueryShortChannelIdsDecodeErrorZ_is_ok(const struct LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15206,16 +15234,16 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_is_ok(o: number): boole
 }
        // void CResult_QueryShortChannelIdsDecodeErrorZ_free(struct LDKCResult_QueryShortChannelIdsDecodeErrorZ _res);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_free(_res: number): void {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_QueryShortChannelIdsDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_QueryShortChannelIdsDecodeErrorZ_clone_ptr(LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_QueryShortChannelIdsDecodeErrorZ_clone_ptr(LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15224,7 +15252,7 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_clone_ptr(arg: number):
 }
        // struct LDKCResult_QueryShortChannelIdsDecodeErrorZ CResult_QueryShortChannelIdsDecodeErrorZ_clone(const struct LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_QueryShortChannelIdsDecodeErrorZ_clone(orig: number): number {
+export function CResult_QueryShortChannelIdsDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15233,7 +15261,7 @@ export function CResult_QueryShortChannelIdsDecodeErrorZ_clone(orig: number): nu
 }
        // struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(struct LDKReplyShortChannelIdsEnd o);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o: number): number {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15242,7 +15270,7 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o: number): numbe
 }
        // struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e: number): number {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15251,7 +15279,7 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e: number): numb
 }
        // bool CResult_ReplyShortChannelIdsEndDecodeErrorZ_is_ok(const struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15260,16 +15288,16 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_is_ok(o: number): bo
 }
        // void CResult_ReplyShortChannelIdsEndDecodeErrorZ_free(struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ _res);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_free(_res: number): void {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ReplyShortChannelIdsEndDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone_ptr(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone_ptr(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15278,7 +15306,7 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone_ptr(arg: numbe
 }
        // struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone(const struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone(orig: number): number {
+export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15287,7 +15315,7 @@ export function CResult_ReplyShortChannelIdsEndDecodeErrorZ_clone(orig: number):
 }
        // struct LDKCResult_QueryChannelRangeDecodeErrorZ CResult_QueryChannelRangeDecodeErrorZ_ok(struct LDKQueryChannelRange o);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_ok(o: number): number {
+export function CResult_QueryChannelRangeDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15296,7 +15324,7 @@ export function CResult_QueryChannelRangeDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_QueryChannelRangeDecodeErrorZ CResult_QueryChannelRangeDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_err(e: number): number {
+export function CResult_QueryChannelRangeDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15305,7 +15333,7 @@ export function CResult_QueryChannelRangeDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_QueryChannelRangeDecodeErrorZ_is_ok(const struct LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_QueryChannelRangeDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15314,16 +15342,16 @@ export function CResult_QueryChannelRangeDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_QueryChannelRangeDecodeErrorZ_free(struct LDKCResult_QueryChannelRangeDecodeErrorZ _res);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_free(_res: number): void {
+export function CResult_QueryChannelRangeDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_QueryChannelRangeDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_QueryChannelRangeDecodeErrorZ_clone_ptr(LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_QueryChannelRangeDecodeErrorZ_clone_ptr(LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_QueryChannelRangeDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15332,7 +15360,7 @@ export function CResult_QueryChannelRangeDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_QueryChannelRangeDecodeErrorZ CResult_QueryChannelRangeDecodeErrorZ_clone(const struct LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_QueryChannelRangeDecodeErrorZ_clone(orig: number): number {
+export function CResult_QueryChannelRangeDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15341,7 +15369,7 @@ export function CResult_QueryChannelRangeDecodeErrorZ_clone(orig: number): numbe
 }
        // struct LDKCResult_ReplyChannelRangeDecodeErrorZ CResult_ReplyChannelRangeDecodeErrorZ_ok(struct LDKReplyChannelRange o);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_ok(o: number): number {
+export function CResult_ReplyChannelRangeDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15350,7 +15378,7 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_ReplyChannelRangeDecodeErrorZ CResult_ReplyChannelRangeDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_err(e: number): number {
+export function CResult_ReplyChannelRangeDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15359,7 +15387,7 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_err(e: number): number {
 }
        // bool CResult_ReplyChannelRangeDecodeErrorZ_is_ok(const struct LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_ReplyChannelRangeDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15368,16 +15396,16 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_is_ok(o: number): boolean
 }
        // void CResult_ReplyChannelRangeDecodeErrorZ_free(struct LDKCResult_ReplyChannelRangeDecodeErrorZ _res);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_free(_res: number): void {
+export function CResult_ReplyChannelRangeDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_ReplyChannelRangeDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_ReplyChannelRangeDecodeErrorZ_clone_ptr(LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_ReplyChannelRangeDecodeErrorZ_clone_ptr(LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_ReplyChannelRangeDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15386,7 +15414,7 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_clone_ptr(arg: number): nu
 }
        // struct LDKCResult_ReplyChannelRangeDecodeErrorZ CResult_ReplyChannelRangeDecodeErrorZ_clone(const struct LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_ReplyChannelRangeDecodeErrorZ_clone(orig: number): number {
+export function CResult_ReplyChannelRangeDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15395,7 +15423,7 @@ export function CResult_ReplyChannelRangeDecodeErrorZ_clone(orig: number): numbe
 }
        // struct LDKCResult_GossipTimestampFilterDecodeErrorZ CResult_GossipTimestampFilterDecodeErrorZ_ok(struct LDKGossipTimestampFilter o);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_ok(o: number): number {
+export function CResult_GossipTimestampFilterDecodeErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15404,7 +15432,7 @@ export function CResult_GossipTimestampFilterDecodeErrorZ_ok(o: number): number
 }
        // struct LDKCResult_GossipTimestampFilterDecodeErrorZ CResult_GossipTimestampFilterDecodeErrorZ_err(struct LDKDecodeError e);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_err(e: number): number {
+export function CResult_GossipTimestampFilterDecodeErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15413,7 +15441,7 @@ export function CResult_GossipTimestampFilterDecodeErrorZ_err(e: number): number
 }
        // bool CResult_GossipTimestampFilterDecodeErrorZ_is_ok(const struct LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_is_ok(o: number): boolean {
+export function CResult_GossipTimestampFilterDecodeErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15422,16 +15450,16 @@ export function CResult_GossipTimestampFilterDecodeErrorZ_is_ok(o: number): bool
 }
        // void CResult_GossipTimestampFilterDecodeErrorZ_free(struct LDKCResult_GossipTimestampFilterDecodeErrorZ _res);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_free(_res: number): void {
+export function CResult_GossipTimestampFilterDecodeErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_GossipTimestampFilterDecodeErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_GossipTimestampFilterDecodeErrorZ_clone_ptr(LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_GossipTimestampFilterDecodeErrorZ_clone_ptr(LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_clone_ptr(arg: number): number {
+export function CResult_GossipTimestampFilterDecodeErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15440,7 +15468,7 @@ export function CResult_GossipTimestampFilterDecodeErrorZ_clone_ptr(arg: number)
 }
        // struct LDKCResult_GossipTimestampFilterDecodeErrorZ CResult_GossipTimestampFilterDecodeErrorZ_clone(const struct LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_GossipTimestampFilterDecodeErrorZ_clone(orig: number): number {
+export function CResult_GossipTimestampFilterDecodeErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15449,7 +15477,7 @@ export function CResult_GossipTimestampFilterDecodeErrorZ_clone(orig: number): n
 }
        // struct LDKCResult_InvoiceSignOrCreationErrorZ CResult_InvoiceSignOrCreationErrorZ_ok(struct LDKInvoice o);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_ok(o: number): number {
+export function CResult_InvoiceSignOrCreationErrorZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15458,7 +15486,7 @@ export function CResult_InvoiceSignOrCreationErrorZ_ok(o: number): number {
 }
        // struct LDKCResult_InvoiceSignOrCreationErrorZ CResult_InvoiceSignOrCreationErrorZ_err(struct LDKSignOrCreationError e);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_err(e: number): number {
+export function CResult_InvoiceSignOrCreationErrorZ_err(e: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15467,7 +15495,7 @@ export function CResult_InvoiceSignOrCreationErrorZ_err(e: number): number {
 }
        // bool CResult_InvoiceSignOrCreationErrorZ_is_ok(const struct LDKCResult_InvoiceSignOrCreationErrorZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_is_ok(o: number): boolean {
+export function CResult_InvoiceSignOrCreationErrorZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15476,16 +15504,16 @@ export function CResult_InvoiceSignOrCreationErrorZ_is_ok(o: number): boolean {
 }
        // void CResult_InvoiceSignOrCreationErrorZ_free(struct LDKCResult_InvoiceSignOrCreationErrorZ _res);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_free(_res: number): void {
+export function CResult_InvoiceSignOrCreationErrorZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CResult_InvoiceSignOrCreationErrorZ_free(_res);
        // debug statements here
 }
-       // uintptr_t CResult_InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_InvoiceSignOrCreationErrorZ *NONNULL_PTR arg);
+       // uint64_t CResult_InvoiceSignOrCreationErrorZ_clone_ptr(LDKCResult_InvoiceSignOrCreationErrorZ *NONNULL_PTR arg);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_clone_ptr(arg: number): number {
+export function CResult_InvoiceSignOrCreationErrorZ_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15494,7 +15522,7 @@ export function CResult_InvoiceSignOrCreationErrorZ_clone_ptr(arg: number): numb
 }
        // struct LDKCResult_InvoiceSignOrCreationErrorZ CResult_InvoiceSignOrCreationErrorZ_clone(const struct LDKCResult_InvoiceSignOrCreationErrorZ *NONNULL_PTR orig);
 /* @internal */
-export function CResult_InvoiceSignOrCreationErrorZ_clone(orig: number): number {
+export function CResult_InvoiceSignOrCreationErrorZ_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15503,7 +15531,7 @@ export function CResult_InvoiceSignOrCreationErrorZ_clone(orig: number): number
 }
        // struct LDKCOption_FilterZ COption_FilterZ_some(struct LDKFilter o);
 /* @internal */
-export function COption_FilterZ_some(o: number): number {
+export function COption_FilterZ_some(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15512,7 +15540,7 @@ export function COption_FilterZ_some(o: number): number {
 }
        // struct LDKCOption_FilterZ COption_FilterZ_none(void);
 /* @internal */
-export function COption_FilterZ_none(): number {
+export function COption_FilterZ_none(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15521,7 +15549,7 @@ export function COption_FilterZ_none(): number {
 }
        // void COption_FilterZ_free(struct LDKCOption_FilterZ _res);
 /* @internal */
-export function COption_FilterZ_free(_res: number): void {
+export function COption_FilterZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15530,7 +15558,7 @@ export function COption_FilterZ_free(_res: number): void {
 }
        // struct LDKCResult_LockedChannelMonitorNoneZ CResult_LockedChannelMonitorNoneZ_ok(struct LDKLockedChannelMonitor o);
 /* @internal */
-export function CResult_LockedChannelMonitorNoneZ_ok(o: number): number {
+export function CResult_LockedChannelMonitorNoneZ_ok(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15539,7 +15567,7 @@ export function CResult_LockedChannelMonitorNoneZ_ok(o: number): number {
 }
        // struct LDKCResult_LockedChannelMonitorNoneZ CResult_LockedChannelMonitorNoneZ_err(void);
 /* @internal */
-export function CResult_LockedChannelMonitorNoneZ_err(): number {
+export function CResult_LockedChannelMonitorNoneZ_err(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15548,7 +15576,7 @@ export function CResult_LockedChannelMonitorNoneZ_err(): number {
 }
        // bool CResult_LockedChannelMonitorNoneZ_is_ok(const struct LDKCResult_LockedChannelMonitorNoneZ *NONNULL_PTR o);
 /* @internal */
-export function CResult_LockedChannelMonitorNoneZ_is_ok(o: number): boolean {
+export function CResult_LockedChannelMonitorNoneZ_is_ok(o: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15557,7 +15585,7 @@ export function CResult_LockedChannelMonitorNoneZ_is_ok(o: number): boolean {
 }
        // void CResult_LockedChannelMonitorNoneZ_free(struct LDKCResult_LockedChannelMonitorNoneZ _res);
 /* @internal */
-export function CResult_LockedChannelMonitorNoneZ_free(_res: number): void {
+export function CResult_LockedChannelMonitorNoneZ_free(_res: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15575,16 +15603,16 @@ export function CVec_OutPointZ_free(_res: number): void {
 }
        // void PaymentPurpose_free(struct LDKPaymentPurpose this_ptr);
 /* @internal */
-export function PaymentPurpose_free(this_ptr: number): void {
+export function PaymentPurpose_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PaymentPurpose_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t PaymentPurpose_clone_ptr(LDKPaymentPurpose *NONNULL_PTR arg);
+       // uint64_t PaymentPurpose_clone_ptr(LDKPaymentPurpose *NONNULL_PTR arg);
 /* @internal */
-export function PaymentPurpose_clone_ptr(arg: number): number {
+export function PaymentPurpose_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15593,7 +15621,7 @@ export function PaymentPurpose_clone_ptr(arg: number): number {
 }
        // struct LDKPaymentPurpose PaymentPurpose_clone(const struct LDKPaymentPurpose *NONNULL_PTR orig);
 /* @internal */
-export function PaymentPurpose_clone(orig: number): number {
+export function PaymentPurpose_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15602,7 +15630,7 @@ export function PaymentPurpose_clone(orig: number): number {
 }
        // struct LDKPaymentPurpose PaymentPurpose_invoice_payment(struct LDKThirtyTwoBytes payment_preimage, struct LDKThirtyTwoBytes payment_secret);
 /* @internal */
-export function PaymentPurpose_invoice_payment(payment_preimage: number, payment_secret: number): number {
+export function PaymentPurpose_invoice_payment(payment_preimage: number, payment_secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15611,7 +15639,7 @@ export function PaymentPurpose_invoice_payment(payment_preimage: number, payment
 }
        // struct LDKPaymentPurpose PaymentPurpose_spontaneous_payment(struct LDKThirtyTwoBytes a);
 /* @internal */
-export function PaymentPurpose_spontaneous_payment(a: number): number {
+export function PaymentPurpose_spontaneous_payment(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15620,7 +15648,7 @@ export function PaymentPurpose_spontaneous_payment(a: number): number {
 }
        // struct LDKCVec_u8Z PaymentPurpose_write(const struct LDKPaymentPurpose *NONNULL_PTR obj);
 /* @internal */
-export function PaymentPurpose_write(obj: number): number {
+export function PaymentPurpose_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15629,7 +15657,7 @@ export function PaymentPurpose_write(obj: number): number {
 }
        // struct LDKCResult_PaymentPurposeDecodeErrorZ PaymentPurpose_read(struct LDKu8slice ser);
 /* @internal */
-export function PaymentPurpose_read(ser: number): number {
+export function PaymentPurpose_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15638,16 +15666,16 @@ export function PaymentPurpose_read(ser: number): number {
 }
        // void ClosureReason_free(struct LDKClosureReason this_ptr);
 /* @internal */
-export function ClosureReason_free(this_ptr: number): void {
+export function ClosureReason_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ClosureReason_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t ClosureReason_clone_ptr(LDKClosureReason *NONNULL_PTR arg);
+       // uint64_t ClosureReason_clone_ptr(LDKClosureReason *NONNULL_PTR arg);
 /* @internal */
-export function ClosureReason_clone_ptr(arg: number): number {
+export function ClosureReason_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15656,7 +15684,7 @@ export function ClosureReason_clone_ptr(arg: number): number {
 }
        // struct LDKClosureReason ClosureReason_clone(const struct LDKClosureReason *NONNULL_PTR orig);
 /* @internal */
-export function ClosureReason_clone(orig: number): number {
+export function ClosureReason_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15665,7 +15693,7 @@ export function ClosureReason_clone(orig: number): number {
 }
        // struct LDKClosureReason ClosureReason_counterparty_force_closed(struct LDKStr peer_msg);
 /* @internal */
-export function ClosureReason_counterparty_force_closed(peer_msg: number): number {
+export function ClosureReason_counterparty_force_closed(peer_msg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15674,7 +15702,7 @@ export function ClosureReason_counterparty_force_closed(peer_msg: number): numbe
 }
        // struct LDKClosureReason ClosureReason_holder_force_closed(void);
 /* @internal */
-export function ClosureReason_holder_force_closed(): number {
+export function ClosureReason_holder_force_closed(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15683,7 +15711,7 @@ export function ClosureReason_holder_force_closed(): number {
 }
        // struct LDKClosureReason ClosureReason_cooperative_closure(void);
 /* @internal */
-export function ClosureReason_cooperative_closure(): number {
+export function ClosureReason_cooperative_closure(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15692,7 +15720,7 @@ export function ClosureReason_cooperative_closure(): number {
 }
        // struct LDKClosureReason ClosureReason_commitment_tx_confirmed(void);
 /* @internal */
-export function ClosureReason_commitment_tx_confirmed(): number {
+export function ClosureReason_commitment_tx_confirmed(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15701,7 +15729,7 @@ export function ClosureReason_commitment_tx_confirmed(): number {
 }
        // struct LDKClosureReason ClosureReason_funding_timed_out(void);
 /* @internal */
-export function ClosureReason_funding_timed_out(): number {
+export function ClosureReason_funding_timed_out(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15710,7 +15738,7 @@ export function ClosureReason_funding_timed_out(): number {
 }
        // struct LDKClosureReason ClosureReason_processing_error(struct LDKStr err);
 /* @internal */
-export function ClosureReason_processing_error(err: number): number {
+export function ClosureReason_processing_error(err: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15719,7 +15747,7 @@ export function ClosureReason_processing_error(err: number): number {
 }
        // struct LDKClosureReason ClosureReason_disconnected_peer(void);
 /* @internal */
-export function ClosureReason_disconnected_peer(): number {
+export function ClosureReason_disconnected_peer(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15728,7 +15756,7 @@ export function ClosureReason_disconnected_peer(): number {
 }
        // struct LDKClosureReason ClosureReason_outdated_channel_manager(void);
 /* @internal */
-export function ClosureReason_outdated_channel_manager(): number {
+export function ClosureReason_outdated_channel_manager(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15737,7 +15765,7 @@ export function ClosureReason_outdated_channel_manager(): number {
 }
        // struct LDKCVec_u8Z ClosureReason_write(const struct LDKClosureReason *NONNULL_PTR obj);
 /* @internal */
-export function ClosureReason_write(obj: number): number {
+export function ClosureReason_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15746,7 +15774,7 @@ export function ClosureReason_write(obj: number): number {
 }
        // struct LDKCResult_COption_ClosureReasonZDecodeErrorZ ClosureReason_read(struct LDKu8slice ser);
 /* @internal */
-export function ClosureReason_read(ser: number): number {
+export function ClosureReason_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15755,16 +15783,16 @@ export function ClosureReason_read(ser: number): number {
 }
        // void HTLCDestination_free(struct LDKHTLCDestination this_ptr);
 /* @internal */
-export function HTLCDestination_free(this_ptr: number): void {
+export function HTLCDestination_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_HTLCDestination_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t HTLCDestination_clone_ptr(LDKHTLCDestination *NONNULL_PTR arg);
+       // uint64_t HTLCDestination_clone_ptr(LDKHTLCDestination *NONNULL_PTR arg);
 /* @internal */
-export function HTLCDestination_clone_ptr(arg: number): number {
+export function HTLCDestination_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15773,7 +15801,7 @@ export function HTLCDestination_clone_ptr(arg: number): number {
 }
        // struct LDKHTLCDestination HTLCDestination_clone(const struct LDKHTLCDestination *NONNULL_PTR orig);
 /* @internal */
-export function HTLCDestination_clone(orig: number): number {
+export function HTLCDestination_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15782,7 +15810,7 @@ export function HTLCDestination_clone(orig: number): number {
 }
        // struct LDKHTLCDestination HTLCDestination_next_hop_channel(struct LDKPublicKey node_id, struct LDKThirtyTwoBytes channel_id);
 /* @internal */
-export function HTLCDestination_next_hop_channel(node_id: number, channel_id: number): number {
+export function HTLCDestination_next_hop_channel(node_id: number, channel_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15791,7 +15819,7 @@ export function HTLCDestination_next_hop_channel(node_id: number, channel_id: nu
 }
        // struct LDKHTLCDestination HTLCDestination_unknown_next_hop(uint64_t requested_forward_scid);
 /* @internal */
-export function HTLCDestination_unknown_next_hop(requested_forward_scid: bigint): number {
+export function HTLCDestination_unknown_next_hop(requested_forward_scid: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15800,7 +15828,7 @@ export function HTLCDestination_unknown_next_hop(requested_forward_scid: bigint)
 }
        // struct LDKHTLCDestination HTLCDestination_failed_payment(struct LDKThirtyTwoBytes payment_hash);
 /* @internal */
-export function HTLCDestination_failed_payment(payment_hash: number): number {
+export function HTLCDestination_failed_payment(payment_hash: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15809,7 +15837,7 @@ export function HTLCDestination_failed_payment(payment_hash: number): number {
 }
        // struct LDKCVec_u8Z HTLCDestination_write(const struct LDKHTLCDestination *NONNULL_PTR obj);
 /* @internal */
-export function HTLCDestination_write(obj: number): number {
+export function HTLCDestination_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15818,7 +15846,7 @@ export function HTLCDestination_write(obj: number): number {
 }
        // struct LDKCResult_COption_HTLCDestinationZDecodeErrorZ HTLCDestination_read(struct LDKu8slice ser);
 /* @internal */
-export function HTLCDestination_read(ser: number): number {
+export function HTLCDestination_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15827,16 +15855,16 @@ export function HTLCDestination_read(ser: number): number {
 }
        // void Event_free(struct LDKEvent this_ptr);
 /* @internal */
-export function Event_free(this_ptr: number): void {
+export function Event_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Event_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t Event_clone_ptr(LDKEvent *NONNULL_PTR arg);
+       // uint64_t Event_clone_ptr(LDKEvent *NONNULL_PTR arg);
 /* @internal */
-export function Event_clone_ptr(arg: number): number {
+export function Event_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15845,7 +15873,7 @@ export function Event_clone_ptr(arg: number): number {
 }
        // struct LDKEvent Event_clone(const struct LDKEvent *NONNULL_PTR orig);
 /* @internal */
-export function Event_clone(orig: number): number {
+export function Event_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15854,7 +15882,7 @@ export function Event_clone(orig: number): number {
 }
        // struct LDKEvent Event_funding_generation_ready(struct LDKThirtyTwoBytes temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t channel_value_satoshis, struct LDKCVec_u8Z output_script, uint64_t user_channel_id);
 /* @internal */
-export function Event_funding_generation_ready(temporary_channel_id: number, counterparty_node_id: number, channel_value_satoshis: bigint, output_script: number, user_channel_id: bigint): number {
+export function Event_funding_generation_ready(temporary_channel_id: number, counterparty_node_id: number, channel_value_satoshis: bigint, output_script: number, user_channel_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15863,7 +15891,7 @@ export function Event_funding_generation_ready(temporary_channel_id: number, cou
 }
        // struct LDKEvent Event_payment_received(struct LDKThirtyTwoBytes payment_hash, uint64_t amount_msat, struct LDKPaymentPurpose purpose);
 /* @internal */
-export function Event_payment_received(payment_hash: number, amount_msat: bigint, purpose: number): number {
+export function Event_payment_received(payment_hash: number, amount_msat: bigint, purpose: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15872,7 +15900,7 @@ export function Event_payment_received(payment_hash: number, amount_msat: bigint
 }
        // struct LDKEvent Event_payment_claimed(struct LDKThirtyTwoBytes payment_hash, uint64_t amount_msat, struct LDKPaymentPurpose purpose);
 /* @internal */
-export function Event_payment_claimed(payment_hash: number, amount_msat: bigint, purpose: number): number {
+export function Event_payment_claimed(payment_hash: number, amount_msat: bigint, purpose: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15881,7 +15909,7 @@ export function Event_payment_claimed(payment_hash: number, amount_msat: bigint,
 }
        // struct LDKEvent Event_payment_sent(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_preimage, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u64Z fee_paid_msat);
 /* @internal */
-export function Event_payment_sent(payment_id: number, payment_preimage: number, payment_hash: number, fee_paid_msat: number): number {
+export function Event_payment_sent(payment_id: number, payment_preimage: number, payment_hash: number, fee_paid_msat: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15890,7 +15918,7 @@ export function Event_payment_sent(payment_id: number, payment_preimage: number,
 }
        // struct LDKEvent Event_payment_failed(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash);
 /* @internal */
-export function Event_payment_failed(payment_id: number, payment_hash: number): number {
+export function Event_payment_failed(payment_id: number, payment_hash: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15899,7 +15927,7 @@ export function Event_payment_failed(payment_id: number, payment_hash: number):
 }
        // struct LDKEvent Event_payment_path_successful(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKCVec_RouteHopZ path);
 /* @internal */
-export function Event_payment_path_successful(payment_id: number, payment_hash: number, path: number): number {
+export function Event_payment_path_successful(payment_id: number, payment_hash: number, path: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15908,7 +15936,7 @@ export function Event_payment_path_successful(payment_id: number, payment_hash:
 }
        // struct LDKEvent Event_payment_path_failed(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, bool rejected_by_dest, struct LDKCOption_NetworkUpdateZ network_update, bool all_paths_failed, struct LDKCVec_RouteHopZ path, struct LDKCOption_u64Z short_channel_id, struct LDKRouteParameters retry);
 /* @internal */
-export function Event_payment_path_failed(payment_id: number, payment_hash: number, rejected_by_dest: boolean, network_update: number, all_paths_failed: boolean, path: number, short_channel_id: number, retry: number): number {
+export function Event_payment_path_failed(payment_id: number, payment_hash: number, rejected_by_dest: boolean, network_update: bigint, all_paths_failed: boolean, path: number, short_channel_id: bigint, retry: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15917,7 +15945,7 @@ export function Event_payment_path_failed(payment_id: number, payment_hash: numb
 }
        // struct LDKEvent Event_probe_successful(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKCVec_RouteHopZ path);
 /* @internal */
-export function Event_probe_successful(payment_id: number, payment_hash: number, path: number): number {
+export function Event_probe_successful(payment_id: number, payment_hash: number, path: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15926,7 +15954,7 @@ export function Event_probe_successful(payment_id: number, payment_hash: number,
 }
        // struct LDKEvent Event_probe_failed(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKCVec_RouteHopZ path, struct LDKCOption_u64Z short_channel_id);
 /* @internal */
-export function Event_probe_failed(payment_id: number, payment_hash: number, path: number, short_channel_id: number): number {
+export function Event_probe_failed(payment_id: number, payment_hash: number, path: number, short_channel_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15935,7 +15963,7 @@ export function Event_probe_failed(payment_id: number, payment_hash: number, pat
 }
        // struct LDKEvent Event_pending_htlcs_forwardable(uint64_t time_forwardable);
 /* @internal */
-export function Event_pending_htlcs_forwardable(time_forwardable: bigint): number {
+export function Event_pending_htlcs_forwardable(time_forwardable: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15944,7 +15972,7 @@ export function Event_pending_htlcs_forwardable(time_forwardable: bigint): numbe
 }
        // struct LDKEvent Event_spendable_outputs(struct LDKCVec_SpendableOutputDescriptorZ outputs);
 /* @internal */
-export function Event_spendable_outputs(outputs: number): number {
+export function Event_spendable_outputs(outputs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15953,7 +15981,7 @@ export function Event_spendable_outputs(outputs: number): number {
 }
        // struct LDKEvent Event_payment_forwarded(struct LDKThirtyTwoBytes prev_channel_id, struct LDKThirtyTwoBytes next_channel_id, struct LDKCOption_u64Z fee_earned_msat, bool claim_from_onchain_tx);
 /* @internal */
-export function Event_payment_forwarded(prev_channel_id: number, next_channel_id: number, fee_earned_msat: number, claim_from_onchain_tx: boolean): number {
+export function Event_payment_forwarded(prev_channel_id: number, next_channel_id: number, fee_earned_msat: bigint, claim_from_onchain_tx: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15962,7 +15990,7 @@ export function Event_payment_forwarded(prev_channel_id: number, next_channel_id
 }
        // struct LDKEvent Event_channel_closed(struct LDKThirtyTwoBytes channel_id, uint64_t user_channel_id, struct LDKClosureReason reason);
 /* @internal */
-export function Event_channel_closed(channel_id: number, user_channel_id: bigint, reason: number): number {
+export function Event_channel_closed(channel_id: number, user_channel_id: bigint, reason: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15971,7 +15999,7 @@ export function Event_channel_closed(channel_id: number, user_channel_id: bigint
 }
        // struct LDKEvent Event_discard_funding(struct LDKThirtyTwoBytes channel_id, struct LDKTransaction transaction);
 /* @internal */
-export function Event_discard_funding(channel_id: number, transaction: number): number {
+export function Event_discard_funding(channel_id: number, transaction: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15980,7 +16008,7 @@ export function Event_discard_funding(channel_id: number, transaction: number):
 }
        // struct LDKEvent Event_open_channel_request(struct LDKThirtyTwoBytes temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t funding_satoshis, uint64_t push_msat, struct LDKChannelTypeFeatures channel_type);
 /* @internal */
-export function Event_open_channel_request(temporary_channel_id: number, counterparty_node_id: number, funding_satoshis: bigint, push_msat: bigint, channel_type: number): number {
+export function Event_open_channel_request(temporary_channel_id: number, counterparty_node_id: number, funding_satoshis: bigint, push_msat: bigint, channel_type: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15989,7 +16017,7 @@ export function Event_open_channel_request(temporary_channel_id: number, counter
 }
        // struct LDKEvent Event_htlchandling_failed(struct LDKThirtyTwoBytes prev_channel_id, struct LDKHTLCDestination failed_next_destination);
 /* @internal */
-export function Event_htlchandling_failed(prev_channel_id: number, failed_next_destination: number): number {
+export function Event_htlchandling_failed(prev_channel_id: number, failed_next_destination: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -15998,7 +16026,7 @@ export function Event_htlchandling_failed(prev_channel_id: number, failed_next_d
 }
        // struct LDKCVec_u8Z Event_write(const struct LDKEvent *NONNULL_PTR obj);
 /* @internal */
-export function Event_write(obj: number): number {
+export function Event_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16007,7 +16035,7 @@ export function Event_write(obj: number): number {
 }
        // struct LDKCResult_COption_EventZDecodeErrorZ Event_read(struct LDKu8slice ser);
 /* @internal */
-export function Event_read(ser: number): number {
+export function Event_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16016,16 +16044,16 @@ export function Event_read(ser: number): number {
 }
        // void MessageSendEvent_free(struct LDKMessageSendEvent this_ptr);
 /* @internal */
-export function MessageSendEvent_free(this_ptr: number): void {
+export function MessageSendEvent_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_MessageSendEvent_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t MessageSendEvent_clone_ptr(LDKMessageSendEvent *NONNULL_PTR arg);
+       // uint64_t MessageSendEvent_clone_ptr(LDKMessageSendEvent *NONNULL_PTR arg);
 /* @internal */
-export function MessageSendEvent_clone_ptr(arg: number): number {
+export function MessageSendEvent_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16034,7 +16062,7 @@ export function MessageSendEvent_clone_ptr(arg: number): number {
 }
        // struct LDKMessageSendEvent MessageSendEvent_clone(const struct LDKMessageSendEvent *NONNULL_PTR orig);
 /* @internal */
-export function MessageSendEvent_clone(orig: number): number {
+export function MessageSendEvent_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16043,7 +16071,7 @@ export function MessageSendEvent_clone(orig: number): number {
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_accept_channel(struct LDKPublicKey node_id, struct LDKAcceptChannel msg);
 /* @internal */
-export function MessageSendEvent_send_accept_channel(node_id: number, msg: number): number {
+export function MessageSendEvent_send_accept_channel(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16052,7 +16080,7 @@ export function MessageSendEvent_send_accept_channel(node_id: number, msg: numbe
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_open_channel(struct LDKPublicKey node_id, struct LDKOpenChannel msg);
 /* @internal */
-export function MessageSendEvent_send_open_channel(node_id: number, msg: number): number {
+export function MessageSendEvent_send_open_channel(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16061,7 +16089,7 @@ export function MessageSendEvent_send_open_channel(node_id: number, msg: number)
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_funding_created(struct LDKPublicKey node_id, struct LDKFundingCreated msg);
 /* @internal */
-export function MessageSendEvent_send_funding_created(node_id: number, msg: number): number {
+export function MessageSendEvent_send_funding_created(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16070,7 +16098,7 @@ export function MessageSendEvent_send_funding_created(node_id: number, msg: numb
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_funding_signed(struct LDKPublicKey node_id, struct LDKFundingSigned msg);
 /* @internal */
-export function MessageSendEvent_send_funding_signed(node_id: number, msg: number): number {
+export function MessageSendEvent_send_funding_signed(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16079,7 +16107,7 @@ export function MessageSendEvent_send_funding_signed(node_id: number, msg: numbe
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_channel_ready(struct LDKPublicKey node_id, struct LDKChannelReady msg);
 /* @internal */
-export function MessageSendEvent_send_channel_ready(node_id: number, msg: number): number {
+export function MessageSendEvent_send_channel_ready(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16088,7 +16116,7 @@ export function MessageSendEvent_send_channel_ready(node_id: number, msg: number
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_announcement_signatures(struct LDKPublicKey node_id, struct LDKAnnouncementSignatures msg);
 /* @internal */
-export function MessageSendEvent_send_announcement_signatures(node_id: number, msg: number): number {
+export function MessageSendEvent_send_announcement_signatures(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16097,7 +16125,7 @@ export function MessageSendEvent_send_announcement_signatures(node_id: number, m
 }
        // struct LDKMessageSendEvent MessageSendEvent_update_htlcs(struct LDKPublicKey node_id, struct LDKCommitmentUpdate updates);
 /* @internal */
-export function MessageSendEvent_update_htlcs(node_id: number, updates: number): number {
+export function MessageSendEvent_update_htlcs(node_id: number, updates: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16106,7 +16134,7 @@ export function MessageSendEvent_update_htlcs(node_id: number, updates: number):
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_revoke_and_ack(struct LDKPublicKey node_id, struct LDKRevokeAndACK msg);
 /* @internal */
-export function MessageSendEvent_send_revoke_and_ack(node_id: number, msg: number): number {
+export function MessageSendEvent_send_revoke_and_ack(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16115,7 +16143,7 @@ export function MessageSendEvent_send_revoke_and_ack(node_id: number, msg: numbe
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_closing_signed(struct LDKPublicKey node_id, struct LDKClosingSigned msg);
 /* @internal */
-export function MessageSendEvent_send_closing_signed(node_id: number, msg: number): number {
+export function MessageSendEvent_send_closing_signed(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16124,7 +16152,7 @@ export function MessageSendEvent_send_closing_signed(node_id: number, msg: numbe
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_shutdown(struct LDKPublicKey node_id, struct LDKShutdown msg);
 /* @internal */
-export function MessageSendEvent_send_shutdown(node_id: number, msg: number): number {
+export function MessageSendEvent_send_shutdown(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16133,7 +16161,7 @@ export function MessageSendEvent_send_shutdown(node_id: number, msg: number): nu
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_channel_reestablish(struct LDKPublicKey node_id, struct LDKChannelReestablish msg);
 /* @internal */
-export function MessageSendEvent_send_channel_reestablish(node_id: number, msg: number): number {
+export function MessageSendEvent_send_channel_reestablish(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16142,7 +16170,7 @@ export function MessageSendEvent_send_channel_reestablish(node_id: number, msg:
 }
        // struct LDKMessageSendEvent MessageSendEvent_broadcast_channel_announcement(struct LDKChannelAnnouncement msg, struct LDKChannelUpdate update_msg);
 /* @internal */
-export function MessageSendEvent_broadcast_channel_announcement(msg: number, update_msg: number): number {
+export function MessageSendEvent_broadcast_channel_announcement(msg: bigint, update_msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16151,7 +16179,7 @@ export function MessageSendEvent_broadcast_channel_announcement(msg: number, upd
 }
        // struct LDKMessageSendEvent MessageSendEvent_broadcast_node_announcement(struct LDKNodeAnnouncement msg);
 /* @internal */
-export function MessageSendEvent_broadcast_node_announcement(msg: number): number {
+export function MessageSendEvent_broadcast_node_announcement(msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16160,7 +16188,7 @@ export function MessageSendEvent_broadcast_node_announcement(msg: number): numbe
 }
        // struct LDKMessageSendEvent MessageSendEvent_broadcast_channel_update(struct LDKChannelUpdate msg);
 /* @internal */
-export function MessageSendEvent_broadcast_channel_update(msg: number): number {
+export function MessageSendEvent_broadcast_channel_update(msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16169,7 +16197,7 @@ export function MessageSendEvent_broadcast_channel_update(msg: number): number {
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_channel_update(struct LDKPublicKey node_id, struct LDKChannelUpdate msg);
 /* @internal */
-export function MessageSendEvent_send_channel_update(node_id: number, msg: number): number {
+export function MessageSendEvent_send_channel_update(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16178,7 +16206,7 @@ export function MessageSendEvent_send_channel_update(node_id: number, msg: numbe
 }
        // struct LDKMessageSendEvent MessageSendEvent_handle_error(struct LDKPublicKey node_id, struct LDKErrorAction action);
 /* @internal */
-export function MessageSendEvent_handle_error(node_id: number, action: number): number {
+export function MessageSendEvent_handle_error(node_id: number, action: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16187,7 +16215,7 @@ export function MessageSendEvent_handle_error(node_id: number, action: number):
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_channel_range_query(struct LDKPublicKey node_id, struct LDKQueryChannelRange msg);
 /* @internal */
-export function MessageSendEvent_send_channel_range_query(node_id: number, msg: number): number {
+export function MessageSendEvent_send_channel_range_query(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16196,7 +16224,7 @@ export function MessageSendEvent_send_channel_range_query(node_id: number, msg:
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_short_ids_query(struct LDKPublicKey node_id, struct LDKQueryShortChannelIds msg);
 /* @internal */
-export function MessageSendEvent_send_short_ids_query(node_id: number, msg: number): number {
+export function MessageSendEvent_send_short_ids_query(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16205,7 +16233,7 @@ export function MessageSendEvent_send_short_ids_query(node_id: number, msg: numb
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_reply_channel_range(struct LDKPublicKey node_id, struct LDKReplyChannelRange msg);
 /* @internal */
-export function MessageSendEvent_send_reply_channel_range(node_id: number, msg: number): number {
+export function MessageSendEvent_send_reply_channel_range(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16214,7 +16242,7 @@ export function MessageSendEvent_send_reply_channel_range(node_id: number, msg:
 }
        // struct LDKMessageSendEvent MessageSendEvent_send_gossip_timestamp_filter(struct LDKPublicKey node_id, struct LDKGossipTimestampFilter msg);
 /* @internal */
-export function MessageSendEvent_send_gossip_timestamp_filter(node_id: number, msg: number): number {
+export function MessageSendEvent_send_gossip_timestamp_filter(node_id: number, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16223,7 +16251,7 @@ export function MessageSendEvent_send_gossip_timestamp_filter(node_id: number, m
 }
        // void MessageSendEventsProvider_free(struct LDKMessageSendEventsProvider this_ptr);
 /* @internal */
-export function MessageSendEventsProvider_free(this_ptr: number): void {
+export function MessageSendEventsProvider_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16232,7 +16260,7 @@ export function MessageSendEventsProvider_free(this_ptr: number): void {
 }
        // void EventsProvider_free(struct LDKEventsProvider this_ptr);
 /* @internal */
-export function EventsProvider_free(this_ptr: number): void {
+export function EventsProvider_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16241,7 +16269,7 @@ export function EventsProvider_free(this_ptr: number): void {
 }
        // void EventHandler_free(struct LDKEventHandler this_ptr);
 /* @internal */
-export function EventHandler_free(this_ptr: number): void {
+export function EventHandler_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16250,16 +16278,16 @@ export function EventHandler_free(this_ptr: number): void {
 }
        // void APIError_free(struct LDKAPIError this_ptr);
 /* @internal */
-export function APIError_free(this_ptr: number): void {
+export function APIError_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_APIError_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t APIError_clone_ptr(LDKAPIError *NONNULL_PTR arg);
+       // uint64_t APIError_clone_ptr(LDKAPIError *NONNULL_PTR arg);
 /* @internal */
-export function APIError_clone_ptr(arg: number): number {
+export function APIError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16268,7 +16296,7 @@ export function APIError_clone_ptr(arg: number): number {
 }
        // struct LDKAPIError APIError_clone(const struct LDKAPIError *NONNULL_PTR orig);
 /* @internal */
-export function APIError_clone(orig: number): number {
+export function APIError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16277,7 +16305,7 @@ export function APIError_clone(orig: number): number {
 }
        // struct LDKAPIError APIError_apimisuse_error(struct LDKStr err);
 /* @internal */
-export function APIError_apimisuse_error(err: number): number {
+export function APIError_apimisuse_error(err: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16286,7 +16314,7 @@ export function APIError_apimisuse_error(err: number): number {
 }
        // struct LDKAPIError APIError_fee_rate_too_high(struct LDKStr err, uint32_t feerate);
 /* @internal */
-export function APIError_fee_rate_too_high(err: number, feerate: number): number {
+export function APIError_fee_rate_too_high(err: number, feerate: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16295,7 +16323,7 @@ export function APIError_fee_rate_too_high(err: number, feerate: number): number
 }
        // struct LDKAPIError APIError_route_error(struct LDKStr err);
 /* @internal */
-export function APIError_route_error(err: number): number {
+export function APIError_route_error(err: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16304,7 +16332,7 @@ export function APIError_route_error(err: number): number {
 }
        // struct LDKAPIError APIError_channel_unavailable(struct LDKStr err);
 /* @internal */
-export function APIError_channel_unavailable(err: number): number {
+export function APIError_channel_unavailable(err: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16313,7 +16341,7 @@ export function APIError_channel_unavailable(err: number): number {
 }
        // struct LDKAPIError APIError_monitor_update_failed(void);
 /* @internal */
-export function APIError_monitor_update_failed(): number {
+export function APIError_monitor_update_failed(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16322,7 +16350,7 @@ export function APIError_monitor_update_failed(): number {
 }
        // struct LDKAPIError APIError_incompatible_shutdown_script(struct LDKShutdownScript script);
 /* @internal */
-export function APIError_incompatible_shutdown_script(script: number): number {
+export function APIError_incompatible_shutdown_script(script: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16331,7 +16359,7 @@ export function APIError_incompatible_shutdown_script(script: number): number {
 }
        // void BigSize_free(struct LDKBigSize this_obj);
 /* @internal */
-export function BigSize_free(this_obj: number): void {
+export function BigSize_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16340,7 +16368,7 @@ export function BigSize_free(this_obj: number): void {
 }
        // uint64_t BigSize_get_a(const struct LDKBigSize *NONNULL_PTR this_ptr);
 /* @internal */
-export function BigSize_get_a(this_ptr: number): bigint {
+export function BigSize_get_a(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16349,7 +16377,7 @@ export function BigSize_get_a(this_ptr: number): bigint {
 }
        // void BigSize_set_a(struct LDKBigSize *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function BigSize_set_a(this_ptr: number, val: bigint): void {
+export function BigSize_set_a(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16358,7 +16386,7 @@ export function BigSize_set_a(this_ptr: number, val: bigint): void {
 }
        // MUST_USE_RES struct LDKBigSize BigSize_new(uint64_t a_arg);
 /* @internal */
-export function BigSize_new(a_arg: bigint): number {
+export function BigSize_new(a_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16367,16 +16395,16 @@ export function BigSize_new(a_arg: bigint): number {
 }
        // void Hostname_free(struct LDKHostname this_obj);
 /* @internal */
-export function Hostname_free(this_obj: number): void {
+export function Hostname_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Hostname_free(this_obj);
        // debug statements here
 }
-       // uintptr_t Hostname_clone_ptr(LDKHostname *NONNULL_PTR arg);
+       // uint64_t Hostname_clone_ptr(LDKHostname *NONNULL_PTR arg);
 /* @internal */
-export function Hostname_clone_ptr(arg: number): number {
+export function Hostname_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16385,7 +16413,7 @@ export function Hostname_clone_ptr(arg: number): number {
 }
        // struct LDKHostname Hostname_clone(const struct LDKHostname *NONNULL_PTR orig);
 /* @internal */
-export function Hostname_clone(orig: number): number {
+export function Hostname_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16394,7 +16422,7 @@ export function Hostname_clone(orig: number): number {
 }
        // MUST_USE_RES uint8_t Hostname_len(const struct LDKHostname *NONNULL_PTR this_arg);
 /* @internal */
-export function Hostname_len(this_arg: number): number {
+export function Hostname_len(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16403,7 +16431,7 @@ export function Hostname_len(this_arg: number): number {
 }
        // struct LDKCResult_StringErrorZ sign(struct LDKu8slice msg, const uint8_t (*sk)[32]);
 /* @internal */
-export function sign(msg: number, sk: number): number {
+export function sign(msg: number, sk: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16412,7 +16440,7 @@ export function sign(msg: number, sk: number): number {
 }
        // struct LDKCResult_PublicKeyErrorZ recover_pk(struct LDKu8slice msg, struct LDKStr sig);
 /* @internal */
-export function recover_pk(msg: number, sig: number): number {
+export function recover_pk(msg: number, sig: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16439,7 +16467,7 @@ export function construct_invoice_preimage(hrp_bytes: number, data_without_signa
 }
        // void Persister_free(struct LDKPersister this_ptr);
 /* @internal */
-export function Persister_free(this_ptr: number): void {
+export function Persister_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16448,7 +16476,7 @@ export function Persister_free(this_ptr: number): void {
 }
        // enum LDKLevel Level_clone(const enum LDKLevel *NONNULL_PTR orig);
 /* @internal */
-export function Level_clone(orig: number): Level {
+export function Level_clone(orig: bigint): Level {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16511,7 +16539,7 @@ export function Level_error(): Level {
 }
        // bool Level_eq(const enum LDKLevel *NONNULL_PTR a, const enum LDKLevel *NONNULL_PTR b);
 /* @internal */
-export function Level_eq(a: number, b: number): boolean {
+export function Level_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16520,7 +16548,7 @@ export function Level_eq(a: number, b: number): boolean {
 }
        // uint64_t Level_hash(const enum LDKLevel *NONNULL_PTR o);
 /* @internal */
-export function Level_hash(o: number): bigint {
+export function Level_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16538,7 +16566,7 @@ export function Level_max(): Level {
 }
        // void Record_free(struct LDKRecord this_obj);
 /* @internal */
-export function Record_free(this_obj: number): void {
+export function Record_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16547,7 +16575,7 @@ export function Record_free(this_obj: number): void {
 }
        // enum LDKLevel Record_get_level(const struct LDKRecord *NONNULL_PTR this_ptr);
 /* @internal */
-export function Record_get_level(this_ptr: number): Level {
+export function Record_get_level(this_ptr: bigint): Level {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16556,7 +16584,7 @@ export function Record_get_level(this_ptr: number): Level {
 }
        // void Record_set_level(struct LDKRecord *NONNULL_PTR this_ptr, enum LDKLevel val);
 /* @internal */
-export function Record_set_level(this_ptr: number, val: Level): void {
+export function Record_set_level(this_ptr: bigint, val: Level): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16565,7 +16593,7 @@ export function Record_set_level(this_ptr: number, val: Level): void {
 }
        // struct LDKStr Record_get_args(const struct LDKRecord *NONNULL_PTR this_ptr);
 /* @internal */
-export function Record_get_args(this_ptr: number): number {
+export function Record_get_args(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16574,7 +16602,7 @@ export function Record_get_args(this_ptr: number): number {
 }
        // void Record_set_args(struct LDKRecord *NONNULL_PTR this_ptr, struct LDKStr val);
 /* @internal */
-export function Record_set_args(this_ptr: number, val: number): void {
+export function Record_set_args(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16583,7 +16611,7 @@ export function Record_set_args(this_ptr: number, val: number): void {
 }
        // struct LDKStr Record_get_module_path(const struct LDKRecord *NONNULL_PTR this_ptr);
 /* @internal */
-export function Record_get_module_path(this_ptr: number): number {
+export function Record_get_module_path(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16592,7 +16620,7 @@ export function Record_get_module_path(this_ptr: number): number {
 }
        // void Record_set_module_path(struct LDKRecord *NONNULL_PTR this_ptr, struct LDKStr val);
 /* @internal */
-export function Record_set_module_path(this_ptr: number, val: number): void {
+export function Record_set_module_path(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16601,7 +16629,7 @@ export function Record_set_module_path(this_ptr: number, val: number): void {
 }
        // struct LDKStr Record_get_file(const struct LDKRecord *NONNULL_PTR this_ptr);
 /* @internal */
-export function Record_get_file(this_ptr: number): number {
+export function Record_get_file(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16610,7 +16638,7 @@ export function Record_get_file(this_ptr: number): number {
 }
        // void Record_set_file(struct LDKRecord *NONNULL_PTR this_ptr, struct LDKStr val);
 /* @internal */
-export function Record_set_file(this_ptr: number, val: number): void {
+export function Record_set_file(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16619,7 +16647,7 @@ export function Record_set_file(this_ptr: number, val: number): void {
 }
        // uint32_t Record_get_line(const struct LDKRecord *NONNULL_PTR this_ptr);
 /* @internal */
-export function Record_get_line(this_ptr: number): number {
+export function Record_get_line(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16628,16 +16656,16 @@ export function Record_get_line(this_ptr: number): number {
 }
        // void Record_set_line(struct LDKRecord *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function Record_set_line(this_ptr: number, val: number): void {
+export function Record_set_line(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Record_set_line(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t Record_clone_ptr(LDKRecord *NONNULL_PTR arg);
+       // uint64_t Record_clone_ptr(LDKRecord *NONNULL_PTR arg);
 /* @internal */
-export function Record_clone_ptr(arg: number): number {
+export function Record_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16646,7 +16674,7 @@ export function Record_clone_ptr(arg: number): number {
 }
        // struct LDKRecord Record_clone(const struct LDKRecord *NONNULL_PTR orig);
 /* @internal */
-export function Record_clone(orig: number): number {
+export function Record_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16655,7 +16683,7 @@ export function Record_clone(orig: number): number {
 }
        // void Logger_free(struct LDKLogger this_ptr);
 /* @internal */
-export function Logger_free(this_ptr: number): void {
+export function Logger_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16664,7 +16692,7 @@ export function Logger_free(this_ptr: number): void {
 }
        // void ChannelHandshakeConfig_free(struct LDKChannelHandshakeConfig this_obj);
 /* @internal */
-export function ChannelHandshakeConfig_free(this_obj: number): void {
+export function ChannelHandshakeConfig_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16673,7 +16701,7 @@ export function ChannelHandshakeConfig_free(this_obj: number): void {
 }
        // uint32_t ChannelHandshakeConfig_get_minimum_depth(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_minimum_depth(this_ptr: number): number {
+export function ChannelHandshakeConfig_get_minimum_depth(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16682,7 +16710,7 @@ export function ChannelHandshakeConfig_get_minimum_depth(this_ptr: number): numb
 }
        // void ChannelHandshakeConfig_set_minimum_depth(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ChannelHandshakeConfig_set_minimum_depth(this_ptr: number, val: number): void {
+export function ChannelHandshakeConfig_set_minimum_depth(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16691,7 +16719,7 @@ export function ChannelHandshakeConfig_set_minimum_depth(this_ptr: number, val:
 }
        // uint16_t ChannelHandshakeConfig_get_our_to_self_delay(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_our_to_self_delay(this_ptr: number): number {
+export function ChannelHandshakeConfig_get_our_to_self_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16700,7 +16728,7 @@ export function ChannelHandshakeConfig_get_our_to_self_delay(this_ptr: number):
 }
        // void ChannelHandshakeConfig_set_our_to_self_delay(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function ChannelHandshakeConfig_set_our_to_self_delay(this_ptr: number, val: number): void {
+export function ChannelHandshakeConfig_set_our_to_self_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16709,7 +16737,7 @@ export function ChannelHandshakeConfig_set_our_to_self_delay(this_ptr: number, v
 }
        // uint64_t ChannelHandshakeConfig_get_our_htlc_minimum_msat(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_our_htlc_minimum_msat(this_ptr: number): bigint {
+export function ChannelHandshakeConfig_get_our_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16718,7 +16746,7 @@ export function ChannelHandshakeConfig_get_our_htlc_minimum_msat(this_ptr: numbe
 }
        // void ChannelHandshakeConfig_set_our_htlc_minimum_msat(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelHandshakeConfig_set_our_htlc_minimum_msat(this_ptr: number, val: bigint): void {
+export function ChannelHandshakeConfig_set_our_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16727,7 +16755,7 @@ export function ChannelHandshakeConfig_set_our_htlc_minimum_msat(this_ptr: numbe
 }
        // uint8_t ChannelHandshakeConfig_get_max_inbound_htlc_value_in_flight_percent_of_channel(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_max_inbound_htlc_value_in_flight_percent_of_channel(this_ptr: number): number {
+export function ChannelHandshakeConfig_get_max_inbound_htlc_value_in_flight_percent_of_channel(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16736,7 +16764,7 @@ export function ChannelHandshakeConfig_get_max_inbound_htlc_value_in_flight_perc
 }
        // void ChannelHandshakeConfig_set_max_inbound_htlc_value_in_flight_percent_of_channel(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, uint8_t val);
 /* @internal */
-export function ChannelHandshakeConfig_set_max_inbound_htlc_value_in_flight_percent_of_channel(this_ptr: number, val: number): void {
+export function ChannelHandshakeConfig_set_max_inbound_htlc_value_in_flight_percent_of_channel(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16745,7 +16773,7 @@ export function ChannelHandshakeConfig_set_max_inbound_htlc_value_in_flight_perc
 }
        // bool ChannelHandshakeConfig_get_negotiate_scid_privacy(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_negotiate_scid_privacy(this_ptr: number): boolean {
+export function ChannelHandshakeConfig_get_negotiate_scid_privacy(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16754,7 +16782,7 @@ export function ChannelHandshakeConfig_get_negotiate_scid_privacy(this_ptr: numb
 }
        // void ChannelHandshakeConfig_set_negotiate_scid_privacy(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelHandshakeConfig_set_negotiate_scid_privacy(this_ptr: number, val: boolean): void {
+export function ChannelHandshakeConfig_set_negotiate_scid_privacy(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16763,7 +16791,7 @@ export function ChannelHandshakeConfig_set_negotiate_scid_privacy(this_ptr: numb
 }
        // bool ChannelHandshakeConfig_get_announced_channel(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_announced_channel(this_ptr: number): boolean {
+export function ChannelHandshakeConfig_get_announced_channel(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16772,7 +16800,7 @@ export function ChannelHandshakeConfig_get_announced_channel(this_ptr: number):
 }
        // void ChannelHandshakeConfig_set_announced_channel(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelHandshakeConfig_set_announced_channel(this_ptr: number, val: boolean): void {
+export function ChannelHandshakeConfig_set_announced_channel(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16781,7 +16809,7 @@ export function ChannelHandshakeConfig_set_announced_channel(this_ptr: number, v
 }
        // bool ChannelHandshakeConfig_get_commit_upfront_shutdown_pubkey(const struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeConfig_get_commit_upfront_shutdown_pubkey(this_ptr: number): boolean {
+export function ChannelHandshakeConfig_get_commit_upfront_shutdown_pubkey(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16790,7 +16818,7 @@ export function ChannelHandshakeConfig_get_commit_upfront_shutdown_pubkey(this_p
 }
        // void ChannelHandshakeConfig_set_commit_upfront_shutdown_pubkey(struct LDKChannelHandshakeConfig *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelHandshakeConfig_set_commit_upfront_shutdown_pubkey(this_ptr: number, val: boolean): void {
+export function ChannelHandshakeConfig_set_commit_upfront_shutdown_pubkey(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16799,16 +16827,16 @@ export function ChannelHandshakeConfig_set_commit_upfront_shutdown_pubkey(this_p
 }
        // MUST_USE_RES struct LDKChannelHandshakeConfig ChannelHandshakeConfig_new(uint32_t minimum_depth_arg, uint16_t our_to_self_delay_arg, uint64_t our_htlc_minimum_msat_arg, uint8_t max_inbound_htlc_value_in_flight_percent_of_channel_arg, bool negotiate_scid_privacy_arg, bool announced_channel_arg, bool commit_upfront_shutdown_pubkey_arg);
 /* @internal */
-export function ChannelHandshakeConfig_new(minimum_depth_arg: number, our_to_self_delay_arg: number, our_htlc_minimum_msat_arg: bigint, max_inbound_htlc_value_in_flight_percent_of_channel_arg: number, negotiate_scid_privacy_arg: boolean, announced_channel_arg: boolean, commit_upfront_shutdown_pubkey_arg: boolean): number {
+export function ChannelHandshakeConfig_new(minimum_depth_arg: number, our_to_self_delay_arg: number, our_htlc_minimum_msat_arg: bigint, max_inbound_htlc_value_in_flight_percent_of_channel_arg: number, negotiate_scid_privacy_arg: boolean, announced_channel_arg: boolean, commit_upfront_shutdown_pubkey_arg: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelHandshakeConfig_new(minimum_depth_arg, our_to_self_delay_arg, our_htlc_minimum_msat_arg, max_inbound_htlc_value_in_flight_percent_of_channel_arg, negotiate_scid_privacy_arg, announced_channel_arg, commit_upfront_shutdown_pubkey_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelHandshakeConfig_clone_ptr(LDKChannelHandshakeConfig *NONNULL_PTR arg);
+       // uint64_t ChannelHandshakeConfig_clone_ptr(LDKChannelHandshakeConfig *NONNULL_PTR arg);
 /* @internal */
-export function ChannelHandshakeConfig_clone_ptr(arg: number): number {
+export function ChannelHandshakeConfig_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16817,7 +16845,7 @@ export function ChannelHandshakeConfig_clone_ptr(arg: number): number {
 }
        // struct LDKChannelHandshakeConfig ChannelHandshakeConfig_clone(const struct LDKChannelHandshakeConfig *NONNULL_PTR orig);
 /* @internal */
-export function ChannelHandshakeConfig_clone(orig: number): number {
+export function ChannelHandshakeConfig_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16826,7 +16854,7 @@ export function ChannelHandshakeConfig_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKChannelHandshakeConfig ChannelHandshakeConfig_default(void);
 /* @internal */
-export function ChannelHandshakeConfig_default(): number {
+export function ChannelHandshakeConfig_default(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16835,7 +16863,7 @@ export function ChannelHandshakeConfig_default(): number {
 }
        // void ChannelHandshakeLimits_free(struct LDKChannelHandshakeLimits this_obj);
 /* @internal */
-export function ChannelHandshakeLimits_free(this_obj: number): void {
+export function ChannelHandshakeLimits_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16844,7 +16872,7 @@ export function ChannelHandshakeLimits_free(this_obj: number): void {
 }
        // uint64_t ChannelHandshakeLimits_get_min_funding_satoshis(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_min_funding_satoshis(this_ptr: number): bigint {
+export function ChannelHandshakeLimits_get_min_funding_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16853,7 +16881,7 @@ export function ChannelHandshakeLimits_get_min_funding_satoshis(this_ptr: number
 }
        // void ChannelHandshakeLimits_set_min_funding_satoshis(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_min_funding_satoshis(this_ptr: number, val: bigint): void {
+export function ChannelHandshakeLimits_set_min_funding_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16862,7 +16890,7 @@ export function ChannelHandshakeLimits_set_min_funding_satoshis(this_ptr: number
 }
        // uint64_t ChannelHandshakeLimits_get_max_funding_satoshis(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_max_funding_satoshis(this_ptr: number): bigint {
+export function ChannelHandshakeLimits_get_max_funding_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16871,7 +16899,7 @@ export function ChannelHandshakeLimits_get_max_funding_satoshis(this_ptr: number
 }
        // void ChannelHandshakeLimits_set_max_funding_satoshis(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_max_funding_satoshis(this_ptr: number, val: bigint): void {
+export function ChannelHandshakeLimits_set_max_funding_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16880,7 +16908,7 @@ export function ChannelHandshakeLimits_set_max_funding_satoshis(this_ptr: number
 }
        // uint64_t ChannelHandshakeLimits_get_max_htlc_minimum_msat(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_max_htlc_minimum_msat(this_ptr: number): bigint {
+export function ChannelHandshakeLimits_get_max_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16889,7 +16917,7 @@ export function ChannelHandshakeLimits_get_max_htlc_minimum_msat(this_ptr: numbe
 }
        // void ChannelHandshakeLimits_set_max_htlc_minimum_msat(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_max_htlc_minimum_msat(this_ptr: number, val: bigint): void {
+export function ChannelHandshakeLimits_set_max_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16898,7 +16926,7 @@ export function ChannelHandshakeLimits_set_max_htlc_minimum_msat(this_ptr: numbe
 }
        // uint64_t ChannelHandshakeLimits_get_min_max_htlc_value_in_flight_msat(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_min_max_htlc_value_in_flight_msat(this_ptr: number): bigint {
+export function ChannelHandshakeLimits_get_min_max_htlc_value_in_flight_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16907,7 +16935,7 @@ export function ChannelHandshakeLimits_get_min_max_htlc_value_in_flight_msat(thi
 }
        // void ChannelHandshakeLimits_set_min_max_htlc_value_in_flight_msat(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_min_max_htlc_value_in_flight_msat(this_ptr: number, val: bigint): void {
+export function ChannelHandshakeLimits_set_min_max_htlc_value_in_flight_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16916,7 +16944,7 @@ export function ChannelHandshakeLimits_set_min_max_htlc_value_in_flight_msat(thi
 }
        // uint64_t ChannelHandshakeLimits_get_max_channel_reserve_satoshis(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_max_channel_reserve_satoshis(this_ptr: number): bigint {
+export function ChannelHandshakeLimits_get_max_channel_reserve_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16925,7 +16953,7 @@ export function ChannelHandshakeLimits_get_max_channel_reserve_satoshis(this_ptr
 }
        // void ChannelHandshakeLimits_set_max_channel_reserve_satoshis(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_max_channel_reserve_satoshis(this_ptr: number, val: bigint): void {
+export function ChannelHandshakeLimits_set_max_channel_reserve_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16934,7 +16962,7 @@ export function ChannelHandshakeLimits_set_max_channel_reserve_satoshis(this_ptr
 }
        // uint16_t ChannelHandshakeLimits_get_min_max_accepted_htlcs(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_min_max_accepted_htlcs(this_ptr: number): number {
+export function ChannelHandshakeLimits_get_min_max_accepted_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16943,7 +16971,7 @@ export function ChannelHandshakeLimits_get_min_max_accepted_htlcs(this_ptr: numb
 }
        // void ChannelHandshakeLimits_set_min_max_accepted_htlcs(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_min_max_accepted_htlcs(this_ptr: number, val: number): void {
+export function ChannelHandshakeLimits_set_min_max_accepted_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16952,7 +16980,7 @@ export function ChannelHandshakeLimits_set_min_max_accepted_htlcs(this_ptr: numb
 }
        // uint32_t ChannelHandshakeLimits_get_max_minimum_depth(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_max_minimum_depth(this_ptr: number): number {
+export function ChannelHandshakeLimits_get_max_minimum_depth(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16961,7 +16989,7 @@ export function ChannelHandshakeLimits_get_max_minimum_depth(this_ptr: number):
 }
        // void ChannelHandshakeLimits_set_max_minimum_depth(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_max_minimum_depth(this_ptr: number, val: number): void {
+export function ChannelHandshakeLimits_set_max_minimum_depth(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16970,7 +16998,7 @@ export function ChannelHandshakeLimits_set_max_minimum_depth(this_ptr: number, v
 }
        // bool ChannelHandshakeLimits_get_trust_own_funding_0conf(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_trust_own_funding_0conf(this_ptr: number): boolean {
+export function ChannelHandshakeLimits_get_trust_own_funding_0conf(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16979,7 +17007,7 @@ export function ChannelHandshakeLimits_get_trust_own_funding_0conf(this_ptr: num
 }
        // void ChannelHandshakeLimits_set_trust_own_funding_0conf(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelHandshakeLimits_set_trust_own_funding_0conf(this_ptr: number, val: boolean): void {
+export function ChannelHandshakeLimits_set_trust_own_funding_0conf(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16988,7 +17016,7 @@ export function ChannelHandshakeLimits_set_trust_own_funding_0conf(this_ptr: num
 }
        // bool ChannelHandshakeLimits_get_force_announced_channel_preference(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_force_announced_channel_preference(this_ptr: number): boolean {
+export function ChannelHandshakeLimits_get_force_announced_channel_preference(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -16997,7 +17025,7 @@ export function ChannelHandshakeLimits_get_force_announced_channel_preference(th
 }
        // void ChannelHandshakeLimits_set_force_announced_channel_preference(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelHandshakeLimits_set_force_announced_channel_preference(this_ptr: number, val: boolean): void {
+export function ChannelHandshakeLimits_set_force_announced_channel_preference(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17006,7 +17034,7 @@ export function ChannelHandshakeLimits_set_force_announced_channel_preference(th
 }
        // uint16_t ChannelHandshakeLimits_get_their_to_self_delay(const struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelHandshakeLimits_get_their_to_self_delay(this_ptr: number): number {
+export function ChannelHandshakeLimits_get_their_to_self_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17015,7 +17043,7 @@ export function ChannelHandshakeLimits_get_their_to_self_delay(this_ptr: number)
 }
        // void ChannelHandshakeLimits_set_their_to_self_delay(struct LDKChannelHandshakeLimits *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function ChannelHandshakeLimits_set_their_to_self_delay(this_ptr: number, val: number): void {
+export function ChannelHandshakeLimits_set_their_to_self_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17024,16 +17052,16 @@ export function ChannelHandshakeLimits_set_their_to_self_delay(this_ptr: number,
 }
        // MUST_USE_RES struct LDKChannelHandshakeLimits ChannelHandshakeLimits_new(uint64_t min_funding_satoshis_arg, uint64_t max_funding_satoshis_arg, uint64_t max_htlc_minimum_msat_arg, uint64_t min_max_htlc_value_in_flight_msat_arg, uint64_t max_channel_reserve_satoshis_arg, uint16_t min_max_accepted_htlcs_arg, uint32_t max_minimum_depth_arg, bool trust_own_funding_0conf_arg, bool force_announced_channel_preference_arg, uint16_t their_to_self_delay_arg);
 /* @internal */
-export function ChannelHandshakeLimits_new(min_funding_satoshis_arg: bigint, max_funding_satoshis_arg: bigint, max_htlc_minimum_msat_arg: bigint, min_max_htlc_value_in_flight_msat_arg: bigint, max_channel_reserve_satoshis_arg: bigint, min_max_accepted_htlcs_arg: number, max_minimum_depth_arg: number, trust_own_funding_0conf_arg: boolean, force_announced_channel_preference_arg: boolean, their_to_self_delay_arg: number): number {
+export function ChannelHandshakeLimits_new(min_funding_satoshis_arg: bigint, max_funding_satoshis_arg: bigint, max_htlc_minimum_msat_arg: bigint, min_max_htlc_value_in_flight_msat_arg: bigint, max_channel_reserve_satoshis_arg: bigint, min_max_accepted_htlcs_arg: number, max_minimum_depth_arg: number, trust_own_funding_0conf_arg: boolean, force_announced_channel_preference_arg: boolean, their_to_self_delay_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelHandshakeLimits_new(min_funding_satoshis_arg, max_funding_satoshis_arg, max_htlc_minimum_msat_arg, min_max_htlc_value_in_flight_msat_arg, max_channel_reserve_satoshis_arg, min_max_accepted_htlcs_arg, max_minimum_depth_arg, trust_own_funding_0conf_arg, force_announced_channel_preference_arg, their_to_self_delay_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelHandshakeLimits_clone_ptr(LDKChannelHandshakeLimits *NONNULL_PTR arg);
+       // uint64_t ChannelHandshakeLimits_clone_ptr(LDKChannelHandshakeLimits *NONNULL_PTR arg);
 /* @internal */
-export function ChannelHandshakeLimits_clone_ptr(arg: number): number {
+export function ChannelHandshakeLimits_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17042,7 +17070,7 @@ export function ChannelHandshakeLimits_clone_ptr(arg: number): number {
 }
        // struct LDKChannelHandshakeLimits ChannelHandshakeLimits_clone(const struct LDKChannelHandshakeLimits *NONNULL_PTR orig);
 /* @internal */
-export function ChannelHandshakeLimits_clone(orig: number): number {
+export function ChannelHandshakeLimits_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17051,7 +17079,7 @@ export function ChannelHandshakeLimits_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKChannelHandshakeLimits ChannelHandshakeLimits_default(void);
 /* @internal */
-export function ChannelHandshakeLimits_default(): number {
+export function ChannelHandshakeLimits_default(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17060,7 +17088,7 @@ export function ChannelHandshakeLimits_default(): number {
 }
        // void ChannelConfig_free(struct LDKChannelConfig this_obj);
 /* @internal */
-export function ChannelConfig_free(this_obj: number): void {
+export function ChannelConfig_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17069,7 +17097,7 @@ export function ChannelConfig_free(this_obj: number): void {
 }
        // uint32_t ChannelConfig_get_forwarding_fee_proportional_millionths(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelConfig_get_forwarding_fee_proportional_millionths(this_ptr: number): number {
+export function ChannelConfig_get_forwarding_fee_proportional_millionths(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17078,7 +17106,7 @@ export function ChannelConfig_get_forwarding_fee_proportional_millionths(this_pt
 }
        // void ChannelConfig_set_forwarding_fee_proportional_millionths(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ChannelConfig_set_forwarding_fee_proportional_millionths(this_ptr: number, val: number): void {
+export function ChannelConfig_set_forwarding_fee_proportional_millionths(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17087,7 +17115,7 @@ export function ChannelConfig_set_forwarding_fee_proportional_millionths(this_pt
 }
        // uint32_t ChannelConfig_get_forwarding_fee_base_msat(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelConfig_get_forwarding_fee_base_msat(this_ptr: number): number {
+export function ChannelConfig_get_forwarding_fee_base_msat(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17096,7 +17124,7 @@ export function ChannelConfig_get_forwarding_fee_base_msat(this_ptr: number): nu
 }
        // void ChannelConfig_set_forwarding_fee_base_msat(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ChannelConfig_set_forwarding_fee_base_msat(this_ptr: number, val: number): void {
+export function ChannelConfig_set_forwarding_fee_base_msat(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17105,7 +17133,7 @@ export function ChannelConfig_set_forwarding_fee_base_msat(this_ptr: number, val
 }
        // uint16_t ChannelConfig_get_cltv_expiry_delta(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelConfig_get_cltv_expiry_delta(this_ptr: number): number {
+export function ChannelConfig_get_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17114,7 +17142,7 @@ export function ChannelConfig_get_cltv_expiry_delta(this_ptr: number): number {
 }
        // void ChannelConfig_set_cltv_expiry_delta(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function ChannelConfig_set_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function ChannelConfig_set_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17123,7 +17151,7 @@ export function ChannelConfig_set_cltv_expiry_delta(this_ptr: number, val: numbe
 }
        // uint64_t ChannelConfig_get_max_dust_htlc_exposure_msat(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelConfig_get_max_dust_htlc_exposure_msat(this_ptr: number): bigint {
+export function ChannelConfig_get_max_dust_htlc_exposure_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17132,7 +17160,7 @@ export function ChannelConfig_get_max_dust_htlc_exposure_msat(this_ptr: number):
 }
        // void ChannelConfig_set_max_dust_htlc_exposure_msat(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelConfig_set_max_dust_htlc_exposure_msat(this_ptr: number, val: bigint): void {
+export function ChannelConfig_set_max_dust_htlc_exposure_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17141,7 +17169,7 @@ export function ChannelConfig_set_max_dust_htlc_exposure_msat(this_ptr: number,
 }
        // uint64_t ChannelConfig_get_force_close_avoidance_max_fee_satoshis(const struct LDKChannelConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelConfig_get_force_close_avoidance_max_fee_satoshis(this_ptr: number): bigint {
+export function ChannelConfig_get_force_close_avoidance_max_fee_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17150,7 +17178,7 @@ export function ChannelConfig_get_force_close_avoidance_max_fee_satoshis(this_pt
 }
        // void ChannelConfig_set_force_close_avoidance_max_fee_satoshis(struct LDKChannelConfig *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelConfig_set_force_close_avoidance_max_fee_satoshis(this_ptr: number, val: bigint): void {
+export function ChannelConfig_set_force_close_avoidance_max_fee_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17159,16 +17187,16 @@ export function ChannelConfig_set_force_close_avoidance_max_fee_satoshis(this_pt
 }
        // MUST_USE_RES struct LDKChannelConfig ChannelConfig_new(uint32_t forwarding_fee_proportional_millionths_arg, uint32_t forwarding_fee_base_msat_arg, uint16_t cltv_expiry_delta_arg, uint64_t max_dust_htlc_exposure_msat_arg, uint64_t force_close_avoidance_max_fee_satoshis_arg);
 /* @internal */
-export function ChannelConfig_new(forwarding_fee_proportional_millionths_arg: number, forwarding_fee_base_msat_arg: number, cltv_expiry_delta_arg: number, max_dust_htlc_exposure_msat_arg: bigint, force_close_avoidance_max_fee_satoshis_arg: bigint): number {
+export function ChannelConfig_new(forwarding_fee_proportional_millionths_arg: number, forwarding_fee_base_msat_arg: number, cltv_expiry_delta_arg: number, max_dust_htlc_exposure_msat_arg: bigint, force_close_avoidance_max_fee_satoshis_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelConfig_new(forwarding_fee_proportional_millionths_arg, forwarding_fee_base_msat_arg, cltv_expiry_delta_arg, max_dust_htlc_exposure_msat_arg, force_close_avoidance_max_fee_satoshis_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelConfig_clone_ptr(LDKChannelConfig *NONNULL_PTR arg);
+       // uint64_t ChannelConfig_clone_ptr(LDKChannelConfig *NONNULL_PTR arg);
 /* @internal */
-export function ChannelConfig_clone_ptr(arg: number): number {
+export function ChannelConfig_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17177,7 +17205,7 @@ export function ChannelConfig_clone_ptr(arg: number): number {
 }
        // struct LDKChannelConfig ChannelConfig_clone(const struct LDKChannelConfig *NONNULL_PTR orig);
 /* @internal */
-export function ChannelConfig_clone(orig: number): number {
+export function ChannelConfig_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17186,7 +17214,7 @@ export function ChannelConfig_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKChannelConfig ChannelConfig_default(void);
 /* @internal */
-export function ChannelConfig_default(): number {
+export function ChannelConfig_default(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17195,7 +17223,7 @@ export function ChannelConfig_default(): number {
 }
        // struct LDKCVec_u8Z ChannelConfig_write(const struct LDKChannelConfig *NONNULL_PTR obj);
 /* @internal */
-export function ChannelConfig_write(obj: number): number {
+export function ChannelConfig_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17204,7 +17232,7 @@ export function ChannelConfig_write(obj: number): number {
 }
        // struct LDKCResult_ChannelConfigDecodeErrorZ ChannelConfig_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelConfig_read(ser: number): number {
+export function ChannelConfig_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17213,7 +17241,7 @@ export function ChannelConfig_read(ser: number): number {
 }
        // void UserConfig_free(struct LDKUserConfig this_obj);
 /* @internal */
-export function UserConfig_free(this_obj: number): void {
+export function UserConfig_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17222,7 +17250,7 @@ export function UserConfig_free(this_obj: number): void {
 }
        // struct LDKChannelHandshakeConfig UserConfig_get_channel_handshake_config(const struct LDKUserConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function UserConfig_get_channel_handshake_config(this_ptr: number): number {
+export function UserConfig_get_channel_handshake_config(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17231,7 +17259,7 @@ export function UserConfig_get_channel_handshake_config(this_ptr: number): numbe
 }
        // void UserConfig_set_channel_handshake_config(struct LDKUserConfig *NONNULL_PTR this_ptr, struct LDKChannelHandshakeConfig val);
 /* @internal */
-export function UserConfig_set_channel_handshake_config(this_ptr: number, val: number): void {
+export function UserConfig_set_channel_handshake_config(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17240,7 +17268,7 @@ export function UserConfig_set_channel_handshake_config(this_ptr: number, val: n
 }
        // struct LDKChannelHandshakeLimits UserConfig_get_channel_handshake_limits(const struct LDKUserConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function UserConfig_get_channel_handshake_limits(this_ptr: number): number {
+export function UserConfig_get_channel_handshake_limits(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17249,7 +17277,7 @@ export function UserConfig_get_channel_handshake_limits(this_ptr: number): numbe
 }
        // void UserConfig_set_channel_handshake_limits(struct LDKUserConfig *NONNULL_PTR this_ptr, struct LDKChannelHandshakeLimits val);
 /* @internal */
-export function UserConfig_set_channel_handshake_limits(this_ptr: number, val: number): void {
+export function UserConfig_set_channel_handshake_limits(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17258,7 +17286,7 @@ export function UserConfig_set_channel_handshake_limits(this_ptr: number, val: n
 }
        // struct LDKChannelConfig UserConfig_get_channel_config(const struct LDKUserConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function UserConfig_get_channel_config(this_ptr: number): number {
+export function UserConfig_get_channel_config(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17267,7 +17295,7 @@ export function UserConfig_get_channel_config(this_ptr: number): number {
 }
        // void UserConfig_set_channel_config(struct LDKUserConfig *NONNULL_PTR this_ptr, struct LDKChannelConfig val);
 /* @internal */
-export function UserConfig_set_channel_config(this_ptr: number, val: number): void {
+export function UserConfig_set_channel_config(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17276,7 +17304,7 @@ export function UserConfig_set_channel_config(this_ptr: number, val: number): vo
 }
        // bool UserConfig_get_accept_forwards_to_priv_channels(const struct LDKUserConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function UserConfig_get_accept_forwards_to_priv_channels(this_ptr: number): boolean {
+export function UserConfig_get_accept_forwards_to_priv_channels(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17285,7 +17313,7 @@ export function UserConfig_get_accept_forwards_to_priv_channels(this_ptr: number
 }
        // void UserConfig_set_accept_forwards_to_priv_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function UserConfig_set_accept_forwards_to_priv_channels(this_ptr: number, val: boolean): void {
+export function UserConfig_set_accept_forwards_to_priv_channels(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17294,7 +17322,7 @@ export function UserConfig_set_accept_forwards_to_priv_channels(this_ptr: number
 }
        // bool UserConfig_get_accept_inbound_channels(const struct LDKUserConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function UserConfig_get_accept_inbound_channels(this_ptr: number): boolean {
+export function UserConfig_get_accept_inbound_channels(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17303,7 +17331,7 @@ export function UserConfig_get_accept_inbound_channels(this_ptr: number): boolea
 }
        // void UserConfig_set_accept_inbound_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function UserConfig_set_accept_inbound_channels(this_ptr: number, val: boolean): void {
+export function UserConfig_set_accept_inbound_channels(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17312,7 +17340,7 @@ export function UserConfig_set_accept_inbound_channels(this_ptr: number, val: bo
 }
        // bool UserConfig_get_manually_accept_inbound_channels(const struct LDKUserConfig *NONNULL_PTR this_ptr);
 /* @internal */
-export function UserConfig_get_manually_accept_inbound_channels(this_ptr: number): boolean {
+export function UserConfig_get_manually_accept_inbound_channels(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17321,7 +17349,7 @@ export function UserConfig_get_manually_accept_inbound_channels(this_ptr: number
 }
        // void UserConfig_set_manually_accept_inbound_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function UserConfig_set_manually_accept_inbound_channels(this_ptr: number, val: boolean): void {
+export function UserConfig_set_manually_accept_inbound_channels(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17330,16 +17358,16 @@ export function UserConfig_set_manually_accept_inbound_channels(this_ptr: number
 }
        // MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig channel_handshake_config_arg, struct LDKChannelHandshakeLimits channel_handshake_limits_arg, struct LDKChannelConfig channel_config_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg, bool manually_accept_inbound_channels_arg);
 /* @internal */
-export function UserConfig_new(channel_handshake_config_arg: number, channel_handshake_limits_arg: number, channel_config_arg: number, accept_forwards_to_priv_channels_arg: boolean, accept_inbound_channels_arg: boolean, manually_accept_inbound_channels_arg: boolean): number {
+export function UserConfig_new(channel_handshake_config_arg: bigint, channel_handshake_limits_arg: bigint, channel_config_arg: bigint, accept_forwards_to_priv_channels_arg: boolean, accept_inbound_channels_arg: boolean, manually_accept_inbound_channels_arg: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UserConfig_new(channel_handshake_config_arg, channel_handshake_limits_arg, channel_config_arg, accept_forwards_to_priv_channels_arg, accept_inbound_channels_arg, manually_accept_inbound_channels_arg);
        return nativeResponseValue;
 }
-       // uintptr_t UserConfig_clone_ptr(LDKUserConfig *NONNULL_PTR arg);
+       // uint64_t UserConfig_clone_ptr(LDKUserConfig *NONNULL_PTR arg);
 /* @internal */
-export function UserConfig_clone_ptr(arg: number): number {
+export function UserConfig_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17348,7 +17376,7 @@ export function UserConfig_clone_ptr(arg: number): number {
 }
        // struct LDKUserConfig UserConfig_clone(const struct LDKUserConfig *NONNULL_PTR orig);
 /* @internal */
-export function UserConfig_clone(orig: number): number {
+export function UserConfig_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17357,7 +17385,7 @@ export function UserConfig_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKUserConfig UserConfig_default(void);
 /* @internal */
-export function UserConfig_default(): number {
+export function UserConfig_default(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17366,16 +17394,16 @@ export function UserConfig_default(): number {
 }
        // void BestBlock_free(struct LDKBestBlock this_obj);
 /* @internal */
-export function BestBlock_free(this_obj: number): void {
+export function BestBlock_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_BestBlock_free(this_obj);
        // debug statements here
 }
-       // uintptr_t BestBlock_clone_ptr(LDKBestBlock *NONNULL_PTR arg);
+       // uint64_t BestBlock_clone_ptr(LDKBestBlock *NONNULL_PTR arg);
 /* @internal */
-export function BestBlock_clone_ptr(arg: number): number {
+export function BestBlock_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17384,7 +17412,7 @@ export function BestBlock_clone_ptr(arg: number): number {
 }
        // struct LDKBestBlock BestBlock_clone(const struct LDKBestBlock *NONNULL_PTR orig);
 /* @internal */
-export function BestBlock_clone(orig: number): number {
+export function BestBlock_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17393,7 +17421,7 @@ export function BestBlock_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKBestBlock BestBlock_from_genesis(enum LDKNetwork network);
 /* @internal */
-export function BestBlock_from_genesis(network: Network): number {
+export function BestBlock_from_genesis(network: Network): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17402,7 +17430,7 @@ export function BestBlock_from_genesis(network: Network): number {
 }
        // MUST_USE_RES struct LDKBestBlock BestBlock_new(struct LDKThirtyTwoBytes block_hash, uint32_t height);
 /* @internal */
-export function BestBlock_new(block_hash: number, height: number): number {
+export function BestBlock_new(block_hash: number, height: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17411,7 +17439,7 @@ export function BestBlock_new(block_hash: number, height: number): number {
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes BestBlock_block_hash(const struct LDKBestBlock *NONNULL_PTR this_arg);
 /* @internal */
-export function BestBlock_block_hash(this_arg: number): number {
+export function BestBlock_block_hash(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17420,7 +17448,7 @@ export function BestBlock_block_hash(this_arg: number): number {
 }
        // MUST_USE_RES uint32_t BestBlock_height(const struct LDKBestBlock *NONNULL_PTR this_arg);
 /* @internal */
-export function BestBlock_height(this_arg: number): number {
+export function BestBlock_height(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17429,7 +17457,7 @@ export function BestBlock_height(this_arg: number): number {
 }
        // enum LDKAccessError AccessError_clone(const enum LDKAccessError *NONNULL_PTR orig);
 /* @internal */
-export function AccessError_clone(orig: number): AccessError {
+export function AccessError_clone(orig: bigint): AccessError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17456,7 +17484,7 @@ export function AccessError_unknown_tx(): AccessError {
 }
        // void Access_free(struct LDKAccess this_ptr);
 /* @internal */
-export function Access_free(this_ptr: number): void {
+export function Access_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17465,7 +17493,7 @@ export function Access_free(this_ptr: number): void {
 }
        // void Listen_free(struct LDKListen this_ptr);
 /* @internal */
-export function Listen_free(this_ptr: number): void {
+export function Listen_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17474,7 +17502,7 @@ export function Listen_free(this_ptr: number): void {
 }
        // void Confirm_free(struct LDKConfirm this_ptr);
 /* @internal */
-export function Confirm_free(this_ptr: number): void {
+export function Confirm_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17483,7 +17511,7 @@ export function Confirm_free(this_ptr: number): void {
 }
        // enum LDKChannelMonitorUpdateErr ChannelMonitorUpdateErr_clone(const enum LDKChannelMonitorUpdateErr *NONNULL_PTR orig);
 /* @internal */
-export function ChannelMonitorUpdateErr_clone(orig: number): ChannelMonitorUpdateErr {
+export function ChannelMonitorUpdateErr_clone(orig: bigint): ChannelMonitorUpdateErr {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17510,7 +17538,7 @@ export function ChannelMonitorUpdateErr_permanent_failure(): ChannelMonitorUpdat
 }
        // void Watch_free(struct LDKWatch this_ptr);
 /* @internal */
-export function Watch_free(this_ptr: number): void {
+export function Watch_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17519,7 +17547,7 @@ export function Watch_free(this_ptr: number): void {
 }
        // void Filter_free(struct LDKFilter this_ptr);
 /* @internal */
-export function Filter_free(this_ptr: number): void {
+export function Filter_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17528,7 +17556,7 @@ export function Filter_free(this_ptr: number): void {
 }
        // void WatchedOutput_free(struct LDKWatchedOutput this_obj);
 /* @internal */
-export function WatchedOutput_free(this_obj: number): void {
+export function WatchedOutput_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17537,7 +17565,7 @@ export function WatchedOutput_free(this_obj: number): void {
 }
        // struct LDKThirtyTwoBytes WatchedOutput_get_block_hash(const struct LDKWatchedOutput *NONNULL_PTR this_ptr);
 /* @internal */
-export function WatchedOutput_get_block_hash(this_ptr: number): number {
+export function WatchedOutput_get_block_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17546,7 +17574,7 @@ export function WatchedOutput_get_block_hash(this_ptr: number): number {
 }
        // void WatchedOutput_set_block_hash(struct LDKWatchedOutput *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function WatchedOutput_set_block_hash(this_ptr: number, val: number): void {
+export function WatchedOutput_set_block_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17555,7 +17583,7 @@ export function WatchedOutput_set_block_hash(this_ptr: number, val: number): voi
 }
        // struct LDKOutPoint WatchedOutput_get_outpoint(const struct LDKWatchedOutput *NONNULL_PTR this_ptr);
 /* @internal */
-export function WatchedOutput_get_outpoint(this_ptr: number): number {
+export function WatchedOutput_get_outpoint(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17564,7 +17592,7 @@ export function WatchedOutput_get_outpoint(this_ptr: number): number {
 }
        // void WatchedOutput_set_outpoint(struct LDKWatchedOutput *NONNULL_PTR this_ptr, struct LDKOutPoint val);
 /* @internal */
-export function WatchedOutput_set_outpoint(this_ptr: number, val: number): void {
+export function WatchedOutput_set_outpoint(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17573,7 +17601,7 @@ export function WatchedOutput_set_outpoint(this_ptr: number, val: number): void
 }
        // struct LDKu8slice WatchedOutput_get_script_pubkey(const struct LDKWatchedOutput *NONNULL_PTR this_ptr);
 /* @internal */
-export function WatchedOutput_get_script_pubkey(this_ptr: number): number {
+export function WatchedOutput_get_script_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17582,7 +17610,7 @@ export function WatchedOutput_get_script_pubkey(this_ptr: number): number {
 }
        // void WatchedOutput_set_script_pubkey(struct LDKWatchedOutput *NONNULL_PTR this_ptr, struct LDKCVec_u8Z val);
 /* @internal */
-export function WatchedOutput_set_script_pubkey(this_ptr: number, val: number): void {
+export function WatchedOutput_set_script_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17591,16 +17619,16 @@ export function WatchedOutput_set_script_pubkey(this_ptr: number, val: number):
 }
        // MUST_USE_RES struct LDKWatchedOutput WatchedOutput_new(struct LDKThirtyTwoBytes block_hash_arg, struct LDKOutPoint outpoint_arg, struct LDKCVec_u8Z script_pubkey_arg);
 /* @internal */
-export function WatchedOutput_new(block_hash_arg: number, outpoint_arg: number, script_pubkey_arg: number): number {
+export function WatchedOutput_new(block_hash_arg: number, outpoint_arg: bigint, script_pubkey_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_WatchedOutput_new(block_hash_arg, outpoint_arg, script_pubkey_arg);
        return nativeResponseValue;
 }
-       // uintptr_t WatchedOutput_clone_ptr(LDKWatchedOutput *NONNULL_PTR arg);
+       // uint64_t WatchedOutput_clone_ptr(LDKWatchedOutput *NONNULL_PTR arg);
 /* @internal */
-export function WatchedOutput_clone_ptr(arg: number): number {
+export function WatchedOutput_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17609,7 +17637,7 @@ export function WatchedOutput_clone_ptr(arg: number): number {
 }
        // struct LDKWatchedOutput WatchedOutput_clone(const struct LDKWatchedOutput *NONNULL_PTR orig);
 /* @internal */
-export function WatchedOutput_clone(orig: number): number {
+export function WatchedOutput_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17618,7 +17646,7 @@ export function WatchedOutput_clone(orig: number): number {
 }
        // uint64_t WatchedOutput_hash(const struct LDKWatchedOutput *NONNULL_PTR o);
 /* @internal */
-export function WatchedOutput_hash(o: number): bigint {
+export function WatchedOutput_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17627,7 +17655,7 @@ export function WatchedOutput_hash(o: number): bigint {
 }
        // void BroadcasterInterface_free(struct LDKBroadcasterInterface this_ptr);
 /* @internal */
-export function BroadcasterInterface_free(this_ptr: number): void {
+export function BroadcasterInterface_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17636,7 +17664,7 @@ export function BroadcasterInterface_free(this_ptr: number): void {
 }
        // enum LDKConfirmationTarget ConfirmationTarget_clone(const enum LDKConfirmationTarget *NONNULL_PTR orig);
 /* @internal */
-export function ConfirmationTarget_clone(orig: number): ConfirmationTarget {
+export function ConfirmationTarget_clone(orig: bigint): ConfirmationTarget {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17672,7 +17700,7 @@ export function ConfirmationTarget_high_priority(): ConfirmationTarget {
 }
        // bool ConfirmationTarget_eq(const enum LDKConfirmationTarget *NONNULL_PTR a, const enum LDKConfirmationTarget *NONNULL_PTR b);
 /* @internal */
-export function ConfirmationTarget_eq(a: number, b: number): boolean {
+export function ConfirmationTarget_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17681,7 +17709,7 @@ export function ConfirmationTarget_eq(a: number, b: number): boolean {
 }
        // void FeeEstimator_free(struct LDKFeeEstimator this_ptr);
 /* @internal */
-export function FeeEstimator_free(this_ptr: number): void {
+export function FeeEstimator_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17690,16 +17718,16 @@ export function FeeEstimator_free(this_ptr: number): void {
 }
        // void MonitorUpdateId_free(struct LDKMonitorUpdateId this_obj);
 /* @internal */
-export function MonitorUpdateId_free(this_obj: number): void {
+export function MonitorUpdateId_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_MonitorUpdateId_free(this_obj);
        // debug statements here
 }
-       // uintptr_t MonitorUpdateId_clone_ptr(LDKMonitorUpdateId *NONNULL_PTR arg);
+       // uint64_t MonitorUpdateId_clone_ptr(LDKMonitorUpdateId *NONNULL_PTR arg);
 /* @internal */
-export function MonitorUpdateId_clone_ptr(arg: number): number {
+export function MonitorUpdateId_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17708,7 +17736,7 @@ export function MonitorUpdateId_clone_ptr(arg: number): number {
 }
        // struct LDKMonitorUpdateId MonitorUpdateId_clone(const struct LDKMonitorUpdateId *NONNULL_PTR orig);
 /* @internal */
-export function MonitorUpdateId_clone(orig: number): number {
+export function MonitorUpdateId_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17717,7 +17745,7 @@ export function MonitorUpdateId_clone(orig: number): number {
 }
        // uint64_t MonitorUpdateId_hash(const struct LDKMonitorUpdateId *NONNULL_PTR o);
 /* @internal */
-export function MonitorUpdateId_hash(o: number): bigint {
+export function MonitorUpdateId_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17726,7 +17754,7 @@ export function MonitorUpdateId_hash(o: number): bigint {
 }
        // bool MonitorUpdateId_eq(const struct LDKMonitorUpdateId *NONNULL_PTR a, const struct LDKMonitorUpdateId *NONNULL_PTR b);
 /* @internal */
-export function MonitorUpdateId_eq(a: number, b: number): boolean {
+export function MonitorUpdateId_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17735,7 +17763,7 @@ export function MonitorUpdateId_eq(a: number, b: number): boolean {
 }
        // void Persist_free(struct LDKPersist this_ptr);
 /* @internal */
-export function Persist_free(this_ptr: number): void {
+export function Persist_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17744,7 +17772,7 @@ export function Persist_free(this_ptr: number): void {
 }
        // void LockedChannelMonitor_free(struct LDKLockedChannelMonitor this_obj);
 /* @internal */
-export function LockedChannelMonitor_free(this_obj: number): void {
+export function LockedChannelMonitor_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17753,7 +17781,7 @@ export function LockedChannelMonitor_free(this_obj: number): void {
 }
        // void ChainMonitor_free(struct LDKChainMonitor this_obj);
 /* @internal */
-export function ChainMonitor_free(this_obj: number): void {
+export function ChainMonitor_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17762,7 +17790,7 @@ export function ChainMonitor_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKChainMonitor ChainMonitor_new(struct LDKCOption_FilterZ chain_source, struct LDKBroadcasterInterface broadcaster, struct LDKLogger logger, struct LDKFeeEstimator feeest, struct LDKPersist persister);
 /* @internal */
-export function ChainMonitor_new(chain_source: number, broadcaster: number, logger: number, feeest: number, persister: number): number {
+export function ChainMonitor_new(chain_source: bigint, broadcaster: bigint, logger: bigint, feeest: bigint, persister: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17771,7 +17799,7 @@ export function ChainMonitor_new(chain_source: number, broadcaster: number, logg
 }
        // MUST_USE_RES struct LDKCVec_BalanceZ ChainMonitor_get_claimable_balances(const struct LDKChainMonitor *NONNULL_PTR this_arg, struct LDKCVec_ChannelDetailsZ ignored_channels);
 /* @internal */
-export function ChainMonitor_get_claimable_balances(this_arg: number, ignored_channels: number): number {
+export function ChainMonitor_get_claimable_balances(this_arg: bigint, ignored_channels: number): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17780,7 +17808,7 @@ export function ChainMonitor_get_claimable_balances(this_arg: number, ignored_ch
 }
        // MUST_USE_RES struct LDKCResult_LockedChannelMonitorNoneZ ChainMonitor_get_monitor(const struct LDKChainMonitor *NONNULL_PTR this_arg, struct LDKOutPoint funding_txo);
 /* @internal */
-export function ChainMonitor_get_monitor(this_arg: number, funding_txo: number): number {
+export function ChainMonitor_get_monitor(this_arg: bigint, funding_txo: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17789,7 +17817,7 @@ export function ChainMonitor_get_monitor(this_arg: number, funding_txo: number):
 }
        // MUST_USE_RES struct LDKCVec_OutPointZ ChainMonitor_list_monitors(const struct LDKChainMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChainMonitor_list_monitors(this_arg: number): number {
+export function ChainMonitor_list_monitors(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17798,7 +17826,7 @@ export function ChainMonitor_list_monitors(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChainMonitor_channel_monitor_updated(const struct LDKChainMonitor *NONNULL_PTR this_arg, struct LDKOutPoint funding_txo, struct LDKMonitorUpdateId completed_update_id);
 /* @internal */
-export function ChainMonitor_channel_monitor_updated(this_arg: number, funding_txo: number, completed_update_id: number): number {
+export function ChainMonitor_channel_monitor_updated(this_arg: bigint, funding_txo: bigint, completed_update_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17807,7 +17835,7 @@ export function ChainMonitor_channel_monitor_updated(this_arg: number, funding_t
 }
        // struct LDKListen ChainMonitor_as_Listen(const struct LDKChainMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChainMonitor_as_Listen(this_arg: number): number {
+export function ChainMonitor_as_Listen(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17816,7 +17844,7 @@ export function ChainMonitor_as_Listen(this_arg: number): number {
 }
        // struct LDKConfirm ChainMonitor_as_Confirm(const struct LDKChainMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChainMonitor_as_Confirm(this_arg: number): number {
+export function ChainMonitor_as_Confirm(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17825,7 +17853,7 @@ export function ChainMonitor_as_Confirm(this_arg: number): number {
 }
        // struct LDKWatch ChainMonitor_as_Watch(const struct LDKChainMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChainMonitor_as_Watch(this_arg: number): number {
+export function ChainMonitor_as_Watch(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17834,7 +17862,7 @@ export function ChainMonitor_as_Watch(this_arg: number): number {
 }
        // struct LDKEventsProvider ChainMonitor_as_EventsProvider(const struct LDKChainMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChainMonitor_as_EventsProvider(this_arg: number): number {
+export function ChainMonitor_as_EventsProvider(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17843,7 +17871,7 @@ export function ChainMonitor_as_EventsProvider(this_arg: number): number {
 }
        // void ChannelMonitorUpdate_free(struct LDKChannelMonitorUpdate this_obj);
 /* @internal */
-export function ChannelMonitorUpdate_free(this_obj: number): void {
+export function ChannelMonitorUpdate_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17852,7 +17880,7 @@ export function ChannelMonitorUpdate_free(this_obj: number): void {
 }
        // uint64_t ChannelMonitorUpdate_get_update_id(const struct LDKChannelMonitorUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelMonitorUpdate_get_update_id(this_ptr: number): bigint {
+export function ChannelMonitorUpdate_get_update_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17861,16 +17889,16 @@ export function ChannelMonitorUpdate_get_update_id(this_ptr: number): bigint {
 }
        // void ChannelMonitorUpdate_set_update_id(struct LDKChannelMonitorUpdate *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelMonitorUpdate_set_update_id(this_ptr: number, val: bigint): void {
+export function ChannelMonitorUpdate_set_update_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelMonitorUpdate_set_update_id(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t ChannelMonitorUpdate_clone_ptr(LDKChannelMonitorUpdate *NONNULL_PTR arg);
+       // uint64_t ChannelMonitorUpdate_clone_ptr(LDKChannelMonitorUpdate *NONNULL_PTR arg);
 /* @internal */
-export function ChannelMonitorUpdate_clone_ptr(arg: number): number {
+export function ChannelMonitorUpdate_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17879,7 +17907,7 @@ export function ChannelMonitorUpdate_clone_ptr(arg: number): number {
 }
        // struct LDKChannelMonitorUpdate ChannelMonitorUpdate_clone(const struct LDKChannelMonitorUpdate *NONNULL_PTR orig);
 /* @internal */
-export function ChannelMonitorUpdate_clone(orig: number): number {
+export function ChannelMonitorUpdate_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17888,7 +17916,7 @@ export function ChannelMonitorUpdate_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z ChannelMonitorUpdate_write(const struct LDKChannelMonitorUpdate *NONNULL_PTR obj);
 /* @internal */
-export function ChannelMonitorUpdate_write(obj: number): number {
+export function ChannelMonitorUpdate_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17897,7 +17925,7 @@ export function ChannelMonitorUpdate_write(obj: number): number {
 }
        // struct LDKCResult_ChannelMonitorUpdateDecodeErrorZ ChannelMonitorUpdate_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelMonitorUpdate_read(ser: number): number {
+export function ChannelMonitorUpdate_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17906,16 +17934,16 @@ export function ChannelMonitorUpdate_read(ser: number): number {
 }
        // void MonitorEvent_free(struct LDKMonitorEvent this_ptr);
 /* @internal */
-export function MonitorEvent_free(this_ptr: number): void {
+export function MonitorEvent_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_MonitorEvent_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t MonitorEvent_clone_ptr(LDKMonitorEvent *NONNULL_PTR arg);
+       // uint64_t MonitorEvent_clone_ptr(LDKMonitorEvent *NONNULL_PTR arg);
 /* @internal */
-export function MonitorEvent_clone_ptr(arg: number): number {
+export function MonitorEvent_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17924,7 +17952,7 @@ export function MonitorEvent_clone_ptr(arg: number): number {
 }
        // struct LDKMonitorEvent MonitorEvent_clone(const struct LDKMonitorEvent *NONNULL_PTR orig);
 /* @internal */
-export function MonitorEvent_clone(orig: number): number {
+export function MonitorEvent_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17933,7 +17961,7 @@ export function MonitorEvent_clone(orig: number): number {
 }
        // struct LDKMonitorEvent MonitorEvent_htlcevent(struct LDKHTLCUpdate a);
 /* @internal */
-export function MonitorEvent_htlcevent(a: number): number {
+export function MonitorEvent_htlcevent(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17942,7 +17970,7 @@ export function MonitorEvent_htlcevent(a: number): number {
 }
        // struct LDKMonitorEvent MonitorEvent_commitment_tx_confirmed(struct LDKOutPoint a);
 /* @internal */
-export function MonitorEvent_commitment_tx_confirmed(a: number): number {
+export function MonitorEvent_commitment_tx_confirmed(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17951,7 +17979,7 @@ export function MonitorEvent_commitment_tx_confirmed(a: number): number {
 }
        // struct LDKMonitorEvent MonitorEvent_update_completed(struct LDKOutPoint funding_txo, uint64_t monitor_update_id);
 /* @internal */
-export function MonitorEvent_update_completed(funding_txo: number, monitor_update_id: bigint): number {
+export function MonitorEvent_update_completed(funding_txo: bigint, monitor_update_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17960,7 +17988,7 @@ export function MonitorEvent_update_completed(funding_txo: number, monitor_updat
 }
        // struct LDKMonitorEvent MonitorEvent_update_failed(struct LDKOutPoint a);
 /* @internal */
-export function MonitorEvent_update_failed(a: number): number {
+export function MonitorEvent_update_failed(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17969,7 +17997,7 @@ export function MonitorEvent_update_failed(a: number): number {
 }
        // struct LDKCVec_u8Z MonitorEvent_write(const struct LDKMonitorEvent *NONNULL_PTR obj);
 /* @internal */
-export function MonitorEvent_write(obj: number): number {
+export function MonitorEvent_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17978,7 +18006,7 @@ export function MonitorEvent_write(obj: number): number {
 }
        // struct LDKCResult_COption_MonitorEventZDecodeErrorZ MonitorEvent_read(struct LDKu8slice ser);
 /* @internal */
-export function MonitorEvent_read(ser: number): number {
+export function MonitorEvent_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -17987,16 +18015,16 @@ export function MonitorEvent_read(ser: number): number {
 }
        // void HTLCUpdate_free(struct LDKHTLCUpdate this_obj);
 /* @internal */
-export function HTLCUpdate_free(this_obj: number): void {
+export function HTLCUpdate_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_HTLCUpdate_free(this_obj);
        // debug statements here
 }
-       // uintptr_t HTLCUpdate_clone_ptr(LDKHTLCUpdate *NONNULL_PTR arg);
+       // uint64_t HTLCUpdate_clone_ptr(LDKHTLCUpdate *NONNULL_PTR arg);
 /* @internal */
-export function HTLCUpdate_clone_ptr(arg: number): number {
+export function HTLCUpdate_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18005,7 +18033,7 @@ export function HTLCUpdate_clone_ptr(arg: number): number {
 }
        // struct LDKHTLCUpdate HTLCUpdate_clone(const struct LDKHTLCUpdate *NONNULL_PTR orig);
 /* @internal */
-export function HTLCUpdate_clone(orig: number): number {
+export function HTLCUpdate_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18014,7 +18042,7 @@ export function HTLCUpdate_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z HTLCUpdate_write(const struct LDKHTLCUpdate *NONNULL_PTR obj);
 /* @internal */
-export function HTLCUpdate_write(obj: number): number {
+export function HTLCUpdate_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18023,7 +18051,7 @@ export function HTLCUpdate_write(obj: number): number {
 }
        // struct LDKCResult_HTLCUpdateDecodeErrorZ HTLCUpdate_read(struct LDKu8slice ser);
 /* @internal */
-export function HTLCUpdate_read(ser: number): number {
+export function HTLCUpdate_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18032,16 +18060,16 @@ export function HTLCUpdate_read(ser: number): number {
 }
        // void Balance_free(struct LDKBalance this_ptr);
 /* @internal */
-export function Balance_free(this_ptr: number): void {
+export function Balance_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Balance_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t Balance_clone_ptr(LDKBalance *NONNULL_PTR arg);
+       // uint64_t Balance_clone_ptr(LDKBalance *NONNULL_PTR arg);
 /* @internal */
-export function Balance_clone_ptr(arg: number): number {
+export function Balance_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18050,7 +18078,7 @@ export function Balance_clone_ptr(arg: number): number {
 }
        // struct LDKBalance Balance_clone(const struct LDKBalance *NONNULL_PTR orig);
 /* @internal */
-export function Balance_clone(orig: number): number {
+export function Balance_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18059,7 +18087,7 @@ export function Balance_clone(orig: number): number {
 }
        // struct LDKBalance Balance_claimable_on_channel_close(uint64_t claimable_amount_satoshis);
 /* @internal */
-export function Balance_claimable_on_channel_close(claimable_amount_satoshis: bigint): number {
+export function Balance_claimable_on_channel_close(claimable_amount_satoshis: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18068,7 +18096,7 @@ export function Balance_claimable_on_channel_close(claimable_amount_satoshis: bi
 }
        // struct LDKBalance Balance_claimable_awaiting_confirmations(uint64_t claimable_amount_satoshis, uint32_t confirmation_height);
 /* @internal */
-export function Balance_claimable_awaiting_confirmations(claimable_amount_satoshis: bigint, confirmation_height: number): number {
+export function Balance_claimable_awaiting_confirmations(claimable_amount_satoshis: bigint, confirmation_height: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18077,7 +18105,7 @@ export function Balance_claimable_awaiting_confirmations(claimable_amount_satosh
 }
        // struct LDKBalance Balance_contentious_claimable(uint64_t claimable_amount_satoshis, uint32_t timeout_height);
 /* @internal */
-export function Balance_contentious_claimable(claimable_amount_satoshis: bigint, timeout_height: number): number {
+export function Balance_contentious_claimable(claimable_amount_satoshis: bigint, timeout_height: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18086,7 +18114,7 @@ export function Balance_contentious_claimable(claimable_amount_satoshis: bigint,
 }
        // struct LDKBalance Balance_maybe_claimable_htlcawaiting_timeout(uint64_t claimable_amount_satoshis, uint32_t claimable_height);
 /* @internal */
-export function Balance_maybe_claimable_htlcawaiting_timeout(claimable_amount_satoshis: bigint, claimable_height: number): number {
+export function Balance_maybe_claimable_htlcawaiting_timeout(claimable_amount_satoshis: bigint, claimable_height: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18095,7 +18123,7 @@ export function Balance_maybe_claimable_htlcawaiting_timeout(claimable_amount_sa
 }
        // bool Balance_eq(const struct LDKBalance *NONNULL_PTR a, const struct LDKBalance *NONNULL_PTR b);
 /* @internal */
-export function Balance_eq(a: number, b: number): boolean {
+export function Balance_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18104,16 +18132,16 @@ export function Balance_eq(a: number, b: number): boolean {
 }
        // void ChannelMonitor_free(struct LDKChannelMonitor this_obj);
 /* @internal */
-export function ChannelMonitor_free(this_obj: number): void {
+export function ChannelMonitor_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelMonitor_free(this_obj);
        // debug statements here
 }
-       // uintptr_t ChannelMonitor_clone_ptr(LDKChannelMonitor *NONNULL_PTR arg);
+       // uint64_t ChannelMonitor_clone_ptr(LDKChannelMonitor *NONNULL_PTR arg);
 /* @internal */
-export function ChannelMonitor_clone_ptr(arg: number): number {
+export function ChannelMonitor_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18122,7 +18150,7 @@ export function ChannelMonitor_clone_ptr(arg: number): number {
 }
        // struct LDKChannelMonitor ChannelMonitor_clone(const struct LDKChannelMonitor *NONNULL_PTR orig);
 /* @internal */
-export function ChannelMonitor_clone(orig: number): number {
+export function ChannelMonitor_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18131,7 +18159,7 @@ export function ChannelMonitor_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z ChannelMonitor_write(const struct LDKChannelMonitor *NONNULL_PTR obj);
 /* @internal */
-export function ChannelMonitor_write(obj: number): number {
+export function ChannelMonitor_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18140,7 +18168,7 @@ export function ChannelMonitor_write(obj: number): number {
 }
        // MUST_USE_RES struct LDKCResult_NoneNoneZ ChannelMonitor_update_monitor(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKChannelMonitorUpdate *NONNULL_PTR updates, const struct LDKBroadcasterInterface *NONNULL_PTR broadcaster, struct LDKFeeEstimator fee_estimator, const struct LDKLogger *NONNULL_PTR logger);
 /* @internal */
-export function ChannelMonitor_update_monitor(this_arg: number, updates: number, broadcaster: number, fee_estimator: number, logger: number): number {
+export function ChannelMonitor_update_monitor(this_arg: bigint, updates: bigint, broadcaster: bigint, fee_estimator: bigint, logger: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18149,7 +18177,7 @@ export function ChannelMonitor_update_monitor(this_arg: number, updates: number,
 }
        // MUST_USE_RES uint64_t ChannelMonitor_get_latest_update_id(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_latest_update_id(this_arg: number): bigint {
+export function ChannelMonitor_get_latest_update_id(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18158,7 +18186,7 @@ export function ChannelMonitor_get_latest_update_id(this_arg: number): bigint {
 }
        // MUST_USE_RES struct LDKC2Tuple_OutPointScriptZ ChannelMonitor_get_funding_txo(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_funding_txo(this_arg: number): number {
+export function ChannelMonitor_get_funding_txo(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18167,7 +18195,7 @@ export function ChannelMonitor_get_funding_txo(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZZ ChannelMonitor_get_outputs_to_watch(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_outputs_to_watch(this_arg: number): number {
+export function ChannelMonitor_get_outputs_to_watch(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18176,7 +18204,7 @@ export function ChannelMonitor_get_outputs_to_watch(this_arg: number): number {
 }
        // void ChannelMonitor_load_outputs_to_watch(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKFilter *NONNULL_PTR filter);
 /* @internal */
-export function ChannelMonitor_load_outputs_to_watch(this_arg: number, filter: number): void {
+export function ChannelMonitor_load_outputs_to_watch(this_arg: bigint, filter: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18185,7 +18213,7 @@ export function ChannelMonitor_load_outputs_to_watch(this_arg: number, filter: n
 }
        // MUST_USE_RES struct LDKCVec_MonitorEventZ ChannelMonitor_get_and_clear_pending_monitor_events(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_and_clear_pending_monitor_events(this_arg: number): number {
+export function ChannelMonitor_get_and_clear_pending_monitor_events(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18194,7 +18222,7 @@ export function ChannelMonitor_get_and_clear_pending_monitor_events(this_arg: nu
 }
        // MUST_USE_RES struct LDKCVec_EventZ ChannelMonitor_get_and_clear_pending_events(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_and_clear_pending_events(this_arg: number): number {
+export function ChannelMonitor_get_and_clear_pending_events(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18203,7 +18231,7 @@ export function ChannelMonitor_get_and_clear_pending_events(this_arg: number): n
 }
        // MUST_USE_RES struct LDKPublicKey ChannelMonitor_get_counterparty_node_id(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_counterparty_node_id(this_arg: number): number {
+export function ChannelMonitor_get_counterparty_node_id(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18212,7 +18240,7 @@ export function ChannelMonitor_get_counterparty_node_id(this_arg: number): numbe
 }
        // MUST_USE_RES struct LDKCVec_TransactionZ ChannelMonitor_get_latest_holder_commitment_txn(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const struct LDKLogger *NONNULL_PTR logger);
 /* @internal */
-export function ChannelMonitor_get_latest_holder_commitment_txn(this_arg: number, logger: number): number {
+export function ChannelMonitor_get_latest_holder_commitment_txn(this_arg: bigint, logger: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18221,7 +18249,7 @@ export function ChannelMonitor_get_latest_holder_commitment_txn(this_arg: number
 }
        // MUST_USE_RES struct LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ ChannelMonitor_block_connected(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const uint8_t (*header)[80], struct LDKCVec_C2Tuple_usizeTransactionZZ txdata, uint32_t height, struct LDKBroadcasterInterface broadcaster, struct LDKFeeEstimator fee_estimator, struct LDKLogger logger);
 /* @internal */
-export function ChannelMonitor_block_connected(this_arg: number, header: number, txdata: number, height: number, broadcaster: number, fee_estimator: number, logger: number): number {
+export function ChannelMonitor_block_connected(this_arg: bigint, header: number, txdata: number, height: number, broadcaster: bigint, fee_estimator: bigint, logger: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18230,7 +18258,7 @@ export function ChannelMonitor_block_connected(this_arg: number, header: number,
 }
        // void ChannelMonitor_block_disconnected(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const uint8_t (*header)[80], uint32_t height, struct LDKBroadcasterInterface broadcaster, struct LDKFeeEstimator fee_estimator, struct LDKLogger logger);
 /* @internal */
-export function ChannelMonitor_block_disconnected(this_arg: number, header: number, height: number, broadcaster: number, fee_estimator: number, logger: number): void {
+export function ChannelMonitor_block_disconnected(this_arg: bigint, header: number, height: number, broadcaster: bigint, fee_estimator: bigint, logger: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18239,7 +18267,7 @@ export function ChannelMonitor_block_disconnected(this_arg: number, header: numb
 }
        // MUST_USE_RES struct LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ ChannelMonitor_transactions_confirmed(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const uint8_t (*header)[80], struct LDKCVec_C2Tuple_usizeTransactionZZ txdata, uint32_t height, struct LDKBroadcasterInterface broadcaster, struct LDKFeeEstimator fee_estimator, struct LDKLogger logger);
 /* @internal */
-export function ChannelMonitor_transactions_confirmed(this_arg: number, header: number, txdata: number, height: number, broadcaster: number, fee_estimator: number, logger: number): number {
+export function ChannelMonitor_transactions_confirmed(this_arg: bigint, header: number, txdata: number, height: number, broadcaster: bigint, fee_estimator: bigint, logger: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18248,7 +18276,7 @@ export function ChannelMonitor_transactions_confirmed(this_arg: number, header:
 }
        // void ChannelMonitor_transaction_unconfirmed(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const uint8_t (*txid)[32], struct LDKBroadcasterInterface broadcaster, struct LDKFeeEstimator fee_estimator, struct LDKLogger logger);
 /* @internal */
-export function ChannelMonitor_transaction_unconfirmed(this_arg: number, txid: number, broadcaster: number, fee_estimator: number, logger: number): void {
+export function ChannelMonitor_transaction_unconfirmed(this_arg: bigint, txid: number, broadcaster: bigint, fee_estimator: bigint, logger: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18257,7 +18285,7 @@ export function ChannelMonitor_transaction_unconfirmed(this_arg: number, txid: n
 }
        // MUST_USE_RES struct LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ ChannelMonitor_best_block_updated(const struct LDKChannelMonitor *NONNULL_PTR this_arg, const uint8_t (*header)[80], uint32_t height, struct LDKBroadcasterInterface broadcaster, struct LDKFeeEstimator fee_estimator, struct LDKLogger logger);
 /* @internal */
-export function ChannelMonitor_best_block_updated(this_arg: number, header: number, height: number, broadcaster: number, fee_estimator: number, logger: number): number {
+export function ChannelMonitor_best_block_updated(this_arg: bigint, header: number, height: number, broadcaster: bigint, fee_estimator: bigint, logger: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18266,7 +18294,7 @@ export function ChannelMonitor_best_block_updated(this_arg: number, header: numb
 }
        // MUST_USE_RES struct LDKCVec_TxidZ ChannelMonitor_get_relevant_txids(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_relevant_txids(this_arg: number): number {
+export function ChannelMonitor_get_relevant_txids(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18275,7 +18303,7 @@ export function ChannelMonitor_get_relevant_txids(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKBestBlock ChannelMonitor_current_best_block(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_current_best_block(this_arg: number): number {
+export function ChannelMonitor_current_best_block(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18284,7 +18312,7 @@ export function ChannelMonitor_current_best_block(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCVec_BalanceZ ChannelMonitor_get_claimable_balances(const struct LDKChannelMonitor *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelMonitor_get_claimable_balances(this_arg: number): number {
+export function ChannelMonitor_get_claimable_balances(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18293,7 +18321,7 @@ export function ChannelMonitor_get_claimable_balances(this_arg: number): number
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ C2Tuple_BlockHashChannelMonitorZ_read(struct LDKu8slice ser, const struct LDKKeysInterface *NONNULL_PTR arg);
 /* @internal */
-export function C2Tuple_BlockHashChannelMonitorZ_read(ser: number, arg: number): number {
+export function C2Tuple_BlockHashChannelMonitorZ_read(ser: number, arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18302,7 +18330,7 @@ export function C2Tuple_BlockHashChannelMonitorZ_read(ser: number, arg: number):
 }
        // void OutPoint_free(struct LDKOutPoint this_obj);
 /* @internal */
-export function OutPoint_free(this_obj: number): void {
+export function OutPoint_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18311,7 +18339,7 @@ export function OutPoint_free(this_obj: number): void {
 }
        // const uint8_t (*OutPoint_get_txid(const struct LDKOutPoint *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function OutPoint_get_txid(this_ptr: number): number {
+export function OutPoint_get_txid(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18320,7 +18348,7 @@ export function OutPoint_get_txid(this_ptr: number): number {
 }
        // void OutPoint_set_txid(struct LDKOutPoint *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function OutPoint_set_txid(this_ptr: number, val: number): void {
+export function OutPoint_set_txid(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18329,7 +18357,7 @@ export function OutPoint_set_txid(this_ptr: number, val: number): void {
 }
        // uint16_t OutPoint_get_index(const struct LDKOutPoint *NONNULL_PTR this_ptr);
 /* @internal */
-export function OutPoint_get_index(this_ptr: number): number {
+export function OutPoint_get_index(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18338,7 +18366,7 @@ export function OutPoint_get_index(this_ptr: number): number {
 }
        // void OutPoint_set_index(struct LDKOutPoint *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function OutPoint_set_index(this_ptr: number, val: number): void {
+export function OutPoint_set_index(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18347,16 +18375,16 @@ export function OutPoint_set_index(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKOutPoint OutPoint_new(struct LDKThirtyTwoBytes txid_arg, uint16_t index_arg);
 /* @internal */
-export function OutPoint_new(txid_arg: number, index_arg: number): number {
+export function OutPoint_new(txid_arg: number, index_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_OutPoint_new(txid_arg, index_arg);
        return nativeResponseValue;
 }
-       // uintptr_t OutPoint_clone_ptr(LDKOutPoint *NONNULL_PTR arg);
+       // uint64_t OutPoint_clone_ptr(LDKOutPoint *NONNULL_PTR arg);
 /* @internal */
-export function OutPoint_clone_ptr(arg: number): number {
+export function OutPoint_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18365,7 +18393,7 @@ export function OutPoint_clone_ptr(arg: number): number {
 }
        // struct LDKOutPoint OutPoint_clone(const struct LDKOutPoint *NONNULL_PTR orig);
 /* @internal */
-export function OutPoint_clone(orig: number): number {
+export function OutPoint_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18374,7 +18402,7 @@ export function OutPoint_clone(orig: number): number {
 }
        // bool OutPoint_eq(const struct LDKOutPoint *NONNULL_PTR a, const struct LDKOutPoint *NONNULL_PTR b);
 /* @internal */
-export function OutPoint_eq(a: number, b: number): boolean {
+export function OutPoint_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18383,7 +18411,7 @@ export function OutPoint_eq(a: number, b: number): boolean {
 }
        // uint64_t OutPoint_hash(const struct LDKOutPoint *NONNULL_PTR o);
 /* @internal */
-export function OutPoint_hash(o: number): bigint {
+export function OutPoint_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18392,7 +18420,7 @@ export function OutPoint_hash(o: number): bigint {
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes OutPoint_to_channel_id(const struct LDKOutPoint *NONNULL_PTR this_arg);
 /* @internal */
-export function OutPoint_to_channel_id(this_arg: number): number {
+export function OutPoint_to_channel_id(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18401,7 +18429,7 @@ export function OutPoint_to_channel_id(this_arg: number): number {
 }
        // struct LDKCVec_u8Z OutPoint_write(const struct LDKOutPoint *NONNULL_PTR obj);
 /* @internal */
-export function OutPoint_write(obj: number): number {
+export function OutPoint_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18410,7 +18438,7 @@ export function OutPoint_write(obj: number): number {
 }
        // struct LDKCResult_OutPointDecodeErrorZ OutPoint_read(struct LDKu8slice ser);
 /* @internal */
-export function OutPoint_read(ser: number): number {
+export function OutPoint_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18419,7 +18447,7 @@ export function OutPoint_read(ser: number): number {
 }
        // void DelayedPaymentOutputDescriptor_free(struct LDKDelayedPaymentOutputDescriptor this_obj);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_free(this_obj: number): void {
+export function DelayedPaymentOutputDescriptor_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18428,7 +18456,7 @@ export function DelayedPaymentOutputDescriptor_free(this_obj: number): void {
 }
        // struct LDKOutPoint DelayedPaymentOutputDescriptor_get_outpoint(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_get_outpoint(this_ptr: number): number {
+export function DelayedPaymentOutputDescriptor_get_outpoint(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18437,7 +18465,7 @@ export function DelayedPaymentOutputDescriptor_get_outpoint(this_ptr: number): n
 }
        // void DelayedPaymentOutputDescriptor_set_outpoint(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKOutPoint val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_outpoint(this_ptr: number, val: number): void {
+export function DelayedPaymentOutputDescriptor_set_outpoint(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18446,7 +18474,7 @@ export function DelayedPaymentOutputDescriptor_set_outpoint(this_ptr: number, va
 }
        // struct LDKPublicKey DelayedPaymentOutputDescriptor_get_per_commitment_point(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_get_per_commitment_point(this_ptr: number): number {
+export function DelayedPaymentOutputDescriptor_get_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18455,7 +18483,7 @@ export function DelayedPaymentOutputDescriptor_get_per_commitment_point(this_ptr
 }
        // void DelayedPaymentOutputDescriptor_set_per_commitment_point(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_per_commitment_point(this_ptr: number, val: number): void {
+export function DelayedPaymentOutputDescriptor_set_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18464,7 +18492,7 @@ export function DelayedPaymentOutputDescriptor_set_per_commitment_point(this_ptr
 }
        // uint16_t DelayedPaymentOutputDescriptor_get_to_self_delay(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_get_to_self_delay(this_ptr: number): number {
+export function DelayedPaymentOutputDescriptor_get_to_self_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18473,16 +18501,25 @@ export function DelayedPaymentOutputDescriptor_get_to_self_delay(this_ptr: numbe
 }
        // void DelayedPaymentOutputDescriptor_set_to_self_delay(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_to_self_delay(this_ptr: number, val: number): void {
+export function DelayedPaymentOutputDescriptor_set_to_self_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_DelayedPaymentOutputDescriptor_set_to_self_delay(this_ptr, val);
        // debug statements here
+}
+       // struct LDKTxOut DelayedPaymentOutputDescriptor_get_output(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr);
+/* @internal */
+export function DelayedPaymentOutputDescriptor_get_output(this_ptr: bigint): bigint {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_DelayedPaymentOutputDescriptor_get_output(this_ptr);
+       return nativeResponseValue;
 }
        // void DelayedPaymentOutputDescriptor_set_output(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKTxOut val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_output(this_ptr: number, val: number): void {
+export function DelayedPaymentOutputDescriptor_set_output(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18491,7 +18528,7 @@ export function DelayedPaymentOutputDescriptor_set_output(this_ptr: number, val:
 }
        // struct LDKPublicKey DelayedPaymentOutputDescriptor_get_revocation_pubkey(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_get_revocation_pubkey(this_ptr: number): number {
+export function DelayedPaymentOutputDescriptor_get_revocation_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18500,7 +18537,7 @@ export function DelayedPaymentOutputDescriptor_get_revocation_pubkey(this_ptr: n
 }
        // void DelayedPaymentOutputDescriptor_set_revocation_pubkey(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_revocation_pubkey(this_ptr: number, val: number): void {
+export function DelayedPaymentOutputDescriptor_set_revocation_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18509,7 +18546,7 @@ export function DelayedPaymentOutputDescriptor_set_revocation_pubkey(this_ptr: n
 }
        // const uint8_t (*DelayedPaymentOutputDescriptor_get_channel_keys_id(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function DelayedPaymentOutputDescriptor_get_channel_keys_id(this_ptr: number): number {
+export function DelayedPaymentOutputDescriptor_get_channel_keys_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18518,7 +18555,7 @@ export function DelayedPaymentOutputDescriptor_get_channel_keys_id(this_ptr: num
 }
        // void DelayedPaymentOutputDescriptor_set_channel_keys_id(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_channel_keys_id(this_ptr: number, val: number): void {
+export function DelayedPaymentOutputDescriptor_set_channel_keys_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18527,7 +18564,7 @@ export function DelayedPaymentOutputDescriptor_set_channel_keys_id(this_ptr: num
 }
        // uint64_t DelayedPaymentOutputDescriptor_get_channel_value_satoshis(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_get_channel_value_satoshis(this_ptr: number): bigint {
+export function DelayedPaymentOutputDescriptor_get_channel_value_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18536,7 +18573,7 @@ export function DelayedPaymentOutputDescriptor_get_channel_value_satoshis(this_p
 }
        // void DelayedPaymentOutputDescriptor_set_channel_value_satoshis(struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_set_channel_value_satoshis(this_ptr: number, val: bigint): void {
+export function DelayedPaymentOutputDescriptor_set_channel_value_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18545,16 +18582,16 @@ export function DelayedPaymentOutputDescriptor_set_channel_value_satoshis(this_p
 }
        // MUST_USE_RES struct LDKDelayedPaymentOutputDescriptor DelayedPaymentOutputDescriptor_new(struct LDKOutPoint outpoint_arg, struct LDKPublicKey per_commitment_point_arg, uint16_t to_self_delay_arg, struct LDKTxOut output_arg, struct LDKPublicKey revocation_pubkey_arg, struct LDKThirtyTwoBytes channel_keys_id_arg, uint64_t channel_value_satoshis_arg);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_new(outpoint_arg: number, per_commitment_point_arg: number, to_self_delay_arg: number, output_arg: number, revocation_pubkey_arg: number, channel_keys_id_arg: number, channel_value_satoshis_arg: bigint): number {
+export function DelayedPaymentOutputDescriptor_new(outpoint_arg: bigint, per_commitment_point_arg: number, to_self_delay_arg: number, output_arg: bigint, revocation_pubkey_arg: number, channel_keys_id_arg: number, channel_value_satoshis_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_DelayedPaymentOutputDescriptor_new(outpoint_arg, per_commitment_point_arg, to_self_delay_arg, output_arg, revocation_pubkey_arg, channel_keys_id_arg, channel_value_satoshis_arg);
        return nativeResponseValue;
 }
-       // uintptr_t DelayedPaymentOutputDescriptor_clone_ptr(LDKDelayedPaymentOutputDescriptor *NONNULL_PTR arg);
+       // uint64_t DelayedPaymentOutputDescriptor_clone_ptr(LDKDelayedPaymentOutputDescriptor *NONNULL_PTR arg);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_clone_ptr(arg: number): number {
+export function DelayedPaymentOutputDescriptor_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18563,7 +18600,7 @@ export function DelayedPaymentOutputDescriptor_clone_ptr(arg: number): number {
 }
        // struct LDKDelayedPaymentOutputDescriptor DelayedPaymentOutputDescriptor_clone(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR orig);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_clone(orig: number): number {
+export function DelayedPaymentOutputDescriptor_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18572,7 +18609,7 @@ export function DelayedPaymentOutputDescriptor_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z DelayedPaymentOutputDescriptor_write(const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR obj);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_write(obj: number): number {
+export function DelayedPaymentOutputDescriptor_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18581,7 +18618,7 @@ export function DelayedPaymentOutputDescriptor_write(obj: number): number {
 }
        // struct LDKCResult_DelayedPaymentOutputDescriptorDecodeErrorZ DelayedPaymentOutputDescriptor_read(struct LDKu8slice ser);
 /* @internal */
-export function DelayedPaymentOutputDescriptor_read(ser: number): number {
+export function DelayedPaymentOutputDescriptor_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18590,7 +18627,7 @@ export function DelayedPaymentOutputDescriptor_read(ser: number): number {
 }
        // void StaticPaymentOutputDescriptor_free(struct LDKStaticPaymentOutputDescriptor this_obj);
 /* @internal */
-export function StaticPaymentOutputDescriptor_free(this_obj: number): void {
+export function StaticPaymentOutputDescriptor_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18599,7 +18636,7 @@ export function StaticPaymentOutputDescriptor_free(this_obj: number): void {
 }
        // struct LDKOutPoint StaticPaymentOutputDescriptor_get_outpoint(const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function StaticPaymentOutputDescriptor_get_outpoint(this_ptr: number): number {
+export function StaticPaymentOutputDescriptor_get_outpoint(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18608,16 +18645,25 @@ export function StaticPaymentOutputDescriptor_get_outpoint(this_ptr: number): nu
 }
        // void StaticPaymentOutputDescriptor_set_outpoint(struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKOutPoint val);
 /* @internal */
-export function StaticPaymentOutputDescriptor_set_outpoint(this_ptr: number, val: number): void {
+export function StaticPaymentOutputDescriptor_set_outpoint(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_StaticPaymentOutputDescriptor_set_outpoint(this_ptr, val);
        // debug statements here
+}
+       // struct LDKTxOut StaticPaymentOutputDescriptor_get_output(const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr);
+/* @internal */
+export function StaticPaymentOutputDescriptor_get_output(this_ptr: bigint): bigint {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_StaticPaymentOutputDescriptor_get_output(this_ptr);
+       return nativeResponseValue;
 }
        // void StaticPaymentOutputDescriptor_set_output(struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKTxOut val);
 /* @internal */
-export function StaticPaymentOutputDescriptor_set_output(this_ptr: number, val: number): void {
+export function StaticPaymentOutputDescriptor_set_output(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18626,7 +18672,7 @@ export function StaticPaymentOutputDescriptor_set_output(this_ptr: number, val:
 }
        // const uint8_t (*StaticPaymentOutputDescriptor_get_channel_keys_id(const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function StaticPaymentOutputDescriptor_get_channel_keys_id(this_ptr: number): number {
+export function StaticPaymentOutputDescriptor_get_channel_keys_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18635,7 +18681,7 @@ export function StaticPaymentOutputDescriptor_get_channel_keys_id(this_ptr: numb
 }
        // void StaticPaymentOutputDescriptor_set_channel_keys_id(struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function StaticPaymentOutputDescriptor_set_channel_keys_id(this_ptr: number, val: number): void {
+export function StaticPaymentOutputDescriptor_set_channel_keys_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18644,7 +18690,7 @@ export function StaticPaymentOutputDescriptor_set_channel_keys_id(this_ptr: numb
 }
        // uint64_t StaticPaymentOutputDescriptor_get_channel_value_satoshis(const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr);
 /* @internal */
-export function StaticPaymentOutputDescriptor_get_channel_value_satoshis(this_ptr: number): bigint {
+export function StaticPaymentOutputDescriptor_get_channel_value_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18653,7 +18699,7 @@ export function StaticPaymentOutputDescriptor_get_channel_value_satoshis(this_pt
 }
        // void StaticPaymentOutputDescriptor_set_channel_value_satoshis(struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function StaticPaymentOutputDescriptor_set_channel_value_satoshis(this_ptr: number, val: bigint): void {
+export function StaticPaymentOutputDescriptor_set_channel_value_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18662,16 +18708,16 @@ export function StaticPaymentOutputDescriptor_set_channel_value_satoshis(this_pt
 }
        // MUST_USE_RES struct LDKStaticPaymentOutputDescriptor StaticPaymentOutputDescriptor_new(struct LDKOutPoint outpoint_arg, struct LDKTxOut output_arg, struct LDKThirtyTwoBytes channel_keys_id_arg, uint64_t channel_value_satoshis_arg);
 /* @internal */
-export function StaticPaymentOutputDescriptor_new(outpoint_arg: number, output_arg: number, channel_keys_id_arg: number, channel_value_satoshis_arg: bigint): number {
+export function StaticPaymentOutputDescriptor_new(outpoint_arg: bigint, output_arg: bigint, channel_keys_id_arg: number, channel_value_satoshis_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_StaticPaymentOutputDescriptor_new(outpoint_arg, output_arg, channel_keys_id_arg, channel_value_satoshis_arg);
        return nativeResponseValue;
 }
-       // uintptr_t StaticPaymentOutputDescriptor_clone_ptr(LDKStaticPaymentOutputDescriptor *NONNULL_PTR arg);
+       // uint64_t StaticPaymentOutputDescriptor_clone_ptr(LDKStaticPaymentOutputDescriptor *NONNULL_PTR arg);
 /* @internal */
-export function StaticPaymentOutputDescriptor_clone_ptr(arg: number): number {
+export function StaticPaymentOutputDescriptor_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18680,7 +18726,7 @@ export function StaticPaymentOutputDescriptor_clone_ptr(arg: number): number {
 }
        // struct LDKStaticPaymentOutputDescriptor StaticPaymentOutputDescriptor_clone(const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR orig);
 /* @internal */
-export function StaticPaymentOutputDescriptor_clone(orig: number): number {
+export function StaticPaymentOutputDescriptor_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18689,7 +18735,7 @@ export function StaticPaymentOutputDescriptor_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z StaticPaymentOutputDescriptor_write(const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR obj);
 /* @internal */
-export function StaticPaymentOutputDescriptor_write(obj: number): number {
+export function StaticPaymentOutputDescriptor_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18698,7 +18744,7 @@ export function StaticPaymentOutputDescriptor_write(obj: number): number {
 }
        // struct LDKCResult_StaticPaymentOutputDescriptorDecodeErrorZ StaticPaymentOutputDescriptor_read(struct LDKu8slice ser);
 /* @internal */
-export function StaticPaymentOutputDescriptor_read(ser: number): number {
+export function StaticPaymentOutputDescriptor_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18707,16 +18753,16 @@ export function StaticPaymentOutputDescriptor_read(ser: number): number {
 }
        // void SpendableOutputDescriptor_free(struct LDKSpendableOutputDescriptor this_ptr);
 /* @internal */
-export function SpendableOutputDescriptor_free(this_ptr: number): void {
+export function SpendableOutputDescriptor_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_SpendableOutputDescriptor_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t SpendableOutputDescriptor_clone_ptr(LDKSpendableOutputDescriptor *NONNULL_PTR arg);
+       // uint64_t SpendableOutputDescriptor_clone_ptr(LDKSpendableOutputDescriptor *NONNULL_PTR arg);
 /* @internal */
-export function SpendableOutputDescriptor_clone_ptr(arg: number): number {
+export function SpendableOutputDescriptor_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18725,7 +18771,7 @@ export function SpendableOutputDescriptor_clone_ptr(arg: number): number {
 }
        // struct LDKSpendableOutputDescriptor SpendableOutputDescriptor_clone(const struct LDKSpendableOutputDescriptor *NONNULL_PTR orig);
 /* @internal */
-export function SpendableOutputDescriptor_clone(orig: number): number {
+export function SpendableOutputDescriptor_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18734,7 +18780,7 @@ export function SpendableOutputDescriptor_clone(orig: number): number {
 }
        // struct LDKSpendableOutputDescriptor SpendableOutputDescriptor_static_output(struct LDKOutPoint outpoint, struct LDKTxOut output);
 /* @internal */
-export function SpendableOutputDescriptor_static_output(outpoint: number, output: number): number {
+export function SpendableOutputDescriptor_static_output(outpoint: bigint, output: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18743,7 +18789,7 @@ export function SpendableOutputDescriptor_static_output(outpoint: number, output
 }
        // struct LDKSpendableOutputDescriptor SpendableOutputDescriptor_delayed_payment_output(struct LDKDelayedPaymentOutputDescriptor a);
 /* @internal */
-export function SpendableOutputDescriptor_delayed_payment_output(a: number): number {
+export function SpendableOutputDescriptor_delayed_payment_output(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18752,7 +18798,7 @@ export function SpendableOutputDescriptor_delayed_payment_output(a: number): num
 }
        // struct LDKSpendableOutputDescriptor SpendableOutputDescriptor_static_payment_output(struct LDKStaticPaymentOutputDescriptor a);
 /* @internal */
-export function SpendableOutputDescriptor_static_payment_output(a: number): number {
+export function SpendableOutputDescriptor_static_payment_output(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18761,7 +18807,7 @@ export function SpendableOutputDescriptor_static_payment_output(a: number): numb
 }
        // struct LDKCVec_u8Z SpendableOutputDescriptor_write(const struct LDKSpendableOutputDescriptor *NONNULL_PTR obj);
 /* @internal */
-export function SpendableOutputDescriptor_write(obj: number): number {
+export function SpendableOutputDescriptor_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18770,7 +18816,7 @@ export function SpendableOutputDescriptor_write(obj: number): number {
 }
        // struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ SpendableOutputDescriptor_read(struct LDKu8slice ser);
 /* @internal */
-export function SpendableOutputDescriptor_read(ser: number): number {
+export function SpendableOutputDescriptor_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18779,16 +18825,16 @@ export function SpendableOutputDescriptor_read(ser: number): number {
 }
        // void BaseSign_free(struct LDKBaseSign this_ptr);
 /* @internal */
-export function BaseSign_free(this_ptr: number): void {
+export function BaseSign_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_BaseSign_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t Sign_clone_ptr(LDKSign *NONNULL_PTR arg);
+       // uint64_t Sign_clone_ptr(LDKSign *NONNULL_PTR arg);
 /* @internal */
-export function Sign_clone_ptr(arg: number): number {
+export function Sign_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18797,7 +18843,7 @@ export function Sign_clone_ptr(arg: number): number {
 }
        // struct LDKSign Sign_clone(const struct LDKSign *NONNULL_PTR orig);
 /* @internal */
-export function Sign_clone(orig: number): number {
+export function Sign_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18806,7 +18852,7 @@ export function Sign_clone(orig: number): number {
 }
        // void Sign_free(struct LDKSign this_ptr);
 /* @internal */
-export function Sign_free(this_ptr: number): void {
+export function Sign_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18815,7 +18861,7 @@ export function Sign_free(this_ptr: number): void {
 }
        // enum LDKRecipient Recipient_clone(const enum LDKRecipient *NONNULL_PTR orig);
 /* @internal */
-export function Recipient_clone(orig: number): Recipient {
+export function Recipient_clone(orig: bigint): Recipient {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18842,7 +18888,7 @@ export function Recipient_phantom_node(): Recipient {
 }
        // void KeysInterface_free(struct LDKKeysInterface this_ptr);
 /* @internal */
-export function KeysInterface_free(this_ptr: number): void {
+export function KeysInterface_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18851,7 +18897,7 @@ export function KeysInterface_free(this_ptr: number): void {
 }
        // void InMemorySigner_free(struct LDKInMemorySigner this_obj);
 /* @internal */
-export function InMemorySigner_free(this_obj: number): void {
+export function InMemorySigner_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18860,7 +18906,7 @@ export function InMemorySigner_free(this_obj: number): void {
 }
        // const uint8_t (*InMemorySigner_get_funding_key(const struct LDKInMemorySigner *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function InMemorySigner_get_funding_key(this_ptr: number): number {
+export function InMemorySigner_get_funding_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18869,7 +18915,7 @@ export function InMemorySigner_get_funding_key(this_ptr: number): number {
 }
        // void InMemorySigner_set_funding_key(struct LDKInMemorySigner *NONNULL_PTR this_ptr, struct LDKSecretKey val);
 /* @internal */
-export function InMemorySigner_set_funding_key(this_ptr: number, val: number): void {
+export function InMemorySigner_set_funding_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18878,7 +18924,7 @@ export function InMemorySigner_set_funding_key(this_ptr: number, val: number): v
 }
        // const uint8_t (*InMemorySigner_get_revocation_base_key(const struct LDKInMemorySigner *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function InMemorySigner_get_revocation_base_key(this_ptr: number): number {
+export function InMemorySigner_get_revocation_base_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18887,7 +18933,7 @@ export function InMemorySigner_get_revocation_base_key(this_ptr: number): number
 }
        // void InMemorySigner_set_revocation_base_key(struct LDKInMemorySigner *NONNULL_PTR this_ptr, struct LDKSecretKey val);
 /* @internal */
-export function InMemorySigner_set_revocation_base_key(this_ptr: number, val: number): void {
+export function InMemorySigner_set_revocation_base_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18896,7 +18942,7 @@ export function InMemorySigner_set_revocation_base_key(this_ptr: number, val: nu
 }
        // const uint8_t (*InMemorySigner_get_payment_key(const struct LDKInMemorySigner *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function InMemorySigner_get_payment_key(this_ptr: number): number {
+export function InMemorySigner_get_payment_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18905,7 +18951,7 @@ export function InMemorySigner_get_payment_key(this_ptr: number): number {
 }
        // void InMemorySigner_set_payment_key(struct LDKInMemorySigner *NONNULL_PTR this_ptr, struct LDKSecretKey val);
 /* @internal */
-export function InMemorySigner_set_payment_key(this_ptr: number, val: number): void {
+export function InMemorySigner_set_payment_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18914,7 +18960,7 @@ export function InMemorySigner_set_payment_key(this_ptr: number, val: number): v
 }
        // const uint8_t (*InMemorySigner_get_delayed_payment_base_key(const struct LDKInMemorySigner *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function InMemorySigner_get_delayed_payment_base_key(this_ptr: number): number {
+export function InMemorySigner_get_delayed_payment_base_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18923,7 +18969,7 @@ export function InMemorySigner_get_delayed_payment_base_key(this_ptr: number): n
 }
        // void InMemorySigner_set_delayed_payment_base_key(struct LDKInMemorySigner *NONNULL_PTR this_ptr, struct LDKSecretKey val);
 /* @internal */
-export function InMemorySigner_set_delayed_payment_base_key(this_ptr: number, val: number): void {
+export function InMemorySigner_set_delayed_payment_base_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18932,7 +18978,7 @@ export function InMemorySigner_set_delayed_payment_base_key(this_ptr: number, va
 }
        // const uint8_t (*InMemorySigner_get_htlc_base_key(const struct LDKInMemorySigner *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function InMemorySigner_get_htlc_base_key(this_ptr: number): number {
+export function InMemorySigner_get_htlc_base_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18941,7 +18987,7 @@ export function InMemorySigner_get_htlc_base_key(this_ptr: number): number {
 }
        // void InMemorySigner_set_htlc_base_key(struct LDKInMemorySigner *NONNULL_PTR this_ptr, struct LDKSecretKey val);
 /* @internal */
-export function InMemorySigner_set_htlc_base_key(this_ptr: number, val: number): void {
+export function InMemorySigner_set_htlc_base_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18950,7 +18996,7 @@ export function InMemorySigner_set_htlc_base_key(this_ptr: number, val: number):
 }
        // const uint8_t (*InMemorySigner_get_commitment_seed(const struct LDKInMemorySigner *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function InMemorySigner_get_commitment_seed(this_ptr: number): number {
+export function InMemorySigner_get_commitment_seed(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18959,16 +19005,16 @@ export function InMemorySigner_get_commitment_seed(this_ptr: number): number {
 }
        // void InMemorySigner_set_commitment_seed(struct LDKInMemorySigner *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function InMemorySigner_set_commitment_seed(this_ptr: number, val: number): void {
+export function InMemorySigner_set_commitment_seed(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_InMemorySigner_set_commitment_seed(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t InMemorySigner_clone_ptr(LDKInMemorySigner *NONNULL_PTR arg);
+       // uint64_t InMemorySigner_clone_ptr(LDKInMemorySigner *NONNULL_PTR arg);
 /* @internal */
-export function InMemorySigner_clone_ptr(arg: number): number {
+export function InMemorySigner_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18977,7 +19023,7 @@ export function InMemorySigner_clone_ptr(arg: number): number {
 }
        // struct LDKInMemorySigner InMemorySigner_clone(const struct LDKInMemorySigner *NONNULL_PTR orig);
 /* @internal */
-export function InMemorySigner_clone(orig: number): number {
+export function InMemorySigner_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18986,7 +19032,7 @@ export function InMemorySigner_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKInMemorySigner InMemorySigner_new(struct LDKSecretKey node_secret, struct LDKSecretKey funding_key, struct LDKSecretKey revocation_base_key, struct LDKSecretKey payment_key, struct LDKSecretKey delayed_payment_base_key, struct LDKSecretKey htlc_base_key, struct LDKThirtyTwoBytes commitment_seed, uint64_t channel_value_satoshis, struct LDKThirtyTwoBytes channel_keys_id);
 /* @internal */
-export function InMemorySigner_new(node_secret: number, funding_key: number, revocation_base_key: number, payment_key: number, delayed_payment_base_key: number, htlc_base_key: number, commitment_seed: number, channel_value_satoshis: bigint, channel_keys_id: number): number {
+export function InMemorySigner_new(node_secret: number, funding_key: number, revocation_base_key: number, payment_key: number, delayed_payment_base_key: number, htlc_base_key: number, commitment_seed: number, channel_value_satoshis: bigint, channel_keys_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -18995,7 +19041,7 @@ export function InMemorySigner_new(node_secret: number, funding_key: number, rev
 }
        // MUST_USE_RES struct LDKChannelPublicKeys InMemorySigner_counterparty_pubkeys(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_counterparty_pubkeys(this_arg: number): number {
+export function InMemorySigner_counterparty_pubkeys(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19004,7 +19050,7 @@ export function InMemorySigner_counterparty_pubkeys(this_arg: number): number {
 }
        // MUST_USE_RES uint16_t InMemorySigner_counterparty_selected_contest_delay(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_counterparty_selected_contest_delay(this_arg: number): number {
+export function InMemorySigner_counterparty_selected_contest_delay(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19013,7 +19059,7 @@ export function InMemorySigner_counterparty_selected_contest_delay(this_arg: num
 }
        // MUST_USE_RES uint16_t InMemorySigner_holder_selected_contest_delay(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_holder_selected_contest_delay(this_arg: number): number {
+export function InMemorySigner_holder_selected_contest_delay(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19022,7 +19068,7 @@ export function InMemorySigner_holder_selected_contest_delay(this_arg: number):
 }
        // MUST_USE_RES bool InMemorySigner_is_outbound(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_is_outbound(this_arg: number): boolean {
+export function InMemorySigner_is_outbound(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19031,7 +19077,7 @@ export function InMemorySigner_is_outbound(this_arg: number): boolean {
 }
        // MUST_USE_RES struct LDKOutPoint InMemorySigner_funding_outpoint(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_funding_outpoint(this_arg: number): number {
+export function InMemorySigner_funding_outpoint(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19040,7 +19086,7 @@ export function InMemorySigner_funding_outpoint(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKChannelTransactionParameters InMemorySigner_get_channel_parameters(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_get_channel_parameters(this_arg: number): number {
+export function InMemorySigner_get_channel_parameters(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19049,7 +19095,7 @@ export function InMemorySigner_get_channel_parameters(this_arg: number): number
 }
        // MUST_USE_RES bool InMemorySigner_opt_anchors(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_opt_anchors(this_arg: number): boolean {
+export function InMemorySigner_opt_anchors(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19058,7 +19104,7 @@ export function InMemorySigner_opt_anchors(this_arg: number): boolean {
 }
        // MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_counterparty_payment_input(const struct LDKInMemorySigner *NONNULL_PTR this_arg, struct LDKTransaction spend_tx, uintptr_t input_idx, const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR descriptor);
 /* @internal */
-export function InMemorySigner_sign_counterparty_payment_input(this_arg: number, spend_tx: number, input_idx: number, descriptor: number): number {
+export function InMemorySigner_sign_counterparty_payment_input(this_arg: bigint, spend_tx: number, input_idx: number, descriptor: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19067,7 +19113,7 @@ export function InMemorySigner_sign_counterparty_payment_input(this_arg: number,
 }
        // MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_dynamic_p2wsh_input(const struct LDKInMemorySigner *NONNULL_PTR this_arg, struct LDKTransaction spend_tx, uintptr_t input_idx, const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR descriptor);
 /* @internal */
-export function InMemorySigner_sign_dynamic_p2wsh_input(this_arg: number, spend_tx: number, input_idx: number, descriptor: number): number {
+export function InMemorySigner_sign_dynamic_p2wsh_input(this_arg: bigint, spend_tx: number, input_idx: number, descriptor: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19076,7 +19122,7 @@ export function InMemorySigner_sign_dynamic_p2wsh_input(this_arg: number, spend_
 }
        // struct LDKBaseSign InMemorySigner_as_BaseSign(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_as_BaseSign(this_arg: number): number {
+export function InMemorySigner_as_BaseSign(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19085,7 +19131,7 @@ export function InMemorySigner_as_BaseSign(this_arg: number): number {
 }
        // struct LDKSign InMemorySigner_as_Sign(const struct LDKInMemorySigner *NONNULL_PTR this_arg);
 /* @internal */
-export function InMemorySigner_as_Sign(this_arg: number): number {
+export function InMemorySigner_as_Sign(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19094,7 +19140,7 @@ export function InMemorySigner_as_Sign(this_arg: number): number {
 }
        // struct LDKCVec_u8Z InMemorySigner_write(const struct LDKInMemorySigner *NONNULL_PTR obj);
 /* @internal */
-export function InMemorySigner_write(obj: number): number {
+export function InMemorySigner_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19103,7 +19149,7 @@ export function InMemorySigner_write(obj: number): number {
 }
        // struct LDKCResult_InMemorySignerDecodeErrorZ InMemorySigner_read(struct LDKu8slice ser, struct LDKSecretKey arg);
 /* @internal */
-export function InMemorySigner_read(ser: number, arg: number): number {
+export function InMemorySigner_read(ser: number, arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19112,7 +19158,7 @@ export function InMemorySigner_read(ser: number, arg: number): number {
 }
        // void KeysManager_free(struct LDKKeysManager this_obj);
 /* @internal */
-export function KeysManager_free(this_obj: number): void {
+export function KeysManager_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19121,7 +19167,7 @@ export function KeysManager_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKKeysManager KeysManager_new(const uint8_t (*seed)[32], uint64_t starting_time_secs, uint32_t starting_time_nanos);
 /* @internal */
-export function KeysManager_new(seed: number, starting_time_secs: bigint, starting_time_nanos: number): number {
+export function KeysManager_new(seed: number, starting_time_secs: bigint, starting_time_nanos: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19130,7 +19176,7 @@ export function KeysManager_new(seed: number, starting_time_secs: bigint, starti
 }
        // MUST_USE_RES struct LDKInMemorySigner KeysManager_derive_channel_keys(const struct LDKKeysManager *NONNULL_PTR this_arg, uint64_t channel_value_satoshis, const uint8_t (*params)[32]);
 /* @internal */
-export function KeysManager_derive_channel_keys(this_arg: number, channel_value_satoshis: bigint, params: number): number {
+export function KeysManager_derive_channel_keys(this_arg: bigint, channel_value_satoshis: bigint, params: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19139,7 +19185,7 @@ export function KeysManager_derive_channel_keys(this_arg: number, channel_value_
 }
        // MUST_USE_RES struct LDKCResult_TransactionNoneZ KeysManager_spend_spendable_outputs(const struct LDKKeysManager *NONNULL_PTR this_arg, struct LDKCVec_SpendableOutputDescriptorZ descriptors, struct LDKCVec_TxOutZ outputs, struct LDKCVec_u8Z change_destination_script, uint32_t feerate_sat_per_1000_weight);
 /* @internal */
-export function KeysManager_spend_spendable_outputs(this_arg: number, descriptors: number, outputs: number, change_destination_script: number, feerate_sat_per_1000_weight: number): number {
+export function KeysManager_spend_spendable_outputs(this_arg: bigint, descriptors: number, outputs: number, change_destination_script: number, feerate_sat_per_1000_weight: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19148,7 +19194,7 @@ export function KeysManager_spend_spendable_outputs(this_arg: number, descriptor
 }
        // struct LDKKeysInterface KeysManager_as_KeysInterface(const struct LDKKeysManager *NONNULL_PTR this_arg);
 /* @internal */
-export function KeysManager_as_KeysInterface(this_arg: number): number {
+export function KeysManager_as_KeysInterface(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19157,7 +19203,7 @@ export function KeysManager_as_KeysInterface(this_arg: number): number {
 }
        // void PhantomKeysManager_free(struct LDKPhantomKeysManager this_obj);
 /* @internal */
-export function PhantomKeysManager_free(this_obj: number): void {
+export function PhantomKeysManager_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19166,7 +19212,7 @@ export function PhantomKeysManager_free(this_obj: number): void {
 }
        // struct LDKKeysInterface PhantomKeysManager_as_KeysInterface(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg);
 /* @internal */
-export function PhantomKeysManager_as_KeysInterface(this_arg: number): number {
+export function PhantomKeysManager_as_KeysInterface(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19175,7 +19221,7 @@ export function PhantomKeysManager_as_KeysInterface(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKPhantomKeysManager PhantomKeysManager_new(const uint8_t (*seed)[32], uint64_t starting_time_secs, uint32_t starting_time_nanos, const uint8_t (*cross_node_seed)[32]);
 /* @internal */
-export function PhantomKeysManager_new(seed: number, starting_time_secs: bigint, starting_time_nanos: number, cross_node_seed: number): number {
+export function PhantomKeysManager_new(seed: number, starting_time_secs: bigint, starting_time_nanos: number, cross_node_seed: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19184,7 +19230,7 @@ export function PhantomKeysManager_new(seed: number, starting_time_secs: bigint,
 }
        // MUST_USE_RES struct LDKCResult_TransactionNoneZ PhantomKeysManager_spend_spendable_outputs(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg, struct LDKCVec_SpendableOutputDescriptorZ descriptors, struct LDKCVec_TxOutZ outputs, struct LDKCVec_u8Z change_destination_script, uint32_t feerate_sat_per_1000_weight);
 /* @internal */
-export function PhantomKeysManager_spend_spendable_outputs(this_arg: number, descriptors: number, outputs: number, change_destination_script: number, feerate_sat_per_1000_weight: number): number {
+export function PhantomKeysManager_spend_spendable_outputs(this_arg: bigint, descriptors: number, outputs: number, change_destination_script: number, feerate_sat_per_1000_weight: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19193,7 +19239,7 @@ export function PhantomKeysManager_spend_spendable_outputs(this_arg: number, des
 }
        // MUST_USE_RES struct LDKInMemorySigner PhantomKeysManager_derive_channel_keys(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg, uint64_t channel_value_satoshis, const uint8_t (*params)[32]);
 /* @internal */
-export function PhantomKeysManager_derive_channel_keys(this_arg: number, channel_value_satoshis: bigint, params: number): number {
+export function PhantomKeysManager_derive_channel_keys(this_arg: bigint, channel_value_satoshis: bigint, params: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19202,7 +19248,7 @@ export function PhantomKeysManager_derive_channel_keys(this_arg: number, channel
 }
        // void ChannelManager_free(struct LDKChannelManager this_obj);
 /* @internal */
-export function ChannelManager_free(this_obj: number): void {
+export function ChannelManager_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19211,7 +19257,7 @@ export function ChannelManager_free(this_obj: number): void {
 }
        // void ChainParameters_free(struct LDKChainParameters this_obj);
 /* @internal */
-export function ChainParameters_free(this_obj: number): void {
+export function ChainParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19220,7 +19266,7 @@ export function ChainParameters_free(this_obj: number): void {
 }
        // enum LDKNetwork ChainParameters_get_network(const struct LDKChainParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChainParameters_get_network(this_ptr: number): Network {
+export function ChainParameters_get_network(this_ptr: bigint): Network {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19229,7 +19275,7 @@ export function ChainParameters_get_network(this_ptr: number): Network {
 }
        // void ChainParameters_set_network(struct LDKChainParameters *NONNULL_PTR this_ptr, enum LDKNetwork val);
 /* @internal */
-export function ChainParameters_set_network(this_ptr: number, val: Network): void {
+export function ChainParameters_set_network(this_ptr: bigint, val: Network): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19238,7 +19284,7 @@ export function ChainParameters_set_network(this_ptr: number, val: Network): voi
 }
        // struct LDKBestBlock ChainParameters_get_best_block(const struct LDKChainParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChainParameters_get_best_block(this_ptr: number): number {
+export function ChainParameters_get_best_block(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19247,7 +19293,7 @@ export function ChainParameters_get_best_block(this_ptr: number): number {
 }
        // void ChainParameters_set_best_block(struct LDKChainParameters *NONNULL_PTR this_ptr, struct LDKBestBlock val);
 /* @internal */
-export function ChainParameters_set_best_block(this_ptr: number, val: number): void {
+export function ChainParameters_set_best_block(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19256,16 +19302,16 @@ export function ChainParameters_set_best_block(this_ptr: number, val: number): v
 }
        // MUST_USE_RES struct LDKChainParameters ChainParameters_new(enum LDKNetwork network_arg, struct LDKBestBlock best_block_arg);
 /* @internal */
-export function ChainParameters_new(network_arg: Network, best_block_arg: number): number {
+export function ChainParameters_new(network_arg: Network, best_block_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChainParameters_new(network_arg, best_block_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChainParameters_clone_ptr(LDKChainParameters *NONNULL_PTR arg);
+       // uint64_t ChainParameters_clone_ptr(LDKChainParameters *NONNULL_PTR arg);
 /* @internal */
-export function ChainParameters_clone_ptr(arg: number): number {
+export function ChainParameters_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19274,7 +19320,7 @@ export function ChainParameters_clone_ptr(arg: number): number {
 }
        // struct LDKChainParameters ChainParameters_clone(const struct LDKChainParameters *NONNULL_PTR orig);
 /* @internal */
-export function ChainParameters_clone(orig: number): number {
+export function ChainParameters_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19283,7 +19329,7 @@ export function ChainParameters_clone(orig: number): number {
 }
        // void CounterpartyForwardingInfo_free(struct LDKCounterpartyForwardingInfo this_obj);
 /* @internal */
-export function CounterpartyForwardingInfo_free(this_obj: number): void {
+export function CounterpartyForwardingInfo_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19292,7 +19338,7 @@ export function CounterpartyForwardingInfo_free(this_obj: number): void {
 }
        // uint32_t CounterpartyForwardingInfo_get_fee_base_msat(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function CounterpartyForwardingInfo_get_fee_base_msat(this_ptr: number): number {
+export function CounterpartyForwardingInfo_get_fee_base_msat(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19301,7 +19347,7 @@ export function CounterpartyForwardingInfo_get_fee_base_msat(this_ptr: number):
 }
        // void CounterpartyForwardingInfo_set_fee_base_msat(struct LDKCounterpartyForwardingInfo *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function CounterpartyForwardingInfo_set_fee_base_msat(this_ptr: number, val: number): void {
+export function CounterpartyForwardingInfo_set_fee_base_msat(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19310,7 +19356,7 @@ export function CounterpartyForwardingInfo_set_fee_base_msat(this_ptr: number, v
 }
        // uint32_t CounterpartyForwardingInfo_get_fee_proportional_millionths(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function CounterpartyForwardingInfo_get_fee_proportional_millionths(this_ptr: number): number {
+export function CounterpartyForwardingInfo_get_fee_proportional_millionths(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19319,7 +19365,7 @@ export function CounterpartyForwardingInfo_get_fee_proportional_millionths(this_
 }
        // void CounterpartyForwardingInfo_set_fee_proportional_millionths(struct LDKCounterpartyForwardingInfo *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function CounterpartyForwardingInfo_set_fee_proportional_millionths(this_ptr: number, val: number): void {
+export function CounterpartyForwardingInfo_set_fee_proportional_millionths(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19328,7 +19374,7 @@ export function CounterpartyForwardingInfo_set_fee_proportional_millionths(this_
 }
        // uint16_t CounterpartyForwardingInfo_get_cltv_expiry_delta(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function CounterpartyForwardingInfo_get_cltv_expiry_delta(this_ptr: number): number {
+export function CounterpartyForwardingInfo_get_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19337,7 +19383,7 @@ export function CounterpartyForwardingInfo_get_cltv_expiry_delta(this_ptr: numbe
 }
        // void CounterpartyForwardingInfo_set_cltv_expiry_delta(struct LDKCounterpartyForwardingInfo *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function CounterpartyForwardingInfo_set_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function CounterpartyForwardingInfo_set_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19346,16 +19392,16 @@ export function CounterpartyForwardingInfo_set_cltv_expiry_delta(this_ptr: numbe
 }
        // MUST_USE_RES struct LDKCounterpartyForwardingInfo CounterpartyForwardingInfo_new(uint32_t fee_base_msat_arg, uint32_t fee_proportional_millionths_arg, uint16_t cltv_expiry_delta_arg);
 /* @internal */
-export function CounterpartyForwardingInfo_new(fee_base_msat_arg: number, fee_proportional_millionths_arg: number, cltv_expiry_delta_arg: number): number {
+export function CounterpartyForwardingInfo_new(fee_base_msat_arg: number, fee_proportional_millionths_arg: number, cltv_expiry_delta_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CounterpartyForwardingInfo_new(fee_base_msat_arg, fee_proportional_millionths_arg, cltv_expiry_delta_arg);
        return nativeResponseValue;
 }
-       // uintptr_t CounterpartyForwardingInfo_clone_ptr(LDKCounterpartyForwardingInfo *NONNULL_PTR arg);
+       // uint64_t CounterpartyForwardingInfo_clone_ptr(LDKCounterpartyForwardingInfo *NONNULL_PTR arg);
 /* @internal */
-export function CounterpartyForwardingInfo_clone_ptr(arg: number): number {
+export function CounterpartyForwardingInfo_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19364,7 +19410,7 @@ export function CounterpartyForwardingInfo_clone_ptr(arg: number): number {
 }
        // struct LDKCounterpartyForwardingInfo CounterpartyForwardingInfo_clone(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR orig);
 /* @internal */
-export function CounterpartyForwardingInfo_clone(orig: number): number {
+export function CounterpartyForwardingInfo_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19373,7 +19419,7 @@ export function CounterpartyForwardingInfo_clone(orig: number): number {
 }
        // void ChannelCounterparty_free(struct LDKChannelCounterparty this_obj);
 /* @internal */
-export function ChannelCounterparty_free(this_obj: number): void {
+export function ChannelCounterparty_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19382,7 +19428,7 @@ export function ChannelCounterparty_free(this_obj: number): void {
 }
        // struct LDKPublicKey ChannelCounterparty_get_node_id(const struct LDKChannelCounterparty *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelCounterparty_get_node_id(this_ptr: number): number {
+export function ChannelCounterparty_get_node_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19391,7 +19437,7 @@ export function ChannelCounterparty_get_node_id(this_ptr: number): number {
 }
        // void ChannelCounterparty_set_node_id(struct LDKChannelCounterparty *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelCounterparty_set_node_id(this_ptr: number, val: number): void {
+export function ChannelCounterparty_set_node_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19400,7 +19446,7 @@ export function ChannelCounterparty_set_node_id(this_ptr: number, val: number):
 }
        // struct LDKInitFeatures ChannelCounterparty_get_features(const struct LDKChannelCounterparty *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelCounterparty_get_features(this_ptr: number): number {
+export function ChannelCounterparty_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19409,7 +19455,7 @@ export function ChannelCounterparty_get_features(this_ptr: number): number {
 }
        // void ChannelCounterparty_set_features(struct LDKChannelCounterparty *NONNULL_PTR this_ptr, struct LDKInitFeatures val);
 /* @internal */
-export function ChannelCounterparty_set_features(this_ptr: number, val: number): void {
+export function ChannelCounterparty_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19418,7 +19464,7 @@ export function ChannelCounterparty_set_features(this_ptr: number, val: number):
 }
        // uint64_t ChannelCounterparty_get_unspendable_punishment_reserve(const struct LDKChannelCounterparty *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelCounterparty_get_unspendable_punishment_reserve(this_ptr: number): bigint {
+export function ChannelCounterparty_get_unspendable_punishment_reserve(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19427,7 +19473,7 @@ export function ChannelCounterparty_get_unspendable_punishment_reserve(this_ptr:
 }
        // void ChannelCounterparty_set_unspendable_punishment_reserve(struct LDKChannelCounterparty *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelCounterparty_set_unspendable_punishment_reserve(this_ptr: number, val: bigint): void {
+export function ChannelCounterparty_set_unspendable_punishment_reserve(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19436,7 +19482,7 @@ export function ChannelCounterparty_set_unspendable_punishment_reserve(this_ptr:
 }
        // struct LDKCounterpartyForwardingInfo ChannelCounterparty_get_forwarding_info(const struct LDKChannelCounterparty *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelCounterparty_get_forwarding_info(this_ptr: number): number {
+export function ChannelCounterparty_get_forwarding_info(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19445,7 +19491,7 @@ export function ChannelCounterparty_get_forwarding_info(this_ptr: number): numbe
 }
        // void ChannelCounterparty_set_forwarding_info(struct LDKChannelCounterparty *NONNULL_PTR this_ptr, struct LDKCounterpartyForwardingInfo val);
 /* @internal */
-export function ChannelCounterparty_set_forwarding_info(this_ptr: number, val: number): void {
+export function ChannelCounterparty_set_forwarding_info(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19454,7 +19500,7 @@ export function ChannelCounterparty_set_forwarding_info(this_ptr: number, val: n
 }
        // struct LDKCOption_u64Z ChannelCounterparty_get_outbound_htlc_minimum_msat(const struct LDKChannelCounterparty *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelCounterparty_get_outbound_htlc_minimum_msat(this_ptr: number): number {
+export function ChannelCounterparty_get_outbound_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19463,7 +19509,7 @@ export function ChannelCounterparty_get_outbound_htlc_minimum_msat(this_ptr: num
 }
        // void ChannelCounterparty_set_outbound_htlc_minimum_msat(struct LDKChannelCounterparty *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelCounterparty_set_outbound_htlc_minimum_msat(this_ptr: number, val: number): void {
+export function ChannelCounterparty_set_outbound_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19472,7 +19518,7 @@ export function ChannelCounterparty_set_outbound_htlc_minimum_msat(this_ptr: num
 }
        // struct LDKCOption_u64Z ChannelCounterparty_get_outbound_htlc_maximum_msat(const struct LDKChannelCounterparty *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelCounterparty_get_outbound_htlc_maximum_msat(this_ptr: number): number {
+export function ChannelCounterparty_get_outbound_htlc_maximum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19481,7 +19527,7 @@ export function ChannelCounterparty_get_outbound_htlc_maximum_msat(this_ptr: num
 }
        // void ChannelCounterparty_set_outbound_htlc_maximum_msat(struct LDKChannelCounterparty *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelCounterparty_set_outbound_htlc_maximum_msat(this_ptr: number, val: number): void {
+export function ChannelCounterparty_set_outbound_htlc_maximum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19490,16 +19536,16 @@ export function ChannelCounterparty_set_outbound_htlc_maximum_msat(this_ptr: num
 }
        // MUST_USE_RES struct LDKChannelCounterparty ChannelCounterparty_new(struct LDKPublicKey node_id_arg, struct LDKInitFeatures features_arg, uint64_t unspendable_punishment_reserve_arg, struct LDKCounterpartyForwardingInfo forwarding_info_arg, struct LDKCOption_u64Z outbound_htlc_minimum_msat_arg, struct LDKCOption_u64Z outbound_htlc_maximum_msat_arg);
 /* @internal */
-export function ChannelCounterparty_new(node_id_arg: number, features_arg: number, unspendable_punishment_reserve_arg: bigint, forwarding_info_arg: number, outbound_htlc_minimum_msat_arg: number, outbound_htlc_maximum_msat_arg: number): number {
+export function ChannelCounterparty_new(node_id_arg: number, features_arg: bigint, unspendable_punishment_reserve_arg: bigint, forwarding_info_arg: bigint, outbound_htlc_minimum_msat_arg: bigint, outbound_htlc_maximum_msat_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelCounterparty_new(node_id_arg, features_arg, unspendable_punishment_reserve_arg, forwarding_info_arg, outbound_htlc_minimum_msat_arg, outbound_htlc_maximum_msat_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelCounterparty_clone_ptr(LDKChannelCounterparty *NONNULL_PTR arg);
+       // uint64_t ChannelCounterparty_clone_ptr(LDKChannelCounterparty *NONNULL_PTR arg);
 /* @internal */
-export function ChannelCounterparty_clone_ptr(arg: number): number {
+export function ChannelCounterparty_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19508,7 +19554,7 @@ export function ChannelCounterparty_clone_ptr(arg: number): number {
 }
        // struct LDKChannelCounterparty ChannelCounterparty_clone(const struct LDKChannelCounterparty *NONNULL_PTR orig);
 /* @internal */
-export function ChannelCounterparty_clone(orig: number): number {
+export function ChannelCounterparty_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19517,7 +19563,7 @@ export function ChannelCounterparty_clone(orig: number): number {
 }
        // void ChannelDetails_free(struct LDKChannelDetails this_obj);
 /* @internal */
-export function ChannelDetails_free(this_obj: number): void {
+export function ChannelDetails_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19526,7 +19572,7 @@ export function ChannelDetails_free(this_obj: number): void {
 }
        // const uint8_t (*ChannelDetails_get_channel_id(const struct LDKChannelDetails *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ChannelDetails_get_channel_id(this_ptr: number): number {
+export function ChannelDetails_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19535,7 +19581,7 @@ export function ChannelDetails_get_channel_id(this_ptr: number): number {
 }
        // void ChannelDetails_set_channel_id(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ChannelDetails_set_channel_id(this_ptr: number, val: number): void {
+export function ChannelDetails_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19544,7 +19590,7 @@ export function ChannelDetails_set_channel_id(this_ptr: number, val: number): vo
 }
        // struct LDKChannelCounterparty ChannelDetails_get_counterparty(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_counterparty(this_ptr: number): number {
+export function ChannelDetails_get_counterparty(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19553,7 +19599,7 @@ export function ChannelDetails_get_counterparty(this_ptr: number): number {
 }
        // void ChannelDetails_set_counterparty(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKChannelCounterparty val);
 /* @internal */
-export function ChannelDetails_set_counterparty(this_ptr: number, val: number): void {
+export function ChannelDetails_set_counterparty(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19562,7 +19608,7 @@ export function ChannelDetails_set_counterparty(this_ptr: number, val: number):
 }
        // struct LDKOutPoint ChannelDetails_get_funding_txo(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_funding_txo(this_ptr: number): number {
+export function ChannelDetails_get_funding_txo(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19571,7 +19617,7 @@ export function ChannelDetails_get_funding_txo(this_ptr: number): number {
 }
        // void ChannelDetails_set_funding_txo(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKOutPoint val);
 /* @internal */
-export function ChannelDetails_set_funding_txo(this_ptr: number, val: number): void {
+export function ChannelDetails_set_funding_txo(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19580,7 +19626,7 @@ export function ChannelDetails_set_funding_txo(this_ptr: number, val: number): v
 }
        // struct LDKChannelTypeFeatures ChannelDetails_get_channel_type(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_channel_type(this_ptr: number): number {
+export function ChannelDetails_get_channel_type(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19589,7 +19635,7 @@ export function ChannelDetails_get_channel_type(this_ptr: number): number {
 }
        // void ChannelDetails_set_channel_type(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKChannelTypeFeatures val);
 /* @internal */
-export function ChannelDetails_set_channel_type(this_ptr: number, val: number): void {
+export function ChannelDetails_set_channel_type(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19598,7 +19644,7 @@ export function ChannelDetails_set_channel_type(this_ptr: number, val: number):
 }
        // struct LDKCOption_u64Z ChannelDetails_get_short_channel_id(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_short_channel_id(this_ptr: number): number {
+export function ChannelDetails_get_short_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19607,7 +19653,7 @@ export function ChannelDetails_get_short_channel_id(this_ptr: number): number {
 }
        // void ChannelDetails_set_short_channel_id(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelDetails_set_short_channel_id(this_ptr: number, val: number): void {
+export function ChannelDetails_set_short_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19616,7 +19662,7 @@ export function ChannelDetails_set_short_channel_id(this_ptr: number, val: numbe
 }
        // struct LDKCOption_u64Z ChannelDetails_get_outbound_scid_alias(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_outbound_scid_alias(this_ptr: number): number {
+export function ChannelDetails_get_outbound_scid_alias(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19625,7 +19671,7 @@ export function ChannelDetails_get_outbound_scid_alias(this_ptr: number): number
 }
        // void ChannelDetails_set_outbound_scid_alias(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelDetails_set_outbound_scid_alias(this_ptr: number, val: number): void {
+export function ChannelDetails_set_outbound_scid_alias(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19634,7 +19680,7 @@ export function ChannelDetails_set_outbound_scid_alias(this_ptr: number, val: nu
 }
        // struct LDKCOption_u64Z ChannelDetails_get_inbound_scid_alias(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_inbound_scid_alias(this_ptr: number): number {
+export function ChannelDetails_get_inbound_scid_alias(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19643,7 +19689,7 @@ export function ChannelDetails_get_inbound_scid_alias(this_ptr: number): number
 }
        // void ChannelDetails_set_inbound_scid_alias(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelDetails_set_inbound_scid_alias(this_ptr: number, val: number): void {
+export function ChannelDetails_set_inbound_scid_alias(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19652,7 +19698,7 @@ export function ChannelDetails_set_inbound_scid_alias(this_ptr: number, val: num
 }
        // uint64_t ChannelDetails_get_channel_value_satoshis(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_channel_value_satoshis(this_ptr: number): bigint {
+export function ChannelDetails_get_channel_value_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19661,7 +19707,7 @@ export function ChannelDetails_get_channel_value_satoshis(this_ptr: number): big
 }
        // void ChannelDetails_set_channel_value_satoshis(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelDetails_set_channel_value_satoshis(this_ptr: number, val: bigint): void {
+export function ChannelDetails_set_channel_value_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19670,7 +19716,7 @@ export function ChannelDetails_set_channel_value_satoshis(this_ptr: number, val:
 }
        // struct LDKCOption_u64Z ChannelDetails_get_unspendable_punishment_reserve(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_unspendable_punishment_reserve(this_ptr: number): number {
+export function ChannelDetails_get_unspendable_punishment_reserve(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19679,7 +19725,7 @@ export function ChannelDetails_get_unspendable_punishment_reserve(this_ptr: numb
 }
        // void ChannelDetails_set_unspendable_punishment_reserve(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelDetails_set_unspendable_punishment_reserve(this_ptr: number, val: number): void {
+export function ChannelDetails_set_unspendable_punishment_reserve(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19688,7 +19734,7 @@ export function ChannelDetails_set_unspendable_punishment_reserve(this_ptr: numb
 }
        // uint64_t ChannelDetails_get_user_channel_id(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_user_channel_id(this_ptr: number): bigint {
+export function ChannelDetails_get_user_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19697,7 +19743,7 @@ export function ChannelDetails_get_user_channel_id(this_ptr: number): bigint {
 }
        // void ChannelDetails_set_user_channel_id(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelDetails_set_user_channel_id(this_ptr: number, val: bigint): void {
+export function ChannelDetails_set_user_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19706,7 +19752,7 @@ export function ChannelDetails_set_user_channel_id(this_ptr: number, val: bigint
 }
        // uint64_t ChannelDetails_get_balance_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_balance_msat(this_ptr: number): bigint {
+export function ChannelDetails_get_balance_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19715,7 +19761,7 @@ export function ChannelDetails_get_balance_msat(this_ptr: number): bigint {
 }
        // void ChannelDetails_set_balance_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelDetails_set_balance_msat(this_ptr: number, val: bigint): void {
+export function ChannelDetails_set_balance_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19724,7 +19770,7 @@ export function ChannelDetails_set_balance_msat(this_ptr: number, val: bigint):
 }
        // uint64_t ChannelDetails_get_outbound_capacity_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_outbound_capacity_msat(this_ptr: number): bigint {
+export function ChannelDetails_get_outbound_capacity_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19733,7 +19779,7 @@ export function ChannelDetails_get_outbound_capacity_msat(this_ptr: number): big
 }
        // void ChannelDetails_set_outbound_capacity_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelDetails_set_outbound_capacity_msat(this_ptr: number, val: bigint): void {
+export function ChannelDetails_set_outbound_capacity_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19742,7 +19788,7 @@ export function ChannelDetails_set_outbound_capacity_msat(this_ptr: number, val:
 }
        // uint64_t ChannelDetails_get_next_outbound_htlc_limit_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_next_outbound_htlc_limit_msat(this_ptr: number): bigint {
+export function ChannelDetails_get_next_outbound_htlc_limit_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19751,7 +19797,7 @@ export function ChannelDetails_get_next_outbound_htlc_limit_msat(this_ptr: numbe
 }
        // void ChannelDetails_set_next_outbound_htlc_limit_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelDetails_set_next_outbound_htlc_limit_msat(this_ptr: number, val: bigint): void {
+export function ChannelDetails_set_next_outbound_htlc_limit_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19760,7 +19806,7 @@ export function ChannelDetails_set_next_outbound_htlc_limit_msat(this_ptr: numbe
 }
        // uint64_t ChannelDetails_get_inbound_capacity_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_inbound_capacity_msat(this_ptr: number): bigint {
+export function ChannelDetails_get_inbound_capacity_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19769,7 +19815,7 @@ export function ChannelDetails_get_inbound_capacity_msat(this_ptr: number): bigi
 }
        // void ChannelDetails_set_inbound_capacity_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelDetails_set_inbound_capacity_msat(this_ptr: number, val: bigint): void {
+export function ChannelDetails_set_inbound_capacity_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19778,7 +19824,7 @@ export function ChannelDetails_set_inbound_capacity_msat(this_ptr: number, val:
 }
        // struct LDKCOption_u32Z ChannelDetails_get_confirmations_required(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_confirmations_required(this_ptr: number): number {
+export function ChannelDetails_get_confirmations_required(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19787,7 +19833,7 @@ export function ChannelDetails_get_confirmations_required(this_ptr: number): num
 }
        // void ChannelDetails_set_confirmations_required(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u32Z val);
 /* @internal */
-export function ChannelDetails_set_confirmations_required(this_ptr: number, val: number): void {
+export function ChannelDetails_set_confirmations_required(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19796,7 +19842,7 @@ export function ChannelDetails_set_confirmations_required(this_ptr: number, val:
 }
        // struct LDKCOption_u16Z ChannelDetails_get_force_close_spend_delay(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_force_close_spend_delay(this_ptr: number): number {
+export function ChannelDetails_get_force_close_spend_delay(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19805,7 +19851,7 @@ export function ChannelDetails_get_force_close_spend_delay(this_ptr: number): nu
 }
        // void ChannelDetails_set_force_close_spend_delay(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u16Z val);
 /* @internal */
-export function ChannelDetails_set_force_close_spend_delay(this_ptr: number, val: number): void {
+export function ChannelDetails_set_force_close_spend_delay(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19814,7 +19860,7 @@ export function ChannelDetails_set_force_close_spend_delay(this_ptr: number, val
 }
        // bool ChannelDetails_get_is_outbound(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_is_outbound(this_ptr: number): boolean {
+export function ChannelDetails_get_is_outbound(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19823,7 +19869,7 @@ export function ChannelDetails_get_is_outbound(this_ptr: number): boolean {
 }
        // void ChannelDetails_set_is_outbound(struct LDKChannelDetails *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelDetails_set_is_outbound(this_ptr: number, val: boolean): void {
+export function ChannelDetails_set_is_outbound(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19832,7 +19878,7 @@ export function ChannelDetails_set_is_outbound(this_ptr: number, val: boolean):
 }
        // bool ChannelDetails_get_is_channel_ready(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_is_channel_ready(this_ptr: number): boolean {
+export function ChannelDetails_get_is_channel_ready(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19841,7 +19887,7 @@ export function ChannelDetails_get_is_channel_ready(this_ptr: number): boolean {
 }
        // void ChannelDetails_set_is_channel_ready(struct LDKChannelDetails *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelDetails_set_is_channel_ready(this_ptr: number, val: boolean): void {
+export function ChannelDetails_set_is_channel_ready(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19850,7 +19896,7 @@ export function ChannelDetails_set_is_channel_ready(this_ptr: number, val: boole
 }
        // bool ChannelDetails_get_is_usable(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_is_usable(this_ptr: number): boolean {
+export function ChannelDetails_get_is_usable(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19859,7 +19905,7 @@ export function ChannelDetails_get_is_usable(this_ptr: number): boolean {
 }
        // void ChannelDetails_set_is_usable(struct LDKChannelDetails *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelDetails_set_is_usable(this_ptr: number, val: boolean): void {
+export function ChannelDetails_set_is_usable(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19868,7 +19914,7 @@ export function ChannelDetails_set_is_usable(this_ptr: number, val: boolean): vo
 }
        // bool ChannelDetails_get_is_public(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_is_public(this_ptr: number): boolean {
+export function ChannelDetails_get_is_public(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19877,7 +19923,7 @@ export function ChannelDetails_get_is_public(this_ptr: number): boolean {
 }
        // void ChannelDetails_set_is_public(struct LDKChannelDetails *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelDetails_set_is_public(this_ptr: number, val: boolean): void {
+export function ChannelDetails_set_is_public(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19886,7 +19932,7 @@ export function ChannelDetails_set_is_public(this_ptr: number, val: boolean): vo
 }
        // struct LDKCOption_u64Z ChannelDetails_get_inbound_htlc_minimum_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_inbound_htlc_minimum_msat(this_ptr: number): number {
+export function ChannelDetails_get_inbound_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19895,7 +19941,7 @@ export function ChannelDetails_get_inbound_htlc_minimum_msat(this_ptr: number):
 }
        // void ChannelDetails_set_inbound_htlc_minimum_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelDetails_set_inbound_htlc_minimum_msat(this_ptr: number, val: number): void {
+export function ChannelDetails_set_inbound_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19904,7 +19950,7 @@ export function ChannelDetails_set_inbound_htlc_minimum_msat(this_ptr: number, v
 }
        // struct LDKCOption_u64Z ChannelDetails_get_inbound_htlc_maximum_msat(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_inbound_htlc_maximum_msat(this_ptr: number): number {
+export function ChannelDetails_get_inbound_htlc_maximum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19913,7 +19959,7 @@ export function ChannelDetails_get_inbound_htlc_maximum_msat(this_ptr: number):
 }
        // void ChannelDetails_set_inbound_htlc_maximum_msat(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelDetails_set_inbound_htlc_maximum_msat(this_ptr: number, val: number): void {
+export function ChannelDetails_set_inbound_htlc_maximum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19922,7 +19968,7 @@ export function ChannelDetails_set_inbound_htlc_maximum_msat(this_ptr: number, v
 }
        // struct LDKChannelConfig ChannelDetails_get_config(const struct LDKChannelDetails *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelDetails_get_config(this_ptr: number): number {
+export function ChannelDetails_get_config(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19931,7 +19977,7 @@ export function ChannelDetails_get_config(this_ptr: number): number {
 }
        // void ChannelDetails_set_config(struct LDKChannelDetails *NONNULL_PTR this_ptr, struct LDKChannelConfig val);
 /* @internal */
-export function ChannelDetails_set_config(this_ptr: number, val: number): void {
+export function ChannelDetails_set_config(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19940,16 +19986,16 @@ export function ChannelDetails_set_config(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKChannelDetails ChannelDetails_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKChannelCounterparty counterparty_arg, struct LDKOutPoint funding_txo_arg, struct LDKChannelTypeFeatures channel_type_arg, struct LDKCOption_u64Z short_channel_id_arg, struct LDKCOption_u64Z outbound_scid_alias_arg, struct LDKCOption_u64Z inbound_scid_alias_arg, uint64_t channel_value_satoshis_arg, struct LDKCOption_u64Z unspendable_punishment_reserve_arg, uint64_t user_channel_id_arg, uint64_t balance_msat_arg, uint64_t outbound_capacity_msat_arg, uint64_t next_outbound_htlc_limit_msat_arg, uint64_t inbound_capacity_msat_arg, struct LDKCOption_u32Z confirmations_required_arg, struct LDKCOption_u16Z force_close_spend_delay_arg, bool is_outbound_arg, bool is_channel_ready_arg, bool is_usable_arg, bool is_public_arg, struct LDKCOption_u64Z inbound_htlc_minimum_msat_arg, struct LDKCOption_u64Z inbound_htlc_maximum_msat_arg, struct LDKChannelConfig config_arg);
 /* @internal */
-export function ChannelDetails_new(channel_id_arg: number, counterparty_arg: number, funding_txo_arg: number, channel_type_arg: number, short_channel_id_arg: number, outbound_scid_alias_arg: number, inbound_scid_alias_arg: number, channel_value_satoshis_arg: bigint, unspendable_punishment_reserve_arg: number, user_channel_id_arg: bigint, balance_msat_arg: bigint, outbound_capacity_msat_arg: bigint, next_outbound_htlc_limit_msat_arg: bigint, inbound_capacity_msat_arg: bigint, confirmations_required_arg: number, force_close_spend_delay_arg: number, is_outbound_arg: boolean, is_channel_ready_arg: boolean, is_usable_arg: boolean, is_public_arg: boolean, inbound_htlc_minimum_msat_arg: number, inbound_htlc_maximum_msat_arg: number, config_arg: number): number {
+export function ChannelDetails_new(channel_id_arg: number, counterparty_arg: bigint, funding_txo_arg: bigint, channel_type_arg: bigint, short_channel_id_arg: bigint, outbound_scid_alias_arg: bigint, inbound_scid_alias_arg: bigint, channel_value_satoshis_arg: bigint, unspendable_punishment_reserve_arg: bigint, user_channel_id_arg: bigint, balance_msat_arg: bigint, outbound_capacity_msat_arg: bigint, next_outbound_htlc_limit_msat_arg: bigint, inbound_capacity_msat_arg: bigint, confirmations_required_arg: bigint, force_close_spend_delay_arg: bigint, is_outbound_arg: boolean, is_channel_ready_arg: boolean, is_usable_arg: boolean, is_public_arg: boolean, inbound_htlc_minimum_msat_arg: bigint, inbound_htlc_maximum_msat_arg: bigint, config_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelDetails_new(channel_id_arg, counterparty_arg, funding_txo_arg, channel_type_arg, short_channel_id_arg, outbound_scid_alias_arg, inbound_scid_alias_arg, channel_value_satoshis_arg, unspendable_punishment_reserve_arg, user_channel_id_arg, balance_msat_arg, outbound_capacity_msat_arg, next_outbound_htlc_limit_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg, force_close_spend_delay_arg, is_outbound_arg, is_channel_ready_arg, is_usable_arg, is_public_arg, inbound_htlc_minimum_msat_arg, inbound_htlc_maximum_msat_arg, config_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelDetails_clone_ptr(LDKChannelDetails *NONNULL_PTR arg);
+       // uint64_t ChannelDetails_clone_ptr(LDKChannelDetails *NONNULL_PTR arg);
 /* @internal */
-export function ChannelDetails_clone_ptr(arg: number): number {
+export function ChannelDetails_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19958,7 +20004,7 @@ export function ChannelDetails_clone_ptr(arg: number): number {
 }
        // struct LDKChannelDetails ChannelDetails_clone(const struct LDKChannelDetails *NONNULL_PTR orig);
 /* @internal */
-export function ChannelDetails_clone(orig: number): number {
+export function ChannelDetails_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19967,7 +20013,7 @@ export function ChannelDetails_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKCOption_u64Z ChannelDetails_get_inbound_payment_scid(const struct LDKChannelDetails *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelDetails_get_inbound_payment_scid(this_arg: number): number {
+export function ChannelDetails_get_inbound_payment_scid(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19976,7 +20022,7 @@ export function ChannelDetails_get_inbound_payment_scid(this_arg: number): numbe
 }
        // MUST_USE_RES struct LDKCOption_u64Z ChannelDetails_get_outbound_payment_scid(const struct LDKChannelDetails *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelDetails_get_outbound_payment_scid(this_arg: number): number {
+export function ChannelDetails_get_outbound_payment_scid(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -19985,16 +20031,16 @@ export function ChannelDetails_get_outbound_payment_scid(this_arg: number): numb
 }
        // void PaymentSendFailure_free(struct LDKPaymentSendFailure this_ptr);
 /* @internal */
-export function PaymentSendFailure_free(this_ptr: number): void {
+export function PaymentSendFailure_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PaymentSendFailure_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t PaymentSendFailure_clone_ptr(LDKPaymentSendFailure *NONNULL_PTR arg);
+       // uint64_t PaymentSendFailure_clone_ptr(LDKPaymentSendFailure *NONNULL_PTR arg);
 /* @internal */
-export function PaymentSendFailure_clone_ptr(arg: number): number {
+export function PaymentSendFailure_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20003,7 +20049,7 @@ export function PaymentSendFailure_clone_ptr(arg: number): number {
 }
        // struct LDKPaymentSendFailure PaymentSendFailure_clone(const struct LDKPaymentSendFailure *NONNULL_PTR orig);
 /* @internal */
-export function PaymentSendFailure_clone(orig: number): number {
+export function PaymentSendFailure_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20012,7 +20058,7 @@ export function PaymentSendFailure_clone(orig: number): number {
 }
        // struct LDKPaymentSendFailure PaymentSendFailure_parameter_error(struct LDKAPIError a);
 /* @internal */
-export function PaymentSendFailure_parameter_error(a: number): number {
+export function PaymentSendFailure_parameter_error(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20021,7 +20067,7 @@ export function PaymentSendFailure_parameter_error(a: number): number {
 }
        // struct LDKPaymentSendFailure PaymentSendFailure_path_parameter_error(struct LDKCVec_CResult_NoneAPIErrorZZ a);
 /* @internal */
-export function PaymentSendFailure_path_parameter_error(a: number): number {
+export function PaymentSendFailure_path_parameter_error(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20030,7 +20076,7 @@ export function PaymentSendFailure_path_parameter_error(a: number): number {
 }
        // struct LDKPaymentSendFailure PaymentSendFailure_all_failed_retry_safe(struct LDKCVec_APIErrorZ a);
 /* @internal */
-export function PaymentSendFailure_all_failed_retry_safe(a: number): number {
+export function PaymentSendFailure_all_failed_retry_safe(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20039,7 +20085,7 @@ export function PaymentSendFailure_all_failed_retry_safe(a: number): number {
 }
        // struct LDKPaymentSendFailure PaymentSendFailure_partial_failure(struct LDKCVec_CResult_NoneAPIErrorZZ results, struct LDKRouteParameters failed_paths_retry, struct LDKThirtyTwoBytes payment_id);
 /* @internal */
-export function PaymentSendFailure_partial_failure(results: number, failed_paths_retry: number, payment_id: number): number {
+export function PaymentSendFailure_partial_failure(results: number, failed_paths_retry: bigint, payment_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20048,7 +20094,7 @@ export function PaymentSendFailure_partial_failure(results: number, failed_paths
 }
        // void PhantomRouteHints_free(struct LDKPhantomRouteHints this_obj);
 /* @internal */
-export function PhantomRouteHints_free(this_obj: number): void {
+export function PhantomRouteHints_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20057,7 +20103,7 @@ export function PhantomRouteHints_free(this_obj: number): void {
 }
        // struct LDKCVec_ChannelDetailsZ PhantomRouteHints_get_channels(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr);
 /* @internal */
-export function PhantomRouteHints_get_channels(this_ptr: number): number {
+export function PhantomRouteHints_get_channels(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20066,7 +20112,7 @@ export function PhantomRouteHints_get_channels(this_ptr: number): number {
 }
        // void PhantomRouteHints_set_channels(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, struct LDKCVec_ChannelDetailsZ val);
 /* @internal */
-export function PhantomRouteHints_set_channels(this_ptr: number, val: number): void {
+export function PhantomRouteHints_set_channels(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20075,7 +20121,7 @@ export function PhantomRouteHints_set_channels(this_ptr: number, val: number): v
 }
        // uint64_t PhantomRouteHints_get_phantom_scid(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr);
 /* @internal */
-export function PhantomRouteHints_get_phantom_scid(this_ptr: number): bigint {
+export function PhantomRouteHints_get_phantom_scid(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20084,7 +20130,7 @@ export function PhantomRouteHints_get_phantom_scid(this_ptr: number): bigint {
 }
        // void PhantomRouteHints_set_phantom_scid(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function PhantomRouteHints_set_phantom_scid(this_ptr: number, val: bigint): void {
+export function PhantomRouteHints_set_phantom_scid(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20093,7 +20139,7 @@ export function PhantomRouteHints_set_phantom_scid(this_ptr: number, val: bigint
 }
        // struct LDKPublicKey PhantomRouteHints_get_real_node_pubkey(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr);
 /* @internal */
-export function PhantomRouteHints_get_real_node_pubkey(this_ptr: number): number {
+export function PhantomRouteHints_get_real_node_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20102,7 +20148,7 @@ export function PhantomRouteHints_get_real_node_pubkey(this_ptr: number): number
 }
        // void PhantomRouteHints_set_real_node_pubkey(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function PhantomRouteHints_set_real_node_pubkey(this_ptr: number, val: number): void {
+export function PhantomRouteHints_set_real_node_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20111,16 +20157,16 @@ export function PhantomRouteHints_set_real_node_pubkey(this_ptr: number, val: nu
 }
        // MUST_USE_RES struct LDKPhantomRouteHints PhantomRouteHints_new(struct LDKCVec_ChannelDetailsZ channels_arg, uint64_t phantom_scid_arg, struct LDKPublicKey real_node_pubkey_arg);
 /* @internal */
-export function PhantomRouteHints_new(channels_arg: number, phantom_scid_arg: bigint, real_node_pubkey_arg: number): number {
+export function PhantomRouteHints_new(channels_arg: number, phantom_scid_arg: bigint, real_node_pubkey_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PhantomRouteHints_new(channels_arg, phantom_scid_arg, real_node_pubkey_arg);
        return nativeResponseValue;
 }
-       // uintptr_t PhantomRouteHints_clone_ptr(LDKPhantomRouteHints *NONNULL_PTR arg);
+       // uint64_t PhantomRouteHints_clone_ptr(LDKPhantomRouteHints *NONNULL_PTR arg);
 /* @internal */
-export function PhantomRouteHints_clone_ptr(arg: number): number {
+export function PhantomRouteHints_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20129,7 +20175,7 @@ export function PhantomRouteHints_clone_ptr(arg: number): number {
 }
        // struct LDKPhantomRouteHints PhantomRouteHints_clone(const struct LDKPhantomRouteHints *NONNULL_PTR orig);
 /* @internal */
-export function PhantomRouteHints_clone(orig: number): number {
+export function PhantomRouteHints_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20138,7 +20184,7 @@ export function PhantomRouteHints_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKChannelManager ChannelManager_new(struct LDKFeeEstimator fee_est, struct LDKWatch chain_monitor, struct LDKBroadcasterInterface tx_broadcaster, struct LDKLogger logger, struct LDKKeysInterface keys_manager, struct LDKUserConfig config, struct LDKChainParameters params);
 /* @internal */
-export function ChannelManager_new(fee_est: number, chain_monitor: number, tx_broadcaster: number, logger: number, keys_manager: number, config: number, params: number): number {
+export function ChannelManager_new(fee_est: bigint, chain_monitor: bigint, tx_broadcaster: bigint, logger: bigint, keys_manager: bigint, config: bigint, params: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20147,7 +20193,7 @@ export function ChannelManager_new(fee_est: number, chain_monitor: number, tx_br
 }
        // MUST_USE_RES struct LDKUserConfig ChannelManager_get_current_default_configuration(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_get_current_default_configuration(this_arg: number): number {
+export function ChannelManager_get_current_default_configuration(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20156,7 +20202,7 @@ export function ChannelManager_get_current_default_configuration(this_arg: numbe
 }
        // MUST_USE_RES struct LDKCResult__u832APIErrorZ ChannelManager_create_channel(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKPublicKey their_network_key, uint64_t channel_value_satoshis, uint64_t push_msat, uint64_t user_channel_id, struct LDKUserConfig override_config);
 /* @internal */
-export function ChannelManager_create_channel(this_arg: number, their_network_key: number, channel_value_satoshis: bigint, push_msat: bigint, user_channel_id: bigint, override_config: number): number {
+export function ChannelManager_create_channel(this_arg: bigint, their_network_key: number, channel_value_satoshis: bigint, push_msat: bigint, user_channel_id: bigint, override_config: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20165,7 +20211,7 @@ export function ChannelManager_create_channel(this_arg: number, their_network_ke
 }
        // MUST_USE_RES struct LDKCVec_ChannelDetailsZ ChannelManager_list_channels(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_list_channels(this_arg: number): number {
+export function ChannelManager_list_channels(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20174,7 +20220,7 @@ export function ChannelManager_list_channels(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCVec_ChannelDetailsZ ChannelManager_list_usable_channels(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_list_usable_channels(this_arg: number): number {
+export function ChannelManager_list_usable_channels(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20183,7 +20229,7 @@ export function ChannelManager_list_usable_channels(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_close_channel(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*channel_id)[32], struct LDKPublicKey counterparty_node_id);
 /* @internal */
-export function ChannelManager_close_channel(this_arg: number, channel_id: number, counterparty_node_id: number): number {
+export function ChannelManager_close_channel(this_arg: bigint, channel_id: number, counterparty_node_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20192,7 +20238,7 @@ export function ChannelManager_close_channel(this_arg: number, channel_id: numbe
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_close_channel_with_target_feerate(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*channel_id)[32], struct LDKPublicKey counterparty_node_id, uint32_t target_feerate_sats_per_1000_weight);
 /* @internal */
-export function ChannelManager_close_channel_with_target_feerate(this_arg: number, channel_id: number, counterparty_node_id: number, target_feerate_sats_per_1000_weight: number): number {
+export function ChannelManager_close_channel_with_target_feerate(this_arg: bigint, channel_id: number, counterparty_node_id: number, target_feerate_sats_per_1000_weight: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20201,7 +20247,7 @@ export function ChannelManager_close_channel_with_target_feerate(this_arg: numbe
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_force_close_broadcasting_latest_txn(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*channel_id)[32], struct LDKPublicKey counterparty_node_id);
 /* @internal */
-export function ChannelManager_force_close_broadcasting_latest_txn(this_arg: number, channel_id: number, counterparty_node_id: number): number {
+export function ChannelManager_force_close_broadcasting_latest_txn(this_arg: bigint, channel_id: number, counterparty_node_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20210,7 +20256,7 @@ export function ChannelManager_force_close_broadcasting_latest_txn(this_arg: num
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_force_close_without_broadcasting_txn(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*channel_id)[32], struct LDKPublicKey counterparty_node_id);
 /* @internal */
-export function ChannelManager_force_close_without_broadcasting_txn(this_arg: number, channel_id: number, counterparty_node_id: number): number {
+export function ChannelManager_force_close_without_broadcasting_txn(this_arg: bigint, channel_id: number, counterparty_node_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20219,7 +20265,7 @@ export function ChannelManager_force_close_without_broadcasting_txn(this_arg: nu
 }
        // void ChannelManager_force_close_all_channels_broadcasting_latest_txn(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_force_close_all_channels_broadcasting_latest_txn(this_arg: number): void {
+export function ChannelManager_force_close_all_channels_broadcasting_latest_txn(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20228,7 +20274,7 @@ export function ChannelManager_force_close_all_channels_broadcasting_latest_txn(
 }
        // void ChannelManager_force_close_all_channels_without_broadcasting_txn(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_force_close_all_channels_without_broadcasting_txn(this_arg: number): void {
+export function ChannelManager_force_close_all_channels_without_broadcasting_txn(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20237,7 +20283,7 @@ export function ChannelManager_force_close_all_channels_without_broadcasting_txn
 }
        // MUST_USE_RES struct LDKCResult_PaymentIdPaymentSendFailureZ ChannelManager_send_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret);
 /* @internal */
-export function ChannelManager_send_payment(this_arg: number, route: number, payment_hash: number, payment_secret: number): number {
+export function ChannelManager_send_payment(this_arg: bigint, route: bigint, payment_hash: number, payment_secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20246,7 +20292,7 @@ export function ChannelManager_send_payment(this_arg: number, route: number, pay
 }
        // MUST_USE_RES struct LDKCResult_NonePaymentSendFailureZ ChannelManager_retry_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKThirtyTwoBytes payment_id);
 /* @internal */
-export function ChannelManager_retry_payment(this_arg: number, route: number, payment_id: number): number {
+export function ChannelManager_retry_payment(this_arg: bigint, route: bigint, payment_id: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20255,7 +20301,7 @@ export function ChannelManager_retry_payment(this_arg: number, route: number, pa
 }
        // void ChannelManager_abandon_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_id);
 /* @internal */
-export function ChannelManager_abandon_payment(this_arg: number, payment_id: number): void {
+export function ChannelManager_abandon_payment(this_arg: bigint, payment_id: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20264,7 +20310,7 @@ export function ChannelManager_abandon_payment(this_arg: number, payment_id: num
 }
        // MUST_USE_RES struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ ChannelManager_send_spontaneous_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, const struct LDKRoute *NONNULL_PTR route, struct LDKThirtyTwoBytes payment_preimage);
 /* @internal */
-export function ChannelManager_send_spontaneous_payment(this_arg: number, route: number, payment_preimage: number): number {
+export function ChannelManager_send_spontaneous_payment(this_arg: bigint, route: bigint, payment_preimage: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20273,7 +20319,7 @@ export function ChannelManager_send_spontaneous_payment(this_arg: number, route:
 }
        // MUST_USE_RES struct LDKCResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ ChannelManager_send_probe(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCVec_RouteHopZ hops);
 /* @internal */
-export function ChannelManager_send_probe(this_arg: number, hops: number): number {
+export function ChannelManager_send_probe(this_arg: bigint, hops: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20282,7 +20328,7 @@ export function ChannelManager_send_probe(this_arg: number, hops: number): numbe
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_funding_transaction_generated(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*temporary_channel_id)[32], struct LDKPublicKey counterparty_node_id, struct LDKTransaction funding_transaction);
 /* @internal */
-export function ChannelManager_funding_transaction_generated(this_arg: number, temporary_channel_id: number, counterparty_node_id: number, funding_transaction: number): number {
+export function ChannelManager_funding_transaction_generated(this_arg: bigint, temporary_channel_id: number, counterparty_node_id: number, funding_transaction: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20291,7 +20337,7 @@ export function ChannelManager_funding_transaction_generated(this_arg: number, t
 }
        // void ChannelManager_broadcast_node_announcement(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThreeBytes rgb, struct LDKThirtyTwoBytes alias, struct LDKCVec_NetAddressZ addresses);
 /* @internal */
-export function ChannelManager_broadcast_node_announcement(this_arg: number, rgb: number, alias: number, addresses: number): void {
+export function ChannelManager_broadcast_node_announcement(this_arg: bigint, rgb: number, alias: number, addresses: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20300,7 +20346,7 @@ export function ChannelManager_broadcast_node_announcement(this_arg: number, rgb
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_update_channel_config(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKPublicKey counterparty_node_id, struct LDKCVec_ThirtyTwoBytesZ channel_ids, const struct LDKChannelConfig *NONNULL_PTR config);
 /* @internal */
-export function ChannelManager_update_channel_config(this_arg: number, counterparty_node_id: number, channel_ids: number, config: number): number {
+export function ChannelManager_update_channel_config(this_arg: bigint, counterparty_node_id: number, channel_ids: number, config: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20309,7 +20355,7 @@ export function ChannelManager_update_channel_config(this_arg: number, counterpa
 }
        // void ChannelManager_process_pending_htlc_forwards(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_process_pending_htlc_forwards(this_arg: number): void {
+export function ChannelManager_process_pending_htlc_forwards(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20318,7 +20364,7 @@ export function ChannelManager_process_pending_htlc_forwards(this_arg: number):
 }
        // void ChannelManager_timer_tick_occurred(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_timer_tick_occurred(this_arg: number): void {
+export function ChannelManager_timer_tick_occurred(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20327,7 +20373,7 @@ export function ChannelManager_timer_tick_occurred(this_arg: number): void {
 }
        // void ChannelManager_fail_htlc_backwards(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*payment_hash)[32]);
 /* @internal */
-export function ChannelManager_fail_htlc_backwards(this_arg: number, payment_hash: number): void {
+export function ChannelManager_fail_htlc_backwards(this_arg: bigint, payment_hash: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20336,7 +20382,7 @@ export function ChannelManager_fail_htlc_backwards(this_arg: number, payment_has
 }
        // void ChannelManager_claim_funds(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_preimage);
 /* @internal */
-export function ChannelManager_claim_funds(this_arg: number, payment_preimage: number): void {
+export function ChannelManager_claim_funds(this_arg: bigint, payment_preimage: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20345,7 +20391,7 @@ export function ChannelManager_claim_funds(this_arg: number, payment_preimage: n
 }
        // MUST_USE_RES struct LDKPublicKey ChannelManager_get_our_node_id(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_get_our_node_id(this_arg: number): number {
+export function ChannelManager_get_our_node_id(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20354,7 +20400,7 @@ export function ChannelManager_get_our_node_id(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_accept_inbound_channel(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*temporary_channel_id)[32], struct LDKPublicKey counterparty_node_id, uint64_t user_channel_id);
 /* @internal */
-export function ChannelManager_accept_inbound_channel(this_arg: number, temporary_channel_id: number, counterparty_node_id: number, user_channel_id: bigint): number {
+export function ChannelManager_accept_inbound_channel(this_arg: bigint, temporary_channel_id: number, counterparty_node_id: number, user_channel_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20363,7 +20409,7 @@ export function ChannelManager_accept_inbound_channel(this_arg: number, temporar
 }
        // MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_accept_inbound_channel_from_trusted_peer_0conf(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*temporary_channel_id)[32], struct LDKPublicKey counterparty_node_id, uint64_t user_channel_id);
 /* @internal */
-export function ChannelManager_accept_inbound_channel_from_trusted_peer_0conf(this_arg: number, temporary_channel_id: number, counterparty_node_id: number, user_channel_id: bigint): number {
+export function ChannelManager_accept_inbound_channel_from_trusted_peer_0conf(this_arg: bigint, temporary_channel_id: number, counterparty_node_id: number, user_channel_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20372,7 +20418,7 @@ export function ChannelManager_accept_inbound_channel_from_trusted_peer_0conf(th
 }
        // MUST_USE_RES struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ ChannelManager_create_inbound_payment(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_u64Z min_value_msat, uint32_t invoice_expiry_delta_secs);
 /* @internal */
-export function ChannelManager_create_inbound_payment(this_arg: number, min_value_msat: number, invoice_expiry_delta_secs: number): number {
+export function ChannelManager_create_inbound_payment(this_arg: bigint, min_value_msat: bigint, invoice_expiry_delta_secs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20381,7 +20427,7 @@ export function ChannelManager_create_inbound_payment(this_arg: number, min_valu
 }
        // MUST_USE_RES struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ ChannelManager_create_inbound_payment_legacy(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKCOption_u64Z min_value_msat, uint32_t invoice_expiry_delta_secs);
 /* @internal */
-export function ChannelManager_create_inbound_payment_legacy(this_arg: number, min_value_msat: number, invoice_expiry_delta_secs: number): number {
+export function ChannelManager_create_inbound_payment_legacy(this_arg: bigint, min_value_msat: bigint, invoice_expiry_delta_secs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20390,7 +20436,7 @@ export function ChannelManager_create_inbound_payment_legacy(this_arg: number, m
 }
        // MUST_USE_RES struct LDKCResult_PaymentSecretNoneZ ChannelManager_create_inbound_payment_for_hash(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u64Z min_value_msat, uint32_t invoice_expiry_delta_secs);
 /* @internal */
-export function ChannelManager_create_inbound_payment_for_hash(this_arg: number, payment_hash: number, min_value_msat: number, invoice_expiry_delta_secs: number): number {
+export function ChannelManager_create_inbound_payment_for_hash(this_arg: bigint, payment_hash: number, min_value_msat: bigint, invoice_expiry_delta_secs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20399,7 +20445,7 @@ export function ChannelManager_create_inbound_payment_for_hash(this_arg: number,
 }
        // MUST_USE_RES struct LDKCResult_PaymentSecretAPIErrorZ ChannelManager_create_inbound_payment_for_hash_legacy(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKCOption_u64Z min_value_msat, uint32_t invoice_expiry_delta_secs);
 /* @internal */
-export function ChannelManager_create_inbound_payment_for_hash_legacy(this_arg: number, payment_hash: number, min_value_msat: number, invoice_expiry_delta_secs: number): number {
+export function ChannelManager_create_inbound_payment_for_hash_legacy(this_arg: bigint, payment_hash: number, min_value_msat: bigint, invoice_expiry_delta_secs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20408,7 +20454,7 @@ export function ChannelManager_create_inbound_payment_for_hash_legacy(this_arg:
 }
        // MUST_USE_RES struct LDKCResult_PaymentPreimageAPIErrorZ ChannelManager_get_payment_preimage(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret);
 /* @internal */
-export function ChannelManager_get_payment_preimage(this_arg: number, payment_hash: number, payment_secret: number): number {
+export function ChannelManager_get_payment_preimage(this_arg: bigint, payment_hash: number, payment_secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20417,7 +20463,7 @@ export function ChannelManager_get_payment_preimage(this_arg: number, payment_ha
 }
        // MUST_USE_RES uint64_t ChannelManager_get_phantom_scid(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_get_phantom_scid(this_arg: number): bigint {
+export function ChannelManager_get_phantom_scid(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20426,7 +20472,7 @@ export function ChannelManager_get_phantom_scid(this_arg: number): bigint {
 }
        // MUST_USE_RES struct LDKPhantomRouteHints ChannelManager_get_phantom_route_hints(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_get_phantom_route_hints(this_arg: number): number {
+export function ChannelManager_get_phantom_route_hints(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20435,7 +20481,7 @@ export function ChannelManager_get_phantom_route_hints(this_arg: number): number
 }
        // struct LDKMessageSendEventsProvider ChannelManager_as_MessageSendEventsProvider(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_as_MessageSendEventsProvider(this_arg: number): number {
+export function ChannelManager_as_MessageSendEventsProvider(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20444,7 +20490,7 @@ export function ChannelManager_as_MessageSendEventsProvider(this_arg: number): n
 }
        // struct LDKEventsProvider ChannelManager_as_EventsProvider(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_as_EventsProvider(this_arg: number): number {
+export function ChannelManager_as_EventsProvider(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20453,7 +20499,7 @@ export function ChannelManager_as_EventsProvider(this_arg: number): number {
 }
        // struct LDKListen ChannelManager_as_Listen(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_as_Listen(this_arg: number): number {
+export function ChannelManager_as_Listen(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20462,7 +20508,7 @@ export function ChannelManager_as_Listen(this_arg: number): number {
 }
        // struct LDKConfirm ChannelManager_as_Confirm(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_as_Confirm(this_arg: number): number {
+export function ChannelManager_as_Confirm(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20471,7 +20517,7 @@ export function ChannelManager_as_Confirm(this_arg: number): number {
 }
        // void ChannelManager_await_persistable_update(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_await_persistable_update(this_arg: number): void {
+export function ChannelManager_await_persistable_update(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20480,7 +20526,7 @@ export function ChannelManager_await_persistable_update(this_arg: number): void
 }
        // MUST_USE_RES struct LDKBestBlock ChannelManager_current_best_block(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_current_best_block(this_arg: number): number {
+export function ChannelManager_current_best_block(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20489,7 +20535,7 @@ export function ChannelManager_current_best_block(this_arg: number): number {
 }
        // struct LDKChannelMessageHandler ChannelManager_as_ChannelMessageHandler(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_as_ChannelMessageHandler(this_arg: number): number {
+export function ChannelManager_as_ChannelMessageHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20498,7 +20544,7 @@ export function ChannelManager_as_ChannelMessageHandler(this_arg: number): numbe
 }
        // struct LDKCVec_u8Z CounterpartyForwardingInfo_write(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR obj);
 /* @internal */
-export function CounterpartyForwardingInfo_write(obj: number): number {
+export function CounterpartyForwardingInfo_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20507,7 +20553,7 @@ export function CounterpartyForwardingInfo_write(obj: number): number {
 }
        // struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CounterpartyForwardingInfo_read(struct LDKu8slice ser);
 /* @internal */
-export function CounterpartyForwardingInfo_read(ser: number): number {
+export function CounterpartyForwardingInfo_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20516,7 +20562,7 @@ export function CounterpartyForwardingInfo_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelCounterparty_write(const struct LDKChannelCounterparty *NONNULL_PTR obj);
 /* @internal */
-export function ChannelCounterparty_write(obj: number): number {
+export function ChannelCounterparty_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20525,7 +20571,7 @@ export function ChannelCounterparty_write(obj: number): number {
 }
        // struct LDKCResult_ChannelCounterpartyDecodeErrorZ ChannelCounterparty_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelCounterparty_read(ser: number): number {
+export function ChannelCounterparty_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20534,7 +20580,7 @@ export function ChannelCounterparty_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelDetails_write(const struct LDKChannelDetails *NONNULL_PTR obj);
 /* @internal */
-export function ChannelDetails_write(obj: number): number {
+export function ChannelDetails_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20543,7 +20589,7 @@ export function ChannelDetails_write(obj: number): number {
 }
        // struct LDKCResult_ChannelDetailsDecodeErrorZ ChannelDetails_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelDetails_read(ser: number): number {
+export function ChannelDetails_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20552,7 +20598,7 @@ export function ChannelDetails_read(ser: number): number {
 }
        // struct LDKCVec_u8Z PhantomRouteHints_write(const struct LDKPhantomRouteHints *NONNULL_PTR obj);
 /* @internal */
-export function PhantomRouteHints_write(obj: number): number {
+export function PhantomRouteHints_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20561,7 +20607,7 @@ export function PhantomRouteHints_write(obj: number): number {
 }
        // struct LDKCResult_PhantomRouteHintsDecodeErrorZ PhantomRouteHints_read(struct LDKu8slice ser);
 /* @internal */
-export function PhantomRouteHints_read(ser: number): number {
+export function PhantomRouteHints_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20570,7 +20616,7 @@ export function PhantomRouteHints_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelManager_write(const struct LDKChannelManager *NONNULL_PTR obj);
 /* @internal */
-export function ChannelManager_write(obj: number): number {
+export function ChannelManager_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20579,7 +20625,7 @@ export function ChannelManager_write(obj: number): number {
 }
        // void ChannelManagerReadArgs_free(struct LDKChannelManagerReadArgs this_obj);
 /* @internal */
-export function ChannelManagerReadArgs_free(this_obj: number): void {
+export function ChannelManagerReadArgs_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20588,7 +20634,7 @@ export function ChannelManagerReadArgs_free(this_obj: number): void {
 }
        // const struct LDKKeysInterface *ChannelManagerReadArgs_get_keys_manager(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelManagerReadArgs_get_keys_manager(this_ptr: number): number {
+export function ChannelManagerReadArgs_get_keys_manager(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20597,7 +20643,7 @@ export function ChannelManagerReadArgs_get_keys_manager(this_ptr: number): numbe
 }
        // void ChannelManagerReadArgs_set_keys_manager(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKKeysInterface val);
 /* @internal */
-export function ChannelManagerReadArgs_set_keys_manager(this_ptr: number, val: number): void {
+export function ChannelManagerReadArgs_set_keys_manager(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20606,7 +20652,7 @@ export function ChannelManagerReadArgs_set_keys_manager(this_ptr: number, val: n
 }
        // const struct LDKFeeEstimator *ChannelManagerReadArgs_get_fee_estimator(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelManagerReadArgs_get_fee_estimator(this_ptr: number): number {
+export function ChannelManagerReadArgs_get_fee_estimator(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20615,7 +20661,7 @@ export function ChannelManagerReadArgs_get_fee_estimator(this_ptr: number): numb
 }
        // void ChannelManagerReadArgs_set_fee_estimator(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKFeeEstimator val);
 /* @internal */
-export function ChannelManagerReadArgs_set_fee_estimator(this_ptr: number, val: number): void {
+export function ChannelManagerReadArgs_set_fee_estimator(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20624,7 +20670,7 @@ export function ChannelManagerReadArgs_set_fee_estimator(this_ptr: number, val:
 }
        // const struct LDKWatch *ChannelManagerReadArgs_get_chain_monitor(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelManagerReadArgs_get_chain_monitor(this_ptr: number): number {
+export function ChannelManagerReadArgs_get_chain_monitor(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20633,7 +20679,7 @@ export function ChannelManagerReadArgs_get_chain_monitor(this_ptr: number): numb
 }
        // void ChannelManagerReadArgs_set_chain_monitor(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKWatch val);
 /* @internal */
-export function ChannelManagerReadArgs_set_chain_monitor(this_ptr: number, val: number): void {
+export function ChannelManagerReadArgs_set_chain_monitor(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20642,7 +20688,7 @@ export function ChannelManagerReadArgs_set_chain_monitor(this_ptr: number, val:
 }
        // const struct LDKBroadcasterInterface *ChannelManagerReadArgs_get_tx_broadcaster(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelManagerReadArgs_get_tx_broadcaster(this_ptr: number): number {
+export function ChannelManagerReadArgs_get_tx_broadcaster(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20651,7 +20697,7 @@ export function ChannelManagerReadArgs_get_tx_broadcaster(this_ptr: number): num
 }
        // void ChannelManagerReadArgs_set_tx_broadcaster(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKBroadcasterInterface val);
 /* @internal */
-export function ChannelManagerReadArgs_set_tx_broadcaster(this_ptr: number, val: number): void {
+export function ChannelManagerReadArgs_set_tx_broadcaster(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20660,7 +20706,7 @@ export function ChannelManagerReadArgs_set_tx_broadcaster(this_ptr: number, val:
 }
        // const struct LDKLogger *ChannelManagerReadArgs_get_logger(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelManagerReadArgs_get_logger(this_ptr: number): number {
+export function ChannelManagerReadArgs_get_logger(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20669,7 +20715,7 @@ export function ChannelManagerReadArgs_get_logger(this_ptr: number): number {
 }
        // void ChannelManagerReadArgs_set_logger(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKLogger val);
 /* @internal */
-export function ChannelManagerReadArgs_set_logger(this_ptr: number, val: number): void {
+export function ChannelManagerReadArgs_set_logger(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20678,7 +20724,7 @@ export function ChannelManagerReadArgs_set_logger(this_ptr: number, val: number)
 }
        // struct LDKUserConfig ChannelManagerReadArgs_get_default_config(const struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelManagerReadArgs_get_default_config(this_ptr: number): number {
+export function ChannelManagerReadArgs_get_default_config(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20687,7 +20733,7 @@ export function ChannelManagerReadArgs_get_default_config(this_ptr: number): num
 }
        // void ChannelManagerReadArgs_set_default_config(struct LDKChannelManagerReadArgs *NONNULL_PTR this_ptr, struct LDKUserConfig val);
 /* @internal */
-export function ChannelManagerReadArgs_set_default_config(this_ptr: number, val: number): void {
+export function ChannelManagerReadArgs_set_default_config(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20696,7 +20742,7 @@ export function ChannelManagerReadArgs_set_default_config(this_ptr: number, val:
 }
        // MUST_USE_RES struct LDKChannelManagerReadArgs ChannelManagerReadArgs_new(struct LDKKeysInterface keys_manager, struct LDKFeeEstimator fee_estimator, struct LDKWatch chain_monitor, struct LDKBroadcasterInterface tx_broadcaster, struct LDKLogger logger, struct LDKUserConfig default_config, struct LDKCVec_ChannelMonitorZ channel_monitors);
 /* @internal */
-export function ChannelManagerReadArgs_new(keys_manager: number, fee_estimator: number, chain_monitor: number, tx_broadcaster: number, logger: number, default_config: number, channel_monitors: number): number {
+export function ChannelManagerReadArgs_new(keys_manager: bigint, fee_estimator: bigint, chain_monitor: bigint, tx_broadcaster: bigint, logger: bigint, default_config: bigint, channel_monitors: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20705,7 +20751,7 @@ export function ChannelManagerReadArgs_new(keys_manager: number, fee_estimator:
 }
        // struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ C2Tuple_BlockHashChannelManagerZ_read(struct LDKu8slice ser, struct LDKChannelManagerReadArgs arg);
 /* @internal */
-export function C2Tuple_BlockHashChannelManagerZ_read(ser: number, arg: number): number {
+export function C2Tuple_BlockHashChannelManagerZ_read(ser: number, arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20714,7 +20760,7 @@ export function C2Tuple_BlockHashChannelManagerZ_read(ser: number, arg: number):
 }
        // void ExpandedKey_free(struct LDKExpandedKey this_obj);
 /* @internal */
-export function ExpandedKey_free(this_obj: number): void {
+export function ExpandedKey_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20723,7 +20769,7 @@ export function ExpandedKey_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKExpandedKey ExpandedKey_new(const uint8_t (*key_material)[32]);
 /* @internal */
-export function ExpandedKey_new(key_material: number): number {
+export function ExpandedKey_new(key_material: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20732,7 +20778,7 @@ export function ExpandedKey_new(key_material: number): number {
 }
        // struct LDKCResult_C2Tuple_PaymentHashPaymentSecretZNoneZ create(const struct LDKExpandedKey *NONNULL_PTR keys, struct LDKCOption_u64Z min_value_msat, uint32_t invoice_expiry_delta_secs, const struct LDKKeysInterface *NONNULL_PTR keys_manager, uint64_t current_time);
 /* @internal */
-export function create(keys: number, min_value_msat: number, invoice_expiry_delta_secs: number, keys_manager: number, current_time: bigint): number {
+export function create(keys: bigint, min_value_msat: bigint, invoice_expiry_delta_secs: number, keys_manager: bigint, current_time: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20741,7 +20787,7 @@ export function create(keys: number, min_value_msat: number, invoice_expiry_delt
 }
        // struct LDKCResult_PaymentSecretNoneZ create_from_hash(const struct LDKExpandedKey *NONNULL_PTR keys, struct LDKCOption_u64Z min_value_msat, struct LDKThirtyTwoBytes payment_hash, uint32_t invoice_expiry_delta_secs, uint64_t current_time);
 /* @internal */
-export function create_from_hash(keys: number, min_value_msat: number, payment_hash: number, invoice_expiry_delta_secs: number, current_time: bigint): number {
+export function create_from_hash(keys: bigint, min_value_msat: bigint, payment_hash: number, invoice_expiry_delta_secs: number, current_time: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20750,16 +20796,16 @@ export function create_from_hash(keys: number, min_value_msat: number, payment_h
 }
        // void DecodeError_free(struct LDKDecodeError this_obj);
 /* @internal */
-export function DecodeError_free(this_obj: number): void {
+export function DecodeError_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_DecodeError_free(this_obj);
        // debug statements here
 }
-       // uintptr_t DecodeError_clone_ptr(LDKDecodeError *NONNULL_PTR arg);
+       // uint64_t DecodeError_clone_ptr(LDKDecodeError *NONNULL_PTR arg);
 /* @internal */
-export function DecodeError_clone_ptr(arg: number): number {
+export function DecodeError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20768,7 +20814,7 @@ export function DecodeError_clone_ptr(arg: number): number {
 }
        // struct LDKDecodeError DecodeError_clone(const struct LDKDecodeError *NONNULL_PTR orig);
 /* @internal */
-export function DecodeError_clone(orig: number): number {
+export function DecodeError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20777,7 +20823,7 @@ export function DecodeError_clone(orig: number): number {
 }
        // void Init_free(struct LDKInit this_obj);
 /* @internal */
-export function Init_free(this_obj: number): void {
+export function Init_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20786,7 +20832,7 @@ export function Init_free(this_obj: number): void {
 }
        // struct LDKInitFeatures Init_get_features(const struct LDKInit *NONNULL_PTR this_ptr);
 /* @internal */
-export function Init_get_features(this_ptr: number): number {
+export function Init_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20795,7 +20841,7 @@ export function Init_get_features(this_ptr: number): number {
 }
        // void Init_set_features(struct LDKInit *NONNULL_PTR this_ptr, struct LDKInitFeatures val);
 /* @internal */
-export function Init_set_features(this_ptr: number, val: number): void {
+export function Init_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20804,7 +20850,7 @@ export function Init_set_features(this_ptr: number, val: number): void {
 }
        // struct LDKCOption_NetAddressZ Init_get_remote_network_address(const struct LDKInit *NONNULL_PTR this_ptr);
 /* @internal */
-export function Init_get_remote_network_address(this_ptr: number): number {
+export function Init_get_remote_network_address(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20813,7 +20859,7 @@ export function Init_get_remote_network_address(this_ptr: number): number {
 }
        // void Init_set_remote_network_address(struct LDKInit *NONNULL_PTR this_ptr, struct LDKCOption_NetAddressZ val);
 /* @internal */
-export function Init_set_remote_network_address(this_ptr: number, val: number): void {
+export function Init_set_remote_network_address(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20822,16 +20868,16 @@ export function Init_set_remote_network_address(this_ptr: number, val: number):
 }
        // MUST_USE_RES struct LDKInit Init_new(struct LDKInitFeatures features_arg, struct LDKCOption_NetAddressZ remote_network_address_arg);
 /* @internal */
-export function Init_new(features_arg: number, remote_network_address_arg: number): number {
+export function Init_new(features_arg: bigint, remote_network_address_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Init_new(features_arg, remote_network_address_arg);
        return nativeResponseValue;
 }
-       // uintptr_t Init_clone_ptr(LDKInit *NONNULL_PTR arg);
+       // uint64_t Init_clone_ptr(LDKInit *NONNULL_PTR arg);
 /* @internal */
-export function Init_clone_ptr(arg: number): number {
+export function Init_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20840,7 +20886,7 @@ export function Init_clone_ptr(arg: number): number {
 }
        // struct LDKInit Init_clone(const struct LDKInit *NONNULL_PTR orig);
 /* @internal */
-export function Init_clone(orig: number): number {
+export function Init_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20849,7 +20895,7 @@ export function Init_clone(orig: number): number {
 }
        // void ErrorMessage_free(struct LDKErrorMessage this_obj);
 /* @internal */
-export function ErrorMessage_free(this_obj: number): void {
+export function ErrorMessage_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20858,7 +20904,7 @@ export function ErrorMessage_free(this_obj: number): void {
 }
        // const uint8_t (*ErrorMessage_get_channel_id(const struct LDKErrorMessage *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ErrorMessage_get_channel_id(this_ptr: number): number {
+export function ErrorMessage_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20867,7 +20913,7 @@ export function ErrorMessage_get_channel_id(this_ptr: number): number {
 }
        // void ErrorMessage_set_channel_id(struct LDKErrorMessage *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ErrorMessage_set_channel_id(this_ptr: number, val: number): void {
+export function ErrorMessage_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20876,7 +20922,7 @@ export function ErrorMessage_set_channel_id(this_ptr: number, val: number): void
 }
        // struct LDKStr ErrorMessage_get_data(const struct LDKErrorMessage *NONNULL_PTR this_ptr);
 /* @internal */
-export function ErrorMessage_get_data(this_ptr: number): number {
+export function ErrorMessage_get_data(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20885,7 +20931,7 @@ export function ErrorMessage_get_data(this_ptr: number): number {
 }
        // void ErrorMessage_set_data(struct LDKErrorMessage *NONNULL_PTR this_ptr, struct LDKStr val);
 /* @internal */
-export function ErrorMessage_set_data(this_ptr: number, val: number): void {
+export function ErrorMessage_set_data(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20894,16 +20940,16 @@ export function ErrorMessage_set_data(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKErrorMessage ErrorMessage_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKStr data_arg);
 /* @internal */
-export function ErrorMessage_new(channel_id_arg: number, data_arg: number): number {
+export function ErrorMessage_new(channel_id_arg: number, data_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ErrorMessage_new(channel_id_arg, data_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ErrorMessage_clone_ptr(LDKErrorMessage *NONNULL_PTR arg);
+       // uint64_t ErrorMessage_clone_ptr(LDKErrorMessage *NONNULL_PTR arg);
 /* @internal */
-export function ErrorMessage_clone_ptr(arg: number): number {
+export function ErrorMessage_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20912,7 +20958,7 @@ export function ErrorMessage_clone_ptr(arg: number): number {
 }
        // struct LDKErrorMessage ErrorMessage_clone(const struct LDKErrorMessage *NONNULL_PTR orig);
 /* @internal */
-export function ErrorMessage_clone(orig: number): number {
+export function ErrorMessage_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20921,7 +20967,7 @@ export function ErrorMessage_clone(orig: number): number {
 }
        // void WarningMessage_free(struct LDKWarningMessage this_obj);
 /* @internal */
-export function WarningMessage_free(this_obj: number): void {
+export function WarningMessage_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20930,7 +20976,7 @@ export function WarningMessage_free(this_obj: number): void {
 }
        // const uint8_t (*WarningMessage_get_channel_id(const struct LDKWarningMessage *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function WarningMessage_get_channel_id(this_ptr: number): number {
+export function WarningMessage_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20939,7 +20985,7 @@ export function WarningMessage_get_channel_id(this_ptr: number): number {
 }
        // void WarningMessage_set_channel_id(struct LDKWarningMessage *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function WarningMessage_set_channel_id(this_ptr: number, val: number): void {
+export function WarningMessage_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20948,7 +20994,7 @@ export function WarningMessage_set_channel_id(this_ptr: number, val: number): vo
 }
        // struct LDKStr WarningMessage_get_data(const struct LDKWarningMessage *NONNULL_PTR this_ptr);
 /* @internal */
-export function WarningMessage_get_data(this_ptr: number): number {
+export function WarningMessage_get_data(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20957,7 +21003,7 @@ export function WarningMessage_get_data(this_ptr: number): number {
 }
        // void WarningMessage_set_data(struct LDKWarningMessage *NONNULL_PTR this_ptr, struct LDKStr val);
 /* @internal */
-export function WarningMessage_set_data(this_ptr: number, val: number): void {
+export function WarningMessage_set_data(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20966,16 +21012,16 @@ export function WarningMessage_set_data(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKWarningMessage WarningMessage_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKStr data_arg);
 /* @internal */
-export function WarningMessage_new(channel_id_arg: number, data_arg: number): number {
+export function WarningMessage_new(channel_id_arg: number, data_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_WarningMessage_new(channel_id_arg, data_arg);
        return nativeResponseValue;
 }
-       // uintptr_t WarningMessage_clone_ptr(LDKWarningMessage *NONNULL_PTR arg);
+       // uint64_t WarningMessage_clone_ptr(LDKWarningMessage *NONNULL_PTR arg);
 /* @internal */
-export function WarningMessage_clone_ptr(arg: number): number {
+export function WarningMessage_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20984,7 +21030,7 @@ export function WarningMessage_clone_ptr(arg: number): number {
 }
        // struct LDKWarningMessage WarningMessage_clone(const struct LDKWarningMessage *NONNULL_PTR orig);
 /* @internal */
-export function WarningMessage_clone(orig: number): number {
+export function WarningMessage_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -20993,7 +21039,7 @@ export function WarningMessage_clone(orig: number): number {
 }
        // void Ping_free(struct LDKPing this_obj);
 /* @internal */
-export function Ping_free(this_obj: number): void {
+export function Ping_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21002,7 +21048,7 @@ export function Ping_free(this_obj: number): void {
 }
        // uint16_t Ping_get_ponglen(const struct LDKPing *NONNULL_PTR this_ptr);
 /* @internal */
-export function Ping_get_ponglen(this_ptr: number): number {
+export function Ping_get_ponglen(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21011,7 +21057,7 @@ export function Ping_get_ponglen(this_ptr: number): number {
 }
        // void Ping_set_ponglen(struct LDKPing *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function Ping_set_ponglen(this_ptr: number, val: number): void {
+export function Ping_set_ponglen(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21020,7 +21066,7 @@ export function Ping_set_ponglen(this_ptr: number, val: number): void {
 }
        // uint16_t Ping_get_byteslen(const struct LDKPing *NONNULL_PTR this_ptr);
 /* @internal */
-export function Ping_get_byteslen(this_ptr: number): number {
+export function Ping_get_byteslen(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21029,7 +21075,7 @@ export function Ping_get_byteslen(this_ptr: number): number {
 }
        // void Ping_set_byteslen(struct LDKPing *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function Ping_set_byteslen(this_ptr: number, val: number): void {
+export function Ping_set_byteslen(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21038,16 +21084,16 @@ export function Ping_set_byteslen(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKPing Ping_new(uint16_t ponglen_arg, uint16_t byteslen_arg);
 /* @internal */
-export function Ping_new(ponglen_arg: number, byteslen_arg: number): number {
+export function Ping_new(ponglen_arg: number, byteslen_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Ping_new(ponglen_arg, byteslen_arg);
        return nativeResponseValue;
 }
-       // uintptr_t Ping_clone_ptr(LDKPing *NONNULL_PTR arg);
+       // uint64_t Ping_clone_ptr(LDKPing *NONNULL_PTR arg);
 /* @internal */
-export function Ping_clone_ptr(arg: number): number {
+export function Ping_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21056,7 +21102,7 @@ export function Ping_clone_ptr(arg: number): number {
 }
        // struct LDKPing Ping_clone(const struct LDKPing *NONNULL_PTR orig);
 /* @internal */
-export function Ping_clone(orig: number): number {
+export function Ping_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21065,7 +21111,7 @@ export function Ping_clone(orig: number): number {
 }
        // void Pong_free(struct LDKPong this_obj);
 /* @internal */
-export function Pong_free(this_obj: number): void {
+export function Pong_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21074,7 +21120,7 @@ export function Pong_free(this_obj: number): void {
 }
        // uint16_t Pong_get_byteslen(const struct LDKPong *NONNULL_PTR this_ptr);
 /* @internal */
-export function Pong_get_byteslen(this_ptr: number): number {
+export function Pong_get_byteslen(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21083,7 +21129,7 @@ export function Pong_get_byteslen(this_ptr: number): number {
 }
        // void Pong_set_byteslen(struct LDKPong *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function Pong_set_byteslen(this_ptr: number, val: number): void {
+export function Pong_set_byteslen(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21092,16 +21138,16 @@ export function Pong_set_byteslen(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKPong Pong_new(uint16_t byteslen_arg);
 /* @internal */
-export function Pong_new(byteslen_arg: number): number {
+export function Pong_new(byteslen_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Pong_new(byteslen_arg);
        return nativeResponseValue;
 }
-       // uintptr_t Pong_clone_ptr(LDKPong *NONNULL_PTR arg);
+       // uint64_t Pong_clone_ptr(LDKPong *NONNULL_PTR arg);
 /* @internal */
-export function Pong_clone_ptr(arg: number): number {
+export function Pong_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21110,7 +21156,7 @@ export function Pong_clone_ptr(arg: number): number {
 }
        // struct LDKPong Pong_clone(const struct LDKPong *NONNULL_PTR orig);
 /* @internal */
-export function Pong_clone(orig: number): number {
+export function Pong_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21119,7 +21165,7 @@ export function Pong_clone(orig: number): number {
 }
        // void OpenChannel_free(struct LDKOpenChannel this_obj);
 /* @internal */
-export function OpenChannel_free(this_obj: number): void {
+export function OpenChannel_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21128,7 +21174,7 @@ export function OpenChannel_free(this_obj: number): void {
 }
        // const uint8_t (*OpenChannel_get_chain_hash(const struct LDKOpenChannel *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function OpenChannel_get_chain_hash(this_ptr: number): number {
+export function OpenChannel_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21137,7 +21183,7 @@ export function OpenChannel_get_chain_hash(this_ptr: number): number {
 }
        // void OpenChannel_set_chain_hash(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function OpenChannel_set_chain_hash(this_ptr: number, val: number): void {
+export function OpenChannel_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21146,7 +21192,7 @@ export function OpenChannel_set_chain_hash(this_ptr: number, val: number): void
 }
        // const uint8_t (*OpenChannel_get_temporary_channel_id(const struct LDKOpenChannel *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function OpenChannel_get_temporary_channel_id(this_ptr: number): number {
+export function OpenChannel_get_temporary_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21155,7 +21201,7 @@ export function OpenChannel_get_temporary_channel_id(this_ptr: number): number {
 }
        // void OpenChannel_set_temporary_channel_id(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function OpenChannel_set_temporary_channel_id(this_ptr: number, val: number): void {
+export function OpenChannel_set_temporary_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21164,7 +21210,7 @@ export function OpenChannel_set_temporary_channel_id(this_ptr: number, val: numb
 }
        // uint64_t OpenChannel_get_funding_satoshis(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_funding_satoshis(this_ptr: number): bigint {
+export function OpenChannel_get_funding_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21173,7 +21219,7 @@ export function OpenChannel_get_funding_satoshis(this_ptr: number): bigint {
 }
        // void OpenChannel_set_funding_satoshis(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function OpenChannel_set_funding_satoshis(this_ptr: number, val: bigint): void {
+export function OpenChannel_set_funding_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21182,7 +21228,7 @@ export function OpenChannel_set_funding_satoshis(this_ptr: number, val: bigint):
 }
        // uint64_t OpenChannel_get_push_msat(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_push_msat(this_ptr: number): bigint {
+export function OpenChannel_get_push_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21191,7 +21237,7 @@ export function OpenChannel_get_push_msat(this_ptr: number): bigint {
 }
        // void OpenChannel_set_push_msat(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function OpenChannel_set_push_msat(this_ptr: number, val: bigint): void {
+export function OpenChannel_set_push_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21200,7 +21246,7 @@ export function OpenChannel_set_push_msat(this_ptr: number, val: bigint): void {
 }
        // uint64_t OpenChannel_get_dust_limit_satoshis(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_dust_limit_satoshis(this_ptr: number): bigint {
+export function OpenChannel_get_dust_limit_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21209,7 +21255,7 @@ export function OpenChannel_get_dust_limit_satoshis(this_ptr: number): bigint {
 }
        // void OpenChannel_set_dust_limit_satoshis(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function OpenChannel_set_dust_limit_satoshis(this_ptr: number, val: bigint): void {
+export function OpenChannel_set_dust_limit_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21218,7 +21264,7 @@ export function OpenChannel_set_dust_limit_satoshis(this_ptr: number, val: bigin
 }
        // uint64_t OpenChannel_get_max_htlc_value_in_flight_msat(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_max_htlc_value_in_flight_msat(this_ptr: number): bigint {
+export function OpenChannel_get_max_htlc_value_in_flight_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21227,7 +21273,7 @@ export function OpenChannel_get_max_htlc_value_in_flight_msat(this_ptr: number):
 }
        // void OpenChannel_set_max_htlc_value_in_flight_msat(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function OpenChannel_set_max_htlc_value_in_flight_msat(this_ptr: number, val: bigint): void {
+export function OpenChannel_set_max_htlc_value_in_flight_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21236,7 +21282,7 @@ export function OpenChannel_set_max_htlc_value_in_flight_msat(this_ptr: number,
 }
        // uint64_t OpenChannel_get_channel_reserve_satoshis(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_channel_reserve_satoshis(this_ptr: number): bigint {
+export function OpenChannel_get_channel_reserve_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21245,7 +21291,7 @@ export function OpenChannel_get_channel_reserve_satoshis(this_ptr: number): bigi
 }
        // void OpenChannel_set_channel_reserve_satoshis(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function OpenChannel_set_channel_reserve_satoshis(this_ptr: number, val: bigint): void {
+export function OpenChannel_set_channel_reserve_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21254,7 +21300,7 @@ export function OpenChannel_set_channel_reserve_satoshis(this_ptr: number, val:
 }
        // uint64_t OpenChannel_get_htlc_minimum_msat(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_htlc_minimum_msat(this_ptr: number): bigint {
+export function OpenChannel_get_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21263,7 +21309,7 @@ export function OpenChannel_get_htlc_minimum_msat(this_ptr: number): bigint {
 }
        // void OpenChannel_set_htlc_minimum_msat(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function OpenChannel_set_htlc_minimum_msat(this_ptr: number, val: bigint): void {
+export function OpenChannel_set_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21272,7 +21318,7 @@ export function OpenChannel_set_htlc_minimum_msat(this_ptr: number, val: bigint)
 }
        // uint32_t OpenChannel_get_feerate_per_kw(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_feerate_per_kw(this_ptr: number): number {
+export function OpenChannel_get_feerate_per_kw(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21281,7 +21327,7 @@ export function OpenChannel_get_feerate_per_kw(this_ptr: number): number {
 }
        // void OpenChannel_set_feerate_per_kw(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function OpenChannel_set_feerate_per_kw(this_ptr: number, val: number): void {
+export function OpenChannel_set_feerate_per_kw(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21290,7 +21336,7 @@ export function OpenChannel_set_feerate_per_kw(this_ptr: number, val: number): v
 }
        // uint16_t OpenChannel_get_to_self_delay(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_to_self_delay(this_ptr: number): number {
+export function OpenChannel_get_to_self_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21299,7 +21345,7 @@ export function OpenChannel_get_to_self_delay(this_ptr: number): number {
 }
        // void OpenChannel_set_to_self_delay(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function OpenChannel_set_to_self_delay(this_ptr: number, val: number): void {
+export function OpenChannel_set_to_self_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21308,7 +21354,7 @@ export function OpenChannel_set_to_self_delay(this_ptr: number, val: number): vo
 }
        // uint16_t OpenChannel_get_max_accepted_htlcs(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_max_accepted_htlcs(this_ptr: number): number {
+export function OpenChannel_get_max_accepted_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21317,7 +21363,7 @@ export function OpenChannel_get_max_accepted_htlcs(this_ptr: number): number {
 }
        // void OpenChannel_set_max_accepted_htlcs(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function OpenChannel_set_max_accepted_htlcs(this_ptr: number, val: number): void {
+export function OpenChannel_set_max_accepted_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21326,7 +21372,7 @@ export function OpenChannel_set_max_accepted_htlcs(this_ptr: number, val: number
 }
        // struct LDKPublicKey OpenChannel_get_funding_pubkey(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_funding_pubkey(this_ptr: number): number {
+export function OpenChannel_get_funding_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21335,7 +21381,7 @@ export function OpenChannel_get_funding_pubkey(this_ptr: number): number {
 }
        // void OpenChannel_set_funding_pubkey(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function OpenChannel_set_funding_pubkey(this_ptr: number, val: number): void {
+export function OpenChannel_set_funding_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21344,7 +21390,7 @@ export function OpenChannel_set_funding_pubkey(this_ptr: number, val: number): v
 }
        // struct LDKPublicKey OpenChannel_get_revocation_basepoint(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_revocation_basepoint(this_ptr: number): number {
+export function OpenChannel_get_revocation_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21353,7 +21399,7 @@ export function OpenChannel_get_revocation_basepoint(this_ptr: number): number {
 }
        // void OpenChannel_set_revocation_basepoint(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function OpenChannel_set_revocation_basepoint(this_ptr: number, val: number): void {
+export function OpenChannel_set_revocation_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21362,7 +21408,7 @@ export function OpenChannel_set_revocation_basepoint(this_ptr: number, val: numb
 }
        // struct LDKPublicKey OpenChannel_get_payment_point(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_payment_point(this_ptr: number): number {
+export function OpenChannel_get_payment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21371,7 +21417,7 @@ export function OpenChannel_get_payment_point(this_ptr: number): number {
 }
        // void OpenChannel_set_payment_point(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function OpenChannel_set_payment_point(this_ptr: number, val: number): void {
+export function OpenChannel_set_payment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21380,7 +21426,7 @@ export function OpenChannel_set_payment_point(this_ptr: number, val: number): vo
 }
        // struct LDKPublicKey OpenChannel_get_delayed_payment_basepoint(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_delayed_payment_basepoint(this_ptr: number): number {
+export function OpenChannel_get_delayed_payment_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21389,7 +21435,7 @@ export function OpenChannel_get_delayed_payment_basepoint(this_ptr: number): num
 }
        // void OpenChannel_set_delayed_payment_basepoint(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function OpenChannel_set_delayed_payment_basepoint(this_ptr: number, val: number): void {
+export function OpenChannel_set_delayed_payment_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21398,7 +21444,7 @@ export function OpenChannel_set_delayed_payment_basepoint(this_ptr: number, val:
 }
        // struct LDKPublicKey OpenChannel_get_htlc_basepoint(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_htlc_basepoint(this_ptr: number): number {
+export function OpenChannel_get_htlc_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21407,7 +21453,7 @@ export function OpenChannel_get_htlc_basepoint(this_ptr: number): number {
 }
        // void OpenChannel_set_htlc_basepoint(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function OpenChannel_set_htlc_basepoint(this_ptr: number, val: number): void {
+export function OpenChannel_set_htlc_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21416,7 +21462,7 @@ export function OpenChannel_set_htlc_basepoint(this_ptr: number, val: number): v
 }
        // struct LDKPublicKey OpenChannel_get_first_per_commitment_point(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_first_per_commitment_point(this_ptr: number): number {
+export function OpenChannel_get_first_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21425,7 +21471,7 @@ export function OpenChannel_get_first_per_commitment_point(this_ptr: number): nu
 }
        // void OpenChannel_set_first_per_commitment_point(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function OpenChannel_set_first_per_commitment_point(this_ptr: number, val: number): void {
+export function OpenChannel_set_first_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21434,7 +21480,7 @@ export function OpenChannel_set_first_per_commitment_point(this_ptr: number, val
 }
        // uint8_t OpenChannel_get_channel_flags(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_channel_flags(this_ptr: number): number {
+export function OpenChannel_get_channel_flags(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21443,7 +21489,7 @@ export function OpenChannel_get_channel_flags(this_ptr: number): number {
 }
        // void OpenChannel_set_channel_flags(struct LDKOpenChannel *NONNULL_PTR this_ptr, uint8_t val);
 /* @internal */
-export function OpenChannel_set_channel_flags(this_ptr: number, val: number): void {
+export function OpenChannel_set_channel_flags(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21452,7 +21498,7 @@ export function OpenChannel_set_channel_flags(this_ptr: number, val: number): vo
 }
        // struct LDKChannelTypeFeatures OpenChannel_get_channel_type(const struct LDKOpenChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function OpenChannel_get_channel_type(this_ptr: number): number {
+export function OpenChannel_get_channel_type(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21461,16 +21507,16 @@ export function OpenChannel_get_channel_type(this_ptr: number): number {
 }
        // void OpenChannel_set_channel_type(struct LDKOpenChannel *NONNULL_PTR this_ptr, struct LDKChannelTypeFeatures val);
 /* @internal */
-export function OpenChannel_set_channel_type(this_ptr: number, val: number): void {
+export function OpenChannel_set_channel_type(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_OpenChannel_set_channel_type(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t OpenChannel_clone_ptr(LDKOpenChannel *NONNULL_PTR arg);
+       // uint64_t OpenChannel_clone_ptr(LDKOpenChannel *NONNULL_PTR arg);
 /* @internal */
-export function OpenChannel_clone_ptr(arg: number): number {
+export function OpenChannel_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21479,7 +21525,7 @@ export function OpenChannel_clone_ptr(arg: number): number {
 }
        // struct LDKOpenChannel OpenChannel_clone(const struct LDKOpenChannel *NONNULL_PTR orig);
 /* @internal */
-export function OpenChannel_clone(orig: number): number {
+export function OpenChannel_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21488,7 +21534,7 @@ export function OpenChannel_clone(orig: number): number {
 }
        // void AcceptChannel_free(struct LDKAcceptChannel this_obj);
 /* @internal */
-export function AcceptChannel_free(this_obj: number): void {
+export function AcceptChannel_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21497,7 +21543,7 @@ export function AcceptChannel_free(this_obj: number): void {
 }
        // const uint8_t (*AcceptChannel_get_temporary_channel_id(const struct LDKAcceptChannel *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function AcceptChannel_get_temporary_channel_id(this_ptr: number): number {
+export function AcceptChannel_get_temporary_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21506,7 +21552,7 @@ export function AcceptChannel_get_temporary_channel_id(this_ptr: number): number
 }
        // void AcceptChannel_set_temporary_channel_id(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function AcceptChannel_set_temporary_channel_id(this_ptr: number, val: number): void {
+export function AcceptChannel_set_temporary_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21515,7 +21561,7 @@ export function AcceptChannel_set_temporary_channel_id(this_ptr: number, val: nu
 }
        // uint64_t AcceptChannel_get_dust_limit_satoshis(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_dust_limit_satoshis(this_ptr: number): bigint {
+export function AcceptChannel_get_dust_limit_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21524,7 +21570,7 @@ export function AcceptChannel_get_dust_limit_satoshis(this_ptr: number): bigint
 }
        // void AcceptChannel_set_dust_limit_satoshis(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function AcceptChannel_set_dust_limit_satoshis(this_ptr: number, val: bigint): void {
+export function AcceptChannel_set_dust_limit_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21533,7 +21579,7 @@ export function AcceptChannel_set_dust_limit_satoshis(this_ptr: number, val: big
 }
        // uint64_t AcceptChannel_get_max_htlc_value_in_flight_msat(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_max_htlc_value_in_flight_msat(this_ptr: number): bigint {
+export function AcceptChannel_get_max_htlc_value_in_flight_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21542,7 +21588,7 @@ export function AcceptChannel_get_max_htlc_value_in_flight_msat(this_ptr: number
 }
        // void AcceptChannel_set_max_htlc_value_in_flight_msat(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function AcceptChannel_set_max_htlc_value_in_flight_msat(this_ptr: number, val: bigint): void {
+export function AcceptChannel_set_max_htlc_value_in_flight_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21551,7 +21597,7 @@ export function AcceptChannel_set_max_htlc_value_in_flight_msat(this_ptr: number
 }
        // uint64_t AcceptChannel_get_channel_reserve_satoshis(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_channel_reserve_satoshis(this_ptr: number): bigint {
+export function AcceptChannel_get_channel_reserve_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21560,7 +21606,7 @@ export function AcceptChannel_get_channel_reserve_satoshis(this_ptr: number): bi
 }
        // void AcceptChannel_set_channel_reserve_satoshis(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function AcceptChannel_set_channel_reserve_satoshis(this_ptr: number, val: bigint): void {
+export function AcceptChannel_set_channel_reserve_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21569,7 +21615,7 @@ export function AcceptChannel_set_channel_reserve_satoshis(this_ptr: number, val
 }
        // uint64_t AcceptChannel_get_htlc_minimum_msat(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_htlc_minimum_msat(this_ptr: number): bigint {
+export function AcceptChannel_get_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21578,7 +21624,7 @@ export function AcceptChannel_get_htlc_minimum_msat(this_ptr: number): bigint {
 }
        // void AcceptChannel_set_htlc_minimum_msat(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function AcceptChannel_set_htlc_minimum_msat(this_ptr: number, val: bigint): void {
+export function AcceptChannel_set_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21587,7 +21633,7 @@ export function AcceptChannel_set_htlc_minimum_msat(this_ptr: number, val: bigin
 }
        // uint32_t AcceptChannel_get_minimum_depth(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_minimum_depth(this_ptr: number): number {
+export function AcceptChannel_get_minimum_depth(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21596,7 +21642,7 @@ export function AcceptChannel_get_minimum_depth(this_ptr: number): number {
 }
        // void AcceptChannel_set_minimum_depth(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function AcceptChannel_set_minimum_depth(this_ptr: number, val: number): void {
+export function AcceptChannel_set_minimum_depth(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21605,7 +21651,7 @@ export function AcceptChannel_set_minimum_depth(this_ptr: number, val: number):
 }
        // uint16_t AcceptChannel_get_to_self_delay(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_to_self_delay(this_ptr: number): number {
+export function AcceptChannel_get_to_self_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21614,7 +21660,7 @@ export function AcceptChannel_get_to_self_delay(this_ptr: number): number {
 }
        // void AcceptChannel_set_to_self_delay(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function AcceptChannel_set_to_self_delay(this_ptr: number, val: number): void {
+export function AcceptChannel_set_to_self_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21623,7 +21669,7 @@ export function AcceptChannel_set_to_self_delay(this_ptr: number, val: number):
 }
        // uint16_t AcceptChannel_get_max_accepted_htlcs(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_max_accepted_htlcs(this_ptr: number): number {
+export function AcceptChannel_get_max_accepted_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21632,7 +21678,7 @@ export function AcceptChannel_get_max_accepted_htlcs(this_ptr: number): number {
 }
        // void AcceptChannel_set_max_accepted_htlcs(struct LDKAcceptChannel *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function AcceptChannel_set_max_accepted_htlcs(this_ptr: number, val: number): void {
+export function AcceptChannel_set_max_accepted_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21641,7 +21687,7 @@ export function AcceptChannel_set_max_accepted_htlcs(this_ptr: number, val: numb
 }
        // struct LDKPublicKey AcceptChannel_get_funding_pubkey(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_funding_pubkey(this_ptr: number): number {
+export function AcceptChannel_get_funding_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21650,7 +21696,7 @@ export function AcceptChannel_get_funding_pubkey(this_ptr: number): number {
 }
        // void AcceptChannel_set_funding_pubkey(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function AcceptChannel_set_funding_pubkey(this_ptr: number, val: number): void {
+export function AcceptChannel_set_funding_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21659,7 +21705,7 @@ export function AcceptChannel_set_funding_pubkey(this_ptr: number, val: number):
 }
        // struct LDKPublicKey AcceptChannel_get_revocation_basepoint(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_revocation_basepoint(this_ptr: number): number {
+export function AcceptChannel_get_revocation_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21668,7 +21714,7 @@ export function AcceptChannel_get_revocation_basepoint(this_ptr: number): number
 }
        // void AcceptChannel_set_revocation_basepoint(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function AcceptChannel_set_revocation_basepoint(this_ptr: number, val: number): void {
+export function AcceptChannel_set_revocation_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21677,7 +21723,7 @@ export function AcceptChannel_set_revocation_basepoint(this_ptr: number, val: nu
 }
        // struct LDKPublicKey AcceptChannel_get_payment_point(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_payment_point(this_ptr: number): number {
+export function AcceptChannel_get_payment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21686,7 +21732,7 @@ export function AcceptChannel_get_payment_point(this_ptr: number): number {
 }
        // void AcceptChannel_set_payment_point(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function AcceptChannel_set_payment_point(this_ptr: number, val: number): void {
+export function AcceptChannel_set_payment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21695,7 +21741,7 @@ export function AcceptChannel_set_payment_point(this_ptr: number, val: number):
 }
        // struct LDKPublicKey AcceptChannel_get_delayed_payment_basepoint(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_delayed_payment_basepoint(this_ptr: number): number {
+export function AcceptChannel_get_delayed_payment_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21704,7 +21750,7 @@ export function AcceptChannel_get_delayed_payment_basepoint(this_ptr: number): n
 }
        // void AcceptChannel_set_delayed_payment_basepoint(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function AcceptChannel_set_delayed_payment_basepoint(this_ptr: number, val: number): void {
+export function AcceptChannel_set_delayed_payment_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21713,7 +21759,7 @@ export function AcceptChannel_set_delayed_payment_basepoint(this_ptr: number, va
 }
        // struct LDKPublicKey AcceptChannel_get_htlc_basepoint(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_htlc_basepoint(this_ptr: number): number {
+export function AcceptChannel_get_htlc_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21722,7 +21768,7 @@ export function AcceptChannel_get_htlc_basepoint(this_ptr: number): number {
 }
        // void AcceptChannel_set_htlc_basepoint(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function AcceptChannel_set_htlc_basepoint(this_ptr: number, val: number): void {
+export function AcceptChannel_set_htlc_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21731,7 +21777,7 @@ export function AcceptChannel_set_htlc_basepoint(this_ptr: number, val: number):
 }
        // struct LDKPublicKey AcceptChannel_get_first_per_commitment_point(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_first_per_commitment_point(this_ptr: number): number {
+export function AcceptChannel_get_first_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21740,7 +21786,7 @@ export function AcceptChannel_get_first_per_commitment_point(this_ptr: number):
 }
        // void AcceptChannel_set_first_per_commitment_point(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function AcceptChannel_set_first_per_commitment_point(this_ptr: number, val: number): void {
+export function AcceptChannel_set_first_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21749,7 +21795,7 @@ export function AcceptChannel_set_first_per_commitment_point(this_ptr: number, v
 }
        // struct LDKChannelTypeFeatures AcceptChannel_get_channel_type(const struct LDKAcceptChannel *NONNULL_PTR this_ptr);
 /* @internal */
-export function AcceptChannel_get_channel_type(this_ptr: number): number {
+export function AcceptChannel_get_channel_type(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21758,16 +21804,16 @@ export function AcceptChannel_get_channel_type(this_ptr: number): number {
 }
        // void AcceptChannel_set_channel_type(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKChannelTypeFeatures val);
 /* @internal */
-export function AcceptChannel_set_channel_type(this_ptr: number, val: number): void {
+export function AcceptChannel_set_channel_type(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_AcceptChannel_set_channel_type(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t AcceptChannel_clone_ptr(LDKAcceptChannel *NONNULL_PTR arg);
+       // uint64_t AcceptChannel_clone_ptr(LDKAcceptChannel *NONNULL_PTR arg);
 /* @internal */
-export function AcceptChannel_clone_ptr(arg: number): number {
+export function AcceptChannel_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21776,7 +21822,7 @@ export function AcceptChannel_clone_ptr(arg: number): number {
 }
        // struct LDKAcceptChannel AcceptChannel_clone(const struct LDKAcceptChannel *NONNULL_PTR orig);
 /* @internal */
-export function AcceptChannel_clone(orig: number): number {
+export function AcceptChannel_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21785,7 +21831,7 @@ export function AcceptChannel_clone(orig: number): number {
 }
        // void FundingCreated_free(struct LDKFundingCreated this_obj);
 /* @internal */
-export function FundingCreated_free(this_obj: number): void {
+export function FundingCreated_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21794,7 +21840,7 @@ export function FundingCreated_free(this_obj: number): void {
 }
        // const uint8_t (*FundingCreated_get_temporary_channel_id(const struct LDKFundingCreated *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function FundingCreated_get_temporary_channel_id(this_ptr: number): number {
+export function FundingCreated_get_temporary_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21803,7 +21849,7 @@ export function FundingCreated_get_temporary_channel_id(this_ptr: number): numbe
 }
        // void FundingCreated_set_temporary_channel_id(struct LDKFundingCreated *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function FundingCreated_set_temporary_channel_id(this_ptr: number, val: number): void {
+export function FundingCreated_set_temporary_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21812,7 +21858,7 @@ export function FundingCreated_set_temporary_channel_id(this_ptr: number, val: n
 }
        // const uint8_t (*FundingCreated_get_funding_txid(const struct LDKFundingCreated *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function FundingCreated_get_funding_txid(this_ptr: number): number {
+export function FundingCreated_get_funding_txid(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21821,7 +21867,7 @@ export function FundingCreated_get_funding_txid(this_ptr: number): number {
 }
        // void FundingCreated_set_funding_txid(struct LDKFundingCreated *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function FundingCreated_set_funding_txid(this_ptr: number, val: number): void {
+export function FundingCreated_set_funding_txid(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21830,7 +21876,7 @@ export function FundingCreated_set_funding_txid(this_ptr: number, val: number):
 }
        // uint16_t FundingCreated_get_funding_output_index(const struct LDKFundingCreated *NONNULL_PTR this_ptr);
 /* @internal */
-export function FundingCreated_get_funding_output_index(this_ptr: number): number {
+export function FundingCreated_get_funding_output_index(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21839,7 +21885,7 @@ export function FundingCreated_get_funding_output_index(this_ptr: number): numbe
 }
        // void FundingCreated_set_funding_output_index(struct LDKFundingCreated *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function FundingCreated_set_funding_output_index(this_ptr: number, val: number): void {
+export function FundingCreated_set_funding_output_index(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21848,7 +21894,7 @@ export function FundingCreated_set_funding_output_index(this_ptr: number, val: n
 }
        // struct LDKSignature FundingCreated_get_signature(const struct LDKFundingCreated *NONNULL_PTR this_ptr);
 /* @internal */
-export function FundingCreated_get_signature(this_ptr: number): number {
+export function FundingCreated_get_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21857,7 +21903,7 @@ export function FundingCreated_get_signature(this_ptr: number): number {
 }
        // void FundingCreated_set_signature(struct LDKFundingCreated *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function FundingCreated_set_signature(this_ptr: number, val: number): void {
+export function FundingCreated_set_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21866,16 +21912,16 @@ export function FundingCreated_set_signature(this_ptr: number, val: number): voi
 }
        // MUST_USE_RES struct LDKFundingCreated FundingCreated_new(struct LDKThirtyTwoBytes temporary_channel_id_arg, struct LDKThirtyTwoBytes funding_txid_arg, uint16_t funding_output_index_arg, struct LDKSignature signature_arg);
 /* @internal */
-export function FundingCreated_new(temporary_channel_id_arg: number, funding_txid_arg: number, funding_output_index_arg: number, signature_arg: number): number {
+export function FundingCreated_new(temporary_channel_id_arg: number, funding_txid_arg: number, funding_output_index_arg: number, signature_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_FundingCreated_new(temporary_channel_id_arg, funding_txid_arg, funding_output_index_arg, signature_arg);
        return nativeResponseValue;
 }
-       // uintptr_t FundingCreated_clone_ptr(LDKFundingCreated *NONNULL_PTR arg);
+       // uint64_t FundingCreated_clone_ptr(LDKFundingCreated *NONNULL_PTR arg);
 /* @internal */
-export function FundingCreated_clone_ptr(arg: number): number {
+export function FundingCreated_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21884,7 +21930,7 @@ export function FundingCreated_clone_ptr(arg: number): number {
 }
        // struct LDKFundingCreated FundingCreated_clone(const struct LDKFundingCreated *NONNULL_PTR orig);
 /* @internal */
-export function FundingCreated_clone(orig: number): number {
+export function FundingCreated_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21893,7 +21939,7 @@ export function FundingCreated_clone(orig: number): number {
 }
        // void FundingSigned_free(struct LDKFundingSigned this_obj);
 /* @internal */
-export function FundingSigned_free(this_obj: number): void {
+export function FundingSigned_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21902,7 +21948,7 @@ export function FundingSigned_free(this_obj: number): void {
 }
        // const uint8_t (*FundingSigned_get_channel_id(const struct LDKFundingSigned *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function FundingSigned_get_channel_id(this_ptr: number): number {
+export function FundingSigned_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21911,7 +21957,7 @@ export function FundingSigned_get_channel_id(this_ptr: number): number {
 }
        // void FundingSigned_set_channel_id(struct LDKFundingSigned *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function FundingSigned_set_channel_id(this_ptr: number, val: number): void {
+export function FundingSigned_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21920,7 +21966,7 @@ export function FundingSigned_set_channel_id(this_ptr: number, val: number): voi
 }
        // struct LDKSignature FundingSigned_get_signature(const struct LDKFundingSigned *NONNULL_PTR this_ptr);
 /* @internal */
-export function FundingSigned_get_signature(this_ptr: number): number {
+export function FundingSigned_get_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21929,7 +21975,7 @@ export function FundingSigned_get_signature(this_ptr: number): number {
 }
        // void FundingSigned_set_signature(struct LDKFundingSigned *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function FundingSigned_set_signature(this_ptr: number, val: number): void {
+export function FundingSigned_set_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21938,16 +21984,16 @@ export function FundingSigned_set_signature(this_ptr: number, val: number): void
 }
        // MUST_USE_RES struct LDKFundingSigned FundingSigned_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKSignature signature_arg);
 /* @internal */
-export function FundingSigned_new(channel_id_arg: number, signature_arg: number): number {
+export function FundingSigned_new(channel_id_arg: number, signature_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_FundingSigned_new(channel_id_arg, signature_arg);
        return nativeResponseValue;
 }
-       // uintptr_t FundingSigned_clone_ptr(LDKFundingSigned *NONNULL_PTR arg);
+       // uint64_t FundingSigned_clone_ptr(LDKFundingSigned *NONNULL_PTR arg);
 /* @internal */
-export function FundingSigned_clone_ptr(arg: number): number {
+export function FundingSigned_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21956,7 +22002,7 @@ export function FundingSigned_clone_ptr(arg: number): number {
 }
        // struct LDKFundingSigned FundingSigned_clone(const struct LDKFundingSigned *NONNULL_PTR orig);
 /* @internal */
-export function FundingSigned_clone(orig: number): number {
+export function FundingSigned_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21965,7 +22011,7 @@ export function FundingSigned_clone(orig: number): number {
 }
        // void ChannelReady_free(struct LDKChannelReady this_obj);
 /* @internal */
-export function ChannelReady_free(this_obj: number): void {
+export function ChannelReady_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21974,7 +22020,7 @@ export function ChannelReady_free(this_obj: number): void {
 }
        // const uint8_t (*ChannelReady_get_channel_id(const struct LDKChannelReady *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ChannelReady_get_channel_id(this_ptr: number): number {
+export function ChannelReady_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21983,7 +22029,7 @@ export function ChannelReady_get_channel_id(this_ptr: number): number {
 }
        // void ChannelReady_set_channel_id(struct LDKChannelReady *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ChannelReady_set_channel_id(this_ptr: number, val: number): void {
+export function ChannelReady_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -21992,7 +22038,7 @@ export function ChannelReady_set_channel_id(this_ptr: number, val: number): void
 }
        // struct LDKPublicKey ChannelReady_get_next_per_commitment_point(const struct LDKChannelReady *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelReady_get_next_per_commitment_point(this_ptr: number): number {
+export function ChannelReady_get_next_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22001,7 +22047,7 @@ export function ChannelReady_get_next_per_commitment_point(this_ptr: number): nu
 }
        // void ChannelReady_set_next_per_commitment_point(struct LDKChannelReady *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelReady_set_next_per_commitment_point(this_ptr: number, val: number): void {
+export function ChannelReady_set_next_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22010,7 +22056,7 @@ export function ChannelReady_set_next_per_commitment_point(this_ptr: number, val
 }
        // struct LDKCOption_u64Z ChannelReady_get_short_channel_id_alias(const struct LDKChannelReady *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelReady_get_short_channel_id_alias(this_ptr: number): number {
+export function ChannelReady_get_short_channel_id_alias(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22019,7 +22065,7 @@ export function ChannelReady_get_short_channel_id_alias(this_ptr: number): numbe
 }
        // void ChannelReady_set_short_channel_id_alias(struct LDKChannelReady *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelReady_set_short_channel_id_alias(this_ptr: number, val: number): void {
+export function ChannelReady_set_short_channel_id_alias(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22028,16 +22074,16 @@ export function ChannelReady_set_short_channel_id_alias(this_ptr: number, val: n
 }
        // MUST_USE_RES struct LDKChannelReady ChannelReady_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKPublicKey next_per_commitment_point_arg, struct LDKCOption_u64Z short_channel_id_alias_arg);
 /* @internal */
-export function ChannelReady_new(channel_id_arg: number, next_per_commitment_point_arg: number, short_channel_id_alias_arg: number): number {
+export function ChannelReady_new(channel_id_arg: number, next_per_commitment_point_arg: number, short_channel_id_alias_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelReady_new(channel_id_arg, next_per_commitment_point_arg, short_channel_id_alias_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelReady_clone_ptr(LDKChannelReady *NONNULL_PTR arg);
+       // uint64_t ChannelReady_clone_ptr(LDKChannelReady *NONNULL_PTR arg);
 /* @internal */
-export function ChannelReady_clone_ptr(arg: number): number {
+export function ChannelReady_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22046,7 +22092,7 @@ export function ChannelReady_clone_ptr(arg: number): number {
 }
        // struct LDKChannelReady ChannelReady_clone(const struct LDKChannelReady *NONNULL_PTR orig);
 /* @internal */
-export function ChannelReady_clone(orig: number): number {
+export function ChannelReady_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22055,7 +22101,7 @@ export function ChannelReady_clone(orig: number): number {
 }
        // void Shutdown_free(struct LDKShutdown this_obj);
 /* @internal */
-export function Shutdown_free(this_obj: number): void {
+export function Shutdown_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22064,7 +22110,7 @@ export function Shutdown_free(this_obj: number): void {
 }
        // const uint8_t (*Shutdown_get_channel_id(const struct LDKShutdown *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function Shutdown_get_channel_id(this_ptr: number): number {
+export function Shutdown_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22073,7 +22119,7 @@ export function Shutdown_get_channel_id(this_ptr: number): number {
 }
        // void Shutdown_set_channel_id(struct LDKShutdown *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function Shutdown_set_channel_id(this_ptr: number, val: number): void {
+export function Shutdown_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22082,7 +22128,7 @@ export function Shutdown_set_channel_id(this_ptr: number, val: number): void {
 }
        // struct LDKu8slice Shutdown_get_scriptpubkey(const struct LDKShutdown *NONNULL_PTR this_ptr);
 /* @internal */
-export function Shutdown_get_scriptpubkey(this_ptr: number): number {
+export function Shutdown_get_scriptpubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22091,7 +22137,7 @@ export function Shutdown_get_scriptpubkey(this_ptr: number): number {
 }
        // void Shutdown_set_scriptpubkey(struct LDKShutdown *NONNULL_PTR this_ptr, struct LDKCVec_u8Z val);
 /* @internal */
-export function Shutdown_set_scriptpubkey(this_ptr: number, val: number): void {
+export function Shutdown_set_scriptpubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22100,16 +22146,16 @@ export function Shutdown_set_scriptpubkey(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKShutdown Shutdown_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKCVec_u8Z scriptpubkey_arg);
 /* @internal */
-export function Shutdown_new(channel_id_arg: number, scriptpubkey_arg: number): number {
+export function Shutdown_new(channel_id_arg: number, scriptpubkey_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Shutdown_new(channel_id_arg, scriptpubkey_arg);
        return nativeResponseValue;
 }
-       // uintptr_t Shutdown_clone_ptr(LDKShutdown *NONNULL_PTR arg);
+       // uint64_t Shutdown_clone_ptr(LDKShutdown *NONNULL_PTR arg);
 /* @internal */
-export function Shutdown_clone_ptr(arg: number): number {
+export function Shutdown_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22118,7 +22164,7 @@ export function Shutdown_clone_ptr(arg: number): number {
 }
        // struct LDKShutdown Shutdown_clone(const struct LDKShutdown *NONNULL_PTR orig);
 /* @internal */
-export function Shutdown_clone(orig: number): number {
+export function Shutdown_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22127,7 +22173,7 @@ export function Shutdown_clone(orig: number): number {
 }
        // void ClosingSignedFeeRange_free(struct LDKClosingSignedFeeRange this_obj);
 /* @internal */
-export function ClosingSignedFeeRange_free(this_obj: number): void {
+export function ClosingSignedFeeRange_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22136,7 +22182,7 @@ export function ClosingSignedFeeRange_free(this_obj: number): void {
 }
        // uint64_t ClosingSignedFeeRange_get_min_fee_satoshis(const struct LDKClosingSignedFeeRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function ClosingSignedFeeRange_get_min_fee_satoshis(this_ptr: number): bigint {
+export function ClosingSignedFeeRange_get_min_fee_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22145,7 +22191,7 @@ export function ClosingSignedFeeRange_get_min_fee_satoshis(this_ptr: number): bi
 }
        // void ClosingSignedFeeRange_set_min_fee_satoshis(struct LDKClosingSignedFeeRange *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ClosingSignedFeeRange_set_min_fee_satoshis(this_ptr: number, val: bigint): void {
+export function ClosingSignedFeeRange_set_min_fee_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22154,7 +22200,7 @@ export function ClosingSignedFeeRange_set_min_fee_satoshis(this_ptr: number, val
 }
        // uint64_t ClosingSignedFeeRange_get_max_fee_satoshis(const struct LDKClosingSignedFeeRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function ClosingSignedFeeRange_get_max_fee_satoshis(this_ptr: number): bigint {
+export function ClosingSignedFeeRange_get_max_fee_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22163,7 +22209,7 @@ export function ClosingSignedFeeRange_get_max_fee_satoshis(this_ptr: number): bi
 }
        // void ClosingSignedFeeRange_set_max_fee_satoshis(struct LDKClosingSignedFeeRange *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ClosingSignedFeeRange_set_max_fee_satoshis(this_ptr: number, val: bigint): void {
+export function ClosingSignedFeeRange_set_max_fee_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22172,16 +22218,16 @@ export function ClosingSignedFeeRange_set_max_fee_satoshis(this_ptr: number, val
 }
        // MUST_USE_RES struct LDKClosingSignedFeeRange ClosingSignedFeeRange_new(uint64_t min_fee_satoshis_arg, uint64_t max_fee_satoshis_arg);
 /* @internal */
-export function ClosingSignedFeeRange_new(min_fee_satoshis_arg: bigint, max_fee_satoshis_arg: bigint): number {
+export function ClosingSignedFeeRange_new(min_fee_satoshis_arg: bigint, max_fee_satoshis_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ClosingSignedFeeRange_new(min_fee_satoshis_arg, max_fee_satoshis_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ClosingSignedFeeRange_clone_ptr(LDKClosingSignedFeeRange *NONNULL_PTR arg);
+       // uint64_t ClosingSignedFeeRange_clone_ptr(LDKClosingSignedFeeRange *NONNULL_PTR arg);
 /* @internal */
-export function ClosingSignedFeeRange_clone_ptr(arg: number): number {
+export function ClosingSignedFeeRange_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22190,7 +22236,7 @@ export function ClosingSignedFeeRange_clone_ptr(arg: number): number {
 }
        // struct LDKClosingSignedFeeRange ClosingSignedFeeRange_clone(const struct LDKClosingSignedFeeRange *NONNULL_PTR orig);
 /* @internal */
-export function ClosingSignedFeeRange_clone(orig: number): number {
+export function ClosingSignedFeeRange_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22199,7 +22245,7 @@ export function ClosingSignedFeeRange_clone(orig: number): number {
 }
        // void ClosingSigned_free(struct LDKClosingSigned this_obj);
 /* @internal */
-export function ClosingSigned_free(this_obj: number): void {
+export function ClosingSigned_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22208,7 +22254,7 @@ export function ClosingSigned_free(this_obj: number): void {
 }
        // const uint8_t (*ClosingSigned_get_channel_id(const struct LDKClosingSigned *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ClosingSigned_get_channel_id(this_ptr: number): number {
+export function ClosingSigned_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22217,7 +22263,7 @@ export function ClosingSigned_get_channel_id(this_ptr: number): number {
 }
        // void ClosingSigned_set_channel_id(struct LDKClosingSigned *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ClosingSigned_set_channel_id(this_ptr: number, val: number): void {
+export function ClosingSigned_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22226,7 +22272,7 @@ export function ClosingSigned_set_channel_id(this_ptr: number, val: number): voi
 }
        // uint64_t ClosingSigned_get_fee_satoshis(const struct LDKClosingSigned *NONNULL_PTR this_ptr);
 /* @internal */
-export function ClosingSigned_get_fee_satoshis(this_ptr: number): bigint {
+export function ClosingSigned_get_fee_satoshis(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22235,7 +22281,7 @@ export function ClosingSigned_get_fee_satoshis(this_ptr: number): bigint {
 }
        // void ClosingSigned_set_fee_satoshis(struct LDKClosingSigned *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ClosingSigned_set_fee_satoshis(this_ptr: number, val: bigint): void {
+export function ClosingSigned_set_fee_satoshis(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22244,7 +22290,7 @@ export function ClosingSigned_set_fee_satoshis(this_ptr: number, val: bigint): v
 }
        // struct LDKSignature ClosingSigned_get_signature(const struct LDKClosingSigned *NONNULL_PTR this_ptr);
 /* @internal */
-export function ClosingSigned_get_signature(this_ptr: number): number {
+export function ClosingSigned_get_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22253,7 +22299,7 @@ export function ClosingSigned_get_signature(this_ptr: number): number {
 }
        // void ClosingSigned_set_signature(struct LDKClosingSigned *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function ClosingSigned_set_signature(this_ptr: number, val: number): void {
+export function ClosingSigned_set_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22262,7 +22308,7 @@ export function ClosingSigned_set_signature(this_ptr: number, val: number): void
 }
        // struct LDKClosingSignedFeeRange ClosingSigned_get_fee_range(const struct LDKClosingSigned *NONNULL_PTR this_ptr);
 /* @internal */
-export function ClosingSigned_get_fee_range(this_ptr: number): number {
+export function ClosingSigned_get_fee_range(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22271,7 +22317,7 @@ export function ClosingSigned_get_fee_range(this_ptr: number): number {
 }
        // void ClosingSigned_set_fee_range(struct LDKClosingSigned *NONNULL_PTR this_ptr, struct LDKClosingSignedFeeRange val);
 /* @internal */
-export function ClosingSigned_set_fee_range(this_ptr: number, val: number): void {
+export function ClosingSigned_set_fee_range(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22280,16 +22326,16 @@ export function ClosingSigned_set_fee_range(this_ptr: number, val: number): void
 }
        // MUST_USE_RES struct LDKClosingSigned ClosingSigned_new(struct LDKThirtyTwoBytes channel_id_arg, uint64_t fee_satoshis_arg, struct LDKSignature signature_arg, struct LDKClosingSignedFeeRange fee_range_arg);
 /* @internal */
-export function ClosingSigned_new(channel_id_arg: number, fee_satoshis_arg: bigint, signature_arg: number, fee_range_arg: number): number {
+export function ClosingSigned_new(channel_id_arg: number, fee_satoshis_arg: bigint, signature_arg: number, fee_range_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ClosingSigned_new(channel_id_arg, fee_satoshis_arg, signature_arg, fee_range_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ClosingSigned_clone_ptr(LDKClosingSigned *NONNULL_PTR arg);
+       // uint64_t ClosingSigned_clone_ptr(LDKClosingSigned *NONNULL_PTR arg);
 /* @internal */
-export function ClosingSigned_clone_ptr(arg: number): number {
+export function ClosingSigned_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22298,7 +22344,7 @@ export function ClosingSigned_clone_ptr(arg: number): number {
 }
        // struct LDKClosingSigned ClosingSigned_clone(const struct LDKClosingSigned *NONNULL_PTR orig);
 /* @internal */
-export function ClosingSigned_clone(orig: number): number {
+export function ClosingSigned_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22307,7 +22353,7 @@ export function ClosingSigned_clone(orig: number): number {
 }
        // void UpdateAddHTLC_free(struct LDKUpdateAddHTLC this_obj);
 /* @internal */
-export function UpdateAddHTLC_free(this_obj: number): void {
+export function UpdateAddHTLC_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22316,7 +22362,7 @@ export function UpdateAddHTLC_free(this_obj: number): void {
 }
        // const uint8_t (*UpdateAddHTLC_get_channel_id(const struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateAddHTLC_get_channel_id(this_ptr: number): number {
+export function UpdateAddHTLC_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22325,7 +22371,7 @@ export function UpdateAddHTLC_get_channel_id(this_ptr: number): number {
 }
        // void UpdateAddHTLC_set_channel_id(struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateAddHTLC_set_channel_id(this_ptr: number, val: number): void {
+export function UpdateAddHTLC_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22334,7 +22380,7 @@ export function UpdateAddHTLC_set_channel_id(this_ptr: number, val: number): voi
 }
        // uint64_t UpdateAddHTLC_get_htlc_id(const struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateAddHTLC_get_htlc_id(this_ptr: number): bigint {
+export function UpdateAddHTLC_get_htlc_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22343,7 +22389,7 @@ export function UpdateAddHTLC_get_htlc_id(this_ptr: number): bigint {
 }
        // void UpdateAddHTLC_set_htlc_id(struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UpdateAddHTLC_set_htlc_id(this_ptr: number, val: bigint): void {
+export function UpdateAddHTLC_set_htlc_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22352,7 +22398,7 @@ export function UpdateAddHTLC_set_htlc_id(this_ptr: number, val: bigint): void {
 }
        // uint64_t UpdateAddHTLC_get_amount_msat(const struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateAddHTLC_get_amount_msat(this_ptr: number): bigint {
+export function UpdateAddHTLC_get_amount_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22361,7 +22407,7 @@ export function UpdateAddHTLC_get_amount_msat(this_ptr: number): bigint {
 }
        // void UpdateAddHTLC_set_amount_msat(struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UpdateAddHTLC_set_amount_msat(this_ptr: number, val: bigint): void {
+export function UpdateAddHTLC_set_amount_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22370,7 +22416,7 @@ export function UpdateAddHTLC_set_amount_msat(this_ptr: number, val: bigint): vo
 }
        // const uint8_t (*UpdateAddHTLC_get_payment_hash(const struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateAddHTLC_get_payment_hash(this_ptr: number): number {
+export function UpdateAddHTLC_get_payment_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22379,7 +22425,7 @@ export function UpdateAddHTLC_get_payment_hash(this_ptr: number): number {
 }
        // void UpdateAddHTLC_set_payment_hash(struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateAddHTLC_set_payment_hash(this_ptr: number, val: number): void {
+export function UpdateAddHTLC_set_payment_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22388,7 +22434,7 @@ export function UpdateAddHTLC_set_payment_hash(this_ptr: number, val: number): v
 }
        // uint32_t UpdateAddHTLC_get_cltv_expiry(const struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateAddHTLC_get_cltv_expiry(this_ptr: number): number {
+export function UpdateAddHTLC_get_cltv_expiry(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22397,16 +22443,16 @@ export function UpdateAddHTLC_get_cltv_expiry(this_ptr: number): number {
 }
        // void UpdateAddHTLC_set_cltv_expiry(struct LDKUpdateAddHTLC *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function UpdateAddHTLC_set_cltv_expiry(this_ptr: number, val: number): void {
+export function UpdateAddHTLC_set_cltv_expiry(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UpdateAddHTLC_set_cltv_expiry(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t UpdateAddHTLC_clone_ptr(LDKUpdateAddHTLC *NONNULL_PTR arg);
+       // uint64_t UpdateAddHTLC_clone_ptr(LDKUpdateAddHTLC *NONNULL_PTR arg);
 /* @internal */
-export function UpdateAddHTLC_clone_ptr(arg: number): number {
+export function UpdateAddHTLC_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22415,7 +22461,7 @@ export function UpdateAddHTLC_clone_ptr(arg: number): number {
 }
        // struct LDKUpdateAddHTLC UpdateAddHTLC_clone(const struct LDKUpdateAddHTLC *NONNULL_PTR orig);
 /* @internal */
-export function UpdateAddHTLC_clone(orig: number): number {
+export function UpdateAddHTLC_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22424,7 +22470,7 @@ export function UpdateAddHTLC_clone(orig: number): number {
 }
        // void UpdateFulfillHTLC_free(struct LDKUpdateFulfillHTLC this_obj);
 /* @internal */
-export function UpdateFulfillHTLC_free(this_obj: number): void {
+export function UpdateFulfillHTLC_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22433,7 +22479,7 @@ export function UpdateFulfillHTLC_free(this_obj: number): void {
 }
        // const uint8_t (*UpdateFulfillHTLC_get_channel_id(const struct LDKUpdateFulfillHTLC *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateFulfillHTLC_get_channel_id(this_ptr: number): number {
+export function UpdateFulfillHTLC_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22442,7 +22488,7 @@ export function UpdateFulfillHTLC_get_channel_id(this_ptr: number): number {
 }
        // void UpdateFulfillHTLC_set_channel_id(struct LDKUpdateFulfillHTLC *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateFulfillHTLC_set_channel_id(this_ptr: number, val: number): void {
+export function UpdateFulfillHTLC_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22451,7 +22497,7 @@ export function UpdateFulfillHTLC_set_channel_id(this_ptr: number, val: number):
 }
        // uint64_t UpdateFulfillHTLC_get_htlc_id(const struct LDKUpdateFulfillHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateFulfillHTLC_get_htlc_id(this_ptr: number): bigint {
+export function UpdateFulfillHTLC_get_htlc_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22460,7 +22506,7 @@ export function UpdateFulfillHTLC_get_htlc_id(this_ptr: number): bigint {
 }
        // void UpdateFulfillHTLC_set_htlc_id(struct LDKUpdateFulfillHTLC *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UpdateFulfillHTLC_set_htlc_id(this_ptr: number, val: bigint): void {
+export function UpdateFulfillHTLC_set_htlc_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22469,7 +22515,7 @@ export function UpdateFulfillHTLC_set_htlc_id(this_ptr: number, val: bigint): vo
 }
        // const uint8_t (*UpdateFulfillHTLC_get_payment_preimage(const struct LDKUpdateFulfillHTLC *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateFulfillHTLC_get_payment_preimage(this_ptr: number): number {
+export function UpdateFulfillHTLC_get_payment_preimage(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22478,7 +22524,7 @@ export function UpdateFulfillHTLC_get_payment_preimage(this_ptr: number): number
 }
        // void UpdateFulfillHTLC_set_payment_preimage(struct LDKUpdateFulfillHTLC *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateFulfillHTLC_set_payment_preimage(this_ptr: number, val: number): void {
+export function UpdateFulfillHTLC_set_payment_preimage(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22487,16 +22533,16 @@ export function UpdateFulfillHTLC_set_payment_preimage(this_ptr: number, val: nu
 }
        // MUST_USE_RES struct LDKUpdateFulfillHTLC UpdateFulfillHTLC_new(struct LDKThirtyTwoBytes channel_id_arg, uint64_t htlc_id_arg, struct LDKThirtyTwoBytes payment_preimage_arg);
 /* @internal */
-export function UpdateFulfillHTLC_new(channel_id_arg: number, htlc_id_arg: bigint, payment_preimage_arg: number): number {
+export function UpdateFulfillHTLC_new(channel_id_arg: number, htlc_id_arg: bigint, payment_preimage_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UpdateFulfillHTLC_new(channel_id_arg, htlc_id_arg, payment_preimage_arg);
        return nativeResponseValue;
 }
-       // uintptr_t UpdateFulfillHTLC_clone_ptr(LDKUpdateFulfillHTLC *NONNULL_PTR arg);
+       // uint64_t UpdateFulfillHTLC_clone_ptr(LDKUpdateFulfillHTLC *NONNULL_PTR arg);
 /* @internal */
-export function UpdateFulfillHTLC_clone_ptr(arg: number): number {
+export function UpdateFulfillHTLC_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22505,7 +22551,7 @@ export function UpdateFulfillHTLC_clone_ptr(arg: number): number {
 }
        // struct LDKUpdateFulfillHTLC UpdateFulfillHTLC_clone(const struct LDKUpdateFulfillHTLC *NONNULL_PTR orig);
 /* @internal */
-export function UpdateFulfillHTLC_clone(orig: number): number {
+export function UpdateFulfillHTLC_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22514,7 +22560,7 @@ export function UpdateFulfillHTLC_clone(orig: number): number {
 }
        // void UpdateFailHTLC_free(struct LDKUpdateFailHTLC this_obj);
 /* @internal */
-export function UpdateFailHTLC_free(this_obj: number): void {
+export function UpdateFailHTLC_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22523,7 +22569,7 @@ export function UpdateFailHTLC_free(this_obj: number): void {
 }
        // const uint8_t (*UpdateFailHTLC_get_channel_id(const struct LDKUpdateFailHTLC *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateFailHTLC_get_channel_id(this_ptr: number): number {
+export function UpdateFailHTLC_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22532,7 +22578,7 @@ export function UpdateFailHTLC_get_channel_id(this_ptr: number): number {
 }
        // void UpdateFailHTLC_set_channel_id(struct LDKUpdateFailHTLC *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateFailHTLC_set_channel_id(this_ptr: number, val: number): void {
+export function UpdateFailHTLC_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22541,7 +22587,7 @@ export function UpdateFailHTLC_set_channel_id(this_ptr: number, val: number): vo
 }
        // uint64_t UpdateFailHTLC_get_htlc_id(const struct LDKUpdateFailHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateFailHTLC_get_htlc_id(this_ptr: number): bigint {
+export function UpdateFailHTLC_get_htlc_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22550,16 +22596,16 @@ export function UpdateFailHTLC_get_htlc_id(this_ptr: number): bigint {
 }
        // void UpdateFailHTLC_set_htlc_id(struct LDKUpdateFailHTLC *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UpdateFailHTLC_set_htlc_id(this_ptr: number, val: bigint): void {
+export function UpdateFailHTLC_set_htlc_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UpdateFailHTLC_set_htlc_id(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t UpdateFailHTLC_clone_ptr(LDKUpdateFailHTLC *NONNULL_PTR arg);
+       // uint64_t UpdateFailHTLC_clone_ptr(LDKUpdateFailHTLC *NONNULL_PTR arg);
 /* @internal */
-export function UpdateFailHTLC_clone_ptr(arg: number): number {
+export function UpdateFailHTLC_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22568,7 +22614,7 @@ export function UpdateFailHTLC_clone_ptr(arg: number): number {
 }
        // struct LDKUpdateFailHTLC UpdateFailHTLC_clone(const struct LDKUpdateFailHTLC *NONNULL_PTR orig);
 /* @internal */
-export function UpdateFailHTLC_clone(orig: number): number {
+export function UpdateFailHTLC_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22577,7 +22623,7 @@ export function UpdateFailHTLC_clone(orig: number): number {
 }
        // void UpdateFailMalformedHTLC_free(struct LDKUpdateFailMalformedHTLC this_obj);
 /* @internal */
-export function UpdateFailMalformedHTLC_free(this_obj: number): void {
+export function UpdateFailMalformedHTLC_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22586,7 +22632,7 @@ export function UpdateFailMalformedHTLC_free(this_obj: number): void {
 }
        // const uint8_t (*UpdateFailMalformedHTLC_get_channel_id(const struct LDKUpdateFailMalformedHTLC *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateFailMalformedHTLC_get_channel_id(this_ptr: number): number {
+export function UpdateFailMalformedHTLC_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22595,7 +22641,7 @@ export function UpdateFailMalformedHTLC_get_channel_id(this_ptr: number): number
 }
        // void UpdateFailMalformedHTLC_set_channel_id(struct LDKUpdateFailMalformedHTLC *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateFailMalformedHTLC_set_channel_id(this_ptr: number, val: number): void {
+export function UpdateFailMalformedHTLC_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22604,7 +22650,7 @@ export function UpdateFailMalformedHTLC_set_channel_id(this_ptr: number, val: nu
 }
        // uint64_t UpdateFailMalformedHTLC_get_htlc_id(const struct LDKUpdateFailMalformedHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateFailMalformedHTLC_get_htlc_id(this_ptr: number): bigint {
+export function UpdateFailMalformedHTLC_get_htlc_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22613,7 +22659,7 @@ export function UpdateFailMalformedHTLC_get_htlc_id(this_ptr: number): bigint {
 }
        // void UpdateFailMalformedHTLC_set_htlc_id(struct LDKUpdateFailMalformedHTLC *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UpdateFailMalformedHTLC_set_htlc_id(this_ptr: number, val: bigint): void {
+export function UpdateFailMalformedHTLC_set_htlc_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22622,7 +22668,7 @@ export function UpdateFailMalformedHTLC_set_htlc_id(this_ptr: number, val: bigin
 }
        // uint16_t UpdateFailMalformedHTLC_get_failure_code(const struct LDKUpdateFailMalformedHTLC *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateFailMalformedHTLC_get_failure_code(this_ptr: number): number {
+export function UpdateFailMalformedHTLC_get_failure_code(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22631,16 +22677,16 @@ export function UpdateFailMalformedHTLC_get_failure_code(this_ptr: number): numb
 }
        // void UpdateFailMalformedHTLC_set_failure_code(struct LDKUpdateFailMalformedHTLC *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function UpdateFailMalformedHTLC_set_failure_code(this_ptr: number, val: number): void {
+export function UpdateFailMalformedHTLC_set_failure_code(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UpdateFailMalformedHTLC_set_failure_code(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t UpdateFailMalformedHTLC_clone_ptr(LDKUpdateFailMalformedHTLC *NONNULL_PTR arg);
+       // uint64_t UpdateFailMalformedHTLC_clone_ptr(LDKUpdateFailMalformedHTLC *NONNULL_PTR arg);
 /* @internal */
-export function UpdateFailMalformedHTLC_clone_ptr(arg: number): number {
+export function UpdateFailMalformedHTLC_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22649,7 +22695,7 @@ export function UpdateFailMalformedHTLC_clone_ptr(arg: number): number {
 }
        // struct LDKUpdateFailMalformedHTLC UpdateFailMalformedHTLC_clone(const struct LDKUpdateFailMalformedHTLC *NONNULL_PTR orig);
 /* @internal */
-export function UpdateFailMalformedHTLC_clone(orig: number): number {
+export function UpdateFailMalformedHTLC_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22658,7 +22704,7 @@ export function UpdateFailMalformedHTLC_clone(orig: number): number {
 }
        // void CommitmentSigned_free(struct LDKCommitmentSigned this_obj);
 /* @internal */
-export function CommitmentSigned_free(this_obj: number): void {
+export function CommitmentSigned_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22667,7 +22713,7 @@ export function CommitmentSigned_free(this_obj: number): void {
 }
        // const uint8_t (*CommitmentSigned_get_channel_id(const struct LDKCommitmentSigned *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function CommitmentSigned_get_channel_id(this_ptr: number): number {
+export function CommitmentSigned_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22676,7 +22722,7 @@ export function CommitmentSigned_get_channel_id(this_ptr: number): number {
 }
        // void CommitmentSigned_set_channel_id(struct LDKCommitmentSigned *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function CommitmentSigned_set_channel_id(this_ptr: number, val: number): void {
+export function CommitmentSigned_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22685,7 +22731,7 @@ export function CommitmentSigned_set_channel_id(this_ptr: number, val: number):
 }
        // struct LDKSignature CommitmentSigned_get_signature(const struct LDKCommitmentSigned *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentSigned_get_signature(this_ptr: number): number {
+export function CommitmentSigned_get_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22694,16 +22740,25 @@ export function CommitmentSigned_get_signature(this_ptr: number): number {
 }
        // void CommitmentSigned_set_signature(struct LDKCommitmentSigned *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function CommitmentSigned_set_signature(this_ptr: number, val: number): void {
+export function CommitmentSigned_set_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CommitmentSigned_set_signature(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_SignatureZ CommitmentSigned_get_htlc_signatures(const struct LDKCommitmentSigned *NONNULL_PTR this_ptr);
+/* @internal */
+export function CommitmentSigned_get_htlc_signatures(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_CommitmentSigned_get_htlc_signatures(this_ptr);
+       return nativeResponseValue;
 }
        // void CommitmentSigned_set_htlc_signatures(struct LDKCommitmentSigned *NONNULL_PTR this_ptr, struct LDKCVec_SignatureZ val);
 /* @internal */
-export function CommitmentSigned_set_htlc_signatures(this_ptr: number, val: number): void {
+export function CommitmentSigned_set_htlc_signatures(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22712,16 +22767,16 @@ export function CommitmentSigned_set_htlc_signatures(this_ptr: number, val: numb
 }
        // MUST_USE_RES struct LDKCommitmentSigned CommitmentSigned_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKSignature signature_arg, struct LDKCVec_SignatureZ htlc_signatures_arg);
 /* @internal */
-export function CommitmentSigned_new(channel_id_arg: number, signature_arg: number, htlc_signatures_arg: number): number {
+export function CommitmentSigned_new(channel_id_arg: number, signature_arg: number, htlc_signatures_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CommitmentSigned_new(channel_id_arg, signature_arg, htlc_signatures_arg);
        return nativeResponseValue;
 }
-       // uintptr_t CommitmentSigned_clone_ptr(LDKCommitmentSigned *NONNULL_PTR arg);
+       // uint64_t CommitmentSigned_clone_ptr(LDKCommitmentSigned *NONNULL_PTR arg);
 /* @internal */
-export function CommitmentSigned_clone_ptr(arg: number): number {
+export function CommitmentSigned_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22730,7 +22785,7 @@ export function CommitmentSigned_clone_ptr(arg: number): number {
 }
        // struct LDKCommitmentSigned CommitmentSigned_clone(const struct LDKCommitmentSigned *NONNULL_PTR orig);
 /* @internal */
-export function CommitmentSigned_clone(orig: number): number {
+export function CommitmentSigned_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22739,7 +22794,7 @@ export function CommitmentSigned_clone(orig: number): number {
 }
        // void RevokeAndACK_free(struct LDKRevokeAndACK this_obj);
 /* @internal */
-export function RevokeAndACK_free(this_obj: number): void {
+export function RevokeAndACK_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22748,7 +22803,7 @@ export function RevokeAndACK_free(this_obj: number): void {
 }
        // const uint8_t (*RevokeAndACK_get_channel_id(const struct LDKRevokeAndACK *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function RevokeAndACK_get_channel_id(this_ptr: number): number {
+export function RevokeAndACK_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22757,7 +22812,7 @@ export function RevokeAndACK_get_channel_id(this_ptr: number): number {
 }
        // void RevokeAndACK_set_channel_id(struct LDKRevokeAndACK *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function RevokeAndACK_set_channel_id(this_ptr: number, val: number): void {
+export function RevokeAndACK_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22766,7 +22821,7 @@ export function RevokeAndACK_set_channel_id(this_ptr: number, val: number): void
 }
        // const uint8_t (*RevokeAndACK_get_per_commitment_secret(const struct LDKRevokeAndACK *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function RevokeAndACK_get_per_commitment_secret(this_ptr: number): number {
+export function RevokeAndACK_get_per_commitment_secret(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22775,7 +22830,7 @@ export function RevokeAndACK_get_per_commitment_secret(this_ptr: number): number
 }
        // void RevokeAndACK_set_per_commitment_secret(struct LDKRevokeAndACK *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function RevokeAndACK_set_per_commitment_secret(this_ptr: number, val: number): void {
+export function RevokeAndACK_set_per_commitment_secret(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22784,7 +22839,7 @@ export function RevokeAndACK_set_per_commitment_secret(this_ptr: number, val: nu
 }
        // struct LDKPublicKey RevokeAndACK_get_next_per_commitment_point(const struct LDKRevokeAndACK *NONNULL_PTR this_ptr);
 /* @internal */
-export function RevokeAndACK_get_next_per_commitment_point(this_ptr: number): number {
+export function RevokeAndACK_get_next_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22793,7 +22848,7 @@ export function RevokeAndACK_get_next_per_commitment_point(this_ptr: number): nu
 }
        // void RevokeAndACK_set_next_per_commitment_point(struct LDKRevokeAndACK *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function RevokeAndACK_set_next_per_commitment_point(this_ptr: number, val: number): void {
+export function RevokeAndACK_set_next_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22802,16 +22857,16 @@ export function RevokeAndACK_set_next_per_commitment_point(this_ptr: number, val
 }
        // MUST_USE_RES struct LDKRevokeAndACK RevokeAndACK_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKThirtyTwoBytes per_commitment_secret_arg, struct LDKPublicKey next_per_commitment_point_arg);
 /* @internal */
-export function RevokeAndACK_new(channel_id_arg: number, per_commitment_secret_arg: number, next_per_commitment_point_arg: number): number {
+export function RevokeAndACK_new(channel_id_arg: number, per_commitment_secret_arg: number, next_per_commitment_point_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RevokeAndACK_new(channel_id_arg, per_commitment_secret_arg, next_per_commitment_point_arg);
        return nativeResponseValue;
 }
-       // uintptr_t RevokeAndACK_clone_ptr(LDKRevokeAndACK *NONNULL_PTR arg);
+       // uint64_t RevokeAndACK_clone_ptr(LDKRevokeAndACK *NONNULL_PTR arg);
 /* @internal */
-export function RevokeAndACK_clone_ptr(arg: number): number {
+export function RevokeAndACK_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22820,7 +22875,7 @@ export function RevokeAndACK_clone_ptr(arg: number): number {
 }
        // struct LDKRevokeAndACK RevokeAndACK_clone(const struct LDKRevokeAndACK *NONNULL_PTR orig);
 /* @internal */
-export function RevokeAndACK_clone(orig: number): number {
+export function RevokeAndACK_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22829,7 +22884,7 @@ export function RevokeAndACK_clone(orig: number): number {
 }
        // void UpdateFee_free(struct LDKUpdateFee this_obj);
 /* @internal */
-export function UpdateFee_free(this_obj: number): void {
+export function UpdateFee_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22838,7 +22893,7 @@ export function UpdateFee_free(this_obj: number): void {
 }
        // const uint8_t (*UpdateFee_get_channel_id(const struct LDKUpdateFee *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UpdateFee_get_channel_id(this_ptr: number): number {
+export function UpdateFee_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22847,7 +22902,7 @@ export function UpdateFee_get_channel_id(this_ptr: number): number {
 }
        // void UpdateFee_set_channel_id(struct LDKUpdateFee *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UpdateFee_set_channel_id(this_ptr: number, val: number): void {
+export function UpdateFee_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22856,7 +22911,7 @@ export function UpdateFee_set_channel_id(this_ptr: number, val: number): void {
 }
        // uint32_t UpdateFee_get_feerate_per_kw(const struct LDKUpdateFee *NONNULL_PTR this_ptr);
 /* @internal */
-export function UpdateFee_get_feerate_per_kw(this_ptr: number): number {
+export function UpdateFee_get_feerate_per_kw(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22865,7 +22920,7 @@ export function UpdateFee_get_feerate_per_kw(this_ptr: number): number {
 }
        // void UpdateFee_set_feerate_per_kw(struct LDKUpdateFee *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function UpdateFee_set_feerate_per_kw(this_ptr: number, val: number): void {
+export function UpdateFee_set_feerate_per_kw(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22874,16 +22929,16 @@ export function UpdateFee_set_feerate_per_kw(this_ptr: number, val: number): voi
 }
        // MUST_USE_RES struct LDKUpdateFee UpdateFee_new(struct LDKThirtyTwoBytes channel_id_arg, uint32_t feerate_per_kw_arg);
 /* @internal */
-export function UpdateFee_new(channel_id_arg: number, feerate_per_kw_arg: number): number {
+export function UpdateFee_new(channel_id_arg: number, feerate_per_kw_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UpdateFee_new(channel_id_arg, feerate_per_kw_arg);
        return nativeResponseValue;
 }
-       // uintptr_t UpdateFee_clone_ptr(LDKUpdateFee *NONNULL_PTR arg);
+       // uint64_t UpdateFee_clone_ptr(LDKUpdateFee *NONNULL_PTR arg);
 /* @internal */
-export function UpdateFee_clone_ptr(arg: number): number {
+export function UpdateFee_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22892,7 +22947,7 @@ export function UpdateFee_clone_ptr(arg: number): number {
 }
        // struct LDKUpdateFee UpdateFee_clone(const struct LDKUpdateFee *NONNULL_PTR orig);
 /* @internal */
-export function UpdateFee_clone(orig: number): number {
+export function UpdateFee_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22901,7 +22956,7 @@ export function UpdateFee_clone(orig: number): number {
 }
        // void DataLossProtect_free(struct LDKDataLossProtect this_obj);
 /* @internal */
-export function DataLossProtect_free(this_obj: number): void {
+export function DataLossProtect_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22910,7 +22965,7 @@ export function DataLossProtect_free(this_obj: number): void {
 }
        // const uint8_t (*DataLossProtect_get_your_last_per_commitment_secret(const struct LDKDataLossProtect *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function DataLossProtect_get_your_last_per_commitment_secret(this_ptr: number): number {
+export function DataLossProtect_get_your_last_per_commitment_secret(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22919,7 +22974,7 @@ export function DataLossProtect_get_your_last_per_commitment_secret(this_ptr: nu
 }
        // void DataLossProtect_set_your_last_per_commitment_secret(struct LDKDataLossProtect *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function DataLossProtect_set_your_last_per_commitment_secret(this_ptr: number, val: number): void {
+export function DataLossProtect_set_your_last_per_commitment_secret(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22928,7 +22983,7 @@ export function DataLossProtect_set_your_last_per_commitment_secret(this_ptr: nu
 }
        // struct LDKPublicKey DataLossProtect_get_my_current_per_commitment_point(const struct LDKDataLossProtect *NONNULL_PTR this_ptr);
 /* @internal */
-export function DataLossProtect_get_my_current_per_commitment_point(this_ptr: number): number {
+export function DataLossProtect_get_my_current_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22937,7 +22992,7 @@ export function DataLossProtect_get_my_current_per_commitment_point(this_ptr: nu
 }
        // void DataLossProtect_set_my_current_per_commitment_point(struct LDKDataLossProtect *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function DataLossProtect_set_my_current_per_commitment_point(this_ptr: number, val: number): void {
+export function DataLossProtect_set_my_current_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22946,16 +23001,16 @@ export function DataLossProtect_set_my_current_per_commitment_point(this_ptr: nu
 }
        // MUST_USE_RES struct LDKDataLossProtect DataLossProtect_new(struct LDKThirtyTwoBytes your_last_per_commitment_secret_arg, struct LDKPublicKey my_current_per_commitment_point_arg);
 /* @internal */
-export function DataLossProtect_new(your_last_per_commitment_secret_arg: number, my_current_per_commitment_point_arg: number): number {
+export function DataLossProtect_new(your_last_per_commitment_secret_arg: number, my_current_per_commitment_point_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_DataLossProtect_new(your_last_per_commitment_secret_arg, my_current_per_commitment_point_arg);
        return nativeResponseValue;
 }
-       // uintptr_t DataLossProtect_clone_ptr(LDKDataLossProtect *NONNULL_PTR arg);
+       // uint64_t DataLossProtect_clone_ptr(LDKDataLossProtect *NONNULL_PTR arg);
 /* @internal */
-export function DataLossProtect_clone_ptr(arg: number): number {
+export function DataLossProtect_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22964,7 +23019,7 @@ export function DataLossProtect_clone_ptr(arg: number): number {
 }
        // struct LDKDataLossProtect DataLossProtect_clone(const struct LDKDataLossProtect *NONNULL_PTR orig);
 /* @internal */
-export function DataLossProtect_clone(orig: number): number {
+export function DataLossProtect_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22973,7 +23028,7 @@ export function DataLossProtect_clone(orig: number): number {
 }
        // void ChannelReestablish_free(struct LDKChannelReestablish this_obj);
 /* @internal */
-export function ChannelReestablish_free(this_obj: number): void {
+export function ChannelReestablish_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22982,7 +23037,7 @@ export function ChannelReestablish_free(this_obj: number): void {
 }
        // const uint8_t (*ChannelReestablish_get_channel_id(const struct LDKChannelReestablish *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ChannelReestablish_get_channel_id(this_ptr: number): number {
+export function ChannelReestablish_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -22991,7 +23046,7 @@ export function ChannelReestablish_get_channel_id(this_ptr: number): number {
 }
        // void ChannelReestablish_set_channel_id(struct LDKChannelReestablish *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ChannelReestablish_set_channel_id(this_ptr: number, val: number): void {
+export function ChannelReestablish_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23000,7 +23055,7 @@ export function ChannelReestablish_set_channel_id(this_ptr: number, val: number)
 }
        // uint64_t ChannelReestablish_get_next_local_commitment_number(const struct LDKChannelReestablish *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelReestablish_get_next_local_commitment_number(this_ptr: number): bigint {
+export function ChannelReestablish_get_next_local_commitment_number(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23009,7 +23064,7 @@ export function ChannelReestablish_get_next_local_commitment_number(this_ptr: nu
 }
        // void ChannelReestablish_set_next_local_commitment_number(struct LDKChannelReestablish *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelReestablish_set_next_local_commitment_number(this_ptr: number, val: bigint): void {
+export function ChannelReestablish_set_next_local_commitment_number(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23018,7 +23073,7 @@ export function ChannelReestablish_set_next_local_commitment_number(this_ptr: nu
 }
        // uint64_t ChannelReestablish_get_next_remote_commitment_number(const struct LDKChannelReestablish *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelReestablish_get_next_remote_commitment_number(this_ptr: number): bigint {
+export function ChannelReestablish_get_next_remote_commitment_number(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23027,16 +23082,16 @@ export function ChannelReestablish_get_next_remote_commitment_number(this_ptr: n
 }
        // void ChannelReestablish_set_next_remote_commitment_number(struct LDKChannelReestablish *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelReestablish_set_next_remote_commitment_number(this_ptr: number, val: bigint): void {
+export function ChannelReestablish_set_next_remote_commitment_number(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelReestablish_set_next_remote_commitment_number(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t ChannelReestablish_clone_ptr(LDKChannelReestablish *NONNULL_PTR arg);
+       // uint64_t ChannelReestablish_clone_ptr(LDKChannelReestablish *NONNULL_PTR arg);
 /* @internal */
-export function ChannelReestablish_clone_ptr(arg: number): number {
+export function ChannelReestablish_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23045,7 +23100,7 @@ export function ChannelReestablish_clone_ptr(arg: number): number {
 }
        // struct LDKChannelReestablish ChannelReestablish_clone(const struct LDKChannelReestablish *NONNULL_PTR orig);
 /* @internal */
-export function ChannelReestablish_clone(orig: number): number {
+export function ChannelReestablish_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23054,7 +23109,7 @@ export function ChannelReestablish_clone(orig: number): number {
 }
        // void AnnouncementSignatures_free(struct LDKAnnouncementSignatures this_obj);
 /* @internal */
-export function AnnouncementSignatures_free(this_obj: number): void {
+export function AnnouncementSignatures_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23063,7 +23118,7 @@ export function AnnouncementSignatures_free(this_obj: number): void {
 }
        // const uint8_t (*AnnouncementSignatures_get_channel_id(const struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function AnnouncementSignatures_get_channel_id(this_ptr: number): number {
+export function AnnouncementSignatures_get_channel_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23072,7 +23127,7 @@ export function AnnouncementSignatures_get_channel_id(this_ptr: number): number
 }
        // void AnnouncementSignatures_set_channel_id(struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function AnnouncementSignatures_set_channel_id(this_ptr: number, val: number): void {
+export function AnnouncementSignatures_set_channel_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23081,7 +23136,7 @@ export function AnnouncementSignatures_set_channel_id(this_ptr: number, val: num
 }
        // uint64_t AnnouncementSignatures_get_short_channel_id(const struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr);
 /* @internal */
-export function AnnouncementSignatures_get_short_channel_id(this_ptr: number): bigint {
+export function AnnouncementSignatures_get_short_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23090,7 +23145,7 @@ export function AnnouncementSignatures_get_short_channel_id(this_ptr: number): b
 }
        // void AnnouncementSignatures_set_short_channel_id(struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function AnnouncementSignatures_set_short_channel_id(this_ptr: number, val: bigint): void {
+export function AnnouncementSignatures_set_short_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23099,7 +23154,7 @@ export function AnnouncementSignatures_set_short_channel_id(this_ptr: number, va
 }
        // struct LDKSignature AnnouncementSignatures_get_node_signature(const struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr);
 /* @internal */
-export function AnnouncementSignatures_get_node_signature(this_ptr: number): number {
+export function AnnouncementSignatures_get_node_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23108,7 +23163,7 @@ export function AnnouncementSignatures_get_node_signature(this_ptr: number): num
 }
        // void AnnouncementSignatures_set_node_signature(struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function AnnouncementSignatures_set_node_signature(this_ptr: number, val: number): void {
+export function AnnouncementSignatures_set_node_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23117,7 +23172,7 @@ export function AnnouncementSignatures_set_node_signature(this_ptr: number, val:
 }
        // struct LDKSignature AnnouncementSignatures_get_bitcoin_signature(const struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr);
 /* @internal */
-export function AnnouncementSignatures_get_bitcoin_signature(this_ptr: number): number {
+export function AnnouncementSignatures_get_bitcoin_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23126,7 +23181,7 @@ export function AnnouncementSignatures_get_bitcoin_signature(this_ptr: number):
 }
        // void AnnouncementSignatures_set_bitcoin_signature(struct LDKAnnouncementSignatures *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function AnnouncementSignatures_set_bitcoin_signature(this_ptr: number, val: number): void {
+export function AnnouncementSignatures_set_bitcoin_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23135,16 +23190,16 @@ export function AnnouncementSignatures_set_bitcoin_signature(this_ptr: number, v
 }
        // MUST_USE_RES struct LDKAnnouncementSignatures AnnouncementSignatures_new(struct LDKThirtyTwoBytes channel_id_arg, uint64_t short_channel_id_arg, struct LDKSignature node_signature_arg, struct LDKSignature bitcoin_signature_arg);
 /* @internal */
-export function AnnouncementSignatures_new(channel_id_arg: number, short_channel_id_arg: bigint, node_signature_arg: number, bitcoin_signature_arg: number): number {
+export function AnnouncementSignatures_new(channel_id_arg: number, short_channel_id_arg: bigint, node_signature_arg: number, bitcoin_signature_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_AnnouncementSignatures_new(channel_id_arg, short_channel_id_arg, node_signature_arg, bitcoin_signature_arg);
        return nativeResponseValue;
 }
-       // uintptr_t AnnouncementSignatures_clone_ptr(LDKAnnouncementSignatures *NONNULL_PTR arg);
+       // uint64_t AnnouncementSignatures_clone_ptr(LDKAnnouncementSignatures *NONNULL_PTR arg);
 /* @internal */
-export function AnnouncementSignatures_clone_ptr(arg: number): number {
+export function AnnouncementSignatures_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23153,7 +23208,7 @@ export function AnnouncementSignatures_clone_ptr(arg: number): number {
 }
        // struct LDKAnnouncementSignatures AnnouncementSignatures_clone(const struct LDKAnnouncementSignatures *NONNULL_PTR orig);
 /* @internal */
-export function AnnouncementSignatures_clone(orig: number): number {
+export function AnnouncementSignatures_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23162,16 +23217,16 @@ export function AnnouncementSignatures_clone(orig: number): number {
 }
        // void NetAddress_free(struct LDKNetAddress this_ptr);
 /* @internal */
-export function NetAddress_free(this_ptr: number): void {
+export function NetAddress_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NetAddress_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t NetAddress_clone_ptr(LDKNetAddress *NONNULL_PTR arg);
+       // uint64_t NetAddress_clone_ptr(LDKNetAddress *NONNULL_PTR arg);
 /* @internal */
-export function NetAddress_clone_ptr(arg: number): number {
+export function NetAddress_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23180,7 +23235,7 @@ export function NetAddress_clone_ptr(arg: number): number {
 }
        // struct LDKNetAddress NetAddress_clone(const struct LDKNetAddress *NONNULL_PTR orig);
 /* @internal */
-export function NetAddress_clone(orig: number): number {
+export function NetAddress_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23189,7 +23244,7 @@ export function NetAddress_clone(orig: number): number {
 }
        // struct LDKNetAddress NetAddress_ipv4(struct LDKFourBytes addr, uint16_t port);
 /* @internal */
-export function NetAddress_ipv4(addr: number, port: number): number {
+export function NetAddress_ipv4(addr: number, port: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23198,7 +23253,7 @@ export function NetAddress_ipv4(addr: number, port: number): number {
 }
        // struct LDKNetAddress NetAddress_ipv6(struct LDKSixteenBytes addr, uint16_t port);
 /* @internal */
-export function NetAddress_ipv6(addr: number, port: number): number {
+export function NetAddress_ipv6(addr: number, port: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23207,7 +23262,7 @@ export function NetAddress_ipv6(addr: number, port: number): number {
 }
        // struct LDKNetAddress NetAddress_onion_v2(struct LDKTwelveBytes a);
 /* @internal */
-export function NetAddress_onion_v2(a: number): number {
+export function NetAddress_onion_v2(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23216,7 +23271,7 @@ export function NetAddress_onion_v2(a: number): number {
 }
        // struct LDKNetAddress NetAddress_onion_v3(struct LDKThirtyTwoBytes ed25519_pubkey, uint16_t checksum, uint8_t version, uint16_t port);
 /* @internal */
-export function NetAddress_onion_v3(ed25519_pubkey: number, checksum: number, version: number, port: number): number {
+export function NetAddress_onion_v3(ed25519_pubkey: number, checksum: number, version: number, port: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23225,7 +23280,7 @@ export function NetAddress_onion_v3(ed25519_pubkey: number, checksum: number, ve
 }
        // struct LDKNetAddress NetAddress_hostname(struct LDKHostname hostname, uint16_t port);
 /* @internal */
-export function NetAddress_hostname(hostname: number, port: number): number {
+export function NetAddress_hostname(hostname: bigint, port: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23234,7 +23289,7 @@ export function NetAddress_hostname(hostname: number, port: number): number {
 }
        // struct LDKCVec_u8Z NetAddress_write(const struct LDKNetAddress *NONNULL_PTR obj);
 /* @internal */
-export function NetAddress_write(obj: number): number {
+export function NetAddress_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23243,7 +23298,7 @@ export function NetAddress_write(obj: number): number {
 }
        // struct LDKCResult_NetAddressDecodeErrorZ NetAddress_read(struct LDKu8slice ser);
 /* @internal */
-export function NetAddress_read(ser: number): number {
+export function NetAddress_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23252,7 +23307,7 @@ export function NetAddress_read(ser: number): number {
 }
        // void UnsignedNodeAnnouncement_free(struct LDKUnsignedNodeAnnouncement this_obj);
 /* @internal */
-export function UnsignedNodeAnnouncement_free(this_obj: number): void {
+export function UnsignedNodeAnnouncement_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23261,7 +23316,7 @@ export function UnsignedNodeAnnouncement_free(this_obj: number): void {
 }
        // struct LDKNodeFeatures UnsignedNodeAnnouncement_get_features(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedNodeAnnouncement_get_features(this_ptr: number): number {
+export function UnsignedNodeAnnouncement_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23270,7 +23325,7 @@ export function UnsignedNodeAnnouncement_get_features(this_ptr: number): number
 }
        // void UnsignedNodeAnnouncement_set_features(struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKNodeFeatures val);
 /* @internal */
-export function UnsignedNodeAnnouncement_set_features(this_ptr: number, val: number): void {
+export function UnsignedNodeAnnouncement_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23279,7 +23334,7 @@ export function UnsignedNodeAnnouncement_set_features(this_ptr: number, val: num
 }
        // uint32_t UnsignedNodeAnnouncement_get_timestamp(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedNodeAnnouncement_get_timestamp(this_ptr: number): number {
+export function UnsignedNodeAnnouncement_get_timestamp(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23288,7 +23343,7 @@ export function UnsignedNodeAnnouncement_get_timestamp(this_ptr: number): number
 }
        // void UnsignedNodeAnnouncement_set_timestamp(struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function UnsignedNodeAnnouncement_set_timestamp(this_ptr: number, val: number): void {
+export function UnsignedNodeAnnouncement_set_timestamp(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23297,7 +23352,7 @@ export function UnsignedNodeAnnouncement_set_timestamp(this_ptr: number, val: nu
 }
        // struct LDKPublicKey UnsignedNodeAnnouncement_get_node_id(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedNodeAnnouncement_get_node_id(this_ptr: number): number {
+export function UnsignedNodeAnnouncement_get_node_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23306,7 +23361,7 @@ export function UnsignedNodeAnnouncement_get_node_id(this_ptr: number): number {
 }
        // void UnsignedNodeAnnouncement_set_node_id(struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function UnsignedNodeAnnouncement_set_node_id(this_ptr: number, val: number): void {
+export function UnsignedNodeAnnouncement_set_node_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23315,7 +23370,7 @@ export function UnsignedNodeAnnouncement_set_node_id(this_ptr: number, val: numb
 }
        // const uint8_t (*UnsignedNodeAnnouncement_get_rgb(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr))[3];
 /* @internal */
-export function UnsignedNodeAnnouncement_get_rgb(this_ptr: number): number {
+export function UnsignedNodeAnnouncement_get_rgb(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23324,7 +23379,7 @@ export function UnsignedNodeAnnouncement_get_rgb(this_ptr: number): number {
 }
        // void UnsignedNodeAnnouncement_set_rgb(struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKThreeBytes val);
 /* @internal */
-export function UnsignedNodeAnnouncement_set_rgb(this_ptr: number, val: number): void {
+export function UnsignedNodeAnnouncement_set_rgb(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23333,7 +23388,7 @@ export function UnsignedNodeAnnouncement_set_rgb(this_ptr: number, val: number):
 }
        // const uint8_t (*UnsignedNodeAnnouncement_get_alias(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UnsignedNodeAnnouncement_get_alias(this_ptr: number): number {
+export function UnsignedNodeAnnouncement_get_alias(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23342,25 +23397,34 @@ export function UnsignedNodeAnnouncement_get_alias(this_ptr: number): number {
 }
        // void UnsignedNodeAnnouncement_set_alias(struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UnsignedNodeAnnouncement_set_alias(this_ptr: number, val: number): void {
+export function UnsignedNodeAnnouncement_set_alias(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UnsignedNodeAnnouncement_set_alias(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_NetAddressZ UnsignedNodeAnnouncement_get_addresses(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr);
+/* @internal */
+export function UnsignedNodeAnnouncement_get_addresses(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_UnsignedNodeAnnouncement_get_addresses(this_ptr);
+       return nativeResponseValue;
 }
        // void UnsignedNodeAnnouncement_set_addresses(struct LDKUnsignedNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKCVec_NetAddressZ val);
 /* @internal */
-export function UnsignedNodeAnnouncement_set_addresses(this_ptr: number, val: number): void {
+export function UnsignedNodeAnnouncement_set_addresses(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UnsignedNodeAnnouncement_set_addresses(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t UnsignedNodeAnnouncement_clone_ptr(LDKUnsignedNodeAnnouncement *NONNULL_PTR arg);
+       // uint64_t UnsignedNodeAnnouncement_clone_ptr(LDKUnsignedNodeAnnouncement *NONNULL_PTR arg);
 /* @internal */
-export function UnsignedNodeAnnouncement_clone_ptr(arg: number): number {
+export function UnsignedNodeAnnouncement_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23369,7 +23433,7 @@ export function UnsignedNodeAnnouncement_clone_ptr(arg: number): number {
 }
        // struct LDKUnsignedNodeAnnouncement UnsignedNodeAnnouncement_clone(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR orig);
 /* @internal */
-export function UnsignedNodeAnnouncement_clone(orig: number): number {
+export function UnsignedNodeAnnouncement_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23378,7 +23442,7 @@ export function UnsignedNodeAnnouncement_clone(orig: number): number {
 }
        // void NodeAnnouncement_free(struct LDKNodeAnnouncement this_obj);
 /* @internal */
-export function NodeAnnouncement_free(this_obj: number): void {
+export function NodeAnnouncement_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23387,7 +23451,7 @@ export function NodeAnnouncement_free(this_obj: number): void {
 }
        // struct LDKSignature NodeAnnouncement_get_signature(const struct LDKNodeAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeAnnouncement_get_signature(this_ptr: number): number {
+export function NodeAnnouncement_get_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23396,7 +23460,7 @@ export function NodeAnnouncement_get_signature(this_ptr: number): number {
 }
        // void NodeAnnouncement_set_signature(struct LDKNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function NodeAnnouncement_set_signature(this_ptr: number, val: number): void {
+export function NodeAnnouncement_set_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23405,7 +23469,7 @@ export function NodeAnnouncement_set_signature(this_ptr: number, val: number): v
 }
        // struct LDKUnsignedNodeAnnouncement NodeAnnouncement_get_contents(const struct LDKNodeAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeAnnouncement_get_contents(this_ptr: number): number {
+export function NodeAnnouncement_get_contents(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23414,7 +23478,7 @@ export function NodeAnnouncement_get_contents(this_ptr: number): number {
 }
        // void NodeAnnouncement_set_contents(struct LDKNodeAnnouncement *NONNULL_PTR this_ptr, struct LDKUnsignedNodeAnnouncement val);
 /* @internal */
-export function NodeAnnouncement_set_contents(this_ptr: number, val: number): void {
+export function NodeAnnouncement_set_contents(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23423,16 +23487,16 @@ export function NodeAnnouncement_set_contents(this_ptr: number, val: number): vo
 }
        // MUST_USE_RES struct LDKNodeAnnouncement NodeAnnouncement_new(struct LDKSignature signature_arg, struct LDKUnsignedNodeAnnouncement contents_arg);
 /* @internal */
-export function NodeAnnouncement_new(signature_arg: number, contents_arg: number): number {
+export function NodeAnnouncement_new(signature_arg: number, contents_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeAnnouncement_new(signature_arg, contents_arg);
        return nativeResponseValue;
 }
-       // uintptr_t NodeAnnouncement_clone_ptr(LDKNodeAnnouncement *NONNULL_PTR arg);
+       // uint64_t NodeAnnouncement_clone_ptr(LDKNodeAnnouncement *NONNULL_PTR arg);
 /* @internal */
-export function NodeAnnouncement_clone_ptr(arg: number): number {
+export function NodeAnnouncement_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23441,7 +23505,7 @@ export function NodeAnnouncement_clone_ptr(arg: number): number {
 }
        // struct LDKNodeAnnouncement NodeAnnouncement_clone(const struct LDKNodeAnnouncement *NONNULL_PTR orig);
 /* @internal */
-export function NodeAnnouncement_clone(orig: number): number {
+export function NodeAnnouncement_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23450,7 +23514,7 @@ export function NodeAnnouncement_clone(orig: number): number {
 }
        // void UnsignedChannelAnnouncement_free(struct LDKUnsignedChannelAnnouncement this_obj);
 /* @internal */
-export function UnsignedChannelAnnouncement_free(this_obj: number): void {
+export function UnsignedChannelAnnouncement_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23459,7 +23523,7 @@ export function UnsignedChannelAnnouncement_free(this_obj: number): void {
 }
        // struct LDKChannelFeatures UnsignedChannelAnnouncement_get_features(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelAnnouncement_get_features(this_ptr: number): number {
+export function UnsignedChannelAnnouncement_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23468,7 +23532,7 @@ export function UnsignedChannelAnnouncement_get_features(this_ptr: number): numb
 }
        // void UnsignedChannelAnnouncement_set_features(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKChannelFeatures val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_features(this_ptr: number, val: number): void {
+export function UnsignedChannelAnnouncement_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23477,7 +23541,7 @@ export function UnsignedChannelAnnouncement_set_features(this_ptr: number, val:
 }
        // const uint8_t (*UnsignedChannelAnnouncement_get_chain_hash(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UnsignedChannelAnnouncement_get_chain_hash(this_ptr: number): number {
+export function UnsignedChannelAnnouncement_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23486,7 +23550,7 @@ export function UnsignedChannelAnnouncement_get_chain_hash(this_ptr: number): nu
 }
        // void UnsignedChannelAnnouncement_set_chain_hash(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_chain_hash(this_ptr: number, val: number): void {
+export function UnsignedChannelAnnouncement_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23495,7 +23559,7 @@ export function UnsignedChannelAnnouncement_set_chain_hash(this_ptr: number, val
 }
        // uint64_t UnsignedChannelAnnouncement_get_short_channel_id(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelAnnouncement_get_short_channel_id(this_ptr: number): bigint {
+export function UnsignedChannelAnnouncement_get_short_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23504,7 +23568,7 @@ export function UnsignedChannelAnnouncement_get_short_channel_id(this_ptr: numbe
 }
        // void UnsignedChannelAnnouncement_set_short_channel_id(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_short_channel_id(this_ptr: number, val: bigint): void {
+export function UnsignedChannelAnnouncement_set_short_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23513,7 +23577,7 @@ export function UnsignedChannelAnnouncement_set_short_channel_id(this_ptr: numbe
 }
        // struct LDKPublicKey UnsignedChannelAnnouncement_get_node_id_1(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelAnnouncement_get_node_id_1(this_ptr: number): number {
+export function UnsignedChannelAnnouncement_get_node_id_1(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23522,7 +23586,7 @@ export function UnsignedChannelAnnouncement_get_node_id_1(this_ptr: number): num
 }
        // void UnsignedChannelAnnouncement_set_node_id_1(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_node_id_1(this_ptr: number, val: number): void {
+export function UnsignedChannelAnnouncement_set_node_id_1(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23531,7 +23595,7 @@ export function UnsignedChannelAnnouncement_set_node_id_1(this_ptr: number, val:
 }
        // struct LDKPublicKey UnsignedChannelAnnouncement_get_node_id_2(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelAnnouncement_get_node_id_2(this_ptr: number): number {
+export function UnsignedChannelAnnouncement_get_node_id_2(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23540,7 +23604,7 @@ export function UnsignedChannelAnnouncement_get_node_id_2(this_ptr: number): num
 }
        // void UnsignedChannelAnnouncement_set_node_id_2(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_node_id_2(this_ptr: number, val: number): void {
+export function UnsignedChannelAnnouncement_set_node_id_2(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23549,7 +23613,7 @@ export function UnsignedChannelAnnouncement_set_node_id_2(this_ptr: number, val:
 }
        // struct LDKPublicKey UnsignedChannelAnnouncement_get_bitcoin_key_1(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelAnnouncement_get_bitcoin_key_1(this_ptr: number): number {
+export function UnsignedChannelAnnouncement_get_bitcoin_key_1(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23558,7 +23622,7 @@ export function UnsignedChannelAnnouncement_get_bitcoin_key_1(this_ptr: number):
 }
        // void UnsignedChannelAnnouncement_set_bitcoin_key_1(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_bitcoin_key_1(this_ptr: number, val: number): void {
+export function UnsignedChannelAnnouncement_set_bitcoin_key_1(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23567,7 +23631,7 @@ export function UnsignedChannelAnnouncement_set_bitcoin_key_1(this_ptr: number,
 }
        // struct LDKPublicKey UnsignedChannelAnnouncement_get_bitcoin_key_2(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelAnnouncement_get_bitcoin_key_2(this_ptr: number): number {
+export function UnsignedChannelAnnouncement_get_bitcoin_key_2(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23576,16 +23640,16 @@ export function UnsignedChannelAnnouncement_get_bitcoin_key_2(this_ptr: number):
 }
        // void UnsignedChannelAnnouncement_set_bitcoin_key_2(struct LDKUnsignedChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function UnsignedChannelAnnouncement_set_bitcoin_key_2(this_ptr: number, val: number): void {
+export function UnsignedChannelAnnouncement_set_bitcoin_key_2(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UnsignedChannelAnnouncement_set_bitcoin_key_2(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t UnsignedChannelAnnouncement_clone_ptr(LDKUnsignedChannelAnnouncement *NONNULL_PTR arg);
+       // uint64_t UnsignedChannelAnnouncement_clone_ptr(LDKUnsignedChannelAnnouncement *NONNULL_PTR arg);
 /* @internal */
-export function UnsignedChannelAnnouncement_clone_ptr(arg: number): number {
+export function UnsignedChannelAnnouncement_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23594,7 +23658,7 @@ export function UnsignedChannelAnnouncement_clone_ptr(arg: number): number {
 }
        // struct LDKUnsignedChannelAnnouncement UnsignedChannelAnnouncement_clone(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR orig);
 /* @internal */
-export function UnsignedChannelAnnouncement_clone(orig: number): number {
+export function UnsignedChannelAnnouncement_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23603,7 +23667,7 @@ export function UnsignedChannelAnnouncement_clone(orig: number): number {
 }
        // void ChannelAnnouncement_free(struct LDKChannelAnnouncement this_obj);
 /* @internal */
-export function ChannelAnnouncement_free(this_obj: number): void {
+export function ChannelAnnouncement_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23612,7 +23676,7 @@ export function ChannelAnnouncement_free(this_obj: number): void {
 }
        // struct LDKSignature ChannelAnnouncement_get_node_signature_1(const struct LDKChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelAnnouncement_get_node_signature_1(this_ptr: number): number {
+export function ChannelAnnouncement_get_node_signature_1(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23621,7 +23685,7 @@ export function ChannelAnnouncement_get_node_signature_1(this_ptr: number): numb
 }
        // void ChannelAnnouncement_set_node_signature_1(struct LDKChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function ChannelAnnouncement_set_node_signature_1(this_ptr: number, val: number): void {
+export function ChannelAnnouncement_set_node_signature_1(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23630,7 +23694,7 @@ export function ChannelAnnouncement_set_node_signature_1(this_ptr: number, val:
 }
        // struct LDKSignature ChannelAnnouncement_get_node_signature_2(const struct LDKChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelAnnouncement_get_node_signature_2(this_ptr: number): number {
+export function ChannelAnnouncement_get_node_signature_2(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23639,7 +23703,7 @@ export function ChannelAnnouncement_get_node_signature_2(this_ptr: number): numb
 }
        // void ChannelAnnouncement_set_node_signature_2(struct LDKChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function ChannelAnnouncement_set_node_signature_2(this_ptr: number, val: number): void {
+export function ChannelAnnouncement_set_node_signature_2(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23648,7 +23712,7 @@ export function ChannelAnnouncement_set_node_signature_2(this_ptr: number, val:
 }
        // struct LDKSignature ChannelAnnouncement_get_bitcoin_signature_1(const struct LDKChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelAnnouncement_get_bitcoin_signature_1(this_ptr: number): number {
+export function ChannelAnnouncement_get_bitcoin_signature_1(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23657,7 +23721,7 @@ export function ChannelAnnouncement_get_bitcoin_signature_1(this_ptr: number): n
 }
        // void ChannelAnnouncement_set_bitcoin_signature_1(struct LDKChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function ChannelAnnouncement_set_bitcoin_signature_1(this_ptr: number, val: number): void {
+export function ChannelAnnouncement_set_bitcoin_signature_1(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23666,7 +23730,7 @@ export function ChannelAnnouncement_set_bitcoin_signature_1(this_ptr: number, va
 }
        // struct LDKSignature ChannelAnnouncement_get_bitcoin_signature_2(const struct LDKChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelAnnouncement_get_bitcoin_signature_2(this_ptr: number): number {
+export function ChannelAnnouncement_get_bitcoin_signature_2(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23675,7 +23739,7 @@ export function ChannelAnnouncement_get_bitcoin_signature_2(this_ptr: number): n
 }
        // void ChannelAnnouncement_set_bitcoin_signature_2(struct LDKChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function ChannelAnnouncement_set_bitcoin_signature_2(this_ptr: number, val: number): void {
+export function ChannelAnnouncement_set_bitcoin_signature_2(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23684,7 +23748,7 @@ export function ChannelAnnouncement_set_bitcoin_signature_2(this_ptr: number, va
 }
        // struct LDKUnsignedChannelAnnouncement ChannelAnnouncement_get_contents(const struct LDKChannelAnnouncement *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelAnnouncement_get_contents(this_ptr: number): number {
+export function ChannelAnnouncement_get_contents(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23693,7 +23757,7 @@ export function ChannelAnnouncement_get_contents(this_ptr: number): number {
 }
        // void ChannelAnnouncement_set_contents(struct LDKChannelAnnouncement *NONNULL_PTR this_ptr, struct LDKUnsignedChannelAnnouncement val);
 /* @internal */
-export function ChannelAnnouncement_set_contents(this_ptr: number, val: number): void {
+export function ChannelAnnouncement_set_contents(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23702,16 +23766,16 @@ export function ChannelAnnouncement_set_contents(this_ptr: number, val: number):
 }
        // MUST_USE_RES struct LDKChannelAnnouncement ChannelAnnouncement_new(struct LDKSignature node_signature_1_arg, struct LDKSignature node_signature_2_arg, struct LDKSignature bitcoin_signature_1_arg, struct LDKSignature bitcoin_signature_2_arg, struct LDKUnsignedChannelAnnouncement contents_arg);
 /* @internal */
-export function ChannelAnnouncement_new(node_signature_1_arg: number, node_signature_2_arg: number, bitcoin_signature_1_arg: number, bitcoin_signature_2_arg: number, contents_arg: number): number {
+export function ChannelAnnouncement_new(node_signature_1_arg: number, node_signature_2_arg: number, bitcoin_signature_1_arg: number, bitcoin_signature_2_arg: number, contents_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelAnnouncement_new(node_signature_1_arg, node_signature_2_arg, bitcoin_signature_1_arg, bitcoin_signature_2_arg, contents_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelAnnouncement_clone_ptr(LDKChannelAnnouncement *NONNULL_PTR arg);
+       // uint64_t ChannelAnnouncement_clone_ptr(LDKChannelAnnouncement *NONNULL_PTR arg);
 /* @internal */
-export function ChannelAnnouncement_clone_ptr(arg: number): number {
+export function ChannelAnnouncement_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23720,7 +23784,7 @@ export function ChannelAnnouncement_clone_ptr(arg: number): number {
 }
        // struct LDKChannelAnnouncement ChannelAnnouncement_clone(const struct LDKChannelAnnouncement *NONNULL_PTR orig);
 /* @internal */
-export function ChannelAnnouncement_clone(orig: number): number {
+export function ChannelAnnouncement_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23729,7 +23793,7 @@ export function ChannelAnnouncement_clone(orig: number): number {
 }
        // void UnsignedChannelUpdate_free(struct LDKUnsignedChannelUpdate this_obj);
 /* @internal */
-export function UnsignedChannelUpdate_free(this_obj: number): void {
+export function UnsignedChannelUpdate_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23738,7 +23802,7 @@ export function UnsignedChannelUpdate_free(this_obj: number): void {
 }
        // const uint8_t (*UnsignedChannelUpdate_get_chain_hash(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function UnsignedChannelUpdate_get_chain_hash(this_ptr: number): number {
+export function UnsignedChannelUpdate_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23747,7 +23811,7 @@ export function UnsignedChannelUpdate_get_chain_hash(this_ptr: number): number {
 }
        // void UnsignedChannelUpdate_set_chain_hash(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function UnsignedChannelUpdate_set_chain_hash(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23756,7 +23820,7 @@ export function UnsignedChannelUpdate_set_chain_hash(this_ptr: number, val: numb
 }
        // uint64_t UnsignedChannelUpdate_get_short_channel_id(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_short_channel_id(this_ptr: number): bigint {
+export function UnsignedChannelUpdate_get_short_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23765,7 +23829,7 @@ export function UnsignedChannelUpdate_get_short_channel_id(this_ptr: number): bi
 }
        // void UnsignedChannelUpdate_set_short_channel_id(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_short_channel_id(this_ptr: number, val: bigint): void {
+export function UnsignedChannelUpdate_set_short_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23774,7 +23838,7 @@ export function UnsignedChannelUpdate_set_short_channel_id(this_ptr: number, val
 }
        // uint32_t UnsignedChannelUpdate_get_timestamp(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_timestamp(this_ptr: number): number {
+export function UnsignedChannelUpdate_get_timestamp(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23783,7 +23847,7 @@ export function UnsignedChannelUpdate_get_timestamp(this_ptr: number): number {
 }
        // void UnsignedChannelUpdate_set_timestamp(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_timestamp(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_timestamp(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23792,7 +23856,7 @@ export function UnsignedChannelUpdate_set_timestamp(this_ptr: number, val: numbe
 }
        // uint8_t UnsignedChannelUpdate_get_flags(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_flags(this_ptr: number): number {
+export function UnsignedChannelUpdate_get_flags(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23801,7 +23865,7 @@ export function UnsignedChannelUpdate_get_flags(this_ptr: number): number {
 }
        // void UnsignedChannelUpdate_set_flags(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint8_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_flags(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_flags(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23810,7 +23874,7 @@ export function UnsignedChannelUpdate_set_flags(this_ptr: number, val: number):
 }
        // uint16_t UnsignedChannelUpdate_get_cltv_expiry_delta(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_cltv_expiry_delta(this_ptr: number): number {
+export function UnsignedChannelUpdate_get_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23819,7 +23883,7 @@ export function UnsignedChannelUpdate_get_cltv_expiry_delta(this_ptr: number): n
 }
        // void UnsignedChannelUpdate_set_cltv_expiry_delta(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23828,7 +23892,7 @@ export function UnsignedChannelUpdate_set_cltv_expiry_delta(this_ptr: number, va
 }
        // uint64_t UnsignedChannelUpdate_get_htlc_minimum_msat(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_htlc_minimum_msat(this_ptr: number): bigint {
+export function UnsignedChannelUpdate_get_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23837,7 +23901,7 @@ export function UnsignedChannelUpdate_get_htlc_minimum_msat(this_ptr: number): b
 }
        // void UnsignedChannelUpdate_set_htlc_minimum_msat(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_htlc_minimum_msat(this_ptr: number, val: bigint): void {
+export function UnsignedChannelUpdate_set_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23846,7 +23910,7 @@ export function UnsignedChannelUpdate_set_htlc_minimum_msat(this_ptr: number, va
 }
        // uint64_t UnsignedChannelUpdate_get_htlc_maximum_msat(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_htlc_maximum_msat(this_ptr: number): bigint {
+export function UnsignedChannelUpdate_get_htlc_maximum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23855,7 +23919,7 @@ export function UnsignedChannelUpdate_get_htlc_maximum_msat(this_ptr: number): b
 }
        // void UnsignedChannelUpdate_set_htlc_maximum_msat(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_htlc_maximum_msat(this_ptr: number, val: bigint): void {
+export function UnsignedChannelUpdate_set_htlc_maximum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23864,7 +23928,7 @@ export function UnsignedChannelUpdate_set_htlc_maximum_msat(this_ptr: number, va
 }
        // uint32_t UnsignedChannelUpdate_get_fee_base_msat(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_fee_base_msat(this_ptr: number): number {
+export function UnsignedChannelUpdate_get_fee_base_msat(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23873,7 +23937,7 @@ export function UnsignedChannelUpdate_get_fee_base_msat(this_ptr: number): numbe
 }
        // void UnsignedChannelUpdate_set_fee_base_msat(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_fee_base_msat(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_fee_base_msat(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23882,7 +23946,7 @@ export function UnsignedChannelUpdate_set_fee_base_msat(this_ptr: number, val: n
 }
        // uint32_t UnsignedChannelUpdate_get_fee_proportional_millionths(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function UnsignedChannelUpdate_get_fee_proportional_millionths(this_ptr: number): number {
+export function UnsignedChannelUpdate_get_fee_proportional_millionths(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23891,16 +23955,25 @@ export function UnsignedChannelUpdate_get_fee_proportional_millionths(this_ptr:
 }
        // void UnsignedChannelUpdate_set_fee_proportional_millionths(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function UnsignedChannelUpdate_set_fee_proportional_millionths(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_fee_proportional_millionths(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UnsignedChannelUpdate_set_fee_proportional_millionths(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_u8Z UnsignedChannelUpdate_get_excess_data(const struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr);
+/* @internal */
+export function UnsignedChannelUpdate_get_excess_data(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_UnsignedChannelUpdate_get_excess_data(this_ptr);
+       return nativeResponseValue;
 }
        // void UnsignedChannelUpdate_set_excess_data(struct LDKUnsignedChannelUpdate *NONNULL_PTR this_ptr, struct LDKCVec_u8Z val);
 /* @internal */
-export function UnsignedChannelUpdate_set_excess_data(this_ptr: number, val: number): void {
+export function UnsignedChannelUpdate_set_excess_data(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23909,16 +23982,16 @@ export function UnsignedChannelUpdate_set_excess_data(this_ptr: number, val: num
 }
        // MUST_USE_RES struct LDKUnsignedChannelUpdate UnsignedChannelUpdate_new(struct LDKThirtyTwoBytes chain_hash_arg, uint64_t short_channel_id_arg, uint32_t timestamp_arg, uint8_t flags_arg, uint16_t cltv_expiry_delta_arg, uint64_t htlc_minimum_msat_arg, uint64_t htlc_maximum_msat_arg, uint32_t fee_base_msat_arg, uint32_t fee_proportional_millionths_arg, struct LDKCVec_u8Z excess_data_arg);
 /* @internal */
-export function UnsignedChannelUpdate_new(chain_hash_arg: number, short_channel_id_arg: bigint, timestamp_arg: number, flags_arg: number, cltv_expiry_delta_arg: number, htlc_minimum_msat_arg: bigint, htlc_maximum_msat_arg: bigint, fee_base_msat_arg: number, fee_proportional_millionths_arg: number, excess_data_arg: number): number {
+export function UnsignedChannelUpdate_new(chain_hash_arg: number, short_channel_id_arg: bigint, timestamp_arg: number, flags_arg: number, cltv_expiry_delta_arg: number, htlc_minimum_msat_arg: bigint, htlc_maximum_msat_arg: bigint, fee_base_msat_arg: number, fee_proportional_millionths_arg: number, excess_data_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_UnsignedChannelUpdate_new(chain_hash_arg, short_channel_id_arg, timestamp_arg, flags_arg, cltv_expiry_delta_arg, htlc_minimum_msat_arg, htlc_maximum_msat_arg, fee_base_msat_arg, fee_proportional_millionths_arg, excess_data_arg);
        return nativeResponseValue;
 }
-       // uintptr_t UnsignedChannelUpdate_clone_ptr(LDKUnsignedChannelUpdate *NONNULL_PTR arg);
+       // uint64_t UnsignedChannelUpdate_clone_ptr(LDKUnsignedChannelUpdate *NONNULL_PTR arg);
 /* @internal */
-export function UnsignedChannelUpdate_clone_ptr(arg: number): number {
+export function UnsignedChannelUpdate_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23927,7 +24000,7 @@ export function UnsignedChannelUpdate_clone_ptr(arg: number): number {
 }
        // struct LDKUnsignedChannelUpdate UnsignedChannelUpdate_clone(const struct LDKUnsignedChannelUpdate *NONNULL_PTR orig);
 /* @internal */
-export function UnsignedChannelUpdate_clone(orig: number): number {
+export function UnsignedChannelUpdate_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23936,7 +24009,7 @@ export function UnsignedChannelUpdate_clone(orig: number): number {
 }
        // void ChannelUpdate_free(struct LDKChannelUpdate this_obj);
 /* @internal */
-export function ChannelUpdate_free(this_obj: number): void {
+export function ChannelUpdate_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23945,7 +24018,7 @@ export function ChannelUpdate_free(this_obj: number): void {
 }
        // struct LDKSignature ChannelUpdate_get_signature(const struct LDKChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdate_get_signature(this_ptr: number): number {
+export function ChannelUpdate_get_signature(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23954,7 +24027,7 @@ export function ChannelUpdate_get_signature(this_ptr: number): number {
 }
        // void ChannelUpdate_set_signature(struct LDKChannelUpdate *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function ChannelUpdate_set_signature(this_ptr: number, val: number): void {
+export function ChannelUpdate_set_signature(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23963,7 +24036,7 @@ export function ChannelUpdate_set_signature(this_ptr: number, val: number): void
 }
        // struct LDKUnsignedChannelUpdate ChannelUpdate_get_contents(const struct LDKChannelUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdate_get_contents(this_ptr: number): number {
+export function ChannelUpdate_get_contents(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23972,7 +24045,7 @@ export function ChannelUpdate_get_contents(this_ptr: number): number {
 }
        // void ChannelUpdate_set_contents(struct LDKChannelUpdate *NONNULL_PTR this_ptr, struct LDKUnsignedChannelUpdate val);
 /* @internal */
-export function ChannelUpdate_set_contents(this_ptr: number, val: number): void {
+export function ChannelUpdate_set_contents(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23981,16 +24054,16 @@ export function ChannelUpdate_set_contents(this_ptr: number, val: number): void
 }
        // MUST_USE_RES struct LDKChannelUpdate ChannelUpdate_new(struct LDKSignature signature_arg, struct LDKUnsignedChannelUpdate contents_arg);
 /* @internal */
-export function ChannelUpdate_new(signature_arg: number, contents_arg: number): number {
+export function ChannelUpdate_new(signature_arg: number, contents_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelUpdate_new(signature_arg, contents_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelUpdate_clone_ptr(LDKChannelUpdate *NONNULL_PTR arg);
+       // uint64_t ChannelUpdate_clone_ptr(LDKChannelUpdate *NONNULL_PTR arg);
 /* @internal */
-export function ChannelUpdate_clone_ptr(arg: number): number {
+export function ChannelUpdate_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -23999,7 +24072,7 @@ export function ChannelUpdate_clone_ptr(arg: number): number {
 }
        // struct LDKChannelUpdate ChannelUpdate_clone(const struct LDKChannelUpdate *NONNULL_PTR orig);
 /* @internal */
-export function ChannelUpdate_clone(orig: number): number {
+export function ChannelUpdate_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24008,7 +24081,7 @@ export function ChannelUpdate_clone(orig: number): number {
 }
        // void QueryChannelRange_free(struct LDKQueryChannelRange this_obj);
 /* @internal */
-export function QueryChannelRange_free(this_obj: number): void {
+export function QueryChannelRange_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24017,7 +24090,7 @@ export function QueryChannelRange_free(this_obj: number): void {
 }
        // const uint8_t (*QueryChannelRange_get_chain_hash(const struct LDKQueryChannelRange *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function QueryChannelRange_get_chain_hash(this_ptr: number): number {
+export function QueryChannelRange_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24026,7 +24099,7 @@ export function QueryChannelRange_get_chain_hash(this_ptr: number): number {
 }
        // void QueryChannelRange_set_chain_hash(struct LDKQueryChannelRange *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function QueryChannelRange_set_chain_hash(this_ptr: number, val: number): void {
+export function QueryChannelRange_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24035,7 +24108,7 @@ export function QueryChannelRange_set_chain_hash(this_ptr: number, val: number):
 }
        // uint32_t QueryChannelRange_get_first_blocknum(const struct LDKQueryChannelRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function QueryChannelRange_get_first_blocknum(this_ptr: number): number {
+export function QueryChannelRange_get_first_blocknum(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24044,7 +24117,7 @@ export function QueryChannelRange_get_first_blocknum(this_ptr: number): number {
 }
        // void QueryChannelRange_set_first_blocknum(struct LDKQueryChannelRange *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function QueryChannelRange_set_first_blocknum(this_ptr: number, val: number): void {
+export function QueryChannelRange_set_first_blocknum(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24053,7 +24126,7 @@ export function QueryChannelRange_set_first_blocknum(this_ptr: number, val: numb
 }
        // uint32_t QueryChannelRange_get_number_of_blocks(const struct LDKQueryChannelRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function QueryChannelRange_get_number_of_blocks(this_ptr: number): number {
+export function QueryChannelRange_get_number_of_blocks(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24062,7 +24135,7 @@ export function QueryChannelRange_get_number_of_blocks(this_ptr: number): number
 }
        // void QueryChannelRange_set_number_of_blocks(struct LDKQueryChannelRange *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function QueryChannelRange_set_number_of_blocks(this_ptr: number, val: number): void {
+export function QueryChannelRange_set_number_of_blocks(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24071,16 +24144,16 @@ export function QueryChannelRange_set_number_of_blocks(this_ptr: number, val: nu
 }
        // MUST_USE_RES struct LDKQueryChannelRange QueryChannelRange_new(struct LDKThirtyTwoBytes chain_hash_arg, uint32_t first_blocknum_arg, uint32_t number_of_blocks_arg);
 /* @internal */
-export function QueryChannelRange_new(chain_hash_arg: number, first_blocknum_arg: number, number_of_blocks_arg: number): number {
+export function QueryChannelRange_new(chain_hash_arg: number, first_blocknum_arg: number, number_of_blocks_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_QueryChannelRange_new(chain_hash_arg, first_blocknum_arg, number_of_blocks_arg);
        return nativeResponseValue;
 }
-       // uintptr_t QueryChannelRange_clone_ptr(LDKQueryChannelRange *NONNULL_PTR arg);
+       // uint64_t QueryChannelRange_clone_ptr(LDKQueryChannelRange *NONNULL_PTR arg);
 /* @internal */
-export function QueryChannelRange_clone_ptr(arg: number): number {
+export function QueryChannelRange_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24089,7 +24162,7 @@ export function QueryChannelRange_clone_ptr(arg: number): number {
 }
        // struct LDKQueryChannelRange QueryChannelRange_clone(const struct LDKQueryChannelRange *NONNULL_PTR orig);
 /* @internal */
-export function QueryChannelRange_clone(orig: number): number {
+export function QueryChannelRange_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24098,7 +24171,7 @@ export function QueryChannelRange_clone(orig: number): number {
 }
        // void ReplyChannelRange_free(struct LDKReplyChannelRange this_obj);
 /* @internal */
-export function ReplyChannelRange_free(this_obj: number): void {
+export function ReplyChannelRange_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24107,7 +24180,7 @@ export function ReplyChannelRange_free(this_obj: number): void {
 }
        // const uint8_t (*ReplyChannelRange_get_chain_hash(const struct LDKReplyChannelRange *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ReplyChannelRange_get_chain_hash(this_ptr: number): number {
+export function ReplyChannelRange_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24116,7 +24189,7 @@ export function ReplyChannelRange_get_chain_hash(this_ptr: number): number {
 }
        // void ReplyChannelRange_set_chain_hash(struct LDKReplyChannelRange *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ReplyChannelRange_set_chain_hash(this_ptr: number, val: number): void {
+export function ReplyChannelRange_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24125,7 +24198,7 @@ export function ReplyChannelRange_set_chain_hash(this_ptr: number, val: number):
 }
        // uint32_t ReplyChannelRange_get_first_blocknum(const struct LDKReplyChannelRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function ReplyChannelRange_get_first_blocknum(this_ptr: number): number {
+export function ReplyChannelRange_get_first_blocknum(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24134,7 +24207,7 @@ export function ReplyChannelRange_get_first_blocknum(this_ptr: number): number {
 }
        // void ReplyChannelRange_set_first_blocknum(struct LDKReplyChannelRange *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ReplyChannelRange_set_first_blocknum(this_ptr: number, val: number): void {
+export function ReplyChannelRange_set_first_blocknum(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24143,7 +24216,7 @@ export function ReplyChannelRange_set_first_blocknum(this_ptr: number, val: numb
 }
        // uint32_t ReplyChannelRange_get_number_of_blocks(const struct LDKReplyChannelRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function ReplyChannelRange_get_number_of_blocks(this_ptr: number): number {
+export function ReplyChannelRange_get_number_of_blocks(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24152,7 +24225,7 @@ export function ReplyChannelRange_get_number_of_blocks(this_ptr: number): number
 }
        // void ReplyChannelRange_set_number_of_blocks(struct LDKReplyChannelRange *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ReplyChannelRange_set_number_of_blocks(this_ptr: number, val: number): void {
+export function ReplyChannelRange_set_number_of_blocks(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24161,7 +24234,7 @@ export function ReplyChannelRange_set_number_of_blocks(this_ptr: number, val: nu
 }
        // bool ReplyChannelRange_get_sync_complete(const struct LDKReplyChannelRange *NONNULL_PTR this_ptr);
 /* @internal */
-export function ReplyChannelRange_get_sync_complete(this_ptr: number): boolean {
+export function ReplyChannelRange_get_sync_complete(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24170,16 +24243,25 @@ export function ReplyChannelRange_get_sync_complete(this_ptr: number): boolean {
 }
        // void ReplyChannelRange_set_sync_complete(struct LDKReplyChannelRange *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ReplyChannelRange_set_sync_complete(this_ptr: number, val: boolean): void {
+export function ReplyChannelRange_set_sync_complete(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ReplyChannelRange_set_sync_complete(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_u64Z ReplyChannelRange_get_short_channel_ids(const struct LDKReplyChannelRange *NONNULL_PTR this_ptr);
+/* @internal */
+export function ReplyChannelRange_get_short_channel_ids(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_ReplyChannelRange_get_short_channel_ids(this_ptr);
+       return nativeResponseValue;
 }
        // void ReplyChannelRange_set_short_channel_ids(struct LDKReplyChannelRange *NONNULL_PTR this_ptr, struct LDKCVec_u64Z val);
 /* @internal */
-export function ReplyChannelRange_set_short_channel_ids(this_ptr: number, val: number): void {
+export function ReplyChannelRange_set_short_channel_ids(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24188,16 +24270,16 @@ export function ReplyChannelRange_set_short_channel_ids(this_ptr: number, val: n
 }
        // MUST_USE_RES struct LDKReplyChannelRange ReplyChannelRange_new(struct LDKThirtyTwoBytes chain_hash_arg, uint32_t first_blocknum_arg, uint32_t number_of_blocks_arg, bool sync_complete_arg, struct LDKCVec_u64Z short_channel_ids_arg);
 /* @internal */
-export function ReplyChannelRange_new(chain_hash_arg: number, first_blocknum_arg: number, number_of_blocks_arg: number, sync_complete_arg: boolean, short_channel_ids_arg: number): number {
+export function ReplyChannelRange_new(chain_hash_arg: number, first_blocknum_arg: number, number_of_blocks_arg: number, sync_complete_arg: boolean, short_channel_ids_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ReplyChannelRange_new(chain_hash_arg, first_blocknum_arg, number_of_blocks_arg, sync_complete_arg, short_channel_ids_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ReplyChannelRange_clone_ptr(LDKReplyChannelRange *NONNULL_PTR arg);
+       // uint64_t ReplyChannelRange_clone_ptr(LDKReplyChannelRange *NONNULL_PTR arg);
 /* @internal */
-export function ReplyChannelRange_clone_ptr(arg: number): number {
+export function ReplyChannelRange_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24206,7 +24288,7 @@ export function ReplyChannelRange_clone_ptr(arg: number): number {
 }
        // struct LDKReplyChannelRange ReplyChannelRange_clone(const struct LDKReplyChannelRange *NONNULL_PTR orig);
 /* @internal */
-export function ReplyChannelRange_clone(orig: number): number {
+export function ReplyChannelRange_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24215,7 +24297,7 @@ export function ReplyChannelRange_clone(orig: number): number {
 }
        // void QueryShortChannelIds_free(struct LDKQueryShortChannelIds this_obj);
 /* @internal */
-export function QueryShortChannelIds_free(this_obj: number): void {
+export function QueryShortChannelIds_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24224,7 +24306,7 @@ export function QueryShortChannelIds_free(this_obj: number): void {
 }
        // const uint8_t (*QueryShortChannelIds_get_chain_hash(const struct LDKQueryShortChannelIds *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function QueryShortChannelIds_get_chain_hash(this_ptr: number): number {
+export function QueryShortChannelIds_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24233,16 +24315,25 @@ export function QueryShortChannelIds_get_chain_hash(this_ptr: number): number {
 }
        // void QueryShortChannelIds_set_chain_hash(struct LDKQueryShortChannelIds *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function QueryShortChannelIds_set_chain_hash(this_ptr: number, val: number): void {
+export function QueryShortChannelIds_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_QueryShortChannelIds_set_chain_hash(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_u64Z QueryShortChannelIds_get_short_channel_ids(const struct LDKQueryShortChannelIds *NONNULL_PTR this_ptr);
+/* @internal */
+export function QueryShortChannelIds_get_short_channel_ids(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_QueryShortChannelIds_get_short_channel_ids(this_ptr);
+       return nativeResponseValue;
 }
        // void QueryShortChannelIds_set_short_channel_ids(struct LDKQueryShortChannelIds *NONNULL_PTR this_ptr, struct LDKCVec_u64Z val);
 /* @internal */
-export function QueryShortChannelIds_set_short_channel_ids(this_ptr: number, val: number): void {
+export function QueryShortChannelIds_set_short_channel_ids(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24251,16 +24342,16 @@ export function QueryShortChannelIds_set_short_channel_ids(this_ptr: number, val
 }
        // MUST_USE_RES struct LDKQueryShortChannelIds QueryShortChannelIds_new(struct LDKThirtyTwoBytes chain_hash_arg, struct LDKCVec_u64Z short_channel_ids_arg);
 /* @internal */
-export function QueryShortChannelIds_new(chain_hash_arg: number, short_channel_ids_arg: number): number {
+export function QueryShortChannelIds_new(chain_hash_arg: number, short_channel_ids_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_QueryShortChannelIds_new(chain_hash_arg, short_channel_ids_arg);
        return nativeResponseValue;
 }
-       // uintptr_t QueryShortChannelIds_clone_ptr(LDKQueryShortChannelIds *NONNULL_PTR arg);
+       // uint64_t QueryShortChannelIds_clone_ptr(LDKQueryShortChannelIds *NONNULL_PTR arg);
 /* @internal */
-export function QueryShortChannelIds_clone_ptr(arg: number): number {
+export function QueryShortChannelIds_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24269,7 +24360,7 @@ export function QueryShortChannelIds_clone_ptr(arg: number): number {
 }
        // struct LDKQueryShortChannelIds QueryShortChannelIds_clone(const struct LDKQueryShortChannelIds *NONNULL_PTR orig);
 /* @internal */
-export function QueryShortChannelIds_clone(orig: number): number {
+export function QueryShortChannelIds_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24278,7 +24369,7 @@ export function QueryShortChannelIds_clone(orig: number): number {
 }
        // void ReplyShortChannelIdsEnd_free(struct LDKReplyShortChannelIdsEnd this_obj);
 /* @internal */
-export function ReplyShortChannelIdsEnd_free(this_obj: number): void {
+export function ReplyShortChannelIdsEnd_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24287,7 +24378,7 @@ export function ReplyShortChannelIdsEnd_free(this_obj: number): void {
 }
        // const uint8_t (*ReplyShortChannelIdsEnd_get_chain_hash(const struct LDKReplyShortChannelIdsEnd *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function ReplyShortChannelIdsEnd_get_chain_hash(this_ptr: number): number {
+export function ReplyShortChannelIdsEnd_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24296,7 +24387,7 @@ export function ReplyShortChannelIdsEnd_get_chain_hash(this_ptr: number): number
 }
        // void ReplyShortChannelIdsEnd_set_chain_hash(struct LDKReplyShortChannelIdsEnd *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function ReplyShortChannelIdsEnd_set_chain_hash(this_ptr: number, val: number): void {
+export function ReplyShortChannelIdsEnd_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24305,7 +24396,7 @@ export function ReplyShortChannelIdsEnd_set_chain_hash(this_ptr: number, val: nu
 }
        // bool ReplyShortChannelIdsEnd_get_full_information(const struct LDKReplyShortChannelIdsEnd *NONNULL_PTR this_ptr);
 /* @internal */
-export function ReplyShortChannelIdsEnd_get_full_information(this_ptr: number): boolean {
+export function ReplyShortChannelIdsEnd_get_full_information(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24314,7 +24405,7 @@ export function ReplyShortChannelIdsEnd_get_full_information(this_ptr: number):
 }
        // void ReplyShortChannelIdsEnd_set_full_information(struct LDKReplyShortChannelIdsEnd *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ReplyShortChannelIdsEnd_set_full_information(this_ptr: number, val: boolean): void {
+export function ReplyShortChannelIdsEnd_set_full_information(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24323,16 +24414,16 @@ export function ReplyShortChannelIdsEnd_set_full_information(this_ptr: number, v
 }
        // MUST_USE_RES struct LDKReplyShortChannelIdsEnd ReplyShortChannelIdsEnd_new(struct LDKThirtyTwoBytes chain_hash_arg, bool full_information_arg);
 /* @internal */
-export function ReplyShortChannelIdsEnd_new(chain_hash_arg: number, full_information_arg: boolean): number {
+export function ReplyShortChannelIdsEnd_new(chain_hash_arg: number, full_information_arg: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ReplyShortChannelIdsEnd_new(chain_hash_arg, full_information_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ReplyShortChannelIdsEnd_clone_ptr(LDKReplyShortChannelIdsEnd *NONNULL_PTR arg);
+       // uint64_t ReplyShortChannelIdsEnd_clone_ptr(LDKReplyShortChannelIdsEnd *NONNULL_PTR arg);
 /* @internal */
-export function ReplyShortChannelIdsEnd_clone_ptr(arg: number): number {
+export function ReplyShortChannelIdsEnd_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24341,7 +24432,7 @@ export function ReplyShortChannelIdsEnd_clone_ptr(arg: number): number {
 }
        // struct LDKReplyShortChannelIdsEnd ReplyShortChannelIdsEnd_clone(const struct LDKReplyShortChannelIdsEnd *NONNULL_PTR orig);
 /* @internal */
-export function ReplyShortChannelIdsEnd_clone(orig: number): number {
+export function ReplyShortChannelIdsEnd_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24350,7 +24441,7 @@ export function ReplyShortChannelIdsEnd_clone(orig: number): number {
 }
        // void GossipTimestampFilter_free(struct LDKGossipTimestampFilter this_obj);
 /* @internal */
-export function GossipTimestampFilter_free(this_obj: number): void {
+export function GossipTimestampFilter_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24359,7 +24450,7 @@ export function GossipTimestampFilter_free(this_obj: number): void {
 }
        // const uint8_t (*GossipTimestampFilter_get_chain_hash(const struct LDKGossipTimestampFilter *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function GossipTimestampFilter_get_chain_hash(this_ptr: number): number {
+export function GossipTimestampFilter_get_chain_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24368,7 +24459,7 @@ export function GossipTimestampFilter_get_chain_hash(this_ptr: number): number {
 }
        // void GossipTimestampFilter_set_chain_hash(struct LDKGossipTimestampFilter *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function GossipTimestampFilter_set_chain_hash(this_ptr: number, val: number): void {
+export function GossipTimestampFilter_set_chain_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24377,7 +24468,7 @@ export function GossipTimestampFilter_set_chain_hash(this_ptr: number, val: numb
 }
        // uint32_t GossipTimestampFilter_get_first_timestamp(const struct LDKGossipTimestampFilter *NONNULL_PTR this_ptr);
 /* @internal */
-export function GossipTimestampFilter_get_first_timestamp(this_ptr: number): number {
+export function GossipTimestampFilter_get_first_timestamp(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24386,7 +24477,7 @@ export function GossipTimestampFilter_get_first_timestamp(this_ptr: number): num
 }
        // void GossipTimestampFilter_set_first_timestamp(struct LDKGossipTimestampFilter *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function GossipTimestampFilter_set_first_timestamp(this_ptr: number, val: number): void {
+export function GossipTimestampFilter_set_first_timestamp(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24395,7 +24486,7 @@ export function GossipTimestampFilter_set_first_timestamp(this_ptr: number, val:
 }
        // uint32_t GossipTimestampFilter_get_timestamp_range(const struct LDKGossipTimestampFilter *NONNULL_PTR this_ptr);
 /* @internal */
-export function GossipTimestampFilter_get_timestamp_range(this_ptr: number): number {
+export function GossipTimestampFilter_get_timestamp_range(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24404,7 +24495,7 @@ export function GossipTimestampFilter_get_timestamp_range(this_ptr: number): num
 }
        // void GossipTimestampFilter_set_timestamp_range(struct LDKGossipTimestampFilter *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function GossipTimestampFilter_set_timestamp_range(this_ptr: number, val: number): void {
+export function GossipTimestampFilter_set_timestamp_range(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24413,16 +24504,16 @@ export function GossipTimestampFilter_set_timestamp_range(this_ptr: number, val:
 }
        // MUST_USE_RES struct LDKGossipTimestampFilter GossipTimestampFilter_new(struct LDKThirtyTwoBytes chain_hash_arg, uint32_t first_timestamp_arg, uint32_t timestamp_range_arg);
 /* @internal */
-export function GossipTimestampFilter_new(chain_hash_arg: number, first_timestamp_arg: number, timestamp_range_arg: number): number {
+export function GossipTimestampFilter_new(chain_hash_arg: number, first_timestamp_arg: number, timestamp_range_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_GossipTimestampFilter_new(chain_hash_arg, first_timestamp_arg, timestamp_range_arg);
        return nativeResponseValue;
 }
-       // uintptr_t GossipTimestampFilter_clone_ptr(LDKGossipTimestampFilter *NONNULL_PTR arg);
+       // uint64_t GossipTimestampFilter_clone_ptr(LDKGossipTimestampFilter *NONNULL_PTR arg);
 /* @internal */
-export function GossipTimestampFilter_clone_ptr(arg: number): number {
+export function GossipTimestampFilter_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24431,7 +24522,7 @@ export function GossipTimestampFilter_clone_ptr(arg: number): number {
 }
        // struct LDKGossipTimestampFilter GossipTimestampFilter_clone(const struct LDKGossipTimestampFilter *NONNULL_PTR orig);
 /* @internal */
-export function GossipTimestampFilter_clone(orig: number): number {
+export function GossipTimestampFilter_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24440,16 +24531,16 @@ export function GossipTimestampFilter_clone(orig: number): number {
 }
        // void ErrorAction_free(struct LDKErrorAction this_ptr);
 /* @internal */
-export function ErrorAction_free(this_ptr: number): void {
+export function ErrorAction_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ErrorAction_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t ErrorAction_clone_ptr(LDKErrorAction *NONNULL_PTR arg);
+       // uint64_t ErrorAction_clone_ptr(LDKErrorAction *NONNULL_PTR arg);
 /* @internal */
-export function ErrorAction_clone_ptr(arg: number): number {
+export function ErrorAction_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24458,7 +24549,7 @@ export function ErrorAction_clone_ptr(arg: number): number {
 }
        // struct LDKErrorAction ErrorAction_clone(const struct LDKErrorAction *NONNULL_PTR orig);
 /* @internal */
-export function ErrorAction_clone(orig: number): number {
+export function ErrorAction_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24467,7 +24558,7 @@ export function ErrorAction_clone(orig: number): number {
 }
        // struct LDKErrorAction ErrorAction_disconnect_peer(struct LDKErrorMessage msg);
 /* @internal */
-export function ErrorAction_disconnect_peer(msg: number): number {
+export function ErrorAction_disconnect_peer(msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24476,7 +24567,7 @@ export function ErrorAction_disconnect_peer(msg: number): number {
 }
        // struct LDKErrorAction ErrorAction_ignore_error(void);
 /* @internal */
-export function ErrorAction_ignore_error(): number {
+export function ErrorAction_ignore_error(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24485,7 +24576,7 @@ export function ErrorAction_ignore_error(): number {
 }
        // struct LDKErrorAction ErrorAction_ignore_and_log(enum LDKLevel a);
 /* @internal */
-export function ErrorAction_ignore_and_log(a: Level): number {
+export function ErrorAction_ignore_and_log(a: Level): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24494,7 +24585,7 @@ export function ErrorAction_ignore_and_log(a: Level): number {
 }
        // struct LDKErrorAction ErrorAction_ignore_duplicate_gossip(void);
 /* @internal */
-export function ErrorAction_ignore_duplicate_gossip(): number {
+export function ErrorAction_ignore_duplicate_gossip(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24503,7 +24594,7 @@ export function ErrorAction_ignore_duplicate_gossip(): number {
 }
        // struct LDKErrorAction ErrorAction_send_error_message(struct LDKErrorMessage msg);
 /* @internal */
-export function ErrorAction_send_error_message(msg: number): number {
+export function ErrorAction_send_error_message(msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24512,7 +24603,7 @@ export function ErrorAction_send_error_message(msg: number): number {
 }
        // struct LDKErrorAction ErrorAction_send_warning_message(struct LDKWarningMessage msg, enum LDKLevel log_level);
 /* @internal */
-export function ErrorAction_send_warning_message(msg: number, log_level: Level): number {
+export function ErrorAction_send_warning_message(msg: bigint, log_level: Level): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24521,7 +24612,7 @@ export function ErrorAction_send_warning_message(msg: number, log_level: Level):
 }
        // void LightningError_free(struct LDKLightningError this_obj);
 /* @internal */
-export function LightningError_free(this_obj: number): void {
+export function LightningError_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24530,7 +24621,7 @@ export function LightningError_free(this_obj: number): void {
 }
        // struct LDKStr LightningError_get_err(const struct LDKLightningError *NONNULL_PTR this_ptr);
 /* @internal */
-export function LightningError_get_err(this_ptr: number): number {
+export function LightningError_get_err(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24539,7 +24630,7 @@ export function LightningError_get_err(this_ptr: number): number {
 }
        // void LightningError_set_err(struct LDKLightningError *NONNULL_PTR this_ptr, struct LDKStr val);
 /* @internal */
-export function LightningError_set_err(this_ptr: number, val: number): void {
+export function LightningError_set_err(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24548,7 +24639,7 @@ export function LightningError_set_err(this_ptr: number, val: number): void {
 }
        // struct LDKErrorAction LightningError_get_action(const struct LDKLightningError *NONNULL_PTR this_ptr);
 /* @internal */
-export function LightningError_get_action(this_ptr: number): number {
+export function LightningError_get_action(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24557,7 +24648,7 @@ export function LightningError_get_action(this_ptr: number): number {
 }
        // void LightningError_set_action(struct LDKLightningError *NONNULL_PTR this_ptr, struct LDKErrorAction val);
 /* @internal */
-export function LightningError_set_action(this_ptr: number, val: number): void {
+export function LightningError_set_action(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24566,16 +24657,16 @@ export function LightningError_set_action(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKLightningError LightningError_new(struct LDKStr err_arg, struct LDKErrorAction action_arg);
 /* @internal */
-export function LightningError_new(err_arg: number, action_arg: number): number {
+export function LightningError_new(err_arg: number, action_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_LightningError_new(err_arg, action_arg);
        return nativeResponseValue;
 }
-       // uintptr_t LightningError_clone_ptr(LDKLightningError *NONNULL_PTR arg);
+       // uint64_t LightningError_clone_ptr(LDKLightningError *NONNULL_PTR arg);
 /* @internal */
-export function LightningError_clone_ptr(arg: number): number {
+export function LightningError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24584,7 +24675,7 @@ export function LightningError_clone_ptr(arg: number): number {
 }
        // struct LDKLightningError LightningError_clone(const struct LDKLightningError *NONNULL_PTR orig);
 /* @internal */
-export function LightningError_clone(orig: number): number {
+export function LightningError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24593,7 +24684,7 @@ export function LightningError_clone(orig: number): number {
 }
        // void CommitmentUpdate_free(struct LDKCommitmentUpdate this_obj);
 /* @internal */
-export function CommitmentUpdate_free(this_obj: number): void {
+export function CommitmentUpdate_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24602,7 +24693,7 @@ export function CommitmentUpdate_free(this_obj: number): void {
 }
        // struct LDKCVec_UpdateAddHTLCZ CommitmentUpdate_get_update_add_htlcs(const struct LDKCommitmentUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentUpdate_get_update_add_htlcs(this_ptr: number): number {
+export function CommitmentUpdate_get_update_add_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24611,7 +24702,7 @@ export function CommitmentUpdate_get_update_add_htlcs(this_ptr: number): number
 }
        // void CommitmentUpdate_set_update_add_htlcs(struct LDKCommitmentUpdate *NONNULL_PTR this_ptr, struct LDKCVec_UpdateAddHTLCZ val);
 /* @internal */
-export function CommitmentUpdate_set_update_add_htlcs(this_ptr: number, val: number): void {
+export function CommitmentUpdate_set_update_add_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24620,7 +24711,7 @@ export function CommitmentUpdate_set_update_add_htlcs(this_ptr: number, val: num
 }
        // struct LDKCVec_UpdateFulfillHTLCZ CommitmentUpdate_get_update_fulfill_htlcs(const struct LDKCommitmentUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentUpdate_get_update_fulfill_htlcs(this_ptr: number): number {
+export function CommitmentUpdate_get_update_fulfill_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24629,7 +24720,7 @@ export function CommitmentUpdate_get_update_fulfill_htlcs(this_ptr: number): num
 }
        // void CommitmentUpdate_set_update_fulfill_htlcs(struct LDKCommitmentUpdate *NONNULL_PTR this_ptr, struct LDKCVec_UpdateFulfillHTLCZ val);
 /* @internal */
-export function CommitmentUpdate_set_update_fulfill_htlcs(this_ptr: number, val: number): void {
+export function CommitmentUpdate_set_update_fulfill_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24638,7 +24729,7 @@ export function CommitmentUpdate_set_update_fulfill_htlcs(this_ptr: number, val:
 }
        // struct LDKCVec_UpdateFailHTLCZ CommitmentUpdate_get_update_fail_htlcs(const struct LDKCommitmentUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentUpdate_get_update_fail_htlcs(this_ptr: number): number {
+export function CommitmentUpdate_get_update_fail_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24647,7 +24738,7 @@ export function CommitmentUpdate_get_update_fail_htlcs(this_ptr: number): number
 }
        // void CommitmentUpdate_set_update_fail_htlcs(struct LDKCommitmentUpdate *NONNULL_PTR this_ptr, struct LDKCVec_UpdateFailHTLCZ val);
 /* @internal */
-export function CommitmentUpdate_set_update_fail_htlcs(this_ptr: number, val: number): void {
+export function CommitmentUpdate_set_update_fail_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24656,7 +24747,7 @@ export function CommitmentUpdate_set_update_fail_htlcs(this_ptr: number, val: nu
 }
        // struct LDKCVec_UpdateFailMalformedHTLCZ CommitmentUpdate_get_update_fail_malformed_htlcs(const struct LDKCommitmentUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentUpdate_get_update_fail_malformed_htlcs(this_ptr: number): number {
+export function CommitmentUpdate_get_update_fail_malformed_htlcs(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24665,7 +24756,7 @@ export function CommitmentUpdate_get_update_fail_malformed_htlcs(this_ptr: numbe
 }
        // void CommitmentUpdate_set_update_fail_malformed_htlcs(struct LDKCommitmentUpdate *NONNULL_PTR this_ptr, struct LDKCVec_UpdateFailMalformedHTLCZ val);
 /* @internal */
-export function CommitmentUpdate_set_update_fail_malformed_htlcs(this_ptr: number, val: number): void {
+export function CommitmentUpdate_set_update_fail_malformed_htlcs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24674,7 +24765,7 @@ export function CommitmentUpdate_set_update_fail_malformed_htlcs(this_ptr: numbe
 }
        // struct LDKUpdateFee CommitmentUpdate_get_update_fee(const struct LDKCommitmentUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentUpdate_get_update_fee(this_ptr: number): number {
+export function CommitmentUpdate_get_update_fee(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24683,7 +24774,7 @@ export function CommitmentUpdate_get_update_fee(this_ptr: number): number {
 }
        // void CommitmentUpdate_set_update_fee(struct LDKCommitmentUpdate *NONNULL_PTR this_ptr, struct LDKUpdateFee val);
 /* @internal */
-export function CommitmentUpdate_set_update_fee(this_ptr: number, val: number): void {
+export function CommitmentUpdate_set_update_fee(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24692,7 +24783,7 @@ export function CommitmentUpdate_set_update_fee(this_ptr: number, val: number):
 }
        // struct LDKCommitmentSigned CommitmentUpdate_get_commitment_signed(const struct LDKCommitmentUpdate *NONNULL_PTR this_ptr);
 /* @internal */
-export function CommitmentUpdate_get_commitment_signed(this_ptr: number): number {
+export function CommitmentUpdate_get_commitment_signed(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24701,7 +24792,7 @@ export function CommitmentUpdate_get_commitment_signed(this_ptr: number): number
 }
        // void CommitmentUpdate_set_commitment_signed(struct LDKCommitmentUpdate *NONNULL_PTR this_ptr, struct LDKCommitmentSigned val);
 /* @internal */
-export function CommitmentUpdate_set_commitment_signed(this_ptr: number, val: number): void {
+export function CommitmentUpdate_set_commitment_signed(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24710,16 +24801,16 @@ export function CommitmentUpdate_set_commitment_signed(this_ptr: number, val: nu
 }
        // MUST_USE_RES struct LDKCommitmentUpdate CommitmentUpdate_new(struct LDKCVec_UpdateAddHTLCZ update_add_htlcs_arg, struct LDKCVec_UpdateFulfillHTLCZ update_fulfill_htlcs_arg, struct LDKCVec_UpdateFailHTLCZ update_fail_htlcs_arg, struct LDKCVec_UpdateFailMalformedHTLCZ update_fail_malformed_htlcs_arg, struct LDKUpdateFee update_fee_arg, struct LDKCommitmentSigned commitment_signed_arg);
 /* @internal */
-export function CommitmentUpdate_new(update_add_htlcs_arg: number, update_fulfill_htlcs_arg: number, update_fail_htlcs_arg: number, update_fail_malformed_htlcs_arg: number, update_fee_arg: number, commitment_signed_arg: number): number {
+export function CommitmentUpdate_new(update_add_htlcs_arg: number, update_fulfill_htlcs_arg: number, update_fail_htlcs_arg: number, update_fail_malformed_htlcs_arg: number, update_fee_arg: bigint, commitment_signed_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CommitmentUpdate_new(update_add_htlcs_arg, update_fulfill_htlcs_arg, update_fail_htlcs_arg, update_fail_malformed_htlcs_arg, update_fee_arg, commitment_signed_arg);
        return nativeResponseValue;
 }
-       // uintptr_t CommitmentUpdate_clone_ptr(LDKCommitmentUpdate *NONNULL_PTR arg);
+       // uint64_t CommitmentUpdate_clone_ptr(LDKCommitmentUpdate *NONNULL_PTR arg);
 /* @internal */
-export function CommitmentUpdate_clone_ptr(arg: number): number {
+export function CommitmentUpdate_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24728,7 +24819,7 @@ export function CommitmentUpdate_clone_ptr(arg: number): number {
 }
        // struct LDKCommitmentUpdate CommitmentUpdate_clone(const struct LDKCommitmentUpdate *NONNULL_PTR orig);
 /* @internal */
-export function CommitmentUpdate_clone(orig: number): number {
+export function CommitmentUpdate_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24737,7 +24828,7 @@ export function CommitmentUpdate_clone(orig: number): number {
 }
        // void ChannelMessageHandler_free(struct LDKChannelMessageHandler this_ptr);
 /* @internal */
-export function ChannelMessageHandler_free(this_ptr: number): void {
+export function ChannelMessageHandler_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24746,7 +24837,7 @@ export function ChannelMessageHandler_free(this_ptr: number): void {
 }
        // void RoutingMessageHandler_free(struct LDKRoutingMessageHandler this_ptr);
 /* @internal */
-export function RoutingMessageHandler_free(this_ptr: number): void {
+export function RoutingMessageHandler_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24755,7 +24846,7 @@ export function RoutingMessageHandler_free(this_ptr: number): void {
 }
        // struct LDKCVec_u8Z AcceptChannel_write(const struct LDKAcceptChannel *NONNULL_PTR obj);
 /* @internal */
-export function AcceptChannel_write(obj: number): number {
+export function AcceptChannel_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24764,7 +24855,7 @@ export function AcceptChannel_write(obj: number): number {
 }
        // struct LDKCResult_AcceptChannelDecodeErrorZ AcceptChannel_read(struct LDKu8slice ser);
 /* @internal */
-export function AcceptChannel_read(ser: number): number {
+export function AcceptChannel_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24773,7 +24864,7 @@ export function AcceptChannel_read(ser: number): number {
 }
        // struct LDKCVec_u8Z AnnouncementSignatures_write(const struct LDKAnnouncementSignatures *NONNULL_PTR obj);
 /* @internal */
-export function AnnouncementSignatures_write(obj: number): number {
+export function AnnouncementSignatures_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24782,7 +24873,7 @@ export function AnnouncementSignatures_write(obj: number): number {
 }
        // struct LDKCResult_AnnouncementSignaturesDecodeErrorZ AnnouncementSignatures_read(struct LDKu8slice ser);
 /* @internal */
-export function AnnouncementSignatures_read(ser: number): number {
+export function AnnouncementSignatures_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24791,7 +24882,7 @@ export function AnnouncementSignatures_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelReestablish_write(const struct LDKChannelReestablish *NONNULL_PTR obj);
 /* @internal */
-export function ChannelReestablish_write(obj: number): number {
+export function ChannelReestablish_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24800,7 +24891,7 @@ export function ChannelReestablish_write(obj: number): number {
 }
        // struct LDKCResult_ChannelReestablishDecodeErrorZ ChannelReestablish_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelReestablish_read(ser: number): number {
+export function ChannelReestablish_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24809,7 +24900,7 @@ export function ChannelReestablish_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ClosingSigned_write(const struct LDKClosingSigned *NONNULL_PTR obj);
 /* @internal */
-export function ClosingSigned_write(obj: number): number {
+export function ClosingSigned_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24818,7 +24909,7 @@ export function ClosingSigned_write(obj: number): number {
 }
        // struct LDKCResult_ClosingSignedDecodeErrorZ ClosingSigned_read(struct LDKu8slice ser);
 /* @internal */
-export function ClosingSigned_read(ser: number): number {
+export function ClosingSigned_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24827,7 +24918,7 @@ export function ClosingSigned_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ClosingSignedFeeRange_write(const struct LDKClosingSignedFeeRange *NONNULL_PTR obj);
 /* @internal */
-export function ClosingSignedFeeRange_write(obj: number): number {
+export function ClosingSignedFeeRange_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24836,7 +24927,7 @@ export function ClosingSignedFeeRange_write(obj: number): number {
 }
        // struct LDKCResult_ClosingSignedFeeRangeDecodeErrorZ ClosingSignedFeeRange_read(struct LDKu8slice ser);
 /* @internal */
-export function ClosingSignedFeeRange_read(ser: number): number {
+export function ClosingSignedFeeRange_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24845,7 +24936,7 @@ export function ClosingSignedFeeRange_read(ser: number): number {
 }
        // struct LDKCVec_u8Z CommitmentSigned_write(const struct LDKCommitmentSigned *NONNULL_PTR obj);
 /* @internal */
-export function CommitmentSigned_write(obj: number): number {
+export function CommitmentSigned_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24854,7 +24945,7 @@ export function CommitmentSigned_write(obj: number): number {
 }
        // struct LDKCResult_CommitmentSignedDecodeErrorZ CommitmentSigned_read(struct LDKu8slice ser);
 /* @internal */
-export function CommitmentSigned_read(ser: number): number {
+export function CommitmentSigned_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24863,7 +24954,7 @@ export function CommitmentSigned_read(ser: number): number {
 }
        // struct LDKCVec_u8Z FundingCreated_write(const struct LDKFundingCreated *NONNULL_PTR obj);
 /* @internal */
-export function FundingCreated_write(obj: number): number {
+export function FundingCreated_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24872,7 +24963,7 @@ export function FundingCreated_write(obj: number): number {
 }
        // struct LDKCResult_FundingCreatedDecodeErrorZ FundingCreated_read(struct LDKu8slice ser);
 /* @internal */
-export function FundingCreated_read(ser: number): number {
+export function FundingCreated_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24881,7 +24972,7 @@ export function FundingCreated_read(ser: number): number {
 }
        // struct LDKCVec_u8Z FundingSigned_write(const struct LDKFundingSigned *NONNULL_PTR obj);
 /* @internal */
-export function FundingSigned_write(obj: number): number {
+export function FundingSigned_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24890,7 +24981,7 @@ export function FundingSigned_write(obj: number): number {
 }
        // struct LDKCResult_FundingSignedDecodeErrorZ FundingSigned_read(struct LDKu8slice ser);
 /* @internal */
-export function FundingSigned_read(ser: number): number {
+export function FundingSigned_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24899,7 +24990,7 @@ export function FundingSigned_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelReady_write(const struct LDKChannelReady *NONNULL_PTR obj);
 /* @internal */
-export function ChannelReady_write(obj: number): number {
+export function ChannelReady_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24908,7 +24999,7 @@ export function ChannelReady_write(obj: number): number {
 }
        // struct LDKCResult_ChannelReadyDecodeErrorZ ChannelReady_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelReady_read(ser: number): number {
+export function ChannelReady_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24917,7 +25008,7 @@ export function ChannelReady_read(ser: number): number {
 }
        // struct LDKCVec_u8Z Init_write(const struct LDKInit *NONNULL_PTR obj);
 /* @internal */
-export function Init_write(obj: number): number {
+export function Init_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24926,7 +25017,7 @@ export function Init_write(obj: number): number {
 }
        // struct LDKCResult_InitDecodeErrorZ Init_read(struct LDKu8slice ser);
 /* @internal */
-export function Init_read(ser: number): number {
+export function Init_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24935,7 +25026,7 @@ export function Init_read(ser: number): number {
 }
        // struct LDKCVec_u8Z OpenChannel_write(const struct LDKOpenChannel *NONNULL_PTR obj);
 /* @internal */
-export function OpenChannel_write(obj: number): number {
+export function OpenChannel_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24944,7 +25035,7 @@ export function OpenChannel_write(obj: number): number {
 }
        // struct LDKCResult_OpenChannelDecodeErrorZ OpenChannel_read(struct LDKu8slice ser);
 /* @internal */
-export function OpenChannel_read(ser: number): number {
+export function OpenChannel_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24953,7 +25044,7 @@ export function OpenChannel_read(ser: number): number {
 }
        // struct LDKCVec_u8Z RevokeAndACK_write(const struct LDKRevokeAndACK *NONNULL_PTR obj);
 /* @internal */
-export function RevokeAndACK_write(obj: number): number {
+export function RevokeAndACK_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24962,7 +25053,7 @@ export function RevokeAndACK_write(obj: number): number {
 }
        // struct LDKCResult_RevokeAndACKDecodeErrorZ RevokeAndACK_read(struct LDKu8slice ser);
 /* @internal */
-export function RevokeAndACK_read(ser: number): number {
+export function RevokeAndACK_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24971,7 +25062,7 @@ export function RevokeAndACK_read(ser: number): number {
 }
        // struct LDKCVec_u8Z Shutdown_write(const struct LDKShutdown *NONNULL_PTR obj);
 /* @internal */
-export function Shutdown_write(obj: number): number {
+export function Shutdown_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24980,7 +25071,7 @@ export function Shutdown_write(obj: number): number {
 }
        // struct LDKCResult_ShutdownDecodeErrorZ Shutdown_read(struct LDKu8slice ser);
 /* @internal */
-export function Shutdown_read(ser: number): number {
+export function Shutdown_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24989,7 +25080,7 @@ export function Shutdown_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UpdateFailHTLC_write(const struct LDKUpdateFailHTLC *NONNULL_PTR obj);
 /* @internal */
-export function UpdateFailHTLC_write(obj: number): number {
+export function UpdateFailHTLC_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -24998,7 +25089,7 @@ export function UpdateFailHTLC_write(obj: number): number {
 }
        // struct LDKCResult_UpdateFailHTLCDecodeErrorZ UpdateFailHTLC_read(struct LDKu8slice ser);
 /* @internal */
-export function UpdateFailHTLC_read(ser: number): number {
+export function UpdateFailHTLC_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25007,7 +25098,7 @@ export function UpdateFailHTLC_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UpdateFailMalformedHTLC_write(const struct LDKUpdateFailMalformedHTLC *NONNULL_PTR obj);
 /* @internal */
-export function UpdateFailMalformedHTLC_write(obj: number): number {
+export function UpdateFailMalformedHTLC_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25016,7 +25107,7 @@ export function UpdateFailMalformedHTLC_write(obj: number): number {
 }
        // struct LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ UpdateFailMalformedHTLC_read(struct LDKu8slice ser);
 /* @internal */
-export function UpdateFailMalformedHTLC_read(ser: number): number {
+export function UpdateFailMalformedHTLC_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25025,7 +25116,7 @@ export function UpdateFailMalformedHTLC_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UpdateFee_write(const struct LDKUpdateFee *NONNULL_PTR obj);
 /* @internal */
-export function UpdateFee_write(obj: number): number {
+export function UpdateFee_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25034,7 +25125,7 @@ export function UpdateFee_write(obj: number): number {
 }
        // struct LDKCResult_UpdateFeeDecodeErrorZ UpdateFee_read(struct LDKu8slice ser);
 /* @internal */
-export function UpdateFee_read(ser: number): number {
+export function UpdateFee_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25043,7 +25134,7 @@ export function UpdateFee_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UpdateFulfillHTLC_write(const struct LDKUpdateFulfillHTLC *NONNULL_PTR obj);
 /* @internal */
-export function UpdateFulfillHTLC_write(obj: number): number {
+export function UpdateFulfillHTLC_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25052,7 +25143,7 @@ export function UpdateFulfillHTLC_write(obj: number): number {
 }
        // struct LDKCResult_UpdateFulfillHTLCDecodeErrorZ UpdateFulfillHTLC_read(struct LDKu8slice ser);
 /* @internal */
-export function UpdateFulfillHTLC_read(ser: number): number {
+export function UpdateFulfillHTLC_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25061,7 +25152,7 @@ export function UpdateFulfillHTLC_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UpdateAddHTLC_write(const struct LDKUpdateAddHTLC *NONNULL_PTR obj);
 /* @internal */
-export function UpdateAddHTLC_write(obj: number): number {
+export function UpdateAddHTLC_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25070,7 +25161,7 @@ export function UpdateAddHTLC_write(obj: number): number {
 }
        // struct LDKCResult_UpdateAddHTLCDecodeErrorZ UpdateAddHTLC_read(struct LDKu8slice ser);
 /* @internal */
-export function UpdateAddHTLC_read(ser: number): number {
+export function UpdateAddHTLC_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25079,7 +25170,7 @@ export function UpdateAddHTLC_read(ser: number): number {
 }
        // struct LDKCVec_u8Z Ping_write(const struct LDKPing *NONNULL_PTR obj);
 /* @internal */
-export function Ping_write(obj: number): number {
+export function Ping_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25088,7 +25179,7 @@ export function Ping_write(obj: number): number {
 }
        // struct LDKCResult_PingDecodeErrorZ Ping_read(struct LDKu8slice ser);
 /* @internal */
-export function Ping_read(ser: number): number {
+export function Ping_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25097,7 +25188,7 @@ export function Ping_read(ser: number): number {
 }
        // struct LDKCVec_u8Z Pong_write(const struct LDKPong *NONNULL_PTR obj);
 /* @internal */
-export function Pong_write(obj: number): number {
+export function Pong_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25106,7 +25197,7 @@ export function Pong_write(obj: number): number {
 }
        // struct LDKCResult_PongDecodeErrorZ Pong_read(struct LDKu8slice ser);
 /* @internal */
-export function Pong_read(ser: number): number {
+export function Pong_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25115,7 +25206,7 @@ export function Pong_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UnsignedChannelAnnouncement_write(const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR obj);
 /* @internal */
-export function UnsignedChannelAnnouncement_write(obj: number): number {
+export function UnsignedChannelAnnouncement_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25124,7 +25215,7 @@ export function UnsignedChannelAnnouncement_write(obj: number): number {
 }
        // struct LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ UnsignedChannelAnnouncement_read(struct LDKu8slice ser);
 /* @internal */
-export function UnsignedChannelAnnouncement_read(ser: number): number {
+export function UnsignedChannelAnnouncement_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25133,7 +25224,7 @@ export function UnsignedChannelAnnouncement_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelAnnouncement_write(const struct LDKChannelAnnouncement *NONNULL_PTR obj);
 /* @internal */
-export function ChannelAnnouncement_write(obj: number): number {
+export function ChannelAnnouncement_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25142,7 +25233,7 @@ export function ChannelAnnouncement_write(obj: number): number {
 }
        // struct LDKCResult_ChannelAnnouncementDecodeErrorZ ChannelAnnouncement_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelAnnouncement_read(ser: number): number {
+export function ChannelAnnouncement_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25151,7 +25242,7 @@ export function ChannelAnnouncement_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UnsignedChannelUpdate_write(const struct LDKUnsignedChannelUpdate *NONNULL_PTR obj);
 /* @internal */
-export function UnsignedChannelUpdate_write(obj: number): number {
+export function UnsignedChannelUpdate_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25160,7 +25251,7 @@ export function UnsignedChannelUpdate_write(obj: number): number {
 }
        // struct LDKCResult_UnsignedChannelUpdateDecodeErrorZ UnsignedChannelUpdate_read(struct LDKu8slice ser);
 /* @internal */
-export function UnsignedChannelUpdate_read(ser: number): number {
+export function UnsignedChannelUpdate_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25169,7 +25260,7 @@ export function UnsignedChannelUpdate_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelUpdate_write(const struct LDKChannelUpdate *NONNULL_PTR obj);
 /* @internal */
-export function ChannelUpdate_write(obj: number): number {
+export function ChannelUpdate_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25178,7 +25269,7 @@ export function ChannelUpdate_write(obj: number): number {
 }
        // struct LDKCResult_ChannelUpdateDecodeErrorZ ChannelUpdate_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelUpdate_read(ser: number): number {
+export function ChannelUpdate_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25187,7 +25278,7 @@ export function ChannelUpdate_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ErrorMessage_write(const struct LDKErrorMessage *NONNULL_PTR obj);
 /* @internal */
-export function ErrorMessage_write(obj: number): number {
+export function ErrorMessage_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25196,7 +25287,7 @@ export function ErrorMessage_write(obj: number): number {
 }
        // struct LDKCResult_ErrorMessageDecodeErrorZ ErrorMessage_read(struct LDKu8slice ser);
 /* @internal */
-export function ErrorMessage_read(ser: number): number {
+export function ErrorMessage_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25205,7 +25296,7 @@ export function ErrorMessage_read(ser: number): number {
 }
        // struct LDKCVec_u8Z WarningMessage_write(const struct LDKWarningMessage *NONNULL_PTR obj);
 /* @internal */
-export function WarningMessage_write(obj: number): number {
+export function WarningMessage_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25214,7 +25305,7 @@ export function WarningMessage_write(obj: number): number {
 }
        // struct LDKCResult_WarningMessageDecodeErrorZ WarningMessage_read(struct LDKu8slice ser);
 /* @internal */
-export function WarningMessage_read(ser: number): number {
+export function WarningMessage_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25223,7 +25314,7 @@ export function WarningMessage_read(ser: number): number {
 }
        // struct LDKCVec_u8Z UnsignedNodeAnnouncement_write(const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR obj);
 /* @internal */
-export function UnsignedNodeAnnouncement_write(obj: number): number {
+export function UnsignedNodeAnnouncement_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25232,7 +25323,7 @@ export function UnsignedNodeAnnouncement_write(obj: number): number {
 }
        // struct LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ UnsignedNodeAnnouncement_read(struct LDKu8slice ser);
 /* @internal */
-export function UnsignedNodeAnnouncement_read(ser: number): number {
+export function UnsignedNodeAnnouncement_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25241,7 +25332,7 @@ export function UnsignedNodeAnnouncement_read(ser: number): number {
 }
        // struct LDKCVec_u8Z NodeAnnouncement_write(const struct LDKNodeAnnouncement *NONNULL_PTR obj);
 /* @internal */
-export function NodeAnnouncement_write(obj: number): number {
+export function NodeAnnouncement_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25250,7 +25341,7 @@ export function NodeAnnouncement_write(obj: number): number {
 }
        // struct LDKCResult_NodeAnnouncementDecodeErrorZ NodeAnnouncement_read(struct LDKu8slice ser);
 /* @internal */
-export function NodeAnnouncement_read(ser: number): number {
+export function NodeAnnouncement_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25259,7 +25350,7 @@ export function NodeAnnouncement_read(ser: number): number {
 }
        // struct LDKCResult_QueryShortChannelIdsDecodeErrorZ QueryShortChannelIds_read(struct LDKu8slice ser);
 /* @internal */
-export function QueryShortChannelIds_read(ser: number): number {
+export function QueryShortChannelIds_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25268,7 +25359,7 @@ export function QueryShortChannelIds_read(ser: number): number {
 }
        // struct LDKCVec_u8Z QueryShortChannelIds_write(const struct LDKQueryShortChannelIds *NONNULL_PTR obj);
 /* @internal */
-export function QueryShortChannelIds_write(obj: number): number {
+export function QueryShortChannelIds_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25277,7 +25368,7 @@ export function QueryShortChannelIds_write(obj: number): number {
 }
        // struct LDKCVec_u8Z ReplyShortChannelIdsEnd_write(const struct LDKReplyShortChannelIdsEnd *NONNULL_PTR obj);
 /* @internal */
-export function ReplyShortChannelIdsEnd_write(obj: number): number {
+export function ReplyShortChannelIdsEnd_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25286,7 +25377,7 @@ export function ReplyShortChannelIdsEnd_write(obj: number): number {
 }
        // struct LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ ReplyShortChannelIdsEnd_read(struct LDKu8slice ser);
 /* @internal */
-export function ReplyShortChannelIdsEnd_read(ser: number): number {
+export function ReplyShortChannelIdsEnd_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25295,7 +25386,7 @@ export function ReplyShortChannelIdsEnd_read(ser: number): number {
 }
        // MUST_USE_RES uint32_t QueryChannelRange_end_blocknum(const struct LDKQueryChannelRange *NONNULL_PTR this_arg);
 /* @internal */
-export function QueryChannelRange_end_blocknum(this_arg: number): number {
+export function QueryChannelRange_end_blocknum(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25304,7 +25395,7 @@ export function QueryChannelRange_end_blocknum(this_arg: number): number {
 }
        // struct LDKCVec_u8Z QueryChannelRange_write(const struct LDKQueryChannelRange *NONNULL_PTR obj);
 /* @internal */
-export function QueryChannelRange_write(obj: number): number {
+export function QueryChannelRange_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25313,7 +25404,7 @@ export function QueryChannelRange_write(obj: number): number {
 }
        // struct LDKCResult_QueryChannelRangeDecodeErrorZ QueryChannelRange_read(struct LDKu8slice ser);
 /* @internal */
-export function QueryChannelRange_read(ser: number): number {
+export function QueryChannelRange_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25322,7 +25413,7 @@ export function QueryChannelRange_read(ser: number): number {
 }
        // struct LDKCResult_ReplyChannelRangeDecodeErrorZ ReplyChannelRange_read(struct LDKu8slice ser);
 /* @internal */
-export function ReplyChannelRange_read(ser: number): number {
+export function ReplyChannelRange_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25331,7 +25422,7 @@ export function ReplyChannelRange_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ReplyChannelRange_write(const struct LDKReplyChannelRange *NONNULL_PTR obj);
 /* @internal */
-export function ReplyChannelRange_write(obj: number): number {
+export function ReplyChannelRange_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25340,7 +25431,7 @@ export function ReplyChannelRange_write(obj: number): number {
 }
        // struct LDKCVec_u8Z GossipTimestampFilter_write(const struct LDKGossipTimestampFilter *NONNULL_PTR obj);
 /* @internal */
-export function GossipTimestampFilter_write(obj: number): number {
+export function GossipTimestampFilter_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25349,7 +25440,7 @@ export function GossipTimestampFilter_write(obj: number): number {
 }
        // struct LDKCResult_GossipTimestampFilterDecodeErrorZ GossipTimestampFilter_read(struct LDKu8slice ser);
 /* @internal */
-export function GossipTimestampFilter_read(ser: number): number {
+export function GossipTimestampFilter_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25358,7 +25449,7 @@ export function GossipTimestampFilter_read(ser: number): number {
 }
        // void CustomMessageHandler_free(struct LDKCustomMessageHandler this_ptr);
 /* @internal */
-export function CustomMessageHandler_free(this_ptr: number): void {
+export function CustomMessageHandler_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25367,7 +25458,7 @@ export function CustomMessageHandler_free(this_ptr: number): void {
 }
        // void IgnoringMessageHandler_free(struct LDKIgnoringMessageHandler this_obj);
 /* @internal */
-export function IgnoringMessageHandler_free(this_obj: number): void {
+export function IgnoringMessageHandler_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25376,7 +25467,7 @@ export function IgnoringMessageHandler_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKIgnoringMessageHandler IgnoringMessageHandler_new(void);
 /* @internal */
-export function IgnoringMessageHandler_new(): number {
+export function IgnoringMessageHandler_new(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25385,7 +25476,7 @@ export function IgnoringMessageHandler_new(): number {
 }
        // struct LDKMessageSendEventsProvider IgnoringMessageHandler_as_MessageSendEventsProvider(const struct LDKIgnoringMessageHandler *NONNULL_PTR this_arg);
 /* @internal */
-export function IgnoringMessageHandler_as_MessageSendEventsProvider(this_arg: number): number {
+export function IgnoringMessageHandler_as_MessageSendEventsProvider(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25394,7 +25485,7 @@ export function IgnoringMessageHandler_as_MessageSendEventsProvider(this_arg: nu
 }
        // struct LDKRoutingMessageHandler IgnoringMessageHandler_as_RoutingMessageHandler(const struct LDKIgnoringMessageHandler *NONNULL_PTR this_arg);
 /* @internal */
-export function IgnoringMessageHandler_as_RoutingMessageHandler(this_arg: number): number {
+export function IgnoringMessageHandler_as_RoutingMessageHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25403,7 +25494,7 @@ export function IgnoringMessageHandler_as_RoutingMessageHandler(this_arg: number
 }
        // struct LDKCustomMessageReader IgnoringMessageHandler_as_CustomMessageReader(const struct LDKIgnoringMessageHandler *NONNULL_PTR this_arg);
 /* @internal */
-export function IgnoringMessageHandler_as_CustomMessageReader(this_arg: number): number {
+export function IgnoringMessageHandler_as_CustomMessageReader(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25412,7 +25503,7 @@ export function IgnoringMessageHandler_as_CustomMessageReader(this_arg: number):
 }
        // struct LDKCustomMessageHandler IgnoringMessageHandler_as_CustomMessageHandler(const struct LDKIgnoringMessageHandler *NONNULL_PTR this_arg);
 /* @internal */
-export function IgnoringMessageHandler_as_CustomMessageHandler(this_arg: number): number {
+export function IgnoringMessageHandler_as_CustomMessageHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25421,7 +25512,7 @@ export function IgnoringMessageHandler_as_CustomMessageHandler(this_arg: number)
 }
        // void ErroringMessageHandler_free(struct LDKErroringMessageHandler this_obj);
 /* @internal */
-export function ErroringMessageHandler_free(this_obj: number): void {
+export function ErroringMessageHandler_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25430,7 +25521,7 @@ export function ErroringMessageHandler_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKErroringMessageHandler ErroringMessageHandler_new(void);
 /* @internal */
-export function ErroringMessageHandler_new(): number {
+export function ErroringMessageHandler_new(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25439,7 +25530,7 @@ export function ErroringMessageHandler_new(): number {
 }
        // struct LDKMessageSendEventsProvider ErroringMessageHandler_as_MessageSendEventsProvider(const struct LDKErroringMessageHandler *NONNULL_PTR this_arg);
 /* @internal */
-export function ErroringMessageHandler_as_MessageSendEventsProvider(this_arg: number): number {
+export function ErroringMessageHandler_as_MessageSendEventsProvider(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25448,7 +25539,7 @@ export function ErroringMessageHandler_as_MessageSendEventsProvider(this_arg: nu
 }
        // struct LDKChannelMessageHandler ErroringMessageHandler_as_ChannelMessageHandler(const struct LDKErroringMessageHandler *NONNULL_PTR this_arg);
 /* @internal */
-export function ErroringMessageHandler_as_ChannelMessageHandler(this_arg: number): number {
+export function ErroringMessageHandler_as_ChannelMessageHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25457,7 +25548,7 @@ export function ErroringMessageHandler_as_ChannelMessageHandler(this_arg: number
 }
        // void MessageHandler_free(struct LDKMessageHandler this_obj);
 /* @internal */
-export function MessageHandler_free(this_obj: number): void {
+export function MessageHandler_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25466,7 +25557,7 @@ export function MessageHandler_free(this_obj: number): void {
 }
        // const struct LDKChannelMessageHandler *MessageHandler_get_chan_handler(const struct LDKMessageHandler *NONNULL_PTR this_ptr);
 /* @internal */
-export function MessageHandler_get_chan_handler(this_ptr: number): number {
+export function MessageHandler_get_chan_handler(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25475,7 +25566,7 @@ export function MessageHandler_get_chan_handler(this_ptr: number): number {
 }
        // void MessageHandler_set_chan_handler(struct LDKMessageHandler *NONNULL_PTR this_ptr, struct LDKChannelMessageHandler val);
 /* @internal */
-export function MessageHandler_set_chan_handler(this_ptr: number, val: number): void {
+export function MessageHandler_set_chan_handler(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25484,7 +25575,7 @@ export function MessageHandler_set_chan_handler(this_ptr: number, val: number):
 }
        // const struct LDKRoutingMessageHandler *MessageHandler_get_route_handler(const struct LDKMessageHandler *NONNULL_PTR this_ptr);
 /* @internal */
-export function MessageHandler_get_route_handler(this_ptr: number): number {
+export function MessageHandler_get_route_handler(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25493,7 +25584,7 @@ export function MessageHandler_get_route_handler(this_ptr: number): number {
 }
        // void MessageHandler_set_route_handler(struct LDKMessageHandler *NONNULL_PTR this_ptr, struct LDKRoutingMessageHandler val);
 /* @internal */
-export function MessageHandler_set_route_handler(this_ptr: number, val: number): void {
+export function MessageHandler_set_route_handler(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25502,16 +25593,16 @@ export function MessageHandler_set_route_handler(this_ptr: number, val: number):
 }
        // MUST_USE_RES struct LDKMessageHandler MessageHandler_new(struct LDKChannelMessageHandler chan_handler_arg, struct LDKRoutingMessageHandler route_handler_arg);
 /* @internal */
-export function MessageHandler_new(chan_handler_arg: number, route_handler_arg: number): number {
+export function MessageHandler_new(chan_handler_arg: bigint, route_handler_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_MessageHandler_new(chan_handler_arg, route_handler_arg);
        return nativeResponseValue;
 }
-       // uintptr_t SocketDescriptor_clone_ptr(LDKSocketDescriptor *NONNULL_PTR arg);
+       // uint64_t SocketDescriptor_clone_ptr(LDKSocketDescriptor *NONNULL_PTR arg);
 /* @internal */
-export function SocketDescriptor_clone_ptr(arg: number): number {
+export function SocketDescriptor_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25520,7 +25611,7 @@ export function SocketDescriptor_clone_ptr(arg: number): number {
 }
        // struct LDKSocketDescriptor SocketDescriptor_clone(const struct LDKSocketDescriptor *NONNULL_PTR orig);
 /* @internal */
-export function SocketDescriptor_clone(orig: number): number {
+export function SocketDescriptor_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25529,7 +25620,7 @@ export function SocketDescriptor_clone(orig: number): number {
 }
        // void SocketDescriptor_free(struct LDKSocketDescriptor this_ptr);
 /* @internal */
-export function SocketDescriptor_free(this_ptr: number): void {
+export function SocketDescriptor_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25538,7 +25629,7 @@ export function SocketDescriptor_free(this_ptr: number): void {
 }
        // void PeerHandleError_free(struct LDKPeerHandleError this_obj);
 /* @internal */
-export function PeerHandleError_free(this_obj: number): void {
+export function PeerHandleError_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25547,7 +25638,7 @@ export function PeerHandleError_free(this_obj: number): void {
 }
        // bool PeerHandleError_get_no_connection_possible(const struct LDKPeerHandleError *NONNULL_PTR this_ptr);
 /* @internal */
-export function PeerHandleError_get_no_connection_possible(this_ptr: number): boolean {
+export function PeerHandleError_get_no_connection_possible(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25556,7 +25647,7 @@ export function PeerHandleError_get_no_connection_possible(this_ptr: number): bo
 }
        // void PeerHandleError_set_no_connection_possible(struct LDKPeerHandleError *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function PeerHandleError_set_no_connection_possible(this_ptr: number, val: boolean): void {
+export function PeerHandleError_set_no_connection_possible(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25565,16 +25656,16 @@ export function PeerHandleError_set_no_connection_possible(this_ptr: number, val
 }
        // MUST_USE_RES struct LDKPeerHandleError PeerHandleError_new(bool no_connection_possible_arg);
 /* @internal */
-export function PeerHandleError_new(no_connection_possible_arg: boolean): number {
+export function PeerHandleError_new(no_connection_possible_arg: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PeerHandleError_new(no_connection_possible_arg);
        return nativeResponseValue;
 }
-       // uintptr_t PeerHandleError_clone_ptr(LDKPeerHandleError *NONNULL_PTR arg);
+       // uint64_t PeerHandleError_clone_ptr(LDKPeerHandleError *NONNULL_PTR arg);
 /* @internal */
-export function PeerHandleError_clone_ptr(arg: number): number {
+export function PeerHandleError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25583,7 +25674,7 @@ export function PeerHandleError_clone_ptr(arg: number): number {
 }
        // struct LDKPeerHandleError PeerHandleError_clone(const struct LDKPeerHandleError *NONNULL_PTR orig);
 /* @internal */
-export function PeerHandleError_clone(orig: number): number {
+export function PeerHandleError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25592,7 +25683,7 @@ export function PeerHandleError_clone(orig: number): number {
 }
        // void PeerManager_free(struct LDKPeerManager this_obj);
 /* @internal */
-export function PeerManager_free(this_obj: number): void {
+export function PeerManager_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25601,7 +25692,7 @@ export function PeerManager_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKPeerManager PeerManager_new(struct LDKMessageHandler message_handler, struct LDKSecretKey our_node_secret, const uint8_t (*ephemeral_random_data)[32], struct LDKLogger logger, struct LDKCustomMessageHandler custom_message_handler);
 /* @internal */
-export function PeerManager_new(message_handler: number, our_node_secret: number, ephemeral_random_data: number, logger: number, custom_message_handler: number): number {
+export function PeerManager_new(message_handler: bigint, our_node_secret: number, ephemeral_random_data: number, logger: bigint, custom_message_handler: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25610,7 +25701,7 @@ export function PeerManager_new(message_handler: number, our_node_secret: number
 }
        // MUST_USE_RES struct LDKCVec_PublicKeyZ PeerManager_get_peer_node_ids(const struct LDKPeerManager *NONNULL_PTR this_arg);
 /* @internal */
-export function PeerManager_get_peer_node_ids(this_arg: number): number {
+export function PeerManager_get_peer_node_ids(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25619,7 +25710,7 @@ export function PeerManager_get_peer_node_ids(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_CVec_u8ZPeerHandleErrorZ PeerManager_new_outbound_connection(const struct LDKPeerManager *NONNULL_PTR this_arg, struct LDKPublicKey their_node_id, struct LDKSocketDescriptor descriptor, struct LDKCOption_NetAddressZ remote_network_address);
 /* @internal */
-export function PeerManager_new_outbound_connection(this_arg: number, their_node_id: number, descriptor: number, remote_network_address: number): number {
+export function PeerManager_new_outbound_connection(this_arg: bigint, their_node_id: number, descriptor: bigint, remote_network_address: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25628,7 +25719,7 @@ export function PeerManager_new_outbound_connection(this_arg: number, their_node
 }
        // MUST_USE_RES struct LDKCResult_NonePeerHandleErrorZ PeerManager_new_inbound_connection(const struct LDKPeerManager *NONNULL_PTR this_arg, struct LDKSocketDescriptor descriptor, struct LDKCOption_NetAddressZ remote_network_address);
 /* @internal */
-export function PeerManager_new_inbound_connection(this_arg: number, descriptor: number, remote_network_address: number): number {
+export function PeerManager_new_inbound_connection(this_arg: bigint, descriptor: bigint, remote_network_address: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25637,7 +25728,7 @@ export function PeerManager_new_inbound_connection(this_arg: number, descriptor:
 }
        // MUST_USE_RES struct LDKCResult_NonePeerHandleErrorZ PeerManager_write_buffer_space_avail(const struct LDKPeerManager *NONNULL_PTR this_arg, struct LDKSocketDescriptor *NONNULL_PTR descriptor);
 /* @internal */
-export function PeerManager_write_buffer_space_avail(this_arg: number, descriptor: number): number {
+export function PeerManager_write_buffer_space_avail(this_arg: bigint, descriptor: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25646,7 +25737,7 @@ export function PeerManager_write_buffer_space_avail(this_arg: number, descripto
 }
        // MUST_USE_RES struct LDKCResult_boolPeerHandleErrorZ PeerManager_read_event(const struct LDKPeerManager *NONNULL_PTR this_arg, struct LDKSocketDescriptor *NONNULL_PTR peer_descriptor, struct LDKu8slice data);
 /* @internal */
-export function PeerManager_read_event(this_arg: number, peer_descriptor: number, data: number): number {
+export function PeerManager_read_event(this_arg: bigint, peer_descriptor: bigint, data: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25655,7 +25746,7 @@ export function PeerManager_read_event(this_arg: number, peer_descriptor: number
 }
        // void PeerManager_process_events(const struct LDKPeerManager *NONNULL_PTR this_arg);
 /* @internal */
-export function PeerManager_process_events(this_arg: number): void {
+export function PeerManager_process_events(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25664,7 +25755,7 @@ export function PeerManager_process_events(this_arg: number): void {
 }
        // void PeerManager_socket_disconnected(const struct LDKPeerManager *NONNULL_PTR this_arg, const struct LDKSocketDescriptor *NONNULL_PTR descriptor);
 /* @internal */
-export function PeerManager_socket_disconnected(this_arg: number, descriptor: number): void {
+export function PeerManager_socket_disconnected(this_arg: bigint, descriptor: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25673,7 +25764,7 @@ export function PeerManager_socket_disconnected(this_arg: number, descriptor: nu
 }
        // void PeerManager_disconnect_by_node_id(const struct LDKPeerManager *NONNULL_PTR this_arg, struct LDKPublicKey node_id, bool no_connection_possible);
 /* @internal */
-export function PeerManager_disconnect_by_node_id(this_arg: number, node_id: number, no_connection_possible: boolean): void {
+export function PeerManager_disconnect_by_node_id(this_arg: bigint, node_id: number, no_connection_possible: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25682,7 +25773,7 @@ export function PeerManager_disconnect_by_node_id(this_arg: number, node_id: num
 }
        // void PeerManager_disconnect_all_peers(const struct LDKPeerManager *NONNULL_PTR this_arg);
 /* @internal */
-export function PeerManager_disconnect_all_peers(this_arg: number): void {
+export function PeerManager_disconnect_all_peers(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25691,7 +25782,7 @@ export function PeerManager_disconnect_all_peers(this_arg: number): void {
 }
        // void PeerManager_timer_tick_occurred(const struct LDKPeerManager *NONNULL_PTR this_arg);
 /* @internal */
-export function PeerManager_timer_tick_occurred(this_arg: number): void {
+export function PeerManager_timer_tick_occurred(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25727,7 +25818,7 @@ export function build_commitment_secret(commitment_seed: number, idx: bigint): n
 }
        // struct LDKTransaction build_closing_transaction(uint64_t to_holder_value_sat, uint64_t to_counterparty_value_sat, struct LDKCVec_u8Z to_holder_script, struct LDKCVec_u8Z to_counterparty_script, struct LDKOutPoint funding_outpoint);
 /* @internal */
-export function build_closing_transaction(to_holder_value_sat: bigint, to_counterparty_value_sat: bigint, to_holder_script: number, to_counterparty_script: number, funding_outpoint: number): number {
+export function build_closing_transaction(to_holder_value_sat: bigint, to_counterparty_value_sat: bigint, to_holder_script: number, to_counterparty_script: number, funding_outpoint: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25736,16 +25827,16 @@ export function build_closing_transaction(to_holder_value_sat: bigint, to_counte
 }
        // void CounterpartyCommitmentSecrets_free(struct LDKCounterpartyCommitmentSecrets this_obj);
 /* @internal */
-export function CounterpartyCommitmentSecrets_free(this_obj: number): void {
+export function CounterpartyCommitmentSecrets_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CounterpartyCommitmentSecrets_free(this_obj);
        // debug statements here
 }
-       // uintptr_t CounterpartyCommitmentSecrets_clone_ptr(LDKCounterpartyCommitmentSecrets *NONNULL_PTR arg);
+       // uint64_t CounterpartyCommitmentSecrets_clone_ptr(LDKCounterpartyCommitmentSecrets *NONNULL_PTR arg);
 /* @internal */
-export function CounterpartyCommitmentSecrets_clone_ptr(arg: number): number {
+export function CounterpartyCommitmentSecrets_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25754,7 +25845,7 @@ export function CounterpartyCommitmentSecrets_clone_ptr(arg: number): number {
 }
        // struct LDKCounterpartyCommitmentSecrets CounterpartyCommitmentSecrets_clone(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR orig);
 /* @internal */
-export function CounterpartyCommitmentSecrets_clone(orig: number): number {
+export function CounterpartyCommitmentSecrets_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25763,7 +25854,7 @@ export function CounterpartyCommitmentSecrets_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKCounterpartyCommitmentSecrets CounterpartyCommitmentSecrets_new(void);
 /* @internal */
-export function CounterpartyCommitmentSecrets_new(): number {
+export function CounterpartyCommitmentSecrets_new(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25772,7 +25863,7 @@ export function CounterpartyCommitmentSecrets_new(): number {
 }
        // MUST_USE_RES uint64_t CounterpartyCommitmentSecrets_get_min_seen_secret(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg);
 /* @internal */
-export function CounterpartyCommitmentSecrets_get_min_seen_secret(this_arg: number): bigint {
+export function CounterpartyCommitmentSecrets_get_min_seen_secret(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25781,7 +25872,7 @@ export function CounterpartyCommitmentSecrets_get_min_seen_secret(this_arg: numb
 }
        // MUST_USE_RES struct LDKCResult_NoneNoneZ CounterpartyCommitmentSecrets_provide_secret(struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg, uint64_t idx, struct LDKThirtyTwoBytes secret);
 /* @internal */
-export function CounterpartyCommitmentSecrets_provide_secret(this_arg: number, idx: bigint, secret: number): number {
+export function CounterpartyCommitmentSecrets_provide_secret(this_arg: bigint, idx: bigint, secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25790,7 +25881,7 @@ export function CounterpartyCommitmentSecrets_provide_secret(this_arg: number, i
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes CounterpartyCommitmentSecrets_get_secret(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg, uint64_t idx);
 /* @internal */
-export function CounterpartyCommitmentSecrets_get_secret(this_arg: number, idx: bigint): number {
+export function CounterpartyCommitmentSecrets_get_secret(this_arg: bigint, idx: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25799,7 +25890,7 @@ export function CounterpartyCommitmentSecrets_get_secret(this_arg: number, idx:
 }
        // struct LDKCVec_u8Z CounterpartyCommitmentSecrets_write(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR obj);
 /* @internal */
-export function CounterpartyCommitmentSecrets_write(obj: number): number {
+export function CounterpartyCommitmentSecrets_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25808,7 +25899,7 @@ export function CounterpartyCommitmentSecrets_write(obj: number): number {
 }
        // struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CounterpartyCommitmentSecrets_read(struct LDKu8slice ser);
 /* @internal */
-export function CounterpartyCommitmentSecrets_read(ser: number): number {
+export function CounterpartyCommitmentSecrets_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25817,7 +25908,7 @@ export function CounterpartyCommitmentSecrets_read(ser: number): number {
 }
        // struct LDKCResult_SecretKeyErrorZ derive_private_key(struct LDKPublicKey per_commitment_point, const uint8_t (*base_secret)[32]);
 /* @internal */
-export function derive_private_key(per_commitment_point: number, base_secret: number): number {
+export function derive_private_key(per_commitment_point: number, base_secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25826,7 +25917,7 @@ export function derive_private_key(per_commitment_point: number, base_secret: nu
 }
        // struct LDKCResult_PublicKeyErrorZ derive_public_key(struct LDKPublicKey per_commitment_point, struct LDKPublicKey base_point);
 /* @internal */
-export function derive_public_key(per_commitment_point: number, base_point: number): number {
+export function derive_public_key(per_commitment_point: number, base_point: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25835,7 +25926,7 @@ export function derive_public_key(per_commitment_point: number, base_point: numb
 }
        // struct LDKCResult_SecretKeyErrorZ derive_private_revocation_key(const uint8_t (*per_commitment_secret)[32], const uint8_t (*countersignatory_revocation_base_secret)[32]);
 /* @internal */
-export function derive_private_revocation_key(per_commitment_secret: number, countersignatory_revocation_base_secret: number): number {
+export function derive_private_revocation_key(per_commitment_secret: number, countersignatory_revocation_base_secret: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25844,7 +25935,7 @@ export function derive_private_revocation_key(per_commitment_secret: number, cou
 }
        // struct LDKCResult_PublicKeyErrorZ derive_public_revocation_key(struct LDKPublicKey per_commitment_point, struct LDKPublicKey countersignatory_revocation_base_point);
 /* @internal */
-export function derive_public_revocation_key(per_commitment_point: number, countersignatory_revocation_base_point: number): number {
+export function derive_public_revocation_key(per_commitment_point: number, countersignatory_revocation_base_point: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25853,7 +25944,7 @@ export function derive_public_revocation_key(per_commitment_point: number, count
 }
        // void TxCreationKeys_free(struct LDKTxCreationKeys this_obj);
 /* @internal */
-export function TxCreationKeys_free(this_obj: number): void {
+export function TxCreationKeys_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25862,7 +25953,7 @@ export function TxCreationKeys_free(this_obj: number): void {
 }
        // struct LDKPublicKey TxCreationKeys_get_per_commitment_point(const struct LDKTxCreationKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function TxCreationKeys_get_per_commitment_point(this_ptr: number): number {
+export function TxCreationKeys_get_per_commitment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25871,7 +25962,7 @@ export function TxCreationKeys_get_per_commitment_point(this_ptr: number): numbe
 }
        // void TxCreationKeys_set_per_commitment_point(struct LDKTxCreationKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function TxCreationKeys_set_per_commitment_point(this_ptr: number, val: number): void {
+export function TxCreationKeys_set_per_commitment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25880,7 +25971,7 @@ export function TxCreationKeys_set_per_commitment_point(this_ptr: number, val: n
 }
        // struct LDKPublicKey TxCreationKeys_get_revocation_key(const struct LDKTxCreationKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function TxCreationKeys_get_revocation_key(this_ptr: number): number {
+export function TxCreationKeys_get_revocation_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25889,7 +25980,7 @@ export function TxCreationKeys_get_revocation_key(this_ptr: number): number {
 }
        // void TxCreationKeys_set_revocation_key(struct LDKTxCreationKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function TxCreationKeys_set_revocation_key(this_ptr: number, val: number): void {
+export function TxCreationKeys_set_revocation_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25898,7 +25989,7 @@ export function TxCreationKeys_set_revocation_key(this_ptr: number, val: number)
 }
        // struct LDKPublicKey TxCreationKeys_get_broadcaster_htlc_key(const struct LDKTxCreationKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function TxCreationKeys_get_broadcaster_htlc_key(this_ptr: number): number {
+export function TxCreationKeys_get_broadcaster_htlc_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25907,7 +25998,7 @@ export function TxCreationKeys_get_broadcaster_htlc_key(this_ptr: number): numbe
 }
        // void TxCreationKeys_set_broadcaster_htlc_key(struct LDKTxCreationKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function TxCreationKeys_set_broadcaster_htlc_key(this_ptr: number, val: number): void {
+export function TxCreationKeys_set_broadcaster_htlc_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25916,7 +26007,7 @@ export function TxCreationKeys_set_broadcaster_htlc_key(this_ptr: number, val: n
 }
        // struct LDKPublicKey TxCreationKeys_get_countersignatory_htlc_key(const struct LDKTxCreationKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function TxCreationKeys_get_countersignatory_htlc_key(this_ptr: number): number {
+export function TxCreationKeys_get_countersignatory_htlc_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25925,7 +26016,7 @@ export function TxCreationKeys_get_countersignatory_htlc_key(this_ptr: number):
 }
        // void TxCreationKeys_set_countersignatory_htlc_key(struct LDKTxCreationKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function TxCreationKeys_set_countersignatory_htlc_key(this_ptr: number, val: number): void {
+export function TxCreationKeys_set_countersignatory_htlc_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25934,7 +26025,7 @@ export function TxCreationKeys_set_countersignatory_htlc_key(this_ptr: number, v
 }
        // struct LDKPublicKey TxCreationKeys_get_broadcaster_delayed_payment_key(const struct LDKTxCreationKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function TxCreationKeys_get_broadcaster_delayed_payment_key(this_ptr: number): number {
+export function TxCreationKeys_get_broadcaster_delayed_payment_key(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25943,7 +26034,7 @@ export function TxCreationKeys_get_broadcaster_delayed_payment_key(this_ptr: num
 }
        // void TxCreationKeys_set_broadcaster_delayed_payment_key(struct LDKTxCreationKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function TxCreationKeys_set_broadcaster_delayed_payment_key(this_ptr: number, val: number): void {
+export function TxCreationKeys_set_broadcaster_delayed_payment_key(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25952,16 +26043,16 @@ export function TxCreationKeys_set_broadcaster_delayed_payment_key(this_ptr: num
 }
        // MUST_USE_RES struct LDKTxCreationKeys TxCreationKeys_new(struct LDKPublicKey per_commitment_point_arg, struct LDKPublicKey revocation_key_arg, struct LDKPublicKey broadcaster_htlc_key_arg, struct LDKPublicKey countersignatory_htlc_key_arg, struct LDKPublicKey broadcaster_delayed_payment_key_arg);
 /* @internal */
-export function TxCreationKeys_new(per_commitment_point_arg: number, revocation_key_arg: number, broadcaster_htlc_key_arg: number, countersignatory_htlc_key_arg: number, broadcaster_delayed_payment_key_arg: number): number {
+export function TxCreationKeys_new(per_commitment_point_arg: number, revocation_key_arg: number, broadcaster_htlc_key_arg: number, countersignatory_htlc_key_arg: number, broadcaster_delayed_payment_key_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_TxCreationKeys_new(per_commitment_point_arg, revocation_key_arg, broadcaster_htlc_key_arg, countersignatory_htlc_key_arg, broadcaster_delayed_payment_key_arg);
        return nativeResponseValue;
 }
-       // uintptr_t TxCreationKeys_clone_ptr(LDKTxCreationKeys *NONNULL_PTR arg);
+       // uint64_t TxCreationKeys_clone_ptr(LDKTxCreationKeys *NONNULL_PTR arg);
 /* @internal */
-export function TxCreationKeys_clone_ptr(arg: number): number {
+export function TxCreationKeys_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25970,7 +26061,7 @@ export function TxCreationKeys_clone_ptr(arg: number): number {
 }
        // struct LDKTxCreationKeys TxCreationKeys_clone(const struct LDKTxCreationKeys *NONNULL_PTR orig);
 /* @internal */
-export function TxCreationKeys_clone(orig: number): number {
+export function TxCreationKeys_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25979,7 +26070,7 @@ export function TxCreationKeys_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z TxCreationKeys_write(const struct LDKTxCreationKeys *NONNULL_PTR obj);
 /* @internal */
-export function TxCreationKeys_write(obj: number): number {
+export function TxCreationKeys_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25988,7 +26079,7 @@ export function TxCreationKeys_write(obj: number): number {
 }
        // struct LDKCResult_TxCreationKeysDecodeErrorZ TxCreationKeys_read(struct LDKu8slice ser);
 /* @internal */
-export function TxCreationKeys_read(ser: number): number {
+export function TxCreationKeys_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -25997,7 +26088,7 @@ export function TxCreationKeys_read(ser: number): number {
 }
        // void ChannelPublicKeys_free(struct LDKChannelPublicKeys this_obj);
 /* @internal */
-export function ChannelPublicKeys_free(this_obj: number): void {
+export function ChannelPublicKeys_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26006,7 +26097,7 @@ export function ChannelPublicKeys_free(this_obj: number): void {
 }
        // struct LDKPublicKey ChannelPublicKeys_get_funding_pubkey(const struct LDKChannelPublicKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelPublicKeys_get_funding_pubkey(this_ptr: number): number {
+export function ChannelPublicKeys_get_funding_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26015,7 +26106,7 @@ export function ChannelPublicKeys_get_funding_pubkey(this_ptr: number): number {
 }
        // void ChannelPublicKeys_set_funding_pubkey(struct LDKChannelPublicKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelPublicKeys_set_funding_pubkey(this_ptr: number, val: number): void {
+export function ChannelPublicKeys_set_funding_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26024,7 +26115,7 @@ export function ChannelPublicKeys_set_funding_pubkey(this_ptr: number, val: numb
 }
        // struct LDKPublicKey ChannelPublicKeys_get_revocation_basepoint(const struct LDKChannelPublicKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelPublicKeys_get_revocation_basepoint(this_ptr: number): number {
+export function ChannelPublicKeys_get_revocation_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26033,7 +26124,7 @@ export function ChannelPublicKeys_get_revocation_basepoint(this_ptr: number): nu
 }
        // void ChannelPublicKeys_set_revocation_basepoint(struct LDKChannelPublicKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelPublicKeys_set_revocation_basepoint(this_ptr: number, val: number): void {
+export function ChannelPublicKeys_set_revocation_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26042,7 +26133,7 @@ export function ChannelPublicKeys_set_revocation_basepoint(this_ptr: number, val
 }
        // struct LDKPublicKey ChannelPublicKeys_get_payment_point(const struct LDKChannelPublicKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelPublicKeys_get_payment_point(this_ptr: number): number {
+export function ChannelPublicKeys_get_payment_point(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26051,7 +26142,7 @@ export function ChannelPublicKeys_get_payment_point(this_ptr: number): number {
 }
        // void ChannelPublicKeys_set_payment_point(struct LDKChannelPublicKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelPublicKeys_set_payment_point(this_ptr: number, val: number): void {
+export function ChannelPublicKeys_set_payment_point(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26060,7 +26151,7 @@ export function ChannelPublicKeys_set_payment_point(this_ptr: number, val: numbe
 }
        // struct LDKPublicKey ChannelPublicKeys_get_delayed_payment_basepoint(const struct LDKChannelPublicKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelPublicKeys_get_delayed_payment_basepoint(this_ptr: number): number {
+export function ChannelPublicKeys_get_delayed_payment_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26069,7 +26160,7 @@ export function ChannelPublicKeys_get_delayed_payment_basepoint(this_ptr: number
 }
        // void ChannelPublicKeys_set_delayed_payment_basepoint(struct LDKChannelPublicKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelPublicKeys_set_delayed_payment_basepoint(this_ptr: number, val: number): void {
+export function ChannelPublicKeys_set_delayed_payment_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26078,7 +26169,7 @@ export function ChannelPublicKeys_set_delayed_payment_basepoint(this_ptr: number
 }
        // struct LDKPublicKey ChannelPublicKeys_get_htlc_basepoint(const struct LDKChannelPublicKeys *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelPublicKeys_get_htlc_basepoint(this_ptr: number): number {
+export function ChannelPublicKeys_get_htlc_basepoint(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26087,7 +26178,7 @@ export function ChannelPublicKeys_get_htlc_basepoint(this_ptr: number): number {
 }
        // void ChannelPublicKeys_set_htlc_basepoint(struct LDKChannelPublicKeys *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function ChannelPublicKeys_set_htlc_basepoint(this_ptr: number, val: number): void {
+export function ChannelPublicKeys_set_htlc_basepoint(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26096,16 +26187,16 @@ export function ChannelPublicKeys_set_htlc_basepoint(this_ptr: number, val: numb
 }
        // MUST_USE_RES struct LDKChannelPublicKeys ChannelPublicKeys_new(struct LDKPublicKey funding_pubkey_arg, struct LDKPublicKey revocation_basepoint_arg, struct LDKPublicKey payment_point_arg, struct LDKPublicKey delayed_payment_basepoint_arg, struct LDKPublicKey htlc_basepoint_arg);
 /* @internal */
-export function ChannelPublicKeys_new(funding_pubkey_arg: number, revocation_basepoint_arg: number, payment_point_arg: number, delayed_payment_basepoint_arg: number, htlc_basepoint_arg: number): number {
+export function ChannelPublicKeys_new(funding_pubkey_arg: number, revocation_basepoint_arg: number, payment_point_arg: number, delayed_payment_basepoint_arg: number, htlc_basepoint_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelPublicKeys_new(funding_pubkey_arg, revocation_basepoint_arg, payment_point_arg, delayed_payment_basepoint_arg, htlc_basepoint_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelPublicKeys_clone_ptr(LDKChannelPublicKeys *NONNULL_PTR arg);
+       // uint64_t ChannelPublicKeys_clone_ptr(LDKChannelPublicKeys *NONNULL_PTR arg);
 /* @internal */
-export function ChannelPublicKeys_clone_ptr(arg: number): number {
+export function ChannelPublicKeys_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26114,7 +26205,7 @@ export function ChannelPublicKeys_clone_ptr(arg: number): number {
 }
        // struct LDKChannelPublicKeys ChannelPublicKeys_clone(const struct LDKChannelPublicKeys *NONNULL_PTR orig);
 /* @internal */
-export function ChannelPublicKeys_clone(orig: number): number {
+export function ChannelPublicKeys_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26123,7 +26214,7 @@ export function ChannelPublicKeys_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z ChannelPublicKeys_write(const struct LDKChannelPublicKeys *NONNULL_PTR obj);
 /* @internal */
-export function ChannelPublicKeys_write(obj: number): number {
+export function ChannelPublicKeys_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26132,7 +26223,7 @@ export function ChannelPublicKeys_write(obj: number): number {
 }
        // struct LDKCResult_ChannelPublicKeysDecodeErrorZ ChannelPublicKeys_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelPublicKeys_read(ser: number): number {
+export function ChannelPublicKeys_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26141,7 +26232,7 @@ export function ChannelPublicKeys_read(ser: number): number {
 }
        // MUST_USE_RES struct LDKCResult_TxCreationKeysErrorZ TxCreationKeys_derive_new(struct LDKPublicKey per_commitment_point, struct LDKPublicKey broadcaster_delayed_payment_base, struct LDKPublicKey broadcaster_htlc_base, struct LDKPublicKey countersignatory_revocation_base, struct LDKPublicKey countersignatory_htlc_base);
 /* @internal */
-export function TxCreationKeys_derive_new(per_commitment_point: number, broadcaster_delayed_payment_base: number, broadcaster_htlc_base: number, countersignatory_revocation_base: number, countersignatory_htlc_base: number): number {
+export function TxCreationKeys_derive_new(per_commitment_point: number, broadcaster_delayed_payment_base: number, broadcaster_htlc_base: number, countersignatory_revocation_base: number, countersignatory_htlc_base: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26150,7 +26241,7 @@ export function TxCreationKeys_derive_new(per_commitment_point: number, broadcas
 }
        // MUST_USE_RES struct LDKCResult_TxCreationKeysErrorZ TxCreationKeys_from_channel_static_keys(struct LDKPublicKey per_commitment_point, const struct LDKChannelPublicKeys *NONNULL_PTR broadcaster_keys, const struct LDKChannelPublicKeys *NONNULL_PTR countersignatory_keys);
 /* @internal */
-export function TxCreationKeys_from_channel_static_keys(per_commitment_point: number, broadcaster_keys: number, countersignatory_keys: number): number {
+export function TxCreationKeys_from_channel_static_keys(per_commitment_point: number, broadcaster_keys: bigint, countersignatory_keys: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26168,7 +26259,7 @@ export function get_revokeable_redeemscript(revocation_key: number, contest_dela
 }
        // void HTLCOutputInCommitment_free(struct LDKHTLCOutputInCommitment this_obj);
 /* @internal */
-export function HTLCOutputInCommitment_free(this_obj: number): void {
+export function HTLCOutputInCommitment_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26177,7 +26268,7 @@ export function HTLCOutputInCommitment_free(this_obj: number): void {
 }
        // bool HTLCOutputInCommitment_get_offered(const struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr);
 /* @internal */
-export function HTLCOutputInCommitment_get_offered(this_ptr: number): boolean {
+export function HTLCOutputInCommitment_get_offered(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26186,7 +26277,7 @@ export function HTLCOutputInCommitment_get_offered(this_ptr: number): boolean {
 }
        // void HTLCOutputInCommitment_set_offered(struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function HTLCOutputInCommitment_set_offered(this_ptr: number, val: boolean): void {
+export function HTLCOutputInCommitment_set_offered(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26195,7 +26286,7 @@ export function HTLCOutputInCommitment_set_offered(this_ptr: number, val: boolea
 }
        // uint64_t HTLCOutputInCommitment_get_amount_msat(const struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr);
 /* @internal */
-export function HTLCOutputInCommitment_get_amount_msat(this_ptr: number): bigint {
+export function HTLCOutputInCommitment_get_amount_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26204,7 +26295,7 @@ export function HTLCOutputInCommitment_get_amount_msat(this_ptr: number): bigint
 }
        // void HTLCOutputInCommitment_set_amount_msat(struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function HTLCOutputInCommitment_set_amount_msat(this_ptr: number, val: bigint): void {
+export function HTLCOutputInCommitment_set_amount_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26213,7 +26304,7 @@ export function HTLCOutputInCommitment_set_amount_msat(this_ptr: number, val: bi
 }
        // uint32_t HTLCOutputInCommitment_get_cltv_expiry(const struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr);
 /* @internal */
-export function HTLCOutputInCommitment_get_cltv_expiry(this_ptr: number): number {
+export function HTLCOutputInCommitment_get_cltv_expiry(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26222,7 +26313,7 @@ export function HTLCOutputInCommitment_get_cltv_expiry(this_ptr: number): number
 }
        // void HTLCOutputInCommitment_set_cltv_expiry(struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function HTLCOutputInCommitment_set_cltv_expiry(this_ptr: number, val: number): void {
+export function HTLCOutputInCommitment_set_cltv_expiry(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26231,7 +26322,7 @@ export function HTLCOutputInCommitment_set_cltv_expiry(this_ptr: number, val: nu
 }
        // const uint8_t (*HTLCOutputInCommitment_get_payment_hash(const struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function HTLCOutputInCommitment_get_payment_hash(this_ptr: number): number {
+export function HTLCOutputInCommitment_get_payment_hash(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26240,7 +26331,7 @@ export function HTLCOutputInCommitment_get_payment_hash(this_ptr: number): numbe
 }
        // void HTLCOutputInCommitment_set_payment_hash(struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function HTLCOutputInCommitment_set_payment_hash(this_ptr: number, val: number): void {
+export function HTLCOutputInCommitment_set_payment_hash(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26249,7 +26340,7 @@ export function HTLCOutputInCommitment_set_payment_hash(this_ptr: number, val: n
 }
        // struct LDKCOption_u32Z HTLCOutputInCommitment_get_transaction_output_index(const struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr);
 /* @internal */
-export function HTLCOutputInCommitment_get_transaction_output_index(this_ptr: number): number {
+export function HTLCOutputInCommitment_get_transaction_output_index(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26258,7 +26349,7 @@ export function HTLCOutputInCommitment_get_transaction_output_index(this_ptr: nu
 }
        // void HTLCOutputInCommitment_set_transaction_output_index(struct LDKHTLCOutputInCommitment *NONNULL_PTR this_ptr, struct LDKCOption_u32Z val);
 /* @internal */
-export function HTLCOutputInCommitment_set_transaction_output_index(this_ptr: number, val: number): void {
+export function HTLCOutputInCommitment_set_transaction_output_index(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26267,16 +26358,16 @@ export function HTLCOutputInCommitment_set_transaction_output_index(this_ptr: nu
 }
        // MUST_USE_RES struct LDKHTLCOutputInCommitment HTLCOutputInCommitment_new(bool offered_arg, uint64_t amount_msat_arg, uint32_t cltv_expiry_arg, struct LDKThirtyTwoBytes payment_hash_arg, struct LDKCOption_u32Z transaction_output_index_arg);
 /* @internal */
-export function HTLCOutputInCommitment_new(offered_arg: boolean, amount_msat_arg: bigint, cltv_expiry_arg: number, payment_hash_arg: number, transaction_output_index_arg: number): number {
+export function HTLCOutputInCommitment_new(offered_arg: boolean, amount_msat_arg: bigint, cltv_expiry_arg: number, payment_hash_arg: number, transaction_output_index_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_HTLCOutputInCommitment_new(offered_arg, amount_msat_arg, cltv_expiry_arg, payment_hash_arg, transaction_output_index_arg);
        return nativeResponseValue;
 }
-       // uintptr_t HTLCOutputInCommitment_clone_ptr(LDKHTLCOutputInCommitment *NONNULL_PTR arg);
+       // uint64_t HTLCOutputInCommitment_clone_ptr(LDKHTLCOutputInCommitment *NONNULL_PTR arg);
 /* @internal */
-export function HTLCOutputInCommitment_clone_ptr(arg: number): number {
+export function HTLCOutputInCommitment_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26285,7 +26376,7 @@ export function HTLCOutputInCommitment_clone_ptr(arg: number): number {
 }
        // struct LDKHTLCOutputInCommitment HTLCOutputInCommitment_clone(const struct LDKHTLCOutputInCommitment *NONNULL_PTR orig);
 /* @internal */
-export function HTLCOutputInCommitment_clone(orig: number): number {
+export function HTLCOutputInCommitment_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26294,7 +26385,7 @@ export function HTLCOutputInCommitment_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z HTLCOutputInCommitment_write(const struct LDKHTLCOutputInCommitment *NONNULL_PTR obj);
 /* @internal */
-export function HTLCOutputInCommitment_write(obj: number): number {
+export function HTLCOutputInCommitment_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26303,7 +26394,7 @@ export function HTLCOutputInCommitment_write(obj: number): number {
 }
        // struct LDKCResult_HTLCOutputInCommitmentDecodeErrorZ HTLCOutputInCommitment_read(struct LDKu8slice ser);
 /* @internal */
-export function HTLCOutputInCommitment_read(ser: number): number {
+export function HTLCOutputInCommitment_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26312,7 +26403,7 @@ export function HTLCOutputInCommitment_read(ser: number): number {
 }
        // struct LDKCVec_u8Z get_htlc_redeemscript(const struct LDKHTLCOutputInCommitment *NONNULL_PTR htlc, bool opt_anchors, const struct LDKTxCreationKeys *NONNULL_PTR keys);
 /* @internal */
-export function get_htlc_redeemscript(htlc: number, opt_anchors: boolean, keys: number): number {
+export function get_htlc_redeemscript(htlc: bigint, opt_anchors: boolean, keys: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26330,7 +26421,7 @@ export function make_funding_redeemscript(broadcaster: number, countersignatory:
 }
        // struct LDKTransaction build_htlc_transaction(const uint8_t (*commitment_txid)[32], uint32_t feerate_per_kw, uint16_t contest_delay, const struct LDKHTLCOutputInCommitment *NONNULL_PTR htlc, bool opt_anchors, struct LDKPublicKey broadcaster_delayed_payment_key, struct LDKPublicKey revocation_key);
 /* @internal */
-export function build_htlc_transaction(commitment_txid: number, feerate_per_kw: number, contest_delay: number, htlc: number, opt_anchors: boolean, broadcaster_delayed_payment_key: number, revocation_key: number): number {
+export function build_htlc_transaction(commitment_txid: number, feerate_per_kw: number, contest_delay: number, htlc: bigint, opt_anchors: boolean, broadcaster_delayed_payment_key: number, revocation_key: number): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26348,7 +26439,7 @@ export function get_anchor_redeemscript(funding_pubkey: number): number {
 }
        // void ChannelTransactionParameters_free(struct LDKChannelTransactionParameters this_obj);
 /* @internal */
-export function ChannelTransactionParameters_free(this_obj: number): void {
+export function ChannelTransactionParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26357,7 +26448,7 @@ export function ChannelTransactionParameters_free(this_obj: number): void {
 }
        // struct LDKChannelPublicKeys ChannelTransactionParameters_get_holder_pubkeys(const struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelTransactionParameters_get_holder_pubkeys(this_ptr: number): number {
+export function ChannelTransactionParameters_get_holder_pubkeys(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26366,7 +26457,7 @@ export function ChannelTransactionParameters_get_holder_pubkeys(this_ptr: number
 }
        // void ChannelTransactionParameters_set_holder_pubkeys(struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr, struct LDKChannelPublicKeys val);
 /* @internal */
-export function ChannelTransactionParameters_set_holder_pubkeys(this_ptr: number, val: number): void {
+export function ChannelTransactionParameters_set_holder_pubkeys(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26375,7 +26466,7 @@ export function ChannelTransactionParameters_set_holder_pubkeys(this_ptr: number
 }
        // uint16_t ChannelTransactionParameters_get_holder_selected_contest_delay(const struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelTransactionParameters_get_holder_selected_contest_delay(this_ptr: number): number {
+export function ChannelTransactionParameters_get_holder_selected_contest_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26384,7 +26475,7 @@ export function ChannelTransactionParameters_get_holder_selected_contest_delay(t
 }
        // void ChannelTransactionParameters_set_holder_selected_contest_delay(struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function ChannelTransactionParameters_set_holder_selected_contest_delay(this_ptr: number, val: number): void {
+export function ChannelTransactionParameters_set_holder_selected_contest_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26393,7 +26484,7 @@ export function ChannelTransactionParameters_set_holder_selected_contest_delay(t
 }
        // bool ChannelTransactionParameters_get_is_outbound_from_holder(const struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelTransactionParameters_get_is_outbound_from_holder(this_ptr: number): boolean {
+export function ChannelTransactionParameters_get_is_outbound_from_holder(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26402,7 +26493,7 @@ export function ChannelTransactionParameters_get_is_outbound_from_holder(this_pt
 }
        // void ChannelTransactionParameters_set_is_outbound_from_holder(struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelTransactionParameters_set_is_outbound_from_holder(this_ptr: number, val: boolean): void {
+export function ChannelTransactionParameters_set_is_outbound_from_holder(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26411,7 +26502,7 @@ export function ChannelTransactionParameters_set_is_outbound_from_holder(this_pt
 }
        // struct LDKCounterpartyChannelTransactionParameters ChannelTransactionParameters_get_counterparty_parameters(const struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelTransactionParameters_get_counterparty_parameters(this_ptr: number): number {
+export function ChannelTransactionParameters_get_counterparty_parameters(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26420,7 +26511,7 @@ export function ChannelTransactionParameters_get_counterparty_parameters(this_pt
 }
        // void ChannelTransactionParameters_set_counterparty_parameters(struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr, struct LDKCounterpartyChannelTransactionParameters val);
 /* @internal */
-export function ChannelTransactionParameters_set_counterparty_parameters(this_ptr: number, val: number): void {
+export function ChannelTransactionParameters_set_counterparty_parameters(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26429,7 +26520,7 @@ export function ChannelTransactionParameters_set_counterparty_parameters(this_pt
 }
        // struct LDKOutPoint ChannelTransactionParameters_get_funding_outpoint(const struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelTransactionParameters_get_funding_outpoint(this_ptr: number): number {
+export function ChannelTransactionParameters_get_funding_outpoint(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26438,7 +26529,7 @@ export function ChannelTransactionParameters_get_funding_outpoint(this_ptr: numb
 }
        // void ChannelTransactionParameters_set_funding_outpoint(struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr, struct LDKOutPoint val);
 /* @internal */
-export function ChannelTransactionParameters_set_funding_outpoint(this_ptr: number, val: number): void {
+export function ChannelTransactionParameters_set_funding_outpoint(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26447,7 +26538,7 @@ export function ChannelTransactionParameters_set_funding_outpoint(this_ptr: numb
 }
        // enum LDKCOption_NoneZ ChannelTransactionParameters_get_opt_anchors(const struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelTransactionParameters_get_opt_anchors(this_ptr: number): COption_NoneZ {
+export function ChannelTransactionParameters_get_opt_anchors(this_ptr: bigint): COption_NoneZ {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26456,7 +26547,7 @@ export function ChannelTransactionParameters_get_opt_anchors(this_ptr: number):
 }
        // void ChannelTransactionParameters_set_opt_anchors(struct LDKChannelTransactionParameters *NONNULL_PTR this_ptr, enum LDKCOption_NoneZ val);
 /* @internal */
-export function ChannelTransactionParameters_set_opt_anchors(this_ptr: number, val: COption_NoneZ): void {
+export function ChannelTransactionParameters_set_opt_anchors(this_ptr: bigint, val: COption_NoneZ): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26465,16 +26556,16 @@ export function ChannelTransactionParameters_set_opt_anchors(this_ptr: number, v
 }
        // MUST_USE_RES struct LDKChannelTransactionParameters ChannelTransactionParameters_new(struct LDKChannelPublicKeys holder_pubkeys_arg, uint16_t holder_selected_contest_delay_arg, bool is_outbound_from_holder_arg, struct LDKCounterpartyChannelTransactionParameters counterparty_parameters_arg, struct LDKOutPoint funding_outpoint_arg, enum LDKCOption_NoneZ opt_anchors_arg);
 /* @internal */
-export function ChannelTransactionParameters_new(holder_pubkeys_arg: number, holder_selected_contest_delay_arg: number, is_outbound_from_holder_arg: boolean, counterparty_parameters_arg: number, funding_outpoint_arg: number, opt_anchors_arg: COption_NoneZ): number {
+export function ChannelTransactionParameters_new(holder_pubkeys_arg: bigint, holder_selected_contest_delay_arg: number, is_outbound_from_holder_arg: boolean, counterparty_parameters_arg: bigint, funding_outpoint_arg: bigint, opt_anchors_arg: COption_NoneZ): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelTransactionParameters_new(holder_pubkeys_arg, holder_selected_contest_delay_arg, is_outbound_from_holder_arg, counterparty_parameters_arg, funding_outpoint_arg, opt_anchors_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelTransactionParameters_clone_ptr(LDKChannelTransactionParameters *NONNULL_PTR arg);
+       // uint64_t ChannelTransactionParameters_clone_ptr(LDKChannelTransactionParameters *NONNULL_PTR arg);
 /* @internal */
-export function ChannelTransactionParameters_clone_ptr(arg: number): number {
+export function ChannelTransactionParameters_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26483,7 +26574,7 @@ export function ChannelTransactionParameters_clone_ptr(arg: number): number {
 }
        // struct LDKChannelTransactionParameters ChannelTransactionParameters_clone(const struct LDKChannelTransactionParameters *NONNULL_PTR orig);
 /* @internal */
-export function ChannelTransactionParameters_clone(orig: number): number {
+export function ChannelTransactionParameters_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26492,7 +26583,7 @@ export function ChannelTransactionParameters_clone(orig: number): number {
 }
        // void CounterpartyChannelTransactionParameters_free(struct LDKCounterpartyChannelTransactionParameters this_obj);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_free(this_obj: number): void {
+export function CounterpartyChannelTransactionParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26501,7 +26592,7 @@ export function CounterpartyChannelTransactionParameters_free(this_obj: number):
 }
        // struct LDKChannelPublicKeys CounterpartyChannelTransactionParameters_get_pubkeys(const struct LDKCounterpartyChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_get_pubkeys(this_ptr: number): number {
+export function CounterpartyChannelTransactionParameters_get_pubkeys(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26510,7 +26601,7 @@ export function CounterpartyChannelTransactionParameters_get_pubkeys(this_ptr: n
 }
        // void CounterpartyChannelTransactionParameters_set_pubkeys(struct LDKCounterpartyChannelTransactionParameters *NONNULL_PTR this_ptr, struct LDKChannelPublicKeys val);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_set_pubkeys(this_ptr: number, val: number): void {
+export function CounterpartyChannelTransactionParameters_set_pubkeys(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26519,7 +26610,7 @@ export function CounterpartyChannelTransactionParameters_set_pubkeys(this_ptr: n
 }
        // uint16_t CounterpartyChannelTransactionParameters_get_selected_contest_delay(const struct LDKCounterpartyChannelTransactionParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_get_selected_contest_delay(this_ptr: number): number {
+export function CounterpartyChannelTransactionParameters_get_selected_contest_delay(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26528,7 +26619,7 @@ export function CounterpartyChannelTransactionParameters_get_selected_contest_de
 }
        // void CounterpartyChannelTransactionParameters_set_selected_contest_delay(struct LDKCounterpartyChannelTransactionParameters *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_set_selected_contest_delay(this_ptr: number, val: number): void {
+export function CounterpartyChannelTransactionParameters_set_selected_contest_delay(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26537,16 +26628,16 @@ export function CounterpartyChannelTransactionParameters_set_selected_contest_de
 }
        // MUST_USE_RES struct LDKCounterpartyChannelTransactionParameters CounterpartyChannelTransactionParameters_new(struct LDKChannelPublicKeys pubkeys_arg, uint16_t selected_contest_delay_arg);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_new(pubkeys_arg: number, selected_contest_delay_arg: number): number {
+export function CounterpartyChannelTransactionParameters_new(pubkeys_arg: bigint, selected_contest_delay_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CounterpartyChannelTransactionParameters_new(pubkeys_arg, selected_contest_delay_arg);
        return nativeResponseValue;
 }
-       // uintptr_t CounterpartyChannelTransactionParameters_clone_ptr(LDKCounterpartyChannelTransactionParameters *NONNULL_PTR arg);
+       // uint64_t CounterpartyChannelTransactionParameters_clone_ptr(LDKCounterpartyChannelTransactionParameters *NONNULL_PTR arg);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_clone_ptr(arg: number): number {
+export function CounterpartyChannelTransactionParameters_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26555,7 +26646,7 @@ export function CounterpartyChannelTransactionParameters_clone_ptr(arg: number):
 }
        // struct LDKCounterpartyChannelTransactionParameters CounterpartyChannelTransactionParameters_clone(const struct LDKCounterpartyChannelTransactionParameters *NONNULL_PTR orig);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_clone(orig: number): number {
+export function CounterpartyChannelTransactionParameters_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26564,7 +26655,7 @@ export function CounterpartyChannelTransactionParameters_clone(orig: number): nu
 }
        // MUST_USE_RES bool ChannelTransactionParameters_is_populated(const struct LDKChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTransactionParameters_is_populated(this_arg: number): boolean {
+export function ChannelTransactionParameters_is_populated(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26573,7 +26664,7 @@ export function ChannelTransactionParameters_is_populated(this_arg: number): boo
 }
        // MUST_USE_RES struct LDKDirectedChannelTransactionParameters ChannelTransactionParameters_as_holder_broadcastable(const struct LDKChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTransactionParameters_as_holder_broadcastable(this_arg: number): number {
+export function ChannelTransactionParameters_as_holder_broadcastable(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26582,7 +26673,7 @@ export function ChannelTransactionParameters_as_holder_broadcastable(this_arg: n
 }
        // MUST_USE_RES struct LDKDirectedChannelTransactionParameters ChannelTransactionParameters_as_counterparty_broadcastable(const struct LDKChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTransactionParameters_as_counterparty_broadcastable(this_arg: number): number {
+export function ChannelTransactionParameters_as_counterparty_broadcastable(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26591,7 +26682,7 @@ export function ChannelTransactionParameters_as_counterparty_broadcastable(this_
 }
        // struct LDKCVec_u8Z CounterpartyChannelTransactionParameters_write(const struct LDKCounterpartyChannelTransactionParameters *NONNULL_PTR obj);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_write(obj: number): number {
+export function CounterpartyChannelTransactionParameters_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26600,7 +26691,7 @@ export function CounterpartyChannelTransactionParameters_write(obj: number): num
 }
        // struct LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ CounterpartyChannelTransactionParameters_read(struct LDKu8slice ser);
 /* @internal */
-export function CounterpartyChannelTransactionParameters_read(ser: number): number {
+export function CounterpartyChannelTransactionParameters_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26609,7 +26700,7 @@ export function CounterpartyChannelTransactionParameters_read(ser: number): numb
 }
        // struct LDKCVec_u8Z ChannelTransactionParameters_write(const struct LDKChannelTransactionParameters *NONNULL_PTR obj);
 /* @internal */
-export function ChannelTransactionParameters_write(obj: number): number {
+export function ChannelTransactionParameters_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26618,7 +26709,7 @@ export function ChannelTransactionParameters_write(obj: number): number {
 }
        // struct LDKCResult_ChannelTransactionParametersDecodeErrorZ ChannelTransactionParameters_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelTransactionParameters_read(ser: number): number {
+export function ChannelTransactionParameters_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26627,7 +26718,7 @@ export function ChannelTransactionParameters_read(ser: number): number {
 }
        // void DirectedChannelTransactionParameters_free(struct LDKDirectedChannelTransactionParameters this_obj);
 /* @internal */
-export function DirectedChannelTransactionParameters_free(this_obj: number): void {
+export function DirectedChannelTransactionParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26636,7 +26727,7 @@ export function DirectedChannelTransactionParameters_free(this_obj: number): voi
 }
        // MUST_USE_RES struct LDKChannelPublicKeys DirectedChannelTransactionParameters_broadcaster_pubkeys(const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelTransactionParameters_broadcaster_pubkeys(this_arg: number): number {
+export function DirectedChannelTransactionParameters_broadcaster_pubkeys(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26645,7 +26736,7 @@ export function DirectedChannelTransactionParameters_broadcaster_pubkeys(this_ar
 }
        // MUST_USE_RES struct LDKChannelPublicKeys DirectedChannelTransactionParameters_countersignatory_pubkeys(const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelTransactionParameters_countersignatory_pubkeys(this_arg: number): number {
+export function DirectedChannelTransactionParameters_countersignatory_pubkeys(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26654,7 +26745,7 @@ export function DirectedChannelTransactionParameters_countersignatory_pubkeys(th
 }
        // MUST_USE_RES uint16_t DirectedChannelTransactionParameters_contest_delay(const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelTransactionParameters_contest_delay(this_arg: number): number {
+export function DirectedChannelTransactionParameters_contest_delay(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26663,7 +26754,7 @@ export function DirectedChannelTransactionParameters_contest_delay(this_arg: num
 }
        // MUST_USE_RES bool DirectedChannelTransactionParameters_is_outbound(const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelTransactionParameters_is_outbound(this_arg: number): boolean {
+export function DirectedChannelTransactionParameters_is_outbound(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26672,7 +26763,7 @@ export function DirectedChannelTransactionParameters_is_outbound(this_arg: numbe
 }
        // MUST_USE_RES struct LDKOutPoint DirectedChannelTransactionParameters_funding_outpoint(const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelTransactionParameters_funding_outpoint(this_arg: number): number {
+export function DirectedChannelTransactionParameters_funding_outpoint(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26681,7 +26772,7 @@ export function DirectedChannelTransactionParameters_funding_outpoint(this_arg:
 }
        // MUST_USE_RES bool DirectedChannelTransactionParameters_opt_anchors(const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelTransactionParameters_opt_anchors(this_arg: number): boolean {
+export function DirectedChannelTransactionParameters_opt_anchors(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26690,7 +26781,7 @@ export function DirectedChannelTransactionParameters_opt_anchors(this_arg: numbe
 }
        // void HolderCommitmentTransaction_free(struct LDKHolderCommitmentTransaction this_obj);
 /* @internal */
-export function HolderCommitmentTransaction_free(this_obj: number): void {
+export function HolderCommitmentTransaction_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26699,7 +26790,7 @@ export function HolderCommitmentTransaction_free(this_obj: number): void {
 }
        // struct LDKSignature HolderCommitmentTransaction_get_counterparty_sig(const struct LDKHolderCommitmentTransaction *NONNULL_PTR this_ptr);
 /* @internal */
-export function HolderCommitmentTransaction_get_counterparty_sig(this_ptr: number): number {
+export function HolderCommitmentTransaction_get_counterparty_sig(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26708,25 +26799,34 @@ export function HolderCommitmentTransaction_get_counterparty_sig(this_ptr: numbe
 }
        // void HolderCommitmentTransaction_set_counterparty_sig(struct LDKHolderCommitmentTransaction *NONNULL_PTR this_ptr, struct LDKSignature val);
 /* @internal */
-export function HolderCommitmentTransaction_set_counterparty_sig(this_ptr: number, val: number): void {
+export function HolderCommitmentTransaction_set_counterparty_sig(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_HolderCommitmentTransaction_set_counterparty_sig(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_SignatureZ HolderCommitmentTransaction_get_counterparty_htlc_sigs(const struct LDKHolderCommitmentTransaction *NONNULL_PTR this_ptr);
+/* @internal */
+export function HolderCommitmentTransaction_get_counterparty_htlc_sigs(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_HolderCommitmentTransaction_get_counterparty_htlc_sigs(this_ptr);
+       return nativeResponseValue;
 }
        // void HolderCommitmentTransaction_set_counterparty_htlc_sigs(struct LDKHolderCommitmentTransaction *NONNULL_PTR this_ptr, struct LDKCVec_SignatureZ val);
 /* @internal */
-export function HolderCommitmentTransaction_set_counterparty_htlc_sigs(this_ptr: number, val: number): void {
+export function HolderCommitmentTransaction_set_counterparty_htlc_sigs(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_HolderCommitmentTransaction_set_counterparty_htlc_sigs(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t HolderCommitmentTransaction_clone_ptr(LDKHolderCommitmentTransaction *NONNULL_PTR arg);
+       // uint64_t HolderCommitmentTransaction_clone_ptr(LDKHolderCommitmentTransaction *NONNULL_PTR arg);
 /* @internal */
-export function HolderCommitmentTransaction_clone_ptr(arg: number): number {
+export function HolderCommitmentTransaction_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26735,7 +26835,7 @@ export function HolderCommitmentTransaction_clone_ptr(arg: number): number {
 }
        // struct LDKHolderCommitmentTransaction HolderCommitmentTransaction_clone(const struct LDKHolderCommitmentTransaction *NONNULL_PTR orig);
 /* @internal */
-export function HolderCommitmentTransaction_clone(orig: number): number {
+export function HolderCommitmentTransaction_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26744,7 +26844,7 @@ export function HolderCommitmentTransaction_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z HolderCommitmentTransaction_write(const struct LDKHolderCommitmentTransaction *NONNULL_PTR obj);
 /* @internal */
-export function HolderCommitmentTransaction_write(obj: number): number {
+export function HolderCommitmentTransaction_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26753,7 +26853,7 @@ export function HolderCommitmentTransaction_write(obj: number): number {
 }
        // struct LDKCResult_HolderCommitmentTransactionDecodeErrorZ HolderCommitmentTransaction_read(struct LDKu8slice ser);
 /* @internal */
-export function HolderCommitmentTransaction_read(ser: number): number {
+export function HolderCommitmentTransaction_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26762,7 +26862,7 @@ export function HolderCommitmentTransaction_read(ser: number): number {
 }
        // MUST_USE_RES struct LDKHolderCommitmentTransaction HolderCommitmentTransaction_new(struct LDKCommitmentTransaction commitment_tx, struct LDKSignature counterparty_sig, struct LDKCVec_SignatureZ counterparty_htlc_sigs, struct LDKPublicKey holder_funding_key, struct LDKPublicKey counterparty_funding_key);
 /* @internal */
-export function HolderCommitmentTransaction_new(commitment_tx: number, counterparty_sig: number, counterparty_htlc_sigs: number, holder_funding_key: number, counterparty_funding_key: number): number {
+export function HolderCommitmentTransaction_new(commitment_tx: bigint, counterparty_sig: number, counterparty_htlc_sigs: number, holder_funding_key: number, counterparty_funding_key: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26771,7 +26871,7 @@ export function HolderCommitmentTransaction_new(commitment_tx: number, counterpa
 }
        // void BuiltCommitmentTransaction_free(struct LDKBuiltCommitmentTransaction this_obj);
 /* @internal */
-export function BuiltCommitmentTransaction_free(this_obj: number): void {
+export function BuiltCommitmentTransaction_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26780,7 +26880,7 @@ export function BuiltCommitmentTransaction_free(this_obj: number): void {
 }
        // struct LDKTransaction BuiltCommitmentTransaction_get_transaction(const struct LDKBuiltCommitmentTransaction *NONNULL_PTR this_ptr);
 /* @internal */
-export function BuiltCommitmentTransaction_get_transaction(this_ptr: number): number {
+export function BuiltCommitmentTransaction_get_transaction(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26789,7 +26889,7 @@ export function BuiltCommitmentTransaction_get_transaction(this_ptr: number): nu
 }
        // void BuiltCommitmentTransaction_set_transaction(struct LDKBuiltCommitmentTransaction *NONNULL_PTR this_ptr, struct LDKTransaction val);
 /* @internal */
-export function BuiltCommitmentTransaction_set_transaction(this_ptr: number, val: number): void {
+export function BuiltCommitmentTransaction_set_transaction(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26798,7 +26898,7 @@ export function BuiltCommitmentTransaction_set_transaction(this_ptr: number, val
 }
        // const uint8_t (*BuiltCommitmentTransaction_get_txid(const struct LDKBuiltCommitmentTransaction *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function BuiltCommitmentTransaction_get_txid(this_ptr: number): number {
+export function BuiltCommitmentTransaction_get_txid(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26807,7 +26907,7 @@ export function BuiltCommitmentTransaction_get_txid(this_ptr: number): number {
 }
        // void BuiltCommitmentTransaction_set_txid(struct LDKBuiltCommitmentTransaction *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function BuiltCommitmentTransaction_set_txid(this_ptr: number, val: number): void {
+export function BuiltCommitmentTransaction_set_txid(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26816,16 +26916,16 @@ export function BuiltCommitmentTransaction_set_txid(this_ptr: number, val: numbe
 }
        // MUST_USE_RES struct LDKBuiltCommitmentTransaction BuiltCommitmentTransaction_new(struct LDKTransaction transaction_arg, struct LDKThirtyTwoBytes txid_arg);
 /* @internal */
-export function BuiltCommitmentTransaction_new(transaction_arg: number, txid_arg: number): number {
+export function BuiltCommitmentTransaction_new(transaction_arg: number, txid_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_BuiltCommitmentTransaction_new(transaction_arg, txid_arg);
        return nativeResponseValue;
 }
-       // uintptr_t BuiltCommitmentTransaction_clone_ptr(LDKBuiltCommitmentTransaction *NONNULL_PTR arg);
+       // uint64_t BuiltCommitmentTransaction_clone_ptr(LDKBuiltCommitmentTransaction *NONNULL_PTR arg);
 /* @internal */
-export function BuiltCommitmentTransaction_clone_ptr(arg: number): number {
+export function BuiltCommitmentTransaction_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26834,7 +26934,7 @@ export function BuiltCommitmentTransaction_clone_ptr(arg: number): number {
 }
        // struct LDKBuiltCommitmentTransaction BuiltCommitmentTransaction_clone(const struct LDKBuiltCommitmentTransaction *NONNULL_PTR orig);
 /* @internal */
-export function BuiltCommitmentTransaction_clone(orig: number): number {
+export function BuiltCommitmentTransaction_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26843,7 +26943,7 @@ export function BuiltCommitmentTransaction_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z BuiltCommitmentTransaction_write(const struct LDKBuiltCommitmentTransaction *NONNULL_PTR obj);
 /* @internal */
-export function BuiltCommitmentTransaction_write(obj: number): number {
+export function BuiltCommitmentTransaction_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26852,7 +26952,7 @@ export function BuiltCommitmentTransaction_write(obj: number): number {
 }
        // struct LDKCResult_BuiltCommitmentTransactionDecodeErrorZ BuiltCommitmentTransaction_read(struct LDKu8slice ser);
 /* @internal */
-export function BuiltCommitmentTransaction_read(ser: number): number {
+export function BuiltCommitmentTransaction_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26861,7 +26961,7 @@ export function BuiltCommitmentTransaction_read(ser: number): number {
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes BuiltCommitmentTransaction_get_sighash_all(const struct LDKBuiltCommitmentTransaction *NONNULL_PTR this_arg, struct LDKu8slice funding_redeemscript, uint64_t channel_value_satoshis);
 /* @internal */
-export function BuiltCommitmentTransaction_get_sighash_all(this_arg: number, funding_redeemscript: number, channel_value_satoshis: bigint): number {
+export function BuiltCommitmentTransaction_get_sighash_all(this_arg: bigint, funding_redeemscript: number, channel_value_satoshis: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26870,7 +26970,7 @@ export function BuiltCommitmentTransaction_get_sighash_all(this_arg: number, fun
 }
        // MUST_USE_RES struct LDKSignature BuiltCommitmentTransaction_sign(const struct LDKBuiltCommitmentTransaction *NONNULL_PTR this_arg, const uint8_t (*funding_key)[32], struct LDKu8slice funding_redeemscript, uint64_t channel_value_satoshis);
 /* @internal */
-export function BuiltCommitmentTransaction_sign(this_arg: number, funding_key: number, funding_redeemscript: number, channel_value_satoshis: bigint): number {
+export function BuiltCommitmentTransaction_sign(this_arg: bigint, funding_key: number, funding_redeemscript: number, channel_value_satoshis: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26879,16 +26979,16 @@ export function BuiltCommitmentTransaction_sign(this_arg: number, funding_key: n
 }
        // void ClosingTransaction_free(struct LDKClosingTransaction this_obj);
 /* @internal */
-export function ClosingTransaction_free(this_obj: number): void {
+export function ClosingTransaction_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ClosingTransaction_free(this_obj);
        // debug statements here
 }
-       // uintptr_t ClosingTransaction_clone_ptr(LDKClosingTransaction *NONNULL_PTR arg);
+       // uint64_t ClosingTransaction_clone_ptr(LDKClosingTransaction *NONNULL_PTR arg);
 /* @internal */
-export function ClosingTransaction_clone_ptr(arg: number): number {
+export function ClosingTransaction_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26897,7 +26997,7 @@ export function ClosingTransaction_clone_ptr(arg: number): number {
 }
        // struct LDKClosingTransaction ClosingTransaction_clone(const struct LDKClosingTransaction *NONNULL_PTR orig);
 /* @internal */
-export function ClosingTransaction_clone(orig: number): number {
+export function ClosingTransaction_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26906,7 +27006,7 @@ export function ClosingTransaction_clone(orig: number): number {
 }
        // uint64_t ClosingTransaction_hash(const struct LDKClosingTransaction *NONNULL_PTR o);
 /* @internal */
-export function ClosingTransaction_hash(o: number): bigint {
+export function ClosingTransaction_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26915,7 +27015,7 @@ export function ClosingTransaction_hash(o: number): bigint {
 }
        // MUST_USE_RES struct LDKClosingTransaction ClosingTransaction_new(uint64_t to_holder_value_sat, uint64_t to_counterparty_value_sat, struct LDKCVec_u8Z to_holder_script, struct LDKCVec_u8Z to_counterparty_script, struct LDKOutPoint funding_outpoint);
 /* @internal */
-export function ClosingTransaction_new(to_holder_value_sat: bigint, to_counterparty_value_sat: bigint, to_holder_script: number, to_counterparty_script: number, funding_outpoint: number): number {
+export function ClosingTransaction_new(to_holder_value_sat: bigint, to_counterparty_value_sat: bigint, to_holder_script: number, to_counterparty_script: number, funding_outpoint: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26924,7 +27024,7 @@ export function ClosingTransaction_new(to_holder_value_sat: bigint, to_counterpa
 }
        // MUST_USE_RES struct LDKTrustedClosingTransaction ClosingTransaction_trust(const struct LDKClosingTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function ClosingTransaction_trust(this_arg: number): number {
+export function ClosingTransaction_trust(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26933,7 +27033,7 @@ export function ClosingTransaction_trust(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_TrustedClosingTransactionNoneZ ClosingTransaction_verify(const struct LDKClosingTransaction *NONNULL_PTR this_arg, struct LDKOutPoint funding_outpoint);
 /* @internal */
-export function ClosingTransaction_verify(this_arg: number, funding_outpoint: number): number {
+export function ClosingTransaction_verify(this_arg: bigint, funding_outpoint: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26942,7 +27042,7 @@ export function ClosingTransaction_verify(this_arg: number, funding_outpoint: nu
 }
        // MUST_USE_RES uint64_t ClosingTransaction_to_holder_value_sat(const struct LDKClosingTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function ClosingTransaction_to_holder_value_sat(this_arg: number): bigint {
+export function ClosingTransaction_to_holder_value_sat(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26951,7 +27051,7 @@ export function ClosingTransaction_to_holder_value_sat(this_arg: number): bigint
 }
        // MUST_USE_RES uint64_t ClosingTransaction_to_counterparty_value_sat(const struct LDKClosingTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function ClosingTransaction_to_counterparty_value_sat(this_arg: number): bigint {
+export function ClosingTransaction_to_counterparty_value_sat(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26960,7 +27060,7 @@ export function ClosingTransaction_to_counterparty_value_sat(this_arg: number):
 }
        // MUST_USE_RES struct LDKu8slice ClosingTransaction_to_holder_script(const struct LDKClosingTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function ClosingTransaction_to_holder_script(this_arg: number): number {
+export function ClosingTransaction_to_holder_script(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26969,7 +27069,7 @@ export function ClosingTransaction_to_holder_script(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKu8slice ClosingTransaction_to_counterparty_script(const struct LDKClosingTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function ClosingTransaction_to_counterparty_script(this_arg: number): number {
+export function ClosingTransaction_to_counterparty_script(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26978,7 +27078,7 @@ export function ClosingTransaction_to_counterparty_script(this_arg: number): num
 }
        // void TrustedClosingTransaction_free(struct LDKTrustedClosingTransaction this_obj);
 /* @internal */
-export function TrustedClosingTransaction_free(this_obj: number): void {
+export function TrustedClosingTransaction_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26987,7 +27087,7 @@ export function TrustedClosingTransaction_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKTransaction TrustedClosingTransaction_built_transaction(const struct LDKTrustedClosingTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function TrustedClosingTransaction_built_transaction(this_arg: number): number {
+export function TrustedClosingTransaction_built_transaction(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -26996,7 +27096,7 @@ export function TrustedClosingTransaction_built_transaction(this_arg: number): n
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes TrustedClosingTransaction_get_sighash_all(const struct LDKTrustedClosingTransaction *NONNULL_PTR this_arg, struct LDKu8slice funding_redeemscript, uint64_t channel_value_satoshis);
 /* @internal */
-export function TrustedClosingTransaction_get_sighash_all(this_arg: number, funding_redeemscript: number, channel_value_satoshis: bigint): number {
+export function TrustedClosingTransaction_get_sighash_all(this_arg: bigint, funding_redeemscript: number, channel_value_satoshis: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27005,7 +27105,7 @@ export function TrustedClosingTransaction_get_sighash_all(this_arg: number, fund
 }
        // MUST_USE_RES struct LDKSignature TrustedClosingTransaction_sign(const struct LDKTrustedClosingTransaction *NONNULL_PTR this_arg, const uint8_t (*funding_key)[32], struct LDKu8slice funding_redeemscript, uint64_t channel_value_satoshis);
 /* @internal */
-export function TrustedClosingTransaction_sign(this_arg: number, funding_key: number, funding_redeemscript: number, channel_value_satoshis: bigint): number {
+export function TrustedClosingTransaction_sign(this_arg: bigint, funding_key: number, funding_redeemscript: number, channel_value_satoshis: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27014,16 +27114,16 @@ export function TrustedClosingTransaction_sign(this_arg: number, funding_key: nu
 }
        // void CommitmentTransaction_free(struct LDKCommitmentTransaction this_obj);
 /* @internal */
-export function CommitmentTransaction_free(this_obj: number): void {
+export function CommitmentTransaction_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CommitmentTransaction_free(this_obj);
        // debug statements here
 }
-       // uintptr_t CommitmentTransaction_clone_ptr(LDKCommitmentTransaction *NONNULL_PTR arg);
+       // uint64_t CommitmentTransaction_clone_ptr(LDKCommitmentTransaction *NONNULL_PTR arg);
 /* @internal */
-export function CommitmentTransaction_clone_ptr(arg: number): number {
+export function CommitmentTransaction_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27032,7 +27132,7 @@ export function CommitmentTransaction_clone_ptr(arg: number): number {
 }
        // struct LDKCommitmentTransaction CommitmentTransaction_clone(const struct LDKCommitmentTransaction *NONNULL_PTR orig);
 /* @internal */
-export function CommitmentTransaction_clone(orig: number): number {
+export function CommitmentTransaction_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27041,7 +27141,7 @@ export function CommitmentTransaction_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z CommitmentTransaction_write(const struct LDKCommitmentTransaction *NONNULL_PTR obj);
 /* @internal */
-export function CommitmentTransaction_write(obj: number): number {
+export function CommitmentTransaction_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27050,7 +27150,7 @@ export function CommitmentTransaction_write(obj: number): number {
 }
        // struct LDKCResult_CommitmentTransactionDecodeErrorZ CommitmentTransaction_read(struct LDKu8slice ser);
 /* @internal */
-export function CommitmentTransaction_read(ser: number): number {
+export function CommitmentTransaction_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27059,7 +27159,7 @@ export function CommitmentTransaction_read(ser: number): number {
 }
        // MUST_USE_RES uint64_t CommitmentTransaction_commitment_number(const struct LDKCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function CommitmentTransaction_commitment_number(this_arg: number): bigint {
+export function CommitmentTransaction_commitment_number(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27068,7 +27168,7 @@ export function CommitmentTransaction_commitment_number(this_arg: number): bigin
 }
        // MUST_USE_RES uint64_t CommitmentTransaction_to_broadcaster_value_sat(const struct LDKCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function CommitmentTransaction_to_broadcaster_value_sat(this_arg: number): bigint {
+export function CommitmentTransaction_to_broadcaster_value_sat(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27077,7 +27177,7 @@ export function CommitmentTransaction_to_broadcaster_value_sat(this_arg: number)
 }
        // MUST_USE_RES uint64_t CommitmentTransaction_to_countersignatory_value_sat(const struct LDKCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function CommitmentTransaction_to_countersignatory_value_sat(this_arg: number): bigint {
+export function CommitmentTransaction_to_countersignatory_value_sat(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27086,7 +27186,7 @@ export function CommitmentTransaction_to_countersignatory_value_sat(this_arg: nu
 }
        // MUST_USE_RES uint32_t CommitmentTransaction_feerate_per_kw(const struct LDKCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function CommitmentTransaction_feerate_per_kw(this_arg: number): number {
+export function CommitmentTransaction_feerate_per_kw(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27095,7 +27195,7 @@ export function CommitmentTransaction_feerate_per_kw(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKTrustedCommitmentTransaction CommitmentTransaction_trust(const struct LDKCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function CommitmentTransaction_trust(this_arg: number): number {
+export function CommitmentTransaction_trust(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27104,7 +27204,7 @@ export function CommitmentTransaction_trust(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_TrustedCommitmentTransactionNoneZ CommitmentTransaction_verify(const struct LDKCommitmentTransaction *NONNULL_PTR this_arg, const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR channel_parameters, const struct LDKChannelPublicKeys *NONNULL_PTR broadcaster_keys, const struct LDKChannelPublicKeys *NONNULL_PTR countersignatory_keys);
 /* @internal */
-export function CommitmentTransaction_verify(this_arg: number, channel_parameters: number, broadcaster_keys: number, countersignatory_keys: number): number {
+export function CommitmentTransaction_verify(this_arg: bigint, channel_parameters: bigint, broadcaster_keys: bigint, countersignatory_keys: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27113,7 +27213,7 @@ export function CommitmentTransaction_verify(this_arg: number, channel_parameter
 }
        // void TrustedCommitmentTransaction_free(struct LDKTrustedCommitmentTransaction this_obj);
 /* @internal */
-export function TrustedCommitmentTransaction_free(this_obj: number): void {
+export function TrustedCommitmentTransaction_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27122,7 +27222,7 @@ export function TrustedCommitmentTransaction_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes TrustedCommitmentTransaction_txid(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function TrustedCommitmentTransaction_txid(this_arg: number): number {
+export function TrustedCommitmentTransaction_txid(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27131,7 +27231,7 @@ export function TrustedCommitmentTransaction_txid(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKBuiltCommitmentTransaction TrustedCommitmentTransaction_built_transaction(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function TrustedCommitmentTransaction_built_transaction(this_arg: number): number {
+export function TrustedCommitmentTransaction_built_transaction(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27140,7 +27240,7 @@ export function TrustedCommitmentTransaction_built_transaction(this_arg: number)
 }
        // MUST_USE_RES struct LDKTxCreationKeys TrustedCommitmentTransaction_keys(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function TrustedCommitmentTransaction_keys(this_arg: number): number {
+export function TrustedCommitmentTransaction_keys(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27149,7 +27249,7 @@ export function TrustedCommitmentTransaction_keys(this_arg: number): number {
 }
        // MUST_USE_RES bool TrustedCommitmentTransaction_opt_anchors(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg);
 /* @internal */
-export function TrustedCommitmentTransaction_opt_anchors(this_arg: number): boolean {
+export function TrustedCommitmentTransaction_opt_anchors(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27158,7 +27258,7 @@ export function TrustedCommitmentTransaction_opt_anchors(this_arg: number): bool
 }
        // MUST_USE_RES struct LDKCResult_CVec_SignatureZNoneZ TrustedCommitmentTransaction_get_htlc_sigs(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg, const uint8_t (*htlc_base_key)[32], const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR channel_parameters);
 /* @internal */
-export function TrustedCommitmentTransaction_get_htlc_sigs(this_arg: number, htlc_base_key: number, channel_parameters: number): number {
+export function TrustedCommitmentTransaction_get_htlc_sigs(this_arg: bigint, htlc_base_key: number, channel_parameters: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27176,7 +27276,7 @@ export function get_commitment_transaction_number_obscure_factor(broadcaster_pay
 }
        // bool InitFeatures_eq(const struct LDKInitFeatures *NONNULL_PTR a, const struct LDKInitFeatures *NONNULL_PTR b);
 /* @internal */
-export function InitFeatures_eq(a: number, b: number): boolean {
+export function InitFeatures_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27185,7 +27285,7 @@ export function InitFeatures_eq(a: number, b: number): boolean {
 }
        // bool NodeFeatures_eq(const struct LDKNodeFeatures *NONNULL_PTR a, const struct LDKNodeFeatures *NONNULL_PTR b);
 /* @internal */
-export function NodeFeatures_eq(a: number, b: number): boolean {
+export function NodeFeatures_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27194,7 +27294,7 @@ export function NodeFeatures_eq(a: number, b: number): boolean {
 }
        // bool ChannelFeatures_eq(const struct LDKChannelFeatures *NONNULL_PTR a, const struct LDKChannelFeatures *NONNULL_PTR b);
 /* @internal */
-export function ChannelFeatures_eq(a: number, b: number): boolean {
+export function ChannelFeatures_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27203,7 +27303,7 @@ export function ChannelFeatures_eq(a: number, b: number): boolean {
 }
        // bool InvoiceFeatures_eq(const struct LDKInvoiceFeatures *NONNULL_PTR a, const struct LDKInvoiceFeatures *NONNULL_PTR b);
 /* @internal */
-export function InvoiceFeatures_eq(a: number, b: number): boolean {
+export function InvoiceFeatures_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27212,16 +27312,16 @@ export function InvoiceFeatures_eq(a: number, b: number): boolean {
 }
        // bool ChannelTypeFeatures_eq(const struct LDKChannelTypeFeatures *NONNULL_PTR a, const struct LDKChannelTypeFeatures *NONNULL_PTR b);
 /* @internal */
-export function ChannelTypeFeatures_eq(a: number, b: number): boolean {
+export function ChannelTypeFeatures_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelTypeFeatures_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t InitFeatures_clone_ptr(LDKInitFeatures *NONNULL_PTR arg);
+       // uint64_t InitFeatures_clone_ptr(LDKInitFeatures *NONNULL_PTR arg);
 /* @internal */
-export function InitFeatures_clone_ptr(arg: number): number {
+export function InitFeatures_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27230,16 +27330,16 @@ export function InitFeatures_clone_ptr(arg: number): number {
 }
        // struct LDKInitFeatures InitFeatures_clone(const struct LDKInitFeatures *NONNULL_PTR orig);
 /* @internal */
-export function InitFeatures_clone(orig: number): number {
+export function InitFeatures_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_InitFeatures_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t NodeFeatures_clone_ptr(LDKNodeFeatures *NONNULL_PTR arg);
+       // uint64_t NodeFeatures_clone_ptr(LDKNodeFeatures *NONNULL_PTR arg);
 /* @internal */
-export function NodeFeatures_clone_ptr(arg: number): number {
+export function NodeFeatures_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27248,16 +27348,16 @@ export function NodeFeatures_clone_ptr(arg: number): number {
 }
        // struct LDKNodeFeatures NodeFeatures_clone(const struct LDKNodeFeatures *NONNULL_PTR orig);
 /* @internal */
-export function NodeFeatures_clone(orig: number): number {
+export function NodeFeatures_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeFeatures_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelFeatures_clone_ptr(LDKChannelFeatures *NONNULL_PTR arg);
+       // uint64_t ChannelFeatures_clone_ptr(LDKChannelFeatures *NONNULL_PTR arg);
 /* @internal */
-export function ChannelFeatures_clone_ptr(arg: number): number {
+export function ChannelFeatures_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27266,16 +27366,16 @@ export function ChannelFeatures_clone_ptr(arg: number): number {
 }
        // struct LDKChannelFeatures ChannelFeatures_clone(const struct LDKChannelFeatures *NONNULL_PTR orig);
 /* @internal */
-export function ChannelFeatures_clone(orig: number): number {
+export function ChannelFeatures_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelFeatures_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t InvoiceFeatures_clone_ptr(LDKInvoiceFeatures *NONNULL_PTR arg);
+       // uint64_t InvoiceFeatures_clone_ptr(LDKInvoiceFeatures *NONNULL_PTR arg);
 /* @internal */
-export function InvoiceFeatures_clone_ptr(arg: number): number {
+export function InvoiceFeatures_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27284,16 +27384,16 @@ export function InvoiceFeatures_clone_ptr(arg: number): number {
 }
        // struct LDKInvoiceFeatures InvoiceFeatures_clone(const struct LDKInvoiceFeatures *NONNULL_PTR orig);
 /* @internal */
-export function InvoiceFeatures_clone(orig: number): number {
+export function InvoiceFeatures_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_InvoiceFeatures_clone(orig);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelTypeFeatures_clone_ptr(LDKChannelTypeFeatures *NONNULL_PTR arg);
+       // uint64_t ChannelTypeFeatures_clone_ptr(LDKChannelTypeFeatures *NONNULL_PTR arg);
 /* @internal */
-export function ChannelTypeFeatures_clone_ptr(arg: number): number {
+export function ChannelTypeFeatures_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27302,7 +27402,7 @@ export function ChannelTypeFeatures_clone_ptr(arg: number): number {
 }
        // struct LDKChannelTypeFeatures ChannelTypeFeatures_clone(const struct LDKChannelTypeFeatures *NONNULL_PTR orig);
 /* @internal */
-export function ChannelTypeFeatures_clone(orig: number): number {
+export function ChannelTypeFeatures_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27311,7 +27411,7 @@ export function ChannelTypeFeatures_clone(orig: number): number {
 }
        // void InitFeatures_free(struct LDKInitFeatures this_obj);
 /* @internal */
-export function InitFeatures_free(this_obj: number): void {
+export function InitFeatures_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27320,7 +27420,7 @@ export function InitFeatures_free(this_obj: number): void {
 }
        // void NodeFeatures_free(struct LDKNodeFeatures this_obj);
 /* @internal */
-export function NodeFeatures_free(this_obj: number): void {
+export function NodeFeatures_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27329,7 +27429,7 @@ export function NodeFeatures_free(this_obj: number): void {
 }
        // void ChannelFeatures_free(struct LDKChannelFeatures this_obj);
 /* @internal */
-export function ChannelFeatures_free(this_obj: number): void {
+export function ChannelFeatures_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27338,7 +27438,7 @@ export function ChannelFeatures_free(this_obj: number): void {
 }
        // void InvoiceFeatures_free(struct LDKInvoiceFeatures this_obj);
 /* @internal */
-export function InvoiceFeatures_free(this_obj: number): void {
+export function InvoiceFeatures_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27347,7 +27447,7 @@ export function InvoiceFeatures_free(this_obj: number): void {
 }
        // void ChannelTypeFeatures_free(struct LDKChannelTypeFeatures this_obj);
 /* @internal */
-export function ChannelTypeFeatures_free(this_obj: number): void {
+export function ChannelTypeFeatures_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27356,7 +27456,7 @@ export function ChannelTypeFeatures_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKInitFeatures InitFeatures_empty(void);
 /* @internal */
-export function InitFeatures_empty(): number {
+export function InitFeatures_empty(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27365,7 +27465,7 @@ export function InitFeatures_empty(): number {
 }
        // MUST_USE_RES struct LDKInitFeatures InitFeatures_known(void);
 /* @internal */
-export function InitFeatures_known(): number {
+export function InitFeatures_known(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27374,7 +27474,7 @@ export function InitFeatures_known(): number {
 }
        // MUST_USE_RES bool InitFeatures_requires_unknown_bits(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_unknown_bits(this_arg: number): boolean {
+export function InitFeatures_requires_unknown_bits(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27383,7 +27483,7 @@ export function InitFeatures_requires_unknown_bits(this_arg: number): boolean {
 }
        // MUST_USE_RES struct LDKNodeFeatures NodeFeatures_empty(void);
 /* @internal */
-export function NodeFeatures_empty(): number {
+export function NodeFeatures_empty(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27392,7 +27492,7 @@ export function NodeFeatures_empty(): number {
 }
        // MUST_USE_RES struct LDKNodeFeatures NodeFeatures_known(void);
 /* @internal */
-export function NodeFeatures_known(): number {
+export function NodeFeatures_known(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27401,7 +27501,7 @@ export function NodeFeatures_known(): number {
 }
        // MUST_USE_RES bool NodeFeatures_requires_unknown_bits(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_unknown_bits(this_arg: number): boolean {
+export function NodeFeatures_requires_unknown_bits(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27410,7 +27510,7 @@ export function NodeFeatures_requires_unknown_bits(this_arg: number): boolean {
 }
        // MUST_USE_RES struct LDKChannelFeatures ChannelFeatures_empty(void);
 /* @internal */
-export function ChannelFeatures_empty(): number {
+export function ChannelFeatures_empty(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27419,7 +27519,7 @@ export function ChannelFeatures_empty(): number {
 }
        // MUST_USE_RES struct LDKChannelFeatures ChannelFeatures_known(void);
 /* @internal */
-export function ChannelFeatures_known(): number {
+export function ChannelFeatures_known(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27428,7 +27528,7 @@ export function ChannelFeatures_known(): number {
 }
        // MUST_USE_RES bool ChannelFeatures_requires_unknown_bits(const struct LDKChannelFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelFeatures_requires_unknown_bits(this_arg: number): boolean {
+export function ChannelFeatures_requires_unknown_bits(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27437,7 +27537,7 @@ export function ChannelFeatures_requires_unknown_bits(this_arg: number): boolean
 }
        // MUST_USE_RES struct LDKInvoiceFeatures InvoiceFeatures_empty(void);
 /* @internal */
-export function InvoiceFeatures_empty(): number {
+export function InvoiceFeatures_empty(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27446,7 +27546,7 @@ export function InvoiceFeatures_empty(): number {
 }
        // MUST_USE_RES struct LDKInvoiceFeatures InvoiceFeatures_known(void);
 /* @internal */
-export function InvoiceFeatures_known(): number {
+export function InvoiceFeatures_known(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27455,7 +27555,7 @@ export function InvoiceFeatures_known(): number {
 }
        // MUST_USE_RES bool InvoiceFeatures_requires_unknown_bits(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_requires_unknown_bits(this_arg: number): boolean {
+export function InvoiceFeatures_requires_unknown_bits(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27464,7 +27564,7 @@ export function InvoiceFeatures_requires_unknown_bits(this_arg: number): boolean
 }
        // MUST_USE_RES struct LDKChannelTypeFeatures ChannelTypeFeatures_empty(void);
 /* @internal */
-export function ChannelTypeFeatures_empty(): number {
+export function ChannelTypeFeatures_empty(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27473,7 +27573,7 @@ export function ChannelTypeFeatures_empty(): number {
 }
        // MUST_USE_RES struct LDKChannelTypeFeatures ChannelTypeFeatures_known(void);
 /* @internal */
-export function ChannelTypeFeatures_known(): number {
+export function ChannelTypeFeatures_known(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27482,7 +27582,7 @@ export function ChannelTypeFeatures_known(): number {
 }
        // MUST_USE_RES bool ChannelTypeFeatures_requires_unknown_bits(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_requires_unknown_bits(this_arg: number): boolean {
+export function ChannelTypeFeatures_requires_unknown_bits(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27491,7 +27591,7 @@ export function ChannelTypeFeatures_requires_unknown_bits(this_arg: number): boo
 }
        // struct LDKCVec_u8Z InitFeatures_write(const struct LDKInitFeatures *NONNULL_PTR obj);
 /* @internal */
-export function InitFeatures_write(obj: number): number {
+export function InitFeatures_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27500,7 +27600,7 @@ export function InitFeatures_write(obj: number): number {
 }
        // struct LDKCResult_InitFeaturesDecodeErrorZ InitFeatures_read(struct LDKu8slice ser);
 /* @internal */
-export function InitFeatures_read(ser: number): number {
+export function InitFeatures_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27509,7 +27609,7 @@ export function InitFeatures_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelFeatures_write(const struct LDKChannelFeatures *NONNULL_PTR obj);
 /* @internal */
-export function ChannelFeatures_write(obj: number): number {
+export function ChannelFeatures_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27518,7 +27618,7 @@ export function ChannelFeatures_write(obj: number): number {
 }
        // struct LDKCResult_ChannelFeaturesDecodeErrorZ ChannelFeatures_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelFeatures_read(ser: number): number {
+export function ChannelFeatures_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27527,7 +27627,7 @@ export function ChannelFeatures_read(ser: number): number {
 }
        // struct LDKCVec_u8Z NodeFeatures_write(const struct LDKNodeFeatures *NONNULL_PTR obj);
 /* @internal */
-export function NodeFeatures_write(obj: number): number {
+export function NodeFeatures_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27536,7 +27636,7 @@ export function NodeFeatures_write(obj: number): number {
 }
        // struct LDKCResult_NodeFeaturesDecodeErrorZ NodeFeatures_read(struct LDKu8slice ser);
 /* @internal */
-export function NodeFeatures_read(ser: number): number {
+export function NodeFeatures_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27545,7 +27645,7 @@ export function NodeFeatures_read(ser: number): number {
 }
        // struct LDKCVec_u8Z InvoiceFeatures_write(const struct LDKInvoiceFeatures *NONNULL_PTR obj);
 /* @internal */
-export function InvoiceFeatures_write(obj: number): number {
+export function InvoiceFeatures_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27554,7 +27654,7 @@ export function InvoiceFeatures_write(obj: number): number {
 }
        // struct LDKCResult_InvoiceFeaturesDecodeErrorZ InvoiceFeatures_read(struct LDKu8slice ser);
 /* @internal */
-export function InvoiceFeatures_read(ser: number): number {
+export function InvoiceFeatures_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27563,7 +27663,7 @@ export function InvoiceFeatures_read(ser: number): number {
 }
        // struct LDKCVec_u8Z ChannelTypeFeatures_write(const struct LDKChannelTypeFeatures *NONNULL_PTR obj);
 /* @internal */
-export function ChannelTypeFeatures_write(obj: number): number {
+export function ChannelTypeFeatures_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27572,7 +27672,7 @@ export function ChannelTypeFeatures_write(obj: number): number {
 }
        // struct LDKCResult_ChannelTypeFeaturesDecodeErrorZ ChannelTypeFeatures_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelTypeFeatures_read(ser: number): number {
+export function ChannelTypeFeatures_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27581,7 +27681,7 @@ export function ChannelTypeFeatures_read(ser: number): number {
 }
        // void InitFeatures_set_data_loss_protect_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_data_loss_protect_optional(this_arg: number): void {
+export function InitFeatures_set_data_loss_protect_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27590,7 +27690,7 @@ export function InitFeatures_set_data_loss_protect_optional(this_arg: number): v
 }
        // void InitFeatures_set_data_loss_protect_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_data_loss_protect_required(this_arg: number): void {
+export function InitFeatures_set_data_loss_protect_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27599,7 +27699,7 @@ export function InitFeatures_set_data_loss_protect_required(this_arg: number): v
 }
        // MUST_USE_RES bool InitFeatures_supports_data_loss_protect(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_data_loss_protect(this_arg: number): boolean {
+export function InitFeatures_supports_data_loss_protect(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27608,7 +27708,7 @@ export function InitFeatures_supports_data_loss_protect(this_arg: number): boole
 }
        // void NodeFeatures_set_data_loss_protect_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_data_loss_protect_optional(this_arg: number): void {
+export function NodeFeatures_set_data_loss_protect_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27617,7 +27717,7 @@ export function NodeFeatures_set_data_loss_protect_optional(this_arg: number): v
 }
        // void NodeFeatures_set_data_loss_protect_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_data_loss_protect_required(this_arg: number): void {
+export function NodeFeatures_set_data_loss_protect_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27626,7 +27726,7 @@ export function NodeFeatures_set_data_loss_protect_required(this_arg: number): v
 }
        // MUST_USE_RES bool NodeFeatures_supports_data_loss_protect(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_data_loss_protect(this_arg: number): boolean {
+export function NodeFeatures_supports_data_loss_protect(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27635,7 +27735,7 @@ export function NodeFeatures_supports_data_loss_protect(this_arg: number): boole
 }
        // MUST_USE_RES bool InitFeatures_requires_data_loss_protect(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_data_loss_protect(this_arg: number): boolean {
+export function InitFeatures_requires_data_loss_protect(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27644,7 +27744,7 @@ export function InitFeatures_requires_data_loss_protect(this_arg: number): boole
 }
        // MUST_USE_RES bool NodeFeatures_requires_data_loss_protect(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_data_loss_protect(this_arg: number): boolean {
+export function NodeFeatures_requires_data_loss_protect(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27653,7 +27753,7 @@ export function NodeFeatures_requires_data_loss_protect(this_arg: number): boole
 }
        // void InitFeatures_set_initial_routing_sync_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_initial_routing_sync_optional(this_arg: number): void {
+export function InitFeatures_set_initial_routing_sync_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27662,7 +27762,7 @@ export function InitFeatures_set_initial_routing_sync_optional(this_arg: number)
 }
        // void InitFeatures_set_initial_routing_sync_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_initial_routing_sync_required(this_arg: number): void {
+export function InitFeatures_set_initial_routing_sync_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27671,7 +27771,7 @@ export function InitFeatures_set_initial_routing_sync_required(this_arg: number)
 }
        // MUST_USE_RES bool InitFeatures_initial_routing_sync(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_initial_routing_sync(this_arg: number): boolean {
+export function InitFeatures_initial_routing_sync(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27680,7 +27780,7 @@ export function InitFeatures_initial_routing_sync(this_arg: number): boolean {
 }
        // void InitFeatures_set_upfront_shutdown_script_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_upfront_shutdown_script_optional(this_arg: number): void {
+export function InitFeatures_set_upfront_shutdown_script_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27689,7 +27789,7 @@ export function InitFeatures_set_upfront_shutdown_script_optional(this_arg: numb
 }
        // void InitFeatures_set_upfront_shutdown_script_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_upfront_shutdown_script_required(this_arg: number): void {
+export function InitFeatures_set_upfront_shutdown_script_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27698,7 +27798,7 @@ export function InitFeatures_set_upfront_shutdown_script_required(this_arg: numb
 }
        // MUST_USE_RES bool InitFeatures_supports_upfront_shutdown_script(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_upfront_shutdown_script(this_arg: number): boolean {
+export function InitFeatures_supports_upfront_shutdown_script(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27707,7 +27807,7 @@ export function InitFeatures_supports_upfront_shutdown_script(this_arg: number):
 }
        // void NodeFeatures_set_upfront_shutdown_script_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_upfront_shutdown_script_optional(this_arg: number): void {
+export function NodeFeatures_set_upfront_shutdown_script_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27716,7 +27816,7 @@ export function NodeFeatures_set_upfront_shutdown_script_optional(this_arg: numb
 }
        // void NodeFeatures_set_upfront_shutdown_script_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_upfront_shutdown_script_required(this_arg: number): void {
+export function NodeFeatures_set_upfront_shutdown_script_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27725,7 +27825,7 @@ export function NodeFeatures_set_upfront_shutdown_script_required(this_arg: numb
 }
        // MUST_USE_RES bool NodeFeatures_supports_upfront_shutdown_script(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_upfront_shutdown_script(this_arg: number): boolean {
+export function NodeFeatures_supports_upfront_shutdown_script(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27734,7 +27834,7 @@ export function NodeFeatures_supports_upfront_shutdown_script(this_arg: number):
 }
        // MUST_USE_RES bool InitFeatures_requires_upfront_shutdown_script(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_upfront_shutdown_script(this_arg: number): boolean {
+export function InitFeatures_requires_upfront_shutdown_script(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27743,7 +27843,7 @@ export function InitFeatures_requires_upfront_shutdown_script(this_arg: number):
 }
        // MUST_USE_RES bool NodeFeatures_requires_upfront_shutdown_script(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_upfront_shutdown_script(this_arg: number): boolean {
+export function NodeFeatures_requires_upfront_shutdown_script(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27752,7 +27852,7 @@ export function NodeFeatures_requires_upfront_shutdown_script(this_arg: number):
 }
        // void InitFeatures_set_gossip_queries_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_gossip_queries_optional(this_arg: number): void {
+export function InitFeatures_set_gossip_queries_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27761,7 +27861,7 @@ export function InitFeatures_set_gossip_queries_optional(this_arg: number): void
 }
        // void InitFeatures_set_gossip_queries_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_gossip_queries_required(this_arg: number): void {
+export function InitFeatures_set_gossip_queries_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27770,7 +27870,7 @@ export function InitFeatures_set_gossip_queries_required(this_arg: number): void
 }
        // MUST_USE_RES bool InitFeatures_supports_gossip_queries(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_gossip_queries(this_arg: number): boolean {
+export function InitFeatures_supports_gossip_queries(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27779,7 +27879,7 @@ export function InitFeatures_supports_gossip_queries(this_arg: number): boolean
 }
        // void NodeFeatures_set_gossip_queries_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_gossip_queries_optional(this_arg: number): void {
+export function NodeFeatures_set_gossip_queries_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27788,7 +27888,7 @@ export function NodeFeatures_set_gossip_queries_optional(this_arg: number): void
 }
        // void NodeFeatures_set_gossip_queries_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_gossip_queries_required(this_arg: number): void {
+export function NodeFeatures_set_gossip_queries_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27797,7 +27897,7 @@ export function NodeFeatures_set_gossip_queries_required(this_arg: number): void
 }
        // MUST_USE_RES bool NodeFeatures_supports_gossip_queries(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_gossip_queries(this_arg: number): boolean {
+export function NodeFeatures_supports_gossip_queries(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27806,7 +27906,7 @@ export function NodeFeatures_supports_gossip_queries(this_arg: number): boolean
 }
        // MUST_USE_RES bool InitFeatures_requires_gossip_queries(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_gossip_queries(this_arg: number): boolean {
+export function InitFeatures_requires_gossip_queries(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27815,7 +27915,7 @@ export function InitFeatures_requires_gossip_queries(this_arg: number): boolean
 }
        // MUST_USE_RES bool NodeFeatures_requires_gossip_queries(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_gossip_queries(this_arg: number): boolean {
+export function NodeFeatures_requires_gossip_queries(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27824,7 +27924,7 @@ export function NodeFeatures_requires_gossip_queries(this_arg: number): boolean
 }
        // void InitFeatures_set_variable_length_onion_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_variable_length_onion_optional(this_arg: number): void {
+export function InitFeatures_set_variable_length_onion_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27833,7 +27933,7 @@ export function InitFeatures_set_variable_length_onion_optional(this_arg: number
 }
        // void InitFeatures_set_variable_length_onion_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_variable_length_onion_required(this_arg: number): void {
+export function InitFeatures_set_variable_length_onion_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27842,7 +27942,7 @@ export function InitFeatures_set_variable_length_onion_required(this_arg: number
 }
        // MUST_USE_RES bool InitFeatures_supports_variable_length_onion(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_variable_length_onion(this_arg: number): boolean {
+export function InitFeatures_supports_variable_length_onion(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27851,7 +27951,7 @@ export function InitFeatures_supports_variable_length_onion(this_arg: number): b
 }
        // void NodeFeatures_set_variable_length_onion_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_variable_length_onion_optional(this_arg: number): void {
+export function NodeFeatures_set_variable_length_onion_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27860,7 +27960,7 @@ export function NodeFeatures_set_variable_length_onion_optional(this_arg: number
 }
        // void NodeFeatures_set_variable_length_onion_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_variable_length_onion_required(this_arg: number): void {
+export function NodeFeatures_set_variable_length_onion_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27869,7 +27969,7 @@ export function NodeFeatures_set_variable_length_onion_required(this_arg: number
 }
        // MUST_USE_RES bool NodeFeatures_supports_variable_length_onion(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_variable_length_onion(this_arg: number): boolean {
+export function NodeFeatures_supports_variable_length_onion(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27878,7 +27978,7 @@ export function NodeFeatures_supports_variable_length_onion(this_arg: number): b
 }
        // void InvoiceFeatures_set_variable_length_onion_optional(struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_set_variable_length_onion_optional(this_arg: number): void {
+export function InvoiceFeatures_set_variable_length_onion_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27887,7 +27987,7 @@ export function InvoiceFeatures_set_variable_length_onion_optional(this_arg: num
 }
        // void InvoiceFeatures_set_variable_length_onion_required(struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_set_variable_length_onion_required(this_arg: number): void {
+export function InvoiceFeatures_set_variable_length_onion_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27896,7 +27996,7 @@ export function InvoiceFeatures_set_variable_length_onion_required(this_arg: num
 }
        // MUST_USE_RES bool InvoiceFeatures_supports_variable_length_onion(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_supports_variable_length_onion(this_arg: number): boolean {
+export function InvoiceFeatures_supports_variable_length_onion(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27905,7 +28005,7 @@ export function InvoiceFeatures_supports_variable_length_onion(this_arg: number)
 }
        // MUST_USE_RES bool InitFeatures_requires_variable_length_onion(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_variable_length_onion(this_arg: number): boolean {
+export function InitFeatures_requires_variable_length_onion(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27914,7 +28014,7 @@ export function InitFeatures_requires_variable_length_onion(this_arg: number): b
 }
        // MUST_USE_RES bool NodeFeatures_requires_variable_length_onion(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_variable_length_onion(this_arg: number): boolean {
+export function NodeFeatures_requires_variable_length_onion(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27923,7 +28023,7 @@ export function NodeFeatures_requires_variable_length_onion(this_arg: number): b
 }
        // MUST_USE_RES bool InvoiceFeatures_requires_variable_length_onion(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_requires_variable_length_onion(this_arg: number): boolean {
+export function InvoiceFeatures_requires_variable_length_onion(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27932,7 +28032,7 @@ export function InvoiceFeatures_requires_variable_length_onion(this_arg: number)
 }
        // void InitFeatures_set_static_remote_key_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_static_remote_key_optional(this_arg: number): void {
+export function InitFeatures_set_static_remote_key_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27941,7 +28041,7 @@ export function InitFeatures_set_static_remote_key_optional(this_arg: number): v
 }
        // void InitFeatures_set_static_remote_key_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_static_remote_key_required(this_arg: number): void {
+export function InitFeatures_set_static_remote_key_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27950,7 +28050,7 @@ export function InitFeatures_set_static_remote_key_required(this_arg: number): v
 }
        // MUST_USE_RES bool InitFeatures_supports_static_remote_key(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_static_remote_key(this_arg: number): boolean {
+export function InitFeatures_supports_static_remote_key(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27959,7 +28059,7 @@ export function InitFeatures_supports_static_remote_key(this_arg: number): boole
 }
        // void NodeFeatures_set_static_remote_key_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_static_remote_key_optional(this_arg: number): void {
+export function NodeFeatures_set_static_remote_key_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27968,7 +28068,7 @@ export function NodeFeatures_set_static_remote_key_optional(this_arg: number): v
 }
        // void NodeFeatures_set_static_remote_key_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_static_remote_key_required(this_arg: number): void {
+export function NodeFeatures_set_static_remote_key_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27977,7 +28077,7 @@ export function NodeFeatures_set_static_remote_key_required(this_arg: number): v
 }
        // MUST_USE_RES bool NodeFeatures_supports_static_remote_key(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_static_remote_key(this_arg: number): boolean {
+export function NodeFeatures_supports_static_remote_key(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27986,7 +28086,7 @@ export function NodeFeatures_supports_static_remote_key(this_arg: number): boole
 }
        // void ChannelTypeFeatures_set_static_remote_key_optional(struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_set_static_remote_key_optional(this_arg: number): void {
+export function ChannelTypeFeatures_set_static_remote_key_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -27995,7 +28095,7 @@ export function ChannelTypeFeatures_set_static_remote_key_optional(this_arg: num
 }
        // void ChannelTypeFeatures_set_static_remote_key_required(struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_set_static_remote_key_required(this_arg: number): void {
+export function ChannelTypeFeatures_set_static_remote_key_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28004,7 +28104,7 @@ export function ChannelTypeFeatures_set_static_remote_key_required(this_arg: num
 }
        // MUST_USE_RES bool ChannelTypeFeatures_supports_static_remote_key(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_supports_static_remote_key(this_arg: number): boolean {
+export function ChannelTypeFeatures_supports_static_remote_key(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28013,7 +28113,7 @@ export function ChannelTypeFeatures_supports_static_remote_key(this_arg: number)
 }
        // MUST_USE_RES bool InitFeatures_requires_static_remote_key(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_static_remote_key(this_arg: number): boolean {
+export function InitFeatures_requires_static_remote_key(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28022,7 +28122,7 @@ export function InitFeatures_requires_static_remote_key(this_arg: number): boole
 }
        // MUST_USE_RES bool NodeFeatures_requires_static_remote_key(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_static_remote_key(this_arg: number): boolean {
+export function NodeFeatures_requires_static_remote_key(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28031,7 +28131,7 @@ export function NodeFeatures_requires_static_remote_key(this_arg: number): boole
 }
        // MUST_USE_RES bool ChannelTypeFeatures_requires_static_remote_key(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_requires_static_remote_key(this_arg: number): boolean {
+export function ChannelTypeFeatures_requires_static_remote_key(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28040,7 +28140,7 @@ export function ChannelTypeFeatures_requires_static_remote_key(this_arg: number)
 }
        // void InitFeatures_set_payment_secret_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_payment_secret_optional(this_arg: number): void {
+export function InitFeatures_set_payment_secret_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28049,7 +28149,7 @@ export function InitFeatures_set_payment_secret_optional(this_arg: number): void
 }
        // void InitFeatures_set_payment_secret_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_payment_secret_required(this_arg: number): void {
+export function InitFeatures_set_payment_secret_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28058,7 +28158,7 @@ export function InitFeatures_set_payment_secret_required(this_arg: number): void
 }
        // MUST_USE_RES bool InitFeatures_supports_payment_secret(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_payment_secret(this_arg: number): boolean {
+export function InitFeatures_supports_payment_secret(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28067,7 +28167,7 @@ export function InitFeatures_supports_payment_secret(this_arg: number): boolean
 }
        // void NodeFeatures_set_payment_secret_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_payment_secret_optional(this_arg: number): void {
+export function NodeFeatures_set_payment_secret_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28076,7 +28176,7 @@ export function NodeFeatures_set_payment_secret_optional(this_arg: number): void
 }
        // void NodeFeatures_set_payment_secret_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_payment_secret_required(this_arg: number): void {
+export function NodeFeatures_set_payment_secret_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28085,7 +28185,7 @@ export function NodeFeatures_set_payment_secret_required(this_arg: number): void
 }
        // MUST_USE_RES bool NodeFeatures_supports_payment_secret(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_payment_secret(this_arg: number): boolean {
+export function NodeFeatures_supports_payment_secret(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28094,7 +28194,7 @@ export function NodeFeatures_supports_payment_secret(this_arg: number): boolean
 }
        // void InvoiceFeatures_set_payment_secret_optional(struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_set_payment_secret_optional(this_arg: number): void {
+export function InvoiceFeatures_set_payment_secret_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28103,7 +28203,7 @@ export function InvoiceFeatures_set_payment_secret_optional(this_arg: number): v
 }
        // void InvoiceFeatures_set_payment_secret_required(struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_set_payment_secret_required(this_arg: number): void {
+export function InvoiceFeatures_set_payment_secret_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28112,7 +28212,7 @@ export function InvoiceFeatures_set_payment_secret_required(this_arg: number): v
 }
        // MUST_USE_RES bool InvoiceFeatures_supports_payment_secret(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_supports_payment_secret(this_arg: number): boolean {
+export function InvoiceFeatures_supports_payment_secret(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28121,7 +28221,7 @@ export function InvoiceFeatures_supports_payment_secret(this_arg: number): boole
 }
        // MUST_USE_RES bool InitFeatures_requires_payment_secret(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_payment_secret(this_arg: number): boolean {
+export function InitFeatures_requires_payment_secret(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28130,7 +28230,7 @@ export function InitFeatures_requires_payment_secret(this_arg: number): boolean
 }
        // MUST_USE_RES bool NodeFeatures_requires_payment_secret(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_payment_secret(this_arg: number): boolean {
+export function NodeFeatures_requires_payment_secret(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28139,7 +28239,7 @@ export function NodeFeatures_requires_payment_secret(this_arg: number): boolean
 }
        // MUST_USE_RES bool InvoiceFeatures_requires_payment_secret(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_requires_payment_secret(this_arg: number): boolean {
+export function InvoiceFeatures_requires_payment_secret(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28148,7 +28248,7 @@ export function InvoiceFeatures_requires_payment_secret(this_arg: number): boole
 }
        // void InitFeatures_set_basic_mpp_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_basic_mpp_optional(this_arg: number): void {
+export function InitFeatures_set_basic_mpp_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28157,7 +28257,7 @@ export function InitFeatures_set_basic_mpp_optional(this_arg: number): void {
 }
        // void InitFeatures_set_basic_mpp_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_basic_mpp_required(this_arg: number): void {
+export function InitFeatures_set_basic_mpp_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28166,7 +28266,7 @@ export function InitFeatures_set_basic_mpp_required(this_arg: number): void {
 }
        // MUST_USE_RES bool InitFeatures_supports_basic_mpp(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_basic_mpp(this_arg: number): boolean {
+export function InitFeatures_supports_basic_mpp(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28175,7 +28275,7 @@ export function InitFeatures_supports_basic_mpp(this_arg: number): boolean {
 }
        // void NodeFeatures_set_basic_mpp_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_basic_mpp_optional(this_arg: number): void {
+export function NodeFeatures_set_basic_mpp_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28184,7 +28284,7 @@ export function NodeFeatures_set_basic_mpp_optional(this_arg: number): void {
 }
        // void NodeFeatures_set_basic_mpp_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_basic_mpp_required(this_arg: number): void {
+export function NodeFeatures_set_basic_mpp_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28193,7 +28293,7 @@ export function NodeFeatures_set_basic_mpp_required(this_arg: number): void {
 }
        // MUST_USE_RES bool NodeFeatures_supports_basic_mpp(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_basic_mpp(this_arg: number): boolean {
+export function NodeFeatures_supports_basic_mpp(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28202,7 +28302,7 @@ export function NodeFeatures_supports_basic_mpp(this_arg: number): boolean {
 }
        // void InvoiceFeatures_set_basic_mpp_optional(struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_set_basic_mpp_optional(this_arg: number): void {
+export function InvoiceFeatures_set_basic_mpp_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28211,7 +28311,7 @@ export function InvoiceFeatures_set_basic_mpp_optional(this_arg: number): void {
 }
        // void InvoiceFeatures_set_basic_mpp_required(struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_set_basic_mpp_required(this_arg: number): void {
+export function InvoiceFeatures_set_basic_mpp_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28220,7 +28320,7 @@ export function InvoiceFeatures_set_basic_mpp_required(this_arg: number): void {
 }
        // MUST_USE_RES bool InvoiceFeatures_supports_basic_mpp(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_supports_basic_mpp(this_arg: number): boolean {
+export function InvoiceFeatures_supports_basic_mpp(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28229,7 +28329,7 @@ export function InvoiceFeatures_supports_basic_mpp(this_arg: number): boolean {
 }
        // MUST_USE_RES bool InitFeatures_requires_basic_mpp(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_basic_mpp(this_arg: number): boolean {
+export function InitFeatures_requires_basic_mpp(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28238,7 +28338,7 @@ export function InitFeatures_requires_basic_mpp(this_arg: number): boolean {
 }
        // MUST_USE_RES bool NodeFeatures_requires_basic_mpp(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_basic_mpp(this_arg: number): boolean {
+export function NodeFeatures_requires_basic_mpp(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28247,7 +28347,7 @@ export function NodeFeatures_requires_basic_mpp(this_arg: number): boolean {
 }
        // MUST_USE_RES bool InvoiceFeatures_requires_basic_mpp(const struct LDKInvoiceFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoiceFeatures_requires_basic_mpp(this_arg: number): boolean {
+export function InvoiceFeatures_requires_basic_mpp(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28256,7 +28356,7 @@ export function InvoiceFeatures_requires_basic_mpp(this_arg: number): boolean {
 }
        // void InitFeatures_set_wumbo_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_wumbo_optional(this_arg: number): void {
+export function InitFeatures_set_wumbo_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28265,7 +28365,7 @@ export function InitFeatures_set_wumbo_optional(this_arg: number): void {
 }
        // void InitFeatures_set_wumbo_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_wumbo_required(this_arg: number): void {
+export function InitFeatures_set_wumbo_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28274,7 +28374,7 @@ export function InitFeatures_set_wumbo_required(this_arg: number): void {
 }
        // MUST_USE_RES bool InitFeatures_supports_wumbo(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_wumbo(this_arg: number): boolean {
+export function InitFeatures_supports_wumbo(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28283,7 +28383,7 @@ export function InitFeatures_supports_wumbo(this_arg: number): boolean {
 }
        // void NodeFeatures_set_wumbo_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_wumbo_optional(this_arg: number): void {
+export function NodeFeatures_set_wumbo_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28292,7 +28392,7 @@ export function NodeFeatures_set_wumbo_optional(this_arg: number): void {
 }
        // void NodeFeatures_set_wumbo_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_wumbo_required(this_arg: number): void {
+export function NodeFeatures_set_wumbo_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28301,7 +28401,7 @@ export function NodeFeatures_set_wumbo_required(this_arg: number): void {
 }
        // MUST_USE_RES bool NodeFeatures_supports_wumbo(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_wumbo(this_arg: number): boolean {
+export function NodeFeatures_supports_wumbo(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28310,7 +28410,7 @@ export function NodeFeatures_supports_wumbo(this_arg: number): boolean {
 }
        // MUST_USE_RES bool InitFeatures_requires_wumbo(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_wumbo(this_arg: number): boolean {
+export function InitFeatures_requires_wumbo(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28319,7 +28419,7 @@ export function InitFeatures_requires_wumbo(this_arg: number): boolean {
 }
        // MUST_USE_RES bool NodeFeatures_requires_wumbo(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_wumbo(this_arg: number): boolean {
+export function NodeFeatures_requires_wumbo(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28328,7 +28428,7 @@ export function NodeFeatures_requires_wumbo(this_arg: number): boolean {
 }
        // void InitFeatures_set_shutdown_any_segwit_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_shutdown_any_segwit_optional(this_arg: number): void {
+export function InitFeatures_set_shutdown_any_segwit_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28337,7 +28437,7 @@ export function InitFeatures_set_shutdown_any_segwit_optional(this_arg: number):
 }
        // void InitFeatures_set_shutdown_any_segwit_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_shutdown_any_segwit_required(this_arg: number): void {
+export function InitFeatures_set_shutdown_any_segwit_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28346,7 +28446,7 @@ export function InitFeatures_set_shutdown_any_segwit_required(this_arg: number):
 }
        // MUST_USE_RES bool InitFeatures_supports_shutdown_anysegwit(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_shutdown_anysegwit(this_arg: number): boolean {
+export function InitFeatures_supports_shutdown_anysegwit(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28355,7 +28455,7 @@ export function InitFeatures_supports_shutdown_anysegwit(this_arg: number): bool
 }
        // void NodeFeatures_set_shutdown_any_segwit_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_shutdown_any_segwit_optional(this_arg: number): void {
+export function NodeFeatures_set_shutdown_any_segwit_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28364,7 +28464,7 @@ export function NodeFeatures_set_shutdown_any_segwit_optional(this_arg: number):
 }
        // void NodeFeatures_set_shutdown_any_segwit_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_shutdown_any_segwit_required(this_arg: number): void {
+export function NodeFeatures_set_shutdown_any_segwit_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28373,7 +28473,7 @@ export function NodeFeatures_set_shutdown_any_segwit_required(this_arg: number):
 }
        // MUST_USE_RES bool NodeFeatures_supports_shutdown_anysegwit(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_shutdown_anysegwit(this_arg: number): boolean {
+export function NodeFeatures_supports_shutdown_anysegwit(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28382,7 +28482,7 @@ export function NodeFeatures_supports_shutdown_anysegwit(this_arg: number): bool
 }
        // MUST_USE_RES bool InitFeatures_requires_shutdown_anysegwit(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_shutdown_anysegwit(this_arg: number): boolean {
+export function InitFeatures_requires_shutdown_anysegwit(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28391,7 +28491,7 @@ export function InitFeatures_requires_shutdown_anysegwit(this_arg: number): bool
 }
        // MUST_USE_RES bool NodeFeatures_requires_shutdown_anysegwit(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_shutdown_anysegwit(this_arg: number): boolean {
+export function NodeFeatures_requires_shutdown_anysegwit(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28400,7 +28500,7 @@ export function NodeFeatures_requires_shutdown_anysegwit(this_arg: number): bool
 }
        // void InitFeatures_set_channel_type_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_channel_type_optional(this_arg: number): void {
+export function InitFeatures_set_channel_type_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28409,7 +28509,7 @@ export function InitFeatures_set_channel_type_optional(this_arg: number): void {
 }
        // void InitFeatures_set_channel_type_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_channel_type_required(this_arg: number): void {
+export function InitFeatures_set_channel_type_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28418,7 +28518,7 @@ export function InitFeatures_set_channel_type_required(this_arg: number): void {
 }
        // MUST_USE_RES bool InitFeatures_supports_channel_type(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_channel_type(this_arg: number): boolean {
+export function InitFeatures_supports_channel_type(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28427,7 +28527,7 @@ export function InitFeatures_supports_channel_type(this_arg: number): boolean {
 }
        // void NodeFeatures_set_channel_type_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_channel_type_optional(this_arg: number): void {
+export function NodeFeatures_set_channel_type_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28436,7 +28536,7 @@ export function NodeFeatures_set_channel_type_optional(this_arg: number): void {
 }
        // void NodeFeatures_set_channel_type_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_channel_type_required(this_arg: number): void {
+export function NodeFeatures_set_channel_type_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28445,7 +28545,7 @@ export function NodeFeatures_set_channel_type_required(this_arg: number): void {
 }
        // MUST_USE_RES bool NodeFeatures_supports_channel_type(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_channel_type(this_arg: number): boolean {
+export function NodeFeatures_supports_channel_type(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28454,7 +28554,7 @@ export function NodeFeatures_supports_channel_type(this_arg: number): boolean {
 }
        // MUST_USE_RES bool InitFeatures_requires_channel_type(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_channel_type(this_arg: number): boolean {
+export function InitFeatures_requires_channel_type(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28463,7 +28563,7 @@ export function InitFeatures_requires_channel_type(this_arg: number): boolean {
 }
        // MUST_USE_RES bool NodeFeatures_requires_channel_type(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_channel_type(this_arg: number): boolean {
+export function NodeFeatures_requires_channel_type(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28472,7 +28572,7 @@ export function NodeFeatures_requires_channel_type(this_arg: number): boolean {
 }
        // void InitFeatures_set_scid_privacy_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_scid_privacy_optional(this_arg: number): void {
+export function InitFeatures_set_scid_privacy_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28481,7 +28581,7 @@ export function InitFeatures_set_scid_privacy_optional(this_arg: number): void {
 }
        // void InitFeatures_set_scid_privacy_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_scid_privacy_required(this_arg: number): void {
+export function InitFeatures_set_scid_privacy_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28490,7 +28590,7 @@ export function InitFeatures_set_scid_privacy_required(this_arg: number): void {
 }
        // MUST_USE_RES bool InitFeatures_supports_scid_privacy(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_scid_privacy(this_arg: number): boolean {
+export function InitFeatures_supports_scid_privacy(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28499,7 +28599,7 @@ export function InitFeatures_supports_scid_privacy(this_arg: number): boolean {
 }
        // void NodeFeatures_set_scid_privacy_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_scid_privacy_optional(this_arg: number): void {
+export function NodeFeatures_set_scid_privacy_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28508,7 +28608,7 @@ export function NodeFeatures_set_scid_privacy_optional(this_arg: number): void {
 }
        // void NodeFeatures_set_scid_privacy_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_scid_privacy_required(this_arg: number): void {
+export function NodeFeatures_set_scid_privacy_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28517,7 +28617,7 @@ export function NodeFeatures_set_scid_privacy_required(this_arg: number): void {
 }
        // MUST_USE_RES bool NodeFeatures_supports_scid_privacy(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_scid_privacy(this_arg: number): boolean {
+export function NodeFeatures_supports_scid_privacy(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28526,7 +28626,7 @@ export function NodeFeatures_supports_scid_privacy(this_arg: number): boolean {
 }
        // void ChannelTypeFeatures_set_scid_privacy_optional(struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_set_scid_privacy_optional(this_arg: number): void {
+export function ChannelTypeFeatures_set_scid_privacy_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28535,7 +28635,7 @@ export function ChannelTypeFeatures_set_scid_privacy_optional(this_arg: number):
 }
        // void ChannelTypeFeatures_set_scid_privacy_required(struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_set_scid_privacy_required(this_arg: number): void {
+export function ChannelTypeFeatures_set_scid_privacy_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28544,7 +28644,7 @@ export function ChannelTypeFeatures_set_scid_privacy_required(this_arg: number):
 }
        // MUST_USE_RES bool ChannelTypeFeatures_supports_scid_privacy(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_supports_scid_privacy(this_arg: number): boolean {
+export function ChannelTypeFeatures_supports_scid_privacy(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28553,7 +28653,7 @@ export function ChannelTypeFeatures_supports_scid_privacy(this_arg: number): boo
 }
        // MUST_USE_RES bool InitFeatures_requires_scid_privacy(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_scid_privacy(this_arg: number): boolean {
+export function InitFeatures_requires_scid_privacy(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28562,7 +28662,7 @@ export function InitFeatures_requires_scid_privacy(this_arg: number): boolean {
 }
        // MUST_USE_RES bool NodeFeatures_requires_scid_privacy(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_scid_privacy(this_arg: number): boolean {
+export function NodeFeatures_requires_scid_privacy(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28571,7 +28671,7 @@ export function NodeFeatures_requires_scid_privacy(this_arg: number): boolean {
 }
        // MUST_USE_RES bool ChannelTypeFeatures_requires_scid_privacy(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_requires_scid_privacy(this_arg: number): boolean {
+export function ChannelTypeFeatures_requires_scid_privacy(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28580,7 +28680,7 @@ export function ChannelTypeFeatures_requires_scid_privacy(this_arg: number): boo
 }
        // void InitFeatures_set_zero_conf_optional(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_zero_conf_optional(this_arg: number): void {
+export function InitFeatures_set_zero_conf_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28589,7 +28689,7 @@ export function InitFeatures_set_zero_conf_optional(this_arg: number): void {
 }
        // void InitFeatures_set_zero_conf_required(struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_set_zero_conf_required(this_arg: number): void {
+export function InitFeatures_set_zero_conf_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28598,7 +28698,7 @@ export function InitFeatures_set_zero_conf_required(this_arg: number): void {
 }
        // MUST_USE_RES bool InitFeatures_supports_zero_conf(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_supports_zero_conf(this_arg: number): boolean {
+export function InitFeatures_supports_zero_conf(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28607,7 +28707,7 @@ export function InitFeatures_supports_zero_conf(this_arg: number): boolean {
 }
        // void NodeFeatures_set_zero_conf_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_zero_conf_optional(this_arg: number): void {
+export function NodeFeatures_set_zero_conf_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28616,7 +28716,7 @@ export function NodeFeatures_set_zero_conf_optional(this_arg: number): void {
 }
        // void NodeFeatures_set_zero_conf_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_zero_conf_required(this_arg: number): void {
+export function NodeFeatures_set_zero_conf_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28625,7 +28725,7 @@ export function NodeFeatures_set_zero_conf_required(this_arg: number): void {
 }
        // MUST_USE_RES bool NodeFeatures_supports_zero_conf(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_zero_conf(this_arg: number): boolean {
+export function NodeFeatures_supports_zero_conf(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28634,7 +28734,7 @@ export function NodeFeatures_supports_zero_conf(this_arg: number): boolean {
 }
        // void ChannelTypeFeatures_set_zero_conf_optional(struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_set_zero_conf_optional(this_arg: number): void {
+export function ChannelTypeFeatures_set_zero_conf_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28643,7 +28743,7 @@ export function ChannelTypeFeatures_set_zero_conf_optional(this_arg: number): vo
 }
        // void ChannelTypeFeatures_set_zero_conf_required(struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_set_zero_conf_required(this_arg: number): void {
+export function ChannelTypeFeatures_set_zero_conf_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28652,7 +28752,7 @@ export function ChannelTypeFeatures_set_zero_conf_required(this_arg: number): vo
 }
        // MUST_USE_RES bool ChannelTypeFeatures_supports_zero_conf(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_supports_zero_conf(this_arg: number): boolean {
+export function ChannelTypeFeatures_supports_zero_conf(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28661,7 +28761,7 @@ export function ChannelTypeFeatures_supports_zero_conf(this_arg: number): boolea
 }
        // MUST_USE_RES bool InitFeatures_requires_zero_conf(const struct LDKInitFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function InitFeatures_requires_zero_conf(this_arg: number): boolean {
+export function InitFeatures_requires_zero_conf(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28670,7 +28770,7 @@ export function InitFeatures_requires_zero_conf(this_arg: number): boolean {
 }
        // MUST_USE_RES bool NodeFeatures_requires_zero_conf(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_zero_conf(this_arg: number): boolean {
+export function NodeFeatures_requires_zero_conf(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28679,7 +28779,7 @@ export function NodeFeatures_requires_zero_conf(this_arg: number): boolean {
 }
        // MUST_USE_RES bool ChannelTypeFeatures_requires_zero_conf(const struct LDKChannelTypeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelTypeFeatures_requires_zero_conf(this_arg: number): boolean {
+export function ChannelTypeFeatures_requires_zero_conf(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28688,7 +28788,7 @@ export function ChannelTypeFeatures_requires_zero_conf(this_arg: number): boolea
 }
        // void NodeFeatures_set_keysend_optional(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_keysend_optional(this_arg: number): void {
+export function NodeFeatures_set_keysend_optional(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28697,7 +28797,7 @@ export function NodeFeatures_set_keysend_optional(this_arg: number): void {
 }
        // void NodeFeatures_set_keysend_required(struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_set_keysend_required(this_arg: number): void {
+export function NodeFeatures_set_keysend_required(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28706,7 +28806,7 @@ export function NodeFeatures_set_keysend_required(this_arg: number): void {
 }
        // MUST_USE_RES bool NodeFeatures_supports_keysend(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_supports_keysend(this_arg: number): boolean {
+export function NodeFeatures_supports_keysend(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28715,7 +28815,7 @@ export function NodeFeatures_supports_keysend(this_arg: number): boolean {
 }
        // MUST_USE_RES bool NodeFeatures_requires_keysend(const struct LDKNodeFeatures *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeFeatures_requires_keysend(this_arg: number): boolean {
+export function NodeFeatures_requires_keysend(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28724,16 +28824,16 @@ export function NodeFeatures_requires_keysend(this_arg: number): boolean {
 }
        // void ShutdownScript_free(struct LDKShutdownScript this_obj);
 /* @internal */
-export function ShutdownScript_free(this_obj: number): void {
+export function ShutdownScript_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ShutdownScript_free(this_obj);
        // debug statements here
 }
-       // uintptr_t ShutdownScript_clone_ptr(LDKShutdownScript *NONNULL_PTR arg);
+       // uint64_t ShutdownScript_clone_ptr(LDKShutdownScript *NONNULL_PTR arg);
 /* @internal */
-export function ShutdownScript_clone_ptr(arg: number): number {
+export function ShutdownScript_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28742,7 +28842,7 @@ export function ShutdownScript_clone_ptr(arg: number): number {
 }
        // struct LDKShutdownScript ShutdownScript_clone(const struct LDKShutdownScript *NONNULL_PTR orig);
 /* @internal */
-export function ShutdownScript_clone(orig: number): number {
+export function ShutdownScript_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28751,7 +28851,7 @@ export function ShutdownScript_clone(orig: number): number {
 }
        // void InvalidShutdownScript_free(struct LDKInvalidShutdownScript this_obj);
 /* @internal */
-export function InvalidShutdownScript_free(this_obj: number): void {
+export function InvalidShutdownScript_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28760,7 +28860,7 @@ export function InvalidShutdownScript_free(this_obj: number): void {
 }
        // struct LDKu8slice InvalidShutdownScript_get_script(const struct LDKInvalidShutdownScript *NONNULL_PTR this_ptr);
 /* @internal */
-export function InvalidShutdownScript_get_script(this_ptr: number): number {
+export function InvalidShutdownScript_get_script(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28769,7 +28869,7 @@ export function InvalidShutdownScript_get_script(this_ptr: number): number {
 }
        // void InvalidShutdownScript_set_script(struct LDKInvalidShutdownScript *NONNULL_PTR this_ptr, struct LDKCVec_u8Z val);
 /* @internal */
-export function InvalidShutdownScript_set_script(this_ptr: number, val: number): void {
+export function InvalidShutdownScript_set_script(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28778,16 +28878,16 @@ export function InvalidShutdownScript_set_script(this_ptr: number, val: number):
 }
        // MUST_USE_RES struct LDKInvalidShutdownScript InvalidShutdownScript_new(struct LDKCVec_u8Z script_arg);
 /* @internal */
-export function InvalidShutdownScript_new(script_arg: number): number {
+export function InvalidShutdownScript_new(script_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_InvalidShutdownScript_new(script_arg);
        return nativeResponseValue;
 }
-       // uintptr_t InvalidShutdownScript_clone_ptr(LDKInvalidShutdownScript *NONNULL_PTR arg);
+       // uint64_t InvalidShutdownScript_clone_ptr(LDKInvalidShutdownScript *NONNULL_PTR arg);
 /* @internal */
-export function InvalidShutdownScript_clone_ptr(arg: number): number {
+export function InvalidShutdownScript_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28796,7 +28896,7 @@ export function InvalidShutdownScript_clone_ptr(arg: number): number {
 }
        // struct LDKInvalidShutdownScript InvalidShutdownScript_clone(const struct LDKInvalidShutdownScript *NONNULL_PTR orig);
 /* @internal */
-export function InvalidShutdownScript_clone(orig: number): number {
+export function InvalidShutdownScript_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28805,7 +28905,7 @@ export function InvalidShutdownScript_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z ShutdownScript_write(const struct LDKShutdownScript *NONNULL_PTR obj);
 /* @internal */
-export function ShutdownScript_write(obj: number): number {
+export function ShutdownScript_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28814,7 +28914,7 @@ export function ShutdownScript_write(obj: number): number {
 }
        // struct LDKCResult_ShutdownScriptDecodeErrorZ ShutdownScript_read(struct LDKu8slice ser);
 /* @internal */
-export function ShutdownScript_read(ser: number): number {
+export function ShutdownScript_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28823,7 +28923,7 @@ export function ShutdownScript_read(ser: number): number {
 }
        // MUST_USE_RES struct LDKShutdownScript ShutdownScript_new_p2wpkh(const uint8_t (*pubkey_hash)[20]);
 /* @internal */
-export function ShutdownScript_new_p2wpkh(pubkey_hash: number): number {
+export function ShutdownScript_new_p2wpkh(pubkey_hash: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28832,7 +28932,7 @@ export function ShutdownScript_new_p2wpkh(pubkey_hash: number): number {
 }
        // MUST_USE_RES struct LDKShutdownScript ShutdownScript_new_p2wsh(const uint8_t (*script_hash)[32]);
 /* @internal */
-export function ShutdownScript_new_p2wsh(script_hash: number): number {
+export function ShutdownScript_new_p2wsh(script_hash: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28841,7 +28941,7 @@ export function ShutdownScript_new_p2wsh(script_hash: number): number {
 }
        // MUST_USE_RES struct LDKCResult_ShutdownScriptInvalidShutdownScriptZ ShutdownScript_new_witness_program(struct LDKWitnessVersion version, struct LDKu8slice program);
 /* @internal */
-export function ShutdownScript_new_witness_program(version: number, program: number): number {
+export function ShutdownScript_new_witness_program(version: number, program: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28850,7 +28950,7 @@ export function ShutdownScript_new_witness_program(version: number, program: num
 }
        // MUST_USE_RES struct LDKCVec_u8Z ShutdownScript_into_inner(struct LDKShutdownScript this_arg);
 /* @internal */
-export function ShutdownScript_into_inner(this_arg: number): number {
+export function ShutdownScript_into_inner(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28859,7 +28959,7 @@ export function ShutdownScript_into_inner(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKPublicKey ShutdownScript_as_legacy_pubkey(const struct LDKShutdownScript *NONNULL_PTR this_arg);
 /* @internal */
-export function ShutdownScript_as_legacy_pubkey(this_arg: number): number {
+export function ShutdownScript_as_legacy_pubkey(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28868,7 +28968,7 @@ export function ShutdownScript_as_legacy_pubkey(this_arg: number): number {
 }
        // MUST_USE_RES bool ShutdownScript_is_compatible(const struct LDKShutdownScript *NONNULL_PTR this_arg, const struct LDKInitFeatures *NONNULL_PTR features);
 /* @internal */
-export function ShutdownScript_is_compatible(this_arg: number, features: number): boolean {
+export function ShutdownScript_is_compatible(this_arg: bigint, features: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28877,16 +28977,16 @@ export function ShutdownScript_is_compatible(this_arg: number, features: number)
 }
        // void CustomMessageReader_free(struct LDKCustomMessageReader this_ptr);
 /* @internal */
-export function CustomMessageReader_free(this_ptr: number): void {
+export function CustomMessageReader_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_CustomMessageReader_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t Type_clone_ptr(LDKType *NONNULL_PTR arg);
+       // uint64_t Type_clone_ptr(LDKType *NONNULL_PTR arg);
 /* @internal */
-export function Type_clone_ptr(arg: number): number {
+export function Type_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28895,7 +28995,7 @@ export function Type_clone_ptr(arg: number): number {
 }
        // struct LDKType Type_clone(const struct LDKType *NONNULL_PTR orig);
 /* @internal */
-export function Type_clone(orig: number): number {
+export function Type_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28904,7 +29004,7 @@ export function Type_clone(orig: number): number {
 }
        // void Type_free(struct LDKType this_ptr);
 /* @internal */
-export function Type_free(this_ptr: number): void {
+export function Type_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28913,16 +29013,16 @@ export function Type_free(this_ptr: number): void {
 }
        // void NodeId_free(struct LDKNodeId this_obj);
 /* @internal */
-export function NodeId_free(this_obj: number): void {
+export function NodeId_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeId_free(this_obj);
        // debug statements here
 }
-       // uintptr_t NodeId_clone_ptr(LDKNodeId *NONNULL_PTR arg);
+       // uint64_t NodeId_clone_ptr(LDKNodeId *NONNULL_PTR arg);
 /* @internal */
-export function NodeId_clone_ptr(arg: number): number {
+export function NodeId_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28931,7 +29031,7 @@ export function NodeId_clone_ptr(arg: number): number {
 }
        // struct LDKNodeId NodeId_clone(const struct LDKNodeId *NONNULL_PTR orig);
 /* @internal */
-export function NodeId_clone(orig: number): number {
+export function NodeId_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28940,7 +29040,7 @@ export function NodeId_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKNodeId NodeId_from_pubkey(struct LDKPublicKey pubkey);
 /* @internal */
-export function NodeId_from_pubkey(pubkey: number): number {
+export function NodeId_from_pubkey(pubkey: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28949,7 +29049,7 @@ export function NodeId_from_pubkey(pubkey: number): number {
 }
        // MUST_USE_RES struct LDKu8slice NodeId_as_slice(const struct LDKNodeId *NONNULL_PTR this_arg);
 /* @internal */
-export function NodeId_as_slice(this_arg: number): number {
+export function NodeId_as_slice(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28958,7 +29058,7 @@ export function NodeId_as_slice(this_arg: number): number {
 }
        // uint64_t NodeId_hash(const struct LDKNodeId *NONNULL_PTR o);
 /* @internal */
-export function NodeId_hash(o: number): bigint {
+export function NodeId_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28967,7 +29067,7 @@ export function NodeId_hash(o: number): bigint {
 }
        // struct LDKCVec_u8Z NodeId_write(const struct LDKNodeId *NONNULL_PTR obj);
 /* @internal */
-export function NodeId_write(obj: number): number {
+export function NodeId_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28976,7 +29076,7 @@ export function NodeId_write(obj: number): number {
 }
        // struct LDKCResult_NodeIdDecodeErrorZ NodeId_read(struct LDKu8slice ser);
 /* @internal */
-export function NodeId_read(ser: number): number {
+export function NodeId_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28985,7 +29085,7 @@ export function NodeId_read(ser: number): number {
 }
        // void NetworkGraph_free(struct LDKNetworkGraph this_obj);
 /* @internal */
-export function NetworkGraph_free(this_obj: number): void {
+export function NetworkGraph_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -28994,7 +29094,7 @@ export function NetworkGraph_free(this_obj: number): void {
 }
        // void ReadOnlyNetworkGraph_free(struct LDKReadOnlyNetworkGraph this_obj);
 /* @internal */
-export function ReadOnlyNetworkGraph_free(this_obj: number): void {
+export function ReadOnlyNetworkGraph_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29003,16 +29103,16 @@ export function ReadOnlyNetworkGraph_free(this_obj: number): void {
 }
        // void NetworkUpdate_free(struct LDKNetworkUpdate this_ptr);
 /* @internal */
-export function NetworkUpdate_free(this_ptr: number): void {
+export function NetworkUpdate_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NetworkUpdate_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t NetworkUpdate_clone_ptr(LDKNetworkUpdate *NONNULL_PTR arg);
+       // uint64_t NetworkUpdate_clone_ptr(LDKNetworkUpdate *NONNULL_PTR arg);
 /* @internal */
-export function NetworkUpdate_clone_ptr(arg: number): number {
+export function NetworkUpdate_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29021,7 +29121,7 @@ export function NetworkUpdate_clone_ptr(arg: number): number {
 }
        // struct LDKNetworkUpdate NetworkUpdate_clone(const struct LDKNetworkUpdate *NONNULL_PTR orig);
 /* @internal */
-export function NetworkUpdate_clone(orig: number): number {
+export function NetworkUpdate_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29030,7 +29130,7 @@ export function NetworkUpdate_clone(orig: number): number {
 }
        // struct LDKNetworkUpdate NetworkUpdate_channel_update_message(struct LDKChannelUpdate msg);
 /* @internal */
-export function NetworkUpdate_channel_update_message(msg: number): number {
+export function NetworkUpdate_channel_update_message(msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29039,7 +29139,7 @@ export function NetworkUpdate_channel_update_message(msg: number): number {
 }
        // struct LDKNetworkUpdate NetworkUpdate_channel_failure(uint64_t short_channel_id, bool is_permanent);
 /* @internal */
-export function NetworkUpdate_channel_failure(short_channel_id: bigint, is_permanent: boolean): number {
+export function NetworkUpdate_channel_failure(short_channel_id: bigint, is_permanent: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29048,7 +29148,7 @@ export function NetworkUpdate_channel_failure(short_channel_id: bigint, is_perma
 }
        // struct LDKNetworkUpdate NetworkUpdate_node_failure(struct LDKPublicKey node_id, bool is_permanent);
 /* @internal */
-export function NetworkUpdate_node_failure(node_id: number, is_permanent: boolean): number {
+export function NetworkUpdate_node_failure(node_id: number, is_permanent: boolean): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29057,7 +29157,7 @@ export function NetworkUpdate_node_failure(node_id: number, is_permanent: boolea
 }
        // struct LDKCVec_u8Z NetworkUpdate_write(const struct LDKNetworkUpdate *NONNULL_PTR obj);
 /* @internal */
-export function NetworkUpdate_write(obj: number): number {
+export function NetworkUpdate_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29066,7 +29166,7 @@ export function NetworkUpdate_write(obj: number): number {
 }
        // struct LDKCResult_COption_NetworkUpdateZDecodeErrorZ NetworkUpdate_read(struct LDKu8slice ser);
 /* @internal */
-export function NetworkUpdate_read(ser: number): number {
+export function NetworkUpdate_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29075,7 +29175,7 @@ export function NetworkUpdate_read(ser: number): number {
 }
        // void P2PGossipSync_free(struct LDKP2PGossipSync this_obj);
 /* @internal */
-export function P2PGossipSync_free(this_obj: number): void {
+export function P2PGossipSync_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29084,7 +29184,7 @@ export function P2PGossipSync_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKP2PGossipSync P2PGossipSync_new(const struct LDKNetworkGraph *NONNULL_PTR network_graph, struct LDKCOption_AccessZ chain_access, struct LDKLogger logger);
 /* @internal */
-export function P2PGossipSync_new(network_graph: number, chain_access: number, logger: number): number {
+export function P2PGossipSync_new(network_graph: bigint, chain_access: bigint, logger: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29093,7 +29193,7 @@ export function P2PGossipSync_new(network_graph: number, chain_access: number, l
 }
        // void P2PGossipSync_add_chain_access(struct LDKP2PGossipSync *NONNULL_PTR this_arg, struct LDKCOption_AccessZ chain_access);
 /* @internal */
-export function P2PGossipSync_add_chain_access(this_arg: number, chain_access: number): void {
+export function P2PGossipSync_add_chain_access(this_arg: bigint, chain_access: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29102,7 +29202,7 @@ export function P2PGossipSync_add_chain_access(this_arg: number, chain_access: n
 }
        // struct LDKEventHandler NetworkGraph_as_EventHandler(const struct LDKNetworkGraph *NONNULL_PTR this_arg);
 /* @internal */
-export function NetworkGraph_as_EventHandler(this_arg: number): number {
+export function NetworkGraph_as_EventHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29111,7 +29211,7 @@ export function NetworkGraph_as_EventHandler(this_arg: number): number {
 }
        // struct LDKRoutingMessageHandler P2PGossipSync_as_RoutingMessageHandler(const struct LDKP2PGossipSync *NONNULL_PTR this_arg);
 /* @internal */
-export function P2PGossipSync_as_RoutingMessageHandler(this_arg: number): number {
+export function P2PGossipSync_as_RoutingMessageHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29120,7 +29220,7 @@ export function P2PGossipSync_as_RoutingMessageHandler(this_arg: number): number
 }
        // struct LDKMessageSendEventsProvider P2PGossipSync_as_MessageSendEventsProvider(const struct LDKP2PGossipSync *NONNULL_PTR this_arg);
 /* @internal */
-export function P2PGossipSync_as_MessageSendEventsProvider(this_arg: number): number {
+export function P2PGossipSync_as_MessageSendEventsProvider(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29129,7 +29229,7 @@ export function P2PGossipSync_as_MessageSendEventsProvider(this_arg: number): nu
 }
        // void ChannelUpdateInfo_free(struct LDKChannelUpdateInfo this_obj);
 /* @internal */
-export function ChannelUpdateInfo_free(this_obj: number): void {
+export function ChannelUpdateInfo_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29138,7 +29238,7 @@ export function ChannelUpdateInfo_free(this_obj: number): void {
 }
        // uint32_t ChannelUpdateInfo_get_last_update(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_last_update(this_ptr: number): number {
+export function ChannelUpdateInfo_get_last_update(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29147,7 +29247,7 @@ export function ChannelUpdateInfo_get_last_update(this_ptr: number): number {
 }
        // void ChannelUpdateInfo_set_last_update(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function ChannelUpdateInfo_set_last_update(this_ptr: number, val: number): void {
+export function ChannelUpdateInfo_set_last_update(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29156,7 +29256,7 @@ export function ChannelUpdateInfo_set_last_update(this_ptr: number, val: number)
 }
        // bool ChannelUpdateInfo_get_enabled(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_enabled(this_ptr: number): boolean {
+export function ChannelUpdateInfo_get_enabled(this_ptr: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29165,7 +29265,7 @@ export function ChannelUpdateInfo_get_enabled(this_ptr: number): boolean {
 }
        // void ChannelUpdateInfo_set_enabled(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, bool val);
 /* @internal */
-export function ChannelUpdateInfo_set_enabled(this_ptr: number, val: boolean): void {
+export function ChannelUpdateInfo_set_enabled(this_ptr: bigint, val: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29174,7 +29274,7 @@ export function ChannelUpdateInfo_set_enabled(this_ptr: number, val: boolean): v
 }
        // uint16_t ChannelUpdateInfo_get_cltv_expiry_delta(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_cltv_expiry_delta(this_ptr: number): number {
+export function ChannelUpdateInfo_get_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29183,7 +29283,7 @@ export function ChannelUpdateInfo_get_cltv_expiry_delta(this_ptr: number): numbe
 }
        // void ChannelUpdateInfo_set_cltv_expiry_delta(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function ChannelUpdateInfo_set_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function ChannelUpdateInfo_set_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29192,7 +29292,7 @@ export function ChannelUpdateInfo_set_cltv_expiry_delta(this_ptr: number, val: n
 }
        // uint64_t ChannelUpdateInfo_get_htlc_minimum_msat(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_htlc_minimum_msat(this_ptr: number): bigint {
+export function ChannelUpdateInfo_get_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29201,7 +29301,7 @@ export function ChannelUpdateInfo_get_htlc_minimum_msat(this_ptr: number): bigin
 }
        // void ChannelUpdateInfo_set_htlc_minimum_msat(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelUpdateInfo_set_htlc_minimum_msat(this_ptr: number, val: bigint): void {
+export function ChannelUpdateInfo_set_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29210,7 +29310,7 @@ export function ChannelUpdateInfo_set_htlc_minimum_msat(this_ptr: number, val: b
 }
        // uint64_t ChannelUpdateInfo_get_htlc_maximum_msat(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_htlc_maximum_msat(this_ptr: number): bigint {
+export function ChannelUpdateInfo_get_htlc_maximum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29219,7 +29319,7 @@ export function ChannelUpdateInfo_get_htlc_maximum_msat(this_ptr: number): bigin
 }
        // void ChannelUpdateInfo_set_htlc_maximum_msat(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelUpdateInfo_set_htlc_maximum_msat(this_ptr: number, val: bigint): void {
+export function ChannelUpdateInfo_set_htlc_maximum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29228,7 +29328,7 @@ export function ChannelUpdateInfo_set_htlc_maximum_msat(this_ptr: number, val: b
 }
        // struct LDKRoutingFees ChannelUpdateInfo_get_fees(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_fees(this_ptr: number): number {
+export function ChannelUpdateInfo_get_fees(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29237,7 +29337,7 @@ export function ChannelUpdateInfo_get_fees(this_ptr: number): number {
 }
        // void ChannelUpdateInfo_set_fees(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKRoutingFees val);
 /* @internal */
-export function ChannelUpdateInfo_set_fees(this_ptr: number, val: number): void {
+export function ChannelUpdateInfo_set_fees(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29246,7 +29346,7 @@ export function ChannelUpdateInfo_set_fees(this_ptr: number, val: number): void
 }
        // struct LDKChannelUpdate ChannelUpdateInfo_get_last_update_message(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUpdateInfo_get_last_update_message(this_ptr: number): number {
+export function ChannelUpdateInfo_get_last_update_message(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29255,7 +29355,7 @@ export function ChannelUpdateInfo_get_last_update_message(this_ptr: number): num
 }
        // void ChannelUpdateInfo_set_last_update_message(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdate val);
 /* @internal */
-export function ChannelUpdateInfo_set_last_update_message(this_ptr: number, val: number): void {
+export function ChannelUpdateInfo_set_last_update_message(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29264,16 +29364,16 @@ export function ChannelUpdateInfo_set_last_update_message(this_ptr: number, val:
 }
        // MUST_USE_RES struct LDKChannelUpdateInfo ChannelUpdateInfo_new(uint32_t last_update_arg, bool enabled_arg, uint16_t cltv_expiry_delta_arg, uint64_t htlc_minimum_msat_arg, uint64_t htlc_maximum_msat_arg, struct LDKRoutingFees fees_arg, struct LDKChannelUpdate last_update_message_arg);
 /* @internal */
-export function ChannelUpdateInfo_new(last_update_arg: number, enabled_arg: boolean, cltv_expiry_delta_arg: number, htlc_minimum_msat_arg: bigint, htlc_maximum_msat_arg: bigint, fees_arg: number, last_update_message_arg: number): number {
+export function ChannelUpdateInfo_new(last_update_arg: number, enabled_arg: boolean, cltv_expiry_delta_arg: number, htlc_minimum_msat_arg: bigint, htlc_maximum_msat_arg: bigint, fees_arg: bigint, last_update_message_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelUpdateInfo_new(last_update_arg, enabled_arg, cltv_expiry_delta_arg, htlc_minimum_msat_arg, htlc_maximum_msat_arg, fees_arg, last_update_message_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelUpdateInfo_clone_ptr(LDKChannelUpdateInfo *NONNULL_PTR arg);
+       // uint64_t ChannelUpdateInfo_clone_ptr(LDKChannelUpdateInfo *NONNULL_PTR arg);
 /* @internal */
-export function ChannelUpdateInfo_clone_ptr(arg: number): number {
+export function ChannelUpdateInfo_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29282,7 +29382,7 @@ export function ChannelUpdateInfo_clone_ptr(arg: number): number {
 }
        // struct LDKChannelUpdateInfo ChannelUpdateInfo_clone(const struct LDKChannelUpdateInfo *NONNULL_PTR orig);
 /* @internal */
-export function ChannelUpdateInfo_clone(orig: number): number {
+export function ChannelUpdateInfo_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29291,7 +29391,7 @@ export function ChannelUpdateInfo_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z ChannelUpdateInfo_write(const struct LDKChannelUpdateInfo *NONNULL_PTR obj);
 /* @internal */
-export function ChannelUpdateInfo_write(obj: number): number {
+export function ChannelUpdateInfo_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29300,7 +29400,7 @@ export function ChannelUpdateInfo_write(obj: number): number {
 }
        // struct LDKCResult_ChannelUpdateInfoDecodeErrorZ ChannelUpdateInfo_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelUpdateInfo_read(ser: number): number {
+export function ChannelUpdateInfo_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29309,7 +29409,7 @@ export function ChannelUpdateInfo_read(ser: number): number {
 }
        // void ChannelInfo_free(struct LDKChannelInfo this_obj);
 /* @internal */
-export function ChannelInfo_free(this_obj: number): void {
+export function ChannelInfo_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29318,7 +29418,7 @@ export function ChannelInfo_free(this_obj: number): void {
 }
        // struct LDKChannelFeatures ChannelInfo_get_features(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_features(this_ptr: number): number {
+export function ChannelInfo_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29327,7 +29427,7 @@ export function ChannelInfo_get_features(this_ptr: number): number {
 }
        // void ChannelInfo_set_features(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelFeatures val);
 /* @internal */
-export function ChannelInfo_set_features(this_ptr: number, val: number): void {
+export function ChannelInfo_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29336,7 +29436,7 @@ export function ChannelInfo_set_features(this_ptr: number, val: number): void {
 }
        // struct LDKNodeId ChannelInfo_get_node_one(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_node_one(this_ptr: number): number {
+export function ChannelInfo_get_node_one(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29345,7 +29445,7 @@ export function ChannelInfo_get_node_one(this_ptr: number): number {
 }
        // void ChannelInfo_set_node_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKNodeId val);
 /* @internal */
-export function ChannelInfo_set_node_one(this_ptr: number, val: number): void {
+export function ChannelInfo_set_node_one(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29354,7 +29454,7 @@ export function ChannelInfo_set_node_one(this_ptr: number, val: number): void {
 }
        // struct LDKChannelUpdateInfo ChannelInfo_get_one_to_two(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_one_to_two(this_ptr: number): number {
+export function ChannelInfo_get_one_to_two(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29363,7 +29463,7 @@ export function ChannelInfo_get_one_to_two(this_ptr: number): number {
 }
        // void ChannelInfo_set_one_to_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdateInfo val);
 /* @internal */
-export function ChannelInfo_set_one_to_two(this_ptr: number, val: number): void {
+export function ChannelInfo_set_one_to_two(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29372,7 +29472,7 @@ export function ChannelInfo_set_one_to_two(this_ptr: number, val: number): void
 }
        // struct LDKNodeId ChannelInfo_get_node_two(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_node_two(this_ptr: number): number {
+export function ChannelInfo_get_node_two(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29381,7 +29481,7 @@ export function ChannelInfo_get_node_two(this_ptr: number): number {
 }
        // void ChannelInfo_set_node_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKNodeId val);
 /* @internal */
-export function ChannelInfo_set_node_two(this_ptr: number, val: number): void {
+export function ChannelInfo_set_node_two(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29390,7 +29490,7 @@ export function ChannelInfo_set_node_two(this_ptr: number, val: number): void {
 }
        // struct LDKChannelUpdateInfo ChannelInfo_get_two_to_one(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_two_to_one(this_ptr: number): number {
+export function ChannelInfo_get_two_to_one(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29399,7 +29499,7 @@ export function ChannelInfo_get_two_to_one(this_ptr: number): number {
 }
        // void ChannelInfo_set_two_to_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdateInfo val);
 /* @internal */
-export function ChannelInfo_set_two_to_one(this_ptr: number, val: number): void {
+export function ChannelInfo_set_two_to_one(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29408,7 +29508,7 @@ export function ChannelInfo_set_two_to_one(this_ptr: number, val: number): void
 }
        // struct LDKCOption_u64Z ChannelInfo_get_capacity_sats(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_capacity_sats(this_ptr: number): number {
+export function ChannelInfo_get_capacity_sats(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29417,7 +29517,7 @@ export function ChannelInfo_get_capacity_sats(this_ptr: number): number {
 }
        // void ChannelInfo_set_capacity_sats(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function ChannelInfo_set_capacity_sats(this_ptr: number, val: number): void {
+export function ChannelInfo_set_capacity_sats(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29426,7 +29526,7 @@ export function ChannelInfo_set_capacity_sats(this_ptr: number, val: number): vo
 }
        // struct LDKChannelAnnouncement ChannelInfo_get_announcement_message(const struct LDKChannelInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelInfo_get_announcement_message(this_ptr: number): number {
+export function ChannelInfo_get_announcement_message(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29435,16 +29535,16 @@ export function ChannelInfo_get_announcement_message(this_ptr: number): number {
 }
        // void ChannelInfo_set_announcement_message(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelAnnouncement val);
 /* @internal */
-export function ChannelInfo_set_announcement_message(this_ptr: number, val: number): void {
+export function ChannelInfo_set_announcement_message(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelInfo_set_announcement_message(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t ChannelInfo_clone_ptr(LDKChannelInfo *NONNULL_PTR arg);
+       // uint64_t ChannelInfo_clone_ptr(LDKChannelInfo *NONNULL_PTR arg);
 /* @internal */
-export function ChannelInfo_clone_ptr(arg: number): number {
+export function ChannelInfo_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29453,7 +29553,7 @@ export function ChannelInfo_clone_ptr(arg: number): number {
 }
        // struct LDKChannelInfo ChannelInfo_clone(const struct LDKChannelInfo *NONNULL_PTR orig);
 /* @internal */
-export function ChannelInfo_clone(orig: number): number {
+export function ChannelInfo_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29462,7 +29562,7 @@ export function ChannelInfo_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKChannelUpdateInfo ChannelInfo_get_directional_info(const struct LDKChannelInfo *NONNULL_PTR this_arg, uint8_t channel_flags);
 /* @internal */
-export function ChannelInfo_get_directional_info(this_arg: number, channel_flags: number): number {
+export function ChannelInfo_get_directional_info(this_arg: bigint, channel_flags: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29471,7 +29571,7 @@ export function ChannelInfo_get_directional_info(this_arg: number, channel_flags
 }
        // struct LDKCVec_u8Z ChannelInfo_write(const struct LDKChannelInfo *NONNULL_PTR obj);
 /* @internal */
-export function ChannelInfo_write(obj: number): number {
+export function ChannelInfo_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29480,7 +29580,7 @@ export function ChannelInfo_write(obj: number): number {
 }
        // struct LDKCResult_ChannelInfoDecodeErrorZ ChannelInfo_read(struct LDKu8slice ser);
 /* @internal */
-export function ChannelInfo_read(ser: number): number {
+export function ChannelInfo_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29489,16 +29589,16 @@ export function ChannelInfo_read(ser: number): number {
 }
        // void DirectedChannelInfo_free(struct LDKDirectedChannelInfo this_obj);
 /* @internal */
-export function DirectedChannelInfo_free(this_obj: number): void {
+export function DirectedChannelInfo_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_DirectedChannelInfo_free(this_obj);
        // debug statements here
 }
-       // uintptr_t DirectedChannelInfo_clone_ptr(LDKDirectedChannelInfo *NONNULL_PTR arg);
+       // uint64_t DirectedChannelInfo_clone_ptr(LDKDirectedChannelInfo *NONNULL_PTR arg);
 /* @internal */
-export function DirectedChannelInfo_clone_ptr(arg: number): number {
+export function DirectedChannelInfo_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29507,7 +29607,7 @@ export function DirectedChannelInfo_clone_ptr(arg: number): number {
 }
        // struct LDKDirectedChannelInfo DirectedChannelInfo_clone(const struct LDKDirectedChannelInfo *NONNULL_PTR orig);
 /* @internal */
-export function DirectedChannelInfo_clone(orig: number): number {
+export function DirectedChannelInfo_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29516,7 +29616,7 @@ export function DirectedChannelInfo_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKChannelInfo DirectedChannelInfo_channel(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelInfo_channel(this_arg: number): number {
+export function DirectedChannelInfo_channel(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29525,7 +29625,7 @@ export function DirectedChannelInfo_channel(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKChannelUpdateInfo DirectedChannelInfo_direction(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelInfo_direction(this_arg: number): number {
+export function DirectedChannelInfo_direction(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29534,7 +29634,7 @@ export function DirectedChannelInfo_direction(this_arg: number): number {
 }
        // MUST_USE_RES uint64_t DirectedChannelInfo_htlc_maximum_msat(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelInfo_htlc_maximum_msat(this_arg: number): bigint {
+export function DirectedChannelInfo_htlc_maximum_msat(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29543,7 +29643,7 @@ export function DirectedChannelInfo_htlc_maximum_msat(this_arg: number): bigint
 }
        // MUST_USE_RES struct LDKEffectiveCapacity DirectedChannelInfo_effective_capacity(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg);
 /* @internal */
-export function DirectedChannelInfo_effective_capacity(this_arg: number): number {
+export function DirectedChannelInfo_effective_capacity(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29552,16 +29652,16 @@ export function DirectedChannelInfo_effective_capacity(this_arg: number): number
 }
        // void EffectiveCapacity_free(struct LDKEffectiveCapacity this_ptr);
 /* @internal */
-export function EffectiveCapacity_free(this_ptr: number): void {
+export function EffectiveCapacity_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_EffectiveCapacity_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t EffectiveCapacity_clone_ptr(LDKEffectiveCapacity *NONNULL_PTR arg);
+       // uint64_t EffectiveCapacity_clone_ptr(LDKEffectiveCapacity *NONNULL_PTR arg);
 /* @internal */
-export function EffectiveCapacity_clone_ptr(arg: number): number {
+export function EffectiveCapacity_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29570,7 +29670,7 @@ export function EffectiveCapacity_clone_ptr(arg: number): number {
 }
        // struct LDKEffectiveCapacity EffectiveCapacity_clone(const struct LDKEffectiveCapacity *NONNULL_PTR orig);
 /* @internal */
-export function EffectiveCapacity_clone(orig: number): number {
+export function EffectiveCapacity_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29579,7 +29679,7 @@ export function EffectiveCapacity_clone(orig: number): number {
 }
        // struct LDKEffectiveCapacity EffectiveCapacity_exact_liquidity(uint64_t liquidity_msat);
 /* @internal */
-export function EffectiveCapacity_exact_liquidity(liquidity_msat: bigint): number {
+export function EffectiveCapacity_exact_liquidity(liquidity_msat: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29588,7 +29688,7 @@ export function EffectiveCapacity_exact_liquidity(liquidity_msat: bigint): numbe
 }
        // struct LDKEffectiveCapacity EffectiveCapacity_maximum_htlc(uint64_t amount_msat);
 /* @internal */
-export function EffectiveCapacity_maximum_htlc(amount_msat: bigint): number {
+export function EffectiveCapacity_maximum_htlc(amount_msat: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29597,7 +29697,7 @@ export function EffectiveCapacity_maximum_htlc(amount_msat: bigint): number {
 }
        // struct LDKEffectiveCapacity EffectiveCapacity_total(uint64_t capacity_msat, struct LDKCOption_u64Z htlc_maximum_msat);
 /* @internal */
-export function EffectiveCapacity_total(capacity_msat: bigint, htlc_maximum_msat: number): number {
+export function EffectiveCapacity_total(capacity_msat: bigint, htlc_maximum_msat: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29606,7 +29706,7 @@ export function EffectiveCapacity_total(capacity_msat: bigint, htlc_maximum_msat
 }
        // struct LDKEffectiveCapacity EffectiveCapacity_infinite(void);
 /* @internal */
-export function EffectiveCapacity_infinite(): number {
+export function EffectiveCapacity_infinite(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29615,7 +29715,7 @@ export function EffectiveCapacity_infinite(): number {
 }
        // struct LDKEffectiveCapacity EffectiveCapacity_unknown(void);
 /* @internal */
-export function EffectiveCapacity_unknown(): number {
+export function EffectiveCapacity_unknown(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29624,7 +29724,7 @@ export function EffectiveCapacity_unknown(): number {
 }
        // MUST_USE_RES uint64_t EffectiveCapacity_as_msat(const struct LDKEffectiveCapacity *NONNULL_PTR this_arg);
 /* @internal */
-export function EffectiveCapacity_as_msat(this_arg: number): bigint {
+export function EffectiveCapacity_as_msat(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29633,7 +29733,7 @@ export function EffectiveCapacity_as_msat(this_arg: number): bigint {
 }
        // void RoutingFees_free(struct LDKRoutingFees this_obj);
 /* @internal */
-export function RoutingFees_free(this_obj: number): void {
+export function RoutingFees_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29642,7 +29742,7 @@ export function RoutingFees_free(this_obj: number): void {
 }
        // uint32_t RoutingFees_get_base_msat(const struct LDKRoutingFees *NONNULL_PTR this_ptr);
 /* @internal */
-export function RoutingFees_get_base_msat(this_ptr: number): number {
+export function RoutingFees_get_base_msat(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29651,7 +29751,7 @@ export function RoutingFees_get_base_msat(this_ptr: number): number {
 }
        // void RoutingFees_set_base_msat(struct LDKRoutingFees *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function RoutingFees_set_base_msat(this_ptr: number, val: number): void {
+export function RoutingFees_set_base_msat(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29660,7 +29760,7 @@ export function RoutingFees_set_base_msat(this_ptr: number, val: number): void {
 }
        // uint32_t RoutingFees_get_proportional_millionths(const struct LDKRoutingFees *NONNULL_PTR this_ptr);
 /* @internal */
-export function RoutingFees_get_proportional_millionths(this_ptr: number): number {
+export function RoutingFees_get_proportional_millionths(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29669,7 +29769,7 @@ export function RoutingFees_get_proportional_millionths(this_ptr: number): numbe
 }
        // void RoutingFees_set_proportional_millionths(struct LDKRoutingFees *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function RoutingFees_set_proportional_millionths(this_ptr: number, val: number): void {
+export function RoutingFees_set_proportional_millionths(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29678,7 +29778,7 @@ export function RoutingFees_set_proportional_millionths(this_ptr: number, val: n
 }
        // MUST_USE_RES struct LDKRoutingFees RoutingFees_new(uint32_t base_msat_arg, uint32_t proportional_millionths_arg);
 /* @internal */
-export function RoutingFees_new(base_msat_arg: number, proportional_millionths_arg: number): number {
+export function RoutingFees_new(base_msat_arg: number, proportional_millionths_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29687,16 +29787,16 @@ export function RoutingFees_new(base_msat_arg: number, proportional_millionths_a
 }
        // bool RoutingFees_eq(const struct LDKRoutingFees *NONNULL_PTR a, const struct LDKRoutingFees *NONNULL_PTR b);
 /* @internal */
-export function RoutingFees_eq(a: number, b: number): boolean {
+export function RoutingFees_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RoutingFees_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t RoutingFees_clone_ptr(LDKRoutingFees *NONNULL_PTR arg);
+       // uint64_t RoutingFees_clone_ptr(LDKRoutingFees *NONNULL_PTR arg);
 /* @internal */
-export function RoutingFees_clone_ptr(arg: number): number {
+export function RoutingFees_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29705,7 +29805,7 @@ export function RoutingFees_clone_ptr(arg: number): number {
 }
        // struct LDKRoutingFees RoutingFees_clone(const struct LDKRoutingFees *NONNULL_PTR orig);
 /* @internal */
-export function RoutingFees_clone(orig: number): number {
+export function RoutingFees_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29714,7 +29814,7 @@ export function RoutingFees_clone(orig: number): number {
 }
        // uint64_t RoutingFees_hash(const struct LDKRoutingFees *NONNULL_PTR o);
 /* @internal */
-export function RoutingFees_hash(o: number): bigint {
+export function RoutingFees_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29723,7 +29823,7 @@ export function RoutingFees_hash(o: number): bigint {
 }
        // struct LDKCVec_u8Z RoutingFees_write(const struct LDKRoutingFees *NONNULL_PTR obj);
 /* @internal */
-export function RoutingFees_write(obj: number): number {
+export function RoutingFees_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29732,7 +29832,7 @@ export function RoutingFees_write(obj: number): number {
 }
        // struct LDKCResult_RoutingFeesDecodeErrorZ RoutingFees_read(struct LDKu8slice ser);
 /* @internal */
-export function RoutingFees_read(ser: number): number {
+export function RoutingFees_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29741,7 +29841,7 @@ export function RoutingFees_read(ser: number): number {
 }
        // void NodeAnnouncementInfo_free(struct LDKNodeAnnouncementInfo this_obj);
 /* @internal */
-export function NodeAnnouncementInfo_free(this_obj: number): void {
+export function NodeAnnouncementInfo_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29750,7 +29850,7 @@ export function NodeAnnouncementInfo_free(this_obj: number): void {
 }
        // struct LDKNodeFeatures NodeAnnouncementInfo_get_features(const struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeAnnouncementInfo_get_features(this_ptr: number): number {
+export function NodeAnnouncementInfo_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29759,7 +29859,7 @@ export function NodeAnnouncementInfo_get_features(this_ptr: number): number {
 }
        // void NodeAnnouncementInfo_set_features(struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr, struct LDKNodeFeatures val);
 /* @internal */
-export function NodeAnnouncementInfo_set_features(this_ptr: number, val: number): void {
+export function NodeAnnouncementInfo_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29768,7 +29868,7 @@ export function NodeAnnouncementInfo_set_features(this_ptr: number, val: number)
 }
        // uint32_t NodeAnnouncementInfo_get_last_update(const struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeAnnouncementInfo_get_last_update(this_ptr: number): number {
+export function NodeAnnouncementInfo_get_last_update(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29777,7 +29877,7 @@ export function NodeAnnouncementInfo_get_last_update(this_ptr: number): number {
 }
        // void NodeAnnouncementInfo_set_last_update(struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function NodeAnnouncementInfo_set_last_update(this_ptr: number, val: number): void {
+export function NodeAnnouncementInfo_set_last_update(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29786,7 +29886,7 @@ export function NodeAnnouncementInfo_set_last_update(this_ptr: number, val: numb
 }
        // const uint8_t (*NodeAnnouncementInfo_get_rgb(const struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr))[3];
 /* @internal */
-export function NodeAnnouncementInfo_get_rgb(this_ptr: number): number {
+export function NodeAnnouncementInfo_get_rgb(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29795,7 +29895,7 @@ export function NodeAnnouncementInfo_get_rgb(this_ptr: number): number {
 }
        // void NodeAnnouncementInfo_set_rgb(struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr, struct LDKThreeBytes val);
 /* @internal */
-export function NodeAnnouncementInfo_set_rgb(this_ptr: number, val: number): void {
+export function NodeAnnouncementInfo_set_rgb(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29804,7 +29904,7 @@ export function NodeAnnouncementInfo_set_rgb(this_ptr: number, val: number): voi
 }
        // struct LDKNodeAlias NodeAnnouncementInfo_get_alias(const struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeAnnouncementInfo_get_alias(this_ptr: number): number {
+export function NodeAnnouncementInfo_get_alias(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29813,16 +29913,25 @@ export function NodeAnnouncementInfo_get_alias(this_ptr: number): number {
 }
        // void NodeAnnouncementInfo_set_alias(struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr, struct LDKNodeAlias val);
 /* @internal */
-export function NodeAnnouncementInfo_set_alias(this_ptr: number, val: number): void {
+export function NodeAnnouncementInfo_set_alias(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeAnnouncementInfo_set_alias(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_NetAddressZ NodeAnnouncementInfo_get_addresses(const struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr);
+/* @internal */
+export function NodeAnnouncementInfo_get_addresses(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_NodeAnnouncementInfo_get_addresses(this_ptr);
+       return nativeResponseValue;
 }
        // void NodeAnnouncementInfo_set_addresses(struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr, struct LDKCVec_NetAddressZ val);
 /* @internal */
-export function NodeAnnouncementInfo_set_addresses(this_ptr: number, val: number): void {
+export function NodeAnnouncementInfo_set_addresses(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29831,7 +29940,7 @@ export function NodeAnnouncementInfo_set_addresses(this_ptr: number, val: number
 }
        // struct LDKNodeAnnouncement NodeAnnouncementInfo_get_announcement_message(const struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeAnnouncementInfo_get_announcement_message(this_ptr: number): number {
+export function NodeAnnouncementInfo_get_announcement_message(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29840,7 +29949,7 @@ export function NodeAnnouncementInfo_get_announcement_message(this_ptr: number):
 }
        // void NodeAnnouncementInfo_set_announcement_message(struct LDKNodeAnnouncementInfo *NONNULL_PTR this_ptr, struct LDKNodeAnnouncement val);
 /* @internal */
-export function NodeAnnouncementInfo_set_announcement_message(this_ptr: number, val: number): void {
+export function NodeAnnouncementInfo_set_announcement_message(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29849,16 +29958,16 @@ export function NodeAnnouncementInfo_set_announcement_message(this_ptr: number,
 }
        // MUST_USE_RES struct LDKNodeAnnouncementInfo NodeAnnouncementInfo_new(struct LDKNodeFeatures features_arg, uint32_t last_update_arg, struct LDKThreeBytes rgb_arg, struct LDKNodeAlias alias_arg, struct LDKCVec_NetAddressZ addresses_arg, struct LDKNodeAnnouncement announcement_message_arg);
 /* @internal */
-export function NodeAnnouncementInfo_new(features_arg: number, last_update_arg: number, rgb_arg: number, alias_arg: number, addresses_arg: number, announcement_message_arg: number): number {
+export function NodeAnnouncementInfo_new(features_arg: bigint, last_update_arg: number, rgb_arg: number, alias_arg: bigint, addresses_arg: number, announcement_message_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeAnnouncementInfo_new(features_arg, last_update_arg, rgb_arg, alias_arg, addresses_arg, announcement_message_arg);
        return nativeResponseValue;
 }
-       // uintptr_t NodeAnnouncementInfo_clone_ptr(LDKNodeAnnouncementInfo *NONNULL_PTR arg);
+       // uint64_t NodeAnnouncementInfo_clone_ptr(LDKNodeAnnouncementInfo *NONNULL_PTR arg);
 /* @internal */
-export function NodeAnnouncementInfo_clone_ptr(arg: number): number {
+export function NodeAnnouncementInfo_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29867,7 +29976,7 @@ export function NodeAnnouncementInfo_clone_ptr(arg: number): number {
 }
        // struct LDKNodeAnnouncementInfo NodeAnnouncementInfo_clone(const struct LDKNodeAnnouncementInfo *NONNULL_PTR orig);
 /* @internal */
-export function NodeAnnouncementInfo_clone(orig: number): number {
+export function NodeAnnouncementInfo_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29876,7 +29985,7 @@ export function NodeAnnouncementInfo_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z NodeAnnouncementInfo_write(const struct LDKNodeAnnouncementInfo *NONNULL_PTR obj);
 /* @internal */
-export function NodeAnnouncementInfo_write(obj: number): number {
+export function NodeAnnouncementInfo_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29885,7 +29994,7 @@ export function NodeAnnouncementInfo_write(obj: number): number {
 }
        // struct LDKCResult_NodeAnnouncementInfoDecodeErrorZ NodeAnnouncementInfo_read(struct LDKu8slice ser);
 /* @internal */
-export function NodeAnnouncementInfo_read(ser: number): number {
+export function NodeAnnouncementInfo_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29894,7 +30003,7 @@ export function NodeAnnouncementInfo_read(ser: number): number {
 }
        // void NodeAlias_free(struct LDKNodeAlias this_obj);
 /* @internal */
-export function NodeAlias_free(this_obj: number): void {
+export function NodeAlias_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29903,7 +30012,7 @@ export function NodeAlias_free(this_obj: number): void {
 }
        // const uint8_t (*NodeAlias_get_a(const struct LDKNodeAlias *NONNULL_PTR this_ptr))[32];
 /* @internal */
-export function NodeAlias_get_a(this_ptr: number): number {
+export function NodeAlias_get_a(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29912,7 +30021,7 @@ export function NodeAlias_get_a(this_ptr: number): number {
 }
        // void NodeAlias_set_a(struct LDKNodeAlias *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val);
 /* @internal */
-export function NodeAlias_set_a(this_ptr: number, val: number): void {
+export function NodeAlias_set_a(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29921,16 +30030,16 @@ export function NodeAlias_set_a(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKNodeAlias NodeAlias_new(struct LDKThirtyTwoBytes a_arg);
 /* @internal */
-export function NodeAlias_new(a_arg: number): number {
+export function NodeAlias_new(a_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeAlias_new(a_arg);
        return nativeResponseValue;
 }
-       // uintptr_t NodeAlias_clone_ptr(LDKNodeAlias *NONNULL_PTR arg);
+       // uint64_t NodeAlias_clone_ptr(LDKNodeAlias *NONNULL_PTR arg);
 /* @internal */
-export function NodeAlias_clone_ptr(arg: number): number {
+export function NodeAlias_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29939,7 +30048,7 @@ export function NodeAlias_clone_ptr(arg: number): number {
 }
        // struct LDKNodeAlias NodeAlias_clone(const struct LDKNodeAlias *NONNULL_PTR orig);
 /* @internal */
-export function NodeAlias_clone(orig: number): number {
+export function NodeAlias_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29948,7 +30057,7 @@ export function NodeAlias_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z NodeAlias_write(const struct LDKNodeAlias *NONNULL_PTR obj);
 /* @internal */
-export function NodeAlias_write(obj: number): number {
+export function NodeAlias_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29957,7 +30066,7 @@ export function NodeAlias_write(obj: number): number {
 }
        // struct LDKCResult_NodeAliasDecodeErrorZ NodeAlias_read(struct LDKu8slice ser);
 /* @internal */
-export function NodeAlias_read(ser: number): number {
+export function NodeAlias_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29966,16 +30075,25 @@ export function NodeAlias_read(ser: number): number {
 }
        // void NodeInfo_free(struct LDKNodeInfo this_obj);
 /* @internal */
-export function NodeInfo_free(this_obj: number): void {
+export function NodeInfo_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeInfo_free(this_obj);
        // debug statements here
+}
+       // struct LDKCVec_u64Z NodeInfo_get_channels(const struct LDKNodeInfo *NONNULL_PTR this_ptr);
+/* @internal */
+export function NodeInfo_get_channels(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_NodeInfo_get_channels(this_ptr);
+       return nativeResponseValue;
 }
        // void NodeInfo_set_channels(struct LDKNodeInfo *NONNULL_PTR this_ptr, struct LDKCVec_u64Z val);
 /* @internal */
-export function NodeInfo_set_channels(this_ptr: number, val: number): void {
+export function NodeInfo_set_channels(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29984,7 +30102,7 @@ export function NodeInfo_set_channels(this_ptr: number, val: number): void {
 }
        // struct LDKRoutingFees NodeInfo_get_lowest_inbound_channel_fees(const struct LDKNodeInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeInfo_get_lowest_inbound_channel_fees(this_ptr: number): number {
+export function NodeInfo_get_lowest_inbound_channel_fees(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -29993,7 +30111,7 @@ export function NodeInfo_get_lowest_inbound_channel_fees(this_ptr: number): numb
 }
        // void NodeInfo_set_lowest_inbound_channel_fees(struct LDKNodeInfo *NONNULL_PTR this_ptr, struct LDKRoutingFees val);
 /* @internal */
-export function NodeInfo_set_lowest_inbound_channel_fees(this_ptr: number, val: number): void {
+export function NodeInfo_set_lowest_inbound_channel_fees(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30002,7 +30120,7 @@ export function NodeInfo_set_lowest_inbound_channel_fees(this_ptr: number, val:
 }
        // struct LDKNodeAnnouncementInfo NodeInfo_get_announcement_info(const struct LDKNodeInfo *NONNULL_PTR this_ptr);
 /* @internal */
-export function NodeInfo_get_announcement_info(this_ptr: number): number {
+export function NodeInfo_get_announcement_info(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30011,7 +30129,7 @@ export function NodeInfo_get_announcement_info(this_ptr: number): number {
 }
        // void NodeInfo_set_announcement_info(struct LDKNodeInfo *NONNULL_PTR this_ptr, struct LDKNodeAnnouncementInfo val);
 /* @internal */
-export function NodeInfo_set_announcement_info(this_ptr: number, val: number): void {
+export function NodeInfo_set_announcement_info(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30020,16 +30138,16 @@ export function NodeInfo_set_announcement_info(this_ptr: number, val: number): v
 }
        // MUST_USE_RES struct LDKNodeInfo NodeInfo_new(struct LDKCVec_u64Z channels_arg, struct LDKRoutingFees lowest_inbound_channel_fees_arg, struct LDKNodeAnnouncementInfo announcement_info_arg);
 /* @internal */
-export function NodeInfo_new(channels_arg: number, lowest_inbound_channel_fees_arg: number, announcement_info_arg: number): number {
+export function NodeInfo_new(channels_arg: number, lowest_inbound_channel_fees_arg: bigint, announcement_info_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_NodeInfo_new(channels_arg, lowest_inbound_channel_fees_arg, announcement_info_arg);
        return nativeResponseValue;
 }
-       // uintptr_t NodeInfo_clone_ptr(LDKNodeInfo *NONNULL_PTR arg);
+       // uint64_t NodeInfo_clone_ptr(LDKNodeInfo *NONNULL_PTR arg);
 /* @internal */
-export function NodeInfo_clone_ptr(arg: number): number {
+export function NodeInfo_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30038,7 +30156,7 @@ export function NodeInfo_clone_ptr(arg: number): number {
 }
        // struct LDKNodeInfo NodeInfo_clone(const struct LDKNodeInfo *NONNULL_PTR orig);
 /* @internal */
-export function NodeInfo_clone(orig: number): number {
+export function NodeInfo_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30047,7 +30165,7 @@ export function NodeInfo_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z NodeInfo_write(const struct LDKNodeInfo *NONNULL_PTR obj);
 /* @internal */
-export function NodeInfo_write(obj: number): number {
+export function NodeInfo_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30056,7 +30174,7 @@ export function NodeInfo_write(obj: number): number {
 }
        // struct LDKCResult_NodeInfoDecodeErrorZ NodeInfo_read(struct LDKu8slice ser);
 /* @internal */
-export function NodeInfo_read(ser: number): number {
+export function NodeInfo_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30065,7 +30183,7 @@ export function NodeInfo_read(ser: number): number {
 }
        // struct LDKCVec_u8Z NetworkGraph_write(const struct LDKNetworkGraph *NONNULL_PTR obj);
 /* @internal */
-export function NetworkGraph_write(obj: number): number {
+export function NetworkGraph_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30074,7 +30192,7 @@ export function NetworkGraph_write(obj: number): number {
 }
        // struct LDKCResult_NetworkGraphDecodeErrorZ NetworkGraph_read(struct LDKu8slice ser, struct LDKLogger arg);
 /* @internal */
-export function NetworkGraph_read(ser: number, arg: number): number {
+export function NetworkGraph_read(ser: number, arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30083,7 +30201,7 @@ export function NetworkGraph_read(ser: number, arg: number): number {
 }
        // MUST_USE_RES struct LDKNetworkGraph NetworkGraph_new(struct LDKThirtyTwoBytes genesis_hash, struct LDKLogger logger);
 /* @internal */
-export function NetworkGraph_new(genesis_hash: number, logger: number): number {
+export function NetworkGraph_new(genesis_hash: number, logger: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30092,7 +30210,7 @@ export function NetworkGraph_new(genesis_hash: number, logger: number): number {
 }
        // MUST_USE_RES struct LDKReadOnlyNetworkGraph NetworkGraph_read_only(const struct LDKNetworkGraph *NONNULL_PTR this_arg);
 /* @internal */
-export function NetworkGraph_read_only(this_arg: number): number {
+export function NetworkGraph_read_only(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30101,7 +30219,7 @@ export function NetworkGraph_read_only(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCOption_u32Z NetworkGraph_get_last_rapid_gossip_sync_timestamp(const struct LDKNetworkGraph *NONNULL_PTR this_arg);
 /* @internal */
-export function NetworkGraph_get_last_rapid_gossip_sync_timestamp(this_arg: number): number {
+export function NetworkGraph_get_last_rapid_gossip_sync_timestamp(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30110,7 +30228,7 @@ export function NetworkGraph_get_last_rapid_gossip_sync_timestamp(this_arg: numb
 }
        // void NetworkGraph_set_last_rapid_gossip_sync_timestamp(const struct LDKNetworkGraph *NONNULL_PTR this_arg, uint32_t last_rapid_gossip_sync_timestamp);
 /* @internal */
-export function NetworkGraph_set_last_rapid_gossip_sync_timestamp(this_arg: number, last_rapid_gossip_sync_timestamp: number): void {
+export function NetworkGraph_set_last_rapid_gossip_sync_timestamp(this_arg: bigint, last_rapid_gossip_sync_timestamp: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30119,7 +30237,7 @@ export function NetworkGraph_set_last_rapid_gossip_sync_timestamp(this_arg: numb
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_update_node_from_announcement(const struct LDKNetworkGraph *NONNULL_PTR this_arg, const struct LDKNodeAnnouncement *NONNULL_PTR msg);
 /* @internal */
-export function NetworkGraph_update_node_from_announcement(this_arg: number, msg: number): number {
+export function NetworkGraph_update_node_from_announcement(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30128,7 +30246,7 @@ export function NetworkGraph_update_node_from_announcement(this_arg: number, msg
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_update_node_from_unsigned_announcement(const struct LDKNetworkGraph *NONNULL_PTR this_arg, const struct LDKUnsignedNodeAnnouncement *NONNULL_PTR msg);
 /* @internal */
-export function NetworkGraph_update_node_from_unsigned_announcement(this_arg: number, msg: number): number {
+export function NetworkGraph_update_node_from_unsigned_announcement(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30137,7 +30255,7 @@ export function NetworkGraph_update_node_from_unsigned_announcement(this_arg: nu
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_update_channel_from_announcement(const struct LDKNetworkGraph *NONNULL_PTR this_arg, const struct LDKChannelAnnouncement *NONNULL_PTR msg, struct LDKCOption_AccessZ chain_access);
 /* @internal */
-export function NetworkGraph_update_channel_from_announcement(this_arg: number, msg: number, chain_access: number): number {
+export function NetworkGraph_update_channel_from_announcement(this_arg: bigint, msg: bigint, chain_access: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30146,7 +30264,7 @@ export function NetworkGraph_update_channel_from_announcement(this_arg: number,
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_update_channel_from_unsigned_announcement(const struct LDKNetworkGraph *NONNULL_PTR this_arg, const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR msg, struct LDKCOption_AccessZ chain_access);
 /* @internal */
-export function NetworkGraph_update_channel_from_unsigned_announcement(this_arg: number, msg: number, chain_access: number): number {
+export function NetworkGraph_update_channel_from_unsigned_announcement(this_arg: bigint, msg: bigint, chain_access: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30155,7 +30273,7 @@ export function NetworkGraph_update_channel_from_unsigned_announcement(this_arg:
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_add_channel_from_partial_announcement(const struct LDKNetworkGraph *NONNULL_PTR this_arg, uint64_t short_channel_id, uint64_t timestamp, struct LDKChannelFeatures features, struct LDKPublicKey node_id_1, struct LDKPublicKey node_id_2);
 /* @internal */
-export function NetworkGraph_add_channel_from_partial_announcement(this_arg: number, short_channel_id: bigint, timestamp: bigint, features: number, node_id_1: number, node_id_2: number): number {
+export function NetworkGraph_add_channel_from_partial_announcement(this_arg: bigint, short_channel_id: bigint, timestamp: bigint, features: bigint, node_id_1: number, node_id_2: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30164,7 +30282,7 @@ export function NetworkGraph_add_channel_from_partial_announcement(this_arg: num
 }
        // void NetworkGraph_channel_failed(const struct LDKNetworkGraph *NONNULL_PTR this_arg, uint64_t short_channel_id, bool is_permanent);
 /* @internal */
-export function NetworkGraph_channel_failed(this_arg: number, short_channel_id: bigint, is_permanent: boolean): void {
+export function NetworkGraph_channel_failed(this_arg: bigint, short_channel_id: bigint, is_permanent: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30173,7 +30291,7 @@ export function NetworkGraph_channel_failed(this_arg: number, short_channel_id:
 }
        // void NetworkGraph_node_failed(const struct LDKNetworkGraph *NONNULL_PTR this_arg, struct LDKPublicKey _node_id, bool is_permanent);
 /* @internal */
-export function NetworkGraph_node_failed(this_arg: number, _node_id: number, is_permanent: boolean): void {
+export function NetworkGraph_node_failed(this_arg: bigint, _node_id: number, is_permanent: boolean): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30182,7 +30300,7 @@ export function NetworkGraph_node_failed(this_arg: number, _node_id: number, is_
 }
        // void NetworkGraph_remove_stale_channels_with_time(const struct LDKNetworkGraph *NONNULL_PTR this_arg, uint64_t current_time_unix);
 /* @internal */
-export function NetworkGraph_remove_stale_channels_with_time(this_arg: number, current_time_unix: bigint): void {
+export function NetworkGraph_remove_stale_channels_with_time(this_arg: bigint, current_time_unix: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30191,7 +30309,7 @@ export function NetworkGraph_remove_stale_channels_with_time(this_arg: number, c
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_update_channel(const struct LDKNetworkGraph *NONNULL_PTR this_arg, const struct LDKChannelUpdate *NONNULL_PTR msg);
 /* @internal */
-export function NetworkGraph_update_channel(this_arg: number, msg: number): number {
+export function NetworkGraph_update_channel(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30200,7 +30318,7 @@ export function NetworkGraph_update_channel(this_arg: number, msg: number): numb
 }
        // MUST_USE_RES struct LDKCResult_NoneLightningErrorZ NetworkGraph_update_channel_unsigned(const struct LDKNetworkGraph *NONNULL_PTR this_arg, const struct LDKUnsignedChannelUpdate *NONNULL_PTR msg);
 /* @internal */
-export function NetworkGraph_update_channel_unsigned(this_arg: number, msg: number): number {
+export function NetworkGraph_update_channel_unsigned(this_arg: bigint, msg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30209,25 +30327,43 @@ export function NetworkGraph_update_channel_unsigned(this_arg: number, msg: numb
 }
        // MUST_USE_RES struct LDKChannelInfo ReadOnlyNetworkGraph_channel(const struct LDKReadOnlyNetworkGraph *NONNULL_PTR this_arg, uint64_t short_channel_id);
 /* @internal */
-export function ReadOnlyNetworkGraph_channel(this_arg: number, short_channel_id: bigint): number {
+export function ReadOnlyNetworkGraph_channel(this_arg: bigint, short_channel_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ReadOnlyNetworkGraph_channel(this_arg, short_channel_id);
        return nativeResponseValue;
+}
+       // MUST_USE_RES struct LDKCVec_u64Z ReadOnlyNetworkGraph_list_channels(const struct LDKReadOnlyNetworkGraph *NONNULL_PTR this_arg);
+/* @internal */
+export function ReadOnlyNetworkGraph_list_channels(this_arg: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_ReadOnlyNetworkGraph_list_channels(this_arg);
+       return nativeResponseValue;
 }
        // MUST_USE_RES struct LDKNodeInfo ReadOnlyNetworkGraph_node(const struct LDKReadOnlyNetworkGraph *NONNULL_PTR this_arg, const struct LDKNodeId *NONNULL_PTR node_id);
 /* @internal */
-export function ReadOnlyNetworkGraph_node(this_arg: number, node_id: number): number {
+export function ReadOnlyNetworkGraph_node(this_arg: bigint, node_id: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ReadOnlyNetworkGraph_node(this_arg, node_id);
        return nativeResponseValue;
+}
+       // MUST_USE_RES struct LDKCVec_NodeIdZ ReadOnlyNetworkGraph_list_nodes(const struct LDKReadOnlyNetworkGraph *NONNULL_PTR this_arg);
+/* @internal */
+export function ReadOnlyNetworkGraph_list_nodes(this_arg: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_ReadOnlyNetworkGraph_list_nodes(this_arg);
+       return nativeResponseValue;
 }
        // MUST_USE_RES struct LDKCOption_CVec_NetAddressZZ ReadOnlyNetworkGraph_get_addresses(const struct LDKReadOnlyNetworkGraph *NONNULL_PTR this_arg, struct LDKPublicKey pubkey);
 /* @internal */
-export function ReadOnlyNetworkGraph_get_addresses(this_arg: number, pubkey: number): number {
+export function ReadOnlyNetworkGraph_get_addresses(this_arg: bigint, pubkey: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30236,7 +30372,7 @@ export function ReadOnlyNetworkGraph_get_addresses(this_arg: number, pubkey: num
 }
        // void RouteHop_free(struct LDKRouteHop this_obj);
 /* @internal */
-export function RouteHop_free(this_obj: number): void {
+export function RouteHop_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30245,7 +30381,7 @@ export function RouteHop_free(this_obj: number): void {
 }
        // struct LDKPublicKey RouteHop_get_pubkey(const struct LDKRouteHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHop_get_pubkey(this_ptr: number): number {
+export function RouteHop_get_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30254,7 +30390,7 @@ export function RouteHop_get_pubkey(this_ptr: number): number {
 }
        // void RouteHop_set_pubkey(struct LDKRouteHop *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function RouteHop_set_pubkey(this_ptr: number, val: number): void {
+export function RouteHop_set_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30263,7 +30399,7 @@ export function RouteHop_set_pubkey(this_ptr: number, val: number): void {
 }
        // struct LDKNodeFeatures RouteHop_get_node_features(const struct LDKRouteHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHop_get_node_features(this_ptr: number): number {
+export function RouteHop_get_node_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30272,7 +30408,7 @@ export function RouteHop_get_node_features(this_ptr: number): number {
 }
        // void RouteHop_set_node_features(struct LDKRouteHop *NONNULL_PTR this_ptr, struct LDKNodeFeatures val);
 /* @internal */
-export function RouteHop_set_node_features(this_ptr: number, val: number): void {
+export function RouteHop_set_node_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30281,7 +30417,7 @@ export function RouteHop_set_node_features(this_ptr: number, val: number): void
 }
        // uint64_t RouteHop_get_short_channel_id(const struct LDKRouteHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHop_get_short_channel_id(this_ptr: number): bigint {
+export function RouteHop_get_short_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30290,7 +30426,7 @@ export function RouteHop_get_short_channel_id(this_ptr: number): bigint {
 }
        // void RouteHop_set_short_channel_id(struct LDKRouteHop *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function RouteHop_set_short_channel_id(this_ptr: number, val: bigint): void {
+export function RouteHop_set_short_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30299,7 +30435,7 @@ export function RouteHop_set_short_channel_id(this_ptr: number, val: bigint): vo
 }
        // struct LDKChannelFeatures RouteHop_get_channel_features(const struct LDKRouteHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHop_get_channel_features(this_ptr: number): number {
+export function RouteHop_get_channel_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30308,7 +30444,7 @@ export function RouteHop_get_channel_features(this_ptr: number): number {
 }
        // void RouteHop_set_channel_features(struct LDKRouteHop *NONNULL_PTR this_ptr, struct LDKChannelFeatures val);
 /* @internal */
-export function RouteHop_set_channel_features(this_ptr: number, val: number): void {
+export function RouteHop_set_channel_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30317,7 +30453,7 @@ export function RouteHop_set_channel_features(this_ptr: number, val: number): vo
 }
        // uint64_t RouteHop_get_fee_msat(const struct LDKRouteHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHop_get_fee_msat(this_ptr: number): bigint {
+export function RouteHop_get_fee_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30326,7 +30462,7 @@ export function RouteHop_get_fee_msat(this_ptr: number): bigint {
 }
        // void RouteHop_set_fee_msat(struct LDKRouteHop *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function RouteHop_set_fee_msat(this_ptr: number, val: bigint): void {
+export function RouteHop_set_fee_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30335,7 +30471,7 @@ export function RouteHop_set_fee_msat(this_ptr: number, val: bigint): void {
 }
        // uint32_t RouteHop_get_cltv_expiry_delta(const struct LDKRouteHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHop_get_cltv_expiry_delta(this_ptr: number): number {
+export function RouteHop_get_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30344,7 +30480,7 @@ export function RouteHop_get_cltv_expiry_delta(this_ptr: number): number {
 }
        // void RouteHop_set_cltv_expiry_delta(struct LDKRouteHop *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function RouteHop_set_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function RouteHop_set_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30353,16 +30489,16 @@ export function RouteHop_set_cltv_expiry_delta(this_ptr: number, val: number): v
 }
        // MUST_USE_RES struct LDKRouteHop RouteHop_new(struct LDKPublicKey pubkey_arg, struct LDKNodeFeatures node_features_arg, uint64_t short_channel_id_arg, struct LDKChannelFeatures channel_features_arg, uint64_t fee_msat_arg, uint32_t cltv_expiry_delta_arg);
 /* @internal */
-export function RouteHop_new(pubkey_arg: number, node_features_arg: number, short_channel_id_arg: bigint, channel_features_arg: number, fee_msat_arg: bigint, cltv_expiry_delta_arg: number): number {
+export function RouteHop_new(pubkey_arg: number, node_features_arg: bigint, short_channel_id_arg: bigint, channel_features_arg: bigint, fee_msat_arg: bigint, cltv_expiry_delta_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RouteHop_new(pubkey_arg, node_features_arg, short_channel_id_arg, channel_features_arg, fee_msat_arg, cltv_expiry_delta_arg);
        return nativeResponseValue;
 }
-       // uintptr_t RouteHop_clone_ptr(LDKRouteHop *NONNULL_PTR arg);
+       // uint64_t RouteHop_clone_ptr(LDKRouteHop *NONNULL_PTR arg);
 /* @internal */
-export function RouteHop_clone_ptr(arg: number): number {
+export function RouteHop_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30371,7 +30507,7 @@ export function RouteHop_clone_ptr(arg: number): number {
 }
        // struct LDKRouteHop RouteHop_clone(const struct LDKRouteHop *NONNULL_PTR orig);
 /* @internal */
-export function RouteHop_clone(orig: number): number {
+export function RouteHop_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30380,7 +30516,7 @@ export function RouteHop_clone(orig: number): number {
 }
        // uint64_t RouteHop_hash(const struct LDKRouteHop *NONNULL_PTR o);
 /* @internal */
-export function RouteHop_hash(o: number): bigint {
+export function RouteHop_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30389,7 +30525,7 @@ export function RouteHop_hash(o: number): bigint {
 }
        // bool RouteHop_eq(const struct LDKRouteHop *NONNULL_PTR a, const struct LDKRouteHop *NONNULL_PTR b);
 /* @internal */
-export function RouteHop_eq(a: number, b: number): boolean {
+export function RouteHop_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30398,7 +30534,7 @@ export function RouteHop_eq(a: number, b: number): boolean {
 }
        // struct LDKCVec_u8Z RouteHop_write(const struct LDKRouteHop *NONNULL_PTR obj);
 /* @internal */
-export function RouteHop_write(obj: number): number {
+export function RouteHop_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30407,7 +30543,7 @@ export function RouteHop_write(obj: number): number {
 }
        // struct LDKCResult_RouteHopDecodeErrorZ RouteHop_read(struct LDKu8slice ser);
 /* @internal */
-export function RouteHop_read(ser: number): number {
+export function RouteHop_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30416,7 +30552,7 @@ export function RouteHop_read(ser: number): number {
 }
        // void Route_free(struct LDKRoute this_obj);
 /* @internal */
-export function Route_free(this_obj: number): void {
+export function Route_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30425,7 +30561,7 @@ export function Route_free(this_obj: number): void {
 }
        // struct LDKCVec_CVec_RouteHopZZ Route_get_paths(const struct LDKRoute *NONNULL_PTR this_ptr);
 /* @internal */
-export function Route_get_paths(this_ptr: number): number {
+export function Route_get_paths(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30434,7 +30570,7 @@ export function Route_get_paths(this_ptr: number): number {
 }
        // void Route_set_paths(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKCVec_CVec_RouteHopZZ val);
 /* @internal */
-export function Route_set_paths(this_ptr: number, val: number): void {
+export function Route_set_paths(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30443,7 +30579,7 @@ export function Route_set_paths(this_ptr: number, val: number): void {
 }
        // struct LDKPaymentParameters Route_get_payment_params(const struct LDKRoute *NONNULL_PTR this_ptr);
 /* @internal */
-export function Route_get_payment_params(this_ptr: number): number {
+export function Route_get_payment_params(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30452,7 +30588,7 @@ export function Route_get_payment_params(this_ptr: number): number {
 }
        // void Route_set_payment_params(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKPaymentParameters val);
 /* @internal */
-export function Route_set_payment_params(this_ptr: number, val: number): void {
+export function Route_set_payment_params(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30461,16 +30597,16 @@ export function Route_set_payment_params(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKRoute Route_new(struct LDKCVec_CVec_RouteHopZZ paths_arg, struct LDKPaymentParameters payment_params_arg);
 /* @internal */
-export function Route_new(paths_arg: number, payment_params_arg: number): number {
+export function Route_new(paths_arg: number, payment_params_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Route_new(paths_arg, payment_params_arg);
        return nativeResponseValue;
 }
-       // uintptr_t Route_clone_ptr(LDKRoute *NONNULL_PTR arg);
+       // uint64_t Route_clone_ptr(LDKRoute *NONNULL_PTR arg);
 /* @internal */
-export function Route_clone_ptr(arg: number): number {
+export function Route_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30479,7 +30615,7 @@ export function Route_clone_ptr(arg: number): number {
 }
        // struct LDKRoute Route_clone(const struct LDKRoute *NONNULL_PTR orig);
 /* @internal */
-export function Route_clone(orig: number): number {
+export function Route_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30488,7 +30624,7 @@ export function Route_clone(orig: number): number {
 }
        // uint64_t Route_hash(const struct LDKRoute *NONNULL_PTR o);
 /* @internal */
-export function Route_hash(o: number): bigint {
+export function Route_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30497,7 +30633,7 @@ export function Route_hash(o: number): bigint {
 }
        // bool Route_eq(const struct LDKRoute *NONNULL_PTR a, const struct LDKRoute *NONNULL_PTR b);
 /* @internal */
-export function Route_eq(a: number, b: number): boolean {
+export function Route_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30506,7 +30642,7 @@ export function Route_eq(a: number, b: number): boolean {
 }
        // MUST_USE_RES uint64_t Route_get_total_fees(const struct LDKRoute *NONNULL_PTR this_arg);
 /* @internal */
-export function Route_get_total_fees(this_arg: number): bigint {
+export function Route_get_total_fees(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30515,7 +30651,7 @@ export function Route_get_total_fees(this_arg: number): bigint {
 }
        // MUST_USE_RES uint64_t Route_get_total_amount(const struct LDKRoute *NONNULL_PTR this_arg);
 /* @internal */
-export function Route_get_total_amount(this_arg: number): bigint {
+export function Route_get_total_amount(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30524,7 +30660,7 @@ export function Route_get_total_amount(this_arg: number): bigint {
 }
        // struct LDKCVec_u8Z Route_write(const struct LDKRoute *NONNULL_PTR obj);
 /* @internal */
-export function Route_write(obj: number): number {
+export function Route_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30533,7 +30669,7 @@ export function Route_write(obj: number): number {
 }
        // struct LDKCResult_RouteDecodeErrorZ Route_read(struct LDKu8slice ser);
 /* @internal */
-export function Route_read(ser: number): number {
+export function Route_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30542,7 +30678,7 @@ export function Route_read(ser: number): number {
 }
        // void RouteParameters_free(struct LDKRouteParameters this_obj);
 /* @internal */
-export function RouteParameters_free(this_obj: number): void {
+export function RouteParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30551,7 +30687,7 @@ export function RouteParameters_free(this_obj: number): void {
 }
        // struct LDKPaymentParameters RouteParameters_get_payment_params(const struct LDKRouteParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteParameters_get_payment_params(this_ptr: number): number {
+export function RouteParameters_get_payment_params(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30560,7 +30696,7 @@ export function RouteParameters_get_payment_params(this_ptr: number): number {
 }
        // void RouteParameters_set_payment_params(struct LDKRouteParameters *NONNULL_PTR this_ptr, struct LDKPaymentParameters val);
 /* @internal */
-export function RouteParameters_set_payment_params(this_ptr: number, val: number): void {
+export function RouteParameters_set_payment_params(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30569,7 +30705,7 @@ export function RouteParameters_set_payment_params(this_ptr: number, val: number
 }
        // uint64_t RouteParameters_get_final_value_msat(const struct LDKRouteParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteParameters_get_final_value_msat(this_ptr: number): bigint {
+export function RouteParameters_get_final_value_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30578,7 +30714,7 @@ export function RouteParameters_get_final_value_msat(this_ptr: number): bigint {
 }
        // void RouteParameters_set_final_value_msat(struct LDKRouteParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function RouteParameters_set_final_value_msat(this_ptr: number, val: bigint): void {
+export function RouteParameters_set_final_value_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30587,7 +30723,7 @@ export function RouteParameters_set_final_value_msat(this_ptr: number, val: bigi
 }
        // uint32_t RouteParameters_get_final_cltv_expiry_delta(const struct LDKRouteParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteParameters_get_final_cltv_expiry_delta(this_ptr: number): number {
+export function RouteParameters_get_final_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30596,7 +30732,7 @@ export function RouteParameters_get_final_cltv_expiry_delta(this_ptr: number): n
 }
        // void RouteParameters_set_final_cltv_expiry_delta(struct LDKRouteParameters *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function RouteParameters_set_final_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function RouteParameters_set_final_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30605,16 +30741,16 @@ export function RouteParameters_set_final_cltv_expiry_delta(this_ptr: number, va
 }
        // MUST_USE_RES struct LDKRouteParameters RouteParameters_new(struct LDKPaymentParameters payment_params_arg, uint64_t final_value_msat_arg, uint32_t final_cltv_expiry_delta_arg);
 /* @internal */
-export function RouteParameters_new(payment_params_arg: number, final_value_msat_arg: bigint, final_cltv_expiry_delta_arg: number): number {
+export function RouteParameters_new(payment_params_arg: bigint, final_value_msat_arg: bigint, final_cltv_expiry_delta_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RouteParameters_new(payment_params_arg, final_value_msat_arg, final_cltv_expiry_delta_arg);
        return nativeResponseValue;
 }
-       // uintptr_t RouteParameters_clone_ptr(LDKRouteParameters *NONNULL_PTR arg);
+       // uint64_t RouteParameters_clone_ptr(LDKRouteParameters *NONNULL_PTR arg);
 /* @internal */
-export function RouteParameters_clone_ptr(arg: number): number {
+export function RouteParameters_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30623,7 +30759,7 @@ export function RouteParameters_clone_ptr(arg: number): number {
 }
        // struct LDKRouteParameters RouteParameters_clone(const struct LDKRouteParameters *NONNULL_PTR orig);
 /* @internal */
-export function RouteParameters_clone(orig: number): number {
+export function RouteParameters_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30632,7 +30768,7 @@ export function RouteParameters_clone(orig: number): number {
 }
        // struct LDKCVec_u8Z RouteParameters_write(const struct LDKRouteParameters *NONNULL_PTR obj);
 /* @internal */
-export function RouteParameters_write(obj: number): number {
+export function RouteParameters_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30641,7 +30777,7 @@ export function RouteParameters_write(obj: number): number {
 }
        // struct LDKCResult_RouteParametersDecodeErrorZ RouteParameters_read(struct LDKu8slice ser);
 /* @internal */
-export function RouteParameters_read(ser: number): number {
+export function RouteParameters_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30650,7 +30786,7 @@ export function RouteParameters_read(ser: number): number {
 }
        // void PaymentParameters_free(struct LDKPaymentParameters this_obj);
 /* @internal */
-export function PaymentParameters_free(this_obj: number): void {
+export function PaymentParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30659,7 +30795,7 @@ export function PaymentParameters_free(this_obj: number): void {
 }
        // struct LDKPublicKey PaymentParameters_get_payee_pubkey(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_payee_pubkey(this_ptr: number): number {
+export function PaymentParameters_get_payee_pubkey(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30668,7 +30804,7 @@ export function PaymentParameters_get_payee_pubkey(this_ptr: number): number {
 }
        // void PaymentParameters_set_payee_pubkey(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function PaymentParameters_set_payee_pubkey(this_ptr: number, val: number): void {
+export function PaymentParameters_set_payee_pubkey(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30677,7 +30813,7 @@ export function PaymentParameters_set_payee_pubkey(this_ptr: number, val: number
 }
        // struct LDKInvoiceFeatures PaymentParameters_get_features(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_features(this_ptr: number): number {
+export function PaymentParameters_get_features(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30686,7 +30822,7 @@ export function PaymentParameters_get_features(this_ptr: number): number {
 }
        // void PaymentParameters_set_features(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKInvoiceFeatures val);
 /* @internal */
-export function PaymentParameters_set_features(this_ptr: number, val: number): void {
+export function PaymentParameters_set_features(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30695,7 +30831,7 @@ export function PaymentParameters_set_features(this_ptr: number, val: number): v
 }
        // struct LDKCVec_RouteHintZ PaymentParameters_get_route_hints(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_route_hints(this_ptr: number): number {
+export function PaymentParameters_get_route_hints(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30704,7 +30840,7 @@ export function PaymentParameters_get_route_hints(this_ptr: number): number {
 }
        // void PaymentParameters_set_route_hints(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCVec_RouteHintZ val);
 /* @internal */
-export function PaymentParameters_set_route_hints(this_ptr: number, val: number): void {
+export function PaymentParameters_set_route_hints(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30713,7 +30849,7 @@ export function PaymentParameters_set_route_hints(this_ptr: number, val: number)
 }
        // struct LDKCOption_u64Z PaymentParameters_get_expiry_time(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_expiry_time(this_ptr: number): number {
+export function PaymentParameters_get_expiry_time(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30722,7 +30858,7 @@ export function PaymentParameters_get_expiry_time(this_ptr: number): number {
 }
        // void PaymentParameters_set_expiry_time(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function PaymentParameters_set_expiry_time(this_ptr: number, val: number): void {
+export function PaymentParameters_set_expiry_time(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30731,7 +30867,7 @@ export function PaymentParameters_set_expiry_time(this_ptr: number, val: number)
 }
        // uint32_t PaymentParameters_get_max_total_cltv_expiry_delta(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_max_total_cltv_expiry_delta(this_ptr: number): number {
+export function PaymentParameters_get_max_total_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30740,7 +30876,7 @@ export function PaymentParameters_get_max_total_cltv_expiry_delta(this_ptr: numb
 }
        // void PaymentParameters_set_max_total_cltv_expiry_delta(struct LDKPaymentParameters *NONNULL_PTR this_ptr, uint32_t val);
 /* @internal */
-export function PaymentParameters_set_max_total_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function PaymentParameters_set_max_total_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30749,7 +30885,7 @@ export function PaymentParameters_set_max_total_cltv_expiry_delta(this_ptr: numb
 }
        // uint8_t PaymentParameters_get_max_path_count(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_max_path_count(this_ptr: number): number {
+export function PaymentParameters_get_max_path_count(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30758,7 +30894,7 @@ export function PaymentParameters_get_max_path_count(this_ptr: number): number {
 }
        // void PaymentParameters_set_max_path_count(struct LDKPaymentParameters *NONNULL_PTR this_ptr, uint8_t val);
 /* @internal */
-export function PaymentParameters_set_max_path_count(this_ptr: number, val: number): void {
+export function PaymentParameters_set_max_path_count(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30767,7 +30903,7 @@ export function PaymentParameters_set_max_path_count(this_ptr: number, val: numb
 }
        // uint8_t PaymentParameters_get_max_channel_saturation_power_of_half(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function PaymentParameters_get_max_channel_saturation_power_of_half(this_ptr: number): number {
+export function PaymentParameters_get_max_channel_saturation_power_of_half(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30776,16 +30912,25 @@ export function PaymentParameters_get_max_channel_saturation_power_of_half(this_
 }
        // void PaymentParameters_set_max_channel_saturation_power_of_half(struct LDKPaymentParameters *NONNULL_PTR this_ptr, uint8_t val);
 /* @internal */
-export function PaymentParameters_set_max_channel_saturation_power_of_half(this_ptr: number, val: number): void {
+export function PaymentParameters_set_max_channel_saturation_power_of_half(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PaymentParameters_set_max_channel_saturation_power_of_half(this_ptr, val);
        // debug statements here
+}
+       // struct LDKCVec_u64Z PaymentParameters_get_previously_failed_channels(const struct LDKPaymentParameters *NONNULL_PTR this_ptr);
+/* @internal */
+export function PaymentParameters_get_previously_failed_channels(this_ptr: bigint): number {
+       if(!isWasmInitialized) {
+               throw new Error("initializeWasm() must be awaited first!");
+       }
+       const nativeResponseValue = wasm.TS_PaymentParameters_get_previously_failed_channels(this_ptr);
+       return nativeResponseValue;
 }
        // void PaymentParameters_set_previously_failed_channels(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCVec_u64Z val);
 /* @internal */
-export function PaymentParameters_set_previously_failed_channels(this_ptr: number, val: number): void {
+export function PaymentParameters_set_previously_failed_channels(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30794,16 +30939,16 @@ export function PaymentParameters_set_previously_failed_channels(this_ptr: numbe
 }
        // MUST_USE_RES struct LDKPaymentParameters PaymentParameters_new(struct LDKPublicKey payee_pubkey_arg, struct LDKInvoiceFeatures features_arg, struct LDKCVec_RouteHintZ route_hints_arg, struct LDKCOption_u64Z expiry_time_arg, uint32_t max_total_cltv_expiry_delta_arg, uint8_t max_path_count_arg, uint8_t max_channel_saturation_power_of_half_arg, struct LDKCVec_u64Z previously_failed_channels_arg);
 /* @internal */
-export function PaymentParameters_new(payee_pubkey_arg: number, features_arg: number, route_hints_arg: number, expiry_time_arg: number, max_total_cltv_expiry_delta_arg: number, max_path_count_arg: number, max_channel_saturation_power_of_half_arg: number, previously_failed_channels_arg: number): number {
+export function PaymentParameters_new(payee_pubkey_arg: number, features_arg: bigint, route_hints_arg: number, expiry_time_arg: bigint, max_total_cltv_expiry_delta_arg: number, max_path_count_arg: number, max_channel_saturation_power_of_half_arg: number, previously_failed_channels_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PaymentParameters_new(payee_pubkey_arg, features_arg, route_hints_arg, expiry_time_arg, max_total_cltv_expiry_delta_arg, max_path_count_arg, max_channel_saturation_power_of_half_arg, previously_failed_channels_arg);
        return nativeResponseValue;
 }
-       // uintptr_t PaymentParameters_clone_ptr(LDKPaymentParameters *NONNULL_PTR arg);
+       // uint64_t PaymentParameters_clone_ptr(LDKPaymentParameters *NONNULL_PTR arg);
 /* @internal */
-export function PaymentParameters_clone_ptr(arg: number): number {
+export function PaymentParameters_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30812,7 +30957,7 @@ export function PaymentParameters_clone_ptr(arg: number): number {
 }
        // struct LDKPaymentParameters PaymentParameters_clone(const struct LDKPaymentParameters *NONNULL_PTR orig);
 /* @internal */
-export function PaymentParameters_clone(orig: number): number {
+export function PaymentParameters_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30821,7 +30966,7 @@ export function PaymentParameters_clone(orig: number): number {
 }
        // uint64_t PaymentParameters_hash(const struct LDKPaymentParameters *NONNULL_PTR o);
 /* @internal */
-export function PaymentParameters_hash(o: number): bigint {
+export function PaymentParameters_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30830,7 +30975,7 @@ export function PaymentParameters_hash(o: number): bigint {
 }
        // bool PaymentParameters_eq(const struct LDKPaymentParameters *NONNULL_PTR a, const struct LDKPaymentParameters *NONNULL_PTR b);
 /* @internal */
-export function PaymentParameters_eq(a: number, b: number): boolean {
+export function PaymentParameters_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30839,7 +30984,7 @@ export function PaymentParameters_eq(a: number, b: number): boolean {
 }
        // struct LDKCVec_u8Z PaymentParameters_write(const struct LDKPaymentParameters *NONNULL_PTR obj);
 /* @internal */
-export function PaymentParameters_write(obj: number): number {
+export function PaymentParameters_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30848,7 +30993,7 @@ export function PaymentParameters_write(obj: number): number {
 }
        // struct LDKCResult_PaymentParametersDecodeErrorZ PaymentParameters_read(struct LDKu8slice ser);
 /* @internal */
-export function PaymentParameters_read(ser: number): number {
+export function PaymentParameters_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30857,7 +31002,7 @@ export function PaymentParameters_read(ser: number): number {
 }
        // MUST_USE_RES struct LDKPaymentParameters PaymentParameters_from_node_id(struct LDKPublicKey payee_pubkey);
 /* @internal */
-export function PaymentParameters_from_node_id(payee_pubkey: number): number {
+export function PaymentParameters_from_node_id(payee_pubkey: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30866,7 +31011,7 @@ export function PaymentParameters_from_node_id(payee_pubkey: number): number {
 }
        // MUST_USE_RES struct LDKPaymentParameters PaymentParameters_for_keysend(struct LDKPublicKey payee_pubkey);
 /* @internal */
-export function PaymentParameters_for_keysend(payee_pubkey: number): number {
+export function PaymentParameters_for_keysend(payee_pubkey: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30875,7 +31020,7 @@ export function PaymentParameters_for_keysend(payee_pubkey: number): number {
 }
        // void RouteHint_free(struct LDKRouteHint this_obj);
 /* @internal */
-export function RouteHint_free(this_obj: number): void {
+export function RouteHint_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30884,7 +31029,7 @@ export function RouteHint_free(this_obj: number): void {
 }
        // struct LDKCVec_RouteHintHopZ RouteHint_get_a(const struct LDKRouteHint *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHint_get_a(this_ptr: number): number {
+export function RouteHint_get_a(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30893,7 +31038,7 @@ export function RouteHint_get_a(this_ptr: number): number {
 }
        // void RouteHint_set_a(struct LDKRouteHint *NONNULL_PTR this_ptr, struct LDKCVec_RouteHintHopZ val);
 /* @internal */
-export function RouteHint_set_a(this_ptr: number, val: number): void {
+export function RouteHint_set_a(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30902,16 +31047,16 @@ export function RouteHint_set_a(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKRouteHint RouteHint_new(struct LDKCVec_RouteHintHopZ a_arg);
 /* @internal */
-export function RouteHint_new(a_arg: number): number {
+export function RouteHint_new(a_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RouteHint_new(a_arg);
        return nativeResponseValue;
 }
-       // uintptr_t RouteHint_clone_ptr(LDKRouteHint *NONNULL_PTR arg);
+       // uint64_t RouteHint_clone_ptr(LDKRouteHint *NONNULL_PTR arg);
 /* @internal */
-export function RouteHint_clone_ptr(arg: number): number {
+export function RouteHint_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30920,7 +31065,7 @@ export function RouteHint_clone_ptr(arg: number): number {
 }
        // struct LDKRouteHint RouteHint_clone(const struct LDKRouteHint *NONNULL_PTR orig);
 /* @internal */
-export function RouteHint_clone(orig: number): number {
+export function RouteHint_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30929,7 +31074,7 @@ export function RouteHint_clone(orig: number): number {
 }
        // uint64_t RouteHint_hash(const struct LDKRouteHint *NONNULL_PTR o);
 /* @internal */
-export function RouteHint_hash(o: number): bigint {
+export function RouteHint_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30938,7 +31083,7 @@ export function RouteHint_hash(o: number): bigint {
 }
        // bool RouteHint_eq(const struct LDKRouteHint *NONNULL_PTR a, const struct LDKRouteHint *NONNULL_PTR b);
 /* @internal */
-export function RouteHint_eq(a: number, b: number): boolean {
+export function RouteHint_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30947,7 +31092,7 @@ export function RouteHint_eq(a: number, b: number): boolean {
 }
        // struct LDKCVec_u8Z RouteHint_write(const struct LDKRouteHint *NONNULL_PTR obj);
 /* @internal */
-export function RouteHint_write(obj: number): number {
+export function RouteHint_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30956,7 +31101,7 @@ export function RouteHint_write(obj: number): number {
 }
        // struct LDKCResult_RouteHintDecodeErrorZ RouteHint_read(struct LDKu8slice ser);
 /* @internal */
-export function RouteHint_read(ser: number): number {
+export function RouteHint_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30965,7 +31110,7 @@ export function RouteHint_read(ser: number): number {
 }
        // void RouteHintHop_free(struct LDKRouteHintHop this_obj);
 /* @internal */
-export function RouteHintHop_free(this_obj: number): void {
+export function RouteHintHop_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30974,7 +31119,7 @@ export function RouteHintHop_free(this_obj: number): void {
 }
        // struct LDKPublicKey RouteHintHop_get_src_node_id(const struct LDKRouteHintHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHintHop_get_src_node_id(this_ptr: number): number {
+export function RouteHintHop_get_src_node_id(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30983,7 +31128,7 @@ export function RouteHintHop_get_src_node_id(this_ptr: number): number {
 }
        // void RouteHintHop_set_src_node_id(struct LDKRouteHintHop *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function RouteHintHop_set_src_node_id(this_ptr: number, val: number): void {
+export function RouteHintHop_set_src_node_id(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -30992,7 +31137,7 @@ export function RouteHintHop_set_src_node_id(this_ptr: number, val: number): voi
 }
        // uint64_t RouteHintHop_get_short_channel_id(const struct LDKRouteHintHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHintHop_get_short_channel_id(this_ptr: number): bigint {
+export function RouteHintHop_get_short_channel_id(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31001,7 +31146,7 @@ export function RouteHintHop_get_short_channel_id(this_ptr: number): bigint {
 }
        // void RouteHintHop_set_short_channel_id(struct LDKRouteHintHop *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function RouteHintHop_set_short_channel_id(this_ptr: number, val: bigint): void {
+export function RouteHintHop_set_short_channel_id(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31010,7 +31155,7 @@ export function RouteHintHop_set_short_channel_id(this_ptr: number, val: bigint)
 }
        // struct LDKRoutingFees RouteHintHop_get_fees(const struct LDKRouteHintHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHintHop_get_fees(this_ptr: number): number {
+export function RouteHintHop_get_fees(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31019,7 +31164,7 @@ export function RouteHintHop_get_fees(this_ptr: number): number {
 }
        // void RouteHintHop_set_fees(struct LDKRouteHintHop *NONNULL_PTR this_ptr, struct LDKRoutingFees val);
 /* @internal */
-export function RouteHintHop_set_fees(this_ptr: number, val: number): void {
+export function RouteHintHop_set_fees(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31028,7 +31173,7 @@ export function RouteHintHop_set_fees(this_ptr: number, val: number): void {
 }
        // uint16_t RouteHintHop_get_cltv_expiry_delta(const struct LDKRouteHintHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHintHop_get_cltv_expiry_delta(this_ptr: number): number {
+export function RouteHintHop_get_cltv_expiry_delta(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31037,7 +31182,7 @@ export function RouteHintHop_get_cltv_expiry_delta(this_ptr: number): number {
 }
        // void RouteHintHop_set_cltv_expiry_delta(struct LDKRouteHintHop *NONNULL_PTR this_ptr, uint16_t val);
 /* @internal */
-export function RouteHintHop_set_cltv_expiry_delta(this_ptr: number, val: number): void {
+export function RouteHintHop_set_cltv_expiry_delta(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31046,7 +31191,7 @@ export function RouteHintHop_set_cltv_expiry_delta(this_ptr: number, val: number
 }
        // struct LDKCOption_u64Z RouteHintHop_get_htlc_minimum_msat(const struct LDKRouteHintHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHintHop_get_htlc_minimum_msat(this_ptr: number): number {
+export function RouteHintHop_get_htlc_minimum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31055,7 +31200,7 @@ export function RouteHintHop_get_htlc_minimum_msat(this_ptr: number): number {
 }
        // void RouteHintHop_set_htlc_minimum_msat(struct LDKRouteHintHop *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function RouteHintHop_set_htlc_minimum_msat(this_ptr: number, val: number): void {
+export function RouteHintHop_set_htlc_minimum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31064,7 +31209,7 @@ export function RouteHintHop_set_htlc_minimum_msat(this_ptr: number, val: number
 }
        // struct LDKCOption_u64Z RouteHintHop_get_htlc_maximum_msat(const struct LDKRouteHintHop *NONNULL_PTR this_ptr);
 /* @internal */
-export function RouteHintHop_get_htlc_maximum_msat(this_ptr: number): number {
+export function RouteHintHop_get_htlc_maximum_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31073,7 +31218,7 @@ export function RouteHintHop_get_htlc_maximum_msat(this_ptr: number): number {
 }
        // void RouteHintHop_set_htlc_maximum_msat(struct LDKRouteHintHop *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val);
 /* @internal */
-export function RouteHintHop_set_htlc_maximum_msat(this_ptr: number, val: number): void {
+export function RouteHintHop_set_htlc_maximum_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31082,16 +31227,16 @@ export function RouteHintHop_set_htlc_maximum_msat(this_ptr: number, val: number
 }
        // MUST_USE_RES struct LDKRouteHintHop RouteHintHop_new(struct LDKPublicKey src_node_id_arg, uint64_t short_channel_id_arg, struct LDKRoutingFees fees_arg, uint16_t cltv_expiry_delta_arg, struct LDKCOption_u64Z htlc_minimum_msat_arg, struct LDKCOption_u64Z htlc_maximum_msat_arg);
 /* @internal */
-export function RouteHintHop_new(src_node_id_arg: number, short_channel_id_arg: bigint, fees_arg: number, cltv_expiry_delta_arg: number, htlc_minimum_msat_arg: number, htlc_maximum_msat_arg: number): number {
+export function RouteHintHop_new(src_node_id_arg: number, short_channel_id_arg: bigint, fees_arg: bigint, cltv_expiry_delta_arg: number, htlc_minimum_msat_arg: bigint, htlc_maximum_msat_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RouteHintHop_new(src_node_id_arg, short_channel_id_arg, fees_arg, cltv_expiry_delta_arg, htlc_minimum_msat_arg, htlc_maximum_msat_arg);
        return nativeResponseValue;
 }
-       // uintptr_t RouteHintHop_clone_ptr(LDKRouteHintHop *NONNULL_PTR arg);
+       // uint64_t RouteHintHop_clone_ptr(LDKRouteHintHop *NONNULL_PTR arg);
 /* @internal */
-export function RouteHintHop_clone_ptr(arg: number): number {
+export function RouteHintHop_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31100,7 +31245,7 @@ export function RouteHintHop_clone_ptr(arg: number): number {
 }
        // struct LDKRouteHintHop RouteHintHop_clone(const struct LDKRouteHintHop *NONNULL_PTR orig);
 /* @internal */
-export function RouteHintHop_clone(orig: number): number {
+export function RouteHintHop_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31109,7 +31254,7 @@ export function RouteHintHop_clone(orig: number): number {
 }
        // uint64_t RouteHintHop_hash(const struct LDKRouteHintHop *NONNULL_PTR o);
 /* @internal */
-export function RouteHintHop_hash(o: number): bigint {
+export function RouteHintHop_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31118,7 +31263,7 @@ export function RouteHintHop_hash(o: number): bigint {
 }
        // bool RouteHintHop_eq(const struct LDKRouteHintHop *NONNULL_PTR a, const struct LDKRouteHintHop *NONNULL_PTR b);
 /* @internal */
-export function RouteHintHop_eq(a: number, b: number): boolean {
+export function RouteHintHop_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31127,7 +31272,7 @@ export function RouteHintHop_eq(a: number, b: number): boolean {
 }
        // struct LDKCVec_u8Z RouteHintHop_write(const struct LDKRouteHintHop *NONNULL_PTR obj);
 /* @internal */
-export function RouteHintHop_write(obj: number): number {
+export function RouteHintHop_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31136,7 +31281,7 @@ export function RouteHintHop_write(obj: number): number {
 }
        // struct LDKCResult_RouteHintHopDecodeErrorZ RouteHintHop_read(struct LDKu8slice ser);
 /* @internal */
-export function RouteHintHop_read(ser: number): number {
+export function RouteHintHop_read(ser: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31145,7 +31290,7 @@ export function RouteHintHop_read(ser: number): number {
 }
        // struct LDKCResult_RouteLightningErrorZ find_route(struct LDKPublicKey our_node_pubkey, const struct LDKRouteParameters *NONNULL_PTR route_params, const struct LDKNetworkGraph *NONNULL_PTR network_graph, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKLogger logger, const struct LDKScore *NONNULL_PTR scorer, const uint8_t (*random_seed_bytes)[32]);
 /* @internal */
-export function find_route(our_node_pubkey: number, route_params: number, network_graph: number, first_hops: number, logger: number, scorer: number, random_seed_bytes: number): number {
+export function find_route(our_node_pubkey: number, route_params: bigint, network_graph: bigint, first_hops: number, logger: bigint, scorer: bigint, random_seed_bytes: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31154,7 +31299,7 @@ export function find_route(our_node_pubkey: number, route_params: number, networ
 }
        // struct LDKCResult_RouteLightningErrorZ build_route_from_hops(struct LDKPublicKey our_node_pubkey, struct LDKCVec_PublicKeyZ hops, const struct LDKRouteParameters *NONNULL_PTR route_params, const struct LDKNetworkGraph *NONNULL_PTR network_graph, struct LDKLogger logger, const uint8_t (*random_seed_bytes)[32]);
 /* @internal */
-export function build_route_from_hops(our_node_pubkey: number, hops: number, route_params: number, network_graph: number, logger: number, random_seed_bytes: number): number {
+export function build_route_from_hops(our_node_pubkey: number, hops: number, route_params: bigint, network_graph: bigint, logger: bigint, random_seed_bytes: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31163,7 +31308,7 @@ export function build_route_from_hops(our_node_pubkey: number, hops: number, rou
 }
        // void Score_free(struct LDKScore this_ptr);
 /* @internal */
-export function Score_free(this_ptr: number): void {
+export function Score_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31172,7 +31317,7 @@ export function Score_free(this_ptr: number): void {
 }
        // void LockableScore_free(struct LDKLockableScore this_ptr);
 /* @internal */
-export function LockableScore_free(this_ptr: number): void {
+export function LockableScore_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31181,7 +31326,7 @@ export function LockableScore_free(this_ptr: number): void {
 }
        // void MultiThreadedLockableScore_free(struct LDKMultiThreadedLockableScore this_obj);
 /* @internal */
-export function MultiThreadedLockableScore_free(this_obj: number): void {
+export function MultiThreadedLockableScore_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31190,7 +31335,7 @@ export function MultiThreadedLockableScore_free(this_obj: number): void {
 }
        // struct LDKCVec_u8Z MultiThreadedLockableScore_write(const struct LDKMultiThreadedLockableScore *NONNULL_PTR obj);
 /* @internal */
-export function MultiThreadedLockableScore_write(obj: number): number {
+export function MultiThreadedLockableScore_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31199,7 +31344,7 @@ export function MultiThreadedLockableScore_write(obj: number): number {
 }
        // MUST_USE_RES struct LDKMultiThreadedLockableScore MultiThreadedLockableScore_new(struct LDKScore score);
 /* @internal */
-export function MultiThreadedLockableScore_new(score: number): number {
+export function MultiThreadedLockableScore_new(score: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31208,7 +31353,7 @@ export function MultiThreadedLockableScore_new(score: number): number {
 }
        // void ChannelUsage_free(struct LDKChannelUsage this_obj);
 /* @internal */
-export function ChannelUsage_free(this_obj: number): void {
+export function ChannelUsage_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31217,7 +31362,7 @@ export function ChannelUsage_free(this_obj: number): void {
 }
        // uint64_t ChannelUsage_get_amount_msat(const struct LDKChannelUsage *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUsage_get_amount_msat(this_ptr: number): bigint {
+export function ChannelUsage_get_amount_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31226,7 +31371,7 @@ export function ChannelUsage_get_amount_msat(this_ptr: number): bigint {
 }
        // void ChannelUsage_set_amount_msat(struct LDKChannelUsage *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelUsage_set_amount_msat(this_ptr: number, val: bigint): void {
+export function ChannelUsage_set_amount_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31235,7 +31380,7 @@ export function ChannelUsage_set_amount_msat(this_ptr: number, val: bigint): voi
 }
        // uint64_t ChannelUsage_get_inflight_htlc_msat(const struct LDKChannelUsage *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUsage_get_inflight_htlc_msat(this_ptr: number): bigint {
+export function ChannelUsage_get_inflight_htlc_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31244,7 +31389,7 @@ export function ChannelUsage_get_inflight_htlc_msat(this_ptr: number): bigint {
 }
        // void ChannelUsage_set_inflight_htlc_msat(struct LDKChannelUsage *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ChannelUsage_set_inflight_htlc_msat(this_ptr: number, val: bigint): void {
+export function ChannelUsage_set_inflight_htlc_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31253,7 +31398,7 @@ export function ChannelUsage_set_inflight_htlc_msat(this_ptr: number, val: bigin
 }
        // struct LDKEffectiveCapacity ChannelUsage_get_effective_capacity(const struct LDKChannelUsage *NONNULL_PTR this_ptr);
 /* @internal */
-export function ChannelUsage_get_effective_capacity(this_ptr: number): number {
+export function ChannelUsage_get_effective_capacity(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31262,7 +31407,7 @@ export function ChannelUsage_get_effective_capacity(this_ptr: number): number {
 }
        // void ChannelUsage_set_effective_capacity(struct LDKChannelUsage *NONNULL_PTR this_ptr, struct LDKEffectiveCapacity val);
 /* @internal */
-export function ChannelUsage_set_effective_capacity(this_ptr: number, val: number): void {
+export function ChannelUsage_set_effective_capacity(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31271,16 +31416,16 @@ export function ChannelUsage_set_effective_capacity(this_ptr: number, val: numbe
 }
        // MUST_USE_RES struct LDKChannelUsage ChannelUsage_new(uint64_t amount_msat_arg, uint64_t inflight_htlc_msat_arg, struct LDKEffectiveCapacity effective_capacity_arg);
 /* @internal */
-export function ChannelUsage_new(amount_msat_arg: bigint, inflight_htlc_msat_arg: bigint, effective_capacity_arg: number): number {
+export function ChannelUsage_new(amount_msat_arg: bigint, inflight_htlc_msat_arg: bigint, effective_capacity_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ChannelUsage_new(amount_msat_arg, inflight_htlc_msat_arg, effective_capacity_arg);
        return nativeResponseValue;
 }
-       // uintptr_t ChannelUsage_clone_ptr(LDKChannelUsage *NONNULL_PTR arg);
+       // uint64_t ChannelUsage_clone_ptr(LDKChannelUsage *NONNULL_PTR arg);
 /* @internal */
-export function ChannelUsage_clone_ptr(arg: number): number {
+export function ChannelUsage_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31289,7 +31434,7 @@ export function ChannelUsage_clone_ptr(arg: number): number {
 }
        // struct LDKChannelUsage ChannelUsage_clone(const struct LDKChannelUsage *NONNULL_PTR orig);
 /* @internal */
-export function ChannelUsage_clone(orig: number): number {
+export function ChannelUsage_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31298,16 +31443,16 @@ export function ChannelUsage_clone(orig: number): number {
 }
        // void FixedPenaltyScorer_free(struct LDKFixedPenaltyScorer this_obj);
 /* @internal */
-export function FixedPenaltyScorer_free(this_obj: number): void {
+export function FixedPenaltyScorer_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_FixedPenaltyScorer_free(this_obj);
        // debug statements here
 }
-       // uintptr_t FixedPenaltyScorer_clone_ptr(LDKFixedPenaltyScorer *NONNULL_PTR arg);
+       // uint64_t FixedPenaltyScorer_clone_ptr(LDKFixedPenaltyScorer *NONNULL_PTR arg);
 /* @internal */
-export function FixedPenaltyScorer_clone_ptr(arg: number): number {
+export function FixedPenaltyScorer_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31316,7 +31461,7 @@ export function FixedPenaltyScorer_clone_ptr(arg: number): number {
 }
        // struct LDKFixedPenaltyScorer FixedPenaltyScorer_clone(const struct LDKFixedPenaltyScorer *NONNULL_PTR orig);
 /* @internal */
-export function FixedPenaltyScorer_clone(orig: number): number {
+export function FixedPenaltyScorer_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31325,7 +31470,7 @@ export function FixedPenaltyScorer_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKFixedPenaltyScorer FixedPenaltyScorer_with_penalty(uint64_t penalty_msat);
 /* @internal */
-export function FixedPenaltyScorer_with_penalty(penalty_msat: bigint): number {
+export function FixedPenaltyScorer_with_penalty(penalty_msat: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31334,7 +31479,7 @@ export function FixedPenaltyScorer_with_penalty(penalty_msat: bigint): number {
 }
        // struct LDKScore FixedPenaltyScorer_as_Score(const struct LDKFixedPenaltyScorer *NONNULL_PTR this_arg);
 /* @internal */
-export function FixedPenaltyScorer_as_Score(this_arg: number): number {
+export function FixedPenaltyScorer_as_Score(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31343,7 +31488,7 @@ export function FixedPenaltyScorer_as_Score(this_arg: number): number {
 }
        // struct LDKCVec_u8Z FixedPenaltyScorer_write(const struct LDKFixedPenaltyScorer *NONNULL_PTR obj);
 /* @internal */
-export function FixedPenaltyScorer_write(obj: number): number {
+export function FixedPenaltyScorer_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31352,7 +31497,7 @@ export function FixedPenaltyScorer_write(obj: number): number {
 }
        // struct LDKCResult_FixedPenaltyScorerDecodeErrorZ FixedPenaltyScorer_read(struct LDKu8slice ser, uint64_t arg);
 /* @internal */
-export function FixedPenaltyScorer_read(ser: number, arg: bigint): number {
+export function FixedPenaltyScorer_read(ser: number, arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31361,7 +31506,7 @@ export function FixedPenaltyScorer_read(ser: number, arg: bigint): number {
 }
        // void ProbabilisticScorer_free(struct LDKProbabilisticScorer this_obj);
 /* @internal */
-export function ProbabilisticScorer_free(this_obj: number): void {
+export function ProbabilisticScorer_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31370,7 +31515,7 @@ export function ProbabilisticScorer_free(this_obj: number): void {
 }
        // void ProbabilisticScoringParameters_free(struct LDKProbabilisticScoringParameters this_obj);
 /* @internal */
-export function ProbabilisticScoringParameters_free(this_obj: number): void {
+export function ProbabilisticScoringParameters_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31379,7 +31524,7 @@ export function ProbabilisticScoringParameters_free(this_obj: number): void {
 }
        // uint64_t ProbabilisticScoringParameters_get_base_penalty_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_base_penalty_msat(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_base_penalty_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31388,7 +31533,7 @@ export function ProbabilisticScoringParameters_get_base_penalty_msat(this_ptr: n
 }
        // void ProbabilisticScoringParameters_set_base_penalty_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_base_penalty_msat(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_base_penalty_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31397,7 +31542,7 @@ export function ProbabilisticScoringParameters_set_base_penalty_msat(this_ptr: n
 }
        // uint64_t ProbabilisticScoringParameters_get_base_penalty_amount_multiplier_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_base_penalty_amount_multiplier_msat(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_base_penalty_amount_multiplier_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31406,7 +31551,7 @@ export function ProbabilisticScoringParameters_get_base_penalty_amount_multiplie
 }
        // void ProbabilisticScoringParameters_set_base_penalty_amount_multiplier_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_base_penalty_amount_multiplier_msat(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_base_penalty_amount_multiplier_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31415,7 +31560,7 @@ export function ProbabilisticScoringParameters_set_base_penalty_amount_multiplie
 }
        // uint64_t ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_msat(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31424,7 +31569,7 @@ export function ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_
 }
        // void ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_msat(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31433,7 +31578,7 @@ export function ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_
 }
        // uint64_t ProbabilisticScoringParameters_get_liquidity_offset_half_life(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_liquidity_offset_half_life(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_liquidity_offset_half_life(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31442,7 +31587,7 @@ export function ProbabilisticScoringParameters_get_liquidity_offset_half_life(th
 }
        // void ProbabilisticScoringParameters_set_liquidity_offset_half_life(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_liquidity_offset_half_life(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_liquidity_offset_half_life(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31451,7 +31596,7 @@ export function ProbabilisticScoringParameters_set_liquidity_offset_half_life(th
 }
        // uint64_t ProbabilisticScoringParameters_get_liquidity_penalty_amount_multiplier_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_liquidity_penalty_amount_multiplier_msat(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_liquidity_penalty_amount_multiplier_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31460,7 +31605,7 @@ export function ProbabilisticScoringParameters_get_liquidity_penalty_amount_mult
 }
        // void ProbabilisticScoringParameters_set_liquidity_penalty_amount_multiplier_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_liquidity_penalty_amount_multiplier_msat(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_liquidity_penalty_amount_multiplier_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31469,7 +31614,7 @@ export function ProbabilisticScoringParameters_set_liquidity_penalty_amount_mult
 }
        // uint64_t ProbabilisticScoringParameters_get_anti_probing_penalty_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_anti_probing_penalty_msat(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_anti_probing_penalty_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31478,7 +31623,7 @@ export function ProbabilisticScoringParameters_get_anti_probing_penalty_msat(thi
 }
        // void ProbabilisticScoringParameters_set_anti_probing_penalty_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_anti_probing_penalty_msat(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_anti_probing_penalty_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31487,7 +31632,7 @@ export function ProbabilisticScoringParameters_set_anti_probing_penalty_msat(thi
 }
        // uint64_t ProbabilisticScoringParameters_get_considered_impossible_penalty_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr);
 /* @internal */
-export function ProbabilisticScoringParameters_get_considered_impossible_penalty_msat(this_ptr: number): bigint {
+export function ProbabilisticScoringParameters_get_considered_impossible_penalty_msat(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31496,16 +31641,16 @@ export function ProbabilisticScoringParameters_get_considered_impossible_penalty
 }
        // void ProbabilisticScoringParameters_set_considered_impossible_penalty_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function ProbabilisticScoringParameters_set_considered_impossible_penalty_msat(this_ptr: number, val: bigint): void {
+export function ProbabilisticScoringParameters_set_considered_impossible_penalty_msat(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ProbabilisticScoringParameters_set_considered_impossible_penalty_msat(this_ptr, val);
        // debug statements here
 }
-       // uintptr_t ProbabilisticScoringParameters_clone_ptr(LDKProbabilisticScoringParameters *NONNULL_PTR arg);
+       // uint64_t ProbabilisticScoringParameters_clone_ptr(LDKProbabilisticScoringParameters *NONNULL_PTR arg);
 /* @internal */
-export function ProbabilisticScoringParameters_clone_ptr(arg: number): number {
+export function ProbabilisticScoringParameters_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31514,7 +31659,7 @@ export function ProbabilisticScoringParameters_clone_ptr(arg: number): number {
 }
        // struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_clone(const struct LDKProbabilisticScoringParameters *NONNULL_PTR orig);
 /* @internal */
-export function ProbabilisticScoringParameters_clone(orig: number): number {
+export function ProbabilisticScoringParameters_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31523,7 +31668,7 @@ export function ProbabilisticScoringParameters_clone(orig: number): number {
 }
        // MUST_USE_RES struct LDKProbabilisticScorer ProbabilisticScorer_new(struct LDKProbabilisticScoringParameters params, const struct LDKNetworkGraph *NONNULL_PTR network_graph, struct LDKLogger logger);
 /* @internal */
-export function ProbabilisticScorer_new(params: number, network_graph: number, logger: number): number {
+export function ProbabilisticScorer_new(params: bigint, network_graph: bigint, logger: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31532,7 +31677,7 @@ export function ProbabilisticScorer_new(params: number, network_graph: number, l
 }
        // void ProbabilisticScorer_debug_log_liquidity_stats(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg);
 /* @internal */
-export function ProbabilisticScorer_debug_log_liquidity_stats(this_arg: number): void {
+export function ProbabilisticScorer_debug_log_liquidity_stats(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31541,7 +31686,7 @@ export function ProbabilisticScorer_debug_log_liquidity_stats(this_arg: number):
 }
        // MUST_USE_RES struct LDKCOption_C2Tuple_u64u64ZZ ProbabilisticScorer_estimated_channel_liquidity_range(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg, uint64_t scid, const struct LDKNodeId *NONNULL_PTR target);
 /* @internal */
-export function ProbabilisticScorer_estimated_channel_liquidity_range(this_arg: number, scid: bigint, target: number): number {
+export function ProbabilisticScorer_estimated_channel_liquidity_range(this_arg: bigint, scid: bigint, target: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31550,7 +31695,7 @@ export function ProbabilisticScorer_estimated_channel_liquidity_range(this_arg:
 }
        // void ProbabilisticScorer_add_banned(struct LDKProbabilisticScorer *NONNULL_PTR this_arg, const struct LDKNodeId *NONNULL_PTR node_id);
 /* @internal */
-export function ProbabilisticScorer_add_banned(this_arg: number, node_id: number): void {
+export function ProbabilisticScorer_add_banned(this_arg: bigint, node_id: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31559,7 +31704,7 @@ export function ProbabilisticScorer_add_banned(this_arg: number, node_id: number
 }
        // void ProbabilisticScorer_remove_banned(struct LDKProbabilisticScorer *NONNULL_PTR this_arg, const struct LDKNodeId *NONNULL_PTR node_id);
 /* @internal */
-export function ProbabilisticScorer_remove_banned(this_arg: number, node_id: number): void {
+export function ProbabilisticScorer_remove_banned(this_arg: bigint, node_id: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31568,7 +31713,7 @@ export function ProbabilisticScorer_remove_banned(this_arg: number, node_id: num
 }
        // void ProbabilisticScorer_set_manual_penalty(struct LDKProbabilisticScorer *NONNULL_PTR this_arg, const struct LDKNodeId *NONNULL_PTR node_id, uint64_t penalty);
 /* @internal */
-export function ProbabilisticScorer_set_manual_penalty(this_arg: number, node_id: number, penalty: bigint): void {
+export function ProbabilisticScorer_set_manual_penalty(this_arg: bigint, node_id: bigint, penalty: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31577,7 +31722,7 @@ export function ProbabilisticScorer_set_manual_penalty(this_arg: number, node_id
 }
        // void ProbabilisticScorer_remove_manual_penalty(struct LDKProbabilisticScorer *NONNULL_PTR this_arg, const struct LDKNodeId *NONNULL_PTR node_id);
 /* @internal */
-export function ProbabilisticScorer_remove_manual_penalty(this_arg: number, node_id: number): void {
+export function ProbabilisticScorer_remove_manual_penalty(this_arg: bigint, node_id: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31586,7 +31731,7 @@ export function ProbabilisticScorer_remove_manual_penalty(this_arg: number, node
 }
        // void ProbabilisticScorer_clear_manual_penalties(struct LDKProbabilisticScorer *NONNULL_PTR this_arg);
 /* @internal */
-export function ProbabilisticScorer_clear_manual_penalties(this_arg: number): void {
+export function ProbabilisticScorer_clear_manual_penalties(this_arg: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31595,7 +31740,7 @@ export function ProbabilisticScorer_clear_manual_penalties(this_arg: number): vo
 }
        // void ProbabilisticScoringParameters_add_banned_from_list(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_arg, struct LDKCVec_NodeIdZ node_ids);
 /* @internal */
-export function ProbabilisticScoringParameters_add_banned_from_list(this_arg: number, node_ids: number): void {
+export function ProbabilisticScoringParameters_add_banned_from_list(this_arg: bigint, node_ids: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31604,7 +31749,7 @@ export function ProbabilisticScoringParameters_add_banned_from_list(this_arg: nu
 }
        // MUST_USE_RES struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_default(void);
 /* @internal */
-export function ProbabilisticScoringParameters_default(): number {
+export function ProbabilisticScoringParameters_default(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31613,7 +31758,7 @@ export function ProbabilisticScoringParameters_default(): number {
 }
        // struct LDKScore ProbabilisticScorer_as_Score(const struct LDKProbabilisticScorer *NONNULL_PTR this_arg);
 /* @internal */
-export function ProbabilisticScorer_as_Score(this_arg: number): number {
+export function ProbabilisticScorer_as_Score(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31622,7 +31767,7 @@ export function ProbabilisticScorer_as_Score(this_arg: number): number {
 }
        // struct LDKCVec_u8Z ProbabilisticScorer_write(const struct LDKProbabilisticScorer *NONNULL_PTR obj);
 /* @internal */
-export function ProbabilisticScorer_write(obj: number): number {
+export function ProbabilisticScorer_write(obj: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31631,7 +31776,7 @@ export function ProbabilisticScorer_write(obj: number): number {
 }
        // struct LDKCResult_ProbabilisticScorerDecodeErrorZ ProbabilisticScorer_read(struct LDKu8slice ser, struct LDKProbabilisticScoringParameters arg_a, const struct LDKNetworkGraph *NONNULL_PTR arg_b, struct LDKLogger arg_c);
 /* @internal */
-export function ProbabilisticScorer_read(ser: number, arg_a: number, arg_b: number, arg_c: number): number {
+export function ProbabilisticScorer_read(ser: number, arg_a: bigint, arg_b: bigint, arg_c: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31640,16 +31785,16 @@ export function ProbabilisticScorer_read(ser: number, arg_a: number, arg_b: numb
 }
        // void ParseError_free(struct LDKParseError this_ptr);
 /* @internal */
-export function ParseError_free(this_ptr: number): void {
+export function ParseError_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ParseError_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t ParseError_clone_ptr(LDKParseError *NONNULL_PTR arg);
+       // uint64_t ParseError_clone_ptr(LDKParseError *NONNULL_PTR arg);
 /* @internal */
-export function ParseError_clone_ptr(arg: number): number {
+export function ParseError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31658,7 +31803,7 @@ export function ParseError_clone_ptr(arg: number): number {
 }
        // struct LDKParseError ParseError_clone(const struct LDKParseError *NONNULL_PTR orig);
 /* @internal */
-export function ParseError_clone(orig: number): number {
+export function ParseError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31667,7 +31812,7 @@ export function ParseError_clone(orig: number): number {
 }
        // struct LDKParseError ParseError_bech32_error(struct LDKBech32Error a);
 /* @internal */
-export function ParseError_bech32_error(a: number): number {
+export function ParseError_bech32_error(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31676,7 +31821,7 @@ export function ParseError_bech32_error(a: number): number {
 }
        // struct LDKParseError ParseError_parse_amount_error(struct LDKError a);
 /* @internal */
-export function ParseError_parse_amount_error(a: number): number {
+export function ParseError_parse_amount_error(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31685,7 +31830,7 @@ export function ParseError_parse_amount_error(a: number): number {
 }
        // struct LDKParseError ParseError_malformed_signature(enum LDKSecp256k1Error a);
 /* @internal */
-export function ParseError_malformed_signature(a: Secp256k1Error): number {
+export function ParseError_malformed_signature(a: Secp256k1Error): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31694,7 +31839,7 @@ export function ParseError_malformed_signature(a: Secp256k1Error): number {
 }
        // struct LDKParseError ParseError_bad_prefix(void);
 /* @internal */
-export function ParseError_bad_prefix(): number {
+export function ParseError_bad_prefix(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31703,7 +31848,7 @@ export function ParseError_bad_prefix(): number {
 }
        // struct LDKParseError ParseError_unknown_currency(void);
 /* @internal */
-export function ParseError_unknown_currency(): number {
+export function ParseError_unknown_currency(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31712,7 +31857,7 @@ export function ParseError_unknown_currency(): number {
 }
        // struct LDKParseError ParseError_unknown_si_prefix(void);
 /* @internal */
-export function ParseError_unknown_si_prefix(): number {
+export function ParseError_unknown_si_prefix(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31721,7 +31866,7 @@ export function ParseError_unknown_si_prefix(): number {
 }
        // struct LDKParseError ParseError_malformed_hrp(void);
 /* @internal */
-export function ParseError_malformed_hrp(): number {
+export function ParseError_malformed_hrp(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31730,7 +31875,7 @@ export function ParseError_malformed_hrp(): number {
 }
        // struct LDKParseError ParseError_too_short_data_part(void);
 /* @internal */
-export function ParseError_too_short_data_part(): number {
+export function ParseError_too_short_data_part(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31739,7 +31884,7 @@ export function ParseError_too_short_data_part(): number {
 }
        // struct LDKParseError ParseError_unexpected_end_of_tagged_fields(void);
 /* @internal */
-export function ParseError_unexpected_end_of_tagged_fields(): number {
+export function ParseError_unexpected_end_of_tagged_fields(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31748,7 +31893,7 @@ export function ParseError_unexpected_end_of_tagged_fields(): number {
 }
        // struct LDKParseError ParseError_description_decode_error(struct LDKError a);
 /* @internal */
-export function ParseError_description_decode_error(a: number): number {
+export function ParseError_description_decode_error(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31757,7 +31902,7 @@ export function ParseError_description_decode_error(a: number): number {
 }
        // struct LDKParseError ParseError_padding_error(void);
 /* @internal */
-export function ParseError_padding_error(): number {
+export function ParseError_padding_error(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31766,7 +31911,7 @@ export function ParseError_padding_error(): number {
 }
        // struct LDKParseError ParseError_integer_overflow_error(void);
 /* @internal */
-export function ParseError_integer_overflow_error(): number {
+export function ParseError_integer_overflow_error(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31775,7 +31920,7 @@ export function ParseError_integer_overflow_error(): number {
 }
        // struct LDKParseError ParseError_invalid_seg_wit_program_length(void);
 /* @internal */
-export function ParseError_invalid_seg_wit_program_length(): number {
+export function ParseError_invalid_seg_wit_program_length(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31784,7 +31929,7 @@ export function ParseError_invalid_seg_wit_program_length(): number {
 }
        // struct LDKParseError ParseError_invalid_pub_key_hash_length(void);
 /* @internal */
-export function ParseError_invalid_pub_key_hash_length(): number {
+export function ParseError_invalid_pub_key_hash_length(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31793,7 +31938,7 @@ export function ParseError_invalid_pub_key_hash_length(): number {
 }
        // struct LDKParseError ParseError_invalid_script_hash_length(void);
 /* @internal */
-export function ParseError_invalid_script_hash_length(): number {
+export function ParseError_invalid_script_hash_length(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31802,7 +31947,7 @@ export function ParseError_invalid_script_hash_length(): number {
 }
        // struct LDKParseError ParseError_invalid_recovery_id(void);
 /* @internal */
-export function ParseError_invalid_recovery_id(): number {
+export function ParseError_invalid_recovery_id(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31811,7 +31956,7 @@ export function ParseError_invalid_recovery_id(): number {
 }
        // struct LDKParseError ParseError_invalid_slice_length(struct LDKStr a);
 /* @internal */
-export function ParseError_invalid_slice_length(a: number): number {
+export function ParseError_invalid_slice_length(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31820,7 +31965,7 @@ export function ParseError_invalid_slice_length(a: number): number {
 }
        // struct LDKParseError ParseError_skip(void);
 /* @internal */
-export function ParseError_skip(): number {
+export function ParseError_skip(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31829,16 +31974,16 @@ export function ParseError_skip(): number {
 }
        // void ParseOrSemanticError_free(struct LDKParseOrSemanticError this_ptr);
 /* @internal */
-export function ParseOrSemanticError_free(this_ptr: number): void {
+export function ParseOrSemanticError_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ParseOrSemanticError_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t ParseOrSemanticError_clone_ptr(LDKParseOrSemanticError *NONNULL_PTR arg);
+       // uint64_t ParseOrSemanticError_clone_ptr(LDKParseOrSemanticError *NONNULL_PTR arg);
 /* @internal */
-export function ParseOrSemanticError_clone_ptr(arg: number): number {
+export function ParseOrSemanticError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31847,7 +31992,7 @@ export function ParseOrSemanticError_clone_ptr(arg: number): number {
 }
        // struct LDKParseOrSemanticError ParseOrSemanticError_clone(const struct LDKParseOrSemanticError *NONNULL_PTR orig);
 /* @internal */
-export function ParseOrSemanticError_clone(orig: number): number {
+export function ParseOrSemanticError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31856,7 +32001,7 @@ export function ParseOrSemanticError_clone(orig: number): number {
 }
        // struct LDKParseOrSemanticError ParseOrSemanticError_parse_error(struct LDKParseError a);
 /* @internal */
-export function ParseOrSemanticError_parse_error(a: number): number {
+export function ParseOrSemanticError_parse_error(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31865,7 +32010,7 @@ export function ParseOrSemanticError_parse_error(a: number): number {
 }
        // struct LDKParseOrSemanticError ParseOrSemanticError_semantic_error(enum LDKSemanticError a);
 /* @internal */
-export function ParseOrSemanticError_semantic_error(a: SemanticError): number {
+export function ParseOrSemanticError_semantic_error(a: SemanticError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31874,7 +32019,7 @@ export function ParseOrSemanticError_semantic_error(a: SemanticError): number {
 }
        // void Invoice_free(struct LDKInvoice this_obj);
 /* @internal */
-export function Invoice_free(this_obj: number): void {
+export function Invoice_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31883,16 +32028,16 @@ export function Invoice_free(this_obj: number): void {
 }
        // bool Invoice_eq(const struct LDKInvoice *NONNULL_PTR a, const struct LDKInvoice *NONNULL_PTR b);
 /* @internal */
-export function Invoice_eq(a: number, b: number): boolean {
+export function Invoice_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Invoice_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t Invoice_clone_ptr(LDKInvoice *NONNULL_PTR arg);
+       // uint64_t Invoice_clone_ptr(LDKInvoice *NONNULL_PTR arg);
 /* @internal */
-export function Invoice_clone_ptr(arg: number): number {
+export function Invoice_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31901,7 +32046,7 @@ export function Invoice_clone_ptr(arg: number): number {
 }
        // struct LDKInvoice Invoice_clone(const struct LDKInvoice *NONNULL_PTR orig);
 /* @internal */
-export function Invoice_clone(orig: number): number {
+export function Invoice_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31910,7 +32055,7 @@ export function Invoice_clone(orig: number): number {
 }
        // void SignedRawInvoice_free(struct LDKSignedRawInvoice this_obj);
 /* @internal */
-export function SignedRawInvoice_free(this_obj: number): void {
+export function SignedRawInvoice_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31919,16 +32064,16 @@ export function SignedRawInvoice_free(this_obj: number): void {
 }
        // bool SignedRawInvoice_eq(const struct LDKSignedRawInvoice *NONNULL_PTR a, const struct LDKSignedRawInvoice *NONNULL_PTR b);
 /* @internal */
-export function SignedRawInvoice_eq(a: number, b: number): boolean {
+export function SignedRawInvoice_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_SignedRawInvoice_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t SignedRawInvoice_clone_ptr(LDKSignedRawInvoice *NONNULL_PTR arg);
+       // uint64_t SignedRawInvoice_clone_ptr(LDKSignedRawInvoice *NONNULL_PTR arg);
 /* @internal */
-export function SignedRawInvoice_clone_ptr(arg: number): number {
+export function SignedRawInvoice_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31937,7 +32082,7 @@ export function SignedRawInvoice_clone_ptr(arg: number): number {
 }
        // struct LDKSignedRawInvoice SignedRawInvoice_clone(const struct LDKSignedRawInvoice *NONNULL_PTR orig);
 /* @internal */
-export function SignedRawInvoice_clone(orig: number): number {
+export function SignedRawInvoice_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31946,7 +32091,7 @@ export function SignedRawInvoice_clone(orig: number): number {
 }
        // void RawInvoice_free(struct LDKRawInvoice this_obj);
 /* @internal */
-export function RawInvoice_free(this_obj: number): void {
+export function RawInvoice_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31955,7 +32100,7 @@ export function RawInvoice_free(this_obj: number): void {
 }
        // struct LDKRawDataPart RawInvoice_get_data(const struct LDKRawInvoice *NONNULL_PTR this_ptr);
 /* @internal */
-export function RawInvoice_get_data(this_ptr: number): number {
+export function RawInvoice_get_data(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31964,7 +32109,7 @@ export function RawInvoice_get_data(this_ptr: number): number {
 }
        // void RawInvoice_set_data(struct LDKRawInvoice *NONNULL_PTR this_ptr, struct LDKRawDataPart val);
 /* @internal */
-export function RawInvoice_set_data(this_ptr: number, val: number): void {
+export function RawInvoice_set_data(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31973,16 +32118,16 @@ export function RawInvoice_set_data(this_ptr: number, val: number): void {
 }
        // bool RawInvoice_eq(const struct LDKRawInvoice *NONNULL_PTR a, const struct LDKRawInvoice *NONNULL_PTR b);
 /* @internal */
-export function RawInvoice_eq(a: number, b: number): boolean {
+export function RawInvoice_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RawInvoice_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t RawInvoice_clone_ptr(LDKRawInvoice *NONNULL_PTR arg);
+       // uint64_t RawInvoice_clone_ptr(LDKRawInvoice *NONNULL_PTR arg);
 /* @internal */
-export function RawInvoice_clone_ptr(arg: number): number {
+export function RawInvoice_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -31991,7 +32136,7 @@ export function RawInvoice_clone_ptr(arg: number): number {
 }
        // struct LDKRawInvoice RawInvoice_clone(const struct LDKRawInvoice *NONNULL_PTR orig);
 /* @internal */
-export function RawInvoice_clone(orig: number): number {
+export function RawInvoice_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32000,7 +32145,7 @@ export function RawInvoice_clone(orig: number): number {
 }
        // void RawDataPart_free(struct LDKRawDataPart this_obj);
 /* @internal */
-export function RawDataPart_free(this_obj: number): void {
+export function RawDataPart_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32009,7 +32154,7 @@ export function RawDataPart_free(this_obj: number): void {
 }
        // struct LDKPositiveTimestamp RawDataPart_get_timestamp(const struct LDKRawDataPart *NONNULL_PTR this_ptr);
 /* @internal */
-export function RawDataPart_get_timestamp(this_ptr: number): number {
+export function RawDataPart_get_timestamp(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32018,7 +32163,7 @@ export function RawDataPart_get_timestamp(this_ptr: number): number {
 }
        // void RawDataPart_set_timestamp(struct LDKRawDataPart *NONNULL_PTR this_ptr, struct LDKPositiveTimestamp val);
 /* @internal */
-export function RawDataPart_set_timestamp(this_ptr: number, val: number): void {
+export function RawDataPart_set_timestamp(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32027,16 +32172,16 @@ export function RawDataPart_set_timestamp(this_ptr: number, val: number): void {
 }
        // bool RawDataPart_eq(const struct LDKRawDataPart *NONNULL_PTR a, const struct LDKRawDataPart *NONNULL_PTR b);
 /* @internal */
-export function RawDataPart_eq(a: number, b: number): boolean {
+export function RawDataPart_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_RawDataPart_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t RawDataPart_clone_ptr(LDKRawDataPart *NONNULL_PTR arg);
+       // uint64_t RawDataPart_clone_ptr(LDKRawDataPart *NONNULL_PTR arg);
 /* @internal */
-export function RawDataPart_clone_ptr(arg: number): number {
+export function RawDataPart_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32045,7 +32190,7 @@ export function RawDataPart_clone_ptr(arg: number): number {
 }
        // struct LDKRawDataPart RawDataPart_clone(const struct LDKRawDataPart *NONNULL_PTR orig);
 /* @internal */
-export function RawDataPart_clone(orig: number): number {
+export function RawDataPart_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32054,7 +32199,7 @@ export function RawDataPart_clone(orig: number): number {
 }
        // void PositiveTimestamp_free(struct LDKPositiveTimestamp this_obj);
 /* @internal */
-export function PositiveTimestamp_free(this_obj: number): void {
+export function PositiveTimestamp_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32063,16 +32208,16 @@ export function PositiveTimestamp_free(this_obj: number): void {
 }
        // bool PositiveTimestamp_eq(const struct LDKPositiveTimestamp *NONNULL_PTR a, const struct LDKPositiveTimestamp *NONNULL_PTR b);
 /* @internal */
-export function PositiveTimestamp_eq(a: number, b: number): boolean {
+export function PositiveTimestamp_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PositiveTimestamp_eq(a, b);
        return nativeResponseValue;
 }
-       // uintptr_t PositiveTimestamp_clone_ptr(LDKPositiveTimestamp *NONNULL_PTR arg);
+       // uint64_t PositiveTimestamp_clone_ptr(LDKPositiveTimestamp *NONNULL_PTR arg);
 /* @internal */
-export function PositiveTimestamp_clone_ptr(arg: number): number {
+export function PositiveTimestamp_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32081,7 +32226,7 @@ export function PositiveTimestamp_clone_ptr(arg: number): number {
 }
        // struct LDKPositiveTimestamp PositiveTimestamp_clone(const struct LDKPositiveTimestamp *NONNULL_PTR orig);
 /* @internal */
-export function PositiveTimestamp_clone(orig: number): number {
+export function PositiveTimestamp_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32090,7 +32235,7 @@ export function PositiveTimestamp_clone(orig: number): number {
 }
        // enum LDKSiPrefix SiPrefix_clone(const enum LDKSiPrefix *NONNULL_PTR orig);
 /* @internal */
-export function SiPrefix_clone(orig: number): SiPrefix {
+export function SiPrefix_clone(orig: bigint): SiPrefix {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32135,7 +32280,7 @@ export function SiPrefix_pico(): SiPrefix {
 }
        // bool SiPrefix_eq(const enum LDKSiPrefix *NONNULL_PTR a, const enum LDKSiPrefix *NONNULL_PTR b);
 /* @internal */
-export function SiPrefix_eq(a: number, b: number): boolean {
+export function SiPrefix_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32144,7 +32289,7 @@ export function SiPrefix_eq(a: number, b: number): boolean {
 }
        // MUST_USE_RES uint64_t SiPrefix_multiplier(const enum LDKSiPrefix *NONNULL_PTR this_arg);
 /* @internal */
-export function SiPrefix_multiplier(this_arg: number): bigint {
+export function SiPrefix_multiplier(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32153,7 +32298,7 @@ export function SiPrefix_multiplier(this_arg: number): bigint {
 }
        // enum LDKCurrency Currency_clone(const enum LDKCurrency *NONNULL_PTR orig);
 /* @internal */
-export function Currency_clone(orig: number): Currency {
+export function Currency_clone(orig: bigint): Currency {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32207,7 +32352,7 @@ export function Currency_signet(): Currency {
 }
        // uint64_t Currency_hash(const enum LDKCurrency *NONNULL_PTR o);
 /* @internal */
-export function Currency_hash(o: number): bigint {
+export function Currency_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32216,7 +32361,7 @@ export function Currency_hash(o: number): bigint {
 }
        // bool Currency_eq(const enum LDKCurrency *NONNULL_PTR a, const enum LDKCurrency *NONNULL_PTR b);
 /* @internal */
-export function Currency_eq(a: number, b: number): boolean {
+export function Currency_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32225,16 +32370,16 @@ export function Currency_eq(a: number, b: number): boolean {
 }
        // void Sha256_free(struct LDKSha256 this_obj);
 /* @internal */
-export function Sha256_free(this_obj: number): void {
+export function Sha256_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Sha256_free(this_obj);
        // debug statements here
 }
-       // uintptr_t Sha256_clone_ptr(LDKSha256 *NONNULL_PTR arg);
+       // uint64_t Sha256_clone_ptr(LDKSha256 *NONNULL_PTR arg);
 /* @internal */
-export function Sha256_clone_ptr(arg: number): number {
+export function Sha256_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32243,7 +32388,7 @@ export function Sha256_clone_ptr(arg: number): number {
 }
        // struct LDKSha256 Sha256_clone(const struct LDKSha256 *NONNULL_PTR orig);
 /* @internal */
-export function Sha256_clone(orig: number): number {
+export function Sha256_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32252,7 +32397,7 @@ export function Sha256_clone(orig: number): number {
 }
        // uint64_t Sha256_hash(const struct LDKSha256 *NONNULL_PTR o);
 /* @internal */
-export function Sha256_hash(o: number): bigint {
+export function Sha256_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32261,7 +32406,7 @@ export function Sha256_hash(o: number): bigint {
 }
        // bool Sha256_eq(const struct LDKSha256 *NONNULL_PTR a, const struct LDKSha256 *NONNULL_PTR b);
 /* @internal */
-export function Sha256_eq(a: number, b: number): boolean {
+export function Sha256_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32270,16 +32415,16 @@ export function Sha256_eq(a: number, b: number): boolean {
 }
        // void Description_free(struct LDKDescription this_obj);
 /* @internal */
-export function Description_free(this_obj: number): void {
+export function Description_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Description_free(this_obj);
        // debug statements here
 }
-       // uintptr_t Description_clone_ptr(LDKDescription *NONNULL_PTR arg);
+       // uint64_t Description_clone_ptr(LDKDescription *NONNULL_PTR arg);
 /* @internal */
-export function Description_clone_ptr(arg: number): number {
+export function Description_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32288,7 +32433,7 @@ export function Description_clone_ptr(arg: number): number {
 }
        // struct LDKDescription Description_clone(const struct LDKDescription *NONNULL_PTR orig);
 /* @internal */
-export function Description_clone(orig: number): number {
+export function Description_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32297,7 +32442,7 @@ export function Description_clone(orig: number): number {
 }
        // uint64_t Description_hash(const struct LDKDescription *NONNULL_PTR o);
 /* @internal */
-export function Description_hash(o: number): bigint {
+export function Description_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32306,7 +32451,7 @@ export function Description_hash(o: number): bigint {
 }
        // bool Description_eq(const struct LDKDescription *NONNULL_PTR a, const struct LDKDescription *NONNULL_PTR b);
 /* @internal */
-export function Description_eq(a: number, b: number): boolean {
+export function Description_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32315,7 +32460,7 @@ export function Description_eq(a: number, b: number): boolean {
 }
        // void PayeePubKey_free(struct LDKPayeePubKey this_obj);
 /* @internal */
-export function PayeePubKey_free(this_obj: number): void {
+export function PayeePubKey_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32324,7 +32469,7 @@ export function PayeePubKey_free(this_obj: number): void {
 }
        // struct LDKPublicKey PayeePubKey_get_a(const struct LDKPayeePubKey *NONNULL_PTR this_ptr);
 /* @internal */
-export function PayeePubKey_get_a(this_ptr: number): number {
+export function PayeePubKey_get_a(this_ptr: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32333,7 +32478,7 @@ export function PayeePubKey_get_a(this_ptr: number): number {
 }
        // void PayeePubKey_set_a(struct LDKPayeePubKey *NONNULL_PTR this_ptr, struct LDKPublicKey val);
 /* @internal */
-export function PayeePubKey_set_a(this_ptr: number, val: number): void {
+export function PayeePubKey_set_a(this_ptr: bigint, val: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32342,16 +32487,16 @@ export function PayeePubKey_set_a(this_ptr: number, val: number): void {
 }
        // MUST_USE_RES struct LDKPayeePubKey PayeePubKey_new(struct LDKPublicKey a_arg);
 /* @internal */
-export function PayeePubKey_new(a_arg: number): number {
+export function PayeePubKey_new(a_arg: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PayeePubKey_new(a_arg);
        return nativeResponseValue;
 }
-       // uintptr_t PayeePubKey_clone_ptr(LDKPayeePubKey *NONNULL_PTR arg);
+       // uint64_t PayeePubKey_clone_ptr(LDKPayeePubKey *NONNULL_PTR arg);
 /* @internal */
-export function PayeePubKey_clone_ptr(arg: number): number {
+export function PayeePubKey_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32360,7 +32505,7 @@ export function PayeePubKey_clone_ptr(arg: number): number {
 }
        // struct LDKPayeePubKey PayeePubKey_clone(const struct LDKPayeePubKey *NONNULL_PTR orig);
 /* @internal */
-export function PayeePubKey_clone(orig: number): number {
+export function PayeePubKey_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32369,7 +32514,7 @@ export function PayeePubKey_clone(orig: number): number {
 }
        // uint64_t PayeePubKey_hash(const struct LDKPayeePubKey *NONNULL_PTR o);
 /* @internal */
-export function PayeePubKey_hash(o: number): bigint {
+export function PayeePubKey_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32378,7 +32523,7 @@ export function PayeePubKey_hash(o: number): bigint {
 }
        // bool PayeePubKey_eq(const struct LDKPayeePubKey *NONNULL_PTR a, const struct LDKPayeePubKey *NONNULL_PTR b);
 /* @internal */
-export function PayeePubKey_eq(a: number, b: number): boolean {
+export function PayeePubKey_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32387,16 +32532,16 @@ export function PayeePubKey_eq(a: number, b: number): boolean {
 }
        // void ExpiryTime_free(struct LDKExpiryTime this_obj);
 /* @internal */
-export function ExpiryTime_free(this_obj: number): void {
+export function ExpiryTime_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_ExpiryTime_free(this_obj);
        // debug statements here
 }
-       // uintptr_t ExpiryTime_clone_ptr(LDKExpiryTime *NONNULL_PTR arg);
+       // uint64_t ExpiryTime_clone_ptr(LDKExpiryTime *NONNULL_PTR arg);
 /* @internal */
-export function ExpiryTime_clone_ptr(arg: number): number {
+export function ExpiryTime_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32405,7 +32550,7 @@ export function ExpiryTime_clone_ptr(arg: number): number {
 }
        // struct LDKExpiryTime ExpiryTime_clone(const struct LDKExpiryTime *NONNULL_PTR orig);
 /* @internal */
-export function ExpiryTime_clone(orig: number): number {
+export function ExpiryTime_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32414,7 +32559,7 @@ export function ExpiryTime_clone(orig: number): number {
 }
        // uint64_t ExpiryTime_hash(const struct LDKExpiryTime *NONNULL_PTR o);
 /* @internal */
-export function ExpiryTime_hash(o: number): bigint {
+export function ExpiryTime_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32423,7 +32568,7 @@ export function ExpiryTime_hash(o: number): bigint {
 }
        // bool ExpiryTime_eq(const struct LDKExpiryTime *NONNULL_PTR a, const struct LDKExpiryTime *NONNULL_PTR b);
 /* @internal */
-export function ExpiryTime_eq(a: number, b: number): boolean {
+export function ExpiryTime_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32432,7 +32577,7 @@ export function ExpiryTime_eq(a: number, b: number): boolean {
 }
        // void MinFinalCltvExpiry_free(struct LDKMinFinalCltvExpiry this_obj);
 /* @internal */
-export function MinFinalCltvExpiry_free(this_obj: number): void {
+export function MinFinalCltvExpiry_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32441,7 +32586,7 @@ export function MinFinalCltvExpiry_free(this_obj: number): void {
 }
        // uint64_t MinFinalCltvExpiry_get_a(const struct LDKMinFinalCltvExpiry *NONNULL_PTR this_ptr);
 /* @internal */
-export function MinFinalCltvExpiry_get_a(this_ptr: number): bigint {
+export function MinFinalCltvExpiry_get_a(this_ptr: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32450,7 +32595,7 @@ export function MinFinalCltvExpiry_get_a(this_ptr: number): bigint {
 }
        // void MinFinalCltvExpiry_set_a(struct LDKMinFinalCltvExpiry *NONNULL_PTR this_ptr, uint64_t val);
 /* @internal */
-export function MinFinalCltvExpiry_set_a(this_ptr: number, val: bigint): void {
+export function MinFinalCltvExpiry_set_a(this_ptr: bigint, val: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32459,16 +32604,16 @@ export function MinFinalCltvExpiry_set_a(this_ptr: number, val: bigint): void {
 }
        // MUST_USE_RES struct LDKMinFinalCltvExpiry MinFinalCltvExpiry_new(uint64_t a_arg);
 /* @internal */
-export function MinFinalCltvExpiry_new(a_arg: bigint): number {
+export function MinFinalCltvExpiry_new(a_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_MinFinalCltvExpiry_new(a_arg);
        return nativeResponseValue;
 }
-       // uintptr_t MinFinalCltvExpiry_clone_ptr(LDKMinFinalCltvExpiry *NONNULL_PTR arg);
+       // uint64_t MinFinalCltvExpiry_clone_ptr(LDKMinFinalCltvExpiry *NONNULL_PTR arg);
 /* @internal */
-export function MinFinalCltvExpiry_clone_ptr(arg: number): number {
+export function MinFinalCltvExpiry_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32477,7 +32622,7 @@ export function MinFinalCltvExpiry_clone_ptr(arg: number): number {
 }
        // struct LDKMinFinalCltvExpiry MinFinalCltvExpiry_clone(const struct LDKMinFinalCltvExpiry *NONNULL_PTR orig);
 /* @internal */
-export function MinFinalCltvExpiry_clone(orig: number): number {
+export function MinFinalCltvExpiry_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32486,7 +32631,7 @@ export function MinFinalCltvExpiry_clone(orig: number): number {
 }
        // uint64_t MinFinalCltvExpiry_hash(const struct LDKMinFinalCltvExpiry *NONNULL_PTR o);
 /* @internal */
-export function MinFinalCltvExpiry_hash(o: number): bigint {
+export function MinFinalCltvExpiry_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32495,7 +32640,7 @@ export function MinFinalCltvExpiry_hash(o: number): bigint {
 }
        // bool MinFinalCltvExpiry_eq(const struct LDKMinFinalCltvExpiry *NONNULL_PTR a, const struct LDKMinFinalCltvExpiry *NONNULL_PTR b);
 /* @internal */
-export function MinFinalCltvExpiry_eq(a: number, b: number): boolean {
+export function MinFinalCltvExpiry_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32504,16 +32649,16 @@ export function MinFinalCltvExpiry_eq(a: number, b: number): boolean {
 }
        // void Fallback_free(struct LDKFallback this_ptr);
 /* @internal */
-export function Fallback_free(this_ptr: number): void {
+export function Fallback_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Fallback_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t Fallback_clone_ptr(LDKFallback *NONNULL_PTR arg);
+       // uint64_t Fallback_clone_ptr(LDKFallback *NONNULL_PTR arg);
 /* @internal */
-export function Fallback_clone_ptr(arg: number): number {
+export function Fallback_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32522,7 +32667,7 @@ export function Fallback_clone_ptr(arg: number): number {
 }
        // struct LDKFallback Fallback_clone(const struct LDKFallback *NONNULL_PTR orig);
 /* @internal */
-export function Fallback_clone(orig: number): number {
+export function Fallback_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32531,7 +32676,7 @@ export function Fallback_clone(orig: number): number {
 }
        // struct LDKFallback Fallback_seg_wit_program(struct LDKu5 version, struct LDKCVec_u8Z program);
 /* @internal */
-export function Fallback_seg_wit_program(version: number, program: number): number {
+export function Fallback_seg_wit_program(version: number, program: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32540,7 +32685,7 @@ export function Fallback_seg_wit_program(version: number, program: number): numb
 }
        // struct LDKFallback Fallback_pub_key_hash(struct LDKTwentyBytes a);
 /* @internal */
-export function Fallback_pub_key_hash(a: number): number {
+export function Fallback_pub_key_hash(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32549,7 +32694,7 @@ export function Fallback_pub_key_hash(a: number): number {
 }
        // struct LDKFallback Fallback_script_hash(struct LDKTwentyBytes a);
 /* @internal */
-export function Fallback_script_hash(a: number): number {
+export function Fallback_script_hash(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32558,7 +32703,7 @@ export function Fallback_script_hash(a: number): number {
 }
        // uint64_t Fallback_hash(const struct LDKFallback *NONNULL_PTR o);
 /* @internal */
-export function Fallback_hash(o: number): bigint {
+export function Fallback_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32567,7 +32712,7 @@ export function Fallback_hash(o: number): bigint {
 }
        // bool Fallback_eq(const struct LDKFallback *NONNULL_PTR a, const struct LDKFallback *NONNULL_PTR b);
 /* @internal */
-export function Fallback_eq(a: number, b: number): boolean {
+export function Fallback_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32576,16 +32721,16 @@ export function Fallback_eq(a: number, b: number): boolean {
 }
        // void InvoiceSignature_free(struct LDKInvoiceSignature this_obj);
 /* @internal */
-export function InvoiceSignature_free(this_obj: number): void {
+export function InvoiceSignature_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_InvoiceSignature_free(this_obj);
        // debug statements here
 }
-       // uintptr_t InvoiceSignature_clone_ptr(LDKInvoiceSignature *NONNULL_PTR arg);
+       // uint64_t InvoiceSignature_clone_ptr(LDKInvoiceSignature *NONNULL_PTR arg);
 /* @internal */
-export function InvoiceSignature_clone_ptr(arg: number): number {
+export function InvoiceSignature_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32594,7 +32739,7 @@ export function InvoiceSignature_clone_ptr(arg: number): number {
 }
        // struct LDKInvoiceSignature InvoiceSignature_clone(const struct LDKInvoiceSignature *NONNULL_PTR orig);
 /* @internal */
-export function InvoiceSignature_clone(orig: number): number {
+export function InvoiceSignature_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32603,7 +32748,7 @@ export function InvoiceSignature_clone(orig: number): number {
 }
        // bool InvoiceSignature_eq(const struct LDKInvoiceSignature *NONNULL_PTR a, const struct LDKInvoiceSignature *NONNULL_PTR b);
 /* @internal */
-export function InvoiceSignature_eq(a: number, b: number): boolean {
+export function InvoiceSignature_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32612,16 +32757,16 @@ export function InvoiceSignature_eq(a: number, b: number): boolean {
 }
        // void PrivateRoute_free(struct LDKPrivateRoute this_obj);
 /* @internal */
-export function PrivateRoute_free(this_obj: number): void {
+export function PrivateRoute_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PrivateRoute_free(this_obj);
        // debug statements here
 }
-       // uintptr_t PrivateRoute_clone_ptr(LDKPrivateRoute *NONNULL_PTR arg);
+       // uint64_t PrivateRoute_clone_ptr(LDKPrivateRoute *NONNULL_PTR arg);
 /* @internal */
-export function PrivateRoute_clone_ptr(arg: number): number {
+export function PrivateRoute_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32630,7 +32775,7 @@ export function PrivateRoute_clone_ptr(arg: number): number {
 }
        // struct LDKPrivateRoute PrivateRoute_clone(const struct LDKPrivateRoute *NONNULL_PTR orig);
 /* @internal */
-export function PrivateRoute_clone(orig: number): number {
+export function PrivateRoute_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32639,7 +32784,7 @@ export function PrivateRoute_clone(orig: number): number {
 }
        // uint64_t PrivateRoute_hash(const struct LDKPrivateRoute *NONNULL_PTR o);
 /* @internal */
-export function PrivateRoute_hash(o: number): bigint {
+export function PrivateRoute_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32648,7 +32793,7 @@ export function PrivateRoute_hash(o: number): bigint {
 }
        // bool PrivateRoute_eq(const struct LDKPrivateRoute *NONNULL_PTR a, const struct LDKPrivateRoute *NONNULL_PTR b);
 /* @internal */
-export function PrivateRoute_eq(a: number, b: number): boolean {
+export function PrivateRoute_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32657,7 +32802,7 @@ export function PrivateRoute_eq(a: number, b: number): boolean {
 }
        // MUST_USE_RES struct LDKC3Tuple_RawInvoice_u832InvoiceSignatureZ SignedRawInvoice_into_parts(struct LDKSignedRawInvoice this_arg);
 /* @internal */
-export function SignedRawInvoice_into_parts(this_arg: number): number {
+export function SignedRawInvoice_into_parts(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32666,7 +32811,7 @@ export function SignedRawInvoice_into_parts(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKRawInvoice SignedRawInvoice_raw_invoice(const struct LDKSignedRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function SignedRawInvoice_raw_invoice(this_arg: number): number {
+export function SignedRawInvoice_raw_invoice(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32675,7 +32820,7 @@ export function SignedRawInvoice_raw_invoice(this_arg: number): number {
 }
        // MUST_USE_RES const uint8_t (*SignedRawInvoice_hash(const struct LDKSignedRawInvoice *NONNULL_PTR this_arg))[32];
 /* @internal */
-export function SignedRawInvoice_hash(this_arg: number): number {
+export function SignedRawInvoice_hash(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32684,7 +32829,7 @@ export function SignedRawInvoice_hash(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKInvoiceSignature SignedRawInvoice_signature(const struct LDKSignedRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function SignedRawInvoice_signature(this_arg: number): number {
+export function SignedRawInvoice_signature(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32693,7 +32838,7 @@ export function SignedRawInvoice_signature(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_PayeePubKeyErrorZ SignedRawInvoice_recover_payee_pub_key(const struct LDKSignedRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function SignedRawInvoice_recover_payee_pub_key(this_arg: number): number {
+export function SignedRawInvoice_recover_payee_pub_key(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32702,7 +32847,7 @@ export function SignedRawInvoice_recover_payee_pub_key(this_arg: number): number
 }
        // MUST_USE_RES bool SignedRawInvoice_check_signature(const struct LDKSignedRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function SignedRawInvoice_check_signature(this_arg: number): boolean {
+export function SignedRawInvoice_check_signature(this_arg: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32711,7 +32856,7 @@ export function SignedRawInvoice_check_signature(this_arg: number): boolean {
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes RawInvoice_hash(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_hash(this_arg: number): number {
+export function RawInvoice_hash(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32720,7 +32865,7 @@ export function RawInvoice_hash(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKSha256 RawInvoice_payment_hash(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_payment_hash(this_arg: number): number {
+export function RawInvoice_payment_hash(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32729,7 +32874,7 @@ export function RawInvoice_payment_hash(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKDescription RawInvoice_description(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_description(this_arg: number): number {
+export function RawInvoice_description(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32738,7 +32883,7 @@ export function RawInvoice_description(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKPayeePubKey RawInvoice_payee_pub_key(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_payee_pub_key(this_arg: number): number {
+export function RawInvoice_payee_pub_key(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32747,7 +32892,7 @@ export function RawInvoice_payee_pub_key(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKSha256 RawInvoice_description_hash(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_description_hash(this_arg: number): number {
+export function RawInvoice_description_hash(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32756,7 +32901,7 @@ export function RawInvoice_description_hash(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKExpiryTime RawInvoice_expiry_time(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_expiry_time(this_arg: number): number {
+export function RawInvoice_expiry_time(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32765,7 +32910,7 @@ export function RawInvoice_expiry_time(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKMinFinalCltvExpiry RawInvoice_min_final_cltv_expiry(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_min_final_cltv_expiry(this_arg: number): number {
+export function RawInvoice_min_final_cltv_expiry(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32774,7 +32919,7 @@ export function RawInvoice_min_final_cltv_expiry(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKThirtyTwoBytes RawInvoice_payment_secret(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_payment_secret(this_arg: number): number {
+export function RawInvoice_payment_secret(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32783,7 +32928,7 @@ export function RawInvoice_payment_secret(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKInvoiceFeatures RawInvoice_features(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_features(this_arg: number): number {
+export function RawInvoice_features(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32792,7 +32937,7 @@ export function RawInvoice_features(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCVec_PrivateRouteZ RawInvoice_private_routes(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_private_routes(this_arg: number): number {
+export function RawInvoice_private_routes(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32801,7 +32946,7 @@ export function RawInvoice_private_routes(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCOption_u64Z RawInvoice_amount_pico_btc(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_amount_pico_btc(this_arg: number): number {
+export function RawInvoice_amount_pico_btc(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32810,7 +32955,7 @@ export function RawInvoice_amount_pico_btc(this_arg: number): number {
 }
        // MUST_USE_RES enum LDKCurrency RawInvoice_currency(const struct LDKRawInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function RawInvoice_currency(this_arg: number): Currency {
+export function RawInvoice_currency(this_arg: bigint): Currency {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32819,7 +32964,7 @@ export function RawInvoice_currency(this_arg: number): Currency {
 }
        // MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_unix_timestamp(uint64_t unix_seconds);
 /* @internal */
-export function PositiveTimestamp_from_unix_timestamp(unix_seconds: bigint): number {
+export function PositiveTimestamp_from_unix_timestamp(unix_seconds: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32828,7 +32973,7 @@ export function PositiveTimestamp_from_unix_timestamp(unix_seconds: bigint): num
 }
        // MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_duration_since_epoch(uint64_t duration);
 /* @internal */
-export function PositiveTimestamp_from_duration_since_epoch(duration: bigint): number {
+export function PositiveTimestamp_from_duration_since_epoch(duration: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32837,7 +32982,7 @@ export function PositiveTimestamp_from_duration_since_epoch(duration: bigint): n
 }
        // MUST_USE_RES uint64_t PositiveTimestamp_as_unix_timestamp(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg);
 /* @internal */
-export function PositiveTimestamp_as_unix_timestamp(this_arg: number): bigint {
+export function PositiveTimestamp_as_unix_timestamp(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32846,7 +32991,7 @@ export function PositiveTimestamp_as_unix_timestamp(this_arg: number): bigint {
 }
        // MUST_USE_RES uint64_t PositiveTimestamp_as_duration_since_epoch(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg);
 /* @internal */
-export function PositiveTimestamp_as_duration_since_epoch(this_arg: number): bigint {
+export function PositiveTimestamp_as_duration_since_epoch(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32855,7 +33000,7 @@ export function PositiveTimestamp_as_duration_since_epoch(this_arg: number): big
 }
        // MUST_USE_RES struct LDKSignedRawInvoice Invoice_into_signed_raw(struct LDKInvoice this_arg);
 /* @internal */
-export function Invoice_into_signed_raw(this_arg: number): number {
+export function Invoice_into_signed_raw(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32864,7 +33009,7 @@ export function Invoice_into_signed_raw(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_NoneSemanticErrorZ Invoice_check_signature(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_check_signature(this_arg: number): number {
+export function Invoice_check_signature(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32873,7 +33018,7 @@ export function Invoice_check_signature(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_InvoiceSemanticErrorZ Invoice_from_signed(struct LDKSignedRawInvoice signed_invoice);
 /* @internal */
-export function Invoice_from_signed(signed_invoice: number): number {
+export function Invoice_from_signed(signed_invoice: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32882,7 +33027,7 @@ export function Invoice_from_signed(signed_invoice: number): number {
 }
        // MUST_USE_RES uint64_t Invoice_duration_since_epoch(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_duration_since_epoch(this_arg: number): bigint {
+export function Invoice_duration_since_epoch(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32891,7 +33036,7 @@ export function Invoice_duration_since_epoch(this_arg: number): bigint {
 }
        // MUST_USE_RES const uint8_t (*Invoice_payment_hash(const struct LDKInvoice *NONNULL_PTR this_arg))[32];
 /* @internal */
-export function Invoice_payment_hash(this_arg: number): number {
+export function Invoice_payment_hash(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32900,7 +33045,7 @@ export function Invoice_payment_hash(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKPublicKey Invoice_payee_pub_key(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_payee_pub_key(this_arg: number): number {
+export function Invoice_payee_pub_key(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32909,7 +33054,7 @@ export function Invoice_payee_pub_key(this_arg: number): number {
 }
        // MUST_USE_RES const uint8_t (*Invoice_payment_secret(const struct LDKInvoice *NONNULL_PTR this_arg))[32];
 /* @internal */
-export function Invoice_payment_secret(this_arg: number): number {
+export function Invoice_payment_secret(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32918,7 +33063,7 @@ export function Invoice_payment_secret(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKInvoiceFeatures Invoice_features(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_features(this_arg: number): number {
+export function Invoice_features(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32927,7 +33072,7 @@ export function Invoice_features(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKPublicKey Invoice_recover_payee_pub_key(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_recover_payee_pub_key(this_arg: number): number {
+export function Invoice_recover_payee_pub_key(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32936,7 +33081,7 @@ export function Invoice_recover_payee_pub_key(this_arg: number): number {
 }
        // MUST_USE_RES uint64_t Invoice_expiry_time(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_expiry_time(this_arg: number): bigint {
+export function Invoice_expiry_time(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32945,7 +33090,7 @@ export function Invoice_expiry_time(this_arg: number): bigint {
 }
        // MUST_USE_RES bool Invoice_would_expire(const struct LDKInvoice *NONNULL_PTR this_arg, uint64_t at_time);
 /* @internal */
-export function Invoice_would_expire(this_arg: number, at_time: bigint): boolean {
+export function Invoice_would_expire(this_arg: bigint, at_time: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32954,7 +33099,7 @@ export function Invoice_would_expire(this_arg: number, at_time: bigint): boolean
 }
        // MUST_USE_RES uint64_t Invoice_min_final_cltv_expiry(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_min_final_cltv_expiry(this_arg: number): bigint {
+export function Invoice_min_final_cltv_expiry(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32963,7 +33108,7 @@ export function Invoice_min_final_cltv_expiry(this_arg: number): bigint {
 }
        // MUST_USE_RES struct LDKCVec_PrivateRouteZ Invoice_private_routes(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_private_routes(this_arg: number): number {
+export function Invoice_private_routes(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32972,7 +33117,7 @@ export function Invoice_private_routes(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCVec_RouteHintZ Invoice_route_hints(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_route_hints(this_arg: number): number {
+export function Invoice_route_hints(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32981,7 +33126,7 @@ export function Invoice_route_hints(this_arg: number): number {
 }
        // MUST_USE_RES enum LDKCurrency Invoice_currency(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_currency(this_arg: number): Currency {
+export function Invoice_currency(this_arg: bigint): Currency {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32990,7 +33135,7 @@ export function Invoice_currency(this_arg: number): Currency {
 }
        // MUST_USE_RES struct LDKCOption_u64Z Invoice_amount_milli_satoshis(const struct LDKInvoice *NONNULL_PTR this_arg);
 /* @internal */
-export function Invoice_amount_milli_satoshis(this_arg: number): number {
+export function Invoice_amount_milli_satoshis(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -32999,7 +33144,7 @@ export function Invoice_amount_milli_satoshis(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKCResult_DescriptionCreationErrorZ Description_new(struct LDKStr description);
 /* @internal */
-export function Description_new(description: number): number {
+export function Description_new(description: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33008,7 +33153,7 @@ export function Description_new(description: number): number {
 }
        // MUST_USE_RES struct LDKStr Description_into_inner(struct LDKDescription this_arg);
 /* @internal */
-export function Description_into_inner(this_arg: number): number {
+export function Description_into_inner(this_arg: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33017,7 +33162,7 @@ export function Description_into_inner(this_arg: number): number {
 }
        // MUST_USE_RES struct LDKExpiryTime ExpiryTime_from_seconds(uint64_t seconds);
 /* @internal */
-export function ExpiryTime_from_seconds(seconds: bigint): number {
+export function ExpiryTime_from_seconds(seconds: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33026,7 +33171,7 @@ export function ExpiryTime_from_seconds(seconds: bigint): number {
 }
        // MUST_USE_RES struct LDKExpiryTime ExpiryTime_from_duration(uint64_t duration);
 /* @internal */
-export function ExpiryTime_from_duration(duration: bigint): number {
+export function ExpiryTime_from_duration(duration: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33035,7 +33180,7 @@ export function ExpiryTime_from_duration(duration: bigint): number {
 }
        // MUST_USE_RES uint64_t ExpiryTime_as_seconds(const struct LDKExpiryTime *NONNULL_PTR this_arg);
 /* @internal */
-export function ExpiryTime_as_seconds(this_arg: number): bigint {
+export function ExpiryTime_as_seconds(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33044,7 +33189,7 @@ export function ExpiryTime_as_seconds(this_arg: number): bigint {
 }
        // MUST_USE_RES uint64_t ExpiryTime_as_duration(const struct LDKExpiryTime *NONNULL_PTR this_arg);
 /* @internal */
-export function ExpiryTime_as_duration(this_arg: number): bigint {
+export function ExpiryTime_as_duration(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33053,7 +33198,7 @@ export function ExpiryTime_as_duration(this_arg: number): bigint {
 }
        // MUST_USE_RES struct LDKCResult_PrivateRouteCreationErrorZ PrivateRoute_new(struct LDKRouteHint hops);
 /* @internal */
-export function PrivateRoute_new(hops: number): number {
+export function PrivateRoute_new(hops: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33062,7 +33207,7 @@ export function PrivateRoute_new(hops: number): number {
 }
        // MUST_USE_RES struct LDKRouteHint PrivateRoute_into_inner(struct LDKPrivateRoute this_arg);
 /* @internal */
-export function PrivateRoute_into_inner(this_arg: number): number {
+export function PrivateRoute_into_inner(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33071,7 +33216,7 @@ export function PrivateRoute_into_inner(this_arg: number): number {
 }
        // enum LDKCreationError CreationError_clone(const enum LDKCreationError *NONNULL_PTR orig);
 /* @internal */
-export function CreationError_clone(orig: number): CreationError {
+export function CreationError_clone(orig: bigint): CreationError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33125,7 +33270,7 @@ export function CreationError_missing_route_hints(): CreationError {
 }
        // bool CreationError_eq(const enum LDKCreationError *NONNULL_PTR a, const enum LDKCreationError *NONNULL_PTR b);
 /* @internal */
-export function CreationError_eq(a: number, b: number): boolean {
+export function CreationError_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33134,7 +33279,7 @@ export function CreationError_eq(a: number, b: number): boolean {
 }
        // struct LDKStr CreationError_to_str(const enum LDKCreationError *NONNULL_PTR o);
 /* @internal */
-export function CreationError_to_str(o: number): number {
+export function CreationError_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33143,7 +33288,7 @@ export function CreationError_to_str(o: number): number {
 }
        // enum LDKSemanticError SemanticError_clone(const enum LDKSemanticError *NONNULL_PTR orig);
 /* @internal */
-export function SemanticError_clone(orig: number): SemanticError {
+export function SemanticError_clone(orig: bigint): SemanticError {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33242,7 +33387,7 @@ export function SemanticError_imprecise_amount(): SemanticError {
 }
        // bool SemanticError_eq(const enum LDKSemanticError *NONNULL_PTR a, const enum LDKSemanticError *NONNULL_PTR b);
 /* @internal */
-export function SemanticError_eq(a: number, b: number): boolean {
+export function SemanticError_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33251,7 +33396,7 @@ export function SemanticError_eq(a: number, b: number): boolean {
 }
        // struct LDKStr SemanticError_to_str(const enum LDKSemanticError *NONNULL_PTR o);
 /* @internal */
-export function SemanticError_to_str(o: number): number {
+export function SemanticError_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33260,16 +33405,16 @@ export function SemanticError_to_str(o: number): number {
 }
        // void SignOrCreationError_free(struct LDKSignOrCreationError this_ptr);
 /* @internal */
-export function SignOrCreationError_free(this_ptr: number): void {
+export function SignOrCreationError_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_SignOrCreationError_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t SignOrCreationError_clone_ptr(LDKSignOrCreationError *NONNULL_PTR arg);
+       // uint64_t SignOrCreationError_clone_ptr(LDKSignOrCreationError *NONNULL_PTR arg);
 /* @internal */
-export function SignOrCreationError_clone_ptr(arg: number): number {
+export function SignOrCreationError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33278,7 +33423,7 @@ export function SignOrCreationError_clone_ptr(arg: number): number {
 }
        // struct LDKSignOrCreationError SignOrCreationError_clone(const struct LDKSignOrCreationError *NONNULL_PTR orig);
 /* @internal */
-export function SignOrCreationError_clone(orig: number): number {
+export function SignOrCreationError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33287,7 +33432,7 @@ export function SignOrCreationError_clone(orig: number): number {
 }
        // struct LDKSignOrCreationError SignOrCreationError_sign_error(void);
 /* @internal */
-export function SignOrCreationError_sign_error(): number {
+export function SignOrCreationError_sign_error(): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33296,7 +33441,7 @@ export function SignOrCreationError_sign_error(): number {
 }
        // struct LDKSignOrCreationError SignOrCreationError_creation_error(enum LDKCreationError a);
 /* @internal */
-export function SignOrCreationError_creation_error(a: CreationError): number {
+export function SignOrCreationError_creation_error(a: CreationError): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33305,7 +33450,7 @@ export function SignOrCreationError_creation_error(a: CreationError): number {
 }
        // bool SignOrCreationError_eq(const struct LDKSignOrCreationError *NONNULL_PTR a, const struct LDKSignOrCreationError *NONNULL_PTR b);
 /* @internal */
-export function SignOrCreationError_eq(a: number, b: number): boolean {
+export function SignOrCreationError_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33314,7 +33459,7 @@ export function SignOrCreationError_eq(a: number, b: number): boolean {
 }
        // struct LDKStr SignOrCreationError_to_str(const struct LDKSignOrCreationError *NONNULL_PTR o);
 /* @internal */
-export function SignOrCreationError_to_str(o: number): number {
+export function SignOrCreationError_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33323,7 +33468,7 @@ export function SignOrCreationError_to_str(o: number): number {
 }
        // void InvoicePayer_free(struct LDKInvoicePayer this_obj);
 /* @internal */
-export function InvoicePayer_free(this_obj: number): void {
+export function InvoicePayer_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33332,7 +33477,7 @@ export function InvoicePayer_free(this_obj: number): void {
 }
        // void Payer_free(struct LDKPayer this_ptr);
 /* @internal */
-export function Payer_free(this_ptr: number): void {
+export function Payer_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33341,7 +33486,7 @@ export function Payer_free(this_ptr: number): void {
 }
        // void Router_free(struct LDKRouter this_ptr);
 /* @internal */
-export function Router_free(this_ptr: number): void {
+export function Router_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33350,16 +33495,16 @@ export function Router_free(this_ptr: number): void {
 }
        // void Retry_free(struct LDKRetry this_ptr);
 /* @internal */
-export function Retry_free(this_ptr: number): void {
+export function Retry_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_Retry_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t Retry_clone_ptr(LDKRetry *NONNULL_PTR arg);
+       // uint64_t Retry_clone_ptr(LDKRetry *NONNULL_PTR arg);
 /* @internal */
-export function Retry_clone_ptr(arg: number): number {
+export function Retry_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33368,7 +33513,7 @@ export function Retry_clone_ptr(arg: number): number {
 }
        // struct LDKRetry Retry_clone(const struct LDKRetry *NONNULL_PTR orig);
 /* @internal */
-export function Retry_clone(orig: number): number {
+export function Retry_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33377,7 +33522,7 @@ export function Retry_clone(orig: number): number {
 }
        // struct LDKRetry Retry_attempts(uintptr_t a);
 /* @internal */
-export function Retry_attempts(a: number): number {
+export function Retry_attempts(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33386,7 +33531,7 @@ export function Retry_attempts(a: number): number {
 }
        // bool Retry_eq(const struct LDKRetry *NONNULL_PTR a, const struct LDKRetry *NONNULL_PTR b);
 /* @internal */
-export function Retry_eq(a: number, b: number): boolean {
+export function Retry_eq(a: bigint, b: bigint): boolean {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33395,7 +33540,7 @@ export function Retry_eq(a: number, b: number): boolean {
 }
        // uint64_t Retry_hash(const struct LDKRetry *NONNULL_PTR o);
 /* @internal */
-export function Retry_hash(o: number): bigint {
+export function Retry_hash(o: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33404,16 +33549,16 @@ export function Retry_hash(o: number): bigint {
 }
        // void PaymentError_free(struct LDKPaymentError this_ptr);
 /* @internal */
-export function PaymentError_free(this_ptr: number): void {
+export function PaymentError_free(this_ptr: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
        const nativeResponseValue = wasm.TS_PaymentError_free(this_ptr);
        // debug statements here
 }
-       // uintptr_t PaymentError_clone_ptr(LDKPaymentError *NONNULL_PTR arg);
+       // uint64_t PaymentError_clone_ptr(LDKPaymentError *NONNULL_PTR arg);
 /* @internal */
-export function PaymentError_clone_ptr(arg: number): number {
+export function PaymentError_clone_ptr(arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33422,7 +33567,7 @@ export function PaymentError_clone_ptr(arg: number): number {
 }
        // struct LDKPaymentError PaymentError_clone(const struct LDKPaymentError *NONNULL_PTR orig);
 /* @internal */
-export function PaymentError_clone(orig: number): number {
+export function PaymentError_clone(orig: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33431,7 +33576,7 @@ export function PaymentError_clone(orig: number): number {
 }
        // struct LDKPaymentError PaymentError_invoice(struct LDKStr a);
 /* @internal */
-export function PaymentError_invoice(a: number): number {
+export function PaymentError_invoice(a: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33440,7 +33585,7 @@ export function PaymentError_invoice(a: number): number {
 }
        // struct LDKPaymentError PaymentError_routing(struct LDKLightningError a);
 /* @internal */
-export function PaymentError_routing(a: number): number {
+export function PaymentError_routing(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33449,7 +33594,7 @@ export function PaymentError_routing(a: number): number {
 }
        // struct LDKPaymentError PaymentError_sending(struct LDKPaymentSendFailure a);
 /* @internal */
-export function PaymentError_sending(a: number): number {
+export function PaymentError_sending(a: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33458,7 +33603,7 @@ export function PaymentError_sending(a: number): number {
 }
        // MUST_USE_RES struct LDKInvoicePayer InvoicePayer_new(struct LDKPayer payer, struct LDKRouter router, const struct LDKMultiThreadedLockableScore *NONNULL_PTR scorer, struct LDKLogger logger, struct LDKEventHandler event_handler, struct LDKRetry retry);
 /* @internal */
-export function InvoicePayer_new(payer: number, router: number, scorer: number, logger: number, event_handler: number, retry: number): number {
+export function InvoicePayer_new(payer: bigint, router: bigint, scorer: bigint, logger: bigint, event_handler: bigint, retry: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33467,7 +33612,7 @@ export function InvoicePayer_new(payer: number, router: number, scorer: number,
 }
        // MUST_USE_RES struct LDKCResult_PaymentIdPaymentErrorZ InvoicePayer_pay_invoice(const struct LDKInvoicePayer *NONNULL_PTR this_arg, const struct LDKInvoice *NONNULL_PTR invoice);
 /* @internal */
-export function InvoicePayer_pay_invoice(this_arg: number, invoice: number): number {
+export function InvoicePayer_pay_invoice(this_arg: bigint, invoice: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33476,7 +33621,7 @@ export function InvoicePayer_pay_invoice(this_arg: number, invoice: number): num
 }
        // MUST_USE_RES struct LDKCResult_PaymentIdPaymentErrorZ InvoicePayer_pay_zero_value_invoice(const struct LDKInvoicePayer *NONNULL_PTR this_arg, const struct LDKInvoice *NONNULL_PTR invoice, uint64_t amount_msats);
 /* @internal */
-export function InvoicePayer_pay_zero_value_invoice(this_arg: number, invoice: number, amount_msats: bigint): number {
+export function InvoicePayer_pay_zero_value_invoice(this_arg: bigint, invoice: bigint, amount_msats: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33485,7 +33630,7 @@ export function InvoicePayer_pay_zero_value_invoice(this_arg: number, invoice: n
 }
        // MUST_USE_RES struct LDKCResult_PaymentIdPaymentErrorZ InvoicePayer_pay_pubkey(const struct LDKInvoicePayer *NONNULL_PTR this_arg, struct LDKPublicKey pubkey, struct LDKThirtyTwoBytes payment_preimage, uint64_t amount_msats, uint32_t final_cltv_expiry_delta);
 /* @internal */
-export function InvoicePayer_pay_pubkey(this_arg: number, pubkey: number, payment_preimage: number, amount_msats: bigint, final_cltv_expiry_delta: number): number {
+export function InvoicePayer_pay_pubkey(this_arg: bigint, pubkey: number, payment_preimage: number, amount_msats: bigint, final_cltv_expiry_delta: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33494,7 +33639,7 @@ export function InvoicePayer_pay_pubkey(this_arg: number, pubkey: number, paymen
 }
        // void InvoicePayer_remove_cached_payment(const struct LDKInvoicePayer *NONNULL_PTR this_arg, const uint8_t (*payment_hash)[32]);
 /* @internal */
-export function InvoicePayer_remove_cached_payment(this_arg: number, payment_hash: number): void {
+export function InvoicePayer_remove_cached_payment(this_arg: bigint, payment_hash: number): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33503,7 +33648,7 @@ export function InvoicePayer_remove_cached_payment(this_arg: number, payment_has
 }
        // struct LDKEventHandler InvoicePayer_as_EventHandler(const struct LDKInvoicePayer *NONNULL_PTR this_arg);
 /* @internal */
-export function InvoicePayer_as_EventHandler(this_arg: number): number {
+export function InvoicePayer_as_EventHandler(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33512,7 +33657,7 @@ export function InvoicePayer_as_EventHandler(this_arg: number): number {
 }
        // struct LDKCResult_InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKKeysInterface keys_manager, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKSha256 description_hash, uint64_t duration_since_epoch, uint32_t invoice_expiry_delta_secs);
 /* @internal */
-export function create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(channelmanager: number, keys_manager: number, network: Currency, amt_msat: number, description_hash: number, duration_since_epoch: bigint, invoice_expiry_delta_secs: number): number {
+export function create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(channelmanager: bigint, keys_manager: bigint, network: Currency, amt_msat: bigint, description_hash: bigint, duration_since_epoch: bigint, invoice_expiry_delta_secs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33521,7 +33666,7 @@ export function create_invoice_from_channelmanager_with_description_hash_and_dur
 }
        // struct LDKCResult_InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_and_duration_since_epoch(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKKeysInterface keys_manager, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint64_t duration_since_epoch, uint32_t invoice_expiry_delta_secs);
 /* @internal */
-export function create_invoice_from_channelmanager_and_duration_since_epoch(channelmanager: number, keys_manager: number, network: Currency, amt_msat: number, description: number, duration_since_epoch: bigint, invoice_expiry_delta_secs: number): number {
+export function create_invoice_from_channelmanager_and_duration_since_epoch(channelmanager: bigint, keys_manager: bigint, network: Currency, amt_msat: bigint, description: number, duration_since_epoch: bigint, invoice_expiry_delta_secs: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33530,7 +33675,7 @@ export function create_invoice_from_channelmanager_and_duration_since_epoch(chan
 }
        // void DefaultRouter_free(struct LDKDefaultRouter this_obj);
 /* @internal */
-export function DefaultRouter_free(this_obj: number): void {
+export function DefaultRouter_free(this_obj: bigint): void {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33539,7 +33684,7 @@ export function DefaultRouter_free(this_obj: number): void {
 }
        // MUST_USE_RES struct LDKDefaultRouter DefaultRouter_new(const struct LDKNetworkGraph *NONNULL_PTR network_graph, struct LDKLogger logger, struct LDKThirtyTwoBytes random_seed_bytes);
 /* @internal */
-export function DefaultRouter_new(network_graph: number, logger: number, random_seed_bytes: number): number {
+export function DefaultRouter_new(network_graph: bigint, logger: bigint, random_seed_bytes: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33548,7 +33693,7 @@ export function DefaultRouter_new(network_graph: number, logger: number, random_
 }
        // struct LDKRouter DefaultRouter_as_Router(const struct LDKDefaultRouter *NONNULL_PTR this_arg);
 /* @internal */
-export function DefaultRouter_as_Router(this_arg: number): number {
+export function DefaultRouter_as_Router(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33557,7 +33702,7 @@ export function DefaultRouter_as_Router(this_arg: number): number {
 }
        // struct LDKPayer ChannelManager_as_Payer(const struct LDKChannelManager *NONNULL_PTR this_arg);
 /* @internal */
-export function ChannelManager_as_Payer(this_arg: number): number {
+export function ChannelManager_as_Payer(this_arg: bigint): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33566,7 +33711,7 @@ export function ChannelManager_as_Payer(this_arg: number): number {
 }
        // struct LDKCResult_SiPrefixParseErrorZ SiPrefix_from_str(struct LDKStr s);
 /* @internal */
-export function SiPrefix_from_str(s: number): number {
+export function SiPrefix_from_str(s: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33575,7 +33720,7 @@ export function SiPrefix_from_str(s: number): number {
 }
        // struct LDKCResult_InvoiceParseOrSemanticErrorZ Invoice_from_str(struct LDKStr s);
 /* @internal */
-export function Invoice_from_str(s: number): number {
+export function Invoice_from_str(s: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33584,7 +33729,7 @@ export function Invoice_from_str(s: number): number {
 }
        // struct LDKCResult_SignedRawInvoiceParseErrorZ SignedRawInvoice_from_str(struct LDKStr s);
 /* @internal */
-export function SignedRawInvoice_from_str(s: number): number {
+export function SignedRawInvoice_from_str(s: number): bigint {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33593,7 +33738,7 @@ export function SignedRawInvoice_from_str(s: number): number {
 }
        // struct LDKStr ParseError_to_str(const struct LDKParseError *NONNULL_PTR o);
 /* @internal */
-export function ParseError_to_str(o: number): number {
+export function ParseError_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33602,7 +33747,7 @@ export function ParseError_to_str(o: number): number {
 }
        // struct LDKStr ParseOrSemanticError_to_str(const struct LDKParseOrSemanticError *NONNULL_PTR o);
 /* @internal */
-export function ParseOrSemanticError_to_str(o: number): number {
+export function ParseOrSemanticError_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33611,7 +33756,7 @@ export function ParseOrSemanticError_to_str(o: number): number {
 }
        // struct LDKStr Invoice_to_str(const struct LDKInvoice *NONNULL_PTR o);
 /* @internal */
-export function Invoice_to_str(o: number): number {
+export function Invoice_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33620,7 +33765,7 @@ export function Invoice_to_str(o: number): number {
 }
        // struct LDKStr SignedRawInvoice_to_str(const struct LDKSignedRawInvoice *NONNULL_PTR o);
 /* @internal */
-export function SignedRawInvoice_to_str(o: number): number {
+export function SignedRawInvoice_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33629,7 +33774,7 @@ export function SignedRawInvoice_to_str(o: number): number {
 }
        // struct LDKStr Currency_to_str(const enum LDKCurrency *NONNULL_PTR o);
 /* @internal */
-export function Currency_to_str(o: number): number {
+export function Currency_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }
@@ -33638,7 +33783,7 @@ export function Currency_to_str(o: number): number {
 }
        // struct LDKStr SiPrefix_to_str(const enum LDKSiPrefix *NONNULL_PTR o);
 /* @internal */
-export function SiPrefix_to_str(o: number): number {
+export function SiPrefix_to_str(o: bigint): number {
        if(!isWasmInitialized) {
                throw new Error("initializeWasm() must be awaited first!");
        }