pshenmic-dpp 1.1.0-dev.1 → 1.1.0-dev.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.
@@ -1,3 +1,5 @@
1
+ import { stringify } from './snippets/pshenmic_dpp_utils-23ab7381b198778d/stringify.js';
2
+
1
3
  let wasm;
2
4
 
3
5
  const heap = new Array(128).fill(undefined);
@@ -17,6 +19,36 @@ function addHeapObject(obj) {
17
19
  return idx;
18
20
  }
19
21
 
22
+ let cachedUint8ArrayMemory0 = null;
23
+
24
+ function getUint8ArrayMemory0() {
25
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
26
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
27
+ }
28
+ return cachedUint8ArrayMemory0;
29
+ }
30
+
31
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
32
+
33
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
34
+
35
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
36
+ let numBytesDecoded = 0;
37
+ function decodeText(ptr, len) {
38
+ numBytesDecoded += len;
39
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
40
+ cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
41
+ cachedTextDecoder.decode();
42
+ numBytesDecoded = len;
43
+ }
44
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
45
+ }
46
+
47
+ function getStringFromWasm0(ptr, len) {
48
+ ptr = ptr >>> 0;
49
+ return decodeText(ptr, len);
50
+ }
51
+
20
52
  function handleError(f, args) {
21
53
  try {
22
54
  return f.apply(this, args);
@@ -27,15 +59,6 @@ function handleError(f, args) {
27
59
 
28
60
  let WASM_VECTOR_LEN = 0;
29
61
 
30
- let cachedUint8ArrayMemory0 = null;
31
-
32
- function getUint8ArrayMemory0() {
33
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
34
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
35
- }
36
- return cachedUint8ArrayMemory0;
37
- }
38
-
39
62
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
40
63
 
41
64
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -99,13 +122,9 @@ function getDataViewMemory0() {
99
122
  return cachedDataViewMemory0;
100
123
  }
101
124
 
102
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
103
-
104
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
105
-
106
- function getStringFromWasm0(ptr, len) {
125
+ function getArrayU8FromWasm0(ptr, len) {
107
126
  ptr = ptr >>> 0;
108
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
127
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
109
128
  }
110
129
 
111
130
  function dropObject(idx) {
@@ -189,11 +208,6 @@ function debugString(val) {
189
208
  return className;
190
209
  }
191
210
 
192
- function getArrayU8FromWasm0(ptr, len) {
193
- ptr = ptr >>> 0;
194
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
195
- }
196
-
197
211
  let stack_pointer = 128;
198
212
 
199
213
  function addBorrowedObject(obj) {
@@ -663,6 +677,32 @@ export function verifyTokenContractInfoProof(proof, js_token_id, verify_subset_o
663
677
  }
664
678
  }
665
679
 
680
+ /**
681
+ * @param {Uint8Array} proof
682
+ * @param {any} js_token_ids
683
+ * @param {boolean} verify_subset_of_proof
684
+ * @param {any} js_platform_version
685
+ * @returns {VerifiedTokenDirectPurchasePrices}
686
+ */
687
+ export function verifyTokenDirectPurchasePrices(proof, js_token_ids, verify_subset_of_proof, js_platform_version) {
688
+ try {
689
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
690
+ wasm.verifyTokenDirectPurchasePrices(retptr, addBorrowedObject(proof), addBorrowedObject(js_token_ids), verify_subset_of_proof, addBorrowedObject(js_platform_version));
691
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
692
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
693
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
694
+ if (r2) {
695
+ throw takeObject(r1);
696
+ }
697
+ return VerifiedTokenDirectPurchasePrices.__wrap(r0);
698
+ } finally {
699
+ wasm.__wbindgen_add_to_stack_pointer(16);
700
+ heap[stack_pointer++] = undefined;
701
+ heap[stack_pointer++] = undefined;
702
+ heap[stack_pointer++] = undefined;
703
+ }
704
+ }
705
+
666
706
  /**
667
707
  * @param {Uint8Array} proof
668
708
  * @param {any} js_token_id
@@ -20757,6 +20797,98 @@ export class VerifiedTokenContractInfoWASM {
20757
20797
  }
20758
20798
  }
20759
20799
 
20800
+ const VerifiedTokenDirectPurchasePricesFinalization = (typeof FinalizationRegistry === 'undefined')
20801
+ ? { register: () => {}, unregister: () => {} }
20802
+ : new FinalizationRegistry(ptr => wasm.__wbg_verifiedtokendirectpurchaseprices_free(ptr >>> 0, 1));
20803
+
20804
+ export class VerifiedTokenDirectPurchasePrices {
20805
+
20806
+ static __wrap(ptr) {
20807
+ ptr = ptr >>> 0;
20808
+ const obj = Object.create(VerifiedTokenDirectPurchasePrices.prototype);
20809
+ obj.__wbg_ptr = ptr;
20810
+ VerifiedTokenDirectPurchasePricesFinalization.register(obj, obj.__wbg_ptr, obj);
20811
+ return obj;
20812
+ }
20813
+
20814
+ __destroy_into_raw() {
20815
+ const ptr = this.__wbg_ptr;
20816
+ this.__wbg_ptr = 0;
20817
+ VerifiedTokenDirectPurchasePricesFinalization.unregister(this);
20818
+ return ptr;
20819
+ }
20820
+
20821
+ /** @ignore */
20822
+ /** */
20823
+ free() {
20824
+ const ptr = this.__destroy_into_raw();
20825
+ wasm.__wbg_verifiedtokendirectpurchaseprices_free(ptr, 0);
20826
+ }
20827
+ /**
20828
+ * @returns {string}
20829
+ */
20830
+ get __type() {
20831
+ let deferred1_0;
20832
+ let deferred1_1;
20833
+ try {
20834
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
20835
+ wasm.verifiedtokendirectpurchaseprices_type_name(retptr, this.__wbg_ptr);
20836
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
20837
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
20838
+ deferred1_0 = r0;
20839
+ deferred1_1 = r1;
20840
+ return getStringFromWasm0(r0, r1);
20841
+ } finally {
20842
+ wasm.__wbindgen_add_to_stack_pointer(16);
20843
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
20844
+ }
20845
+ }
20846
+ /**
20847
+ * @returns {string}
20848
+ */
20849
+ static get __struct() {
20850
+ let deferred1_0;
20851
+ let deferred1_1;
20852
+ try {
20853
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
20854
+ wasm.verifiedtokendirectpurchaseprices_struct_name(retptr);
20855
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
20856
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
20857
+ deferred1_0 = r0;
20858
+ deferred1_1 = r1;
20859
+ return getStringFromWasm0(r0, r1);
20860
+ } finally {
20861
+ wasm.__wbindgen_add_to_stack_pointer(16);
20862
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
20863
+ }
20864
+ }
20865
+ /**
20866
+ * @returns {Uint8Array}
20867
+ */
20868
+ get rootHash() {
20869
+ const ret = wasm.verifiedtokendirectpurchaseprices_root_hash(this.__wbg_ptr);
20870
+ return takeObject(ret);
20871
+ }
20872
+ /**
20873
+ * @returns {Array<any> | undefined}
20874
+ */
20875
+ get prices() {
20876
+ try {
20877
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
20878
+ wasm.verifiedtokendirectpurchaseprices_prices(retptr, this.__wbg_ptr);
20879
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
20880
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
20881
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
20882
+ if (r2) {
20883
+ throw takeObject(r1);
20884
+ }
20885
+ return takeObject(r0);
20886
+ } finally {
20887
+ wasm.__wbindgen_add_to_stack_pointer(16);
20888
+ }
20889
+ }
20890
+ }
20891
+
20760
20892
  const VerifiedTokenTotalSupplyWASMFinalization = (typeof FinalizationRegistry === 'undefined')
20761
20893
  ? { register: () => {}, unregister: () => {} }
20762
20894
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedtokentotalsupplywasm_free(ptr >>> 0, 1));
@@ -21527,6 +21659,8 @@ export class WitnessWASM {
21527
21659
  }
21528
21660
  }
21529
21661
 
21662
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
21663
+
21530
21664
  async function __wbg_load(module, imports) {
21531
21665
  if (typeof Response === 'function' && module instanceof Response) {
21532
21666
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -21534,7 +21668,9 @@ async function __wbg_load(module, imports) {
21534
21668
  return await WebAssembly.instantiateStreaming(module, imports);
21535
21669
 
21536
21670
  } catch (e) {
21537
- if (module.headers.get('Content-Type') != 'application/wasm') {
21671
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
21672
+
21673
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
21538
21674
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
21539
21675
 
21540
21676
  } else {
@@ -21561,14 +21697,22 @@ async function __wbg_load(module, imports) {
21561
21697
  function __wbg_get_imports() {
21562
21698
  const imports = {};
21563
21699
  imports.wbg = {};
21564
- imports.wbg.__wbg_BigInt_470dd987b8190f8e = function(arg0) {
21700
+ imports.wbg.__wbg_BigInt_6e3a01c3311ee796 = function(arg0) {
21565
21701
  const ret = BigInt(getObject(arg0));
21566
21702
  return addHeapObject(ret);
21567
21703
  };
21568
- imports.wbg.__wbg_BigInt_ddea6d2f55558acb = function() { return handleError(function (arg0) {
21704
+ imports.wbg.__wbg_BigInt_c7a77e48606f849e = function(arg0, arg1) {
21705
+ const ret = BigInt(getStringFromWasm0(arg0, arg1));
21706
+ return addHeapObject(ret);
21707
+ };
21708
+ imports.wbg.__wbg_BigInt_dda186faea58f4e9 = function() { return handleError(function (arg0) {
21569
21709
  const ret = BigInt(getObject(arg0));
21570
21710
  return addHeapObject(ret);
21571
21711
  }, arguments) };
21712
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
21713
+ const ret = Error(getStringFromWasm0(arg0, arg1));
21714
+ return addHeapObject(ret);
21715
+ };
21572
21716
  imports.wbg.__wbg_String_eecc4a11987127d6 = function(arg0, arg1) {
21573
21717
  const ret = String(getObject(arg1));
21574
21718
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
@@ -21592,16 +21736,16 @@ function __wbg_get_imports() {
21592
21736
  const ret = BlockBasedDistributionWASM.__wrap(arg0);
21593
21737
  return addHeapObject(ret);
21594
21738
  };
21595
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
21739
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
21596
21740
  const ret = getObject(arg0).buffer;
21597
21741
  return addHeapObject(ret);
21598
21742
  };
21599
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
21600
- const ret = getObject(arg0).call(getObject(arg1));
21743
+ imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
21744
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
21601
21745
  return addHeapObject(ret);
21602
21746
  }, arguments) };
21603
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
21604
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
21747
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
21748
+ const ret = getObject(arg0).call(getObject(arg1));
21605
21749
  return addHeapObject(ret);
21606
21750
  }, arguments) };
21607
21751
  imports.wbg.__wbg_contenderwithserializeddocumentwasm_new = function(arg0) {
@@ -21656,11 +21800,11 @@ function __wbg_get_imports() {
21656
21800
  const ret = DocumentWASM.__wrap(arg0);
21657
21801
  return addHeapObject(ret);
21658
21802
  };
21659
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
21803
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
21660
21804
  const ret = getObject(arg0).done;
21661
21805
  return ret;
21662
21806
  };
21663
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
21807
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
21664
21808
  const ret = Object.entries(getObject(arg0));
21665
21809
  return addHeapObject(ret);
21666
21810
  };
@@ -21672,18 +21816,18 @@ function __wbg_get_imports() {
21672
21816
  const ret = ExtendedEpochInfoWASM.__wrap(arg0);
21673
21817
  return addHeapObject(ret);
21674
21818
  };
21675
- imports.wbg.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
21819
+ imports.wbg.__wbg_from_12ff8e47307bd4c7 = function(arg0) {
21676
21820
  const ret = Array.from(getObject(arg0));
21677
21821
  return addHeapObject(ret);
21678
21822
  };
21679
21823
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
21680
21824
  getObject(arg0).getRandomValues(getObject(arg1));
21681
21825
  }, arguments) };
