@acala-network/chopsticks-executor 0.7.2 → 0.7.3
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/chopsticks_executor.js +34 -34
- package/chopsticks_executor_bg.wasm +0 -0
- package/package.json +1 -1
package/chopsticks_executor.js
CHANGED
|
@@ -351,6 +351,32 @@ module.exports.__wbg_value_1695675138684bd5 = function(arg0) {
|
|
|
351
351
|
return addHeapObject(ret);
|
|
352
352
|
};
|
|
353
353
|
|
|
354
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
355
|
+
const obj = getObject(arg1);
|
|
356
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
357
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
358
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
module.exports.__wbg_isSafeInteger_bb8e18dd21c97288 = function(arg0) {
|
|
362
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
363
|
+
return ret;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
module.exports.__wbg_new_b51585de1b234aff = function() {
|
|
367
|
+
const ret = new Object();
|
|
368
|
+
return addHeapObject(ret);
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
372
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
376
|
+
const ret = arg0;
|
|
377
|
+
return addHeapObject(ret);
|
|
378
|
+
};
|
|
379
|
+
|
|
354
380
|
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
355
381
|
const ret = new Array();
|
|
356
382
|
return addHeapObject(ret);
|
|
@@ -381,38 +407,12 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
|
381
407
|
return ret;
|
|
382
408
|
};
|
|
383
409
|
|
|
384
|
-
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
385
|
-
const obj = getObject(arg1);
|
|
386
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
387
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
388
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
389
|
-
};
|
|
390
|
-
|
|
391
|
-
module.exports.__wbg_isSafeInteger_bb8e18dd21c97288 = function(arg0) {
|
|
392
|
-
const ret = Number.isSafeInteger(getObject(arg0));
|
|
393
|
-
return ret;
|
|
394
|
-
};
|
|
395
|
-
|
|
396
410
|
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
397
411
|
const v = getObject(arg0);
|
|
398
412
|
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
399
413
|
return ret;
|
|
400
414
|
};
|
|
401
415
|
|
|
402
|
-
module.exports.__wbg_new_b51585de1b234aff = function() {
|
|
403
|
-
const ret = new Object();
|
|
404
|
-
return addHeapObject(ret);
|
|
405
|
-
};
|
|
406
|
-
|
|
407
|
-
module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
408
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
module.exports.__wbindgen_number_new = function(arg0) {
|
|
412
|
-
const ret = arg0;
|
|
413
|
-
return addHeapObject(ret);
|
|
414
|
-
};
|
|
415
|
-
|
|
416
416
|
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
417
417
|
const obj = takeObject(arg0).original;
|
|
418
418
|
if (obj.cnt-- == 1) {
|
|
@@ -428,37 +428,37 @@ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
|
428
428
|
return ret;
|
|
429
429
|
};
|
|
430
430
|
|
|
431
|
-
module.exports.
|
|
431
|
+
module.exports.__wbg_offchainSubmitTransaction_63ba1665b4baf81d = function(arg0, arg1) {
|
|
432
432
|
const ret = getObject(arg0).offchainSubmitTransaction(takeObject(arg1));
|
|
433
433
|
return addHeapObject(ret);
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
module.exports.
|
|
436
|
+
module.exports.__wbg_offchainRandomSeed_e1ee69c9c37dafb8 = function(arg0) {
|
|
437
437
|
const ret = getObject(arg0).offchainRandomSeed();
|
|
438
438
|
return addHeapObject(ret);
|
|
439
439
|
};
|
|
440
440
|
|
|
441
|
-
module.exports.
|
|
441
|
+
module.exports.__wbg_offchainTimestamp_320e8e4c96c9e04c = function(arg0) {
|
|
442
442
|
const ret = getObject(arg0).offchainTimestamp();
|
|
443
443
|
return addHeapObject(ret);
|
|
444
444
|
};
|
|
445
445
|
|
|
446
|
-
module.exports.
|
|
446
|
+
module.exports.__wbg_offchainGetStorage_953b5cc09e08e83d = function(arg0, arg1) {
|
|
447
447
|
const ret = getObject(arg0).offchainGetStorage(takeObject(arg1));
|
|
448
448
|
return addHeapObject(ret);
|
|
449
449
|
};
|
|
450
450
|
|
|
451
|
-
module.exports.
|
|
451
|
+
module.exports.__wbg_getNextKey_5794bb6bbba2420d = function(arg0, arg1, arg2) {
|
|
452
452
|
const ret = getObject(arg0).getNextKey(takeObject(arg1), takeObject(arg2));
|
|
453
453
|
return addHeapObject(ret);
|
|
454
454
|
};
|
|
455
455
|
|
|
456
|
-
module.exports.
|
|
456
|
+
module.exports.__wbg_getStateRoot_899ea4ca2b02d1f6 = function(arg0) {
|
|
457
457
|
const ret = getObject(arg0).getStateRoot();
|
|
458
458
|
return addHeapObject(ret);
|
|
459
459
|
};
|
|
460
460
|
|
|
461
|
-
module.exports.
|
|
461
|
+
module.exports.__wbg_getStorage_83a32e2f6165ee0b = function(arg0, arg1) {
|
|
462
462
|
const ret = getObject(arg0).getStorage(takeObject(arg1));
|
|
463
463
|
return addHeapObject(ret);
|
|
464
464
|
};
|
|
@@ -665,7 +665,7 @@ module.exports.__wbg_warn_58110c4a199df084 = function(arg0) {
|
|
|
665
665
|
console.warn(getObject(arg0));
|
|
666
666
|
};
|
|
667
667
|
|
|
668
|
-
module.exports.
|
|
668
|
+
module.exports.__wbindgen_closure_wrapper1327 = function(arg0, arg1, arg2) {
|
|
669
669
|
const ret = makeMutClosure(arg0, arg1, 128, __wbg_adapter_46);
|
|
670
670
|
return addHeapObject(ret);
|
|
671
671
|
};
|
|
Binary file
|