@miden-sdk/miden-sdk 0.15.6 → 0.15.8

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.
Files changed (44) hide show
  1. package/README.md +15 -0
  2. package/dist/mt/{Cargo-mvyTli7g.js → Cargo-CvYxNO9A.js} +203 -77
  3. package/dist/mt/Cargo-CvYxNO9A.js.map +1 -0
  4. package/dist/mt/api-types.d.ts +120 -0
  5. package/dist/mt/assets/miden_client_web.wasm +0 -0
  6. package/dist/mt/crates/miden_client_web.d.ts +81 -1
  7. package/dist/mt/docs-entry.d.ts +3 -0
  8. package/dist/mt/eager.js +1 -1
  9. package/dist/mt/index.js +279 -5
  10. package/dist/mt/index.js.map +1 -1
  11. package/dist/mt/wasm.js +1 -1
  12. package/dist/mt/workerHelpers.js +1 -1
  13. package/dist/mt/workers/{Cargo-mvyTli7g-BwMMSyoq.js → Cargo-CvYxNO9A-D_wSZjuK.js} +203 -77
  14. package/dist/mt/workers/Cargo-CvYxNO9A-D_wSZjuK.js.map +1 -0
  15. package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
  16. package/dist/mt/workers/web-client-methods-worker.js +204 -77
  17. package/dist/mt/workers/web-client-methods-worker.js.map +1 -1
  18. package/dist/mt/workers/web-client-methods-worker.module.js +1 -1
  19. package/dist/mt/workers/web-client-methods-worker.module.js.map +1 -1
  20. package/dist/mt/workers/workerHelpers.js +1 -1
  21. package/dist/st/{Cargo-Cysp4vto.js → Cargo-L_lPKfww.js} +201 -76
  22. package/dist/st/Cargo-L_lPKfww.js.map +1 -0
  23. package/dist/st/api-types.d.ts +120 -0
  24. package/dist/st/assets/miden_client_web.wasm +0 -0
  25. package/dist/st/crates/miden_client_web.d.ts +81 -1
  26. package/dist/st/docs-entry.d.ts +3 -0
  27. package/dist/st/eager.js +1 -1
  28. package/dist/st/index.js +279 -5
  29. package/dist/st/index.js.map +1 -1
  30. package/dist/st/wasm.js +1 -1
  31. package/dist/st/workers/{Cargo-Cysp4vto-BIw-TeJn.js → Cargo-L_lPKfww-BM__buYN.js} +201 -76
  32. package/dist/st/workers/Cargo-L_lPKfww-BM__buYN.js.map +1 -0
  33. package/dist/st/workers/assets/miden_client_web.wasm +0 -0
  34. package/dist/st/workers/web-client-methods-worker.js +202 -76
  35. package/dist/st/workers/web-client-methods-worker.js.map +1 -1
  36. package/dist/st/workers/web-client-methods-worker.module.js +1 -1
  37. package/dist/st/workers/web-client-methods-worker.module.js.map +1 -1
  38. package/js/node-index.js +1 -0
  39. package/js/resources/transactions.js +251 -4
  40. package/package.json +4 -4
  41. package/dist/mt/Cargo-mvyTli7g.js.map +0 -1
  42. package/dist/mt/workers/Cargo-mvyTli7g-BwMMSyoq.js.map +0 -1
  43. package/dist/st/Cargo-Cysp4vto.js.map +0 -1
  44. package/dist/st/workers/Cargo-Cysp4vto-BIw-TeJn.js.map +0 -1
