@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);
|
|
@@ -10839,6 +10873,17 @@ class Account {
|
|
|
10839
10873
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
10840
10874
|
return ret !== 0;
|
|
10841
10875
|
}
|
|
10876
|
+
/**
|
|
10877
|
+
* Returns true if this is a network account.
|
|
10878
|
+
*
|
|
10879
|
+
* A network account is a public account whose storage
|
|
10880
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
10881
|
+
* @returns {boolean}
|
|
10882
|
+
*/
|
|
10883
|
+
isNetworkAccount() {
|
|
10884
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
10885
|
+
return ret !== 0;
|
|
10886
|
+
}
|
|
10842
10887
|
/**
|
|
10843
10888
|
* Returns true if the account has not yet been committed to the chain.
|
|
10844
10889
|
* @returns {boolean}
|
|
@@ -10871,6 +10916,20 @@ class Account {
|
|
|
10871
10916
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
10872
10917
|
return ret !== 0;
|
|
10873
10918
|
}
|
|
10919
|
+
/**
|
|
10920
|
+
* Returns the note-script roots this network account is allowed to
|
|
10921
|
+
* consume, or `undefined` if this is not a network account.
|
|
10922
|
+
* @returns {Word[] | undefined}
|
|
10923
|
+
*/
|
|
10924
|
+
networkNoteAllowlist() {
|
|
10925
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
10926
|
+
let v1;
|
|
10927
|
+
if (ret[0] !== 0) {
|
|
10928
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
10929
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
10930
|
+
}
|
|
10931
|
+
return v1;
|
|
10932
|
+
}
|
|
10874
10933
|
/**
|
|
10875
10934
|
* Returns the account nonce, which is incremented on every state update.
|
|
10876
10935
|
* @returns {Felt}
|
|
@@ -11250,6 +11309,42 @@ class AccountComponent {
|
|
|
11250
11309
|
}
|
|
11251
11310
|
return AccountComponent.__wrap(ret[0]);
|
|
11252
11311
|
}
|
|
11312
|
+
/**
|
|
11313
|
+
* Builds the auth component for a network account.
|
|
11314
|
+
*
|
|
11315
|
+
* A network account is a public account carrying this component: its
|
|
11316
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11317
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11318
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11319
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11320
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11321
|
+
*
|
|
11322
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11323
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11324
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11325
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11326
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11327
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11328
|
+
* (arbitrary) transaction submitter controls.
|
|
11329
|
+
*
|
|
11330
|
+
* # Errors
|
|
11331
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11332
|
+
* allowlisted note scripts could never consume a note.
|
|
11333
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11334
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11335
|
+
* @returns {AccountComponent}
|
|
11336
|
+
*/
|
|
11337
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11338
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11339
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11340
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11341
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11342
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11343
|
+
if (ret[2]) {
|
|
11344
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11345
|
+
}
|
|
11346
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11347
|
+
}
|
|
11253
11348
|
/**
|
|
11254
11349
|
* Creates an account component from a compiled library and storage slots.
|
|
11255
11350
|
* @param {Library} library
|
|
@@ -13438,7 +13533,7 @@ class CodeBuilder {
|
|
|
13438
13533
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13439
13534
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13440
13535
|
* this can be used from another script with an import statement, following the
|
|
13441
|
-
* previous example: `use miden::my_contract
|
|
13536
|
+
* previous example: `use miden::my_contract`.
|
|
13442
13537
|
* @param {string} library_path
|
|
13443
13538
|
* @param {string} source_code
|
|
13444
13539
|
* @returns {Library}
|
|
@@ -14995,6 +15090,16 @@ class InputNoteRecord {
|
|
|
14995
15090
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
14996
15091
|
return ret !== 0;
|
|
14997
15092
|
}
|
|
15093
|
+
/**
|
|
15094
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
15095
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
15096
|
+
* advance this record.
|
|
15097
|
+
* @returns {boolean}
|
|
15098
|
+
*/
|
|
15099
|
+
isInclusionPending() {
|
|
15100
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15101
|
+
return ret !== 0;
|
|
15102
|
+
}
|
|
14998
15103
|
/**
|
|
14999
15104
|
* Returns true if the note is currently being processed.
|
|
15000
15105
|
* @returns {boolean}
|
|
@@ -19006,6 +19111,16 @@ class OutputNoteRecord {
|
|
|
19006
19111
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
19007
19112
|
return ret !== 0;
|
|
19008
19113
|
}
|
|
19114
|
+
/**
|
|
19115
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19116
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19117
|
+
* that can advance this record.
|
|
19118
|
+
* @returns {boolean}
|
|
19119
|
+
*/
|
|
19120
|
+
isInclusionPending() {
|
|
19121
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19122
|
+
return ret !== 0;
|
|
19123
|
+
}
|
|
19009
19124
|
/**
|
|
19010
19125
|
* Returns the note metadata.
|
|
19011
19126
|
* @returns {NoteMetadata}
|
|
@@ -24364,7 +24479,7 @@ function __wbg_get_imports(memory) {
|
|
|
24364
24479
|
const ret = AccountStorage.__wrap(arg0);
|
|
24365
24480
|
return ret;
|
|
24366
24481
|
},
|
|
24367
|
-
|
|
24482
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24368
24483
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24369
24484
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24370
24485
|
let v1;
|
|
@@ -24392,25 +24507,25 @@ function __wbg_get_imports(memory) {
|
|
|
24392
24507
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24393
24508
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24394
24509
|
}, arguments); },
|
|
24395
|
-
|
|
24510
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
24396
24511
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24397
24512
|
return ret;
|
|
24398
24513
|
},
|
|
24399
|
-
|
|
24514
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
24400
24515
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24401
24516
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24402
24517
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24403
24518
|
return ret;
|
|
24404
24519
|
},
|
|
24405
|
-
|
|
24520
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
24406
24521
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24407
24522
|
return ret;
|
|
24408
24523
|
},
|
|
24409
|
-
|
|
24524
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
24410
24525
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24411
24526
|
return ret;
|
|
24412
24527
|
},
|
|
24413
|
-
|
|
24528
|
+
__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) {
|
|
24414
24529
|
let deferred0_0;
|
|
24415
24530
|
let deferred0_1;
|
|
24416
24531
|
let deferred1_0;
|
|
@@ -24561,7 +24676,7 @@ function __wbg_get_imports(memory) {
|
|
|
24561
24676
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24562
24677
|
}
|
|
24563
24678
|
},
|
|
24564
|
-
|
|
24679
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
24565
24680
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24566
24681
|
return ret;
|
|
24567
24682
|
},
|
|
@@ -24593,7 +24708,7 @@ function __wbg_get_imports(memory) {
|
|
|
24593
24708
|
const ret = FetchedNote.__wrap(arg0);
|
|
24594
24709
|
return ret;
|
|
24595
24710
|
},
|
|
24596
|
-
|
|
24711
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
24597
24712
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24598
24713
|
return ret;
|
|
24599
24714
|
},
|
|
@@ -24617,7 +24732,7 @@ function __wbg_get_imports(memory) {
|
|
|
24617
24732
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24618
24733
|
return ret;
|
|
24619
24734
|
},
|
|
24620
|
-
|
|
24735
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
24621
24736
|
let deferred0_0;
|
|
24622
24737
|
let deferred0_1;
|
|
24623
24738
|
try {
|
|
@@ -24629,7 +24744,7 @@ function __wbg_get_imports(memory) {
|
|
|
24629
24744
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24630
24745
|
}
|
|
24631
24746
|
},
|
|
24632
|
-
|
|
24747
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
24633
24748
|
let deferred0_0;
|
|
24634
24749
|
let deferred0_1;
|
|
24635
24750
|
try {
|
|
@@ -24641,7 +24756,7 @@ function __wbg_get_imports(memory) {
|
|
|
24641
24756
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24642
24757
|
}
|
|
24643
24758
|
},
|
|
24644
|
-
|
|
24759
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
24645
24760
|
let deferred0_0;
|
|
24646
24761
|
let deferred0_1;
|
|
24647
24762
|
try {
|
|
@@ -24653,7 +24768,7 @@ function __wbg_get_imports(memory) {
|
|
|
24653
24768
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24654
24769
|
}
|
|
24655
24770
|
},
|
|
24656
|
-
|
|
24771
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
24657
24772
|
let deferred0_0;
|
|
24658
24773
|
let deferred0_1;
|
|
24659
24774
|
try {
|
|
@@ -24665,7 +24780,7 @@ function __wbg_get_imports(memory) {
|
|
|
24665
24780
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24666
24781
|
}
|
|
24667
24782
|
},
|
|
24668
|
-
|
|
24783
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
24669
24784
|
let deferred0_0;
|
|
24670
24785
|
let deferred0_1;
|
|
24671
24786
|
try {
|
|
@@ -24677,7 +24792,7 @@ function __wbg_get_imports(memory) {
|
|
|
24677
24792
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24678
24793
|
}
|
|
24679
24794
|
},
|
|
24680
|
-
|
|
24795
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
24681
24796
|
let deferred0_0;
|
|
24682
24797
|
let deferred0_1;
|
|
24683
24798
|
try {
|
|
@@ -24689,11 +24804,11 @@ function __wbg_get_imports(memory) {
|
|
|
24689
24804
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24690
24805
|
}
|
|
24691
24806
|
},
|
|
24692
|
-
|
|
24807
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
24693
24808
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24694
24809
|
return ret;
|
|
24695
24810
|
},
|
|
24696
|
-
|
|
24811
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
24697
24812
|
let deferred0_0;
|
|
24698
24813
|
let deferred0_1;
|
|
24699
24814
|
try {
|
|
@@ -24705,7 +24820,7 @@ function __wbg_get_imports(memory) {
|
|
|
24705
24820
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24706
24821
|
}
|
|
24707
24822
|
},
|
|
24708
|
-
|
|
24823
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24709
24824
|
let deferred0_0;
|
|
24710
24825
|
let deferred0_1;
|
|
24711
24826
|
try {
|
|
@@ -24719,7 +24834,7 @@ function __wbg_get_imports(memory) {
|
|
|
24719
24834
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24720
24835
|
}
|
|
24721
24836
|
},
|
|
24722
|
-
|
|
24837
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24723
24838
|
let deferred0_0;
|
|
24724
24839
|
let deferred0_1;
|
|
24725
24840
|
try {
|
|
@@ -24733,27 +24848,27 @@ function __wbg_get_imports(memory) {
|
|
|
24733
24848
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24734
24849
|
}
|
|
24735
24850
|
},
|
|
24736
|
-
|
|
24851
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
24737
24852
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24738
24853
|
return ret;
|
|
24739
24854
|
},
|
|
24740
|
-
|
|
24855
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
24741
24856
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24742
24857
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24743
24858
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24744
24859
|
return ret;
|
|
24745
24860
|
},
|
|
24746
|
-
|
|
24861
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
24747
24862
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24748
24863
|
return ret;
|
|
24749
24864
|
},
|
|
24750
|
-
|
|
24865
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
24751
24866
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24752
24867
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24753
24868
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24754
24869
|
return ret;
|
|
24755
24870
|
},
|
|
24756
|
-
|
|
24871
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24757
24872
|
let deferred1_0;
|
|
24758
24873
|
let deferred1_1;
|
|
24759
24874
|
try {
|
|
@@ -24767,31 +24882,31 @@ function __wbg_get_imports(memory) {
|
|
|
24767
24882
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24768
24883
|
}
|
|
24769
24884
|
},
|
|
24770
|
-
|
|
24885
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
24771
24886
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24772
24887
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24773
24888
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24774
24889
|
return ret;
|
|
24775
24890
|
},
|
|
24776
|
-
|
|
24891
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
24777
24892
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24778
24893
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24779
24894
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24780
24895
|
return ret;
|
|
24781
24896
|
},
|
|
24782
|
-
|
|
24897
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
24783
24898
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24784
24899
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24785
24900
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24786
24901
|
return ret;
|
|
24787
24902
|
},
|
|
24788
|
-
|
|
24903
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
|
|
24789
24904
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24790
24905
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24791
24906
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24792
24907
|
return ret;
|
|
24793
24908
|
},
|
|
24794
|
-
|
|
24909
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
|
|
24795
24910
|
let deferred0_0;
|
|
24796
24911
|
let deferred0_1;
|
|
24797
24912
|
try {
|
|
@@ -24803,7 +24918,7 @@ function __wbg_get_imports(memory) {
|
|
|
24803
24918
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24804
24919
|
}
|
|
24805
24920
|
},
|
|
24806
|
-
|
|
24921
|
+
__wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
24807
24922
|
let deferred0_0;
|
|
24808
24923
|
let deferred0_1;
|
|
24809
24924
|
try {
|
|
@@ -24815,39 +24930,39 @@ function __wbg_get_imports(memory) {
|
|
|
24815
24930
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24816
24931
|
}
|
|
24817
24932
|
},
|
|
24818
|
-
|
|
24933
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
24819
24934
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24820
24935
|
return ret;
|
|
24821
24936
|
},
|
|
24822
|
-
|
|
24937
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
24823
24938
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24824
24939
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24825
24940
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24826
24941
|
return ret;
|
|
24827
24942
|
},
|
|
24828
|
-
|
|
24943
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
24829
24944
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24830
24945
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24831
24946
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24832
24947
|
return ret;
|
|
24833
24948
|
},
|
|
24834
|
-
|
|
24949
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
24835
24950
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24836
24951
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24837
24952
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24838
24953
|
return ret;
|
|
24839
24954
|
},
|
|
24840
|
-
|
|
24955
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
24841
24956
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24842
24957
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24843
24958
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24844
24959
|
return ret;
|
|
24845
24960
|
},
|
|
24846
|
-
|
|
24961
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
24847
24962
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24848
24963
|
return ret;
|
|
24849
24964
|
},
|
|
24850
|
-
|
|
24965
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
24851
24966
|
let deferred0_0;
|
|
24852
24967
|
let deferred0_1;
|
|
24853
24968
|
try {
|
|
@@ -24859,7 +24974,7 @@ function __wbg_get_imports(memory) {
|
|
|
24859
24974
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24860
24975
|
}
|
|
24861
24976
|
},
|
|
24862
|
-
|
|
24977
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
24863
24978
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24864
24979
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24865
24980
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24872,7 +24987,7 @@ function __wbg_get_imports(memory) {
|
|
|
24872
24987
|
const ret = arg0.getReader();
|
|
24873
24988
|
return ret;
|
|
24874
24989
|
}, arguments); },
|
|
24875
|
-
|
|
24990
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
24876
24991
|
let deferred0_0;
|
|
24877
24992
|
let deferred0_1;
|
|
24878
24993
|
try {
|
|
@@ -24884,7 +24999,7 @@ function __wbg_get_imports(memory) {
|
|
|
24884
24999
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24885
25000
|
}
|
|
24886
25001
|
},
|
|
24887
|
-
|
|
25002
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
24888
25003
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24889
25004
|
return ret;
|
|
24890
25005
|
},
|
|
@@ -24892,15 +25007,15 @@ function __wbg_get_imports(memory) {
|
|
|
24892
25007
|
const ret = arg0.getTime();
|
|
24893
25008
|
return ret;
|
|
24894
25009
|
},
|
|
24895
|
-
|
|
25010
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
24896
25011
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24897
25012
|
return ret;
|
|
24898
25013
|
},
|
|
24899
|
-
|
|
25014
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
24900
25015
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24901
25016
|
return ret;
|
|
24902
25017
|
},
|
|
24903
|
-
|
|
25018
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
24904
25019
|
let deferred0_0;
|
|
24905
25020
|
let deferred0_1;
|
|
24906
25021
|
try {
|
|
@@ -24912,7 +25027,7 @@ function __wbg_get_imports(memory) {
|
|
|
24912
25027
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24913
25028
|
}
|
|
24914
25029
|
},
|
|
24915
|
-
|
|
25030
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
24916
25031
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24917
25032
|
return ret;
|
|
24918
25033
|
},
|
|
@@ -24956,7 +25071,7 @@ function __wbg_get_imports(memory) {
|
|
|
24956
25071
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24957
25072
|
return ret;
|
|
24958
25073
|
},
|
|
24959
|
-
|
|
25074
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24960
25075
|
let deferred0_0;
|
|
24961
25076
|
let deferred0_1;
|
|
24962
25077
|
try {
|
|
@@ -24970,7 +25085,7 @@ function __wbg_get_imports(memory) {
|
|
|
24970
25085
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24971
25086
|
}
|
|
24972
25087
|
},
|
|
24973
|
-
|
|
25088
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24974
25089
|
let deferred0_0;
|
|
24975
25090
|
let deferred0_1;
|
|
24976
25091
|
let deferred1_0;
|
|
@@ -24987,7 +25102,7 @@ function __wbg_get_imports(memory) {
|
|
|
24987
25102
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24988
25103
|
}
|
|
24989
25104
|
},
|
|
24990
|
-
|
|
25105
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24991
25106
|
let deferred0_0;
|
|
24992
25107
|
let deferred0_1;
|
|
24993
25108
|
let deferred1_0;
|
|
@@ -25004,13 +25119,13 @@ function __wbg_get_imports(memory) {
|
|
|
25004
25119
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25005
25120
|
}
|
|
25006
25121
|
},
|
|
25007
|
-
|
|
25122
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25008
25123
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
25009
25124
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
25010
25125
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
25011
25126
|
return ret;
|
|
25012
25127
|
},
|
|
25013
|
-
|
|
25128
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25014
25129
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25015
25130
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25016
25131
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25018,7 +25133,7 @@ function __wbg_get_imports(memory) {
|
|
|
25018
25133
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25019
25134
|
return ret;
|
|
25020
25135
|
},
|
|
25021
|
-
|
|
25136
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25022
25137
|
let deferred0_0;
|
|
25023
25138
|
let deferred0_1;
|
|
25024
25139
|
try {
|
|
@@ -25032,7 +25147,7 @@ function __wbg_get_imports(memory) {
|
|
|
25032
25147
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25033
25148
|
}
|
|
25034
25149
|
},
|
|
25035
|
-
|
|
25150
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25036
25151
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25037
25152
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25038
25153
|
let v1;
|
|
@@ -25139,11 +25254,11 @@ function __wbg_get_imports(memory) {
|
|
|
25139
25254
|
const ret = arg0.length;
|
|
25140
25255
|
return ret;
|
|
25141
25256
|
},
|
|
25142
|
-
|
|
25257
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
25143
25258
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25144
25259
|
return ret;
|
|
25145
25260
|
},
|
|
25146
|
-
|
|
25261
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
25147
25262
|
let deferred0_0;
|
|
25148
25263
|
let deferred0_1;
|
|
25149
25264
|
try {
|
|
@@ -25362,7 +25477,7 @@ function __wbg_get_imports(memory) {
|
|
|
25362
25477
|
const ret = Array.of(arg0, arg1, arg2);
|
|
25363
25478
|
return ret;
|
|
25364
25479
|
},
|
|
25365
|
-
|
|
25480
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
25366
25481
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25367
25482
|
return ret;
|
|
25368
25483
|
},
|
|
@@ -25396,7 +25511,7 @@ function __wbg_get_imports(memory) {
|
|
|
25396
25511
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25397
25512
|
return ret;
|
|
25398
25513
|
},
|
|
25399
|
-
|
|
25514
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25400
25515
|
let deferred0_0;
|
|
25401
25516
|
let deferred0_1;
|
|
25402
25517
|
let deferred1_0;
|
|
@@ -25413,7 +25528,7 @@ function __wbg_get_imports(memory) {
|
|
|
25413
25528
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25414
25529
|
}
|
|
25415
25530
|
},
|
|
25416
|
-
|
|
25531
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25417
25532
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25418
25533
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25419
25534
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25443,13 +25558,13 @@ function __wbg_get_imports(memory) {
|
|
|
25443
25558
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25444
25559
|
arg0.releaseLock();
|
|
25445
25560
|
},
|
|
25446
|
-
|
|
25561
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
25447
25562
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25448
25563
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25449
25564
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25450
25565
|
return ret;
|
|
25451
25566
|
},
|
|
25452
|
-
|
|
25567
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
25453
25568
|
let deferred0_0;
|
|
25454
25569
|
let deferred0_1;
|
|
25455
25570
|
try {
|
|
@@ -25461,7 +25576,7 @@ function __wbg_get_imports(memory) {
|
|
|
25461
25576
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25462
25577
|
}
|
|
25463
25578
|
},
|
|
25464
|
-
|
|
25579
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
25465
25580
|
let deferred0_0;
|
|
25466
25581
|
let deferred0_1;
|
|
25467
25582
|
try {
|
|
@@ -25473,7 +25588,7 @@ function __wbg_get_imports(memory) {
|
|
|
25473
25588
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25474
25589
|
}
|
|
25475
25590
|
},
|
|
25476
|
-
|
|
25591
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25477
25592
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25478
25593
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25479
25594
|
let v1;
|
|
@@ -25494,7 +25609,7 @@ function __wbg_get_imports(memory) {
|
|
|
25494
25609
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25495
25610
|
return ret;
|
|
25496
25611
|
},
|
|
25497
|
-
|
|
25612
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
25498
25613
|
let deferred0_0;
|
|
25499
25614
|
let deferred0_1;
|
|
25500
25615
|
try {
|
|
@@ -25704,13 +25819,13 @@ function __wbg_get_imports(memory) {
|
|
|
25704
25819
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25705
25820
|
return ret;
|
|
25706
25821
|
},
|
|
25707
|
-
|
|
25822
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
25708
25823
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25709
25824
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25710
25825
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25711
25826
|
return ret;
|
|
25712
25827
|
},
|
|
25713
|
-
|
|
25828
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25714
25829
|
let deferred0_0;
|
|
25715
25830
|
let deferred0_1;
|
|
25716
25831
|
try {
|
|
@@ -25724,7 +25839,7 @@ function __wbg_get_imports(memory) {
|
|
|
25724
25839
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25725
25840
|
}
|
|
25726
25841
|
},
|
|
25727
|
-
|
|
25842
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25728
25843
|
let deferred0_0;
|
|
25729
25844
|
let deferred0_1;
|
|
25730
25845
|
let deferred1_0;
|
|
@@ -25766,7 +25881,7 @@ function __wbg_get_imports(memory) {
|
|
|
25766
25881
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25767
25882
|
}
|
|
25768
25883
|
},
|
|
25769
|
-
|
|
25884
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25770
25885
|
let deferred0_0;
|
|
25771
25886
|
let deferred0_1;
|
|
25772
25887
|
try {
|
|
@@ -25780,7 +25895,7 @@ function __wbg_get_imports(memory) {
|
|
|
25780
25895
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25781
25896
|
}
|
|
25782
25897
|
},
|
|
25783
|
-
|
|
25898
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25784
25899
|
let deferred0_0;
|
|
25785
25900
|
let deferred0_1;
|
|
25786
25901
|
let deferred2_0;
|
|
@@ -25799,7 +25914,7 @@ function __wbg_get_imports(memory) {
|
|
|
25799
25914
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25800
25915
|
}
|
|
25801
25916
|
},
|
|
25802
|
-
|
|
25917
|
+
__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) {
|
|
25803
25918
|
let deferred0_0;
|
|
25804
25919
|
let deferred0_1;
|
|
25805
25920
|
let deferred6_0;
|
|
@@ -25848,7 +25963,7 @@ function __wbg_get_imports(memory) {
|
|
|
25848
25963
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25849
25964
|
}
|
|
25850
25965
|
},
|
|
25851
|
-
|
|
25966
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25852
25967
|
let deferred0_0;
|
|
25853
25968
|
let deferred0_1;
|
|
25854
25969
|
try {
|
|
@@ -25862,7 +25977,7 @@ function __wbg_get_imports(memory) {
|
|
|
25862
25977
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25863
25978
|
}
|
|
25864
25979
|
},
|
|
25865
|
-
|
|
25980
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25866
25981
|
let deferred0_0;
|
|
25867
25982
|
let deferred0_1;
|
|
25868
25983
|
let deferred1_0;
|
|
@@ -25897,7 +26012,7 @@ function __wbg_get_imports(memory) {
|
|
|
25897
26012
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25898
26013
|
}
|
|
25899
26014
|
},
|
|
25900
|
-
|
|
26015
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25901
26016
|
let deferred0_0;
|
|
25902
26017
|
let deferred0_1;
|
|
25903
26018
|
try {
|
|
@@ -25911,7 +26026,7 @@ function __wbg_get_imports(memory) {
|
|
|
25911
26026
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25912
26027
|
}
|
|
25913
26028
|
},
|
|
25914
|
-
|
|
26029
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25915
26030
|
let deferred0_0;
|
|
25916
26031
|
let deferred0_1;
|
|
25917
26032
|
try {
|
|
@@ -25932,7 +26047,7 @@ function __wbg_get_imports(memory) {
|
|
|
25932
26047
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25933
26048
|
}
|
|
25934
26049
|
},
|
|
25935
|
-
|
|
26050
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25936
26051
|
let deferred0_0;
|
|
25937
26052
|
let deferred0_1;
|
|
25938
26053
|
try {
|
|
@@ -25975,17 +26090,17 @@ function __wbg_get_imports(memory) {
|
|
|
25975
26090
|
return ret;
|
|
25976
26091
|
},
|
|
25977
26092
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25978
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26093
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [Externref], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25979
26094
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25980
26095
|
return ret;
|
|
25981
26096
|
},
|
|
25982
26097
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25983
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26098
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25984
26099
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25985
26100
|
return ret;
|
|
25986
26101
|
},
|
|
25987
26102
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
25988
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26103
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25989
26104
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
|
|
25990
26105
|
return ret;
|
|
25991
26106
|
},
|
|
@@ -27123,4 +27238,4 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
27123
27238
|
|
|
27124
27239
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
27125
27240
|
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, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
|
|
27126
|
-
//# sourceMappingURL=Cargo-
|
|
27241
|
+
//# sourceMappingURL=Cargo-mvyTli7g.js.map
|