21682
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
21826
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
21683
21827
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
21684
21828
  return addHeapObject(ret);
21685
21829
  }, arguments) };
21686
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
21830
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
21687
21831
  const ret = getObject(arg0)[arg1 >>> 0];
21688
21832
  return addHeapObject(ret);
21689
21833
  };
@@ -21707,7 +21851,7 @@ function __wbg_get_imports() {
21707
21851
  const ret = IdentityPublicKeyWASM.__wrap(arg0);
21708
21852
  return addHeapObject(ret);
21709
21853
  };
21710
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
21854
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
21711
21855
  let result;
21712
21856
  try {
21713
21857
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -21717,7 +21861,7 @@ function __wbg_get_imports() {
21717
21861
  const ret = result;
21718
21862
  return ret;
21719
21863
  };
21720
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
21864
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
21721
21865
  let result;
21722
21866
  try {
21723
21867
  result = getObject(arg0) instanceof Uint8Array;
@@ -21727,27 +21871,31 @@ function __wbg_get_imports() {
21727
21871
  const ret = result;
21728
21872
  return ret;
21729
21873
  };
21730
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
21874
+ imports.wbg.__wbg_isArray_2a07fd175d45c496 = function(arg0) {
21731
21875
  const ret = Array.isArray(getObject(arg0));
21732
21876
  return ret;
21733
21877
  };
21734
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
21878
+ imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
21879
+ const ret = Array.isArray(getObject(arg0));
21880
+ return ret;
21881
+ };
21882
+ imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
21735
21883
  const ret = Number.isSafeInteger(getObject(arg0));
21736
21884
  return ret;
21737
21885
  };