@@ -5,7 +5,7 @@
5
5
  async function loadWasm() {
6
6
  let wasmModule;
7
7
  if (!undefined || (undefined && !undefined.SSR)) {
8
- wasmModule = await Promise.resolve().then(function () { return CargoMvyTli7g; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoCvYxNO9A; });
9
9
  // The Cargo glue's __wbg_init TLA is stripped by the rollup build to
10
10
  // prevent blocking WKWebView module evaluation. Call it explicitly here
11
11
  // with the WASM URL that the Cargo glue pre-resolves (relative to its
@@ -13571,6 +13571,26 @@ class AdviceMap {
13571
13571
  }
13572
13572
  if (Symbol.dispose) AdviceMap.prototype[Symbol.dispose] = AdviceMap.prototype.free;
13573
13573
 
13574
+ /**
13575
+ * Whether a faucet's asset callbacks run when an asset is added to an account or a note.
13576
+ *
13577
+ * The flag is part of an asset's vault key, so two assets from the same faucet with different
13578
+ * flags occupy different vault slots and do not merge. Assets minted by a faucet that registers
13579
+ * transfer policies carry `Enabled`; everything else carries `Disabled`.
13580
+ * @enum {0 | 1}
13581
+ */
13582
+ const AssetCallbackFlag = Object.freeze({
13583
+ /**
13584
+ * The faucet's callbacks are not invoked for this asset. This is the default for an asset
13585
+ * built via the `FungibleAsset` constructor.
13586
+ */
13587
+ Disabled: 0, "0": "Disabled",
13588
+ /**
13589
+ * The faucet's callbacks are invoked before this asset is added to an account or a note.
13590
+ */
13591
+ Enabled: 1, "1": "Enabled",
13592
+ });
13593
+
13574
13594
  /**
13575
13595
  * A container for an unlimited number of assets.
13576
13596
  *
@@ -13926,6 +13946,26 @@ class BasicFungibleFaucetComponent {
13926
13946
  }
13927
13947
  return BasicFungibleFaucetComponent.__wrap(ret[0]);
13928
13948
  }
13949
+ /**
13950
+ * Extracts faucet metadata from an account's storage.
13951
+ *
13952
+ * Unlike [`Self::from_account`], this reads the metadata straight from the storage slots
13953
+ * without checking that the account exposes the basic fungible faucet interface. This makes
13954
+ * it work for faucets built from custom components that reuse the standards storage layout
13955
+ * (e.g. `AggLayer` bridged-asset faucets), but it also means a non-faucet account whose
13956
+ * storage happens to use the same slot names would yield bogus metadata without an error.
13957
+ * @param {AccountStorage} account_storage
13958
+ * @returns {BasicFungibleFaucetComponent}
13959
+ */
13960
+ static fromAccountStorage(account_storage) {
13961
+ _assertClass(account_storage, AccountStorage);
13962
+ var ptr0 = account_storage.__destroy_into_raw();
13963
+ const ret = wasm.basicfungiblefaucetcomponent_fromAccountStorage(ptr0);
13964
+ if (ret[2]) {
13965
+ throw takeFromExternrefTable0(ret[1]);
13966
+ }
13967
+ return BasicFungibleFaucetComponent.__wrap(ret[0]);
13968
+ }
13929
13969
  /**
13930
13970
  * Returns the optional token logo URI, or `undefined` when unset.
13931
13971
  * @returns {string | undefined}
@@ -15313,6 +15353,14 @@ class FungibleAsset {
15313
15353
  const ret = wasm.fungibleasset_amount(this.__wbg_ptr);
15314
15354
  return BigInt.asUintN(64, ret);
15315
15355
  }
15356
+ /**
15357
+ * Returns whether this asset invokes its faucet's callbacks.
15358
+ * @returns {AssetCallbackFlag}
15359
+ */
15360
+ callbacks() {
15361
+ const ret = wasm.fungibleasset_callbacks(this.__wbg_ptr);
15362
+ return ret;
15363
+ }
15316
15364
  /**
15317
15365
  * Returns the faucet account that minted this asset.
15318
15366
  * @returns {AccountId}
@@ -15322,7 +15370,58 @@ class FungibleAsset {
15322
15370
  return AccountId.__wrap(ret);
15323
15371
  }
15324
15372
  /**
15325
- * Encodes this asset into the word layout used in the vault.
15373
+ * Reconstructs a fungible asset from its vault entry the `(key, value)`
15374
+ * word pair as stored in an account vault, i.e. the outputs of
15375
+ * [`vaultKey`](Self::vault_key) and [`intoWord`](Self::into_word). The key
15376
+ * word carries the faucet id and the callback flag; the value word carries
15377
+ * the amount. This is the inverse of those getters, so
15378
+ * `FungibleAsset.fromVaultEntry(a.vaultKey(), a.intoWord())` round-trips an
15379
+ * asset read from vault data (callback flag included). Errors if the words
15380
+ * don't describe a valid fungible asset (e.g. a malformed key, non-zero
15381
+ * upper limbs in the value word, or an amount above the maximum fungible
15382
+ * asset amount, `2^63 - 2^31`).
15383
+ * @param {Word} key
15384
+ * @param {Word} value
15385
+ * @returns {FungibleAsset}
15386
+ */
15387
+ static fromVaultEntry(key, value) {
15388
+ _assertClass(key, Word);
15389
+ _assertClass(value, Word);
15390
+ const ret = wasm.fungibleasset_fromVaultEntry(key.__wbg_ptr, value.__wbg_ptr);
15391
+ if (ret[2]) {
15392
+ throw takeFromExternrefTable0(ret[1]);
15393
+ }
15394
+ return FungibleAsset.__wrap(ret[0]);
15395
+ }
15396
+ /**
15397
+ * Reconstructs a fungible asset from its vault key word and a scalar amount.
15398
+ *
15399
+ * A convenience over [`fromVaultEntry`](Self::from_vault_entry) for when you
15400
+ * hold the key word (from [`vaultKey`](Self::vault_key)) and the amount as a
15401
+ * number rather than the value word: the key supplies the faucet id and
15402
+ * callback flag, and the amount is encoded into the value word for you. Use
15403
+ * `fromVaultEntry` when you already have both vault words. Errors on a
15404
+ * malformed key or an amount above the maximum fungible asset amount,
15405
+ * `2^63 - 2^31`.
15406
+ * @param {Word} key
15407
+ * @param {bigint} amount
15408
+ * @returns {FungibleAsset}
15409
+ */
15410
+ static fromVaultKey(key, amount) {
15411
+ _assertClass(key, Word);
15412
+ const ret = wasm.fungibleasset_fromVaultKey(key.__wbg_ptr, amount);
15413
+ if (ret[2]) {
15414
+ throw takeFromExternrefTable0(ret[1]);
15415
+ }
15416
+ return FungibleAsset.__wrap(ret[0]);
15417
+ }
15418
+ /**
15419
+ * Returns the value word stored under [`vaultKey`](Self::vault_key) in an
15420
+ * account vault. For a fungible asset the value word encodes the amount.
15421
+ *
15422
+ * This is the value half of the vault entry; pair it with `vaultKey()` and
15423
+ * pass both to [`fromVaultEntry`](Self::from_vault_entry) to reconstruct the
15424
+ * asset.
15326
15425
  * @returns {Word}
15327
15426
  */
15328
15427
  intoWord() {
@@ -15344,6 +15443,32 @@ class FungibleAsset {
15344
15443
  FungibleAssetFinalization.register(this, this.__wbg_ptr, this);
15345
15444
  return this;
15346
15445
  }
15446
+ /**
15447
+ * Returns the key word under which this asset is stored in an account vault.
15448
+ *
15449
+ * The key encodes the faucet id and the callback flag; the amount lives in
15450
+ * the paired value word from [`intoWord`](Self::into_word). Pass both back
15451
+ * into [`fromVaultEntry`](Self::from_vault_entry) to reconstruct the asset.
15452
+ * @returns {Word}
15453
+ */
15454
+ vaultKey() {
15455
+ const ret = wasm.fungibleasset_vaultKey(this.__wbg_ptr);
15456
+ return Word.__wrap(ret);
15457
+ }
15458
+ /**
15459
+ * Returns a copy of this asset carrying the given callback flag.
15460
+ *
15461
+ * The flag is part of the asset's vault key, so it must match the flag the issuing faucet
15462
+ * applies — an asset built with the wrong flag addresses a different vault slot than the one
15463
+ * holding the balance. The constructor always produces `Disabled`; pass `Enabled` only for
15464
+ * assets from a faucet that registers transfer policies.
15465
+ * @param {AssetCallbackFlag} callbacks
15466
+ * @returns {FungibleAsset}
15467
+ */
15468
+ withCallbacks(callbacks) {
15469
+ const ret = wasm.fungibleasset_withCallbacks(this.__wbg_ptr, callbacks);
15470
+ return FungibleAsset.__wrap(ret);
15471
+ }
15347
15472
  }
15348
15473
  if (Symbol.dispose) FungibleAsset.prototype[Symbol.dispose] = FungibleAsset.prototype.free;
15349
15474
 
@@ -25108,7 +25233,7 @@ function __wbg_get_imports(memory) {
25108
25233
  const ret = AccountStorage.__wrap(arg0);
25109
25234
  return ret;
25110
25235
  },
25111
- __wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25236
+ __wbg_addNoteTag_25cad61edb5d555a: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25112
25237
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25113
25238
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25114
25239
  let v1;
@@ -25136,25 +25261,25 @@ function __wbg_get_imports(memory) {
25136
25261
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
25137
25262
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
25138
25263
  }, arguments); },
