@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 CargoCysp4vto; });
|
|
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);
|
|
@@ -11369,6 +11403,17 @@ class Account {
|
|
|
11369
11403
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
11370
11404
|
return ret !== 0;
|
|
11371
11405
|
}
|
|
11406
|
+
/**
|
|
11407
|
+
* Returns true if this is a network account.
|
|
11408
|
+
*
|
|
11409
|
+
* A network account is a public account whose storage
|
|
11410
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
11411
|
+
* @returns {boolean}
|
|
11412
|
+
*/
|
|
11413
|
+
isNetworkAccount() {
|
|
11414
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
11415
|
+
return ret !== 0;
|
|
11416
|
+
}
|
|
11372
11417
|
/**
|
|
11373
11418
|
* Returns true if the account has not yet been committed to the chain.
|
|
11374
11419
|
* @returns {boolean}
|
|
@@ -11401,6 +11446,20 @@ class Account {
|
|
|
11401
11446
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
11402
11447
|
return ret !== 0;
|
|
11403
11448
|
}
|
|
11449
|
+
/**
|
|
11450
|
+
* Returns the note-script roots this network account is allowed to
|
|
11451
|
+
* consume, or `undefined` if this is not a network account.
|
|
11452
|
+
* @returns {Word[] | undefined}
|
|
11453
|
+
*/
|
|
11454
|
+
networkNoteAllowlist() {
|
|
11455
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
11456
|
+
let v1;
|
|
11457
|
+
if (ret[0] !== 0) {
|
|
11458
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
11459
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
11460
|
+
}
|
|
11461
|
+
return v1;
|
|
11462
|
+
}
|
|
11404
11463
|
/**
|
|
11405
11464
|
* Returns the account nonce, which is incremented on every state update.
|
|
11406
11465
|
* @returns {Felt}
|
|
@@ -11780,6 +11839,42 @@ class AccountComponent {
|
|
|
11780
11839
|
}
|
|
11781
11840
|
return AccountComponent.__wrap(ret[0]);
|
|
11782
11841
|
}
|
|
11842
|
+
/**
|
|
11843
|
+
* Builds the auth component for a network account.
|
|
11844
|
+
*
|
|
11845
|
+
* A network account is a public account carrying this component: its
|
|
11846
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11847
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11848
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11849
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11850
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11851
|
+
*
|
|
11852
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11853
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11854
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11855
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11856
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11857
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11858
|
+
* (arbitrary) transaction submitter controls.
|
|
11859
|
+
*
|
|
11860
|
+
* # Errors
|
|
11861
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11862
|
+
* allowlisted note scripts could never consume a note.
|
|
11863
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11864
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11865
|
+
* @returns {AccountComponent}
|
|
11866
|
+
*/
|
|
11867
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11868
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11869
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11870
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11871
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11872
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11873
|
+
if (ret[2]) {
|
|
11874
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11875
|
+
}
|
|
11876
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11877
|
+
}
|
|
11783
11878
|
/**
|
|
11784
11879
|
* Creates an account component from a compiled library and storage slots.
|
|
11785
11880
|
* @param {Library} library
|
|
@@ -13968,7 +14063,7 @@ class CodeBuilder {
|
|
|
13968
14063
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13969
14064
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13970
14065
|
* this can be used from another script with an import statement, following the
|
|
13971
|
-
* previous example: `use miden::my_contract
|
|
14066
|
+
* previous example: `use miden::my_contract`.
|
|
13972
14067
|
* @param {string} library_path
|
|
13973
14068
|
* @param {string} source_code
|
|
13974
14069
|
* @returns {Library}
|
|
@@ -15525,6 +15620,16 @@ class InputNoteRecord {
|
|
|
15525
15620
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
15526
15621
|
return ret !== 0;
|
|
15527
15622
|
}
|
|
15623
|
+
/**
|
|
15624
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
15625
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
15626
|
+
* advance this record.
|
|
15627
|
+
* @returns {boolean}
|
|
15628
|
+
*/
|
|
15629
|
+
isInclusionPending() {
|
|
15630
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15631
|
+
return ret !== 0;
|
|
15632
|
+
}
|
|
15528
15633
|
/**
|
|
15529
15634
|
* Returns true if the note is currently being processed.
|
|
15530
15635
|
* @returns {boolean}
|
|
@@ -19536,6 +19641,16 @@ class OutputNoteRecord {
|
|
|
19536
19641
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
19537
19642
|
return ret !== 0;
|
|
19538
19643
|
}
|
|
19644
|
+
/**
|
|
19645
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19646
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19647
|
+
* that can advance this record.
|
|
19648
|
+
* @returns {boolean}
|
|
19649
|
+
*/
|
|
19650
|
+
isInclusionPending() {
|
|
19651
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19652
|
+
return ret !== 0;
|
|
19653
|
+
}
|
|
19539
19654
|
/**
|
|
19540
19655
|
* Returns the note metadata.
|
|
19541
19656
|
* @returns {NoteMetadata}
|
|
@@ -24772,7 +24887,7 @@ function __wbg_get_imports() {
|
|
|
24772
24887
|
const ret = AccountStorage.__wrap(arg0);
|
|
24773
24888
|
return ret;
|
|
24774
24889
|
},
|
|
24775
|
-
|
|
24890
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24776
24891
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24777
24892
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24778
24893
|
let v1;
|
|
@@ -24800,25 +24915,25 @@ function __wbg_get_imports() {
|
|
|
24800
24915
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24801
24916
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24802
24917
|
}, arguments); },
|
|
24803
|
-
|
|
24918
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
24804
24919
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24805
24920
|
return ret;
|
|
24806
24921
|
},
|
|
24807
|
-
|
|
24922
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
24808
24923
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24809
24924
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24810
24925
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24811
24926
|
return ret;
|
|
24812
24927
|
},
|
|
24813
|
-
|
|
24928
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
24814
24929
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24815
24930
|
return ret;
|
|
24816
24931
|
},
|
|
24817
|
-
|
|
24932
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
24818
24933
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24819
24934
|
return ret;
|
|
24820
24935
|
},
|
|
24821
|
-
|
|
24936
|
+
__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) {
|
|
24822
24937
|
let deferred0_0;
|
|
24823
24938
|
let deferred0_1;
|
|
24824
24939
|
let deferred1_0;
|
|
@@ -24957,7 +25072,7 @@ function __wbg_get_imports() {
|
|
|
24957
25072
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24958
25073
|
}
|
|
24959
25074
|
},
|
|
24960
|
-
|
|
25075
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
24961
25076
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24962
25077
|
return ret;
|
|
24963
25078
|
},
|
|
@@ -24989,7 +25104,7 @@ function __wbg_get_imports() {
|
|
|
24989
25104
|
const ret = FetchedNote.__wrap(arg0);
|
|
24990
25105
|
return ret;
|
|
24991
25106
|
},
|
|
24992
|
-
|
|
25107
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
24993
25108
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24994
25109
|
return ret;
|
|
24995
25110
|
},
|
|
@@ -25013,7 +25128,7 @@ function __wbg_get_imports() {
|
|
|
25013
25128
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
25014
25129
|
return ret;
|
|
25015
25130
|
},
|
|
25016
|
-
|
|
25131
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
25017
25132
|
let deferred0_0;
|
|
25018
25133
|
let deferred0_1;
|
|
25019
25134
|
try {
|
|
@@ -25025,7 +25140,7 @@ function __wbg_get_imports() {
|
|
|
25025
25140
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25026
25141
|
}
|
|
25027
25142
|
},
|
|
25028
|
-
|
|
25143
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
25029
25144
|
let deferred0_0;
|
|
25030
25145
|
let deferred0_1;
|
|
25031
25146
|
try {
|
|
@@ -25037,7 +25152,7 @@ function __wbg_get_imports() {
|
|
|
25037
25152
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25038
25153
|
}
|
|
25039
25154
|
},
|
|
25040
|
-
|
|
25155
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
25041
25156
|
let deferred0_0;
|
|
25042
25157
|
let deferred0_1;
|
|
25043
25158
|
try {
|
|
@@ -25049,7 +25164,7 @@ function __wbg_get_imports() {
|
|
|
25049
25164
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25050
25165
|
}
|
|
25051
25166
|
},
|
|
25052
|
-
|
|
25167
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
25053
25168
|
let deferred0_0;
|
|
25054
25169
|
let deferred0_1;
|
|
25055
25170
|
try {
|
|
@@ -25061,7 +25176,7 @@ function __wbg_get_imports() {
|
|
|
25061
25176
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25062
25177
|
}
|
|
25063
25178
|
},
|
|
25064
|
-
|
|
25179
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
25065
25180
|
let deferred0_0;
|
|
25066
25181
|
let deferred0_1;
|
|
25067
25182
|
try {
|
|
@@ -25073,7 +25188,7 @@ function __wbg_get_imports() {
|
|
|
25073
25188
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25074
25189
|
}
|
|
25075
25190
|
},
|
|
25076
|
-
|
|
25191
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
25077
25192
|
let deferred0_0;
|
|
25078
25193
|
let deferred0_1;
|
|
25079
25194
|
try {
|
|
@@ -25085,11 +25200,11 @@ function __wbg_get_imports() {
|
|
|
25085
25200
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25086
25201
|
}
|
|
25087
25202
|
},
|
|
25088
|
-
|
|
25203
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
25089
25204
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
25090
25205
|
return ret;
|
|
25091
25206
|
},
|
|
25092
|
-
|
|
25207
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
25093
25208
|
let deferred0_0;
|
|
25094
25209
|
let deferred0_1;
|
|
25095
25210
|
try {
|
|
@@ -25101,7 +25216,7 @@ function __wbg_get_imports() {
|
|
|
25101
25216
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25102
25217
|
}
|
|
25103
25218
|
},
|
|
25104
|
-
|
|
25219
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25105
25220
|
let deferred0_0;
|
|
25106
25221
|
let deferred0_1;
|
|
25107
25222
|
try {
|
|
@@ -25115,7 +25230,7 @@ function __wbg_get_imports() {
|
|
|
25115
25230
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25116
25231
|
}
|
|
25117
25232
|
},
|
|
25118
|
-
|
|
25233
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25119
25234
|
let deferred0_0;
|
|
25120
25235
|
let deferred0_1;
|
|
25121
25236
|
try {
|
|
@@ -25129,27 +25244,27 @@ function __wbg_get_imports() {
|
|
|
25129
25244
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25130
25245
|
}
|
|
25131
25246
|
},
|
|
25132
|
-
|
|
25247
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
25133
25248
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
25134
25249
|
return ret;
|
|
25135
25250
|
},
|
|
25136
|
-
|
|
25251
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
25137
25252
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25138
25253
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25139
25254
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
25140
25255
|
return ret;
|
|
25141
25256
|
},
|
|
25142
|
-
|
|
25257
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
25143
25258
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
25144
25259
|
return ret;
|
|
25145
25260
|
},
|
|
25146
|
-
|
|
25261
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
25147
25262
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25148
25263
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25149
25264
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
25150
25265
|
return ret;
|
|
25151
25266
|
},
|
|
25152
|
-
|
|
25267
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
25153
25268
|
let deferred1_0;
|
|
25154
25269
|
let deferred1_1;
|
|
25155
25270
|
try {
|
|
@@ -25163,31 +25278,31 @@ function __wbg_get_imports() {
|
|
|
25163
25278
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25164
25279
|
}
|
|
25165
25280
|
},
|
|
25166
|
-
|
|
25281
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
25167
25282
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25168
25283
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25169
25284
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
25170
25285
|
return ret;
|
|
25171
25286
|
},
|
|
25172
|
-
|
|
25287
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
25173
25288
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25174
25289
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25175
25290
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
25176
25291
|
return ret;
|
|
25177
25292
|
},
|
|
25178
|
-
|
|
25293
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
25179
25294
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25180
25295
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25181
25296
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
25182
25297
|
return ret;
|
|
25183
25298
|
},
|
|
25184
|
-
|
|
25299
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: 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 = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
25188
25303
|
return ret;
|
|
25189
25304
|
},
|
|
25190
|
-
|
|
25305
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: 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_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
25203
25318
|
let deferred0_0;
|
|
25204
25319
|
let deferred0_1;
|
|
25205
25320
|
try {
|
|
@@ -25211,39 +25326,39 @@ function __wbg_get_imports() {
|
|
|
25211
25326
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25212
25327
|
}
|
|
25213
25328
|
},
|
|
25214
|
-
|
|
25329
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
25215
25330
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
25216
25331
|
return ret;
|
|
25217
25332
|
},
|
|
25218
|
-
|
|
25333
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
25219
25334
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25220
25335
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25221
25336
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
25222
25337
|
return ret;
|
|
25223
25338
|
},
|
|
25224
|
-
|
|
25339
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
25225
25340
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25226
25341
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25227
25342
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
25228
25343
|
return ret;
|
|
25229
25344
|
},
|
|
25230
|
-
|
|
25345
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
25231
25346
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25232
25347
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25233
25348
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
25234
25349
|
return ret;
|
|
25235
25350
|
},
|
|
25236
|
-
|
|
25351
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
25237
25352
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25238
25353
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25239
25354
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
25240
25355
|
return ret;
|
|
25241
25356
|
},
|
|
25242
|
-
|
|
25357
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
25243
25358
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
25244
25359
|
return ret;
|
|
25245
25360
|
},
|
|
25246
|
-
|
|
25361
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
25247
25362
|
let deferred0_0;
|
|
25248
25363
|
let deferred0_1;
|
|
25249
25364
|
try {
|
|
@@ -25255,7 +25370,7 @@ function __wbg_get_imports() {
|
|
|
25255
25370
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25256
25371
|
}
|
|
25257
25372
|
},
|
|
25258
|
-
|
|
25373
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
25259
25374
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25260
25375
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25261
25376
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -25268,7 +25383,7 @@ function __wbg_get_imports() {
|
|
|
25268
25383
|
const ret = arg0.getReader();
|
|
25269
25384
|
return ret;
|
|
25270
25385
|
}, arguments); },
|
|
25271
|
-
|
|
25386
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
25272
25387
|
let deferred0_0;
|
|
25273
25388
|
let deferred0_1;
|
|
25274
25389
|
try {
|
|
@@ -25280,7 +25395,7 @@ function __wbg_get_imports() {
|
|
|
25280
25395
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25281
25396
|
}
|
|
25282
25397
|
},
|
|
25283
|
-
|
|
25398
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
25284
25399
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
25285
25400
|
return ret;
|
|
25286
25401
|
},
|
|
@@ -25288,15 +25403,15 @@ function __wbg_get_imports() {
|
|
|
25288
25403
|
const ret = arg0.getTime();
|
|
25289
25404
|
return ret;
|
|
25290
25405
|
},
|
|
25291
|
-
|
|
25406
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
25292
25407
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
25293
25408
|
return ret;
|
|
25294
25409
|
},
|
|
25295
|
-
|
|
25410
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
25296
25411
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
25297
25412
|
return ret;
|
|
25298
25413
|
},
|
|
25299
|
-
|
|
25414
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
25300
25415
|
let deferred0_0;
|
|
25301
25416
|
let deferred0_1;
|
|
25302
25417
|
try {
|
|
@@ -25308,7 +25423,7 @@ function __wbg_get_imports() {
|
|
|
25308
25423
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25309
25424
|
}
|
|
25310
25425
|
},
|
|
25311
|
-
|
|
25426
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
25312
25427
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
25313
25428
|
return ret;
|
|
25314
25429
|
},
|
|
@@ -25352,7 +25467,7 @@ function __wbg_get_imports() {
|
|
|
25352
25467
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
25353
25468
|
return ret;
|
|
25354
25469
|
},
|
|
25355
|
-
|
|
25470
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25356
25471
|
let deferred0_0;
|
|
25357
25472
|
let deferred0_1;
|
|
25358
25473
|
try {
|
|
@@ -25366,7 +25481,7 @@ function __wbg_get_imports() {
|
|
|
25366
25481
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25367
25482
|
}
|
|
25368
25483
|
},
|
|
25369
|
-
|
|
25484
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25370
25485
|
let deferred0_0;
|
|
25371
25486
|
let deferred0_1;
|
|
25372
25487
|
let deferred1_0;
|
|
@@ -25383,7 +25498,7 @@ function __wbg_get_imports() {
|
|
|
25383
25498
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25384
25499
|
}
|
|
25385
25500
|
},
|
|
25386
|
-
|
|
25501
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25387
25502
|
let deferred0_0;
|
|
25388
25503
|
let deferred0_1;
|
|
25389
25504
|
let deferred1_0;
|
|
@@ -25400,13 +25515,13 @@ function __wbg_get_imports() {
|
|
|
25400
25515
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25401
25516
|
}
|
|
25402
25517
|
},
|
|
25403
|
-
|
|
25518
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25404
25519
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
25405
25520
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
25406
25521
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
25407
25522
|
return ret;
|
|
25408
25523
|
},
|
|
25409
|
-
|
|
25524
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25410
25525
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25411
25526
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25412
25527
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25414,7 +25529,7 @@ function __wbg_get_imports() {
|
|
|
25414
25529
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25415
25530
|
return ret;
|
|
25416
25531
|
},
|
|
25417
|
-
|
|
25532
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25418
25533
|
let deferred0_0;
|
|
25419
25534
|
let deferred0_1;
|
|
25420
25535
|
try {
|
|
@@ -25428,7 +25543,7 @@ function __wbg_get_imports() {
|
|
|
25428
25543
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25429
25544
|
}
|
|
25430
25545
|
},
|
|
25431
|
-
|
|
25546
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25432
25547
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25433
25548
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25434
25549
|
let v1;
|
|
@@ -25525,11 +25640,11 @@ function __wbg_get_imports() {
|
|
|
25525
25640
|
const ret = arg0.length;
|
|
25526
25641
|
return ret;
|
|
25527
25642
|
},
|
|
25528
|
-
|
|
25643
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
25529
25644
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25530
25645
|
return ret;
|
|
25531
25646
|
},
|
|
25532
|
-
|
|
25647
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
25533
25648
|
let deferred0_0;
|
|
25534
25649
|
let deferred0_1;
|
|
25535
25650
|
try {
|
|
@@ -25617,7 +25732,7 @@ function __wbg_get_imports() {
|
|
|
25617
25732
|
const a = state0.a;
|
|
25618
25733
|
state0.a = 0;
|
|
25619
25734
|
try {
|
|
25620
|
-
return
|
|
25735
|
+
return wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(a, state0.b, arg0, arg1);
|
|
25621
25736
|
} finally {
|
|
25622
25737
|
state0.a = a;
|
|
25623
25738
|
}
|
|
@@ -25732,7 +25847,7 @@ function __wbg_get_imports() {
|
|
|
25732
25847
|
const ret = NoteTag.__unwrap(arg0);
|
|
25733
25848
|
return ret;
|
|
25734
25849
|
},
|
|
25735
|
-
|
|
25850
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
25736
25851
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25737
25852
|
return ret;
|
|
25738
25853
|
},
|
|
@@ -25763,7 +25878,7 @@ function __wbg_get_imports() {
|
|
|
25763
25878
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25764
25879
|
return ret;
|
|
25765
25880
|
},
|
|
25766
|
-
|
|
25881
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25767
25882
|
let deferred0_0;
|
|
25768
25883
|
let deferred0_1;
|
|
25769
25884
|
let deferred1_0;
|
|
@@ -25780,7 +25895,7 @@ function __wbg_get_imports() {
|
|
|
25780
25895
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25781
25896
|
}
|
|
25782
25897
|
},
|
|
25783
|
-
|
|
25898
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25784
25899
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25785
25900
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25786
25901
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25810,13 +25925,13 @@ function __wbg_get_imports() {
|
|
|
25810
25925
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25811
25926
|
arg0.releaseLock();
|
|
25812
25927
|
},
|
|
25813
|
-
|
|
25928
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
25814
25929
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25815
25930
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25816
25931
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25817
25932
|
return ret;
|
|
25818
25933
|
},
|
|
25819
|
-
|
|
25934
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
25820
25935
|
let deferred0_0;
|
|
25821
25936
|
let deferred0_1;
|
|
25822
25937
|
try {
|
|
@@ -25828,7 +25943,7 @@ function __wbg_get_imports() {
|
|
|
25828
25943
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25829
25944
|
}
|
|
25830
25945
|
},
|
|
25831
|
-
|
|
25946
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
25832
25947
|
let deferred0_0;
|
|
25833
25948
|
let deferred0_1;
|
|
25834
25949
|
try {
|
|
@@ -25840,7 +25955,7 @@ function __wbg_get_imports() {
|
|
|
25840
25955
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25841
25956
|
}
|
|
25842
25957
|
},
|
|
25843
|
-
|
|
25958
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25844
25959
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25845
25960
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25846
25961
|
let v1;
|
|
@@ -25861,7 +25976,7 @@ function __wbg_get_imports() {
|
|
|
25861
25976
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25862
25977
|
return ret;
|
|
25863
25978
|
},
|
|
25864
|
-
|
|
25979
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
25865
25980
|
let deferred0_0;
|
|
25866
25981
|
let deferred0_1;
|
|
25867
25982
|
try {
|
|
@@ -26064,13 +26179,13 @@ function __wbg_get_imports() {
|
|
|
26064
26179
|
const ret = TransactionSummary.__wrap(arg0);
|
|
26065
26180
|
return ret;
|
|
26066
26181
|
},
|
|
26067
|
-
|
|
26182
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
26068
26183
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
26069
26184
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
26070
26185
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
26071
26186
|
return ret;
|
|
26072
26187
|
},
|
|
26073
|
-
|
|
26188
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26074
26189
|
let deferred0_0;
|
|
26075
26190
|
let deferred0_1;
|
|
26076
26191
|
try {
|
|
@@ -26084,7 +26199,7 @@ function __wbg_get_imports() {
|
|
|
26084
26199
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26085
26200
|
}
|
|
26086
26201
|
},
|
|
26087
|
-
|
|
26202
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
26088
26203
|
let deferred0_0;
|
|
26089
26204
|
let deferred0_1;
|
|
26090
26205
|
let deferred1_0;
|
|
@@ -26126,7 +26241,7 @@ function __wbg_get_imports() {
|
|
|
26126
26241
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
26127
26242
|
}
|
|
26128
26243
|
},
|
|
26129
|
-
|
|
26244
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26130
26245
|
let deferred0_0;
|
|
26131
26246
|
let deferred0_1;
|
|
26132
26247
|
try {
|
|
@@ -26140,7 +26255,7 @@ function __wbg_get_imports() {
|
|
|
26140
26255
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26141
26256
|
}
|
|
26142
26257
|
},
|
|
26143
|
-
|
|
26258
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
26144
26259
|
let deferred0_0;
|
|
26145
26260
|
let deferred0_1;
|
|
26146
26261
|
let deferred2_0;
|
|
@@ -26159,7 +26274,7 @@ function __wbg_get_imports() {
|
|
|
26159
26274
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
26160
26275
|
}
|
|
26161
26276
|
},
|
|
26162
|
-
|
|
26277
|
+
__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) {
|
|
26163
26278
|
let deferred0_0;
|
|
26164
26279
|
let deferred0_1;
|
|
26165
26280
|
let deferred6_0;
|
|
@@ -26208,7 +26323,7 @@ function __wbg_get_imports() {
|
|
|
26208
26323
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
26209
26324
|
}
|
|
26210
26325
|
},
|
|
26211
|
-
|
|
26326
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26212
26327
|
let deferred0_0;
|
|
26213
26328
|
let deferred0_1;
|
|
26214
26329
|
try {
|
|
@@ -26222,7 +26337,7 @@ function __wbg_get_imports() {
|
|
|
26222
26337
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26223
26338
|
}
|
|
26224
26339
|
},
|
|
26225
|
-
|
|
26340
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
26226
26341
|
let deferred0_0;
|
|
26227
26342
|
let deferred0_1;
|
|
26228
26343
|
let deferred1_0;
|
|
@@ -26257,7 +26372,7 @@ function __wbg_get_imports() {
|
|
|
26257
26372
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
26258
26373
|
}
|
|
26259
26374
|
},
|
|
26260
|
-
|
|
26375
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26261
26376
|
let deferred0_0;
|
|
26262
26377
|
let deferred0_1;
|
|
26263
26378
|
try {
|
|
@@ -26271,7 +26386,7 @@ function __wbg_get_imports() {
|
|
|
26271
26386
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26272
26387
|
}
|
|
26273
26388
|
},
|
|
26274
|
-
|
|
26389
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
26275
26390
|
let deferred0_0;
|
|
26276
26391
|
let deferred0_1;
|
|
26277
26392
|
try {
|
|
@@ -26292,7 +26407,7 @@ function __wbg_get_imports() {
|
|
|
26292
26407
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26293
26408
|
}
|
|
26294
26409
|
},
|
|
26295
|
-
|
|
26410
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26296
26411
|
let deferred0_0;
|
|
26297
26412
|
let deferred0_1;
|
|
26298
26413
|
try {
|
|
@@ -26323,13 +26438,13 @@ function __wbg_get_imports() {
|
|
|
26323
26438
|
return ret;
|
|
26324
26439
|
},
|
|
26325
26440
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
26326
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26327
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26441
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26442
|
+
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_____);
|
|
26328
26443
|
return ret;
|
|
26329
26444
|
},
|
|
26330
26445
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
26331
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26332
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26446
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [], shim_idx: 433, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26447
|
+
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______);
|
|
26333
26448
|
return ret;
|
|
26334
26449
|
},
|
|
26335
26450
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -26445,16 +26560,16 @@ function __wbg_get_imports() {
|
|
|
26445
26560
|
};
|
|
26446
26561
|
}
|
|
26447
26562
|
|
|
26448
|
-
function
|
|
26449
|
-
wasm.
|
|
26563
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1) {
|
|
26564
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1);
|
|
26450
26565
|
}
|
|
26451
26566
|
|
|
26452
|
-
function
|
|
26453
|
-
wasm.
|
|
26567
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2) {
|
|
26568
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2);
|
|
26454
26569
|
}
|
|
26455
26570
|
|
|
26456
|
-
function
|
|
26457
|
-
wasm.
|
|
26571
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3) {
|
|
26572
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3);
|
|
26458
26573
|
}
|
|
26459
26574
|
|
|
26460
26575
|
|
|
@@ -27275,7 +27390,7 @@ async function __wbg_init(module_or_path) {
|
|
|
27275
27390
|
|
|
27276
27391
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
27277
27392
|
|
|
27278
|
-
var
|
|
27393
|
+
var CargoCysp4vto = /*#__PURE__*/Object.freeze({
|
|
27279
27394
|
__proto__: null,
|
|
27280
27395
|
Account: Account,
|
|
27281
27396
|
AccountArray: AccountArray,
|