@miden-sdk/miden-sdk 0.15.5 → 0.15.7

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 +28 -0
  2. package/dist/mt/{Cargo-C001gt8g.js → Cargo-CnGom-_z.js} +244 -86
  3. package/dist/mt/Cargo-CnGom-_z.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 +80 -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 +252 -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-C001gt8g-B8wBADUI.js → Cargo-CnGom-_z-X_3VwTbo.js} +244 -86
  14. package/dist/mt/workers/Cargo-CnGom-_z-X_3VwTbo.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 +245 -86
  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-CR1mzjgg.js → Cargo-DR9fiMbE.js} +253 -96
  22. package/dist/st/Cargo-DR9fiMbE.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 +80 -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 +252 -5
  29. package/dist/st/index.js.map +1 -1
  30. package/dist/st/wasm.js +1 -1
  31. package/dist/st/workers/{Cargo-CR1mzjgg-DeDmKA4W.js → Cargo-DR9fiMbE-C0G0clA_.js} +253 -96
  32. package/dist/st/workers/Cargo-DR9fiMbE-C0G0clA_.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 +254 -96
  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-C001gt8g.js.map +0 -1
  42. package/dist/mt/workers/Cargo-C001gt8g-B8wBADUI.js.map +0 -1
  43. package/dist/st/Cargo-CR1mzjgg.js.map +0 -1
  44. package/dist/st/workers/Cargo-CR1mzjgg-DeDmKA4W.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 CargoC001gt8g; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoCnGom_z; });
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
@@ -8893,7 +8893,9 @@ function indexes(...items) {
8893
8893
  return items.join(",");
8894
8894
  }