25139
- __wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
25264
+ __wbg_applyFullAccountState_2aeb79c033cb94e9: function(arg0, arg1, arg2) {
25140
25265
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
25141
25266
  return ret;
25142
25267
  },
25143
- __wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
25268
+ __wbg_applySettingsMutations_e331196301c58c75: function(arg0, arg1, arg2, arg3) {
25144
25269
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25145
25270
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25146
25271
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
25147
25272
  return ret;
25148
25273
  },
25149
- __wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
25274
+ __wbg_applyStateSync_75d2fe4dcfcd8387: function(arg0, arg1, arg2) {
25150
25275
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
25151
25276
  return ret;
25152
25277
  },
25153
- __wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
25278
+ __wbg_applyTransactionBatch_9d2069a58ecdeb08: function(arg0, arg1, arg2) {
25154
25279
  const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
25155
25280
  return ret;
25156
25281
  },
25157
- __wbg_applyTransactionDelta_93fac37bf6e15192: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
25282
+ __wbg_applyTransactionDelta_0678a2cd1164cac0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
25158
25283
  let deferred0_0;
25159
25284
  let deferred0_1;
25160
25285
  let deferred1_0;
@@ -25305,7 +25430,7 @@ function __wbg_get_imports(memory) {
25305
25430
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25306
25431
  }
