pshenmic-dpp 1.1.0-dev.1 → 1.1.0-dev.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.
@@ -3190,20 +3190,20 @@ export interface InitOutput {
3190
3190
  readonly verifiedtokensbalancesforidentitywasm_type_name: (a: number, b: number) => void;
3191
3191
  readonly verifiedtokensbalancesforidentitywasm_struct_name: (a: number) => void;
3192
3192
  readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3193
- readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
3194
3193
  readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
3195
- readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
3196
3194
  readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
3195
+ readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
3196
+ readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
3197
3197
  readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
3198
3198
  readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
3199
+ readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
3200
+ readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
3201
+ readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
3202
+ readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
3199
3203
  readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
3200
3204
  readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
3201
3205
  readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
3202
3206
  readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
3203
- readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
3204
- readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
3205
- readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
3206
- readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
3207
3207
  readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
3208
3208
  readonly partialidentitywasm_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number) => void;
3209
3209
  readonly partialidentitywasm_id: (a: number) => number;
@@ -3903,16 +3903,16 @@ export interface InitOutput {
3903
3903
  readonly tokenpaymentinfowasm_set_minimum_token_cost: (a: number, b: number, c: bigint) => void;
3904
3904
  readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
3905
3905
  readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
3906
- readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
3907
- readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
3908
3906
  readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
3909
3907
  readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
3910
3908
  readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
3909
+ readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
3910
+ readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
3911
+ readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
3912
+ readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
3911
3913
  readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
3912
3914
  readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
3913
3915
  readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
3914
- readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
3915
- readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
3916
3916
  readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
3917
3917
  readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
3918
3918
  readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
@@ -4323,23 +4323,22 @@ export interface InitOutput {
4323
4323
  readonly __wbg_set_distributioninvertedlogarithmicwasm_o: (a: number, b: bigint) => void;
4324
4324
  readonly __wbg_set_distributioninvertedlogarithmicwasm_b: (a: number, b: bigint) => void;
4325
4325
  readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
4326
+ readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4326
4327
  readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
4327
4328
  readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
4329
+ readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
4330
+ readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
4328
4331
  readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4329
- readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
4330
4332
  readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
4331
- readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
4332
- readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4333
- readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
4334
- readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
4335
- readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
4336
- readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
4337
- readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
4338
- readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
4339
- readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
4340
- readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
4341
- readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
4342
- readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
4333
+ readonly __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
4334
+ readonly __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
4335
+ readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
4336
+ readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
4337
+ readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
4338
+ readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
4339
+ readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
4340
+ readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
4341
+ readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
4343
4342
  readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
4344
4343
  readonly __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
4345
4344
  readonly __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
@@ -4350,15 +4349,12 @@ export interface InitOutput {
4350
4349
  readonly __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
4351
4350
  readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
4352
4351
  readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
4353
- readonly __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
4354
- readonly __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
4355
- readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
4356
- readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
4357
- readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
4358
- readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
4359
- readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
4360
- readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
4361
- readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
4352
+ readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
4353
+ readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
4354
+ readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
4355
+ readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
4356
+ readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
4357
+ readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
4362
4358
  readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
4363
4359
  readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
4364
4360
  readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
@@ -4368,23 +4364,27 @@ export interface InitOutput {
4368
4364
  readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
4369
4365
  readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
4370
4366
  readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
4367
+ readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
4368
+ readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
4371
4369
  readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
4372
4370
  readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
4371
+ readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4372
+ readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4373
4373
  readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
4374
4374
  readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
4375
4375
  readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
4376
- readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4377
- readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4378
4376
  readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4379
4377
  readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4380
- readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
4378
+ readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
4379
+ readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
4380
+ readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
4381
4381
  readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
4382
4382
  readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
4383
4383
  readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
4384
4384
  readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
4385
- readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
4386
4385
  readonly timebaseddistributionwasm_get_function: (a: number) => number;
4387
4386
  readonly epochbaseddistributionwasm_get_function: (a: number) => number;
4387
+ readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
4388
4388
  readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
4389
4389
  readonly statetransitionwasm_type_name: (a: number, b: number) => void;
4390
4390
  readonly statetransitionwasm_struct_name: (a: number) => void;
@@ -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) {
@@ -21527,6 +21541,8 @@ export class WitnessWASM {
21527
21541
  }
21528
21542
  }
21529
21543
 
21544
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
21545
+
21530
21546
  async function __wbg_load(module, imports) {
21531
21547
  if (typeof Response === 'function' && module instanceof Response) {
21532
21548
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -21534,7 +21550,9 @@ async function __wbg_load(module, imports) {
21534
21550
  return await WebAssembly.instantiateStreaming(module, imports);
21535
21551
 
21536
21552
  } catch (e) {
21537
- if (module.headers.get('Content-Type') != 'application/wasm') {
21553
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
21554
+
21555
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
21538
21556
  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
21557
 
21540
21558
  } else {
@@ -21561,14 +21579,22 @@ async function __wbg_load(module, imports) {
21561
21579
  function __wbg_get_imports() {
21562
21580
  const imports = {};
21563
21581
  imports.wbg = {};
21564
- imports.wbg.__wbg_BigInt_470dd987b8190f8e = function(arg0) {
21582
+ imports.wbg.__wbg_BigInt_6e3a01c3311ee796 = function(arg0) {
21565
21583
  const ret = BigInt(getObject(arg0));
21566
21584
  return addHeapObject(ret);
21567
21585
  };
21568
- imports.wbg.__wbg_BigInt_ddea6d2f55558acb = function() { return handleError(function (arg0) {
21586
+ imports.wbg.__wbg_BigInt_c7a77e48606f849e = function(arg0, arg1) {
21587
+ const ret = BigInt(getStringFromWasm0(arg0, arg1));
21588
+ return addHeapObject(ret);
21589
+ };
21590
+ imports.wbg.__wbg_BigInt_dda186faea58f4e9 = function() { return handleError(function (arg0) {
21569
21591
  const ret = BigInt(getObject(arg0));
21570
21592
  return addHeapObject(ret);
21571
21593
  }, arguments) };
21594
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
21595
+ const ret = Error(getStringFromWasm0(arg0, arg1));
21596
+ return addHeapObject(ret);
21597
+ };
21572
21598
  imports.wbg.__wbg_String_eecc4a11987127d6 = function(arg0, arg1) {
21573
21599
  const ret = String(getObject(arg1));
21574
21600
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
@@ -21592,16 +21618,16 @@ function __wbg_get_imports() {
21592
21618
  const ret = BlockBasedDistributionWASM.__wrap(arg0);
21593
21619
  return addHeapObject(ret);
21594
21620
  };
21595
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
21621
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
21596
21622
  const ret = getObject(arg0).buffer;
21597
21623
  return addHeapObject(ret);
21598
21624
  };
21599
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
21600
- const ret = getObject(arg0).call(getObject(arg1));
21625
+ imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
21626
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
21601
21627
  return addHeapObject(ret);
21602
21628
  }, arguments) };
21603
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
21604
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
21629
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
21630
+ const ret = getObject(arg0).call(getObject(arg1));
21605
21631
  return addHeapObject(ret);
21606
21632
  }, arguments) };
21607
21633
  imports.wbg.__wbg_contenderwithserializeddocumentwasm_new = function(arg0) {
@@ -21656,11 +21682,11 @@ function __wbg_get_imports() {
21656
21682
  const ret = DocumentWASM.__wrap(arg0);
21657
21683
  return addHeapObject(ret);
21658
21684
  };
21659
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
21685
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
21660
21686
  const ret = getObject(arg0).done;
21661
21687
  return ret;
21662
21688
  };
21663
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
21689
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
21664
21690
  const ret = Object.entries(getObject(arg0));
21665
21691
  return addHeapObject(ret);
21666
21692
  };
@@ -21672,18 +21698,18 @@ function __wbg_get_imports() {
21672
21698
  const ret = ExtendedEpochInfoWASM.__wrap(arg0);
21673
21699
  return addHeapObject(ret);
21674
21700
  };
21675
- imports.wbg.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
21701
+ imports.wbg.__wbg_from_12ff8e47307bd4c7 = function(arg0) {
21676
21702
  const ret = Array.from(getObject(arg0));
21677
21703
  return addHeapObject(ret);
21678
21704
  };
21679
21705
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
21680
21706
  getObject(arg0).getRandomValues(getObject(arg1));
21681
21707
  }, arguments) };
21682
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
21708
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
21683
21709
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
21684
21710
  return addHeapObject(ret);
21685
21711
  }, arguments) };
