@miden-sdk/miden-sdk 0.15.3 → 0.15.4

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 (46) hide show
  1. package/README.md +69 -0
  2. package/dist/mt/{Cargo-D2qNRrNR.js → Cargo-DjVnfWKi.js} +424 -88
  3. package/dist/mt/Cargo-DjVnfWKi.js.map +1 -0
  4. package/dist/mt/api-types.d.ts +130 -0
  5. package/dist/mt/assets/miden_client_web.wasm +0 -0
  6. package/dist/mt/crates/miden_client_web.d.ts +93 -3
  7. package/dist/mt/docs-entry.d.ts +2 -0
  8. package/dist/mt/eager.js +1 -1
  9. package/dist/mt/index.d.ts +3 -0
  10. package/dist/mt/index.js +211 -13
  11. package/dist/mt/index.js.map +1 -1
  12. package/dist/mt/wasm.js +1 -1
  13. package/dist/mt/workerHelpers.js +1 -1
  14. package/dist/mt/workers/{Cargo-D2qNRrNR-n_GEbq73.js → Cargo-DjVnfWKi-DvLbB_Zb.js} +424 -88
  15. package/dist/mt/workers/Cargo-DjVnfWKi-DvLbB_Zb.js.map +1 -0
  16. package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
  17. package/dist/mt/workers/web-client-methods-worker.js +425 -88
  18. package/dist/mt/workers/web-client-methods-worker.js.map +1 -1
  19. package/dist/mt/workers/web-client-methods-worker.module.js +1 -1
  20. package/dist/mt/workers/web-client-methods-worker.module.js.map +1 -1
  21. package/dist/mt/workers/workerHelpers.js +1 -1
  22. package/dist/st/{Cargo-BP7-0qVT.js → Cargo-Cwpuvlbc.js} +433 -98
  23. package/dist/st/Cargo-Cwpuvlbc.js.map +1 -0
  24. package/dist/st/api-types.d.ts +130 -0
  25. package/dist/st/assets/miden_client_web.wasm +0 -0
  26. package/dist/st/crates/miden_client_web.d.ts +93 -3
  27. package/dist/st/docs-entry.d.ts +2 -0
  28. package/dist/st/eager.js +1 -1
  29. package/dist/st/index.d.ts +3 -0
  30. package/dist/st/index.js +211 -13
  31. package/dist/st/index.js.map +1 -1
  32. package/dist/st/wasm.js +1 -1
  33. package/dist/st/workers/{Cargo-BP7-0qVT-CmfAy6bf.js → Cargo-Cwpuvlbc-B0V_MEMU.js} +433 -98
  34. package/dist/st/workers/Cargo-Cwpuvlbc-B0V_MEMU.js.map +1 -0
  35. package/dist/st/workers/assets/miden_client_web.wasm +0 -0
  36. package/dist/st/workers/web-client-methods-worker.js +434 -98
  37. package/dist/st/workers/web-client-methods-worker.js.map +1 -1
  38. package/dist/st/workers/web-client-methods-worker.module.js +1 -1
  39. package/dist/st/workers/web-client-methods-worker.module.js.map +1 -1
  40. package/js/node-index.js +1 -0
  41. package/js/resources/transactions.js +198 -12
  42. package/package.json +4 -4
  43. package/dist/mt/Cargo-D2qNRrNR.js.map +0 -1
  44. package/dist/mt/workers/Cargo-D2qNRrNR-n_GEbq73.js.map +0 -1
  45. package/dist/st/Cargo-BP7-0qVT.js.map +0 -1
  46. package/dist/st/workers/Cargo-BP7-0qVT-CmfAy6bf.js.map +0 -1
@@ -8838,6 +8838,7 @@ async function applyTransactionDelta(dbId, accountId, nonce, updatedSlots, chang
8838
8838
  }
8839
8839
  catch (error) {
8840
8840
  logWebStoreError(error, `Error applying transaction delta`);
8841
+ throw error;
8841
8842
  }
8842
8843
  }
8843
8844
  async function archiveAndReplaceStorageSlots(db, accountId, nonce, newSlots) {
@@ -9076,6 +9077,7 @@ async function applyFullAccountState(dbId, accountState) {
9076
9077
  }
9077
9078
  catch (error) {
9078
9079
  logWebStoreError(error, `Error applying full account state`);
9080
+ throw error;
9079
9081
  }
9080
9082
  }
9081
9083
  async function upsertAccountRecord(dbId, accountId, codeRoot, storageRoot, vaultRoot, nonce, committed, commitment, accountSeed, watched) {
@@ -9997,6 +9999,7 @@ async function upsertInputNote(dbId, detailsCommitment, noteId, assets, attachme
9997
9999
  }
9998
10000
  catch (error) {
9999
10001
  logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
10002
+ throw error;
10000
10003
  }
10001
10004
  };
10002
10005
  return db.dexie.transaction("rw", db.inputNotes, db.notesScripts, doWork);
@@ -10080,6 +10083,7 @@ async function upsertOutputNote(dbId, detailsCommitment, noteId, assets, attachm
10080
10083
  }
10081
10084
  catch (error) {
10082
10085
  logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
10086
+ throw error;
10083
10087
  }
10084
10088
  };
10085
10089
  return db.dexie.transaction("rw", db.outputNotes, db.notesScripts, doWork);
@@ -10322,6 +10326,7 @@ async function insertTransactionScript(dbId, scriptRoot, txScript, tx) {
10322
10326
  }
10323
10327
  catch (error) {
10324
10328
  logWebStoreError(error, "Failed to insert transaction script");
10329
+ throw error;
10325
10330
  }
10326
10331
  }
10327
10332
  async function upsertTransactionRecord(dbId, transactionId, details, blockNum, statusVariant, status, scriptRoot, tx) {
@@ -10339,8 +10344,82 @@ async function upsertTransactionRecord(dbId, transactionId, details, blockNum, s
10339
10344
  }
10340
10345
  catch (err) {
10341
10346
  logWebStoreError(err, "Failed to insert proven transaction data");
10347
+ throw err;
10342
10348
  }
10343
10349
  }