8895
8895
  /** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
8896
- * never be modified — all schema changes should go through new version blocks instead. */
8896
+ * never be modified — all schema changes should go through new version blocks instead.
8897
+ * Exported for migration tests, which seed a physical v1 database before opening it with the
8898
+ * current version chain. */
8897
8899
  const V1_STORES = {
8898
8900
  [Table.AccountCode]: indexes("root"),
8899
8901
  [Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
@@ -8948,11 +8950,12 @@ class MidenDatabase {
8948
8950
  this.dexie = new Dexie(network);
8949
8951
  // --- Schema versioning ---
8950
8952
  //
8951
- // NOTE: The migration system is not currently in use. The Miden network
8952
- // resets on every upgrade, so the database is nuked whenever the client
8953
- // version changes (see ensureClientVersion). Once the network stabilizes
8954
- // and data can be preserved across upgrades, the version-change nuke will
8955
- // be removed and migrations will take over.
8953
+ // NOTE: Migrations coexist with the client-version nuke: the database is
8954
+ // still nuked on major/minor client-version changes (network resets see
8955
+ // ensureClientVersion), while Dexie version blocks below handle schema and
8956
+ // data fixes for stores that survive patch upgrades. Once the network
8957
+ // stabilizes and data can be preserved across all upgrades, the
8958
+ // version-change nuke will be removed and migrations alone will take over.
8956
8959
  //
8957
8960
  // v1 is the baseline schema. To add a migration:
8958
8961
  // 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
@@ -8984,12 +8987,43 @@ class MidenDatabase {
8984
8987
  // Note: The `populate` hook (below the version blocks) only fires on
8985
8988
  // first database creation, NOT during upgrades.
8986
8989
  //
8987
- // To enable migrations (stop nuking the DB on version change):
8988
- // 1. Remove the nuke logic in ensureClientVersion (close/delete/open).
8989
- // Just persist the new version instead.
8990
- // 2. Freeze V1_STORES never modify it again.
8991
- // 3. Add version(2+) blocks below for all schema changes going forward.
8990
+ // Version blocks exist below, so V1_STORES is frozen never modify it;
8991
+ // add a new version block instead. To retire the nuke entirely (once data
8992
+ // must survive major/minor upgrades), remove the close/delete/open logic
8993
+ // in ensureClientVersion and just persist the new version there.
8992
8994
  this.dexie.version(1).stores(V1_STORES);
8995
+ // v2 (miden-client 0.15.4): prune note tags leaked by output-note
8996
+ // registration. Mirrors sqlite-store migration
8997
+ // `0002_prune_output_note_tags.sql`. Clients built against miden-client
8998
+ // < 0.15.4 registered a `Note`-sourced tag for every output note a
8999
+ // transaction created, but sync cleanup only removes tags of committed
9000
+ // *input* notes — leaking one `tags` row per created note. The client no
9001
+ // longer registers those tags; this upgrade deletes the rows already
9002
+ // leaked. A tag is kept while an inclusion-pending input note
9003
+ // (Expected = 0, Unverified = 1 — the mirror of
9004
+ // `InputNoteRecord::is_inclusion_pending`) still needs it.
9005
+ //
9006
+ // This data-only fix coexists with the version-change nuke above: the
9007
+ // nuke covers major/minor client upgrades (network resets), while this
9008
+ // upgrade runs for stores preserved across patch upgrades.
9009
+ this.dexie
9010
+ .version(2)
9011
+ .stores({})
9012
+ .upgrade(async (tx) => {
9013
+ const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
9014
+ if (outputNoteCommitments.size === 0) {
9015
+ return;
9016
+ }
9017
+ const pendingInputNoteCommitments = new Set(await tx.inputNotes
9018
+ .where("stateDiscriminant")
9019
+ .anyOf([0, 1])
9020
+ .primaryKeys());
9021
+ await tx.tags
9022
+ .filter((tag) => !!tag.sourceNoteId &&
9023
+ outputNoteCommitments.has(tag.sourceNoteId) &&
9024
+ !pendingInputNoteCommitments.has(tag.sourceNoteId))
9025
+ .delete();
9026
+ });
8993
9027
  this.accountCodes = this.dexie.table(Table.AccountCode);
8994
9028
  this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
8995
9029
  this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
@@ -11468,6 +11502,17 @@ class Account {
11468
11502
  const ret = wasm.account_isFaucet(this.__wbg_ptr);
11469
11503
  return ret !== 0;
11470
11504
  }
11505
+ /**
11506
+ * Returns true if this is a network account.
11507
+ *
11508
+ * A network account is a public account whose storage
11509
+ * carries the standardized network-account note-script allowlist slot.
11510
+ * @returns {boolean}
11511
+ */
11512
+ isNetworkAccount() {
11513
+ const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
11514
+ return ret !== 0;
11515
+ }
11471
11516
  /**
11472
11517
  * Returns true if the account has not yet been committed to the chain.
11473
11518
  * @returns {boolean}
@@ -11500,6 +11545,20 @@ class Account {
11500
11545
  const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
11501
11546
  return ret !== 0;
11502
11547
  }
11548
+ /**
11549
+ * Returns the note-script roots this network account is allowed to
11550
+ * consume, or `undefined` if this is not a network account.
11551
+ * @returns {Word[] | undefined}
11552
+ */
11553
+ networkNoteAllowlist() {
11554
+ const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
11555
+ let v1;
11556
+ if (ret[0] !== 0) {
11557
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
11558
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
11559
+ }
11560
+ return v1;
11561
+ }
11503
11562
  /**
11504
11563
  * Returns the account nonce, which is incremented on every state update.
11505
11564
  * @returns {Felt}
@@ -11879,6 +11938,42 @@ class AccountComponent {
11879
11938
  }
11880
11939
  return AccountComponent.__wrap(ret[0]);
11881
11940
  }
11941
+ /**
11942
+ * Builds the auth component for a network account.
11943
+ *
11944
+ * A network account is a public account carrying this component: its
11945
+ * note-script allowlist is the standardized storage slot the node's
11946
+ * network-transaction builder inspects to identify the account as a network
11947
+ * account and route matching notes to it for auto-consumption. The account
11948
+ * may only consume notes whose script root is in `allowedNoteScriptRoots`
11949
+ * (obtain a root via `NoteScript.root()`).
11950
+ *
11951
+ * `allowedTxScriptRoots` optionally allowlists transaction script roots
11952
+ * (from `TransactionScript.root()`) the account will execute. When omitted
11953
+ * or empty, the account permits no transaction scripts and deploys and
11954
+ * advances via scriptless transactions only. Allowlist a script root only
11955
+ * if the script's effect is safe for *every* possible input: a root pins
11956
+ * the script's code but not its arguments or advice inputs, which the
11957
+ * (arbitrary) transaction submitter controls.
11958
+ *
11959
+ * # Errors
11960
+ * Errors if `allowedNoteScriptRoots` is empty: a network account with no
11961
+ * allowlisted note scripts could never consume a note.
11962
+ * @param {Word[]} allowed_note_script_roots
11963
+ * @param {Word[] | null} [allowed_tx_script_roots]
11964
+ * @returns {AccountComponent}
11965
+ */
11966
+ static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
11967
+ const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
11968
+ const len0 = WASM_VECTOR_LEN;
11969
+ var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
11970
+ var len1 = WASM_VECTOR_LEN;
11971
+ const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
11972
+ if (ret[2]) {
11973
+ throw takeFromExternrefTable0(ret[1]);
11974
+ }
11975
+ return AccountComponent.__wrap(ret[0]);
11976
+ }
11882
11977
  /**
11883
11978
  * Creates an account component from a compiled library and storage slots.
11884
11979
  * @param {Library} library
@@ -13476,6 +13571,26 @@ class AdviceMap {
13476
13571
  }
13477
13572
  if (Symbol.dispose) AdviceMap.prototype[Symbol.dispose] = AdviceMap.prototype.free;
13478
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
+
13479
13594
  /**
13480
13595
  * A container for an unlimited number of assets.
13481
13596
  *
@@ -14067,7 +14182,7 @@ class CodeBuilder {
14067
14182
  * Given a Library Path, and a source code, turn it into a Library.
14068
14183
  * E.g. A path library can be `miden::my_contract`. When turned into a library,
14069
14184
  * this can be used from another script with an import statement, following the
14070
- * previous example: `use miden::my_contract'.
14185
+ * previous example: `use miden::my_contract`.
14071
14186
  * @param {string} library_path
14072
14187
  * @param {string} source_code
14073
14188
  * @returns {Library}
@@ -15218,6 +15333,14 @@ class FungibleAsset {
15218
15333
  const ret = wasm.fungibleasset_amount(this.__wbg_ptr);
15219
15334
  return BigInt.asUintN(64, ret);
15220
15335
  }
15336
+ /**
15337
+ * Returns whether this asset invokes its faucet's callbacks.
15338
+ * @returns {AssetCallbackFlag}
15339
+ */
15340
+ callbacks() {
15341
+ const ret = wasm.fungibleasset_callbacks(this.__wbg_ptr);
15342
+ return ret;
15343
+ }
15221
15344
  /**
15222
15345
  * Returns the faucet account that minted this asset.
15223
15346
  * @returns {AccountId}
@@ -15249,6 +15372,20 @@ class FungibleAsset {
15249
15372
  FungibleAssetFinalization.register(this, this.__wbg_ptr, this);
15250
15373
  return this;
15251
15374
  }
15375
+ /**
15376
+ * Returns a copy of this asset carrying the given callback flag.
15377
+ *
15378
+ * The flag is part of the asset's vault key, so it must match the flag the issuing faucet
15379
+ * applies — an asset built with the wrong flag addresses a different vault slot than the one
15380
+ * holding the balance. The constructor always produces `Disabled`; pass `Enabled` only for
15381
+ * assets from a faucet that registers transfer policies.
15382
+ * @param {AssetCallbackFlag} callbacks
15383
+ * @returns {FungibleAsset}
15384
+ */
15385
+ withCallbacks(callbacks) {
15386
+ const ret = wasm.fungibleasset_withCallbacks(this.__wbg_ptr, callbacks);
15387
+ return FungibleAsset.__wrap(ret);
15388
+ }
15252
15389
  }
15253
15390
  if (Symbol.dispose) FungibleAsset.prototype[Symbol.dispose] = FungibleAsset.prototype.free;
15254
15391
 
@@ -15624,6 +15761,16 @@ class InputNoteRecord {
15624
15761
  const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
15625
15762
  return ret !== 0;
15626
15763
  }
15764
+ /**
15765
+ * Returns true while the note's on-chain inclusion is still unsettled
15766
+ * (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
15767
+ * advance this record.
15768
+ * @returns {boolean}
15769
+ */
15770
+ isInclusionPending() {
15771
+ const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
15772
+ return ret !== 0;
15773
+ }
15627
15774
  /**
15628
15775
  * Returns true if the note is currently being processed.
15629
15776
  * @returns {boolean}
@@ -19635,6 +19782,16 @@ class OutputNoteRecord {
19635
19782
  const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
19636
19783
  return ret !== 0;
19637
19784
  }
19785
+ /**
19786
+ * Returns true while the note's on-chain inclusion is still unsettled
19787
+ * (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
19788
+ * that can advance this record.
19789
+ * @returns {boolean}
19790
+ */
19791
+ isInclusionPending() {
19792
+ const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
19793
+ return ret !== 0;
19794
+ }
19638
19795
  /**
19639
19796
  * Returns the note metadata.
19640
19797
  * @returns {NoteMetadata}
@@ -24993,7 +25150,7 @@ function __wbg_get_imports(memory) {
24993
25150
  const ret = AccountStorage.__wrap(arg0);
24994
25151
  return ret;
24995
25152
  },
24996
- __wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25153
+ __wbg_addNoteTag_94ee2f838ec544dc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24997
25154
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24998
25155
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24999
25156
  let v1;
@@ -25021,25 +25178,25 @@ function __wbg_get_imports(memory) {
25021
25178
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
25022
25179
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
25023
25180
  }, arguments); },
25024
- __wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
25181
+ __wbg_applyFullAccountState_43caa7474baffc0b: function(arg0, arg1, arg2) {
25025
25182
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
25026
25183
  return ret;
25027
25184
  },
25028
- __wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
25185
+ __wbg_applySettingsMutations_5de1d94023be9157: function(arg0, arg1, arg2, arg3) {
25029
25186
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25030
25187
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25031
25188
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
25032
25189
  return ret;
25033
25190
  },
25034
- __wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
25191
+ __wbg_applyStateSync_189438332d96496e: function(arg0, arg1, arg2) {
25035
25192
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
25036
25193
  return ret;
25037
25194
  },
25038
- __wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
25195
+ __wbg_applyTransactionBatch_c300ed1fee34127a: function(arg0, arg1, arg2) {
25039
25196
  const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
25040
25197
  return ret;
25041
25198
  },
25042
- __wbg_applyTransactionDelta_9f7f77d353e0bd2d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
25199
+ __wbg_applyTransactionDelta_88c7fcff9175e58e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
25043
25200
  let deferred0_0;
25044
25201
  let deferred0_1;
25045
25202
  let deferred1_0;
@@ -25190,7 +25347,7 @@ function __wbg_get_imports(memory) {
25190
25347
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25191
25348
  }
25192
25349
  },
25193
- __wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
25350
+ __wbg_exportStore_cf4d695fbf6de143: function(arg0, arg1) {
25194
25351
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
25195
25352
  return ret;
25196
25353
  },
@@ -25222,7 +25379,7 @@ function __wbg_get_imports(memory) {
25222
25379
  const ret = FetchedNote.__wrap(arg0);
25223
25380
  return ret;
25224
25381
  },
25225
- __wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
25382
+ __wbg_forceImportStore_c50115d19ee606c7: function(arg0, arg1, arg2) {
25226
25383
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
25227
25384
  return ret;
25228
25385
  },
@@ -25246,7 +25403,7 @@ function __wbg_get_imports(memory) {
25246
25403
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
25247
25404
  return ret;
25248
25405
  },
25249
- __wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
25406
+ __wbg_getAccountAddresses_cbd727101b08a9f6: function(arg0, arg1, arg2, arg3) {
25250
25407
  let deferred0_0;
25251
25408
  let deferred0_1;
25252
25409
  try {
@@ -25258,7 +25415,7 @@ function __wbg_get_imports(memory) {
25258
25415
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25259
25416
  }
25260
25417
  },
25261
- __wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
25418
+ __wbg_getAccountAuthByPubKeyCommitment_bb937a852fc252bc: function(arg0, arg1, arg2, arg3) {
25262
25419
  let deferred0_0;
25263
25420
  let deferred0_1;
25264
25421
  try {
@@ -25270,7 +25427,7 @@ function __wbg_get_imports(memory) {
25270
25427
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25271
25428
  }
25272
25429
  },
25273
- __wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
25430
+ __wbg_getAccountCode_3cc0ae7a622f54fc: function(arg0, arg1, arg2, arg3) {
25274
25431
  let deferred0_0;
25275
25432
  let deferred0_1;
25276
25433
  try {
@@ -25282,7 +25439,7 @@ function __wbg_get_imports(memory) {
25282
25439
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25283
25440
  }
25284
25441
  },
25285
- __wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
25442
+ __wbg_getAccountHeaderByCommitment_9944282b839bf9b6: function(arg0, arg1, arg2, arg3) {
25286
25443
  let deferred0_0;
25287
25444
  let deferred0_1;
25288
25445
  try {
@@ -25294,7 +25451,7 @@ function __wbg_get_imports(memory) {
25294
25451
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25295
25452
  }
25296
25453
  },
25297
- __wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
25454
+ __wbg_getAccountHeader_84fb6f83a11e9cea: function(arg0, arg1, arg2, arg3) {
25298
25455
  let deferred0_0;
25299
25456
  let deferred0_1;
25300
25457
  try {
@@ -25306,7 +25463,7 @@ function __wbg_get_imports(memory) {
25306
25463
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25307
25464
  }
25308
25465
  },
25309
- __wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
25466
+ __wbg_getAccountIdByKeyCommitment_f993328b4b855b21: function(arg0, arg1, arg2, arg3) {
25310
25467
  let deferred0_0;
25311
25468
  let deferred0_1;
25312
25469
  try {
@@ -25318,11 +25475,11 @@ function __wbg_get_imports(memory) {
25318
25475
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25319
25476
  }
25320
25477
  },
25321
- __wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
25478
+ __wbg_getAccountIds_e80dceb4cc97875f: function(arg0, arg1) {
25322
25479
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
25323
25480
  return ret;
25324
25481
  },
25325
- __wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
25482
+ __wbg_getAccountStorageMaps_e36e581a33dc958a: function(arg0, arg1, arg2, arg3) {
25326
25483
  let deferred0_0;
25327
25484
  let deferred0_1;
25328
25485
  try {
@@ -25334,7 +25491,7 @@ function __wbg_get_imports(memory) {
25334
25491
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25335
25492
  }
25336
25493
  },
25337
- __wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25494
+ __wbg_getAccountStorage_50de137ac49bdf17: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25338
25495
  let deferred0_0;
25339
25496
  let deferred0_1;
25340
25497
  try {
@@ -25348,7 +25505,7 @@ function __wbg_get_imports(memory) {
25348
25505
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25349
25506
  }
25350
25507
  },
25351
- __wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25508
+ __wbg_getAccountVaultAssets_30c74124867dbf56: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25352
25509
  let deferred0_0;
25353
25510
  let deferred0_1;
25354
25511
  try {
@@ -25362,27 +25519,27 @@ function __wbg_get_imports(memory) {
25362
25519
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25363
25520
  }
25364
25521
  },
25365
- __wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
25522
+ __wbg_getAllAccountHeaders_b3e3ae880833a8cc: function(arg0, arg1) {
25366
25523
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
25367
25524
  return ret;
25368
25525
  },
25369
- __wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
25526
+ __wbg_getBlockHeaders_8fa268d7fb3d3c28: function(arg0, arg1, arg2, arg3) {
25370
25527
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25371
25528
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25372
25529
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
25373
25530
  return ret;
25374
25531
  },
25375
- __wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
25532
+ __wbg_getCurrentBlockchainPeaks_ea97e8dd83a3db2f: function(arg0, arg1) {
25376
25533
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
25377
25534
  return ret;
25378
25535
  },
25379
- __wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
25536
+ __wbg_getForeignAccountCode_7de2117da915f4be: function(arg0, arg1, arg2, arg3) {
25380
25537
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25381
25538
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25382
25539
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
25383
25540
  return ret;
25384
25541
  },
25385
- __wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25542
+ __wbg_getInputNoteByOffset_1cd4bd9db2e38694: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25386
25543
  let deferred1_0;
25387
25544
  let deferred1_1;
25388
25545
  try {
@@ -25396,31 +25553,31 @@ function __wbg_get_imports(memory) {
25396
25553
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25397
25554
  }
25398
25555
  },
25399
- __wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
25556
+ __wbg_getInputNotesFromDetailsCommitments_334d006c0e228205: function(arg0, arg1, arg2, arg3) {
25400
25557
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25401
25558
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25402
25559
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25403
25560
  return ret;
25404
25561
  },
25405
- __wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
25562
+ __wbg_getInputNotesFromIds_bbaec98ba444d49e: function(arg0, arg1, arg2, arg3) {
25406
25563
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25407
25564
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25408
25565
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25409
25566
  return ret;
25410
25567
  },
25411
- __wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
25568
+ __wbg_getInputNotesFromNullifiers_dde5b06918045f75: function(arg0, arg1, arg2, arg3) {
25412
25569
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25413
25570
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25414
25571
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25415
25572
  return ret;
25416
25573
  },
25417
- __wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
25574
+ __wbg_getInputNotes_02d3daccecb4c763: function(arg0, arg1, arg2, arg3) {
25418
25575
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25419
25576
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25420
25577
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
25421
25578
  return ret;
25422
25579
  },
25423
- __wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
25580
+ __wbg_getKeyCommitmentsByAccountId_de5d140392884430: function(arg0, arg1, arg2, arg3) {
25424
25581
  let deferred0_0;
25425
25582
  let deferred0_1;
25426
25583
  try {
@@ -25432,7 +25589,7 @@ function __wbg_get_imports(memory) {
25432
25589
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25433
25590
  }
25434
25591
  },
25435
- __wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
25592
+ __wbg_getNoteScript_bc2ab9b3b789361a: function(arg0, arg1, arg2, arg3) {
25436
25593
  let deferred0_0;
25437
25594
  let deferred0_1;
25438
25595
  try {
@@ -25444,39 +25601,39 @@ function __wbg_get_imports(memory) {
25444
25601
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25445
25602
  }
25446
25603
  },
25447
- __wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
25604
+ __wbg_getNoteTags_34a8fb7ffdde9e33: function(arg0, arg1) {
25448
25605
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
25449
25606
  return ret;
25450
25607
  },
25451
- __wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
25608
+ __wbg_getOutputNotesFromDetailsCommitments_6e202d70d207d37f: function(arg0, arg1, arg2, arg3) {
25452
25609
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25453
25610
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25454
25611
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25455
25612
  return ret;
25456
25613
  },
25457
- __wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
25614
+ __wbg_getOutputNotesFromIds_2b07a4ef2fa3fdd9: function(arg0, arg1, arg2, arg3) {
25458
25615
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25459
25616
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25460
25617
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25461
25618
  return ret;
25462
25619
  },
25463
- __wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
25620
+ __wbg_getOutputNotesFromNullifiers_f59492590ecad477: function(arg0, arg1, arg2, arg3) {
25464
25621
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25465
25622
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25466
25623
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25467
25624
  return ret;
25468
25625
  },
25469
- __wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
25626
+ __wbg_getOutputNotes_7ddd237b643a22e2: function(arg0, arg1, arg2, arg3) {
25470
25627
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25471
25628
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25472
25629
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
25473
25630
  return ret;
25474
25631
  },
25475
- __wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
25632
+ __wbg_getPartialBlockchainNodesAll_e2e8c0d62a978ef1: function(arg0, arg1) {
25476
25633
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
25477
25634
  return ret;
25478
25635
  },
25479
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
25636
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_2f8e8d802df6ede2: function(arg0, arg1, arg2, arg3) {
25480
25637
  let deferred0_0;
25481
25638
  let deferred0_1;
25482
25639
  try {
@@ -25488,7 +25645,7 @@ function __wbg_get_imports(memory) {
25488
25645
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25489
25646
  }
25490
25647
  },
25491
- __wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
25648
+ __wbg_getPartialBlockchainNodes_4505db840ba96409: function(arg0, arg1, arg2, arg3) {
25492
25649
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25493
25650
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25494
25651
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -25501,7 +25658,7 @@ function __wbg_get_imports(memory) {
25501
25658
  const ret = arg0.getReader();
25502
25659
  return ret;
25503
25660
  }, arguments); },
25504
- __wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
25661
+ __wbg_getSetting_62039934dd52148a: function(arg0, arg1, arg2, arg3) {
25505
25662
  let deferred0_0;
25506
25663
  let deferred0_1;
25507
25664
  try {
@@ -25513,7 +25670,7 @@ function __wbg_get_imports(memory) {
25513
25670
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25514
25671
  }
25515
25672
  },
25516
- __wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
25673
+ __wbg_getSyncHeight_1c355e9af8a6c5c1: function(arg0, arg1) {
25517
25674
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
25518
25675
  return ret;
25519
25676
  },
@@ -25521,15 +25678,15 @@ function __wbg_get_imports(memory) {
25521
25678
  const ret = arg0.getTime();
25522
25679
  return ret;
25523
25680
  },
25524
- __wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
25681
+ __wbg_getTrackedBlockHeaderNumbers_1127c2c0de9e8f2d: function(arg0, arg1) {
25525
25682
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
25526
25683
  return ret;
25527
25684
  },
25528
- __wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
25685
+ __wbg_getTrackedBlockHeaders_0c9acbd5575e41f1: function(arg0, arg1) {
25529
25686
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
25530
25687
  return ret;
25531
25688
  },
25532
- __wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
25689
+ __wbg_getTransactions_71b6f120136d4406: function(arg0, arg1, arg2, arg3) {
25533
25690
  let deferred0_0;
25534
25691
  let deferred0_1;
25535
25692
  try {
@@ -25541,7 +25698,7 @@ function __wbg_get_imports(memory) {
25541
25698
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25542
25699
  }
25543
25700
  },
25544
- __wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
25701
+ __wbg_getUnspentInputNoteNullifiers_ac153627e18848ab: function(arg0, arg1) {
25545
25702
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
25546
25703
  return ret;
25547
25704
  },
@@ -25585,7 +25742,7 @@ function __wbg_get_imports(memory) {
25585
25742
  const ret = InputNoteRecord.__wrap(arg0);
25586
25743
  return ret;
25587
25744
  },
25588
- __wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25745
+ __wbg_insertAccountAddress_15069fe099e1619e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25589
25746
  let deferred0_0;
25590
25747
  let deferred0_1;
25591
25748
  try {
@@ -25599,7 +25756,7 @@ function __wbg_get_imports(memory) {
25599
25756
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25600
25757
  }
25601
25758
  },
25602
- __wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25759
+ __wbg_insertAccountAuth_d0cb9c2601ea7324: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25603
25760
  let deferred0_0;
25604
25761
  let deferred0_1;
25605
25762
  let deferred1_0;
@@ -25616,7 +25773,7 @@ function __wbg_get_imports(memory) {
25616
25773
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25617
25774
  }
25618
25775
  },
25619
- __wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25776
+ __wbg_insertAccountKeyMapping_995e470bad5ead0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25620
25777
  let deferred0_0;
25621
25778
  let deferred0_1;
25622
25779
  let deferred1_0;
@@ -25633,13 +25790,13 @@ function __wbg_get_imports(memory) {
25633
25790
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25634
25791
  }
25635
25792
  },
25636
- __wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25793
+ __wbg_insertBlockHeader_e5a6e2ded97f2403: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25637
25794
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
25638
25795
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
25639
25796
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
25640
25797
  return ret;
25641
25798
  },
25642
- __wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25799
+ __wbg_insertPartialBlockchainNodes_d6d5d926855e4d21: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25643
25800
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25644
25801
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25645
25802
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25647,7 +25804,7 @@ function __wbg_get_imports(memory) {
25647
25804
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
25648
25805
  return ret;
25649
25806
  },
25650
- __wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25807
+ __wbg_insertSetting_0b89216c93defa8f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25651
25808
  let deferred0_0;
25652
25809
  let deferred0_1;
25653
25810
  try {
@@ -25661,7 +25818,7 @@ function __wbg_get_imports(memory) {
25661
25818
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25662
25819
  }
25663
25820
  },
25664
- __wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25821
+ __wbg_insertTransactionScript_25a8761c16b219bb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25665
25822
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25666
25823
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25667
25824
  let v1;
@@ -25768,11 +25925,11 @@ function __wbg_get_imports(memory) {
25768
25925
  const ret = arg0.length;
25769
25926
  return ret;
25770
25927
  },
25771
- __wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
25928
+ __wbg_listSettingKeys_2b136b1269935560: function(arg0, arg1) {
25772
25929
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
25773
25930
  return ret;
25774
25931
  },
25775
- __wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
25932
+ __wbg_lockAccount_77845432e7766df6: function(arg0, arg1, arg2, arg3) {
25776
25933
  let deferred0_0;
25777
25934
  let deferred0_1;
25778
25935
  try {
@@ -25991,7 +26148,7 @@ function __wbg_get_imports(memory) {
25991
26148
  const ret = Array.of(arg0, arg1, arg2);
25992
26149
  return ret;
25993
26150
  },
25994
- __wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
26151
+ __wbg_openDatabase_2f30006b5f901ff6: function(arg0, arg1, arg2, arg3) {
25995
26152
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
25996
26153
  return ret;
25997
26154
  },
@@ -26025,7 +26182,7 @@ function __wbg_get_imports(memory) {
26025
26182
  const ret = ProvenTransaction.__wrap(arg0);
26026
26183
  return ret;
26027
26184
  },
26028
- __wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26185
+ __wbg_pruneAccountHistory_f92187e012bea002: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26029
26186
  let deferred0_0;
26030
26187
  let deferred0_1;
26031
26188
  let deferred1_0;
@@ -26042,7 +26199,7 @@ function __wbg_get_imports(memory) {
26042
26199
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
26043
26200
  }
26044
26201
  },
26045
- __wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26202
+ __wbg_pruneIrrelevantBlocks_802f17c51c071490: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26046
26203
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
26047
26204
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
26048
26205
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -26072,13 +26229,13 @@ function __wbg_get_imports(memory) {
26072
26229
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
26073
26230
  arg0.releaseLock();
26074
26231
  },
26075
- __wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
26232
+ __wbg_removeAccountAddress_26bf46414ef4d36b: function(arg0, arg1, arg2, arg3) {
26076
26233
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
26077
26234
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
26078
26235
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
26079
26236
  return ret;
26080
26237
  },
26081
- __wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
26238
+ __wbg_removeAccountAuth_eee531cc8fc556ab: function(arg0, arg1, arg2, arg3) {
26082
26239
  let deferred0_0;
26083
26240
  let deferred0_1;
26084
26241
  try {
@@ -26090,7 +26247,7 @@ function __wbg_get_imports(memory) {
26090
26247
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26091
26248
  }
26092
26249
  },
26093
- __wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
26250
+ __wbg_removeAllMappingsForKey_bb2ce4d992b13353: function(arg0, arg1, arg2, arg3) {
26094
26251
  let deferred0_0;
26095
26252
  let deferred0_1;
26096
26253
  try {
@@ -26102,7 +26259,7 @@ function __wbg_get_imports(memory) {
26102
26259
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26103
26260
  }
26104
26261
  },
26105
- __wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
26262
+ __wbg_removeNoteTag_ce18a2071a471486: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
26106
26263
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
26107
26264
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
26108
26265
  let v1;
@@ -26123,7 +26280,7 @@ function __wbg_get_imports(memory) {
26123
26280
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
26124
26281
  return ret;
26125
26282
  },
26126
- __wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
26283
+ __wbg_removeSetting_a6764e1ec62f8c0f: function(arg0, arg1, arg2, arg3) {
26127
26284
  let deferred0_0;
26128
26285
  let deferred0_1;
26129
26286
  try {
@@ -26333,13 +26490,13 @@ function __wbg_get_imports(memory) {
26333
26490
  const ret = TransactionSummary.__wrap(arg0);
26334
26491
  return ret;
26335
26492
  },
26336
- __wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
26493
+ __wbg_undoAccountStates_829a6daf4a392818: function(arg0, arg1, arg2, arg3) {
26337
26494
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
26338
26495
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
26339
26496
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
26340
26497
  return ret;
26341
26498
  },
26342
- __wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26499
+ __wbg_upsertAccountCode_f24cee98a5bbbfe5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26343
26500
  let deferred0_0;
26344
26501
  let deferred0_1;
26345
26502
  try {
@@ -26353,7 +26510,7 @@ function __wbg_get_imports(memory) {
26353
26510
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26354
26511
  }
26355
26512
  },
26356
- __wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26513
+ __wbg_upsertAccountRecord_f616812a7dd3d5a1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26357
26514
  let deferred0_0;
26358
26515
  let deferred0_1;
26359
26516
  let deferred1_0;
@@ -26395,7 +26552,7 @@ function __wbg_get_imports(memory) {
26395
26552
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
26396
26553
  }
26397
26554
  },
26398
- __wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26555
+ __wbg_upsertAccountStorage_4f3a4494f26975fb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26399
26556
  let deferred0_0;
26400
26557
  let deferred0_1;
26401
26558
  try {
@@ -26409,7 +26566,7 @@ function __wbg_get_imports(memory) {
26409
26566
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26410
26567
  }
26411
26568
  },
26412
- __wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26569
+ __wbg_upsertForeignAccountCode_6595b4d97e610669: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26413
26570
  let deferred0_0;
26414
26571
  let deferred0_1;
26415
26572
  let deferred2_0;
@@ -26428,7 +26585,7 @@ function __wbg_get_imports(memory) {
26428
26585
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
26429
26586
  }
26430
26587
  },
26431
- __wbg_upsertInputNote_4aa6814b400ee6a6: 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) {
26588
+ __wbg_upsertInputNote_850c7540f297f4d4: 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) {
26432
26589
  let deferred0_0;
26433
26590
  let deferred0_1;
26434
26591
  let deferred6_0;
@@ -26477,7 +26634,7 @@ function __wbg_get_imports(memory) {
26477
26634
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
26478
26635
  }
26479
26636
  },
26480
- __wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26637
+ __wbg_upsertNoteScript_d946217575ba5025: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26481
26638
  let deferred0_0;
26482
26639
  let deferred0_1;
26483
26640
  try {
@@ -26491,7 +26648,7 @@ function __wbg_get_imports(memory) {
26491
26648
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26492
26649
  }
26493
26650
  },
26494
- __wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26651
+ __wbg_upsertOutputNote_907da49377d56a48: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26495
26652
  let deferred0_0;
26496
26653
  let deferred0_1;
26497
26654
  let deferred1_0;
@@ -26526,7 +26683,7 @@ function __wbg_get_imports(memory) {
26526
26683
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
26527
26684
  }
26528
26685
  },
26529
- __wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26686
+ __wbg_upsertStorageMapEntries_6bf2d15ad885daf0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26530
26687
  let deferred0_0;
26531
26688
  let deferred0_1;
26532
26689
  try {
@@ -26540,7 +26697,7 @@ function __wbg_get_imports(memory) {
26540
26697
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26541
26698
  }
26542
26699
  },
26543
- __wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26700
+ __wbg_upsertTransactionRecord_0b4dbeb561124c59: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26544
26701
  let deferred0_0;
26545
26702
  let deferred0_1;
26546
26703
  try {
@@ -26561,7 +26718,7 @@ function __wbg_get_imports(memory) {
26561
26718
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26562
26719
  }
26563
26720
  },
26564
- __wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26721
+ __wbg_upsertVaultAssets_55f07579c9e0113e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26565
26722
  let deferred0_0;
26566
26723
  let deferred0_1;
26567
26724
  try {
@@ -26614,7 +26771,7 @@ function __wbg_get_imports(memory) {
26614
26771
  return ret;
26615
26772
  },
26616
26773
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
26617
- // Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [], shim_idx: 453, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26774
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26618
26775
  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______);
26619
26776
  return ret;
26620
26777
  },
@@ -27609,6 +27766,7 @@ var index = /*#__PURE__*/Object.freeze({
27609
27766
  Address: Address,
27610
27767
  AdviceInputs: AdviceInputs,
27611
27768
  AdviceMap: AdviceMap,
27769
+ AssetCallbackFlag: AssetCallbackFlag,
27612
27770
  AssetVault: AssetVault,
27613
27771
  AuthFalcon512RpoMultisigConfig: AuthFalcon512RpoMultisigConfig,
27614
27772
  AuthScheme: AuthScheme,
@@ -27752,7 +27910,7 @@ var index = /*#__PURE__*/Object.freeze({
27752
27910
 
27753
27911
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
27754
27912
 
27755
- var CargoC001gt8g = /*#__PURE__*/Object.freeze({
27913
+ var CargoCnGom_z = /*#__PURE__*/Object.freeze({
27756
27914
  __proto__: null,
27757
27915
  Account: Account,
27758
27916
  AccountArray: AccountArray,
@@ -27779,6 +27937,7 @@ var CargoC001gt8g = /*#__PURE__*/Object.freeze({
27779
27937
  Address: Address,
27780
27938
  AdviceInputs: AdviceInputs,
27781
27939
  AdviceMap: AdviceMap,
27940
+ AssetCallbackFlag: AssetCallbackFlag,
27782
27941
  AssetVault: AssetVault,
27783
27942
  AuthFalcon512RpoMultisigConfig: AuthFalcon512RpoMultisigConfig,
27784
27943
  AuthScheme: AuthScheme,