@acala-network/chopsticks-executor 0.7.0 → 0.7.2
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 +25 -25
- package/chopsticks_executor_bg.wasm +0 -0
- package/package.json +1 -1
package/chopsticks_executor.js
CHANGED
|
@@ -351,16 +351,13 @@ module.exports.__wbg_value_1695675138684bd5 = function(arg0) {
|
|
|
351
351
|
return addHeapObject(ret);
|
|
352
352
|
};
|
|
353
353
|
|
|
354
|
-
module.exports.
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
358
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
354
|
+
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
355
|
+
const ret = new Array();
|
|
356
|
+
return addHeapObject(ret);
|
|
359
357
|
};
|
|
360
358
|
|
|
361
|
-
module.exports.
|
|
362
|
-
|
|
363
|
-
return ret;
|
|
359
|
+
module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
|
|
360
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
364
361
|
};
|
|
365
362
|
|
|
366
363
|
module.exports.__wbindgen_is_object = function(arg0) {
|
|
@@ -384,6 +381,18 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
|
384
381
|
return ret;
|
|
385
382
|
};
|
|
386
383
|
|
|
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
|
+
|
|
387
396
|
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
388
397
|
const v = getObject(arg0);
|
|
389
398
|
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
@@ -399,15 +408,6 @@ module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
|
399
408
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
400
409
|
};
|
|
401
410
|
|
|
402
|
-
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
403
|
-
const ret = new Array();
|
|
404
|
-
return addHeapObject(ret);
|
|
405
|
-
};
|
|
406
|
-
|
|
407
|
-
module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
|
|
408
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
409
|
-
};
|
|
410
|
-
|
|
411
411
|
module.exports.__wbindgen_number_new = function(arg0) {
|
|
412
412
|
const ret = arg0;
|
|
413
413
|
return addHeapObject(ret);
|
|
@@ -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_208a38d431f09b2d = 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_a8d71b7ed7289154 = 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_224a9ed18712d356 = 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_60e9c2134203c72d = 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_10fb10d9aaf76f47 = 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_57e08f8962f50174 = 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_fadab477c3508c50 = 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_wrapper1329 = function(arg0, arg1, arg2) {
|
|
669
669
|
const ret = makeMutClosure(arg0, arg1, 128, __wbg_adapter_46);
|
|
670
670
|
return addHeapObject(ret);
|
|
671
671
|
};
|
|
Binary file
|