21738
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
21886
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
21739
21887
  const ret = Symbol.iterator;
21740
21888
  return addHeapObject(ret);
21741
21889
  };
21742
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
21890
+ imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
21743
21891
  const ret = Object.keys(getObject(arg0));
21744
21892
  return addHeapObject(ret);
21745
21893
  };
21746
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
21894
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
21747
21895
  const ret = getObject(arg0).length;
21748
21896
  return ret;
21749
21897
  };
21750
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
21898
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
21751
21899
  const ret = getObject(arg0).length;
21752
21900
  return ret;
21753
21901
  };
@@ -21755,43 +21903,43 @@ function __wbg_get_imports() {
21755
21903
  const ret = getObject(arg0).msCrypto;
21756
21904
  return addHeapObject(ret);
21757
21905
  };
21758
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
21906
+ imports.wbg.__wbg_new_07b483f72211fd66 = function() {
21759
21907
  const ret = new Object();
21760
21908
  return addHeapObject(ret);
21761
21909
  };
21762
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
21763
- const ret = new Map();
21910
+ imports.wbg.__wbg_new_58353953ad2097cc = function() {
21911
+ const ret = new Array();
21764
21912
  return addHeapObject(ret);
21765
21913
  };
21766
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
21767
- const ret = new Array();
21914
+ imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
21915
+ const ret = new Map();
21768
21916
  return addHeapObject(ret);
