@miden-sdk/miden-sdk 0.15.5 → 0.15.6
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.
- package/README.md +13 -0
- package/dist/mt/{Cargo-C001gt8g.js → Cargo-mvyTli7g.js} +202 -87
- package/dist/mt/Cargo-mvyTli7g.js.map +1 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +48 -1
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +1 -1
- package/dist/mt/wasm.js +1 -1
- package/dist/mt/workerHelpers.js +1 -1
- package/dist/mt/workers/{Cargo-C001gt8g-B8wBADUI.js → Cargo-mvyTli7g-BwMMSyoq.js} +202 -87
- package/dist/mt/workers/Cargo-mvyTli7g-BwMMSyoq.js.map +1 -0
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +203 -88
- package/dist/mt/workers/web-client-methods-worker.js.map +1 -1
- package/dist/mt/workers/web-client-methods-worker.module.js +1 -1
- package/dist/mt/workers/web-client-methods-worker.module.js.map +1 -1
- package/dist/mt/workers/workerHelpers.js +1 -1
- package/dist/st/{Cargo-CR1mzjgg.js → Cargo-Cysp4vto.js} +210 -95
- package/dist/st/Cargo-Cysp4vto.js.map +1 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +48 -1
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-CR1mzjgg-DeDmKA4W.js → Cargo-Cysp4vto-BIw-TeJn.js} +210 -95
- package/dist/st/workers/Cargo-Cysp4vto-BIw-TeJn.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +211 -96
- package/dist/st/workers/web-client-methods-worker.js.map +1 -1
- package/dist/st/workers/web-client-methods-worker.module.js +1 -1
- package/dist/st/workers/web-client-methods-worker.module.js.map +1 -1
- package/package.json +4 -4
- package/dist/mt/Cargo-C001gt8g.js.map +0 -1
- package/dist/mt/workers/Cargo-C001gt8g-B8wBADUI.js.map +0 -1
- package/dist/st/Cargo-CR1mzjgg.js.map +0 -1
- package/dist/st/workers/Cargo-CR1mzjgg-DeDmKA4W.js.map +0 -1
|
@@ -8264,7 +8264,9 @@ function indexes(...items) {
|
|
|
8264
8264
|
return items.join(",");
|
|
8265
8265
|
}
|
|
8266
8266
|
/** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
|
|
8267
|
-
* never be modified — all schema changes should go through new version blocks instead.
|
|
8267
|
+
* never be modified — all schema changes should go through new version blocks instead.
|
|
8268
|
+
* Exported for migration tests, which seed a physical v1 database before opening it with the
|
|
8269
|
+
* current version chain. */
|
|
8268
8270
|
const V1_STORES = {
|
|
8269
8271
|
[Table.AccountCode]: indexes("root"),
|
|
8270
8272
|
[Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
|
|
@@ -8319,11 +8321,12 @@ class MidenDatabase {
|
|
|
8319
8321
|
this.dexie = new Dexie(network);
|
|
8320
8322
|
// --- Schema versioning ---
|
|
8321
8323
|
//
|
|
8322
|
-
// NOTE:
|
|
8323
|
-
//
|
|
8324
|
-
//
|
|
8325
|
-
//
|
|
8326
|
-
// be
|
|
8324
|
+
// NOTE: Migrations coexist with the client-version nuke: the database is
|
|
8325
|
+
// still nuked on major/minor client-version changes (network resets — see
|
|
8326
|
+
// ensureClientVersion), while Dexie version blocks below handle schema and
|
|
8327
|
+
// data fixes for stores that survive patch upgrades. Once the network
|
|
8328
|
+
// stabilizes and data can be preserved across all upgrades, the
|
|
8329
|
+
// version-change nuke will be removed and migrations alone will take over.
|
|
8327
8330
|
//
|
|
8328
8331
|
// v1 is the baseline schema. To add a migration:
|
|
8329
8332
|
// 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
|
|
@@ -8355,12 +8358,43 @@ class MidenDatabase {
|
|
|
8355
8358
|
// Note: The `populate` hook (below the version blocks) only fires on
|
|
8356
8359
|
// first database creation, NOT during upgrades.
|
|
8357
8360
|
//
|
|
8358
|
-
//
|
|
8359
|
-
//
|
|
8360
|
-
//
|
|
8361
|
-
//
|
|
8362
|
-
// 3. Add version(2+) blocks below for all schema changes going forward.
|
|
8361
|
+
// Version blocks exist below, so V1_STORES is frozen — never modify it;
|
|
8362
|
+
// add a new version block instead. To retire the nuke entirely (once data
|
|
8363
|
+
// must survive major/minor upgrades), remove the close/delete/open logic
|
|
8364
|
+
// in ensureClientVersion and just persist the new version there.
|
|
8363
8365
|
this.dexie.version(1).stores(V1_STORES);
|
|
8366
|
+
// v2 (miden-client 0.15.4): prune note tags leaked by output-note
|
|
8367
|
+
// registration. Mirrors sqlite-store migration
|
|
8368
|
+
// `0002_prune_output_note_tags.sql`. Clients built against miden-client
|
|
8369
|
+
// < 0.15.4 registered a `Note`-sourced tag for every output note a
|
|
8370
|
+
// transaction created, but sync cleanup only removes tags of committed
|
|
8371
|
+
// *input* notes — leaking one `tags` row per created note. The client no
|
|
8372
|
+
// longer registers those tags; this upgrade deletes the rows already
|
|
8373
|
+
// leaked. A tag is kept while an inclusion-pending input note
|
|
8374
|
+
// (Expected = 0, Unverified = 1 — the mirror of
|
|
8375
|
+
// `InputNoteRecord::is_inclusion_pending`) still needs it.
|
|
8376
|
+
//
|
|
8377
|
+
// This data-only fix coexists with the version-change nuke above: the
|
|
8378
|
+
// nuke covers major/minor client upgrades (network resets), while this
|
|
8379
|
+
// upgrade runs for stores preserved across patch upgrades.
|
|
8380
|
+
this.dexie
|
|
8381
|
+
.version(2)
|
|
8382
|
+
.stores({})
|
|
8383
|
+
.upgrade(async (tx) => {
|
|
8384
|
+
const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
|
|
8385
|
+
if (outputNoteCommitments.size === 0) {
|
|
8386
|
+
return;
|
|
8387
|
+
}
|
|
8388
|
+
const pendingInputNoteCommitments = new Set(await tx.inputNotes
|
|
8389
|
+
.where("stateDiscriminant")
|
|
8390
|
+
.anyOf([0, 1])
|
|
8391
|
+
.primaryKeys());
|
|
8392
|
+
await tx.tags
|
|
8393
|
+
.filter((tag) => !!tag.sourceNoteId &&
|
|
8394
|
+
outputNoteCommitments.has(tag.sourceNoteId) &&
|
|
8395
|
+
!pendingInputNoteCommitments.has(tag.sourceNoteId))
|
|
8396
|
+
.delete();
|
|
8397
|
+
});
|
|
8364
8398
|
this.accountCodes = this.dexie.table(Table.AccountCode);
|
|
8365
8399
|
this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
|
|
8366
8400
|
this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
|
|
@@ -10740,6 +10774,17 @@ class Account {
|
|
|
10740
10774
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
10741
10775
|
return ret !== 0;
|
|
10742
10776
|
}
|
|
10777
|
+
/**
|
|
10778
|
+
* Returns true if this is a network account.
|
|
10779
|
+
*
|
|
10780
|
+
* A network account is a public account whose storage
|
|
10781
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
10782
|
+
* @returns {boolean}
|
|
10783
|
+
*/
|
|
10784
|
+
isNetworkAccount() {
|
|
10785
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
10786
|
+
return ret !== 0;
|
|
10787
|
+
}
|
|
10743
10788
|
/**
|
|
10744
10789
|
* Returns true if the account has not yet been committed to the chain.
|
|
10745
10790
|
* @returns {boolean}
|
|
@@ -10772,6 +10817,20 @@ class Account {
|
|
|
10772
10817
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
10773
10818
|
return ret !== 0;
|
|
10774
10819
|
}
|
|
10820
|
+
/**
|
|
10821
|
+
* Returns the note-script roots this network account is allowed to
|
|
10822
|
+
* consume, or `undefined` if this is not a network account.
|
|
10823
|
+
* @returns {Word[] | undefined}
|
|
10824
|
+
*/
|
|
10825
|
+
networkNoteAllowlist() {
|
|
10826
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
10827
|
+
let v1;
|
|
10828
|
+
if (ret[0] !== 0) {
|
|
10829
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
10830
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
10831
|
+
}
|
|
10832
|
+
return v1;
|
|
10833
|
+
}
|
|
10775
10834
|
/**
|
|
10776
10835
|
* Returns the account nonce, which is incremented on every state update.
|
|
10777
10836
|
* @returns {Felt}
|
|
@@ -11151,6 +11210,42 @@ class AccountComponent {
|
|
|
11151
11210
|
}
|
|
11152
11211
|
return AccountComponent.__wrap(ret[0]);
|
|
11153
11212
|
}
|
|
11213
|
+
/**
|
|
11214
|
+
* Builds the auth component for a network account.
|
|
11215
|
+
*
|
|
11216
|
+
* A network account is a public account carrying this component: its
|
|
11217
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11218
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11219
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11220
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11221
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11222
|
+
*
|
|
11223
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11224
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11225
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11226
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11227
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11228
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11229
|
+
* (arbitrary) transaction submitter controls.
|
|
11230
|
+
*
|
|
11231
|
+
* # Errors
|
|
11232
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11233
|
+
* allowlisted note scripts could never consume a note.
|
|
11234
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11235
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11236
|
+
* @returns {AccountComponent}
|
|
11237
|
+
*/
|
|
11238
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11239
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11240
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11241
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11242
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11243
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11244
|
+
if (ret[2]) {
|
|
11245
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11246
|
+
}
|
|
11247
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11248
|
+
}
|
|
11154
11249
|
/**
|
|
11155
11250
|
* Creates an account component from a compiled library and storage slots.
|
|
11156
11251
|
* @param {Library} library
|
|
@@ -13339,7 +13434,7 @@ class CodeBuilder {
|
|
|
13339
13434
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13340
13435
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13341
13436
|
* this can be used from another script with an import statement, following the
|
|
13342
|
-
* previous example: `use miden::my_contract
|
|
13437
|
+
* previous example: `use miden::my_contract`.
|
|
13343
13438
|
* @param {string} library_path
|
|
13344
13439
|
* @param {string} source_code
|
|
13345
13440
|
* @returns {Library}
|
|
@@ -14896,6 +14991,16 @@ class InputNoteRecord {
|
|
|
14896
14991
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
14897
14992
|
return ret !== 0;
|
|
14898
14993
|
}
|
|
14994
|
+
/**
|
|
14995
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
14996
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
14997
|
+
* advance this record.
|
|
14998
|
+
* @returns {boolean}
|
|
14999
|
+
*/
|
|
15000
|
+
isInclusionPending() {
|
|
15001
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15002
|
+
return ret !== 0;
|
|
15003
|
+
}
|
|
14899
15004
|
/**
|
|
14900
15005
|
* Returns true if the note is currently being processed.
|
|
14901
15006
|
* @returns {boolean}
|
|
@@ -18907,6 +19012,16 @@ class OutputNoteRecord {
|
|
|
18907
19012
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
18908
19013
|
return ret !== 0;
|
|
18909
19014
|
}
|
|
19015
|
+
/**
|
|
19016
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19017
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19018
|
+
* that can advance this record.
|
|
19019
|
+
* @returns {boolean}
|
|
19020
|
+
*/
|
|
19021
|
+
isInclusionPending() {
|
|
19022
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19023
|
+
return ret !== 0;
|
|
19024
|
+
}
|
|
18910
19025
|
/**
|
|
18911
19026
|
* Returns the note metadata.
|
|
18912
19027
|
* @returns {NoteMetadata}
|
|
@@ -24143,7 +24258,7 @@ function __wbg_get_imports() {
|
|
|
24143
24258
|
const ret = AccountStorage.__wrap(arg0);
|
|
24144
24259
|
return ret;
|
|
24145
24260
|
},
|
|
24146
|
-
|
|
24261
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24147
24262
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24148
24263
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24149
24264
|
let v1;
|
|
@@ -24171,25 +24286,25 @@ function __wbg_get_imports() {
|
|
|
24171
24286
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24172
24287
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24173
24288
|
}, arguments); },
|
|
24174
|
-
|
|
24289
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
24175
24290
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24176
24291
|
return ret;
|
|
24177
24292
|
},
|
|
24178
|
-
|
|
24293
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
24179
24294
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24180
24295
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24181
24296
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24182
24297
|
return ret;
|
|
24183
24298
|
},
|
|
24184
|
-
|
|
24299
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
24185
24300
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24186
24301
|
return ret;
|
|
24187
24302
|
},
|
|
24188
|
-
|
|
24303
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
24189
24304
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24190
24305
|
return ret;
|
|
24191
24306
|
},
|
|
24192
|
-
|
|
24307
|
+
__wbg_applyTransactionDelta_93fac37bf6e15192: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24193
24308
|
let deferred0_0;
|
|
24194
24309
|
let deferred0_1;
|
|
24195
24310
|
let deferred1_0;
|
|
@@ -24328,7 +24443,7 @@ function __wbg_get_imports() {
|
|
|
24328
24443
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24329
24444
|
}
|
|
24330
24445
|
},
|
|
24331
|
-
|
|
24446
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
24332
24447
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24333
24448
|
return ret;
|
|
24334
24449
|
},
|
|
@@ -24360,7 +24475,7 @@ function __wbg_get_imports() {
|
|
|
24360
24475
|
const ret = FetchedNote.__wrap(arg0);
|
|
24361
24476
|
return ret;
|
|
24362
24477
|
},
|
|
24363
|
-
|
|
24478
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
24364
24479
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24365
24480
|
return ret;
|
|
24366
24481
|
},
|
|
@@ -24384,7 +24499,7 @@ function __wbg_get_imports() {
|
|
|
24384
24499
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24385
24500
|
return ret;
|
|
24386
24501
|
},
|
|
24387
|
-
|
|
24502
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
24388
24503
|
let deferred0_0;
|
|
24389
24504
|
let deferred0_1;
|
|
24390
24505
|
try {
|
|
@@ -24396,7 +24511,7 @@ function __wbg_get_imports() {
|
|
|
24396
24511
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24397
24512
|
}
|
|
24398
24513
|
},
|
|
24399
|
-
|
|
24514
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
24400
24515
|
let deferred0_0;
|
|
24401
24516
|
let deferred0_1;
|
|
24402
24517
|
try {
|
|
@@ -24408,7 +24523,7 @@ function __wbg_get_imports() {
|
|
|
24408
24523
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24409
24524
|
}
|
|
24410
24525
|
},
|
|
24411
|
-
|
|
24526
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
24412
24527
|
let deferred0_0;
|
|
24413
24528
|
let deferred0_1;
|
|
24414
24529
|
try {
|
|
@@ -24420,7 +24535,7 @@ function __wbg_get_imports() {
|
|
|
24420
24535
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24421
24536
|
}
|
|
24422
24537
|
},
|
|
24423
|
-
|
|
24538
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
24424
24539
|
let deferred0_0;
|
|
24425
24540
|
let deferred0_1;
|
|
24426
24541
|
try {
|
|
@@ -24432,7 +24547,7 @@ function __wbg_get_imports() {
|
|
|
24432
24547
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24433
24548
|
}
|
|
24434
24549
|
},
|
|
24435
|
-
|
|
24550
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
24436
24551
|
let deferred0_0;
|
|
24437
24552
|
let deferred0_1;
|
|
24438
24553
|
try {
|
|
@@ -24444,7 +24559,7 @@ function __wbg_get_imports() {
|
|
|
24444
24559
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24445
24560
|
}
|
|
24446
24561
|
},
|
|
24447
|
-
|
|
24562
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
24448
24563
|
let deferred0_0;
|
|
24449
24564
|
let deferred0_1;
|
|
24450
24565
|
try {
|
|
@@ -24456,11 +24571,11 @@ function __wbg_get_imports() {
|
|
|
24456
24571
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24457
24572
|
}
|
|
24458
24573
|
},
|
|
24459
|
-
|
|
24574
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
24460
24575
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24461
24576
|
return ret;
|
|
24462
24577
|
},
|
|
24463
|
-
|
|
24578
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
24464
24579
|
let deferred0_0;
|
|
24465
24580
|
let deferred0_1;
|
|
24466
24581
|
try {
|
|
@@ -24472,7 +24587,7 @@ function __wbg_get_imports() {
|
|
|
24472
24587
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24473
24588
|
}
|
|
24474
24589
|
},
|
|
24475
|
-
|
|
24590
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24476
24591
|
let deferred0_0;
|
|
24477
24592
|
let deferred0_1;
|
|
24478
24593
|
try {
|
|
@@ -24486,7 +24601,7 @@ function __wbg_get_imports() {
|
|
|
24486
24601
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24487
24602
|
}
|
|
24488
24603
|
},
|
|
24489
|
-
|
|
24604
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24490
24605
|
let deferred0_0;
|
|
24491
24606
|
let deferred0_1;
|
|
24492
24607
|
try {
|
|
@@ -24500,27 +24615,27 @@ function __wbg_get_imports() {
|
|
|
24500
24615
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24501
24616
|
}
|
|
24502
24617
|
},
|
|
24503
|
-
|
|
24618
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
24504
24619
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24505
24620
|
return ret;
|
|
24506
24621
|
},
|
|
24507
|
-
|
|
24622
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
24508
24623
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24509
24624
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24510
24625
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24511
24626
|
return ret;
|
|
24512
24627
|
},
|
|
24513
|
-
|
|
24628
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
24514
24629
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24515
24630
|
return ret;
|
|
24516
24631
|
},
|
|
24517
|
-
|
|
24632
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
24518
24633
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24519
24634
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24520
24635
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24521
24636
|
return ret;
|
|
24522
24637
|
},
|
|
24523
|
-
|
|
24638
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24524
24639
|
let deferred1_0;
|
|
24525
24640
|
let deferred1_1;
|
|
24526
24641
|
try {
|
|
@@ -24534,31 +24649,31 @@ function __wbg_get_imports() {
|
|
|
24534
24649
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24535
24650
|
}
|
|
24536
24651
|
},
|
|
24537
|
-
|
|
24652
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
24538
24653
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24539
24654
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24540
24655
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24541
24656
|
return ret;
|
|
24542
24657
|
},
|
|
24543
|
-
|
|
24658
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
24544
24659
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24545
24660
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24546
24661
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24547
24662
|
return ret;
|
|
24548
24663
|
},
|
|
24549
|
-
|
|
24664
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
24550
24665
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24551
24666
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24552
24667
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24553
24668
|
return ret;
|
|
24554
24669
|
},
|
|
24555
|
-
|
|
24670
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
|
|
24556
24671
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24557
24672
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24558
24673
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24559
24674
|
return ret;
|
|
24560
24675
|
},
|
|
24561
|
-
|
|
24676
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
|
|
24562
24677
|
let deferred0_0;
|
|
24563
24678
|
let deferred0_1;
|
|
24564
24679
|
try {
|
|
@@ -24570,7 +24685,7 @@ function __wbg_get_imports() {
|
|
|
24570
24685
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24571
24686
|
}
|
|
24572
24687
|
},
|
|
24573
|
-
|
|
24688
|
+
__wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
24574
24689
|
let deferred0_0;
|
|
24575
24690
|
let deferred0_1;
|
|
24576
24691
|
try {
|
|
@@ -24582,39 +24697,39 @@ function __wbg_get_imports() {
|
|
|
24582
24697
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24583
24698
|
}
|
|
24584
24699
|
},
|
|
24585
|
-
|
|
24700
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
24586
24701
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24587
24702
|
return ret;
|
|
24588
24703
|
},
|
|
24589
|
-
|
|
24704
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
24590
24705
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24591
24706
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24592
24707
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24593
24708
|
return ret;
|
|
24594
24709
|
},
|
|
24595
|
-
|
|
24710
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
24596
24711
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24597
24712
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24598
24713
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24599
24714
|
return ret;
|
|
24600
24715
|
},
|
|
24601
|
-
|
|
24716
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
24602
24717
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24603
24718
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24604
24719
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24605
24720
|
return ret;
|
|
24606
24721
|
},
|
|
24607
|
-
|
|
24722
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
24608
24723
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24609
24724
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24610
24725
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24611
24726
|
return ret;
|
|
24612
24727
|
},
|
|
24613
|
-
|
|
24728
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
24614
24729
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24615
24730
|
return ret;
|
|
24616
24731
|
},
|
|
24617
|
-
|
|
24732
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
24618
24733
|
let deferred0_0;
|
|
24619
24734
|
let deferred0_1;
|
|
24620
24735
|
try {
|
|
@@ -24626,7 +24741,7 @@ function __wbg_get_imports() {
|
|
|
24626
24741
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24627
24742
|
}
|
|
24628
24743
|
},
|
|
24629
|
-
|
|
24744
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
24630
24745
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24631
24746
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24632
24747
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24639,7 +24754,7 @@ function __wbg_get_imports() {
|
|
|
24639
24754
|
const ret = arg0.getReader();
|
|
24640
24755
|
return ret;
|
|
24641
24756
|
}, arguments); },
|
|
24642
|
-
|
|
24757
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
24643
24758
|
let deferred0_0;
|
|
24644
24759
|
let deferred0_1;
|
|
24645
24760
|
try {
|
|
@@ -24651,7 +24766,7 @@ function __wbg_get_imports() {
|
|
|
24651
24766
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24652
24767
|
}
|
|
24653
24768
|
},
|
|
24654
|
-
|
|
24769
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
24655
24770
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24656
24771
|
return ret;
|
|
24657
24772
|
},
|
|
@@ -24659,15 +24774,15 @@ function __wbg_get_imports() {
|
|
|
24659
24774
|
const ret = arg0.getTime();
|
|
24660
24775
|
return ret;
|
|
24661
24776
|
},
|
|
24662
|
-
|
|
24777
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
24663
24778
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24664
24779
|
return ret;
|
|
24665
24780
|
},
|
|
24666
|
-
|
|
24781
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
24667
24782
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24668
24783
|
return ret;
|
|
24669
24784
|
},
|
|
24670
|
-
|
|
24785
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
24671
24786
|
let deferred0_0;
|
|
24672
24787
|
let deferred0_1;
|
|
24673
24788
|
try {
|
|
@@ -24679,7 +24794,7 @@ function __wbg_get_imports() {
|
|
|
24679
24794
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24680
24795
|
}
|
|
24681
24796
|
},
|
|
24682
|
-
|
|
24797
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
24683
24798
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24684
24799
|
return ret;
|
|
24685
24800
|
},
|
|
@@ -24723,7 +24838,7 @@ function __wbg_get_imports() {
|
|
|
24723
24838
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24724
24839
|
return ret;
|
|
24725
24840
|
},
|
|
24726
|
-
|
|
24841
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24727
24842
|
let deferred0_0;
|
|
24728
24843
|
let deferred0_1;
|
|
24729
24844
|
try {
|
|
@@ -24737,7 +24852,7 @@ function __wbg_get_imports() {
|
|
|
24737
24852
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24738
24853
|
}
|
|
24739
24854
|
},
|
|
24740
|
-
|
|
24855
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24741
24856
|
let deferred0_0;
|
|
24742
24857
|
let deferred0_1;
|
|
24743
24858
|
let deferred1_0;
|
|
@@ -24754,7 +24869,7 @@ function __wbg_get_imports() {
|
|
|
24754
24869
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24755
24870
|
}
|
|
24756
24871
|
},
|
|
24757
|
-
|
|
24872
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24758
24873
|
let deferred0_0;
|
|
24759
24874
|
let deferred0_1;
|
|
24760
24875
|
let deferred1_0;
|
|
@@ -24771,13 +24886,13 @@ function __wbg_get_imports() {
|
|
|
24771
24886
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24772
24887
|
}
|
|
24773
24888
|
},
|
|
24774
|
-
|
|
24889
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24775
24890
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24776
24891
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24777
24892
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24778
24893
|
return ret;
|
|
24779
24894
|
},
|
|
24780
|
-
|
|
24895
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24781
24896
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24782
24897
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24783
24898
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24785,7 +24900,7 @@ function __wbg_get_imports() {
|
|
|
24785
24900
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24786
24901
|
return ret;
|
|
24787
24902
|
},
|
|
24788
|
-
|
|
24903
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24789
24904
|
let deferred0_0;
|
|
24790
24905
|
let deferred0_1;
|
|
24791
24906
|
try {
|
|
@@ -24799,7 +24914,7 @@ function __wbg_get_imports() {
|
|
|
24799
24914
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24800
24915
|
}
|
|
24801
24916
|
},
|
|
24802
|
-
|
|
24917
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24803
24918
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24804
24919
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24805
24920
|
let v1;
|
|
@@ -24896,11 +25011,11 @@ function __wbg_get_imports() {
|
|
|
24896
25011
|
const ret = arg0.length;
|
|
24897
25012
|
return ret;
|
|
24898
25013
|
},
|
|
24899
|
-
|
|
25014
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
24900
25015
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24901
25016
|
return ret;
|
|
24902
25017
|
},
|
|
24903
|
-
|
|
25018
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
24904
25019
|
let deferred0_0;
|
|
24905
25020
|
let deferred0_1;
|
|
24906
25021
|
try {
|
|
@@ -24988,7 +25103,7 @@ function __wbg_get_imports() {
|
|
|
24988
25103
|
const a = state0.a;
|
|
24989
25104
|
state0.a = 0;
|
|
24990
25105
|
try {
|
|
24991
|
-
return
|
|
25106
|
+
return wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(a, state0.b, arg0, arg1);
|
|
24992
25107
|
} finally {
|
|
24993
25108
|
state0.a = a;
|
|
24994
25109
|
}
|
|
@@ -25103,7 +25218,7 @@ function __wbg_get_imports() {
|
|
|
25103
25218
|
const ret = NoteTag.__unwrap(arg0);
|
|
25104
25219
|
return ret;
|
|
25105
25220
|
},
|
|
25106
|
-
|
|
25221
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
25107
25222
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25108
25223
|
return ret;
|
|
25109
25224
|
},
|
|
@@ -25134,7 +25249,7 @@ function __wbg_get_imports() {
|
|
|
25134
25249
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25135
25250
|
return ret;
|
|
25136
25251
|
},
|
|
25137
|
-
|
|
25252
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25138
25253
|
let deferred0_0;
|
|
25139
25254
|
let deferred0_1;
|
|
25140
25255
|
let deferred1_0;
|
|
@@ -25151,7 +25266,7 @@ function __wbg_get_imports() {
|
|
|
25151
25266
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25152
25267
|
}
|
|
25153
25268
|
},
|
|
25154
|
-
|
|
25269
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25155
25270
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25156
25271
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25157
25272
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25181,13 +25296,13 @@ function __wbg_get_imports() {
|
|
|
25181
25296
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25182
25297
|
arg0.releaseLock();
|
|
25183
25298
|
},
|
|
25184
|
-
|
|
25299
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
25185
25300
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25186
25301
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25187
25302
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25188
25303
|
return ret;
|
|
25189
25304
|
},
|
|
25190
|
-
|
|
25305
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
25191
25306
|
let deferred0_0;
|
|
25192
25307
|
let deferred0_1;
|
|
25193
25308
|
try {
|
|
@@ -25199,7 +25314,7 @@ function __wbg_get_imports() {
|
|
|
25199
25314
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25200
25315
|
}
|
|
25201
25316
|
},
|
|
25202
|
-
|
|
25317
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
25203
25318
|
let deferred0_0;
|
|
25204
25319
|
let deferred0_1;
|
|
25205
25320
|
try {
|
|
@@ -25211,7 +25326,7 @@ function __wbg_get_imports() {
|
|
|
25211
25326
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25212
25327
|
}
|
|
25213
25328
|
},
|
|
25214
|
-
|
|
25329
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25215
25330
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25216
25331
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25217
25332
|
let v1;
|
|
@@ -25232,7 +25347,7 @@ function __wbg_get_imports() {
|
|
|
25232
25347
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25233
25348
|
return ret;
|
|
25234
25349
|
},
|
|
25235
|
-
|
|
25350
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
25236
25351
|
let deferred0_0;
|
|
25237
25352
|
let deferred0_1;
|
|
25238
25353
|
try {
|
|
@@ -25435,13 +25550,13 @@ function __wbg_get_imports() {
|
|
|
25435
25550
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25436
25551
|
return ret;
|
|
25437
25552
|
},
|
|
25438
|
-
|
|
25553
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
25439
25554
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25440
25555
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25441
25556
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25442
25557
|
return ret;
|
|
25443
25558
|
},
|
|
25444
|
-
|
|
25559
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25445
25560
|
let deferred0_0;
|
|
25446
25561
|
let deferred0_1;
|
|
25447
25562
|
try {
|
|
@@ -25455,7 +25570,7 @@ function __wbg_get_imports() {
|
|
|
25455
25570
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25456
25571
|
}
|
|
25457
25572
|
},
|
|
25458
|
-
|
|
25573
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25459
25574
|
let deferred0_0;
|
|
25460
25575
|
let deferred0_1;
|
|
25461
25576
|
let deferred1_0;
|
|
@@ -25497,7 +25612,7 @@ function __wbg_get_imports() {
|
|
|
25497
25612
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25498
25613
|
}
|
|
25499
25614
|
},
|
|
25500
|
-
|
|
25615
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25501
25616
|
let deferred0_0;
|
|
25502
25617
|
let deferred0_1;
|
|
25503
25618
|
try {
|
|
@@ -25511,7 +25626,7 @@ function __wbg_get_imports() {
|
|
|
25511
25626
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25512
25627
|
}
|
|
25513
25628
|
},
|
|
25514
|
-
|
|
25629
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25515
25630
|
let deferred0_0;
|
|
25516
25631
|
let deferred0_1;
|
|
25517
25632
|
let deferred2_0;
|
|
@@ -25530,7 +25645,7 @@ function __wbg_get_imports() {
|
|
|
25530
25645
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25531
25646
|
}
|
|
25532
25647
|
},
|
|
25533
|
-
|
|
25648
|
+
__wbg_upsertInputNote_e10948a629bcee16: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28) {
|
|
25534
25649
|
let deferred0_0;
|
|
25535
25650
|
let deferred0_1;
|
|
25536
25651
|
let deferred6_0;
|
|
@@ -25579,7 +25694,7 @@ function __wbg_get_imports() {
|
|
|
25579
25694
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25580
25695
|
}
|
|
25581
25696
|
},
|
|
25582
|
-
|
|
25697
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25583
25698
|
let deferred0_0;
|
|
25584
25699
|
let deferred0_1;
|
|
25585
25700
|
try {
|
|
@@ -25593,7 +25708,7 @@ function __wbg_get_imports() {
|
|
|
25593
25708
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25594
25709
|
}
|
|
25595
25710
|
},
|
|
25596
|
-
|
|
25711
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25597
25712
|
let deferred0_0;
|
|
25598
25713
|
let deferred0_1;
|
|
25599
25714
|
let deferred1_0;
|
|
@@ -25628,7 +25743,7 @@ function __wbg_get_imports() {
|
|
|
25628
25743
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25629
25744
|
}
|
|
25630
25745
|
},
|
|
25631
|
-
|
|
25746
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25632
25747
|
let deferred0_0;
|
|
25633
25748
|
let deferred0_1;
|
|
25634
25749
|
try {
|
|
@@ -25642,7 +25757,7 @@ function __wbg_get_imports() {
|
|
|
25642
25757
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25643
25758
|
}
|
|
25644
25759
|
},
|
|
25645
|
-
|
|
25760
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25646
25761
|
let deferred0_0;
|
|
25647
25762
|
let deferred0_1;
|
|
25648
25763
|
try {
|
|
@@ -25663,7 +25778,7 @@ function __wbg_get_imports() {
|
|
|
25663
25778
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25664
25779
|
}
|
|
25665
25780
|
},
|
|
25666
|
-
|
|
25781
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25667
25782
|
let deferred0_0;
|
|
25668
25783
|
let deferred0_1;
|
|
25669
25784
|
try {
|
|
@@ -25694,13 +25809,13 @@ function __wbg_get_imports() {
|
|
|
25694
25809
|
return ret;
|
|
25695
25810
|
},
|
|
25696
25811
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25697
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25698
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25812
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25813
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____);
|
|
25699
25814
|
return ret;
|
|
25700
25815
|
},
|
|
25701
25816
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25702
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25703
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25817
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [], shim_idx: 433, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25818
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______);
|
|
25704
25819
|
return ret;
|
|
25705
25820
|
},
|
|
25706
25821
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -25816,16 +25931,16 @@ function __wbg_get_imports() {
|
|
|
25816
25931
|
};
|
|
25817
25932
|
}
|
|
25818
25933
|
|
|
25819
|
-
function
|
|
25820
|
-
wasm.
|
|
25934
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1) {
|
|
25935
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1);
|
|
25821
25936
|
}
|
|
25822
25937
|
|
|
25823
|
-
function
|
|
25824
|
-
wasm.
|
|
25938
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2) {
|
|
25939
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2);
|
|
25825
25940
|
}
|
|
25826
25941
|
|
|
25827
|
-
function
|
|
25828
|
-
wasm.
|
|
25942
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3) {
|
|
25943
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3);
|
|
25829
25944
|
}
|
|
25830
25945
|
|
|
25831
25946
|
|
|
@@ -26646,4 +26761,4 @@ async function __wbg_init(module_or_path) {
|
|
|
26646
26761
|
|
|
26647
26762
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26648
26763
|
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, NetworkAccountTarget, 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 };
|
|
26649
|
-
//# sourceMappingURL=Cargo-
|
|
26764
|
+
//# sourceMappingURL=Cargo-Cysp4vto.js.map
|