@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
async function loadWasm() {
|
|
6
6
|
let wasmModule;
|
|
7
7
|
if (!undefined || (undefined && !undefined.SSR)) {
|
|
8
|
-
wasmModule = await Promise.resolve().then(function () { return
|
|
8
|
+
wasmModule = await Promise.resolve().then(function () { return CargoMvyTli7g; });
|
|
9
9
|
// The Cargo glue's __wbg_init TLA is stripped by the rollup build to
|
|
10
10
|
// prevent blocking WKWebView module evaluation. Call it explicitly here
|
|
11
11
|
// with the WASM URL that the Cargo glue pre-resolves (relative to its
|
|
@@ -8893,7 +8893,9 @@ function indexes(...items) {
|
|
|
8893
8893
|
return items.join(",");
|
|
8894
8894
|
}
|
|
8895
8895
|
/** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
|
|
8896
|
-
* never be modified — all schema changes should go through new version blocks instead.
|
|
8896
|
+
* never be modified — all schema changes should go through new version blocks instead.
|
|
8897
|
+
* Exported for migration tests, which seed a physical v1 database before opening it with the
|
|
8898
|
+
* current version chain. */
|
|
8897
8899
|
const V1_STORES = {
|
|
8898
8900
|
[Table.AccountCode]: indexes("root"),
|
|
8899
8901
|
[Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
|
|
@@ -8948,11 +8950,12 @@ class MidenDatabase {
|
|
|
8948
8950
|
this.dexie = new Dexie(network);
|
|
8949
8951
|
// --- Schema versioning ---
|
|
8950
8952
|
//
|
|
8951
|
-
// NOTE:
|
|
8952
|
-
//
|
|
8953
|
-
//
|
|
8954
|
-
//
|
|
8955
|
-
// be
|
|
8953
|
+
// NOTE: Migrations coexist with the client-version nuke: the database is
|
|
8954
|
+
// still nuked on major/minor client-version changes (network resets — see
|
|
8955
|
+
// ensureClientVersion), while Dexie version blocks below handle schema and
|
|
8956
|
+
// data fixes for stores that survive patch upgrades. Once the network
|
|
8957
|
+
// stabilizes and data can be preserved across all upgrades, the
|
|
8958
|
+
// version-change nuke will be removed and migrations alone will take over.
|
|
8956
8959
|
//
|
|
8957
8960
|
// v1 is the baseline schema. To add a migration:
|
|
8958
8961
|
// 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
|
|
@@ -8984,12 +8987,43 @@ class MidenDatabase {
|
|
|
8984
8987
|
// Note: The `populate` hook (below the version blocks) only fires on
|
|
8985
8988
|
// first database creation, NOT during upgrades.
|
|
8986
8989
|
//
|
|
8987
|
-
//
|
|
8988
|
-
//
|
|
8989
|
-
//
|
|
8990
|
-
//
|
|
8991
|
-
// 3. Add version(2+) blocks below for all schema changes going forward.
|
|
8990
|
+
// Version blocks exist below, so V1_STORES is frozen — never modify it;
|
|
8991
|
+
// add a new version block instead. To retire the nuke entirely (once data
|
|
8992
|
+
// must survive major/minor upgrades), remove the close/delete/open logic
|
|
8993
|
+
// in ensureClientVersion and just persist the new version there.
|
|
8992
8994
|
this.dexie.version(1).stores(V1_STORES);
|
|
8995
|
+
// v2 (miden-client 0.15.4): prune note tags leaked by output-note
|
|
8996
|
+
// registration. Mirrors sqlite-store migration
|
|
8997
|
+
// `0002_prune_output_note_tags.sql`. Clients built against miden-client
|
|
8998
|
+
// < 0.15.4 registered a `Note`-sourced tag for every output note a
|
|
8999
|
+
// transaction created, but sync cleanup only removes tags of committed
|
|
9000
|
+
// *input* notes — leaking one `tags` row per created note. The client no
|
|
9001
|
+
// longer registers those tags; this upgrade deletes the rows already
|
|
9002
|
+
// leaked. A tag is kept while an inclusion-pending input note
|
|
9003
|
+
// (Expected = 0, Unverified = 1 — the mirror of
|
|
9004
|
+
// `InputNoteRecord::is_inclusion_pending`) still needs it.
|
|
9005
|
+
//
|
|
9006
|
+
// This data-only fix coexists with the version-change nuke above: the
|
|
9007
|
+
// nuke covers major/minor client upgrades (network resets), while this
|
|
9008
|
+
// upgrade runs for stores preserved across patch upgrades.
|
|
9009
|
+
this.dexie
|
|
9010
|
+
.version(2)
|
|
9011
|
+
.stores({})
|
|
9012
|
+
.upgrade(async (tx) => {
|
|
9013
|
+
const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
|
|
9014
|
+
if (outputNoteCommitments.size === 0) {
|
|
9015
|
+
return;
|
|
9016
|
+
}
|
|
9017
|
+
const pendingInputNoteCommitments = new Set(await tx.inputNotes
|
|
9018
|
+
.where("stateDiscriminant")
|
|
9019
|
+
.anyOf([0, 1])
|
|
9020
|
+
.primaryKeys());
|
|
9021
|
+
await tx.tags
|
|
9022
|
+
.filter((tag) => !!tag.sourceNoteId &&
|
|
9023
|
+
outputNoteCommitments.has(tag.sourceNoteId) &&
|
|
9024
|
+
!pendingInputNoteCommitments.has(tag.sourceNoteId))
|
|
9025
|
+
.delete();
|
|
9026
|
+
});
|
|
8993
9027
|
this.accountCodes = this.dexie.table(Table.AccountCode);
|
|
8994
9028
|
this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
|
|
8995
9029
|
this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
|
|
@@ -11468,6 +11502,17 @@ class Account {
|
|
|
11468
11502
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
11469
11503
|
return ret !== 0;
|
|
11470
11504
|
}
|
|
11505
|
+
/**
|
|
11506
|
+
* Returns true if this is a network account.
|
|
11507
|
+
*
|
|
11508
|
+
* A network account is a public account whose storage
|
|
11509
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
11510
|
+
* @returns {boolean}
|
|
11511
|
+
*/
|
|
11512
|
+
isNetworkAccount() {
|
|
11513
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
11514
|
+
return ret !== 0;
|
|
11515
|
+
}
|
|
11471
11516
|
/**
|
|
11472
11517
|
* Returns true if the account has not yet been committed to the chain.
|
|
11473
11518
|
* @returns {boolean}
|
|
@@ -11500,6 +11545,20 @@ class Account {
|
|
|
11500
11545
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
11501
11546
|
return ret !== 0;
|
|
11502
11547
|
}
|
|
11548
|
+
/**
|
|
11549
|
+
* Returns the note-script roots this network account is allowed to
|
|
11550
|
+
* consume, or `undefined` if this is not a network account.
|
|
11551
|
+
* @returns {Word[] | undefined}
|
|
11552
|
+
*/
|
|
11553
|
+
networkNoteAllowlist() {
|
|
11554
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
11555
|
+
let v1;
|
|
11556
|
+
if (ret[0] !== 0) {
|
|
11557
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
11558
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
11559
|
+
}
|
|
11560
|
+
return v1;
|
|
11561
|
+
}
|
|
11503
11562
|
/**
|
|
11504
11563
|
* Returns the account nonce, which is incremented on every state update.
|
|
11505
11564
|
* @returns {Felt}
|
|
@@ -11879,6 +11938,42 @@ class AccountComponent {
|
|
|
11879
11938
|
}
|
|
11880
11939
|
return AccountComponent.__wrap(ret[0]);
|
|
11881
11940
|
}
|
|
11941
|
+
/**
|
|
11942
|
+
* Builds the auth component for a network account.
|
|
11943
|
+
*
|
|
11944
|
+
* A network account is a public account carrying this component: its
|
|
11945
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11946
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11947
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11948
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11949
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11950
|
+
*
|
|
11951
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11952
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11953
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11954
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11955
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11956
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11957
|
+
* (arbitrary) transaction submitter controls.
|
|
11958
|
+
*
|
|
11959
|
+
* # Errors
|
|
11960
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11961
|
+
* allowlisted note scripts could never consume a note.
|
|
11962
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11963
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11964
|
+
* @returns {AccountComponent}
|
|
11965
|
+
*/
|
|
11966
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11967
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11968
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11969
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11970
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11971
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11972
|
+
if (ret[2]) {
|
|
11973
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11974
|
+
}
|
|
11975
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11976
|
+
}
|
|
11882
11977
|
/**
|
|
11883
11978
|
* Creates an account component from a compiled library and storage slots.
|
|
11884
11979
|
* @param {Library} library
|
|
@@ -14067,7 +14162,7 @@ class CodeBuilder {
|
|
|
14067
14162
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
14068
14163
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
14069
14164
|
* this can be used from another script with an import statement, following the
|
|
14070
|
-
* previous example: `use miden::my_contract
|
|
14165
|
+
* previous example: `use miden::my_contract`.
|
|
14071
14166
|
* @param {string} library_path
|
|
14072
14167
|
* @param {string} source_code
|
|
14073
14168
|
* @returns {Library}
|
|
@@ -15624,6 +15719,16 @@ class InputNoteRecord {
|
|
|
15624
15719
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
15625
15720
|
return ret !== 0;
|
|
15626
15721
|
}
|
|
15722
|
+
/**
|
|
15723
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
15724
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
15725
|
+
* advance this record.
|
|
15726
|
+
* @returns {boolean}
|
|
15727
|
+
*/
|
|
15728
|
+
isInclusionPending() {
|
|
15729
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15730
|
+
return ret !== 0;
|
|
15731
|
+
}
|
|
15627
15732
|
/**
|
|
15628
15733
|
* Returns true if the note is currently being processed.
|
|
15629
15734
|
* @returns {boolean}
|
|
@@ -19635,6 +19740,16 @@ class OutputNoteRecord {
|
|
|
19635
19740
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
19636
19741
|
return ret !== 0;
|
|
19637
19742
|
}
|
|
19743
|
+
/**
|
|
19744
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19745
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19746
|
+
* that can advance this record.
|
|
19747
|
+
* @returns {boolean}
|
|
19748
|
+
*/
|
|
19749
|
+
isInclusionPending() {
|
|
19750
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19751
|
+
return ret !== 0;
|
|
19752
|
+
}
|
|
19638
19753
|
/**
|
|
19639
19754
|
* Returns the note metadata.
|
|
19640
19755
|
* @returns {NoteMetadata}
|
|
@@ -24993,7 +25108,7 @@ function __wbg_get_imports(memory) {
|
|
|
24993
25108
|
const ret = AccountStorage.__wrap(arg0);
|
|
24994
25109
|
return ret;
|
|
24995
25110
|
},
|
|
24996
|
-
|
|
25111
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24997
25112
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24998
25113
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24999
25114
|
let v1;
|
|
@@ -25021,25 +25136,25 @@ function __wbg_get_imports(memory) {
|
|
|
25021
25136
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
25022
25137
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
25023
25138
|
}, arguments); },
|
|
25024
|
-
|
|
25139
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
25025
25140
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
25026
25141
|
return ret;
|
|
25027
25142
|
},
|
|
25028
|
-
|
|
25143
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
25029
25144
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25030
25145
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25031
25146
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
25032
25147
|
return ret;
|
|
25033
25148
|
},
|
|
25034
|
-
|
|
25149
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
25035
25150
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
25036
25151
|
return ret;
|
|
25037
25152
|
},
|
|
25038
|
-
|
|
25153
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
25039
25154
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
25040
25155
|
return ret;
|
|
25041
25156
|
},
|
|
25042
|
-
|
|
25157
|
+
__wbg_applyTransactionDelta_93fac37bf6e15192: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
25043
25158
|
let deferred0_0;
|
|
25044
25159
|
let deferred0_1;
|
|
25045
25160
|
let deferred1_0;
|
|
@@ -25190,7 +25305,7 @@ function __wbg_get_imports(memory) {
|
|
|
25190
25305
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25191
25306
|
}
|
|
25192
25307
|
},
|
|
25193
|
-
|
|
25308
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
25194
25309
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
25195
25310
|
return ret;
|
|
25196
25311
|
},
|
|
@@ -25222,7 +25337,7 @@ function __wbg_get_imports(memory) {
|
|
|
25222
25337
|
const ret = FetchedNote.__wrap(arg0);
|
|
25223
25338
|
return ret;
|
|
25224
25339
|
},
|
|
25225
|
-
|
|
25340
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
25226
25341
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
25227
25342
|
return ret;
|
|
25228
25343
|
},
|
|
@@ -25246,7 +25361,7 @@ function __wbg_get_imports(memory) {
|
|
|
25246
25361
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
25247
25362
|
return ret;
|
|
25248
25363
|
},
|
|
25249
|
-
|
|
25364
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
25250
25365
|
let deferred0_0;
|
|
25251
25366
|
let deferred0_1;
|
|
25252
25367
|
try {
|
|
@@ -25258,7 +25373,7 @@ function __wbg_get_imports(memory) {
|
|
|
25258
25373
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25259
25374
|
}
|
|
25260
25375
|
},
|
|
25261
|
-
|
|
25376
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
25262
25377
|
let deferred0_0;
|
|
25263
25378
|
let deferred0_1;
|
|
25264
25379
|
try {
|
|
@@ -25270,7 +25385,7 @@ function __wbg_get_imports(memory) {
|
|
|
25270
25385
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25271
25386
|
}
|
|
25272
25387
|
},
|
|
25273
|
-
|
|
25388
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
25274
25389
|
let deferred0_0;
|
|
25275
25390
|
let deferred0_1;
|
|
25276
25391
|
try {
|
|
@@ -25282,7 +25397,7 @@ function __wbg_get_imports(memory) {
|
|
|
25282
25397
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25283
25398
|
}
|
|
25284
25399
|
},
|
|
25285
|
-
|
|
25400
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
25286
25401
|
let deferred0_0;
|
|
25287
25402
|
let deferred0_1;
|
|
25288
25403
|
try {
|
|
@@ -25294,7 +25409,7 @@ function __wbg_get_imports(memory) {
|
|
|
25294
25409
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25295
25410
|
}
|
|
25296
25411
|
},
|
|
25297
|
-
|
|
25412
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
25298
25413
|
let deferred0_0;
|
|
25299
25414
|
let deferred0_1;
|
|
25300
25415
|
try {
|
|
@@ -25306,7 +25421,7 @@ function __wbg_get_imports(memory) {
|
|
|
25306
25421
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25307
25422
|
}
|
|
25308
25423
|
},
|
|
25309
|
-
|
|
25424
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
25310
25425
|
let deferred0_0;
|
|
25311
25426
|
let deferred0_1;
|
|
25312
25427
|
try {
|
|
@@ -25318,11 +25433,11 @@ function __wbg_get_imports(memory) {
|
|
|
25318
25433
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25319
25434
|
}
|
|
25320
25435
|
},
|
|
25321
|
-
|
|
25436
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
25322
25437
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
25323
25438
|
return ret;
|
|
25324
25439
|
},
|
|
25325
|
-
|
|
25440
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
25326
25441
|
let deferred0_0;
|
|
25327
25442
|
let deferred0_1;
|
|
25328
25443
|
try {
|
|
@@ -25334,7 +25449,7 @@ function __wbg_get_imports(memory) {
|
|
|
25334
25449
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25335
25450
|
}
|
|
25336
25451
|
},
|
|
25337
|
-
|
|
25452
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25338
25453
|
let deferred0_0;
|
|
25339
25454
|
let deferred0_1;
|
|
25340
25455
|
try {
|
|
@@ -25348,7 +25463,7 @@ function __wbg_get_imports(memory) {
|
|
|
25348
25463
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25349
25464
|
}
|
|
25350
25465
|
},
|
|
25351
|
-
|
|
25466
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25352
25467
|
let deferred0_0;
|
|
25353
25468
|
let deferred0_1;
|
|
25354
25469
|
try {
|
|
@@ -25362,27 +25477,27 @@ function __wbg_get_imports(memory) {
|
|
|
25362
25477
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25363
25478
|
}
|
|
25364
25479
|
},
|
|
25365
|
-
|
|
25480
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
25366
25481
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
25367
25482
|
return ret;
|
|
25368
25483
|
},
|
|
25369
|
-
|
|
25484
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
25370
25485
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25371
25486
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25372
25487
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
25373
25488
|
return ret;
|
|
25374
25489
|
},
|
|
25375
|
-
|
|
25490
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
25376
25491
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
25377
25492
|
return ret;
|
|
25378
25493
|
},
|
|
25379
|
-
|
|
25494
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
25380
25495
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25381
25496
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25382
25497
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
25383
25498
|
return ret;
|
|
25384
25499
|
},
|
|
25385
|
-
|
|
25500
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
25386
25501
|
let deferred1_0;
|
|
25387
25502
|
let deferred1_1;
|
|
25388
25503
|
try {
|
|
@@ -25396,31 +25511,31 @@ function __wbg_get_imports(memory) {
|
|
|
25396
25511
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25397
25512
|
}
|
|
25398
25513
|
},
|
|
25399
|
-
|
|
25514
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
25400
25515
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25401
25516
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25402
25517
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
25403
25518
|
return ret;
|
|
25404
25519
|
},
|
|
25405
|
-
|
|
25520
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
25406
25521
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25407
25522
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25408
25523
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
25409
25524
|
return ret;
|
|
25410
25525
|
},
|
|
25411
|
-
|
|
25526
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
25412
25527
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25413
25528
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25414
25529
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
25415
25530
|
return ret;
|
|
25416
25531
|
},
|
|
25417
|
-
|
|
25532
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
|
|
25418
25533
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25419
25534
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25420
25535
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
25421
25536
|
return ret;
|
|
25422
25537
|
},
|
|
25423
|
-
|
|
25538
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
|
|
25424
25539
|
let deferred0_0;
|
|
25425
25540
|
let deferred0_1;
|
|
25426
25541
|
try {
|
|
@@ -25432,7 +25547,7 @@ function __wbg_get_imports(memory) {
|
|
|
25432
25547
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25433
25548
|
}
|
|
25434
25549
|
},
|
|
25435
|
-
|
|
25550
|
+
__wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
25436
25551
|
let deferred0_0;
|
|
25437
25552
|
let deferred0_1;
|
|
25438
25553
|
try {
|
|
@@ -25444,39 +25559,39 @@ function __wbg_get_imports(memory) {
|
|
|
25444
25559
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25445
25560
|
}
|
|
25446
25561
|
},
|
|
25447
|
-
|
|
25562
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
25448
25563
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
25449
25564
|
return ret;
|
|
25450
25565
|
},
|
|
25451
|
-
|
|
25566
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
25452
25567
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25453
25568
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25454
25569
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
25455
25570
|
return ret;
|
|
25456
25571
|
},
|
|
25457
|
-
|
|
25572
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
25458
25573
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25459
25574
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25460
25575
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
25461
25576
|
return ret;
|
|
25462
25577
|
},
|
|
25463
|
-
|
|
25578
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
25464
25579
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25465
25580
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25466
25581
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
25467
25582
|
return ret;
|
|
25468
25583
|
},
|
|
25469
|
-
|
|
25584
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
25470
25585
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25471
25586
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25472
25587
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
25473
25588
|
return ret;
|
|
25474
25589
|
},
|
|
25475
|
-
|
|
25590
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
25476
25591
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
25477
25592
|
return ret;
|
|
25478
25593
|
},
|
|
25479
|
-
|
|
25594
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
25480
25595
|
let deferred0_0;
|
|
25481
25596
|
let deferred0_1;
|
|
25482
25597
|
try {
|
|
@@ -25488,7 +25603,7 @@ function __wbg_get_imports(memory) {
|
|
|
25488
25603
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25489
25604
|
}
|
|
25490
25605
|
},
|
|
25491
|
-
|
|
25606
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
25492
25607
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25493
25608
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25494
25609
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -25501,7 +25616,7 @@ function __wbg_get_imports(memory) {
|
|
|
25501
25616
|
const ret = arg0.getReader();
|
|
25502
25617
|
return ret;
|
|
25503
25618
|
}, arguments); },
|
|
25504
|
-
|
|
25619
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
25505
25620
|
let deferred0_0;
|
|
25506
25621
|
let deferred0_1;
|
|
25507
25622
|
try {
|
|
@@ -25513,7 +25628,7 @@ function __wbg_get_imports(memory) {
|
|
|
25513
25628
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25514
25629
|
}
|
|
25515
25630
|
},
|
|
25516
|
-
|
|
25631
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
25517
25632
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
25518
25633
|
return ret;
|
|
25519
25634
|
},
|
|
@@ -25521,15 +25636,15 @@ function __wbg_get_imports(memory) {
|
|
|
25521
25636
|
const ret = arg0.getTime();
|
|
25522
25637
|
return ret;
|
|
25523
25638
|
},
|
|
25524
|
-
|
|
25639
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
25525
25640
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
25526
25641
|
return ret;
|
|
25527
25642
|
},
|
|
25528
|
-
|
|
25643
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
25529
25644
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
25530
25645
|
return ret;
|
|
25531
25646
|
},
|
|
25532
|
-
|
|
25647
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
25533
25648
|
let deferred0_0;
|
|
25534
25649
|
let deferred0_1;
|
|
25535
25650
|
try {
|
|
@@ -25541,7 +25656,7 @@ function __wbg_get_imports(memory) {
|
|
|
25541
25656
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25542
25657
|
}
|
|
25543
25658
|
},
|
|
25544
|
-
|
|
25659
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
25545
25660
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
25546
25661
|
return ret;
|
|
25547
25662
|
},
|
|
@@ -25585,7 +25700,7 @@ function __wbg_get_imports(memory) {
|
|
|
25585
25700
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
25586
25701
|
return ret;
|
|
25587
25702
|
},
|
|
25588
|
-
|
|
25703
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25589
25704
|
let deferred0_0;
|
|
25590
25705
|
let deferred0_1;
|
|
25591
25706
|
try {
|
|
@@ -25599,7 +25714,7 @@ function __wbg_get_imports(memory) {
|
|
|
25599
25714
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25600
25715
|
}
|
|
25601
25716
|
},
|
|
25602
|
-
|
|
25717
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25603
25718
|
let deferred0_0;
|
|
25604
25719
|
let deferred0_1;
|
|
25605
25720
|
let deferred1_0;
|
|
@@ -25616,7 +25731,7 @@ function __wbg_get_imports(memory) {
|
|
|
25616
25731
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25617
25732
|
}
|
|
25618
25733
|
},
|
|
25619
|
-
|
|
25734
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25620
25735
|
let deferred0_0;
|
|
25621
25736
|
let deferred0_1;
|
|
25622
25737
|
let deferred1_0;
|
|
@@ -25633,13 +25748,13 @@ function __wbg_get_imports(memory) {
|
|
|
25633
25748
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25634
25749
|
}
|
|
25635
25750
|
},
|
|
25636
|
-
|
|
25751
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25637
25752
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
25638
25753
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
25639
25754
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
25640
25755
|
return ret;
|
|
25641
25756
|
},
|
|
25642
|
-
|
|
25757
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25643
25758
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25644
25759
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25645
25760
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25647,7 +25762,7 @@ function __wbg_get_imports(memory) {
|
|
|
25647
25762
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25648
25763
|
return ret;
|
|
25649
25764
|
},
|
|
25650
|
-
|
|
25765
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25651
25766
|
let deferred0_0;
|
|
25652
25767
|
let deferred0_1;
|
|
25653
25768
|
try {
|
|
@@ -25661,7 +25776,7 @@ function __wbg_get_imports(memory) {
|
|
|
25661
25776
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25662
25777
|
}
|
|
25663
25778
|
},
|
|
25664
|
-
|
|
25779
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25665
25780
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25666
25781
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25667
25782
|
let v1;
|
|
@@ -25768,11 +25883,11 @@ function __wbg_get_imports(memory) {
|
|
|
25768
25883
|
const ret = arg0.length;
|
|
25769
25884
|
return ret;
|
|
25770
25885
|
},
|
|
25771
|
-
|
|
25886
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
25772
25887
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25773
25888
|
return ret;
|
|
25774
25889
|
},
|
|
25775
|
-
|
|
25890
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
25776
25891
|
let deferred0_0;
|
|
25777
25892
|
let deferred0_1;
|
|
25778
25893
|
try {
|
|
@@ -25991,7 +26106,7 @@ function __wbg_get_imports(memory) {
|
|
|
25991
26106
|
const ret = Array.of(arg0, arg1, arg2);
|
|
25992
26107
|
return ret;
|
|
25993
26108
|
},
|
|
25994
|
-
|
|
26109
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
25995
26110
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25996
26111
|
return ret;
|
|
25997
26112
|
},
|
|
@@ -26025,7 +26140,7 @@ function __wbg_get_imports(memory) {
|
|
|
26025
26140
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
26026
26141
|
return ret;
|
|
26027
26142
|
},
|
|
26028
|
-
|
|
26143
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26029
26144
|
let deferred0_0;
|
|
26030
26145
|
let deferred0_1;
|
|
26031
26146
|
let deferred1_0;
|
|
@@ -26042,7 +26157,7 @@ function __wbg_get_imports(memory) {
|
|
|
26042
26157
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
26043
26158
|
}
|
|
26044
26159
|
},
|
|
26045
|
-
|
|
26160
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26046
26161
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
26047
26162
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
26048
26163
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -26072,13 +26187,13 @@ function __wbg_get_imports(memory) {
|
|
|
26072
26187
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
26073
26188
|
arg0.releaseLock();
|
|
26074
26189
|
},
|
|
26075
|
-
|
|
26190
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
26076
26191
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
26077
26192
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
26078
26193
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
26079
26194
|
return ret;
|
|
26080
26195
|
},
|
|
26081
|
-
|
|
26196
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
26082
26197
|
let deferred0_0;
|
|
26083
26198
|
let deferred0_1;
|
|
26084
26199
|
try {
|
|
@@ -26090,7 +26205,7 @@ function __wbg_get_imports(memory) {
|
|
|
26090
26205
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26091
26206
|
}
|
|
26092
26207
|
},
|
|
26093
|
-
|
|
26208
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
26094
26209
|
let deferred0_0;
|
|
26095
26210
|
let deferred0_1;
|
|
26096
26211
|
try {
|
|
@@ -26102,7 +26217,7 @@ function __wbg_get_imports(memory) {
|
|
|
26102
26217
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26103
26218
|
}
|
|
26104
26219
|
},
|
|
26105
|
-
|
|
26220
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
26106
26221
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
26107
26222
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
26108
26223
|
let v1;
|
|
@@ -26123,7 +26238,7 @@ function __wbg_get_imports(memory) {
|
|
|
26123
26238
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
26124
26239
|
return ret;
|
|
26125
26240
|
},
|
|
26126
|
-
|
|
26241
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
26127
26242
|
let deferred0_0;
|
|
26128
26243
|
let deferred0_1;
|
|
26129
26244
|
try {
|
|
@@ -26333,13 +26448,13 @@ function __wbg_get_imports(memory) {
|
|
|
26333
26448
|
const ret = TransactionSummary.__wrap(arg0);
|
|
26334
26449
|
return ret;
|
|
26335
26450
|
},
|
|
26336
|
-
|
|
26451
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
26337
26452
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
26338
26453
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
26339
26454
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
26340
26455
|
return ret;
|
|
26341
26456
|
},
|
|
26342
|
-
|
|
26457
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26343
26458
|
let deferred0_0;
|
|
26344
26459
|
let deferred0_1;
|
|
26345
26460
|
try {
|
|
@@ -26353,7 +26468,7 @@ function __wbg_get_imports(memory) {
|
|
|
26353
26468
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26354
26469
|
}
|
|
26355
26470
|
},
|
|
26356
|
-
|
|
26471
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
26357
26472
|
let deferred0_0;
|
|
26358
26473
|
let deferred0_1;
|
|
26359
26474
|
let deferred1_0;
|
|
@@ -26395,7 +26510,7 @@ function __wbg_get_imports(memory) {
|
|
|
26395
26510
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
26396
26511
|
}
|
|
26397
26512
|
},
|
|
26398
|
-
|
|
26513
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26399
26514
|
let deferred0_0;
|
|
26400
26515
|
let deferred0_1;
|
|
26401
26516
|
try {
|
|
@@ -26409,7 +26524,7 @@ function __wbg_get_imports(memory) {
|
|
|
26409
26524
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26410
26525
|
}
|
|
26411
26526
|
},
|
|
26412
|
-
|
|
26527
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
26413
26528
|
let deferred0_0;
|
|
26414
26529
|
let deferred0_1;
|
|
26415
26530
|
let deferred2_0;
|
|
@@ -26428,7 +26543,7 @@ function __wbg_get_imports(memory) {
|
|
|
26428
26543
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
26429
26544
|
}
|
|
26430
26545
|
},
|
|
26431
|
-
|
|
26546
|
+
__wbg_upsertInputNote_e10948a629bcee16: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28) {
|
|
26432
26547
|
let deferred0_0;
|
|
26433
26548
|
let deferred0_1;
|
|
26434
26549
|
let deferred6_0;
|
|
@@ -26477,7 +26592,7 @@ function __wbg_get_imports(memory) {
|
|
|
26477
26592
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
26478
26593
|
}
|
|
26479
26594
|
},
|
|
26480
|
-
|
|
26595
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26481
26596
|
let deferred0_0;
|
|
26482
26597
|
let deferred0_1;
|
|
26483
26598
|
try {
|
|
@@ -26491,7 +26606,7 @@ function __wbg_get_imports(memory) {
|
|
|
26491
26606
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26492
26607
|
}
|
|
26493
26608
|
},
|
|
26494
|
-
|
|
26609
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
26495
26610
|
let deferred0_0;
|
|
26496
26611
|
let deferred0_1;
|
|
26497
26612
|
let deferred1_0;
|
|
@@ -26526,7 +26641,7 @@ function __wbg_get_imports(memory) {
|
|
|
26526
26641
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
26527
26642
|
}
|
|
26528
26643
|
},
|
|
26529
|
-
|
|
26644
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26530
26645
|
let deferred0_0;
|
|
26531
26646
|
let deferred0_1;
|
|
26532
26647
|
try {
|
|
@@ -26540,7 +26655,7 @@ function __wbg_get_imports(memory) {
|
|
|
26540
26655
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26541
26656
|
}
|
|
26542
26657
|
},
|
|
26543
|
-
|
|
26658
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
26544
26659
|
let deferred0_0;
|
|
26545
26660
|
let deferred0_1;
|
|
26546
26661
|
try {
|
|
@@ -26561,7 +26676,7 @@ function __wbg_get_imports(memory) {
|
|
|
26561
26676
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26562
26677
|
}
|
|
26563
26678
|
},
|
|
26564
|
-
|
|
26679
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26565
26680
|
let deferred0_0;
|
|
26566
26681
|
let deferred0_1;
|
|
26567
26682
|
try {
|
|
@@ -26604,17 +26719,17 @@ function __wbg_get_imports(memory) {
|
|
|
26604
26719
|
return ret;
|
|
26605
26720
|
},
|
|
26606
26721
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
26607
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26722
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [Externref], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26608
26723
|
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_____);
|
|
26609
26724
|
return ret;
|
|
26610
26725
|
},
|
|
26611
26726
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
26612
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26727
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26613
26728
|
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_____);
|
|
26614
26729
|
return ret;
|
|
26615
26730
|
},
|
|
26616
26731
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
26617
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26732
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26618
26733
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
|
|
26619
26734
|
return ret;
|
|
26620
26735
|
},
|
|
@@ -27752,7 +27867,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
27752
27867
|
|
|
27753
27868
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
27754
27869
|
|
|
27755
|
-
var
|
|
27870
|
+
var CargoMvyTli7g = /*#__PURE__*/Object.freeze({
|
|
27756
27871
|
__proto__: null,
|
|
27757
27872
|
Account: Account,
|
|
27758
27873
|
AccountArray: AccountArray,
|