21686
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
21712
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
21687
21713
  const ret = getObject(arg0)[arg1 >>> 0];
21688
21714
  return addHeapObject(ret);
21689
21715
  };
@@ -21707,7 +21733,7 @@ function __wbg_get_imports() {
21707
21733
  const ret = IdentityPublicKeyWASM.__wrap(arg0);
21708
21734
  return addHeapObject(ret);
21709
21735
  };
21710
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
21736
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
21711
21737
  let result;
21712
21738
  try {
21713
21739
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -21717,7 +21743,7 @@ function __wbg_get_imports() {
21717
21743
  const ret = result;
21718
21744
  return ret;
21719
21745
  };
21720
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
21746
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
21721
21747
  let result;
21722
21748
  try {
21723
21749
  result = getObject(arg0) instanceof Uint8Array;
@@ -21727,27 +21753,31 @@ function __wbg_get_imports() {
21727
21753
  const ret = result;
21728
21754
  return ret;
21729
21755
  };
21730
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
21756
+ imports.wbg.__wbg_isArray_2a07fd175d45c496 = function(arg0) {
21757
+ const ret = Array.isArray(getObject(arg0));
21758
+ return ret;
21759
+ };
21760
+ imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
21731
21761
  const ret = Array.isArray(getObject(arg0));
21732
21762
  return ret;
21733
21763
  };
21734
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
21764
+ imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
21735
21765
  const ret = Number.isSafeInteger(getObject(arg0));
21736
21766
  return ret;
21737
21767
  };
