@miden-sdk/miden-sdk 0.15.5 → 0.15.7
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 +28 -0
- package/dist/mt/{Cargo-C001gt8g.js → Cargo-CnGom-_z.js} +244 -86
- package/dist/mt/Cargo-CnGom-_z.js.map +1 -0
- package/dist/mt/api-types.d.ts +120 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +80 -1
- package/dist/mt/docs-entry.d.ts +3 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +252 -5
- package/dist/mt/index.js.map +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-CnGom-_z-X_3VwTbo.js} +244 -86
- package/dist/mt/workers/Cargo-CnGom-_z-X_3VwTbo.js.map +1 -0
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +245 -86
- 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-DR9fiMbE.js} +253 -96
- package/dist/st/Cargo-DR9fiMbE.js.map +1 -0
- package/dist/st/api-types.d.ts +120 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +80 -1
- package/dist/st/docs-entry.d.ts +3 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +252 -5
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-CR1mzjgg-DeDmKA4W.js → Cargo-DR9fiMbE-C0G0clA_.js} +253 -96
- package/dist/st/workers/Cargo-DR9fiMbE-C0G0clA_.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +254 -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/js/node-index.js +1 -0
- package/js/resources/transactions.js +251 -4
- 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
|
|
@@ -12847,6 +12942,26 @@ class AdviceMap {
|
|
|
12847
12942
|
}
|
|
12848
12943
|
if (Symbol.dispose) AdviceMap.prototype[Symbol.dispose] = AdviceMap.prototype.free;
|
|
12849
12944
|
|
|
12945
|
+
/**
|
|
12946
|
+
* Whether a faucet's asset callbacks run when an asset is added to an account or a note.
|
|
12947
|
+
*
|
|
12948
|
+
* The flag is part of an asset's vault key, so two assets from the same faucet with different
|
|
12949
|
+
* flags occupy different vault slots and do not merge. Assets minted by a faucet that registers
|
|
12950
|
+
* transfer policies carry `Enabled`; everything else carries `Disabled`.
|
|
12951
|
+
* @enum {0 | 1}
|
|
12952
|
+
*/
|
|
12953
|
+
const AssetCallbackFlag = Object.freeze({
|
|
12954
|
+
/**
|
|
12955
|
+
* The faucet's callbacks are not invoked for this asset. This is the default for an asset
|
|
12956
|
+
* built via the `FungibleAsset` constructor.
|
|
12957
|
+
*/
|
|
12958
|
+
Disabled: 0, "0": "Disabled",
|
|
12959
|
+
/**
|
|
12960
|
+
* The faucet's callbacks are invoked before this asset is added to an account or a note.
|
|
12961
|
+
*/
|
|
12962
|
+
Enabled: 1, "1": "Enabled",
|
|
12963
|
+
});
|
|
12964
|
+
|
|
12850
12965
|
/**
|
|
12851
12966
|
* A container for an unlimited number of assets.
|
|
12852
12967
|
*
|
|
@@ -13438,7 +13553,7 @@ class CodeBuilder {
|
|
|
13438
13553
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13439
13554
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13440
13555
|
* this can be used from another script with an import statement, following the
|
|
13441
|
-
* previous example: `use miden::my_contract
|
|
13556
|
+
* previous example: `use miden::my_contract`.
|
|
13442
13557
|
* @param {string} library_path
|
|
13443
13558
|
* @param {string} source_code
|
|
13444
13559
|
* @returns {Library}
|
|
@@ -14589,6 +14704,14 @@ class FungibleAsset {
|
|
|
14589
14704
|
const ret = wasm.fungibleasset_amount(this.__wbg_ptr);
|
|
14590
14705
|
return BigInt.asUintN(64, ret);
|
|
14591
14706
|
}
|
|
14707
|
+
/**
|
|
14708
|
+
* Returns whether this asset invokes its faucet's callbacks.
|
|
14709
|
+
* @returns {AssetCallbackFlag}
|
|
14710
|
+
*/
|
|
14711
|
+
callbacks() {
|
|
14712
|
+
const ret = wasm.fungibleasset_callbacks(this.__wbg_ptr);
|
|
14713
|
+
return ret;
|
|
14714
|
+
}
|
|
14592
14715
|
/**
|
|
14593
14716
|
* Returns the faucet account that minted this asset.
|
|
14594
14717
|
* @returns {AccountId}
|
|
@@ -14620,6 +14743,20 @@ class FungibleAsset {
|
|
|
14620
14743
|
FungibleAssetFinalization.register(this, this.__wbg_ptr, this);
|
|
14621
14744
|
return this;
|
|
14622
14745
|
}
|
|
14746
|
+
/**
|
|
14747
|
+
* Returns a copy of this asset carrying the given callback flag.
|
|
14748
|
+
*
|
|
14749
|
+
* The flag is part of the asset's vault key, so it must match the flag the issuing faucet
|
|
14750
|
+
* applies — an asset built with the wrong flag addresses a different vault slot than the one
|
|
14751
|
+
* holding the balance. The constructor always produces `Disabled`; pass `Enabled` only for
|
|
14752
|
+
* assets from a faucet that registers transfer policies.
|
|
14753
|
+
* @param {AssetCallbackFlag} callbacks
|
|
14754
|
+
* @returns {FungibleAsset}
|
|
14755
|
+
*/
|
|
14756
|
+
withCallbacks(callbacks) {
|
|
14757
|
+
const ret = wasm.fungibleasset_withCallbacks(this.__wbg_ptr, callbacks);
|
|
14758
|
+
return FungibleAsset.__wrap(ret);
|
|
14759
|
+
}
|
|
14623
14760
|
}
|
|
14624
14761
|
if (Symbol.dispose) FungibleAsset.prototype[Symbol.dispose] = FungibleAsset.prototype.free;
|
|
14625
14762
|
|
|
@@ -14995,6 +15132,16 @@ class InputNoteRecord {
|
|
|
14995
15132
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
14996
15133
|
return ret !== 0;
|
|
14997
15134
|
}
|
|
15135
|
+
/**
|
|
15136
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
15137
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
15138
|
+
* advance this record.
|
|
15139
|
+
* @returns {boolean}
|
|
15140
|
+
*/
|
|
15141
|
+
isInclusionPending() {
|
|
15142
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15143
|
+
return ret !== 0;
|
|
15144
|
+
}
|
|
14998
15145
|
/**
|
|
14999
15146
|
* Returns true if the note is currently being processed.
|
|
15000
15147
|
* @returns {boolean}
|
|
@@ -19006,6 +19153,16 @@ class OutputNoteRecord {
|
|
|
19006
19153
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
19007
19154
|
return ret !== 0;
|
|
19008
19155
|
}
|
|
19156
|
+
/**
|
|
19157
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19158
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19159
|
+
* that can advance this record.
|
|
19160
|
+
* @returns {boolean}
|
|
19161
|
+
*/
|
|
19162
|
+
isInclusionPending() {
|
|
19163
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19164
|
+
return ret !== 0;
|
|
19165
|
+
}
|
|
19009
19166
|
/**
|
|
19010
19167
|
* Returns the note metadata.
|
|
19011
19168
|
* @returns {NoteMetadata}
|
|
@@ -24364,7 +24521,7 @@ function __wbg_get_imports(memory) {
|
|
|
24364
24521
|
const ret = AccountStorage.__wrap(arg0);
|
|
24365
24522
|
return ret;
|
|
24366
24523
|
},
|
|
24367
|
-
|
|
24524
|
+
__wbg_addNoteTag_94ee2f838ec544dc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24368
24525
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24369
24526
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24370
24527
|
let v1;
|
|
@@ -24392,25 +24549,25 @@ function __wbg_get_imports(memory) {
|
|
|
24392
24549
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24393
24550
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24394
24551
|
}, arguments); },
|
|
24395
|
-
|
|
24552
|
+
__wbg_applyFullAccountState_43caa7474baffc0b: function(arg0, arg1, arg2) {
|
|
24396
24553
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24397
24554
|
return ret;
|
|
24398
24555
|
},
|
|
24399
|
-
|
|
24556
|
+
__wbg_applySettingsMutations_5de1d94023be9157: function(arg0, arg1, arg2, arg3) {
|
|
24400
24557
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24401
24558
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24402
24559
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24403
24560
|
return ret;
|
|
24404
24561
|
},
|
|
24405
|
-
|
|
24562
|
+
__wbg_applyStateSync_189438332d96496e: function(arg0, arg1, arg2) {
|
|
24406
24563
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24407
24564
|
return ret;
|
|
24408
24565
|
},
|
|
24409
|
-
|
|
24566
|
+
__wbg_applyTransactionBatch_c300ed1fee34127a: function(arg0, arg1, arg2) {
|
|
24410
24567
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24411
24568
|
return ret;
|
|
24412
24569
|
},
|
|
24413
|
-
|
|
24570
|
+
__wbg_applyTransactionDelta_88c7fcff9175e58e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24414
24571
|
let deferred0_0;
|
|
24415
24572
|
let deferred0_1;
|
|
24416
24573
|
let deferred1_0;
|
|
@@ -24561,7 +24718,7 @@ function __wbg_get_imports(memory) {
|
|
|
24561
24718
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24562
24719
|
}
|
|
24563
24720
|
},
|
|
24564
|
-
|
|
24721
|
+
__wbg_exportStore_cf4d695fbf6de143: function(arg0, arg1) {
|
|
24565
24722
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24566
24723
|
return ret;
|
|
24567
24724
|
},
|
|
@@ -24593,7 +24750,7 @@ function __wbg_get_imports(memory) {
|
|
|
24593
24750
|
const ret = FetchedNote.__wrap(arg0);
|
|
24594
24751
|
return ret;
|
|
24595
24752
|
},
|
|
24596
|
-
|
|
24753
|
+
__wbg_forceImportStore_c50115d19ee606c7: function(arg0, arg1, arg2) {
|
|
24597
24754
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24598
24755
|
return ret;
|
|
24599
24756
|
},
|
|
@@ -24617,7 +24774,7 @@ function __wbg_get_imports(memory) {
|
|
|
24617
24774
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24618
24775
|
return ret;
|
|
24619
24776
|
},
|
|
24620
|
-
|
|
24777
|
+
__wbg_getAccountAddresses_cbd727101b08a9f6: function(arg0, arg1, arg2, arg3) {
|
|
24621
24778
|
let deferred0_0;
|
|
24622
24779
|
let deferred0_1;
|
|
24623
24780
|
try {
|
|
@@ -24629,7 +24786,7 @@ function __wbg_get_imports(memory) {
|
|
|
24629
24786
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24630
24787
|
}
|
|
24631
24788
|
},
|
|
24632
|
-
|
|
24789
|
+
__wbg_getAccountAuthByPubKeyCommitment_bb937a852fc252bc: function(arg0, arg1, arg2, arg3) {
|
|
24633
24790
|
let deferred0_0;
|
|
24634
24791
|
let deferred0_1;
|
|
24635
24792
|
try {
|
|
@@ -24641,7 +24798,7 @@ function __wbg_get_imports(memory) {
|
|
|
24641
24798
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24642
24799
|
}
|
|
24643
24800
|
},
|
|
24644
|
-
|
|
24801
|
+
__wbg_getAccountCode_3cc0ae7a622f54fc: function(arg0, arg1, arg2, arg3) {
|
|
24645
24802
|
let deferred0_0;
|
|
24646
24803
|
let deferred0_1;
|
|
24647
24804
|
try {
|
|
@@ -24653,7 +24810,7 @@ function __wbg_get_imports(memory) {
|
|
|
24653
24810
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24654
24811
|
}
|
|
24655
24812
|
},
|
|
24656
|
-
|
|
24813
|
+
__wbg_getAccountHeaderByCommitment_9944282b839bf9b6: function(arg0, arg1, arg2, arg3) {
|
|
24657
24814
|
let deferred0_0;
|
|
24658
24815
|
let deferred0_1;
|
|
24659
24816
|
try {
|
|
@@ -24665,7 +24822,7 @@ function __wbg_get_imports(memory) {
|
|
|
24665
24822
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24666
24823
|
}
|
|
24667
24824
|
},
|
|
24668
|
-
|
|
24825
|
+
__wbg_getAccountHeader_84fb6f83a11e9cea: function(arg0, arg1, arg2, arg3) {
|
|
24669
24826
|
let deferred0_0;
|
|
24670
24827
|
let deferred0_1;
|
|
24671
24828
|
try {
|
|
@@ -24677,7 +24834,7 @@ function __wbg_get_imports(memory) {
|
|
|
24677
24834
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24678
24835
|
}
|
|
24679
24836
|
},
|
|
24680
|
-
|
|
24837
|
+
__wbg_getAccountIdByKeyCommitment_f993328b4b855b21: function(arg0, arg1, arg2, arg3) {
|
|
24681
24838
|
let deferred0_0;
|
|
24682
24839
|
let deferred0_1;
|
|
24683
24840
|
try {
|
|
@@ -24689,11 +24846,11 @@ function __wbg_get_imports(memory) {
|
|
|
24689
24846
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24690
24847
|
}
|
|
24691
24848
|
},
|
|
24692
|
-
|
|
24849
|
+
__wbg_getAccountIds_e80dceb4cc97875f: function(arg0, arg1) {
|
|
24693
24850
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24694
24851
|
return ret;
|
|
24695
24852
|
},
|
|
24696
|
-
|
|
24853
|
+
__wbg_getAccountStorageMaps_e36e581a33dc958a: function(arg0, arg1, arg2, arg3) {
|
|
24697
24854
|
let deferred0_0;
|
|
24698
24855
|
let deferred0_1;
|
|
24699
24856
|
try {
|
|
@@ -24705,7 +24862,7 @@ function __wbg_get_imports(memory) {
|
|
|
24705
24862
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24706
24863
|
}
|
|
24707
24864
|
},
|
|
24708
|
-
|
|
24865
|
+
__wbg_getAccountStorage_50de137ac49bdf17: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24709
24866
|
let deferred0_0;
|
|
24710
24867
|
let deferred0_1;
|
|
24711
24868
|
try {
|
|
@@ -24719,7 +24876,7 @@ function __wbg_get_imports(memory) {
|
|
|
24719
24876
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24720
24877
|
}
|
|
24721
24878
|
},
|
|
24722
|
-
|
|
24879
|
+
__wbg_getAccountVaultAssets_30c74124867dbf56: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24723
24880
|
let deferred0_0;
|
|
24724
24881
|
let deferred0_1;
|
|
24725
24882
|
try {
|
|
@@ -24733,27 +24890,27 @@ function __wbg_get_imports(memory) {
|
|
|
24733
24890
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24734
24891
|
}
|
|
24735
24892
|
},
|
|
24736
|
-
|
|
24893
|
+
__wbg_getAllAccountHeaders_b3e3ae880833a8cc: function(arg0, arg1) {
|
|
24737
24894
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24738
24895
|
return ret;
|
|
24739
24896
|
},
|
|
24740
|
-
|
|
24897
|
+
__wbg_getBlockHeaders_8fa268d7fb3d3c28: function(arg0, arg1, arg2, arg3) {
|
|
24741
24898
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24742
24899
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24743
24900
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24744
24901
|
return ret;
|
|
24745
24902
|
},
|
|
24746
|
-
|
|
24903
|
+
__wbg_getCurrentBlockchainPeaks_ea97e8dd83a3db2f: function(arg0, arg1) {
|
|
24747
24904
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24748
24905
|
return ret;
|
|
24749
24906
|
},
|
|
24750
|
-
|
|
24907
|
+
__wbg_getForeignAccountCode_7de2117da915f4be: function(arg0, arg1, arg2, arg3) {
|
|
24751
24908
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24752
24909
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24753
24910
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24754
24911
|
return ret;
|
|
24755
24912
|
},
|
|
24756
|
-
|
|
24913
|
+
__wbg_getInputNoteByOffset_1cd4bd9db2e38694: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24757
24914
|
let deferred1_0;
|
|
24758
24915
|
let deferred1_1;
|
|
24759
24916
|
try {
|
|
@@ -24767,31 +24924,31 @@ function __wbg_get_imports(memory) {
|
|
|
24767
24924
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24768
24925
|
}
|
|
24769
24926
|
},
|
|
24770
|
-
|
|
24927
|
+
__wbg_getInputNotesFromDetailsCommitments_334d006c0e228205: function(arg0, arg1, arg2, arg3) {
|
|
24771
24928
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24772
24929
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24773
24930
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24774
24931
|
return ret;
|
|
24775
24932
|
},
|
|
24776
|
-
|
|
24933
|
+
__wbg_getInputNotesFromIds_bbaec98ba444d49e: function(arg0, arg1, arg2, arg3) {
|
|
24777
24934
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24778
24935
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24779
24936
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24780
24937
|
return ret;
|
|
24781
24938
|
},
|
|
24782
|
-
|
|
24939
|
+
__wbg_getInputNotesFromNullifiers_dde5b06918045f75: function(arg0, arg1, arg2, arg3) {
|
|
24783
24940
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24784
24941
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24785
24942
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24786
24943
|
return ret;
|
|
24787
24944
|
},
|
|
24788
|
-
|
|
24945
|
+
__wbg_getInputNotes_02d3daccecb4c763: function(arg0, arg1, arg2, arg3) {
|
|
24789
24946
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24790
24947
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24791
24948
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24792
24949
|
return ret;
|
|
24793
24950
|
},
|
|
24794
|
-
|
|
24951
|
+
__wbg_getKeyCommitmentsByAccountId_de5d140392884430: function(arg0, arg1, arg2, arg3) {
|
|
24795
24952
|
let deferred0_0;
|
|
24796
24953
|
let deferred0_1;
|
|
24797
24954
|
try {
|
|
@@ -24803,7 +24960,7 @@ function __wbg_get_imports(memory) {
|
|
|
24803
24960
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24804
24961
|
}
|
|
24805
24962
|
},
|
|
24806
|
-
|
|
24963
|
+
__wbg_getNoteScript_bc2ab9b3b789361a: function(arg0, arg1, arg2, arg3) {
|
|
24807
24964
|
let deferred0_0;
|
|
24808
24965
|
let deferred0_1;
|
|
24809
24966
|
try {
|
|
@@ -24815,39 +24972,39 @@ function __wbg_get_imports(memory) {
|
|
|
24815
24972
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24816
24973
|
}
|
|
24817
24974
|
},
|
|
24818
|
-
|
|
24975
|
+
__wbg_getNoteTags_34a8fb7ffdde9e33: function(arg0, arg1) {
|
|
24819
24976
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24820
24977
|
return ret;
|
|
24821
24978
|
},
|
|
24822
|
-
|
|
24979
|
+
__wbg_getOutputNotesFromDetailsCommitments_6e202d70d207d37f: function(arg0, arg1, arg2, arg3) {
|
|
24823
24980
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24824
24981
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24825
24982
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24826
24983
|
return ret;
|
|
24827
24984
|
},
|
|
24828
|
-
|
|
24985
|
+
__wbg_getOutputNotesFromIds_2b07a4ef2fa3fdd9: function(arg0, arg1, arg2, arg3) {
|
|
24829
24986
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24830
24987
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24831
24988
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24832
24989
|
return ret;
|
|
24833
24990
|
},
|
|
24834
|
-
|
|
24991
|
+
__wbg_getOutputNotesFromNullifiers_f59492590ecad477: function(arg0, arg1, arg2, arg3) {
|
|
24835
24992
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24836
24993
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24837
24994
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24838
24995
|
return ret;
|
|
24839
24996
|
},
|
|
24840
|
-
|
|
24997
|
+
__wbg_getOutputNotes_7ddd237b643a22e2: function(arg0, arg1, arg2, arg3) {
|
|
24841
24998
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24842
24999
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24843
25000
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24844
25001
|
return ret;
|
|
24845
25002
|
},
|
|
24846
|
-
|
|
25003
|
+
__wbg_getPartialBlockchainNodesAll_e2e8c0d62a978ef1: function(arg0, arg1) {
|
|
24847
25004
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24848
25005
|
return ret;
|
|
24849
25006
|
},
|
|
24850
|
-
|
|
25007
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_2f8e8d802df6ede2: function(arg0, arg1, arg2, arg3) {
|
|
24851
25008
|
let deferred0_0;
|
|
24852
25009
|
let deferred0_1;
|
|
24853
25010
|
try {
|
|
@@ -24859,7 +25016,7 @@ function __wbg_get_imports(memory) {
|
|
|
24859
25016
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24860
25017
|
}
|
|
24861
25018
|
},
|
|
24862
|
-
|
|
25019
|
+
__wbg_getPartialBlockchainNodes_4505db840ba96409: function(arg0, arg1, arg2, arg3) {
|
|
24863
25020
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24864
25021
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24865
25022
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24872,7 +25029,7 @@ function __wbg_get_imports(memory) {
|
|
|
24872
25029
|
const ret = arg0.getReader();
|
|
24873
25030
|
return ret;
|
|
24874
25031
|
}, arguments); },
|
|
24875
|
-
|
|
25032
|
+
__wbg_getSetting_62039934dd52148a: function(arg0, arg1, arg2, arg3) {
|
|
24876
25033
|
let deferred0_0;
|
|
24877
25034
|
let deferred0_1;
|
|
24878
25035
|
try {
|
|
@@ -24884,7 +25041,7 @@ function __wbg_get_imports(memory) {
|
|
|
24884
25041
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24885
25042
|
}
|
|
24886
25043
|
},
|
|
24887
|
-
|
|
25044
|
+
__wbg_getSyncHeight_1c355e9af8a6c5c1: function(arg0, arg1) {
|
|
24888
25045
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24889
25046
|
return ret;
|
|
24890
25047
|
},
|
|
@@ -24892,15 +25049,15 @@ function __wbg_get_imports(memory) {
|
|
|
24892
25049
|
const ret = arg0.getTime();
|
|
24893
25050
|
return ret;
|
|
24894
25051
|
},
|
|
24895
|
-
|
|
25052
|
+
__wbg_getTrackedBlockHeaderNumbers_1127c2c0de9e8f2d: function(arg0, arg1) {
|
|
24896
25053
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24897
25054
|
return ret;
|
|
24898
25055
|
},
|
|
24899
|
-
|
|
25056
|
+
__wbg_getTrackedBlockHeaders_0c9acbd5575e41f1: function(arg0, arg1) {
|
|
24900
25057
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24901
25058
|
return ret;
|
|
24902
25059
|
},
|
|
24903
|
-
|
|
25060
|
+
__wbg_getTransactions_71b6f120136d4406: function(arg0, arg1, arg2, arg3) {
|
|
24904
25061
|
let deferred0_0;
|
|
24905
25062
|
let deferred0_1;
|
|
24906
25063
|
try {
|
|
@@ -24912,7 +25069,7 @@ function __wbg_get_imports(memory) {
|
|
|
24912
25069
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24913
25070
|
}
|
|
24914
25071
|
},
|
|
24915
|
-
|
|
25072
|
+
__wbg_getUnspentInputNoteNullifiers_ac153627e18848ab: function(arg0, arg1) {
|
|
24916
25073
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24917
25074
|
return ret;
|
|
24918
25075
|
},
|
|
@@ -24956,7 +25113,7 @@ function __wbg_get_imports(memory) {
|
|
|
24956
25113
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24957
25114
|
return ret;
|
|
24958
25115
|
},
|
|
24959
|
-
|
|
25116
|
+
__wbg_insertAccountAddress_15069fe099e1619e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24960
25117
|
let deferred0_0;
|
|
24961
25118
|
let deferred0_1;
|
|
24962
25119
|
try {
|
|
@@ -24970,7 +25127,7 @@ function __wbg_get_imports(memory) {
|
|
|
24970
25127
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24971
25128
|
}
|
|
24972
25129
|
},
|
|
24973
|
-
|
|
25130
|
+
__wbg_insertAccountAuth_d0cb9c2601ea7324: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24974
25131
|
let deferred0_0;
|
|
24975
25132
|
let deferred0_1;
|
|
24976
25133
|
let deferred1_0;
|
|
@@ -24987,7 +25144,7 @@ function __wbg_get_imports(memory) {
|
|
|
24987
25144
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24988
25145
|
}
|
|
24989
25146
|
},
|
|
24990
|
-
|
|
25147
|
+
__wbg_insertAccountKeyMapping_995e470bad5ead0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24991
25148
|
let deferred0_0;
|
|
24992
25149
|
let deferred0_1;
|
|
24993
25150
|
let deferred1_0;
|
|
@@ -25004,13 +25161,13 @@ function __wbg_get_imports(memory) {
|
|
|
25004
25161
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25005
25162
|
}
|
|
25006
25163
|
},
|
|
25007
|
-
|
|
25164
|
+
__wbg_insertBlockHeader_e5a6e2ded97f2403: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25008
25165
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
25009
25166
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
25010
25167
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
25011
25168
|
return ret;
|
|
25012
25169
|
},
|
|
25013
|
-
|
|
25170
|
+
__wbg_insertPartialBlockchainNodes_d6d5d926855e4d21: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25014
25171
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25015
25172
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25016
25173
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25018,7 +25175,7 @@ function __wbg_get_imports(memory) {
|
|
|
25018
25175
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25019
25176
|
return ret;
|
|
25020
25177
|
},
|
|
25021
|
-
|
|
25178
|
+
__wbg_insertSetting_0b89216c93defa8f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25022
25179
|
let deferred0_0;
|
|
25023
25180
|
let deferred0_1;
|
|
25024
25181
|
try {
|
|
@@ -25032,7 +25189,7 @@ function __wbg_get_imports(memory) {
|
|
|
25032
25189
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25033
25190
|
}
|
|
25034
25191
|
},
|
|
25035
|
-
|
|
25192
|
+
__wbg_insertTransactionScript_25a8761c16b219bb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25036
25193
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25037
25194
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25038
25195
|
let v1;
|
|
@@ -25139,11 +25296,11 @@ function __wbg_get_imports(memory) {
|
|
|
25139
25296
|
const ret = arg0.length;
|
|
25140
25297
|
return ret;
|
|
25141
25298
|
},
|
|
25142
|
-
|
|
25299
|
+
__wbg_listSettingKeys_2b136b1269935560: function(arg0, arg1) {
|
|
25143
25300
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25144
25301
|
return ret;
|
|
25145
25302
|
},
|
|
25146
|
-
|
|
25303
|
+
__wbg_lockAccount_77845432e7766df6: function(arg0, arg1, arg2, arg3) {
|
|
25147
25304
|
let deferred0_0;
|
|
25148
25305
|
let deferred0_1;
|
|
25149
25306
|
try {
|
|
@@ -25362,7 +25519,7 @@ function __wbg_get_imports(memory) {
|
|
|
25362
25519
|
const ret = Array.of(arg0, arg1, arg2);
|
|
25363
25520
|
return ret;
|
|
25364
25521
|
},
|
|
25365
|
-
|
|
25522
|
+
__wbg_openDatabase_2f30006b5f901ff6: function(arg0, arg1, arg2, arg3) {
|
|
25366
25523
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25367
25524
|
return ret;
|
|
25368
25525
|
},
|
|
@@ -25396,7 +25553,7 @@ function __wbg_get_imports(memory) {
|
|
|
25396
25553
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25397
25554
|
return ret;
|
|
25398
25555
|
},
|
|
25399
|
-
|
|
25556
|
+
__wbg_pruneAccountHistory_f92187e012bea002: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25400
25557
|
let deferred0_0;
|
|
25401
25558
|
let deferred0_1;
|
|
25402
25559
|
let deferred1_0;
|
|
@@ -25413,7 +25570,7 @@ function __wbg_get_imports(memory) {
|
|
|
25413
25570
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25414
25571
|
}
|
|
25415
25572
|
},
|
|
25416
|
-
|
|
25573
|
+
__wbg_pruneIrrelevantBlocks_802f17c51c071490: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25417
25574
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25418
25575
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25419
25576
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25443,13 +25600,13 @@ function __wbg_get_imports(memory) {
|
|
|
25443
25600
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25444
25601
|
arg0.releaseLock();
|
|
25445
25602
|
},
|
|
25446
|
-
|
|
25603
|
+
__wbg_removeAccountAddress_26bf46414ef4d36b: function(arg0, arg1, arg2, arg3) {
|
|
25447
25604
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25448
25605
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25449
25606
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25450
25607
|
return ret;
|
|
25451
25608
|
},
|
|
25452
|
-
|
|
25609
|
+
__wbg_removeAccountAuth_eee531cc8fc556ab: function(arg0, arg1, arg2, arg3) {
|
|
25453
25610
|
let deferred0_0;
|
|
25454
25611
|
let deferred0_1;
|
|
25455
25612
|
try {
|
|
@@ -25461,7 +25618,7 @@ function __wbg_get_imports(memory) {
|
|
|
25461
25618
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25462
25619
|
}
|
|
25463
25620
|
},
|
|
25464
|
-
|
|
25621
|
+
__wbg_removeAllMappingsForKey_bb2ce4d992b13353: function(arg0, arg1, arg2, arg3) {
|
|
25465
25622
|
let deferred0_0;
|
|
25466
25623
|
let deferred0_1;
|
|
25467
25624
|
try {
|
|
@@ -25473,7 +25630,7 @@ function __wbg_get_imports(memory) {
|
|
|
25473
25630
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25474
25631
|
}
|
|
25475
25632
|
},
|
|
25476
|
-
|
|
25633
|
+
__wbg_removeNoteTag_ce18a2071a471486: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25477
25634
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25478
25635
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25479
25636
|
let v1;
|
|
@@ -25494,7 +25651,7 @@ function __wbg_get_imports(memory) {
|
|
|
25494
25651
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25495
25652
|
return ret;
|
|
25496
25653
|
},
|
|
25497
|
-
|
|
25654
|
+
__wbg_removeSetting_a6764e1ec62f8c0f: function(arg0, arg1, arg2, arg3) {
|
|
25498
25655
|
let deferred0_0;
|
|
25499
25656
|
let deferred0_1;
|
|
25500
25657
|
try {
|
|
@@ -25704,13 +25861,13 @@ function __wbg_get_imports(memory) {
|
|
|
25704
25861
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25705
25862
|
return ret;
|
|
25706
25863
|
},
|
|
25707
|
-
|
|
25864
|
+
__wbg_undoAccountStates_829a6daf4a392818: function(arg0, arg1, arg2, arg3) {
|
|
25708
25865
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25709
25866
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25710
25867
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25711
25868
|
return ret;
|
|
25712
25869
|
},
|
|
25713
|
-
|
|
25870
|
+
__wbg_upsertAccountCode_f24cee98a5bbbfe5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25714
25871
|
let deferred0_0;
|
|
25715
25872
|
let deferred0_1;
|
|
25716
25873
|
try {
|
|
@@ -25724,7 +25881,7 @@ function __wbg_get_imports(memory) {
|
|
|
25724
25881
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25725
25882
|
}
|
|
25726
25883
|
},
|
|
25727
|
-
|
|
25884
|
+
__wbg_upsertAccountRecord_f616812a7dd3d5a1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25728
25885
|
let deferred0_0;
|
|
25729
25886
|
let deferred0_1;
|
|
25730
25887
|
let deferred1_0;
|
|
@@ -25766,7 +25923,7 @@ function __wbg_get_imports(memory) {
|
|
|
25766
25923
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25767
25924
|
}
|
|
25768
25925
|
},
|
|
25769
|
-
|
|
25926
|
+
__wbg_upsertAccountStorage_4f3a4494f26975fb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25770
25927
|
let deferred0_0;
|
|
25771
25928
|
let deferred0_1;
|
|
25772
25929
|
try {
|
|
@@ -25780,7 +25937,7 @@ function __wbg_get_imports(memory) {
|
|
|
25780
25937
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25781
25938
|
}
|
|
25782
25939
|
},
|
|
25783
|
-
|
|
25940
|
+
__wbg_upsertForeignAccountCode_6595b4d97e610669: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25784
25941
|
let deferred0_0;
|
|
25785
25942
|
let deferred0_1;
|
|
25786
25943
|
let deferred2_0;
|
|
@@ -25799,7 +25956,7 @@ function __wbg_get_imports(memory) {
|
|
|
25799
25956
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25800
25957
|
}
|
|
25801
25958
|
},
|
|
25802
|
-
|
|
25959
|
+
__wbg_upsertInputNote_850c7540f297f4d4: 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
25960
|
let deferred0_0;
|
|
25804
25961
|
let deferred0_1;
|
|
25805
25962
|
let deferred6_0;
|
|
@@ -25848,7 +26005,7 @@ function __wbg_get_imports(memory) {
|
|
|
25848
26005
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25849
26006
|
}
|
|
25850
26007
|
},
|
|
25851
|
-
|
|
26008
|
+
__wbg_upsertNoteScript_d946217575ba5025: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25852
26009
|
let deferred0_0;
|
|
25853
26010
|
let deferred0_1;
|
|
25854
26011
|
try {
|
|
@@ -25862,7 +26019,7 @@ function __wbg_get_imports(memory) {
|
|
|
25862
26019
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25863
26020
|
}
|
|
25864
26021
|
},
|
|
25865
|
-
|
|
26022
|
+
__wbg_upsertOutputNote_907da49377d56a48: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25866
26023
|
let deferred0_0;
|
|
25867
26024
|
let deferred0_1;
|
|
25868
26025
|
let deferred1_0;
|
|
@@ -25897,7 +26054,7 @@ function __wbg_get_imports(memory) {
|
|
|
25897
26054
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25898
26055
|
}
|
|
25899
26056
|
},
|
|
25900
|
-
|
|
26057
|
+
__wbg_upsertStorageMapEntries_6bf2d15ad885daf0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25901
26058
|
let deferred0_0;
|
|
25902
26059
|
let deferred0_1;
|
|
25903
26060
|
try {
|
|
@@ -25911,7 +26068,7 @@ function __wbg_get_imports(memory) {
|
|
|
25911
26068
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25912
26069
|
}
|
|
25913
26070
|
},
|
|
25914
|
-
|
|
26071
|
+
__wbg_upsertTransactionRecord_0b4dbeb561124c59: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25915
26072
|
let deferred0_0;
|
|
25916
26073
|
let deferred0_1;
|
|
25917
26074
|
try {
|
|
@@ -25932,7 +26089,7 @@ function __wbg_get_imports(memory) {
|
|
|
25932
26089
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25933
26090
|
}
|
|
25934
26091
|
},
|
|
25935
|
-
|
|
26092
|
+
__wbg_upsertVaultAssets_55f07579c9e0113e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25936
26093
|
let deferred0_0;
|
|
25937
26094
|
let deferred0_1;
|
|
25938
26095
|
try {
|
|
@@ -25985,7 +26142,7 @@ function __wbg_get_imports(memory) {
|
|
|
25985
26142
|
return ret;
|
|
25986
26143
|
},
|
|
25987
26144
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
25988
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [], shim_idx:
|
|
26145
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25989
26146
|
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
26147
|
return ret;
|
|
25991
26148
|
},
|
|
@@ -26980,6 +27137,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26980
27137
|
Address: Address,
|
|
26981
27138
|
AdviceInputs: AdviceInputs,
|
|
26982
27139
|
AdviceMap: AdviceMap,
|
|
27140
|
+
AssetCallbackFlag: AssetCallbackFlag,
|
|
26983
27141
|
AssetVault: AssetVault,
|
|
26984
27142
|
AuthFalcon512RpoMultisigConfig: AuthFalcon512RpoMultisigConfig,
|
|
26985
27143
|
AuthScheme: AuthScheme,
|
|
@@ -27123,5 +27281,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
27123
27281
|
|
|
27124
27282
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
27125
27283
|
|
|
27126
|
-
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, module$1 as __wasm_url, __wbg_init, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker };
|
|
27127
|
-
//# sourceMappingURL=Cargo-
|
|
27284
|
+
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, AssetCallbackFlag, 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, module$1 as __wasm_url, __wbg_init, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker };
|
|
27285
|
+
//# sourceMappingURL=Cargo-CnGom-_z-X_3VwTbo.js.map
|