21769
21917
  };
21770
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
21918
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
21771
21919
  const ret = new Uint8Array(getObject(arg0));
21772
21920
  return addHeapObject(ret);
21773
21921
  };
21774
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
21775
- const ret = new Function(getStringFromWasm0(arg0, arg1));
21922
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
21923
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
21776
21924
  return addHeapObject(ret);
21777
21925
  };
21778
- imports.wbg.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
21779
- const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
21926
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
21927
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
21780
21928
  return addHeapObject(ret);
21781
21929
  };
21782
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
21930
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
21783
21931
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
21784
21932
  return addHeapObject(ret);
21785
21933
  };
21786
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
21934
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
21787
21935
  const ret = new Uint8Array(arg0 >>> 0);
21788
21936
  return addHeapObject(ret);
21789
21937
  };
21790
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
21938
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
21791
21939
  const ret = getObject(arg0).next;
21792
21940
  return addHeapObject(ret);
21793
21941
  };
21794
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
21942
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
21795
21943
  const ret = getObject(arg0).next();
21796
21944
  return addHeapObject(ret);
21797
21945
  }, arguments) };
@@ -21807,7 +21955,7 @@ function __wbg_get_imports() {
21807
21955
  const ret = getObject(arg0).process;
21808
21956
  return addHeapObject(ret);
21809
21957
  };
21810
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
21958
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
21811
21959
  const ret = getObject(arg0).push(getObject(arg1));
21812
21960
  return ret;
21813
21961
  };
@@ -21818,44 +21966,47 @@ function __wbg_get_imports() {
21818
21966
  const ret = module.require;
21819
21967
  return addHeapObject(ret);
21820
21968
  }, arguments) };
21821
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
21822
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
21823
- };
21824
21969
  imports.wbg.__wbg_set_3807d5f0bfc24aa7 = function(arg0, arg1, arg2) {
21825
21970
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
21826
21971
  };
21827
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
21828
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
21829
- };
21830
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
21831
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
21832
- return addHeapObject(ret);
21972
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
21973
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
21833
21974
  };
21834
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
21975
+ imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
21835
21976
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
21836
21977
  return ret;
21837
21978
  }, arguments) };
21838
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
21979
+ imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
21980
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
21981
+ return addHeapObject(ret);
21982
+ };
21983
+ imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
21984
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
21985
+ };
21986
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
21839
21987
  const ret = typeof global === 'undefined' ? null : global;
21840
21988
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21841
21989
  };
