@noir-lang/acvm_js 1.0.0-beta.3-5a3d2bc.nightly → 1.0.0-beta.3-8e0e5ab.nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nodejs/acvm_js.d.ts +42 -42
- package/nodejs/acvm_js.js +74 -72
- package/nodejs/acvm_js_bg.wasm +0 -0
- package/nodejs/acvm_js_bg.wasm.d.ts +7 -7
- package/package.json +1 -1
- package/web/acvm_js.d.ts +49 -49
- package/web/acvm_js.js +74 -72
- package/web/acvm_js_bg.wasm +0 -0
- package/web/acvm_js_bg.wasm.d.ts +7 -7
package/nodejs/acvm_js.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's return values.
|
|
5
|
+
*
|
|
6
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
7
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
8
|
+
* @returns {WitnessMap} A witness map containing the circuit's return values.
|
|
9
|
+
*/
|
|
10
|
+
export function getReturnWitness(program: Uint8Array, witness_map: WitnessMap): WitnessMap;
|
|
11
|
+
/**
|
|
12
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public parameters.
|
|
13
|
+
*
|
|
14
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
15
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
16
|
+
* @returns {WitnessMap} A witness map containing the circuit's public parameters.
|
|
17
|
+
*/
|
|
18
|
+
export function getPublicParametersWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
19
|
+
/**
|
|
20
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public inputs.
|
|
21
|
+
*
|
|
22
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
23
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
24
|
+
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
25
|
+
*/
|
|
26
|
+
export function getPublicWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
3
27
|
/**
|
|
4
28
|
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
5
29
|
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
@@ -34,29 +58,11 @@ export function executeCircuitWithReturnWitness(program: Uint8Array, initial_wit
|
|
|
34
58
|
*/
|
|
35
59
|
export function executeProgram(program: Uint8Array, initial_witness: WitnessMap, foreign_call_handler: ForeignCallHandler): Promise<WitnessStack>;
|
|
36
60
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
40
|
-
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
41
|
-
* @returns {WitnessMap} A witness map containing the circuit's return values.
|
|
42
|
-
*/
|
|
43
|
-
export function getReturnWitness(program: Uint8Array, witness_map: WitnessMap): WitnessMap;
|
|
44
|
-
/**
|
|
45
|
-
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public parameters.
|
|
46
|
-
*
|
|
47
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
48
|
-
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
49
|
-
* @returns {WitnessMap} A witness map containing the circuit's public parameters.
|
|
50
|
-
*/
|
|
51
|
-
export function getPublicParametersWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
52
|
-
/**
|
|
53
|
-
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public inputs.
|
|
61
|
+
* Sets the package's logging level.
|
|
54
62
|
*
|
|
55
|
-
* @param {
|
|
56
|
-
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
57
|
-
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
63
|
+
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
58
64
|
*/
|
|
59
|
-
export function
|
|
65
|
+
export function initLogLevel(filter: string): void;
|
|
60
66
|
/**
|
|
61
67
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
62
68
|
*/
|
|
@@ -110,12 +116,6 @@ export function compressWitnessStack(witness_stack: WitnessStack): Uint8Array;
|
|
|
110
116
|
* @returns {WitnessStack} The decompressed witness stack.
|
|
111
117
|
*/
|
|
112
118
|
export function decompressWitnessStack(compressed_witness: Uint8Array): WitnessStack;
|
|
113
|
-
/**
|
|
114
|
-
* Sets the package's logging level.
|
|
115
|
-
*
|
|
116
|
-
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
117
|
-
*/
|
|
118
|
-
export function initLogLevel(filter: string): void;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* @typedef {Object} BuildInfo - Information about how the installed package was built
|
|
@@ -144,6 +144,21 @@ export type ExecutionError = Error & {
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
// Map from witness index to hex string value of witness.
|
|
148
|
+
export type WitnessMap = Map<number, string>;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* An execution result containing two witnesses.
|
|
152
|
+
* 1. The full solved witness of the execution.
|
|
153
|
+
* 2. The return witness which contains the given public return values within the full witness.
|
|
154
|
+
*/
|
|
155
|
+
export type SolvedAndReturnWitness = {
|
|
156
|
+
solvedWitness: WitnessMap;
|
|
157
|
+
returnWitness: WitnessMap;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
147
162
|
export type StackItem = {
|
|
148
163
|
index: number;
|
|
149
164
|
witness: WitnessMap;
|
|
@@ -166,18 +181,3 @@ export type ForeignCallOutput = string | string[]
|
|
|
166
181
|
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
167
182
|
|
|
168
183
|
|
|
169
|
-
|
|
170
|
-
// Map from witness index to hex string value of witness.
|
|
171
|
-
export type WitnessMap = Map<number, string>;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* An execution result containing two witnesses.
|
|
175
|
-
* 1. The full solved witness of the execution.
|
|
176
|
-
* 2. The return witness which contains the given public return values within the full witness.
|
|
177
|
-
*/
|
|
178
|
-
export type SolvedAndReturnWitness = {
|
|
179
|
-
solvedWitness: WitnessMap;
|
|
180
|
-
returnWitness: WitnessMap;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
package/nodejs/acvm_js.js
CHANGED
|
@@ -201,14 +201,6 @@ function debugString(val) {
|
|
|
201
201
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
202
202
|
return className;
|
|
203
203
|
}
|
|
204
|
-
/**
|
|
205
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
206
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
207
|
-
*/
|
|
208
|
-
module.exports.buildInfo = function() {
|
|
209
|
-
const ret = wasm.buildInfo();
|
|
210
|
-
return ret;
|
|
211
|
-
};
|
|
212
204
|
|
|
213
205
|
function passArray8ToWasm0(arg, malloc) {
|
|
214
206
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
@@ -216,51 +208,6 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
216
208
|
WASM_VECTOR_LEN = arg.length;
|
|
217
209
|
return ptr;
|
|
218
210
|
}
|
|
219
|
-
/**
|
|
220
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
221
|
-
*
|
|
222
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
223
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
224
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
225
|
-
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
226
|
-
*/
|
|
227
|
-
module.exports.executeCircuit = function(program, initial_witness, foreign_call_handler) {
|
|
228
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
229
|
-
const len0 = WASM_VECTOR_LEN;
|
|
230
|
-
const ret = wasm.executeCircuit(ptr0, len0, initial_witness, foreign_call_handler);
|
|
231
|
-
return ret;
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
236
|
-
* This method also extracts the public return values from the solved witness into its own return witness.
|
|
237
|
-
*
|
|
238
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
239
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
240
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
241
|
-
* @returns {SolvedAndReturnWitness} The solved witness calculated by executing the circuit on the provided inputs, as well as the return witness indices as specified by the circuit.
|
|
242
|
-
*/
|
|
243
|
-
module.exports.executeCircuitWithReturnWitness = function(program, initial_witness, foreign_call_handler) {
|
|
244
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
245
|
-
const len0 = WASM_VECTOR_LEN;
|
|
246
|
-
const ret = wasm.executeCircuitWithReturnWitness(ptr0, len0, initial_witness, foreign_call_handler);
|
|
247
|
-
return ret;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
252
|
-
*
|
|
253
|
-
* @param {Uint8Array} program - A serialized representation of an ACIR program
|
|
254
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `program`.
|
|
255
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the program.
|
|
256
|
-
* @returns {WitnessStack} The solved witness calculated by executing the program on the provided inputs.
|
|
257
|
-
*/
|
|
258
|
-
module.exports.executeProgram = function(program, initial_witness, foreign_call_handler) {
|
|
259
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
260
|
-
const len0 = WASM_VECTOR_LEN;
|
|
261
|
-
const ret = wasm.executeProgram(ptr0, len0, initial_witness, foreign_call_handler);
|
|
262
|
-
return ret;
|
|
263
|
-
};
|
|
264
211
|
|
|
265
212
|
function takeFromExternrefTable0(idx) {
|
|
266
213
|
const value = wasm.__wbindgen_export_2.get(idx);
|
|
@@ -327,6 +274,75 @@ module.exports.getPublicWitness = function(program, solved_witness) {
|
|
|
327
274
|
return takeFromExternrefTable0(ret[0]);
|
|
328
275
|
};
|
|
329
276
|
|
|
277
|
+
/**
|
|
278
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
279
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
280
|
+
*/
|
|
281
|
+
module.exports.buildInfo = function() {
|
|
282
|
+
const ret = wasm.buildInfo();
|
|
283
|
+
return ret;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
288
|
+
*
|
|
289
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
290
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
291
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
292
|
+
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
293
|
+
*/
|
|
294
|
+
module.exports.executeCircuit = function(program, initial_witness, foreign_call_handler) {
|
|
295
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
296
|
+
const len0 = WASM_VECTOR_LEN;
|
|
297
|
+
const ret = wasm.executeCircuit(ptr0, len0, initial_witness, foreign_call_handler);
|
|
298
|
+
return ret;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
303
|
+
* This method also extracts the public return values from the solved witness into its own return witness.
|
|
304
|
+
*
|
|
305
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
306
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
307
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
308
|
+
* @returns {SolvedAndReturnWitness} The solved witness calculated by executing the circuit on the provided inputs, as well as the return witness indices as specified by the circuit.
|
|
309
|
+
*/
|
|
310
|
+
module.exports.executeCircuitWithReturnWitness = function(program, initial_witness, foreign_call_handler) {
|
|
311
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
312
|
+
const len0 = WASM_VECTOR_LEN;
|
|
313
|
+
const ret = wasm.executeCircuitWithReturnWitness(ptr0, len0, initial_witness, foreign_call_handler);
|
|
314
|
+
return ret;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
319
|
+
*
|
|
320
|
+
* @param {Uint8Array} program - A serialized representation of an ACIR program
|
|
321
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `program`.
|
|
322
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the program.
|
|
323
|
+
* @returns {WitnessStack} The solved witness calculated by executing the program on the provided inputs.
|
|
324
|
+
*/
|
|
325
|
+
module.exports.executeProgram = function(program, initial_witness, foreign_call_handler) {
|
|
326
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
327
|
+
const len0 = WASM_VECTOR_LEN;
|
|
328
|
+
const ret = wasm.executeProgram(ptr0, len0, initial_witness, foreign_call_handler);
|
|
329
|
+
return ret;
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Sets the package's logging level.
|
|
334
|
+
*
|
|
335
|
+
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
336
|
+
*/
|
|
337
|
+
module.exports.initLogLevel = function(filter) {
|
|
338
|
+
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
339
|
+
const len0 = WASM_VECTOR_LEN;
|
|
340
|
+
const ret = wasm.initLogLevel(ptr0, len0);
|
|
341
|
+
if (ret[1]) {
|
|
342
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
|
|
330
346
|
/**
|
|
331
347
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
332
348
|
* @param {string} lhs
|
|
@@ -511,30 +527,16 @@ module.exports.decompressWitnessStack = function(compressed_witness) {
|
|
|
511
527
|
return takeFromExternrefTable0(ret[0]);
|
|
512
528
|
};
|
|
513
529
|
|
|
514
|
-
/**
|
|
515
|
-
* Sets the package's logging level.
|
|
516
|
-
*
|
|
517
|
-
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
518
|
-
*/
|
|
519
|
-
module.exports.initLogLevel = function(filter) {
|
|
520
|
-
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
521
|
-
const len0 = WASM_VECTOR_LEN;
|
|
522
|
-
const ret = wasm.initLogLevel(ptr0, len0);
|
|
523
|
-
if (ret[1]) {
|
|
524
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
|
|
528
530
|
function __wbg_adapter_30(arg0, arg1, arg2) {
|
|
529
|
-
wasm.
|
|
531
|
+
wasm.closure249_externref_shim(arg0, arg1, arg2);
|
|
530
532
|
}
|
|
531
533
|
|
|
532
534
|
function __wbg_adapter_89(arg0, arg1, arg2, arg3, arg4) {
|
|
533
|
-
wasm.
|
|
535
|
+
wasm.closure810_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
534
536
|
}
|
|
535
537
|
|
|
536
538
|
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
537
|
-
wasm.
|
|
539
|
+
wasm.closure814_externref_shim(arg0, arg1, arg2, arg3);
|
|
538
540
|
}
|
|
539
541
|
|
|
540
542
|
module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -812,8 +814,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
812
814
|
return ret;
|
|
813
815
|
};
|
|
814
816
|
|
|
815
|
-
module.exports.
|
|
816
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
817
|
+
module.exports.__wbindgen_closure_wrapper725 = function(arg0, arg1, arg2) {
|
|
818
|
+
const ret = makeMutClosure(arg0, arg1, 250, __wbg_adapter_30);
|
|
817
819
|
return ret;
|
|
818
820
|
};
|
|
819
821
|
|
package/nodejs/acvm_js_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
5
|
+
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
6
|
+
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
4
7
|
export const buildInfo: () => any;
|
|
5
8
|
export const executeCircuit: (a: number, b: number, c: any, d: any) => any;
|
|
6
9
|
export const executeCircuitWithReturnWitness: (a: number, b: number, c: any, d: any) => any;
|
|
7
10
|
export const executeProgram: (a: number, b: number, c: any, d: any) => any;
|
|
8
|
-
export const
|
|
9
|
-
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
10
|
-
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
11
|
+
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
11
12
|
export const and: (a: any, b: any) => any;
|
|
12
13
|
export const xor: (a: any, b: any) => any;
|
|
13
14
|
export const sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -18,7 +19,6 @@ export const compressWitness: (a: any) => [number, number, number, number];
|
|
|
18
19
|
export const decompressWitness: (a: number, b: number) => [number, number, number];
|
|
19
20
|
export const compressWitnessStack: (a: any) => [number, number, number, number];
|
|
20
21
|
export const decompressWitnessStack: (a: number, b: number) => [number, number, number];
|
|
21
|
-
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
22
22
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
23
23
|
export const __externref_table_alloc: () => number;
|
|
24
24
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -27,7 +27,7 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
|
27
27
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
28
28
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
30
|
+
export const closure249_externref_shim: (a: number, b: number, c: any) => void;
|
|
31
|
+
export const closure810_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
32
|
+
export const closure814_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
export const __wbindgen_start: () => void;
|
package/package.json
CHANGED
package/web/acvm_js.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's return values.
|
|
5
|
+
*
|
|
6
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
7
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
8
|
+
* @returns {WitnessMap} A witness map containing the circuit's return values.
|
|
9
|
+
*/
|
|
10
|
+
export function getReturnWitness(program: Uint8Array, witness_map: WitnessMap): WitnessMap;
|
|
11
|
+
/**
|
|
12
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public parameters.
|
|
13
|
+
*
|
|
14
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
15
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
16
|
+
* @returns {WitnessMap} A witness map containing the circuit's public parameters.
|
|
17
|
+
*/
|
|
18
|
+
export function getPublicParametersWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
19
|
+
/**
|
|
20
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public inputs.
|
|
21
|
+
*
|
|
22
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
23
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
24
|
+
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
25
|
+
*/
|
|
26
|
+
export function getPublicWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
3
27
|
/**
|
|
4
28
|
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
5
29
|
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
@@ -34,29 +58,11 @@ export function executeCircuitWithReturnWitness(program: Uint8Array, initial_wit
|
|
|
34
58
|
*/
|
|
35
59
|
export function executeProgram(program: Uint8Array, initial_witness: WitnessMap, foreign_call_handler: ForeignCallHandler): Promise<WitnessStack>;
|
|
36
60
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
40
|
-
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
41
|
-
* @returns {WitnessMap} A witness map containing the circuit's return values.
|
|
42
|
-
*/
|
|
43
|
-
export function getReturnWitness(program: Uint8Array, witness_map: WitnessMap): WitnessMap;
|
|
44
|
-
/**
|
|
45
|
-
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public parameters.
|
|
46
|
-
*
|
|
47
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
48
|
-
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
49
|
-
* @returns {WitnessMap} A witness map containing the circuit's public parameters.
|
|
50
|
-
*/
|
|
51
|
-
export function getPublicParametersWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
52
|
-
/**
|
|
53
|
-
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public inputs.
|
|
61
|
+
* Sets the package's logging level.
|
|
54
62
|
*
|
|
55
|
-
* @param {
|
|
56
|
-
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
57
|
-
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
63
|
+
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
58
64
|
*/
|
|
59
|
-
export function
|
|
65
|
+
export function initLogLevel(filter: string): void;
|
|
60
66
|
/**
|
|
61
67
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
62
68
|
*/
|
|
@@ -110,12 +116,6 @@ export function compressWitnessStack(witness_stack: WitnessStack): Uint8Array;
|
|
|
110
116
|
* @returns {WitnessStack} The decompressed witness stack.
|
|
111
117
|
*/
|
|
112
118
|
export function decompressWitnessStack(compressed_witness: Uint8Array): WitnessStack;
|
|
113
|
-
/**
|
|
114
|
-
* Sets the package's logging level.
|
|
115
|
-
*
|
|
116
|
-
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
117
|
-
*/
|
|
118
|
-
export function initLogLevel(filter: string): void;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* @typedef {Object} BuildInfo - Information about how the installed package was built
|
|
@@ -144,6 +144,21 @@ export type ExecutionError = Error & {
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
// Map from witness index to hex string value of witness.
|
|
148
|
+
export type WitnessMap = Map<number, string>;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* An execution result containing two witnesses.
|
|
152
|
+
* 1. The full solved witness of the execution.
|
|
153
|
+
* 2. The return witness which contains the given public return values within the full witness.
|
|
154
|
+
*/
|
|
155
|
+
export type SolvedAndReturnWitness = {
|
|
156
|
+
solvedWitness: WitnessMap;
|
|
157
|
+
returnWitness: WitnessMap;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
147
162
|
export type StackItem = {
|
|
148
163
|
index: number;
|
|
149
164
|
witness: WitnessMap;
|
|
@@ -167,32 +182,18 @@ export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => P
|
|
|
167
182
|
|
|
168
183
|
|
|
169
184
|
|
|
170
|
-
// Map from witness index to hex string value of witness.
|
|
171
|
-
export type WitnessMap = Map<number, string>;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* An execution result containing two witnesses.
|
|
175
|
-
* 1. The full solved witness of the execution.
|
|
176
|
-
* 2. The return witness which contains the given public return values within the full witness.
|
|
177
|
-
*/
|
|
178
|
-
export type SolvedAndReturnWitness = {
|
|
179
|
-
solvedWitness: WitnessMap;
|
|
180
|
-
returnWitness: WitnessMap;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
185
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
186
186
|
|
|
187
187
|
export interface InitOutput {
|
|
188
188
|
readonly memory: WebAssembly.Memory;
|
|
189
|
+
readonly getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
190
|
+
readonly getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
191
|
+
readonly getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
189
192
|
readonly buildInfo: () => any;
|
|
190
193
|
readonly executeCircuit: (a: number, b: number, c: any, d: any) => any;
|
|
191
194
|
readonly executeCircuitWithReturnWitness: (a: number, b: number, c: any, d: any) => any;
|
|
192
195
|
readonly executeProgram: (a: number, b: number, c: any, d: any) => any;
|
|
193
|
-
readonly
|
|
194
|
-
readonly getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
195
|
-
readonly getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
196
|
+
readonly initLogLevel: (a: number, b: number) => [number, number];
|
|
196
197
|
readonly and: (a: any, b: any) => any;
|
|
197
198
|
readonly xor: (a: any, b: any) => any;
|
|
198
199
|
readonly sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -203,7 +204,6 @@ export interface InitOutput {
|
|
|
203
204
|
readonly decompressWitness: (a: number, b: number) => [number, number, number];
|
|
204
205
|
readonly compressWitnessStack: (a: any) => [number, number, number, number];
|
|
205
206
|
readonly decompressWitnessStack: (a: number, b: number) => [number, number, number];
|
|
206
|
-
readonly initLogLevel: (a: number, b: number) => [number, number];
|
|
207
207
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
208
208
|
readonly __externref_table_alloc: () => number;
|
|
209
209
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -212,9 +212,9 @@ export interface InitOutput {
|
|
|
212
212
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
213
213
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
214
214
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
215
|
+
readonly closure249_externref_shim: (a: number, b: number, c: any) => void;
|
|
216
|
+
readonly closure810_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
217
|
+
readonly closure814_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
218
218
|
readonly __wbindgen_start: () => void;
|
|
219
219
|
}
|
|
220
220
|
|
package/web/acvm_js.js
CHANGED
|
@@ -197,14 +197,6 @@ function debugString(val) {
|
|
|
197
197
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
198
198
|
return className;
|
|
199
199
|
}
|
|
200
|
-
/**
|
|
201
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
202
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
203
|
-
*/
|
|
204
|
-
export function buildInfo() {
|
|
205
|
-
const ret = wasm.buildInfo();
|
|
206
|
-
return ret;
|
|
207
|
-
}
|
|
208
200
|
|
|
209
201
|
function passArray8ToWasm0(arg, malloc) {
|
|
210
202
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
@@ -212,51 +204,6 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
212
204
|
WASM_VECTOR_LEN = arg.length;
|
|
213
205
|
return ptr;
|
|
214
206
|
}
|
|
215
|
-
/**
|
|
216
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
217
|
-
*
|
|
218
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
219
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
220
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
221
|
-
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
222
|
-
*/
|
|
223
|
-
export function executeCircuit(program, initial_witness, foreign_call_handler) {
|
|
224
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
225
|
-
const len0 = WASM_VECTOR_LEN;
|
|
226
|
-
const ret = wasm.executeCircuit(ptr0, len0, initial_witness, foreign_call_handler);
|
|
227
|
-
return ret;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
232
|
-
* This method also extracts the public return values from the solved witness into its own return witness.
|
|
233
|
-
*
|
|
234
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
235
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
236
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
237
|
-
* @returns {SolvedAndReturnWitness} The solved witness calculated by executing the circuit on the provided inputs, as well as the return witness indices as specified by the circuit.
|
|
238
|
-
*/
|
|
239
|
-
export function executeCircuitWithReturnWitness(program, initial_witness, foreign_call_handler) {
|
|
240
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
241
|
-
const len0 = WASM_VECTOR_LEN;
|
|
242
|
-
const ret = wasm.executeCircuitWithReturnWitness(ptr0, len0, initial_witness, foreign_call_handler);
|
|
243
|
-
return ret;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
248
|
-
*
|
|
249
|
-
* @param {Uint8Array} program - A serialized representation of an ACIR program
|
|
250
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `program`.
|
|
251
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the program.
|
|
252
|
-
* @returns {WitnessStack} The solved witness calculated by executing the program on the provided inputs.
|
|
253
|
-
*/
|
|
254
|
-
export function executeProgram(program, initial_witness, foreign_call_handler) {
|
|
255
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
256
|
-
const len0 = WASM_VECTOR_LEN;
|
|
257
|
-
const ret = wasm.executeProgram(ptr0, len0, initial_witness, foreign_call_handler);
|
|
258
|
-
return ret;
|
|
259
|
-
}
|
|
260
207
|
|
|
261
208
|
function takeFromExternrefTable0(idx) {
|
|
262
209
|
const value = wasm.__wbindgen_export_2.get(idx);
|
|
@@ -323,6 +270,75 @@ export function getPublicWitness(program, solved_witness) {
|
|
|
323
270
|
return takeFromExternrefTable0(ret[0]);
|
|
324
271
|
}
|
|
325
272
|
|
|
273
|
+
/**
|
|
274
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
275
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
276
|
+
*/
|
|
277
|
+
export function buildInfo() {
|
|
278
|
+
const ret = wasm.buildInfo();
|
|
279
|
+
return ret;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
284
|
+
*
|
|
285
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
286
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
287
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
288
|
+
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
289
|
+
*/
|
|
290
|
+
export function executeCircuit(program, initial_witness, foreign_call_handler) {
|
|
291
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
292
|
+
const len0 = WASM_VECTOR_LEN;
|
|
293
|
+
const ret = wasm.executeCircuit(ptr0, len0, initial_witness, foreign_call_handler);
|
|
294
|
+
return ret;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
299
|
+
* This method also extracts the public return values from the solved witness into its own return witness.
|
|
300
|
+
*
|
|
301
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
302
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
303
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
304
|
+
* @returns {SolvedAndReturnWitness} The solved witness calculated by executing the circuit on the provided inputs, as well as the return witness indices as specified by the circuit.
|
|
305
|
+
*/
|
|
306
|
+
export function executeCircuitWithReturnWitness(program, initial_witness, foreign_call_handler) {
|
|
307
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
308
|
+
const len0 = WASM_VECTOR_LEN;
|
|
309
|
+
const ret = wasm.executeCircuitWithReturnWitness(ptr0, len0, initial_witness, foreign_call_handler);
|
|
310
|
+
return ret;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
315
|
+
*
|
|
316
|
+
* @param {Uint8Array} program - A serialized representation of an ACIR program
|
|
317
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `program`.
|
|
318
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the program.
|
|
319
|
+
* @returns {WitnessStack} The solved witness calculated by executing the program on the provided inputs.
|
|
320
|
+
*/
|
|
321
|
+
export function executeProgram(program, initial_witness, foreign_call_handler) {
|
|
322
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
323
|
+
const len0 = WASM_VECTOR_LEN;
|
|
324
|
+
const ret = wasm.executeProgram(ptr0, len0, initial_witness, foreign_call_handler);
|
|
325
|
+
return ret;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Sets the package's logging level.
|
|
330
|
+
*
|
|
331
|
+
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
332
|
+
*/
|
|
333
|
+
export function initLogLevel(filter) {
|
|
334
|
+
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
335
|
+
const len0 = WASM_VECTOR_LEN;
|
|
336
|
+
const ret = wasm.initLogLevel(ptr0, len0);
|
|
337
|
+
if (ret[1]) {
|
|
338
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
326
342
|
/**
|
|
327
343
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
328
344
|
* @param {string} lhs
|
|
@@ -507,30 +523,16 @@ export function decompressWitnessStack(compressed_witness) {
|
|
|
507
523
|
return takeFromExternrefTable0(ret[0]);
|
|
508
524
|
}
|
|
509
525
|
|
|
510
|
-
/**
|
|
511
|
-
* Sets the package's logging level.
|
|
512
|
-
*
|
|
513
|
-
* @param {LogLevel} level - The maximum level of logging to be emitted.
|
|
514
|
-
*/
|
|
515
|
-
export function initLogLevel(filter) {
|
|
516
|
-
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
517
|
-
const len0 = WASM_VECTOR_LEN;
|
|
518
|
-
const ret = wasm.initLogLevel(ptr0, len0);
|
|
519
|
-
if (ret[1]) {
|
|
520
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
526
|
function __wbg_adapter_30(arg0, arg1, arg2) {
|
|
525
|
-
wasm.
|
|
527
|
+
wasm.closure249_externref_shim(arg0, arg1, arg2);
|
|
526
528
|
}
|
|
527
529
|
|
|
528
530
|
function __wbg_adapter_89(arg0, arg1, arg2, arg3, arg4) {
|
|
529
|
-
wasm.
|
|
531
|
+
wasm.closure810_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
530
532
|
}
|
|
531
533
|
|
|
532
534
|
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
533
|
-
wasm.
|
|
535
|
+
wasm.closure814_externref_shim(arg0, arg1, arg2, arg3);
|
|
534
536
|
}
|
|
535
537
|
|
|
536
538
|
async function __wbg_load(module, imports) {
|
|
@@ -796,8 +798,8 @@ function __wbg_get_imports() {
|
|
|
796
798
|
const ret = false;
|
|
797
799
|
return ret;
|
|
798
800
|
};
|
|
799
|
-
imports.wbg.
|
|
800
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
801
|
+
imports.wbg.__wbindgen_closure_wrapper725 = function(arg0, arg1, arg2) {
|
|
802
|
+
const ret = makeMutClosure(arg0, arg1, 250, __wbg_adapter_30);
|
|
801
803
|
return ret;
|
|
802
804
|
};
|
|
803
805
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/web/acvm_js_bg.wasm
CHANGED
|
Binary file
|
package/web/acvm_js_bg.wasm.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
5
|
+
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
6
|
+
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
4
7
|
export const buildInfo: () => any;
|
|
5
8
|
export const executeCircuit: (a: number, b: number, c: any, d: any) => any;
|
|
6
9
|
export const executeCircuitWithReturnWitness: (a: number, b: number, c: any, d: any) => any;
|
|
7
10
|
export const executeProgram: (a: number, b: number, c: any, d: any) => any;
|
|
8
|
-
export const
|
|
9
|
-
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
10
|
-
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
11
|
+
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
11
12
|
export const and: (a: any, b: any) => any;
|
|
12
13
|
export const xor: (a: any, b: any) => any;
|
|
13
14
|
export const sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -18,7 +19,6 @@ export const compressWitness: (a: any) => [number, number, number, number];
|
|
|
18
19
|
export const decompressWitness: (a: number, b: number) => [number, number, number];
|
|
19
20
|
export const compressWitnessStack: (a: any) => [number, number, number, number];
|
|
20
21
|
export const decompressWitnessStack: (a: number, b: number) => [number, number, number];
|
|
21
|
-
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
22
22
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
23
23
|
export const __externref_table_alloc: () => number;
|
|
24
24
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -27,7 +27,7 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
|
27
27
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
28
28
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
30
|
+
export const closure249_externref_shim: (a: number, b: number, c: any) => void;
|
|
31
|
+
export const closure810_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
32
|
+
export const closure814_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
export const __wbindgen_start: () => void;
|