21738
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
21768
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
21739
21769
  const ret = Symbol.iterator;
21740
21770
  return addHeapObject(ret);
21741
21771
  };
21742
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
21772
+ imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
21743
21773
  const ret = Object.keys(getObject(arg0));
21744
21774
  return addHeapObject(ret);
21745
21775
  };
21746
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
21776
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
21747
21777
  const ret = getObject(arg0).length;
21748
21778
  return ret;
21749
21779
  };
21750
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
21780
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
21751
21781
  const ret = getObject(arg0).length;
21752
21782
  return ret;
21753
21783
  };
@@ -21755,43 +21785,43 @@ function __wbg_get_imports() {
21755
21785
  const ret = getObject(arg0).msCrypto;
21756
21786
  return addHeapObject(ret);
21757
21787
  };
21758
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
21788
+ imports.wbg.__wbg_new_07b483f72211fd66 = function() {
21759
21789
  const ret = new Object();
21760
21790
  return addHeapObject(ret);
21761
21791
  };
21762
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
21763
- const ret = new Map();
21792
+ imports.wbg.__wbg_new_58353953ad2097cc = function() {
21793
+ const ret = new Array();
21764
21794
  return addHeapObject(ret);
21765
21795
  };
21766
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
21767
- const ret = new Array();
21796
+ imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
21797
+ const ret = new Map();
21768
21798
  return addHeapObject(ret);
21769
21799
  };
21770
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
21800
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
21771
21801
  const ret = new Uint8Array(getObject(arg0));
21772
21802
  return addHeapObject(ret);
21773
21803
  };
21774
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
21775
- const ret = new Function(getStringFromWasm0(arg0, arg1));
21804
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
21805
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
21776
21806
  return addHeapObject(ret);
21777
21807
  };
21778
- imports.wbg.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
21779
- const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
21808
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
21809
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
21780
21810
  return addHeapObject(ret);
21781
21811
  };
21782
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
21812
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
21783
21813
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
21784
21814
  return addHeapObject(ret);
21785
21815
  };
21786
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
21816
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
21787
21817
  const ret = new Uint8Array(arg0 >>> 0);
21788
21818
  return addHeapObject(ret);
21789
21819
  };
21790
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
21820
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
21791
21821
  const ret = getObject(arg0).next;
21792
21822
  return addHeapObject(ret);
21793
21823
  };
21794
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
21824
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
21795
21825
  const ret = getObject(arg0).next();
21796
21826
  return addHeapObject(ret);
21797
21827
  }, arguments) };
@@ -21807,7 +21837,7 @@ function __wbg_get_imports() {
21807
21837
  const ret = getObject(arg0).process;
21808
21838
  return addHeapObject(ret);
21809
21839
  };
21810
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
21840
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
21811
21841
  const ret = getObject(arg0).push(getObject(arg1));
21812
21842
  return ret;
21813
21843
  };
@@ -21818,44 +21848,47 @@ function __wbg_get_imports() {
21818
21848
  const ret = module.require;
21819
21849
  return addHeapObject(ret);
21820
21850
  }, arguments) };
21821
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
21822
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
21823
- };
21824
21851
  imports.wbg.__wbg_set_3807d5f0bfc24aa7 = function(arg0, arg1, arg2) {
21825
21852
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
21826
21853
  };
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);
21854
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
21855
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
21833
21856
  };
21834
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
21857
+ imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
21835
21858
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
21836
21859
  return ret;