25307
25432
  },
25308
- __wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
25433
+ __wbg_exportStore_bf1688fbcaeac761: function(arg0, arg1) {
25309
25434
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
25310
25435
  return ret;
25311
25436
  },
@@ -25337,7 +25462,7 @@ function __wbg_get_imports(memory) {
25337
25462
  const ret = FetchedNote.__wrap(arg0);
25338
25463
  return ret;
25339
25464
  },
25340
- __wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
25465
+ __wbg_forceImportStore_bd5ce688ff80c047: function(arg0, arg1, arg2) {
25341
25466
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
25342
25467
  return ret;
25343
25468
  },
@@ -25361,7 +25486,7 @@ function __wbg_get_imports(memory) {
25361
25486
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
25362
25487
  return ret;
25363
25488
  },
25364
- __wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
25489
+ __wbg_getAccountAddresses_44b5a6db696a9381: function(arg0, arg1, arg2, arg3) {
25365
25490
  let deferred0_0;
25366
25491
  let deferred0_1;
25367
25492
  try {
@@ -25373,7 +25498,7 @@ function __wbg_get_imports(memory) {
25373
25498
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25374
25499
  }
25375
25500
  },
25376
- __wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
25501
+ __wbg_getAccountAuthByPubKeyCommitment_98a8d726bce942e5: function(arg0, arg1, arg2, arg3) {
25377
25502
  let deferred0_0;
25378
25503
  let deferred0_1;
25379
25504
  try {
@@ -25385,7 +25510,7 @@ function __wbg_get_imports(memory) {
25385
25510
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25386
25511
  }
25387
25512
  },
25388
- __wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
25513
+ __wbg_getAccountCode_15c1a978217210a3: function(arg0, arg1, arg2, arg3) {
25389
25514
  let deferred0_0;
25390
25515
  let deferred0_1;
25391
25516
  try {
@@ -25397,7 +25522,7 @@ function __wbg_get_imports(memory) {
25397
25522
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25398
25523
  }
25399
25524
  },
25400
- __wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
25525
+ __wbg_getAccountHeaderByCommitment_6e856b122fb63445: function(arg0, arg1, arg2, arg3) {
25401
25526
  let deferred0_0;
25402
25527
  let deferred0_1;
25403
25528
  try {
@@ -25409,7 +25534,7 @@ function __wbg_get_imports(memory) {
25409
25534
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25410
25535
  }
25411
25536
  },
25412
- __wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
25537
+ __wbg_getAccountHeader_1cfea7b95b20687b: function(arg0, arg1, arg2, arg3) {
25413
25538
  let deferred0_0;
25414
25539
  let deferred0_1;
25415
25540
  try {
@@ -25421,7 +25546,7 @@ function __wbg_get_imports(memory) {
25421
25546
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25422
25547
  }
25423
25548
  },
25424
- __wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
25549
+ __wbg_getAccountIdByKeyCommitment_dc2e8d8d8a290ac9: function(arg0, arg1, arg2, arg3) {
25425
25550
  let deferred0_0;
25426
25551
  let deferred0_1;
25427
25552
  try {
@@ -25433,11 +25558,11 @@ function __wbg_get_imports(memory) {
25433
25558
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25434
25559
  }
25435
25560
  },
25436
- __wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
25561
+ __wbg_getAccountIds_0ce97765a3c31e7d: function(arg0, arg1) {
25437
25562
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
25438
25563
  return ret;
25439
25564
  },
25440
- __wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
25565
+ __wbg_getAccountStorageMaps_09cb3c149afb2ab6: function(arg0, arg1, arg2, arg3) {
25441
25566
  let deferred0_0;
25442
25567
  let deferred0_1;
25443
25568
  try {
@@ -25449,7 +25574,7 @@ function __wbg_get_imports(memory) {
25449
25574
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25450
25575
  }
25451
25576
  },
25452
- __wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25577
+ __wbg_getAccountStorage_5502bfe95b2eb790: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25453
25578
  let deferred0_0;
25454
25579
  let deferred0_1;
25455
25580
  try {
@@ -25463,7 +25588,7 @@ function __wbg_get_imports(memory) {
25463
25588
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25464
25589
  }
25465
25590
  },
25466
- __wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25591
+ __wbg_getAccountVaultAssets_9519922d942fecee: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25467
25592
  let deferred0_0;
25468
25593
  let deferred0_1;
25469
25594
  try {
@@ -25477,27 +25602,27 @@ function __wbg_get_imports(memory) {
25477
25602
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25478
25603
  }
25479
25604
  },
25480
- __wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
25605
+ __wbg_getAllAccountHeaders_df840fc87d4bdec9: function(arg0, arg1) {
25481
25606
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
25482
25607
  return ret;
25483
25608
  },
25484
- __wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
25609
+ __wbg_getBlockHeaders_5873b22bd7744156: function(arg0, arg1, arg2, arg3) {
25485
25610
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25486
25611
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25487
25612
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
25488
25613
  return ret;
25489
25614
  },
25490
- __wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
25615
+ __wbg_getCurrentBlockchainPeaks_f329c1684cabaf21: function(arg0, arg1) {
25491
25616
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
25492
25617
  return ret;
25493
25618
  },
25494
- __wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
25619
+ __wbg_getForeignAccountCode_626cc9a21065ce07: function(arg0, arg1, arg2, arg3) {
25495
25620
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25496
25621
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25497
25622
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
25498
25623
  return ret;
25499
25624
  },
25500
- __wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25625
+ __wbg_getInputNoteByOffset_437795f571f7c2fd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25501
25626
  let deferred1_0;
25502
25627
  let deferred1_1;
25503
25628
  try {
@@ -25511,31 +25636,31 @@ function __wbg_get_imports(memory) {
25511
25636
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25512
25637
  }
25513
25638
  },
25514
- __wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
25639
+ __wbg_getInputNotesFromDetailsCommitments_e49ccdee208d1f22: function(arg0, arg1, arg2, arg3) {
25515
25640
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25516
25641
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25517
25642
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25518
25643
  return ret;
25519
25644
  },
25520
- __wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
25645
+ __wbg_getInputNotesFromIds_057a1693a3b197c0: function(arg0, arg1, arg2, arg3) {
25521
25646
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25522
25647
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25523
25648
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25524
25649
  return ret;
25525
25650
  },
25526
- __wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
25651
+ __wbg_getInputNotesFromNullifiers_afa84bb5844ca0f2: function(arg0, arg1, arg2, arg3) {
25527
25652
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25528
25653
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25529
25654
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25530
25655
  return ret;
25531
25656
  },
25532
- __wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
25657
+ __wbg_getInputNotes_c22939005e704005: function(arg0, arg1, arg2, arg3) {
25533
25658
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25534
25659
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25535
25660
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
25536
25661
  return ret;
25537
25662
  },
25538
- __wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
25663
+ __wbg_getKeyCommitmentsByAccountId_a9d9f0e316e0b961: function(arg0, arg1, arg2, arg3) {
25539
25664
  let deferred0_0;
25540
25665
  let deferred0_1;
25541
25666
  try {
@@ -25547,7 +25672,7 @@ function __wbg_get_imports(memory) {
25547
25672
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25548
25673
  }
25549
25674
  },
25550
- __wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
25675
+ __wbg_getNoteScript_40c99e72d3a5347b: function(arg0, arg1, arg2, arg3) {
25551
25676
  let deferred0_0;
25552
25677
  let deferred0_1;
25553
25678
  try {
@@ -25559,39 +25684,39 @@ function __wbg_get_imports(memory) {
25559
25684
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25560
25685
  }
25561
25686
  },
25562
- __wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
25687
+ __wbg_getNoteTags_67063dd77a36d6b4: function(arg0, arg1) {
25563
25688
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
25564
25689
  return ret;
25565
25690
  },
25566
- __wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
25691
+ __wbg_getOutputNotesFromDetailsCommitments_bdf7b0c9d2a5db36: function(arg0, arg1, arg2, arg3) {
25567
25692
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25568
25693
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25569
25694
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25570
25695
  return ret;
25571
25696
  },
25572
- __wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
25697
+ __wbg_getOutputNotesFromIds_219945e5373d809b: function(arg0, arg1, arg2, arg3) {
25573
25698
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25574
25699
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25575
25700
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25576
25701
  return ret;
25577
25702
  },
25578
- __wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
25703
+ __wbg_getOutputNotesFromNullifiers_707ceecfe32e4a35: function(arg0, arg1, arg2, arg3) {
25579
25704
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25580
25705
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25581
25706
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25582
25707
  return ret;
25583
25708
  },
25584
- __wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
25709
+ __wbg_getOutputNotes_326a5aa0d3790050: function(arg0, arg1, arg2, arg3) {
25585
25710
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25586
25711
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25587
25712
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
25588
25713
  return ret;
25589
25714
  },
25590
- __wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
25715
+ __wbg_getPartialBlockchainNodesAll_7cf9e7cf6f37f395: function(arg0, arg1) {
25591
25716
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
25592
25717
  return ret;
25593
25718
  },
25594
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
25719
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_e91098152297e0da: function(arg0, arg1, arg2, arg3) {
25595
25720
  let deferred0_0;
25596
25721
  let deferred0_1;
25597
25722
  try {
@@ -25603,7 +25728,7 @@ function __wbg_get_imports(memory) {
25603
25728
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25604
25729
  }
25605
25730
  },
25606
- __wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
25731
+ __wbg_getPartialBlockchainNodes_433475f2ec8b2171: function(arg0, arg1, arg2, arg3) {
25607
25732
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25608
25733
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25609
25734
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -25616,7 +25741,7 @@ function __wbg_get_imports(memory) {
25616
25741
  const ret = arg0.getReader();
25617
25742
  return ret;
25618
25743
  }, arguments); },
25619
- __wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
25744
+ __wbg_getSetting_e008c5a99f10e590: function(arg0, arg1, arg2, arg3) {
25620
25745
  let deferred0_0;
25621
25746
  let deferred0_1;
25622
25747
  try {
@@ -25628,7 +25753,7 @@ function __wbg_get_imports(memory) {
25628
25753
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25629
25754
  }
25630
25755
  },
25631
- __wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
25756
+ __wbg_getSyncHeight_ecfa19078de4c98f: function(arg0, arg1) {
25632
25757
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
25633
25758
  return ret;
25634
25759
  },
@@ -25636,15 +25761,15 @@ function __wbg_get_imports(memory) {
25636
25761
  const ret = arg0.getTime();
25637
25762
  return ret;
25638
25763
  },
25639
- __wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
25764
+ __wbg_getTrackedBlockHeaderNumbers_1cb8016a509ed0c4: function(arg0, arg1) {
25640
25765
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
25641
25766
  return ret;
25642
25767
  },
25643
- __wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
25768
+ __wbg_getTrackedBlockHeaders_ea97bc37d74a875a: function(arg0, arg1) {
25644
25769
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
25645
25770
  return ret;
25646
25771
  },
25647
- __wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
25772
+ __wbg_getTransactions_fbcf8488c75fde0d: function(arg0, arg1, arg2, arg3) {
25648
25773
  let deferred0_0;
25649
25774
  let deferred0_1;
25650
25775
  try {
@@ -25656,7 +25781,7 @@ function __wbg_get_imports(memory) {
25656
25781
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25657
25782
  }
25658
25783
  },
25659
- __wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
25784
+ __wbg_getUnspentInputNoteNullifiers_75ec5ab42ea5afa9: function(arg0, arg1) {
25660
25785
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
25661
25786
  return ret;
25662
25787
  },
@@ -25700,7 +25825,7 @@ function __wbg_get_imports(memory) {
25700
25825
  const ret = InputNoteRecord.__wrap(arg0);
25701
25826
  return ret;
25702
25827
  },
25703
- __wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25828
+ __wbg_insertAccountAddress_e8628627a138e81e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25704
25829
  let deferred0_0;
25705
25830
  let deferred0_1;
25706
25831
  try {
@@ -25714,7 +25839,7 @@ function __wbg_get_imports(memory) {
25714
25839
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25715
25840
  }
25716
25841
  },
25717
- __wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25842
+ __wbg_insertAccountAuth_278a833f3fef3aca: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25718
25843
  let deferred0_0;
25719
25844
  let deferred0_1;
25720
25845
  let deferred1_0;
@@ -25731,7 +25856,7 @@ function __wbg_get_imports(memory) {
25731
25856
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25732
25857
  }
25733
25858
  },
25734
- __wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25859
+ __wbg_insertAccountKeyMapping_05e2b0009cf1cfe3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25735
25860
  let deferred0_0;
25736
25861
  let deferred0_1;
25737
25862
  let deferred1_0;
@@ -25748,13 +25873,13 @@ function __wbg_get_imports(memory) {
25748
25873
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25749
25874
  }
25750
25875
  },
25751
- __wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25876
+ __wbg_insertBlockHeader_d972fb92f29e7da7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25752
25877
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
25753
25878
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
25754
25879
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
25755
25880
  return ret;
25756
25881
  },
25757
- __wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25882
+ __wbg_insertPartialBlockchainNodes_70af5f15aaab9f89: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25758
25883
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25759
25884
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25760
25885
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25762,7 +25887,7 @@ function __wbg_get_imports(memory) {
25762
25887
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
25763
25888
  return ret;
25764
25889
  },
25765
- __wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25890
+ __wbg_insertSetting_a1f83afe232d6b43: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25766
25891
  let deferred0_0;
25767
25892
  let deferred0_1;
25768
25893
  try {
@@ -25776,7 +25901,7 @@ function __wbg_get_imports(memory) {
25776
25901
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25777
25902
  }
25778
25903
  },
25779
- __wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25904
+ __wbg_insertTransactionScript_4ca2858864a66866: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25780
25905
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25781
25906
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25782
25907
  let v1;
@@ -25883,11 +26008,11 @@ function __wbg_get_imports(memory) {
25883
26008
  const ret = arg0.length;
25884
26009
  return ret;
25885
26010
  },
25886
- __wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
26011
+ __wbg_listSettingKeys_32703227794f5ddf: function(arg0, arg1) {
25887
26012
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
25888
26013
  return ret;
25889
26014
  },
25890
- __wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
26015
+ __wbg_lockAccount_6847f6622cfbb360: function(arg0, arg1, arg2, arg3) {
25891
26016
  let deferred0_0;
25892
26017
  let deferred0_1;
25893
26018
  try {
@@ -26106,7 +26231,7 @@ function __wbg_get_imports(memory) {
26106
26231
  const ret = Array.of(arg0, arg1, arg2);
26107
26232
  return ret;
26108
26233
  },
26109
- __wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
26234
+ __wbg_openDatabase_41d26d65ebf6caf0: function(arg0, arg1, arg2, arg3) {
26110
26235
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
26111
26236
  return ret;
26112
26237
  },
@@ -26140,7 +26265,7 @@ function __wbg_get_imports(memory) {
26140
26265
  const ret = ProvenTransaction.__wrap(arg0);
26141
26266
  return ret;
26142
26267
  },
26143
- __wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26268
+ __wbg_pruneAccountHistory_07a7e45174c9f37a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26144
26269
  let deferred0_0;
26145
26270
  let deferred0_1;
26146
26271
  let deferred1_0;
@@ -26157,7 +26282,7 @@ function __wbg_get_imports(memory) {
26157
26282
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
26158
26283
  }
26159
26284
  },
26160
- __wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26285
+ __wbg_pruneIrrelevantBlocks_94286980844c1214: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26161
26286
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
26162
26287
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
26163
26288
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -26187,13 +26312,13 @@ function __wbg_get_imports(memory) {
26187
26312
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
26188
26313
  arg0.releaseLock();
26189
26314
  },
26190
- __wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
26315
+ __wbg_removeAccountAddress_329baf02728f4c41: function(arg0, arg1, arg2, arg3) {
26191
26316
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
26192
26317
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
26193
26318
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
26194
26319
  return ret;
26195
26320
  },
26196
- __wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
26321
+ __wbg_removeAccountAuth_603363308e6ae70b: function(arg0, arg1, arg2, arg3) {
26197
26322
  let deferred0_0;
26198
26323
  let deferred0_1;
26199
26324
  try {
@@ -26205,7 +26330,7 @@ function __wbg_get_imports(memory) {
26205
26330
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26206
26331
  }
26207
26332
  },
26208
- __wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
26333
+ __wbg_removeAllMappingsForKey_fbc7b61a67110568: function(arg0, arg1, arg2, arg3) {
26209
26334
  let deferred0_0;
26210
26335
  let deferred0_1;
26211
26336
  try {
@@ -26217,7 +26342,7 @@ function __wbg_get_imports(memory) {
26217
26342
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26218
26343
  }
26219
26344
  },
26220
- __wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
26345
+ __wbg_removeNoteTag_5bb25427e520f50b: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
26221
26346
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
26222
26347
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
26223
26348
  let v1;
@@ -26238,7 +26363,7 @@ function __wbg_get_imports(memory) {
26238
26363
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
26239
26364
  return ret;
26240
26365
  },
26241
- __wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
26366
+ __wbg_removeSetting_51d62e3d24593afc: function(arg0, arg1, arg2, arg3) {
26242
26367
  let deferred0_0;
26243
26368
  let deferred0_1;
26244
26369
  try {
@@ -26448,13 +26573,13 @@ function __wbg_get_imports(memory) {
26448
26573
  const ret = TransactionSummary.__wrap(arg0);
26449
26574
  return ret;
26450
26575
  },
26451
- __wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
26576
+ __wbg_undoAccountStates_b3c3c03f96aba29a: function(arg0, arg1, arg2, arg3) {
26452
26577
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
26453
26578
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
26454
26579
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
26455
26580
  return ret;
26456
26581
  },
26457
- __wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26582
+ __wbg_upsertAccountCode_a011479caf2f2773: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26458
26583
  let deferred0_0;
26459
26584
  let deferred0_1;
26460
26585
  try {
@@ -26468,7 +26593,7 @@ function __wbg_get_imports(memory) {
26468
26593
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26469
26594
  }
26470
26595
  },
26471
- __wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26596
+ __wbg_upsertAccountRecord_313a9a93a9853a03: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26472
26597
  let deferred0_0;
26473
26598
  let deferred0_1;
26474
26599
  let deferred1_0;
@@ -26510,7 +26635,7 @@ function __wbg_get_imports(memory) {
26510
26635
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
26511
26636
  }
26512
26637
  },
26513
- __wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26638
+ __wbg_upsertAccountStorage_ea6d136c93fbd28c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26514
26639
  let deferred0_0;
26515
26640
  let deferred0_1;
26516
26641
  try {
@@ -26524,7 +26649,7 @@ function __wbg_get_imports(memory) {
26524
26649
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26525
26650
  }
26526
26651
  },
26527
- __wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26652
+ __wbg_upsertForeignAccountCode_e9e22981c11ab8ec: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26528
26653
  let deferred0_0;
26529
26654
  let deferred0_1;
26530
26655
  let deferred2_0;
@@ -26543,7 +26668,7 @@ function __wbg_get_imports(memory) {
26543
26668
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
26544
26669
  }
26545
26670
  },
26546
- __wbg_upsertInputNote_e10948a629bcee16: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28) {
26671
+ __wbg_upsertInputNote_ef1243df774d4302: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28) {
26547
26672
  let deferred0_0;
26548
26673
  let deferred0_1;
26549
26674
  let deferred6_0;
@@ -26592,7 +26717,7 @@ function __wbg_get_imports(memory) {
26592
26717
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
26593
26718
  }
26594
26719
  },
26595
- __wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26720
+ __wbg_upsertNoteScript_e9617c5e4fc75fb0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26596
26721
  let deferred0_0;
26597
26722
  let deferred0_1;
26598
26723
  try {
@@ -26606,7 +26731,7 @@ function __wbg_get_imports(memory) {
26606
26731
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26607
26732
  }
26608
26733
  },
26609
- __wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26734
+ __wbg_upsertOutputNote_656aa32b96217f2d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26610
26735
  let deferred0_0;
26611
26736
  let deferred0_1;
26612
26737
  let deferred1_0;
@@ -26641,7 +26766,7 @@ function __wbg_get_imports(memory) {
26641
26766
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
26642
26767
  }
26643
26768
  },
26644
- __wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26769
+ __wbg_upsertStorageMapEntries_91e646dab4d24d18: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26645
26770
  let deferred0_0;
26646
26771
  let deferred0_1;
26647
26772
  try {
@@ -26655,7 +26780,7 @@ function __wbg_get_imports(memory) {
26655
26780
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26656
26781
  }
26657
26782
  },
26658
- __wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26783
+ __wbg_upsertTransactionRecord_e3f85f1b9f19136d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26659
26784
  let deferred0_0;
26660
26785
  let deferred0_1;
26661
26786
  try {
@@ -26676,7 +26801,7 @@ function __wbg_get_imports(memory) {
26676
26801
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26677
26802
  }
26678
26803
  },
26679
- __wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26804
+ __wbg_upsertVaultAssets_4ec8f231ecdc55e4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26680
26805
  let deferred0_0;
26681
26806
  let deferred0_1;
26682
26807
  try {
@@ -26719,17 +26844,17 @@ function __wbg_get_imports(memory) {
26719
26844
  return ret;
26720
26845
  },
26721
26846
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
26722
- // Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [Externref], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26847
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [Externref], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26723
26848
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
26724
26849
  return ret;
26725
26850
  },
26726
26851
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
26727
- // Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26852
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26728
26853
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
26729
26854
  return ret;
26730
26855
  },
26731
26856
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
26732
- // Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26857
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26733
26858
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
26734
26859
  return ret;
26735
26860
  },
@@ -27724,6 +27849,7 @@ var index = /*#__PURE__*/Object.freeze({
27724
27849
  Address: Address,
27725
27850
  AdviceInputs: AdviceInputs,
27726
27851
  AdviceMap: AdviceMap,
27852
+ AssetCallbackFlag: AssetCallbackFlag,
27727
27853
  AssetVault: AssetVault,
27728
27854
  AuthFalcon512RpoMultisigConfig: AuthFalcon512RpoMultisigConfig,
27729
27855
  AuthScheme: AuthScheme,
@@ -27867,7 +27993,7 @@ var index = /*#__PURE__*/Object.freeze({
27867
27993
 
27868
27994
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
27869
27995
 
27870
- var CargoMvyTli7g = /*#__PURE__*/Object.freeze({
27996
+ var CargoCvYxNO9A = /*#__PURE__*/Object.freeze({
27871
27997
  __proto__: null,
27872
27998
  Account: Account,
27873
27999
  AccountArray: AccountArray,
@@ -27894,6 +28020,7 @@ var CargoMvyTli7g = /*#__PURE__*/Object.freeze({
27894
28020
  Address: Address,
27895
28021
  AdviceInputs: AdviceInputs,
27896
28022
  AdviceMap: AdviceMap,
28023
+ AssetCallbackFlag: AssetCallbackFlag,
27897
28024
  AssetVault: AssetVault,
27898
28025
  AuthFalcon512RpoMultisigConfig: AuthFalcon512RpoMultisigConfig,
27899
28026
  AuthScheme: AuthScheme,