10350
+ /**
10351
+ * Applies a batch of transaction updates atomically inside a single Dexie transaction.
10352
+ *
10353
+ * All sub-operations that internally call `db.dexie.transaction()` are auto-joined by Dexie
10354
+ * as nested sub-transactions when run inside this parent transaction, provided the parent
10355
+ * scope is a superset of every sub-transaction scope.
10356
+ */
10357
+ async function applyTransactionBatch(dbId, payloads) {
10358
+ const db = getDatabase(dbId);
10359
+ await db.dexie.transaction("rw", [
10360
+ db.transactions,
10361
+ db.transactionScripts,
10362
+ db.latestAccountStorages,
10363
+ db.historicalAccountStorages,
10364
+ db.latestStorageMapEntries,
10365
+ db.historicalStorageMapEntries,
10366
+ db.latestAccountAssets,
10367
+ db.historicalAccountAssets,
10368
+ db.latestAccountHeaders,
10369
+ db.historicalAccountHeaders,
10370
+ db.inputNotes,
10371
+ db.outputNotes,
10372
+ db.notesScripts,
10373
+ db.tags,
10374
+ ], async () => {
10375
+ for (const payload of payloads) {
10376
+ // 1. Insert the transaction record (script first, then record)
10377
+ const rec = payload.transactionRecord;
10378
+ if (rec.scriptRoot && rec.txScript) {
10379
+ await insertTransactionScript(dbId, rec.scriptRoot, rec.txScript);
10380
+ }
10381
+ await upsertTransactionRecord(dbId, rec.id, rec.details, rec.blockNum, rec.statusVariant, rec.status, rec.scriptRoot);
10382
+ // 2. Apply account state (full or delta)
10383
+ const acct = payload.accountState;
10384
+ if (acct.kind === "full") {
10385
+ await applyFullAccountState(dbId, acct.account);
10386
+ }
10387
+ else {
10388
+ await applyTransactionDelta(dbId, acct.accountId, acct.nonce, acct.updatedSlots, acct.changedMapEntries, acct.changedAssets, acct.codeRoot, acct.storageRoot, acct.vaultRoot, acct.committed, acct.commitment);
10389
+ }
10390
+ // 3. Upsert input and output notes
10391
+ for (const note of payload.inputNotes) {
10392
+ await upsertInputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.serialNumber, note.inputs, note.noteScriptRoot, note.noteScript, note.nullifier, note.createdAt, note.stateDiscriminant, note.state, note.consumedBlockHeight ?? null, note.consumedTxOrder ?? null, note.consumerAccountId ?? null);
10393
+ }
10394
+ for (const note of payload.outputNotes) {
10395
+ await upsertOutputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.recipientDigest, note.metadata, note.nullifier, note.expectedHeight, note.stateDiscriminant, note.state);
10396
+ }
10397
+ // 4. Add note tags (deduplicated within the transaction)
10398
+ for (const tagEntry of payload.tags) {
10399
+ const tagArray = new Uint8Array(tagEntry.tag);
10400
+ const tagBase64 = uint8ArrayToBase64(tagArray);
10401
+ const sourceNoteId = tagEntry.sourceNoteId ?? "";
10402
+ const sourceAccountId = tagEntry.sourceAccountId ?? "";
10403
+ const sourceSubscriptionKey = tagEntry.sourceSubscriptionKey ?? "";
10404
+ // Check for existing tag to avoid duplicates (mirrors the Rust add_note_tag logic).
10405
+ // sourceSubscriptionKey is unindexed, so filter on it in memory — distinct
10406
+ // subscriptions may share a tag and must remain separate rows.
10407
+ const existing = await db.tags
10408
+ .where({ tag: tagBase64, sourceNoteId, sourceAccountId })
10409
+ .filter((t) => (t.sourceSubscriptionKey ?? "") === sourceSubscriptionKey)
10410
+ .first();
10411
+ if (!existing) {
10412
+ await db.tags.add({
10413
+ tag: tagBase64,
10414
+ sourceNoteId,
10415
+ sourceAccountId,
10416
+ sourceSubscriptionKey,
10417
+ });
10418
+ }
10419
+ }
10420
+ }
10421
+ });
10422
+ }
10344
10423
 