21842
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
21990
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
21843
21991
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
21844
21992
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21845
21993
  };
21846
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
21994
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
21847
21995
  const ret = typeof self === 'undefined' ? null : self;
21848
21996
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21849
21997
  };
21850
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
21998
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
21851
21999
  const ret = typeof window === 'undefined' ? null : window;
21852
22000
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21853
22001
  };
21854
- imports.wbg.__wbg_stringify_b1b3844ae02664a1 = function() { return handleError(function (arg0, arg1) {
21855
- const ret = JSON.stringify(getObject(arg0), getObject(arg1));
21856
- return addHeapObject(ret);
21857
- }, arguments) };
21858
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
22002
+ imports.wbg.__wbg_stringify_163f24f3789f7316 = function(arg0, arg1) {
22003
+ const ret = stringify(takeObject(arg1));
22004
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
22005
+ const len1 = WASM_VECTOR_LEN;
22006
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
22007
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
22008
+ };
22009
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
21859
22010
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
21860
22011
  return addHeapObject(ret);
21861
22012
  };
@@ -21863,21 +22014,21 @@ function __wbg_get_imports() {
21863
22014
  const ret = TimeBasedDistributionWASM.__wrap(arg0);
21864
22015
  return addHeapObject(ret);
21865
22016
  };
21866
- imports.wbg.__wbg_toString_2f76f493957b63da = function(arg0, arg1, arg2) {
22017
+ imports.wbg.__wbg_toString_21791a66666b3afd = function(arg0) {
22018
+ const ret = getObject(arg0).toString();
22019
+ return addHeapObject(ret);
22020
+ };
22021
+ imports.wbg.__wbg_toString_2a748bb7135f7e4d = function(arg0, arg1, arg2) {
21867
22022
  const ret = getObject(arg1).toString(arg2);
21868
22023
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
21869
22024
  const len1 = WASM_VECTOR_LEN;
21870
22025
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
21871
22026
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
21872
22027
  };
21873
- imports.wbg.__wbg_toString_b5d4438bc26b267c = function() { return handleError(function (arg0, arg1) {
22028
+ imports.wbg.__wbg_toString_e0223ef317f43fb7 = function() { return handleError(function (arg0, arg1) {
21874
22029
  const ret = getObject(arg0).toString(arg1);
21875
22030
  return addHeapObject(ret);
21876
22031
  }, arguments) };
21877
- imports.wbg.__wbg_toString_c813bbd34d063839 = function(arg0) {
21878
- const ret = getObject(arg0).toString();
21879
- return addHeapObject(ret);
21880
- };
21881
22032
  imports.wbg.__wbg_tokenburntransitionwasm_new = function(arg0) {
21882
22033
  const ret = TokenBurnTransitionWASM.__wrap(arg0);
21883
22034
  return addHeapObject(ret);
@@ -21958,7 +22109,7 @@ function __wbg_get_imports() {
21958
22109
  const ret = TxOutWASM.__wrap(arg0);
21959
22110
  return addHeapObject(ret);
21960
22111
  };
21961
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
22112
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
21962
22113
  const ret = getObject(arg0).value;
21963
22114
  return addHeapObject(ret);
21964
22115
  };
@@ -21981,10 +22132,6 @@ function __wbg_get_imports() {
21981
22132
  const ret = arg0;
21982
22133
  return addHeapObject(ret);
21983
22134
  };
21984
- imports.wbg.__wbindgen_bigint_from_str = function(arg0, arg1) {
21985
- const ret = BigInt(getStringFromWasm0(arg0, arg1));
21986
- return addHeapObject(ret);
21987
- };
21988
22135
  imports.wbg.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
21989
22136
  const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
21990
22137
  return addHeapObject(ret);
@@ -22011,18 +22158,10 @@ function __wbg_get_imports() {
22011
22158
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
22012
22159
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
22013
22160
  };
22014
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
22015
- const ret = new Error(getStringFromWasm0(arg0, arg1));
22016
- return addHeapObject(ret);
22017
- };
22018
22161
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
22019
22162
  const ret = getObject(arg0) in getObject(arg1);
22020
22163
  return ret;
22021
22164
  };
22022
- imports.wbg.__wbindgen_is_array = function(arg0) {
22023
- const ret = Array.isArray(getObject(arg0));
22024
- return ret;
22025
- };
22026
22165
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
22027
22166
  const ret = typeof(getObject(arg0)) === 'bigint';
22028
22167
  return ret;