21837
21860
  }, arguments) };
21838
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
21861
+ imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
21862
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
21863
+ return addHeapObject(ret);
21864
+ };
21865
+ imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
21866
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
21867
+ };
21868
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
21839
21869
  const ret = typeof global === 'undefined' ? null : global;
21840
21870
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21841
21871
  };
21842
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
21872
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
21843
21873
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
21844
21874
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21845
21875
  };
21846
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
21876
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
21847
21877
  const ret = typeof self === 'undefined' ? null : self;
21848
21878
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21849
21879
  };
21850
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
21880
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
21851
21881
  const ret = typeof window === 'undefined' ? null : window;
21852
21882
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
21853
21883
  };
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) {
21884
+ imports.wbg.__wbg_stringify_163f24f3789f7316 = function(arg0, arg1) {
21885
+ const ret = stringify(takeObject(arg1));
21886
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
21887
+ const len1 = WASM_VECTOR_LEN;
21888
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
21889
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
21890
+ };
21891
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
21859
21892
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
21860
21893
  return addHeapObject(ret);
21861
21894
  };
@@ -21863,21 +21896,21 @@ function __wbg_get_imports() {
21863
21896
  const ret = TimeBasedDistributionWASM.__wrap(arg0);
21864
21897
  return addHeapObject(ret);
21865
21898
  };
21866
- imports.wbg.__wbg_toString_2f76f493957b63da = function(arg0, arg1, arg2) {
21899
+ imports.wbg.__wbg_toString_21791a66666b3afd = function(arg0) {
21900
+ const ret = getObject(arg0).toString();
21901
+ return addHeapObject(ret);
21902
+ };
21903
+ imports.wbg.__wbg_toString_2a748bb7135f7e4d = function(arg0, arg1, arg2) {
21867
21904
  const ret = getObject(arg1).toString(arg2);
21868
21905
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
21869
21906
  const len1 = WASM_VECTOR_LEN;
21870
21907
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
21871
21908
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
21872
21909
  };
21873
- imports.wbg.__wbg_toString_b5d4438bc26b267c = function() { return handleError(function (arg0, arg1) {
21910
+ imports.wbg.__wbg_toString_e0223ef317f43fb7 = function() { return handleError(function (arg0, arg1) {
21874
21911
  const ret = getObject(arg0).toString(arg1);
21875
21912
  return addHeapObject(ret);
21876
21913
  }, arguments) };
21877
- imports.wbg.__wbg_toString_c813bbd34d063839 = function(arg0) {
21878
- const ret = getObject(arg0).toString();
21879
- return addHeapObject(ret);
21880
- };
21881
21914
  imports.wbg.__wbg_tokenburntransitionwasm_new = function(arg0) {
21882
21915
  const ret = TokenBurnTransitionWASM.__wrap(arg0);
21883
21916
  return addHeapObject(ret);
@@ -21958,7 +21991,7 @@ function __wbg_get_imports() {
21958
21991
  const ret = TxOutWASM.__wrap(arg0);
21959
21992
  return addHeapObject(ret);
21960
21993
  };
21961
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
21994
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
21962
21995
  const ret = getObject(arg0).value;
21963
21996
  return addHeapObject(ret);
21964
21997
  };
@@ -21981,10 +22014,6 @@ function __wbg_get_imports() {
21981
22014
  const ret = arg0;
21982
22015
  return addHeapObject(ret);
21983
22016
  };
21984
- imports.wbg.__wbindgen_bigint_from_str = function(arg0, arg1) {
21985
- const ret = BigInt(getStringFromWasm0(arg0, arg1));
21986
- return addHeapObject(ret);
21987
- };
21988
22017
  imports.wbg.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
21989
22018
  const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
21990
22019
  return addHeapObject(ret);
@@ -22011,18 +22040,10 @@ function __wbg_get_imports() {
22011
22040
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
22012
22041
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
22013
22042
  };
22014
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
22015
- const ret = new Error(getStringFromWasm0(arg0, arg1));
22016
- return addHeapObject(ret);
22017
- };
22018
22043
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
22019
22044
  const ret = getObject(arg0) in getObject(arg1);
22020
22045
  return ret;
22021
22046
  };
22022
- imports.wbg.__wbindgen_is_array = function(arg0) {
22023
- const ret = Array.isArray(getObject(arg0));
22024
- return ret;
22025
- };
22026
22047
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
22027
22048
  const ret = typeof(getObject(arg0)) === 'bigint';
22028
22049
  return ret;