10345
10424
  async function getNoteTags(dbId) {
10346
10425
  try {
@@ -12950,10 +13029,13 @@ class AuthSecretKey {
12950
13029
  if (Symbol.dispose) AuthSecretKey.prototype[Symbol.dispose] = AuthSecretKey.prototype.free;
12951
13030
 
12952
13031
  /**
12953
- * Provides metadata for a basic fungible faucet account component.
13032
+ * Provides metadata for a fungible faucet account component.
12954
13033
  *
12955
- * Reads the on-chain [`FungibleFaucet`] component for the account, which holds the
12956
- * per-token info (symbol/decimals/maxSupply).
13034
+ * Reads the on-chain `FungibleFaucet` component for the account, which holds the per-token
13035
+ * info (symbol, decimals, supply, and the descriptive metadata). The same component backs both
13036
+ * "basic" public faucets and network-style faucets — in the current protocol the distinction is
13037
+ * a function of the surrounding account configuration (account type, auth, access control), not
13038
+ * of the faucet component itself — so this reads metadata from either kind of faucet account.
12957
13039
  */
12958
13040
  class BasicFungibleFaucetComponent {
12959
13041
  static __wrap(ptr) {
@@ -12981,6 +13063,32 @@ class BasicFungibleFaucetComponent {
12981
13063
  const ret = wasm.basicfungiblefaucetcomponent_decimals(this.__wbg_ptr);
12982
13064
  return ret;
12983
13065
  }
13066
+ /**
13067
+ * Returns the optional free-form token description, or `undefined` when unset.
13068
+ * @returns {string | undefined}
13069
+ */
13070
+ description() {
13071
+ const ret = wasm.basicfungiblefaucetcomponent_description(this.__wbg_ptr);
13072
+ let v1;
13073
+ if (ret[0] !== 0) {
13074
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
13075
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
13076
+ }
13077
+ return v1;
13078
+ }
13079
+ /**
13080
+ * Returns the optional external link (e.g. project website), or `undefined` when unset.
13081
+ * @returns {string | undefined}
13082
+ */
13083
+ externalLink() {
13084
+ const ret = wasm.basicfungiblefaucetcomponent_externalLink(this.__wbg_ptr);
13085
+ let v1;
13086
+ if (ret[0] !== 0) {
13087
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
13088
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
13089
+ }
13090
+ return v1;
13091
+ }
12984
13092
  /**
12985
13093
  * Extracts faucet metadata from an account.
12986
13094
  * @param {Account} account
@@ -12995,6 +13103,19 @@ class BasicFungibleFaucetComponent {
12995
13103
  }
12996
13104
  return BasicFungibleFaucetComponent.__wrap(ret[0]);
12997
13105
  }
13106
+ /**
13107
+ * Returns the optional token logo URI, or `undefined` when unset.
13108
+ * @returns {string | undefined}
13109
+ */
13110
+ logoUri() {
13111
+ const ret = wasm.basicfungiblefaucetcomponent_logoUri(this.__wbg_ptr);
13112
+ let v1;
13113
+ if (ret[0] !== 0) {
13114
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
13115
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
13116
+ }
13117
+ return v1;
13118
+ }
12998
13119
  /**
12999
13120
  * Returns the maximum token supply.
13000
13121
  * @returns {Felt}
@@ -13011,6 +13132,30 @@ class BasicFungibleFaucetComponent {
13011
13132
  const ret = wasm.basicfungiblefaucetcomponent_symbol(this.__wbg_ptr);
13012
13133
  return TokenSymbol.__wrap(ret);
13013
13134
  }
13135
+ /**
13136
+ * Returns the human-readable token name.
13137
+ * @returns {string}
13138
+ */
13139
+ tokenName() {
13140
+ let deferred1_0;
13141
+ let deferred1_1;
13142
+ try {
13143
+ const ret = wasm.basicfungiblefaucetcomponent_tokenName(this.__wbg_ptr);
13144
+ deferred1_0 = ret[0];
13145
+ deferred1_1 = ret[1];
13146
+ return getStringFromWasm0(ret[0], ret[1]);
13147
+ } finally {
13148
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
13149
+ }
13150
+ }
13151
+ /**
13152
+ * Returns the current token supply (the amount minted so far).
13153
+ * @returns {Felt}
13154
+ */
13155
+ tokenSupply() {
13156
+ const ret = wasm.basicfungiblefaucetcomponent_tokenSupply(this.__wbg_ptr);
13157
+ return Felt.__wrap(ret);
13158
+ }
13014
13159
  }
13015
13160
  if (Symbol.dispose) BasicFungibleFaucetComponent.prototype[Symbol.dispose] = BasicFungibleFaucetComponent.prototype.free;
13016
13161
 
@@ -13578,6 +13723,104 @@ class Endpoint {
13578
13723
  }
13579
13724
  if (Symbol.dispose) Endpoint.prototype[Symbol.dispose] = Endpoint.prototype.free;
13580
13725
 
13726
+ /**
13727
+ * A 20-byte Ethereum address, used as the destination of an `AggLayer` bridge-out (B2AGG) note.
13728
+ *
13729
+ * Construct one from a hex string with [`EthAddress::from_hex`] (the `0x` prefix is optional) or
13730
+ * from raw bytes with [`EthAddress::from_bytes`]. The canonical lowercase, `0x`-prefixed hex form
13731
+ * is available via [`EthAddress::to_hex`] (also exposed as `toString`).
13732
+ */
13733
+ class EthAddress {
13734
+ static __wrap(ptr) {
13735
+ ptr = ptr >>> 0;
13736
+ const obj = Object.create(EthAddress.prototype);
13737
+ obj.__wbg_ptr = ptr;
13738
+ EthAddressFinalization.register(obj, obj.__wbg_ptr, obj);
13739
+ return obj;
13740
+ }
13741
+ __destroy_into_raw() {
13742
+ const ptr = this.__wbg_ptr;
13743
+ this.__wbg_ptr = 0;
13744
+ EthAddressFinalization.unregister(this);
13745
+ return ptr;
13746
+ }
13747
+ free() {
13748
+ const ptr = this.__destroy_into_raw();
13749
+ wasm.__wbg_ethaddress_free(ptr, 0);
13750
+ }
13751
+ /**
13752
+ * Builds an Ethereum address from its raw 20-byte big-endian representation.
13753
+ *
13754
+ * Returns an error if the input is not exactly 20 bytes long.
13755
+ * @param {Uint8Array} bytes
13756
+ * @returns {EthAddress}
13757
+ */
13758
+ static fromBytes(bytes) {
13759
+ const ret = wasm.ethaddress_fromBytes(bytes);
13760
+ if (ret[2]) {
13761
+ throw takeFromExternrefTable0(ret[1]);
13762
+ }
13763
+ return EthAddress.__wrap(ret[0]);
13764
+ }
13765
+ /**
13766
+ * Builds an Ethereum address from a hex string (with or without the `0x` prefix).
13767
+ *
13768
+ * Returns an error if the string is not valid hex or does not encode exactly 20 bytes.
13769
+ * @param {string} hex
13770
+ * @returns {EthAddress}
13771
+ */
13772
+ static fromHex(hex) {
13773
+ const ptr0 = passStringToWasm0(hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
13774
+ const len0 = WASM_VECTOR_LEN;
13775
+ const ret = wasm.ethaddress_fromHex(ptr0, len0);
13776
+ if (ret[2]) {
13777
+ throw takeFromExternrefTable0(ret[1]);
13778
+ }
13779
+ return EthAddress.__wrap(ret[0]);
13780
+ }
13781
+ /**
13782
+ * Returns the raw 20-byte big-endian representation of the address.
13783
+ * @returns {Uint8Array}
13784
+ */
13785
+ toBytes() {
13786
+ const ret = wasm.ethaddress_toBytes(this.__wbg_ptr);
13787
+ return ret;
13788
+ }
13789
+ /**
13790
+ * Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
13791
+ * @returns {string}
13792
+ */
13793
+ toHex() {
13794
+ let deferred1_0;
13795
+ let deferred1_1;
13796
+ try {
13797
+ const ret = wasm.ethaddress_toHex(this.__wbg_ptr);
13798
+ deferred1_0 = ret[0];
13799
+ deferred1_1 = ret[1];
13800
+ return getStringFromWasm0(ret[0], ret[1]);
13801
+ } finally {
13802
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
13803
+ }
13804
+ }
13805
+ /**
13806
+ * Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
13807
+ * @returns {string}
13808
+ */
13809
+ toString() {
13810
+ let deferred1_0;
13811
+ let deferred1_1;
13812
+ try {
13813
+ const ret = wasm.ethaddress_toString(this.__wbg_ptr);
13814
+ deferred1_0 = ret[0];
13815
+ deferred1_1 = ret[1];
13816
+ return getStringFromWasm0(ret[0], ret[1]);
13817
+ } finally {
13818
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
13819
+ }
13820
+ }
13821
+ }
13822
+ if (Symbol.dispose) EthAddress.prototype[Symbol.dispose] = EthAddress.prototype.free;
13823
+
13581
13824
  /**
13582
13825
  * Describes the result of executing a transaction program for the Miden protocol.
13583
13826
  *
@@ -16145,6 +16388,32 @@ class Note {
16145
16388
  const ret = wasm.note_commitment(this.__wbg_ptr);
16146
16389
  return Word.__wrap(ret);
16147
16390
  }
16391
+ /**
16392
+ * Builds a B2AGG (Bridge-to-AggLayer) note that bridges the given assets out to another
16393
+ * network via the `AggLayer`.
16394
+ *
16395
+ * The note is always public and is consumed by `bridge_account`, which burns the assets so
16396
+ * they can be claimed on the destination network at `destination_address` (an Ethereum
16397
+ * address on the AggLayer-assigned `destination_network`). The assets must be fungible assets
16398
+ * issued by a network faucet.
16399
+ * @param {AccountId} sender
16400
+ * @param {AccountId} bridge_account
16401
+ * @param {NoteAssets} assets
16402
+ * @param {number} destination_network
16403
+ * @param {EthAddress} destination_address
16404
+ * @returns {Note}
16405
+ */
16406
+ static createB2AggNote(sender, bridge_account, assets, destination_network, destination_address) {
16407
+ _assertClass(sender, AccountId);
16408
+ _assertClass(bridge_account, AccountId);
16409
+ _assertClass(assets, NoteAssets);
16410
+ _assertClass(destination_address, EthAddress);
16411
+ const ret = wasm.note_createB2AggNote(sender.__wbg_ptr, bridge_account.__wbg_ptr, assets.__wbg_ptr, destination_network, destination_address.__wbg_ptr);
16412
+ if (ret[2]) {
16413
+ throw takeFromExternrefTable0(ret[1]);
16414
+ }
16415
+ return Note.__wrap(ret[0]);
16416
+ }
16148
16417
  /**
16149
16418
  * Builds a P2IDE note that can be reclaimed or timelocked based on block heights.
16150
16419
  * @param {AccountId} sender
@@ -22888,6 +23157,30 @@ class WebClient {
22888
23157
  const ret = wasm.webclient_newAccountWithSecretKey(this.__wbg_ptr, account.__wbg_ptr, secret_key.__wbg_ptr);
22889
23158
  return ret;
22890
23159
  }
23160
+ /**
23161
+ * Builds a transaction request that bridges a fungible asset out to another network via the
23162
+ * `AggLayer`.
23163
+ *
23164
+ * The request emits a single public B2AGG (Bridge-to-AggLayer) note holding `amount` units of
23165
+ * the `faucet_id` asset. The note is consumed by `bridge_account_id`, which burns the asset so
23166
+ * it can be claimed at `destination_address` (an Ethereum address) on the AggLayer-assigned
23167
+ * `destination_network`.
23168
+ * @param {AccountId} sender_account_id
23169
+ * @param {AccountId} bridge_account_id
23170
+ * @param {AccountId} faucet_id
23171
+ * @param {bigint} amount
23172
+ * @param {number} destination_network
23173
+ * @param {EthAddress} destination_address
23174
+ * @returns {Promise<TransactionRequest>}
23175
+ */
23176
+ newB2AggTransactionRequest(sender_account_id, bridge_account_id, faucet_id, amount, destination_network, destination_address) {
23177
+ _assertClass(sender_account_id, AccountId);
23178
+ _assertClass(bridge_account_id, AccountId);
23179
+ _assertClass(faucet_id, AccountId);
23180
+ _assertClass(destination_address, EthAddress);
23181
+ const ret = wasm.webclient_newB2AggTransactionRequest(this.__wbg_ptr, sender_account_id.__wbg_ptr, bridge_account_id.__wbg_ptr, faucet_id.__wbg_ptr, amount, destination_network, destination_address.__wbg_ptr);
23182
+ return ret;
23183
+ }
22891
23184
  /**
22892
23185
  * @param {Note[]} list_of_notes
22893
23186
  * @returns {TransactionRequest}
@@ -23181,6 +23474,25 @@ class WebClient {
23181
23474
  const ret = wasm.webclient_submitNewTransaction(this.__wbg_ptr, account_id.__wbg_ptr, transaction_request.__wbg_ptr);
23182
23475
  return ret;
23183
23476
  }
23477
+ /**
23478
+ * Executes a batch of transactions against the specified account, proves them individually
23479
+ * and as a batch, submits the batch to the network, and atomically applies the per-tx
23480
+ * updates to the local store. Returns the block number the batch was accepted into.
23481
+ *
23482
+ * All transactions must target the same local account — the `account_id` argument.
23483
+ * Each element of `transaction_requests` is the serialized-bytes form of a
23484
+ * `TransactionRequest` (obtained via `tx_request.serialize()`)
23485
+ * @param {AccountId} account_id
23486
+ * @param {Uint8Array[]} transaction_requests
23487
+ * @returns {Promise<number>}
23488
+ */
23489
+ submitNewTransactionBatch(account_id, transaction_requests) {
23490
+ _assertClass(account_id, AccountId);
23491
+ const ptr0 = passArrayJsValueToWasm0(transaction_requests, wasm.__wbindgen_malloc);
23492
+ const len0 = WASM_VECTOR_LEN;
23493
+ const ret = wasm.webclient_submitNewTransactionBatch(this.__wbg_ptr, account_id.__wbg_ptr, ptr0, len0);
23494
+ return ret;
23495
+ }
23184
23496
  /**
23185
23497
  * Executes a transaction specified by the request against the specified account, proves it
23186
23498
  * with the user provided prover, submits it to the network, and updates the local database.
@@ -23678,7 +23990,7 @@ function __wbg_get_imports() {
23678
23990
  const ret = AccountStorage.__wrap(arg0);
23679
23991
  return ret;
23680
23992
  },
23681
- __wbg_addNoteTag_1c8f882e522a5424: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23993
+ __wbg_addNoteTag_c9e7d0b19a1ff17c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23682
23994
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23683
23995
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23684
23996
  let v1;
@@ -23706,21 +24018,25 @@ function __wbg_get_imports() {
23706
24018
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
23707
24019
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
23708
24020
  }, arguments); },
23709
- __wbg_applyFullAccountState_ba8793f04d3ef7fb: function(arg0, arg1, arg2) {
24021
+ __wbg_applyFullAccountState_01b8235561567534: function(arg0, arg1, arg2) {
23710
24022
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
23711
24023
  return ret;
23712
24024
  },
23713
- __wbg_applySettingsMutations_555ec6e5c58ffc5b: function(arg0, arg1, arg2, arg3) {
24025
+ __wbg_applySettingsMutations_c70b3f973d7125bf: function(arg0, arg1, arg2, arg3) {
23714
24026
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23715
24027
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23716
24028
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
23717
24029
  return ret;
23718
24030
  },
23719
- __wbg_applyStateSync_d6a6d78e0278d43d: function(arg0, arg1, arg2) {
24031
+ __wbg_applyStateSync_2aab7a3f6871f365: function(arg0, arg1, arg2) {
23720
24032
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
23721
24033
  return ret;
23722
24034
  },
23723
- __wbg_applyTransactionDelta_f6e5feb33a6156f4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24035
+ __wbg_applyTransactionBatch_ff6324c1b699e0bc: function(arg0, arg1, arg2) {
24036
+ const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
24037
+ return ret;
24038
+ },
24039
+ __wbg_applyTransactionDelta_0bb2bf313e438504: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
23724
24040
  let deferred0_0;
23725
24041
  let deferred0_1;
23726
24042
  let deferred1_0;
@@ -23859,7 +24175,7 @@ function __wbg_get_imports() {
23859
24175
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23860
24176
  }
23861
24177
  },
23862
- __wbg_exportStore_2755c29774f1398d: function(arg0, arg1) {
24178
+ __wbg_exportStore_a3251a108aa7b844: function(arg0, arg1) {
23863
24179
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
23864
24180
  return ret;
23865
24181
  },
@@ -23891,7 +24207,7 @@ function __wbg_get_imports() {
23891
24207
  const ret = FetchedNote.__wrap(arg0);
23892
24208
  return ret;
23893
24209
  },
23894
- __wbg_forceImportStore_4b6749610cf2fca2: function(arg0, arg1, arg2) {
24210
+ __wbg_forceImportStore_cefb1d26c504a17a: function(arg0, arg1, arg2) {
23895
24211
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
23896
24212
  return ret;
23897
24213
  },
@@ -23899,6 +24215,10 @@ function __wbg_get_imports() {
23899
24215
  const ret = ForeignAccount.__unwrap(arg0);
23900
24216
  return ret;
23901
24217
  },
24218
+ __wbg_from_bddd64e7d5ff6941: function(arg0) {
24219
+ const ret = Array.from(arg0);
24220
+ return ret;
24221
+ },
23902
24222
  __wbg_fungibleasset_new: function(arg0) {
23903
24223
  const ret = FungibleAsset.__wrap(arg0);
23904
24224
  return ret;
@@ -23911,7 +24231,7 @@ function __wbg_get_imports() {
23911
24231
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
23912
24232
  return ret;
23913
24233
  },
23914
- __wbg_getAccountAddresses_4c6e8d82b86bd4db: function(arg0, arg1, arg2, arg3) {
24234
+ __wbg_getAccountAddresses_6bda8d40b7d06085: function(arg0, arg1, arg2, arg3) {
23915
24235
  let deferred0_0;
23916
24236
  let deferred0_1;
23917
24237
  try {
@@ -23923,7 +24243,7 @@ function __wbg_get_imports() {
23923
24243
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23924
24244
  }
23925
24245
  },
23926
- __wbg_getAccountAuthByPubKeyCommitment_526c174dcf167d1d: function(arg0, arg1, arg2, arg3) {
24246
+ __wbg_getAccountAuthByPubKeyCommitment_3e272c0653b69f25: function(arg0, arg1, arg2, arg3) {
23927
24247
  let deferred0_0;
23928
24248
  let deferred0_1;
23929
24249
  try {
@@ -23935,7 +24255,7 @@ function __wbg_get_imports() {
23935
24255
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23936
24256
  }
23937
24257
  },
23938
- __wbg_getAccountCode_4b1a8b44c07f16ec: function(arg0, arg1, arg2, arg3) {
24258
+ __wbg_getAccountCode_66c23e814ccb0b75: function(arg0, arg1, arg2, arg3) {
23939
24259
  let deferred0_0;
23940
24260
  let deferred0_1;
23941
24261
  try {
@@ -23947,7 +24267,7 @@ function __wbg_get_imports() {
23947
24267
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23948
24268
  }
23949
24269
  },
23950
- __wbg_getAccountHeaderByCommitment_7d00957336fa1aa0: function(arg0, arg1, arg2, arg3) {
24270
+ __wbg_getAccountHeaderByCommitment_e77460136385053d: function(arg0, arg1, arg2, arg3) {
23951
24271
  let deferred0_0;
23952
24272
  let deferred0_1;
23953
24273
  try {
@@ -23959,7 +24279,7 @@ function __wbg_get_imports() {
23959
24279
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23960
24280
  }
23961
24281
  },
23962
- __wbg_getAccountHeader_a379be70d1e4cfbd: function(arg0, arg1, arg2, arg3) {
24282
+ __wbg_getAccountHeader_1087552d17a99751: function(arg0, arg1, arg2, arg3) {
23963
24283
  let deferred0_0;
23964
24284
  let deferred0_1;
23965
24285
  try {
@@ -23971,7 +24291,7 @@ function __wbg_get_imports() {
23971
24291
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23972
24292
  }
23973
24293
  },
23974
- __wbg_getAccountIdByKeyCommitment_20a98231f254e16b: function(arg0, arg1, arg2, arg3) {
24294
+ __wbg_getAccountIdByKeyCommitment_7e1292d010257f58: function(arg0, arg1, arg2, arg3) {
23975
24295
  let deferred0_0;
23976
24296
  let deferred0_1;
23977
24297
  try {
@@ -23983,11 +24303,11 @@ function __wbg_get_imports() {
23983
24303
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23984
24304
  }
23985
24305
  },
23986
- __wbg_getAccountIds_15b2e8a5c2f9f448: function(arg0, arg1) {
24306
+ __wbg_getAccountIds_aa202a56a3aa2095: function(arg0, arg1) {
23987
24307
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
23988
24308
  return ret;
23989
24309
  },
23990
- __wbg_getAccountStorageMaps_7a6581bdaa528f5b: function(arg0, arg1, arg2, arg3) {
24310
+ __wbg_getAccountStorageMaps_83fcada97acbc4d3: function(arg0, arg1, arg2, arg3) {
23991
24311
  let deferred0_0;
23992
24312
  let deferred0_1;
23993
24313
  try {
@@ -23999,7 +24319,7 @@ function __wbg_get_imports() {
23999
24319
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24000
24320
  }
24001
24321
  },
24002
- __wbg_getAccountStorage_81c375a1a2d33378: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24322
+ __wbg_getAccountStorage_7da5087b3d6719c9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24003
24323
  let deferred0_0;
24004
24324
  let deferred0_1;
24005
24325
  try {
@@ -24013,7 +24333,7 @@ function __wbg_get_imports() {
24013
24333
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24014
24334
  }
24015
24335
  },
24016
- __wbg_getAccountVaultAssets_d7b806e2ad386b3b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24336
+ __wbg_getAccountVaultAssets_a7f15cd5706a07f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24017
24337
  let deferred0_0;
24018
24338
  let deferred0_1;
24019
24339
  try {
@@ -24027,27 +24347,27 @@ function __wbg_get_imports() {
24027
24347
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24028
24348
  }
24029
24349
  },
24030
- __wbg_getAllAccountHeaders_e9ce4e33075edb27: function(arg0, arg1) {
24350
+ __wbg_getAllAccountHeaders_20b2442034a1d33a: function(arg0, arg1) {
24031
24351
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24032
24352
  return ret;
24033
24353
  },
24034
- __wbg_getBlockHeaders_6ffc387a5b74f1ff: function(arg0, arg1, arg2, arg3) {
24354
+ __wbg_getBlockHeaders_14c17869ac14ff20: function(arg0, arg1, arg2, arg3) {
24035
24355
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24036
24356
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24037
24357
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24038
24358
  return ret;
24039
24359
  },
24040
- __wbg_getCurrentBlockchainPeaks_4f515c084e8dc019: function(arg0, arg1) {
24360
+ __wbg_getCurrentBlockchainPeaks_f25ec9bf8fbcfb01: function(arg0, arg1) {
24041
24361
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24042
24362
  return ret;
24043
24363
  },
24044
- __wbg_getForeignAccountCode_80e1c0d6bec20b20: function(arg0, arg1, arg2, arg3) {
24364
+ __wbg_getForeignAccountCode_aa888a2e4d67c198: function(arg0, arg1, arg2, arg3) {
24045
24365
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24046
24366
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24047
24367
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24048
24368
  return ret;
24049
24369
  },
24050
- __wbg_getInputNoteByOffset_52dacd9771fd7c73: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24370
+ __wbg_getInputNoteByOffset_28a7b0db364e3661: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24051
24371
  let deferred1_0;
24052
24372
  let deferred1_1;
24053
24373
  try {
@@ -24061,31 +24381,31 @@ function __wbg_get_imports() {
24061
24381
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24062
24382
  }
24063
24383
  },
24064
- __wbg_getInputNotesFromDetailsCommitments_b6639133948088e6: function(arg0, arg1, arg2, arg3) {
24384
+ __wbg_getInputNotesFromDetailsCommitments_cd9aae9ebea29ae8: function(arg0, arg1, arg2, arg3) {
24065
24385
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24066
24386
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24067
24387
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24068
24388
  return ret;
24069
24389
  },
24070
- __wbg_getInputNotesFromIds_1dc711511af25436: function(arg0, arg1, arg2, arg3) {
24390
+ __wbg_getInputNotesFromIds_2ac71ad2b96eacdc: function(arg0, arg1, arg2, arg3) {
24071
24391
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24072
24392
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24073
24393
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24074
24394
  return ret;
24075
24395
  },
24076
- __wbg_getInputNotesFromNullifiers_de68d7a980a7a6ac: function(arg0, arg1, arg2, arg3) {
24396
+ __wbg_getInputNotesFromNullifiers_784b00260b622e0a: function(arg0, arg1, arg2, arg3) {
24077
24397
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24078
24398
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24079
24399
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24080
24400
  return ret;
24081
24401
  },
24082
- __wbg_getInputNotes_e6991526618c5e3b: function(arg0, arg1, arg2, arg3) {
24402
+ __wbg_getInputNotes_554b394a036cce35: function(arg0, arg1, arg2, arg3) {
24083
24403
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24084
24404
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24085
24405
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
24086
24406
  return ret;
24087
24407
  },
24088
- __wbg_getKeyCommitmentsByAccountId_b16d7689e99f36cb: function(arg0, arg1, arg2, arg3) {
24408
+ __wbg_getKeyCommitmentsByAccountId_dc8ddc1944776f77: function(arg0, arg1, arg2, arg3) {
24089
24409
  let deferred0_0;
24090
24410
  let deferred0_1;
24091
24411
  try {
@@ -24097,7 +24417,7 @@ function __wbg_get_imports() {
24097
24417
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24098
24418
  }
24099
24419
  },
24100
- __wbg_getNoteScript_6d54def9cedaab5b: function(arg0, arg1, arg2, arg3) {
24420
+ __wbg_getNoteScript_fb7f3a8b5693efd3: function(arg0, arg1, arg2, arg3) {
24101
24421
  let deferred0_0;
24102
24422
  let deferred0_1;
24103
24423
  try {
@@ -24109,39 +24429,39 @@ function __wbg_get_imports() {
24109
24429
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24110
24430
  }
24111
24431
  },
24112
- __wbg_getNoteTags_4a9f0532a43e9ab4: function(arg0, arg1) {
24432
+ __wbg_getNoteTags_e58900169fc93b17: function(arg0, arg1) {
24113
24433
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
24114
24434
  return ret;
24115
24435
  },
24116
- __wbg_getOutputNotesFromDetailsCommitments_b65d8c4d56515cdc: function(arg0, arg1, arg2, arg3) {
24436
+ __wbg_getOutputNotesFromDetailsCommitments_b67eef4a469d243f: function(arg0, arg1, arg2, arg3) {
24117
24437
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24118
24438
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24119
24439
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24120
24440
  return ret;
24121
24441
  },
24122
- __wbg_getOutputNotesFromIds_e4e43ea7ee10ce3b: function(arg0, arg1, arg2, arg3) {
24442
+ __wbg_getOutputNotesFromIds_3e2e083d5e6307b4: function(arg0, arg1, arg2, arg3) {
24123
24443
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24124
24444
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24125
24445
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24126
24446
  return ret;
24127
24447
  },
24128
- __wbg_getOutputNotesFromNullifiers_5793389b5326d141: function(arg0, arg1, arg2, arg3) {
24448
+ __wbg_getOutputNotesFromNullifiers_f80d6022e4d273ae: function(arg0, arg1, arg2, arg3) {
24129
24449
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24130
24450
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24131
24451
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24132
24452
  return ret;
24133
24453
  },
24134
- __wbg_getOutputNotes_dc82d3565d3003c8: function(arg0, arg1, arg2, arg3) {
24454
+ __wbg_getOutputNotes_edbf80cf7cd0b908: function(arg0, arg1, arg2, arg3) {
24135
24455
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24136
24456
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24137
24457
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
24138
24458
  return ret;
24139
24459
  },
24140
- __wbg_getPartialBlockchainNodesAll_85f7172793d8eb4f: function(arg0, arg1) {
24460
+ __wbg_getPartialBlockchainNodesAll_c415a12245c31d24: function(arg0, arg1) {
24141
24461
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
24142
24462
  return ret;
24143
24463
  },
24144
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_655882ac21085fa7: function(arg0, arg1, arg2, arg3) {
24464
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_13c0f9e58345c3dd: function(arg0, arg1, arg2, arg3) {
24145
24465
  let deferred0_0;
24146
24466
  let deferred0_1;
24147
24467
  try {
@@ -24153,7 +24473,7 @@ function __wbg_get_imports() {
24153
24473
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24154
24474
  }
24155
24475
  },
24156
- __wbg_getPartialBlockchainNodes_87b3768321d70002: function(arg0, arg1, arg2, arg3) {
24476
+ __wbg_getPartialBlockchainNodes_65b845ff2a25659c: function(arg0, arg1, arg2, arg3) {
24157
24477
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24158
24478
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24159
24479
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -24166,7 +24486,7 @@ function __wbg_get_imports() {
24166
24486
  const ret = arg0.getReader();
24167
24487
  return ret;
24168
24488
  }, arguments); },
24169
- __wbg_getSetting_e9042efc55b18bbb: function(arg0, arg1, arg2, arg3) {
24489
+ __wbg_getSetting_652a441d00c2ff02: function(arg0, arg1, arg2, arg3) {
24170
24490
  let deferred0_0;
24171
24491
  let deferred0_1;
24172
24492
  try {
@@ -24178,7 +24498,7 @@ function __wbg_get_imports() {
24178
24498
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24179
24499
  }
24180
24500
  },
24181
- __wbg_getSyncHeight_52e3dd3c6a2a9643: function(arg0, arg1) {
24501
+ __wbg_getSyncHeight_47274f9a308f2ea0: function(arg0, arg1) {
24182
24502
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
24183
24503
  return ret;
24184
24504
  },
@@ -24186,15 +24506,15 @@ function __wbg_get_imports() {
24186
24506
  const ret = arg0.getTime();
24187
24507
  return ret;
24188
24508
  },
24189
- __wbg_getTrackedBlockHeaderNumbers_0e827a6fbace9440: function(arg0, arg1) {
24509
+ __wbg_getTrackedBlockHeaderNumbers_7f699d8776e5342e: function(arg0, arg1) {
24190
24510
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
24191
24511
  return ret;
24192
24512
  },
24193
- __wbg_getTrackedBlockHeaders_aec6fdccb131fcc4: function(arg0, arg1) {
24513
+ __wbg_getTrackedBlockHeaders_9257cc5c828b3847: function(arg0, arg1) {
24194
24514
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24195
24515
  return ret;
24196
24516
  },
24197
- __wbg_getTransactions_a5e46e592ec6567b: function(arg0, arg1, arg2, arg3) {
24517
+ __wbg_getTransactions_042b4178983dd070: function(arg0, arg1, arg2, arg3) {
24198
24518
  let deferred0_0;
24199
24519
  let deferred0_1;
24200
24520
  try {
@@ -24206,7 +24526,7 @@ function __wbg_get_imports() {
24206
24526
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24207
24527
  }
24208
24528
  },
24209
- __wbg_getUnspentInputNoteNullifiers_0753945c0300356f: function(arg0, arg1) {
24529
+ __wbg_getUnspentInputNoteNullifiers_af62c37e3bf9a116: function(arg0, arg1) {
24210
24530
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24211
24531
  return ret;
24212
24532
  },
@@ -24250,7 +24570,7 @@ function __wbg_get_imports() {
24250
24570
  const ret = InputNoteRecord.__wrap(arg0);
24251
24571
  return ret;
24252
24572
  },
24253
- __wbg_insertAccountAddress_0d293c362728e99b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24573
+ __wbg_insertAccountAddress_9750679ae673f231: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24254
24574
  let deferred0_0;
24255
24575
  let deferred0_1;
24256
24576
  try {
@@ -24264,7 +24584,7 @@ function __wbg_get_imports() {
24264
24584
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24265
24585
  }
24266
24586
  },
24267
- __wbg_insertAccountAuth_be13c8ed59e28915: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24587
+ __wbg_insertAccountAuth_4468784a0311c9e3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24268
24588
  let deferred0_0;
24269
24589
  let deferred0_1;
24270
24590
  let deferred1_0;
@@ -24281,7 +24601,7 @@ function __wbg_get_imports() {
24281
24601
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24282
24602
  }
24283
24603
  },
24284
- __wbg_insertAccountKeyMapping_e21f0da8ff1a235d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24604
+ __wbg_insertAccountKeyMapping_1018a4c4e3136ea9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24285
24605
  let deferred0_0;
24286
24606
  let deferred0_1;
24287
24607
  let deferred1_0;
@@ -24298,13 +24618,13 @@ function __wbg_get_imports() {
24298
24618
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24299
24619
  }
24300
24620
  },
24301
- __wbg_insertBlockHeader_0fd9441e660932f4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24621
+ __wbg_insertBlockHeader_5f9db8fbf493cd05: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24302
24622
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24303
24623
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24304
24624
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24305
24625
  return ret;
24306
24626
  },
24307
- __wbg_insertPartialBlockchainNodes_41ca6874a5cf6e1c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24627
+ __wbg_insertPartialBlockchainNodes_3bac74a5a63676ec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24308
24628
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24309
24629
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24310
24630
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24312,7 +24632,7 @@ function __wbg_get_imports() {
24312
24632
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24313
24633
  return ret;
24314
24634
  },
24315
- __wbg_insertSetting_36744f044c3bb7e7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24635
+ __wbg_insertSetting_3f9497eda301dd4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24316
24636
  let deferred0_0;
24317
24637
  let deferred0_1;
24318
24638
  try {
@@ -24326,7 +24646,7 @@ function __wbg_get_imports() {
24326
24646
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24327
24647
  }
24328
24648
  },
24329
- __wbg_insertTransactionScript_3940a90473bfede6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24649
+ __wbg_insertTransactionScript_d77dd4730b830b16: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24330
24650
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24331
24651
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24332
24652
  let v1;
@@ -24423,11 +24743,11 @@ function __wbg_get_imports() {
24423
24743
  const ret = arg0.length;
24424
24744
  return ret;
24425
24745
  },
24426
- __wbg_listSettingKeys_0b73fd5d86306685: function(arg0, arg1) {
24746
+ __wbg_listSettingKeys_e6be00ae9be0f390: function(arg0, arg1) {
24427
24747
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
24428
24748
  return ret;
24429
24749
  },
24430
- __wbg_lockAccount_2e7498cedc727430: function(arg0, arg1, arg2, arg3) {
24750
+ __wbg_lockAccount_59fe96d1d24657e7: function(arg0, arg1, arg2, arg3) {
24431
24751
  let deferred0_0;
24432
24752
  let deferred0_1;
24433
24753
  try {
@@ -24515,7 +24835,7 @@ function __wbg_get_imports() {
24515
24835
  const a = state0.a;
24516
24836
  state0.a = 0;
24517
24837
  try {
24518
- return wasm_bindgen__convert__closures_____invoke__h27981db70122c447(a, state0.b, arg0, arg1);
24838
+ return wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(a, state0.b, arg0, arg1);
24519
24839
  } finally {
24520
24840
  state0.a = a;
24521
24841
  }
@@ -24626,7 +24946,7 @@ function __wbg_get_imports() {
24626
24946
  const ret = NoteTag.__unwrap(arg0);
24627
24947
  return ret;
24628
24948
  },
24629
- __wbg_openDatabase_408b68d01263c8d9: function(arg0, arg1, arg2, arg3) {
24949
+ __wbg_openDatabase_d434e531abab67a4: function(arg0, arg1, arg2, arg3) {
24630
24950
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
24631
24951
  return ret;
24632
24952
  },
@@ -24657,7 +24977,7 @@ function __wbg_get_imports() {
24657
24977
  const ret = ProvenTransaction.__wrap(arg0);
24658
24978
  return ret;
24659
24979
  },
24660
- __wbg_pruneAccountHistory_e4591ff16590fc39: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24980
+ __wbg_pruneAccountHistory_601cf8b7deb90730: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24661
24981
  let deferred0_0;
24662
24982
  let deferred0_1;
24663
24983
  let deferred1_0;
@@ -24674,7 +24994,7 @@ function __wbg_get_imports() {
24674
24994
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24675
24995
  }
24676
24996
  },
24677
- __wbg_pruneIrrelevantBlocks_b4bbb376dc014b6b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24997
+ __wbg_pruneIrrelevantBlocks_6dfe3f86e818875b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24678
24998
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24679
24999
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24680
25000
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24686,6 +25006,10 @@ function __wbg_get_imports() {
24686
25006
  const ret = PswapLineageRecord.__wrap(arg0);
24687
25007
  return ret;
24688
25008
  },
25009
+ __wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
25010
+ const ret = arg0.push(arg1);
25011
+ return ret;
25012
+ },
24689
25013
  __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
24690
25014
  const ret = arg0.queueMicrotask;
24691
25015
  return ret;
@@ -24700,13 +25024,13 @@ function __wbg_get_imports() {
24700
25024
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
24701
25025
  arg0.releaseLock();
24702
25026
  },
24703
- __wbg_removeAccountAddress_4c833638d59fd8d7: function(arg0, arg1, arg2, arg3) {
25027
+ __wbg_removeAccountAddress_4f2f68a69c6824ba: function(arg0, arg1, arg2, arg3) {
24704
25028
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24705
25029
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24706
25030
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
24707
25031
  return ret;
24708
25032
  },
24709
- __wbg_removeAccountAuth_536aea861f769be5: function(arg0, arg1, arg2, arg3) {
25033
+ __wbg_removeAccountAuth_270323d61dcc5a1c: function(arg0, arg1, arg2, arg3) {
24710
25034
  let deferred0_0;
24711
25035
  let deferred0_1;
24712
25036
  try {
@@ -24718,7 +25042,7 @@ function __wbg_get_imports() {
24718
25042
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24719
25043
  }
24720
25044
  },
24721
- __wbg_removeAllMappingsForKey_1ad4056391b6e556: function(arg0, arg1, arg2, arg3) {
25045
+ __wbg_removeAllMappingsForKey_0cd82b003ec78640: function(arg0, arg1, arg2, arg3) {
24722
25046
  let deferred0_0;
24723
25047
  let deferred0_1;
24724
25048
  try {
@@ -24730,7 +25054,7 @@ function __wbg_get_imports() {
24730
25054
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24731
25055
  }
24732
25056
  },
24733
- __wbg_removeNoteTag_25df6a90ad8692ed: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25057
+ __wbg_removeNoteTag_99bf10aa95385cdd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24734
25058
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24735
25059
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24736
25060
  let v1;
@@ -24751,7 +25075,7 @@ function __wbg_get_imports() {
24751
25075
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
24752
25076
  return ret;
24753
25077
  },
24754
- __wbg_removeSetting_ebdcd55495cb1017: function(arg0, arg1, arg2, arg3) {
25078
+ __wbg_removeSetting_435793c919df62ea: function(arg0, arg1, arg2, arg3) {
24755
25079
  let deferred0_0;
24756
25080
  let deferred0_1;
24757
25081
  try {
@@ -24802,6 +25126,9 @@ function __wbg_get_imports() {
24802
25126
  const ret = setTimeout(arg0, arg1);
24803
25127
  return ret;
24804
25128
  }, arguments); },
25129
+ __wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
25130
+ arg0[arg1] = arg2;
25131
+ },
24805
25132
  __wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
24806
25133
  const ret = Reflect.set(arg0, arg1, arg2);
24807
25134
  return ret;
@@ -24951,13 +25278,13 @@ function __wbg_get_imports() {
24951
25278
  const ret = TransactionSummary.__wrap(arg0);
24952
25279
  return ret;
24953
25280
  },
24954
- __wbg_undoAccountStates_7a7c5a8838aa3845: function(arg0, arg1, arg2, arg3) {
25281
+ __wbg_undoAccountStates_bc8f443bd3fee100: function(arg0, arg1, arg2, arg3) {
24955
25282
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24956
25283
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24957
25284
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
24958
25285
  return ret;
24959
25286
  },
24960
- __wbg_upsertAccountCode_79526a78b7676971: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25287
+ __wbg_upsertAccountCode_2988cd68796aacef: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24961
25288
  let deferred0_0;
24962
25289
  let deferred0_1;
24963
25290
  try {
@@ -24971,7 +25298,7 @@ function __wbg_get_imports() {
24971
25298
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24972
25299
  }
24973
25300
  },
24974
- __wbg_upsertAccountRecord_78ef5ee5891c4407: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25301
+ __wbg_upsertAccountRecord_124cfe8dc72ff46f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
24975
25302
  let deferred0_0;
24976
25303
  let deferred0_1;
24977
25304
  let deferred1_0;
@@ -25013,7 +25340,7 @@ function __wbg_get_imports() {
25013
25340
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25014
25341
  }
25015
25342
  },
25016
- __wbg_upsertAccountStorage_cb0450465224b3a3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25343
+ __wbg_upsertAccountStorage_b7e55e69d8c649ff: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25017
25344
  let deferred0_0;
25018
25345
  let deferred0_1;
25019
25346
  try {
@@ -25027,7 +25354,7 @@ function __wbg_get_imports() {
25027
25354
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25028
25355
  }
25029
25356
  },
25030
- __wbg_upsertForeignAccountCode_8f058e14b39d0aa5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25357
+ __wbg_upsertForeignAccountCode_321f8c2b6560540f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25031
25358
  let deferred0_0;
25032
25359
  let deferred0_1;
25033
25360
  let deferred2_0;
@@ -25046,7 +25373,7 @@ function __wbg_get_imports() {
25046
25373
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
25047
25374
  }
25048
25375
  },
25049
- __wbg_upsertInputNote_88a3d72329020306: 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) {
25376
+ __wbg_upsertInputNote_f54fb501eea97448: 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) {
25050
25377
  let deferred0_0;
25051
25378
  let deferred0_1;
25052
25379
  let deferred6_0;
@@ -25095,7 +25422,7 @@ function __wbg_get_imports() {
25095
25422
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
25096
25423
  }
25097
25424
  },
25098
- __wbg_upsertNoteScript_ee5a46681df483c4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25425
+ __wbg_upsertNoteScript_96ab2ba0a90f1446: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25099
25426
  let deferred0_0;
25100
25427
  let deferred0_1;
25101
25428
  try {
@@ -25109,7 +25436,7 @@ function __wbg_get_imports() {
25109
25436
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25110
25437
  }
25111
25438
  },
25112
- __wbg_upsertOutputNote_d85873588c0ff0d1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25439
+ __wbg_upsertOutputNote_ab3683633a3f1acb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25113
25440
  let deferred0_0;
25114
25441
  let deferred0_1;
25115
25442
  let deferred1_0;
@@ -25144,7 +25471,7 @@ function __wbg_get_imports() {
25144
25471
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
25145
25472
  }
25146
25473
  },
25147
- __wbg_upsertStorageMapEntries_f69072278033a28a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25474
+ __wbg_upsertStorageMapEntries_5f86e7cc367f03c1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25148
25475
  let deferred0_0;
25149
25476
  let deferred0_1;
25150
25477
  try {
@@ -25158,7 +25485,7 @@ function __wbg_get_imports() {
25158
25485
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25159
25486
  }
25160
25487
  },
25161
- __wbg_upsertTransactionRecord_d141b6ccd2a2532e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25488
+ __wbg_upsertTransactionRecord_dc6cf6e7c6196905: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25162
25489
  let deferred0_0;
25163
25490
  let deferred0_1;
25164
25491
  try {
@@ -25179,7 +25506,7 @@ function __wbg_get_imports() {
25179
25506
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25180
25507
  }
25181
25508
  },
25182
- __wbg_upsertVaultAssets_316fc3763a4f0e4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25509
+ __wbg_upsertVaultAssets_b09b89783ef95fbe: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25183
25510
  let deferred0_0;
25184
25511
  let deferred0_1;
25185
25512
  try {
@@ -25210,13 +25537,13 @@ function __wbg_get_imports() {
25210
25537
  return ret;
25211
25538
  },
25212
25539
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25213
- // Cast intrinsic for `Closure(Closure { dtor_idx: 446, function: Function { arguments: [Externref], shim_idx: 797, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25214
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92);
25540
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 443, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25541
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788);
25215
25542
  return ret;
25216
25543
  },
25217
25544
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25218
- // Cast intrinsic for `Closure(Closure { dtor_idx: 446, function: Function { arguments: [], shim_idx: 447, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25219
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442);
25545
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 443, function: Function { arguments: [], shim_idx: 444, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25546
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9);
25220
25547
  return ret;
25221
25548
  },
25222
25549
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -25225,86 +25552,91 @@ function __wbg_get_imports() {
25225
25552
  return ret;
25226
25553
  },
25227
25554
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
25555
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
25556
+ const ret = getArrayU8FromWasm0(arg0, arg1);
25557
+ return ret;
25558
+ },
25559
+ __wbindgen_cast_0000000000000005: function(arg0, arg1) {
25228
25560
  // Cast intrinsic for `Ref(String) -> Externref`.
25229
25561
  const ret = getStringFromWasm0(arg0, arg1);
25230
25562
  return ret;
25231
25563
  },
25232
- __wbindgen_cast_0000000000000005: function(arg0) {
25564
+ __wbindgen_cast_0000000000000006: function(arg0) {
25233
25565
  // Cast intrinsic for `U64 -> Externref`.
25234
25566
  const ret = BigInt.asUintN(64, arg0);
25235
25567
  return ret;
25236
25568
  },
25237
- __wbindgen_cast_0000000000000006: function(arg0, arg1) {
25569
+ __wbindgen_cast_0000000000000007: function(arg0, arg1) {
25238
25570
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25239
25571
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25240
25572
  // Cast intrinsic for `Vector(NamedExternref("AccountHeader")) -> Externref`.
25241
25573
  const ret = v0;
25242
25574
  return ret;
25243
25575
  },
25244
- __wbindgen_cast_0000000000000007: function(arg0, arg1) {
25576
+ __wbindgen_cast_0000000000000008: function(arg0, arg1) {
25245
25577
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25246
25578
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25247
25579
  // Cast intrinsic for `Vector(NamedExternref("Address")) -> Externref`.
25248
25580
  const ret = v0;
25249
25581
  return ret;
25250
25582
  },
25251
- __wbindgen_cast_0000000000000008: function(arg0, arg1) {
25583
+ __wbindgen_cast_0000000000000009: function(arg0, arg1) {
25252
25584
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25253
25585
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25254
25586
  // Cast intrinsic for `Vector(NamedExternref("ConsumableNoteRecord")) -> Externref`.
25255
25587
  const ret = v0;
25256
25588
  return ret;
25257
25589
  },
25258
- __wbindgen_cast_0000000000000009: function(arg0, arg1) {
25590
+ __wbindgen_cast_000000000000000a: function(arg0, arg1) {
25259
25591
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25260
25592
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25261
25593
  // Cast intrinsic for `Vector(NamedExternref("FetchedNote")) -> Externref`.
25262
25594
  const ret = v0;
25263
25595
  return ret;
25264
25596
  },
25265
- __wbindgen_cast_000000000000000a: function(arg0, arg1) {
25597
+ __wbindgen_cast_000000000000000b: function(arg0, arg1) {
25266
25598
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25267
25599
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25268
25600
  // Cast intrinsic for `Vector(NamedExternref("InputNoteRecord")) -> Externref`.
25269
25601
  const ret = v0;
25270
25602
  return ret;
25271
25603
  },
25272
- __wbindgen_cast_000000000000000b: function(arg0, arg1) {
25604
+ __wbindgen_cast_000000000000000c: function(arg0, arg1) {
25273
25605
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25274
25606
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25275
25607
  // Cast intrinsic for `Vector(NamedExternref("OutputNoteRecord")) -> Externref`.
25276
25608
  const ret = v0;
25277
25609
  return ret;
25278
25610
  },
25279
- __wbindgen_cast_000000000000000c: function(arg0, arg1) {
25611
+ __wbindgen_cast_000000000000000d: function(arg0, arg1) {
25280
25612
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25281
25613
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25282
25614
  // Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
25283
25615
  const ret = v0;
25284
25616
  return ret;
25285
25617
  },
25286
- __wbindgen_cast_000000000000000d: function(arg0, arg1) {
25618
+ __wbindgen_cast_000000000000000e: function(arg0, arg1) {
25287
25619
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25288
25620
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25289
25621
  // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25290
25622
  const ret = v0;
25291
25623
  return ret;
25292
25624
  },
25293
- __wbindgen_cast_000000000000000e: function(arg0, arg1) {
25625
+ __wbindgen_cast_000000000000000f: function(arg0, arg1) {
25294
25626
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25295
25627
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25296
25628
  // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25297
25629
  const ret = v0;
25298
25630
  return ret;
25299
25631
  },
25300
- __wbindgen_cast_000000000000000f: function(arg0, arg1) {
25632
+ __wbindgen_cast_0000000000000010: function(arg0, arg1) {
25301
25633
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25302
25634
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25303
25635
  // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25304
25636
  const ret = v0;
25305
25637
  return ret;
25306
25638
  },
25307
- __wbindgen_cast_0000000000000010: function(arg0, arg1) {
25639
+ __wbindgen_cast_0000000000000011: function(arg0, arg1) {
25308
25640
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
25309
25641
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
25310
25642
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -25327,16 +25659,16 @@ function __wbg_get_imports() {
25327
25659
  };
25328
25660
  }
25329
25661
 
25330
- function wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442(arg0, arg1) {
25331
- wasm.wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442(arg0, arg1);
25662
+ function wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1) {
25663
+ wasm.wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1);
25332
25664
  }
25333
25665
 
25334
- function wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92(arg0, arg1, arg2) {
25335
- wasm.wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92(arg0, arg1, arg2);
25666
+ function wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2) {
25667
+ wasm.wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2);
25336
25668
  }
25337
25669
 
25338
- function wasm_bindgen__convert__closures_____invoke__h27981db70122c447(arg0, arg1, arg2, arg3) {
25339
- wasm.wasm_bindgen__convert__closures_____invoke__h27981db70122c447(arg0, arg1, arg2, arg3);
25670
+ function wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3) {
25671
+ wasm.wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3);
25340
25672
  }
25341
25673
 
25342
25674
 
@@ -25455,6 +25787,9 @@ const ConsumableNoteRecordFinalization = (typeof FinalizationRegistry === 'undef
25455
25787
  const EndpointFinalization = (typeof FinalizationRegistry === 'undefined')
25456
25788
  ? { register: () => {}, unregister: () => {} }
25457
25789
  : new FinalizationRegistry(ptr => wasm.__wbg_endpoint_free(ptr >>> 0, 1));
25790
+ const EthAddressFinalization = (typeof FinalizationRegistry === 'undefined')
25791
+ ? { register: () => {}, unregister: () => {} }
25792
+ : new FinalizationRegistry(ptr => wasm.__wbg_ethaddress_free(ptr >>> 0, 1));
25458
25793
  const ExecutedTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
25459
25794
  ? { register: () => {}, unregister: () => {} }
25460
25795
  : new FinalizationRegistry(ptr => wasm.__wbg_executedtransaction_free(ptr >>> 0, 1));
@@ -26150,5 +26485,5 @@ async function __wbg_init(module_or_path) {
26150
26485
  }
26151
26486
 
26152
26487
  const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
26153
- export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
26154
- //# sourceMappingURL=Cargo-BP7-0qVT.js.map
26488
+ export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
26489
+ //# sourceMappingURL=Cargo-Cwpuvlbc.js.map