@miden-sdk/miden-sdk 0.15.4 → 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 +29 -0
- package/dist/mt/{Cargo-DjVnfWKi.js → Cargo-mvyTli7g.js} +364 -88
- package/dist/mt/Cargo-mvyTli7g.js.map +1 -0
- package/dist/mt/api-types.d.ts +59 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +108 -1
- package/dist/mt/docs-entry.d.ts +1 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +92 -1
- 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-DjVnfWKi-DvLbB_Zb.js → Cargo-mvyTli7g-BwMMSyoq.js} +364 -88
- 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 +365 -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-Cwpuvlbc.js → Cargo-Cysp4vto.js} +371 -96
- package/dist/st/Cargo-Cysp4vto.js.map +1 -0
- package/dist/st/api-types.d.ts +59 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +108 -1
- package/dist/st/docs-entry.d.ts +1 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +92 -1
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-Cwpuvlbc-B0V_MEMU.js → Cargo-Cysp4vto-BIw-TeJn.js} +371 -96
- 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 +372 -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 +3 -0
- package/js/resources/transactions.js +91 -0
- package/js/standalone.js +61 -0
- package/package.json +4 -4
- package/dist/mt/Cargo-DjVnfWKi.js.map +0 -1
- package/dist/mt/workers/Cargo-DjVnfWKi-DvLbB_Zb.js.map +0 -1
- package/dist/st/Cargo-Cwpuvlbc.js.map +0 -1
- package/dist/st/workers/Cargo-Cwpuvlbc-B0V_MEMU.js.map +0 -1
|
@@ -8264,7 +8264,9 @@ function indexes(...items) {
|
|
|
8264
8264
|
return items.join(",");
|
|
8265
8265
|
}
|
|
8266
8266
|
/** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
|
|
8267
|
-
* never be modified — all schema changes should go through new version blocks instead.
|
|
8267
|
+
* never be modified — all schema changes should go through new version blocks instead.
|
|
8268
|
+
* Exported for migration tests, which seed a physical v1 database before opening it with the
|
|
8269
|
+
* current version chain. */
|
|
8268
8270
|
const V1_STORES = {
|
|
8269
8271
|
[Table.AccountCode]: indexes("root"),
|
|
8270
8272
|
[Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
|
|
@@ -8319,11 +8321,12 @@ class MidenDatabase {
|
|
|
8319
8321
|
this.dexie = new Dexie(network);
|
|
8320
8322
|
// --- Schema versioning ---
|
|
8321
8323
|
//
|
|
8322
|
-
// NOTE:
|
|
8323
|
-
//
|
|
8324
|
-
//
|
|
8325
|
-
//
|
|
8326
|
-
// be
|
|
8324
|
+
// NOTE: Migrations coexist with the client-version nuke: the database is
|
|
8325
|
+
// still nuked on major/minor client-version changes (network resets — see
|
|
8326
|
+
// ensureClientVersion), while Dexie version blocks below handle schema and
|
|
8327
|
+
// data fixes for stores that survive patch upgrades. Once the network
|
|
8328
|
+
// stabilizes and data can be preserved across all upgrades, the
|
|
8329
|
+
// version-change nuke will be removed and migrations alone will take over.
|
|
8327
8330
|
//
|
|
8328
8331
|
// v1 is the baseline schema. To add a migration:
|
|
8329
8332
|
// 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
|
|
@@ -8355,12 +8358,43 @@ class MidenDatabase {
|
|
|
8355
8358
|
// Note: The `populate` hook (below the version blocks) only fires on
|
|
8356
8359
|
// first database creation, NOT during upgrades.
|
|
8357
8360
|
//
|
|
8358
|
-
//
|
|
8359
|
-
//
|
|
8360
|
-
//
|
|
8361
|
-
//
|
|
8362
|
-
// 3. Add version(2+) blocks below for all schema changes going forward.
|
|
8361
|
+
// Version blocks exist below, so V1_STORES is frozen — never modify it;
|
|
8362
|
+
// add a new version block instead. To retire the nuke entirely (once data
|
|
8363
|
+
// must survive major/minor upgrades), remove the close/delete/open logic
|
|
8364
|
+
// in ensureClientVersion and just persist the new version there.
|
|
8363
8365
|
this.dexie.version(1).stores(V1_STORES);
|
|
8366
|
+
// v2 (miden-client 0.15.4): prune note tags leaked by output-note
|
|
8367
|
+
// registration. Mirrors sqlite-store migration
|
|
8368
|
+
// `0002_prune_output_note_tags.sql`. Clients built against miden-client
|
|
8369
|
+
// < 0.15.4 registered a `Note`-sourced tag for every output note a
|
|
8370
|
+
// transaction created, but sync cleanup only removes tags of committed
|
|
8371
|
+
// *input* notes — leaking one `tags` row per created note. The client no
|
|
8372
|
+
// longer registers those tags; this upgrade deletes the rows already
|
|
8373
|
+
// leaked. A tag is kept while an inclusion-pending input note
|
|
8374
|
+
// (Expected = 0, Unverified = 1 — the mirror of
|
|
8375
|
+
// `InputNoteRecord::is_inclusion_pending`) still needs it.
|
|
8376
|
+
//
|
|
8377
|
+
// This data-only fix coexists with the version-change nuke above: the
|
|
8378
|
+
// nuke covers major/minor client upgrades (network resets), while this
|
|
8379
|
+
// upgrade runs for stores preserved across patch upgrades.
|
|
8380
|
+
this.dexie
|
|
8381
|
+
.version(2)
|
|
8382
|
+
.stores({})
|
|
8383
|
+
.upgrade(async (tx) => {
|
|
8384
|
+
const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
|
|
8385
|
+
if (outputNoteCommitments.size === 0) {
|
|
8386
|
+
return;
|
|
8387
|
+
}
|
|
8388
|
+
const pendingInputNoteCommitments = new Set(await tx.inputNotes
|
|
8389
|
+
.where("stateDiscriminant")
|
|
8390
|
+
.anyOf([0, 1])
|
|
8391
|
+
.primaryKeys());
|
|
8392
|
+
await tx.tags
|
|
8393
|
+
.filter((tag) => !!tag.sourceNoteId &&
|
|
8394
|
+
outputNoteCommitments.has(tag.sourceNoteId) &&
|
|
8395
|
+
!pendingInputNoteCommitments.has(tag.sourceNoteId))
|
|
8396
|
+
.delete();
|
|
8397
|
+
});
|
|
8364
8398
|
this.accountCodes = this.dexie.table(Table.AccountCode);
|
|
8365
8399
|
this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
|
|
8366
8400
|
this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
|
|
@@ -10740,6 +10774,17 @@ class Account {
|
|
|
10740
10774
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
10741
10775
|
return ret !== 0;
|
|
10742
10776
|
}
|
|
10777
|
+
/**
|
|
10778
|
+
* Returns true if this is a network account.
|
|
10779
|
+
*
|
|
10780
|
+
* A network account is a public account whose storage
|
|
10781
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
10782
|
+
* @returns {boolean}
|
|
10783
|
+
*/
|
|
10784
|
+
isNetworkAccount() {
|
|
10785
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
10786
|
+
return ret !== 0;
|
|
10787
|
+
}
|
|
10743
10788
|
/**
|
|
10744
10789
|
* Returns true if the account has not yet been committed to the chain.
|
|
10745
10790
|
* @returns {boolean}
|
|
@@ -10772,6 +10817,20 @@ class Account {
|
|
|
10772
10817
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
10773
10818
|
return ret !== 0;
|
|
10774
10819
|
}
|
|
10820
|
+
/**
|
|
10821
|
+
* Returns the note-script roots this network account is allowed to
|
|
10822
|
+
* consume, or `undefined` if this is not a network account.
|
|
10823
|
+
* @returns {Word[] | undefined}
|
|
10824
|
+
*/
|
|
10825
|
+
networkNoteAllowlist() {
|
|
10826
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
10827
|
+
let v1;
|
|
10828
|
+
if (ret[0] !== 0) {
|
|
10829
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
10830
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
10831
|
+
}
|
|
10832
|
+
return v1;
|
|
10833
|
+
}
|
|
10775
10834
|
/**
|
|
10776
10835
|
* Returns the account nonce, which is incremented on every state update.
|
|
10777
10836
|
* @returns {Felt}
|
|
@@ -11151,6 +11210,42 @@ class AccountComponent {
|
|
|
11151
11210
|
}
|
|
11152
11211
|
return AccountComponent.__wrap(ret[0]);
|
|
11153
11212
|
}
|
|
11213
|
+
/**
|
|
11214
|
+
* Builds the auth component for a network account.
|
|
11215
|
+
*
|
|
11216
|
+
* A network account is a public account carrying this component: its
|
|
11217
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11218
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11219
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11220
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11221
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11222
|
+
*
|
|
11223
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11224
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11225
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11226
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11227
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11228
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11229
|
+
* (arbitrary) transaction submitter controls.
|
|
11230
|
+
*
|
|
11231
|
+
* # Errors
|
|
11232
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11233
|
+
* allowlisted note scripts could never consume a note.
|
|
11234
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11235
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11236
|
+
* @returns {AccountComponent}
|
|
11237
|
+
*/
|
|
11238
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11239
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11240
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11241
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11242
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11243
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11244
|
+
if (ret[2]) {
|
|
11245
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11246
|
+
}
|
|
11247
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11248
|
+
}
|
|
11154
11249
|
/**
|
|
11155
11250
|
* Creates an account component from a compiled library and storage slots.
|
|
11156
11251
|
* @param {Library} library
|
|
@@ -13339,7 +13434,7 @@ class CodeBuilder {
|
|
|
13339
13434
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13340
13435
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13341
13436
|
* this can be used from another script with an import statement, following the
|
|
13342
|
-
* previous example: `use miden::my_contract
|
|
13437
|
+
* previous example: `use miden::my_contract`.
|
|
13343
13438
|
* @param {string} library_path
|
|
13344
13439
|
* @param {string} source_code
|
|
13345
13440
|
* @returns {Library}
|
|
@@ -14896,6 +14991,16 @@ class InputNoteRecord {
|
|
|
14896
14991
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
14897
14992
|
return ret !== 0;
|
|
14898
14993
|
}
|
|
14994
|
+
/**
|
|
14995
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
14996
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
14997
|
+
* advance this record.
|
|
14998
|
+
* @returns {boolean}
|
|
14999
|
+
*/
|
|
15000
|
+
isInclusionPending() {
|
|
15001
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15002
|
+
return ret !== 0;
|
|
15003
|
+
}
|
|
14899
15004
|
/**
|
|
14900
15005
|
* Returns true if the note is currently being processed.
|
|
14901
15006
|
* @returns {boolean}
|
|
@@ -16182,6 +16287,97 @@ class MerklePath {
|
|
|
16182
16287
|
}
|
|
16183
16288
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
16184
16289
|
|
|
16290
|
+
/**
|
|
16291
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16292
|
+
*
|
|
16293
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16294
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16295
|
+
*/
|
|
16296
|
+
class NetworkAccountTarget {
|
|
16297
|
+
static __wrap(ptr) {
|
|
16298
|
+
ptr = ptr >>> 0;
|
|
16299
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16300
|
+
obj.__wbg_ptr = ptr;
|
|
16301
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16302
|
+
return obj;
|
|
16303
|
+
}
|
|
16304
|
+
__destroy_into_raw() {
|
|
16305
|
+
const ptr = this.__wbg_ptr;
|
|
16306
|
+
this.__wbg_ptr = 0;
|
|
16307
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16308
|
+
return ptr;
|
|
16309
|
+
}
|
|
16310
|
+
free() {
|
|
16311
|
+
const ptr = this.__destroy_into_raw();
|
|
16312
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16313
|
+
}
|
|
16314
|
+
/**
|
|
16315
|
+
* Returns the note execution hint.
|
|
16316
|
+
* @returns {NoteExecutionHint}
|
|
16317
|
+
*/
|
|
16318
|
+
executionHint() {
|
|
16319
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16320
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16321
|
+
}
|
|
16322
|
+
/**
|
|
16323
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16324
|
+
*
|
|
16325
|
+
* # Errors
|
|
16326
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16327
|
+
* @param {NoteAttachment} attachment
|
|
16328
|
+
* @returns {NetworkAccountTarget}
|
|
16329
|
+
*/
|
|
16330
|
+
static fromAttachment(attachment) {
|
|
16331
|
+
_assertClass(attachment, NoteAttachment);
|
|
16332
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16333
|
+
if (ret[2]) {
|
|
16334
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16335
|
+
}
|
|
16336
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16337
|
+
}
|
|
16338
|
+
/**
|
|
16339
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16340
|
+
* to `NoteExecutionHint.always()`.
|
|
16341
|
+
*
|
|
16342
|
+
* # Errors
|
|
16343
|
+
* Errors if `account_id` is not a public account.
|
|
16344
|
+
* @param {AccountId} account_id
|
|
16345
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16346
|
+
*/
|
|
16347
|
+
constructor(account_id, execution_hint) {
|
|
16348
|
+
_assertClass(account_id, AccountId);
|
|
16349
|
+
let ptr0 = 0;
|
|
16350
|
+
if (!isLikeNone(execution_hint)) {
|
|
16351
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16352
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16353
|
+
}
|
|
16354
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16355
|
+
if (ret[2]) {
|
|
16356
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16357
|
+
}
|
|
16358
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16359
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16360
|
+
return this;
|
|
16361
|
+
}
|
|
16362
|
+
/**
|
|
16363
|
+
* Returns the targeted network account id.
|
|
16364
|
+
* @returns {AccountId}
|
|
16365
|
+
*/
|
|
16366
|
+
targetId() {
|
|
16367
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16368
|
+
return AccountId.__wrap(ret);
|
|
16369
|
+
}
|
|
16370
|
+
/**
|
|
16371
|
+
* Encodes this target as a `NoteAttachment`.
|
|
16372
|
+
* @returns {NoteAttachment}
|
|
16373
|
+
*/
|
|
16374
|
+
toAttachment() {
|
|
16375
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
16376
|
+
return NoteAttachment.__wrap(ret);
|
|
16377
|
+
}
|
|
16378
|
+
}
|
|
16379
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
16380
|
+
|
|
16185
16381
|
/**
|
|
16186
16382
|
* The identifier of a Miden network.
|
|
16187
16383
|
*/
|
|
@@ -16375,6 +16571,16 @@ class Note {
|
|
|
16375
16571
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
16376
16572
|
return NoteAssets.__wrap(ret);
|
|
16377
16573
|
}
|
|
16574
|
+
/**
|
|
16575
|
+
* Returns the note's attachments.
|
|
16576
|
+
* @returns {NoteAttachment[]}
|
|
16577
|
+
*/
|
|
16578
|
+
attachments() {
|
|
16579
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
16580
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
16581
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
16582
|
+
return v1;
|
|
16583
|
+
}
|
|
16378
16584
|
/**
|
|
16379
16585
|
* Returns the commitment to the note (its ID).
|
|
16380
16586
|
*
|
|
@@ -16476,6 +16682,15 @@ class Note {
|
|
|
16476
16682
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16477
16683
|
return NoteId.__wrap(ret);
|
|
16478
16684
|
}
|
|
16685
|
+
/**
|
|
16686
|
+
* Returns true if the note is a network note (public + a valid
|
|
16687
|
+
* `NetworkAccountTarget` attachment).
|
|
16688
|
+
* @returns {boolean}
|
|
16689
|
+
*/
|
|
16690
|
+
isNetworkNote() {
|
|
16691
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
16692
|
+
return ret !== 0;
|
|
16693
|
+
}
|
|
16479
16694
|
/**
|
|
16480
16695
|
* Returns the public metadata associated with the note.
|
|
16481
16696
|
* @returns {NoteMetadata}
|
|
@@ -16535,6 +16750,30 @@ class Note {
|
|
|
16535
16750
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
16536
16751
|
return ret;
|
|
16537
16752
|
}
|
|
16753
|
+
/**
|
|
16754
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
16755
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
16756
|
+
*
|
|
16757
|
+
* # Errors
|
|
16758
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
16759
|
+
* @param {NoteAssets} note_assets
|
|
16760
|
+
* @param {NoteMetadata} note_metadata
|
|
16761
|
+
* @param {NoteRecipient} note_recipient
|
|
16762
|
+
* @param {NoteAttachment[]} attachments
|
|
16763
|
+
* @returns {Note}
|
|
16764
|
+
*/
|
|
16765
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
16766
|
+
_assertClass(note_assets, NoteAssets);
|
|
16767
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
16768
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
16769
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
16770
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16771
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
16772
|
+
if (ret[2]) {
|
|
16773
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16774
|
+
}
|
|
16775
|
+
return Note.__wrap(ret[0]);
|
|
16776
|
+
}
|
|
16538
16777
|
}
|
|
16539
16778
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
16540
16779
|
|
|
@@ -16802,6 +17041,12 @@ class NoteAttachment {
|
|
|
16802
17041
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16803
17042
|
return obj;
|
|
16804
17043
|
}
|
|
17044
|
+
static __unwrap(jsValue) {
|
|
17045
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
17046
|
+
return 0;
|
|
17047
|
+
}
|
|
17048
|
+
return jsValue.__destroy_into_raw();
|
|
17049
|
+
}
|
|
16805
17050
|
__destroy_into_raw() {
|
|
16806
17051
|
const ptr = this.__wbg_ptr;
|
|
16807
17052
|
this.__wbg_ptr = 0;
|
|
@@ -18032,6 +18277,19 @@ class NoteRecipient {
|
|
|
18032
18277
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
18033
18278
|
return Word.__wrap(ret);
|
|
18034
18279
|
}
|
|
18280
|
+
/**
|
|
18281
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18282
|
+
* serial number (the secret that prevents double-spends).
|
|
18283
|
+
* @param {NoteScript} note_script
|
|
18284
|
+
* @param {NoteStorage} storage
|
|
18285
|
+
* @returns {NoteRecipient}
|
|
18286
|
+
*/
|
|
18287
|
+
static fromScript(note_script, storage) {
|
|
18288
|
+
_assertClass(note_script, NoteScript);
|
|
18289
|
+
_assertClass(storage, NoteStorage);
|
|
18290
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18291
|
+
return NoteRecipient.__wrap(ret);
|
|
18292
|
+
}
|
|
18035
18293
|
/**
|
|
18036
18294
|
* Creates a note recipient from its serial number, script, and storage.
|
|
18037
18295
|
* @param {Word} serial_num
|
|
@@ -18754,6 +19012,16 @@ class OutputNoteRecord {
|
|
|
18754
19012
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
18755
19013
|
return ret !== 0;
|
|
18756
19014
|
}
|
|
19015
|
+
/**
|
|
19016
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19017
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19018
|
+
* that can advance this record.
|
|
19019
|
+
* @returns {boolean}
|
|
19020
|
+
*/
|
|
19021
|
+
isInclusionPending() {
|
|
19022
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19023
|
+
return ret !== 0;
|
|
19024
|
+
}
|
|
18757
19025
|
/**
|
|
18758
19026
|
* Returns the note metadata.
|
|
18759
19027
|
* @returns {NoteMetadata}
|
|
@@ -23990,7 +24258,7 @@ function __wbg_get_imports() {
|
|
|
23990
24258
|
const ret = AccountStorage.__wrap(arg0);
|
|
23991
24259
|
return ret;
|
|
23992
24260
|
},
|
|
23993
|
-
|
|
24261
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
23994
24262
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23995
24263
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23996
24264
|
let v1;
|
|
@@ -24018,25 +24286,25 @@ function __wbg_get_imports() {
|
|
|
24018
24286
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24019
24287
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24020
24288
|
}, arguments); },
|
|
24021
|
-
|
|
24289
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
24022
24290
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24023
24291
|
return ret;
|
|
24024
24292
|
},
|
|
24025
|
-
|
|
24293
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
24026
24294
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24027
24295
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24028
24296
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24029
24297
|
return ret;
|
|
24030
24298
|
},
|
|
24031
|
-
|
|
24299
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
24032
24300
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24033
24301
|
return ret;
|
|
24034
24302
|
},
|
|
24035
|
-
|
|
24303
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
24036
24304
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24037
24305
|
return ret;
|
|
24038
24306
|
},
|
|
24039
|
-
|
|
24307
|
+
__wbg_applyTransactionDelta_93fac37bf6e15192: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24040
24308
|
let deferred0_0;
|
|
24041
24309
|
let deferred0_1;
|
|
24042
24310
|
let deferred1_0;
|
|
@@ -24175,7 +24443,7 @@ function __wbg_get_imports() {
|
|
|
24175
24443
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24176
24444
|
}
|
|
24177
24445
|
},
|
|
24178
|
-
|
|
24446
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
24179
24447
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24180
24448
|
return ret;
|
|
24181
24449
|
},
|
|
@@ -24207,7 +24475,7 @@ function __wbg_get_imports() {
|
|
|
24207
24475
|
const ret = FetchedNote.__wrap(arg0);
|
|
24208
24476
|
return ret;
|
|
24209
24477
|
},
|
|
24210
|
-
|
|
24478
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
24211
24479
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24212
24480
|
return ret;
|
|
24213
24481
|
},
|
|
@@ -24231,7 +24499,7 @@ function __wbg_get_imports() {
|
|
|
24231
24499
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24232
24500
|
return ret;
|
|
24233
24501
|
},
|
|
24234
|
-
|
|
24502
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
24235
24503
|
let deferred0_0;
|
|
24236
24504
|
let deferred0_1;
|
|
24237
24505
|
try {
|
|
@@ -24243,7 +24511,7 @@ function __wbg_get_imports() {
|
|
|
24243
24511
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24244
24512
|
}
|
|
24245
24513
|
},
|
|
24246
|
-
|
|
24514
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
24247
24515
|
let deferred0_0;
|
|
24248
24516
|
let deferred0_1;
|
|
24249
24517
|
try {
|
|
@@ -24255,7 +24523,7 @@ function __wbg_get_imports() {
|
|
|
24255
24523
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24256
24524
|
}
|
|
24257
24525
|
},
|
|
24258
|
-
|
|
24526
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
24259
24527
|
let deferred0_0;
|
|
24260
24528
|
let deferred0_1;
|
|
24261
24529
|
try {
|
|
@@ -24267,7 +24535,7 @@ function __wbg_get_imports() {
|
|
|
24267
24535
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24268
24536
|
}
|
|
24269
24537
|
},
|
|
24270
|
-
|
|
24538
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
24271
24539
|
let deferred0_0;
|
|
24272
24540
|
let deferred0_1;
|
|
24273
24541
|
try {
|
|
@@ -24279,7 +24547,7 @@ function __wbg_get_imports() {
|
|
|
24279
24547
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24280
24548
|
}
|
|
24281
24549
|
},
|
|
24282
|
-
|
|
24550
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
24283
24551
|
let deferred0_0;
|
|
24284
24552
|
let deferred0_1;
|
|
24285
24553
|
try {
|
|
@@ -24291,7 +24559,7 @@ function __wbg_get_imports() {
|
|
|
24291
24559
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24292
24560
|
}
|
|
24293
24561
|
},
|
|
24294
|
-
|
|
24562
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
24295
24563
|
let deferred0_0;
|
|
24296
24564
|
let deferred0_1;
|
|
24297
24565
|
try {
|
|
@@ -24303,11 +24571,11 @@ function __wbg_get_imports() {
|
|
|
24303
24571
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24304
24572
|
}
|
|
24305
24573
|
},
|
|
24306
|
-
|
|
24574
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
24307
24575
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24308
24576
|
return ret;
|
|
24309
24577
|
},
|
|
24310
|
-
|
|
24578
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
24311
24579
|
let deferred0_0;
|
|
24312
24580
|
let deferred0_1;
|
|
24313
24581
|
try {
|
|
@@ -24319,7 +24587,7 @@ function __wbg_get_imports() {
|
|
|
24319
24587
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24320
24588
|
}
|
|
24321
24589
|
},
|
|
24322
|
-
|
|
24590
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24323
24591
|
let deferred0_0;
|
|
24324
24592
|
let deferred0_1;
|
|
24325
24593
|
try {
|
|
@@ -24333,7 +24601,7 @@ function __wbg_get_imports() {
|
|
|
24333
24601
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24334
24602
|
}
|
|
24335
24603
|
},
|
|
24336
|
-
|
|
24604
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24337
24605
|
let deferred0_0;
|
|
24338
24606
|
let deferred0_1;
|
|
24339
24607
|
try {
|
|
@@ -24347,27 +24615,27 @@ function __wbg_get_imports() {
|
|
|
24347
24615
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24348
24616
|
}
|
|
24349
24617
|
},
|
|
24350
|
-
|
|
24618
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
24351
24619
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24352
24620
|
return ret;
|
|
24353
24621
|
},
|
|
24354
|
-
|
|
24622
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
24355
24623
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24356
24624
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24357
24625
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24358
24626
|
return ret;
|
|
24359
24627
|
},
|
|
24360
|
-
|
|
24628
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
24361
24629
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24362
24630
|
return ret;
|
|
24363
24631
|
},
|
|
24364
|
-
|
|
24632
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
24365
24633
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24366
24634
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24367
24635
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24368
24636
|
return ret;
|
|
24369
24637
|
},
|
|
24370
|
-
|
|
24638
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24371
24639
|
let deferred1_0;
|
|
24372
24640
|
let deferred1_1;
|
|
24373
24641
|
try {
|
|
@@ -24381,31 +24649,31 @@ function __wbg_get_imports() {
|
|
|
24381
24649
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24382
24650
|
}
|
|
24383
24651
|
},
|
|
24384
|
-
|
|
24652
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
24385
24653
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24386
24654
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24387
24655
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24388
24656
|
return ret;
|
|
24389
24657
|
},
|
|
24390
|
-
|
|
24658
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
24391
24659
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24392
24660
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24393
24661
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24394
24662
|
return ret;
|
|
24395
24663
|
},
|
|
24396
|
-
|
|
24664
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
24397
24665
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24398
24666
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24399
24667
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24400
24668
|
return ret;
|
|
24401
24669
|
},
|
|
24402
|
-
|
|
24670
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
|
|
24403
24671
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24404
24672
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24405
24673
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24406
24674
|
return ret;
|
|
24407
24675
|
},
|
|
24408
|
-
|
|
24676
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
|
|
24409
24677
|
let deferred0_0;
|
|
24410
24678
|
let deferred0_1;
|
|
24411
24679
|
try {
|
|
@@ -24417,7 +24685,7 @@ function __wbg_get_imports() {
|
|
|
24417
24685
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24418
24686
|
}
|
|
24419
24687
|
},
|
|
24420
|
-
|
|
24688
|
+
__wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
24421
24689
|
let deferred0_0;
|
|
24422
24690
|
let deferred0_1;
|
|
24423
24691
|
try {
|
|
@@ -24429,39 +24697,39 @@ function __wbg_get_imports() {
|
|
|
24429
24697
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24430
24698
|
}
|
|
24431
24699
|
},
|
|
24432
|
-
|
|
24700
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
24433
24701
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24434
24702
|
return ret;
|
|
24435
24703
|
},
|
|
24436
|
-
|
|
24704
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
24437
24705
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24438
24706
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24439
24707
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24440
24708
|
return ret;
|
|
24441
24709
|
},
|
|
24442
|
-
|
|
24710
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
24443
24711
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24444
24712
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24445
24713
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24446
24714
|
return ret;
|
|
24447
24715
|
},
|
|
24448
|
-
|
|
24716
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
24449
24717
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24450
24718
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24451
24719
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24452
24720
|
return ret;
|
|
24453
24721
|
},
|
|
24454
|
-
|
|
24722
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
24455
24723
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24456
24724
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24457
24725
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24458
24726
|
return ret;
|
|
24459
24727
|
},
|
|
24460
|
-
|
|
24728
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
24461
24729
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24462
24730
|
return ret;
|
|
24463
24731
|
},
|
|
24464
|
-
|
|
24732
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
24465
24733
|
let deferred0_0;
|
|
24466
24734
|
let deferred0_1;
|
|
24467
24735
|
try {
|
|
@@ -24473,7 +24741,7 @@ function __wbg_get_imports() {
|
|
|
24473
24741
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24474
24742
|
}
|
|
24475
24743
|
},
|
|
24476
|
-
|
|
24744
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
24477
24745
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24478
24746
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24479
24747
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24486,7 +24754,7 @@ function __wbg_get_imports() {
|
|
|
24486
24754
|
const ret = arg0.getReader();
|
|
24487
24755
|
return ret;
|
|
24488
24756
|
}, arguments); },
|
|
24489
|
-
|
|
24757
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
24490
24758
|
let deferred0_0;
|
|
24491
24759
|
let deferred0_1;
|
|
24492
24760
|
try {
|
|
@@ -24498,7 +24766,7 @@ function __wbg_get_imports() {
|
|
|
24498
24766
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24499
24767
|
}
|
|
24500
24768
|
},
|
|
24501
|
-
|
|
24769
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
24502
24770
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24503
24771
|
return ret;
|
|
24504
24772
|
},
|
|
@@ -24506,15 +24774,15 @@ function __wbg_get_imports() {
|
|
|
24506
24774
|
const ret = arg0.getTime();
|
|
24507
24775
|
return ret;
|
|
24508
24776
|
},
|
|
24509
|
-
|
|
24777
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
24510
24778
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24511
24779
|
return ret;
|
|
24512
24780
|
},
|
|
24513
|
-
|
|
24781
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
24514
24782
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24515
24783
|
return ret;
|
|
24516
24784
|
},
|
|
24517
|
-
|
|
24785
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
24518
24786
|
let deferred0_0;
|
|
24519
24787
|
let deferred0_1;
|
|
24520
24788
|
try {
|
|
@@ -24526,7 +24794,7 @@ function __wbg_get_imports() {
|
|
|
24526
24794
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24527
24795
|
}
|
|
24528
24796
|
},
|
|
24529
|
-
|
|
24797
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
24530
24798
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24531
24799
|
return ret;
|
|
24532
24800
|
},
|
|
@@ -24570,7 +24838,7 @@ function __wbg_get_imports() {
|
|
|
24570
24838
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24571
24839
|
return ret;
|
|
24572
24840
|
},
|
|
24573
|
-
|
|
24841
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24574
24842
|
let deferred0_0;
|
|
24575
24843
|
let deferred0_1;
|
|
24576
24844
|
try {
|
|
@@ -24584,7 +24852,7 @@ function __wbg_get_imports() {
|
|
|
24584
24852
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24585
24853
|
}
|
|
24586
24854
|
},
|
|
24587
|
-
|
|
24855
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24588
24856
|
let deferred0_0;
|
|
24589
24857
|
let deferred0_1;
|
|
24590
24858
|
let deferred1_0;
|
|
@@ -24601,7 +24869,7 @@ function __wbg_get_imports() {
|
|
|
24601
24869
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24602
24870
|
}
|
|
24603
24871
|
},
|
|
24604
|
-
|
|
24872
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24605
24873
|
let deferred0_0;
|
|
24606
24874
|
let deferred0_1;
|
|
24607
24875
|
let deferred1_0;
|
|
@@ -24618,13 +24886,13 @@ function __wbg_get_imports() {
|
|
|
24618
24886
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24619
24887
|
}
|
|
24620
24888
|
},
|
|
24621
|
-
|
|
24889
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24622
24890
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24623
24891
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24624
24892
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24625
24893
|
return ret;
|
|
24626
24894
|
},
|
|
24627
|
-
|
|
24895
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24628
24896
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24629
24897
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24630
24898
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24632,7 +24900,7 @@ function __wbg_get_imports() {
|
|
|
24632
24900
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24633
24901
|
return ret;
|
|
24634
24902
|
},
|
|
24635
|
-
|
|
24903
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24636
24904
|
let deferred0_0;
|
|
24637
24905
|
let deferred0_1;
|
|
24638
24906
|
try {
|
|
@@ -24646,7 +24914,7 @@ function __wbg_get_imports() {
|
|
|
24646
24914
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24647
24915
|
}
|
|
24648
24916
|
},
|
|
24649
|
-
|
|
24917
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24650
24918
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24651
24919
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24652
24920
|
let v1;
|
|
@@ -24743,11 +25011,11 @@ function __wbg_get_imports() {
|
|
|
24743
25011
|
const ret = arg0.length;
|
|
24744
25012
|
return ret;
|
|
24745
25013
|
},
|
|
24746
|
-
|
|
25014
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
24747
25015
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24748
25016
|
return ret;
|
|
24749
25017
|
},
|
|
24750
|
-
|
|
25018
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
24751
25019
|
let deferred0_0;
|
|
24752
25020
|
let deferred0_1;
|
|
24753
25021
|
try {
|
|
@@ -24835,7 +25103,7 @@ function __wbg_get_imports() {
|
|
|
24835
25103
|
const a = state0.a;
|
|
24836
25104
|
state0.a = 0;
|
|
24837
25105
|
try {
|
|
24838
|
-
return
|
|
25106
|
+
return wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(a, state0.b, arg0, arg1);
|
|
24839
25107
|
} finally {
|
|
24840
25108
|
state0.a = a;
|
|
24841
25109
|
}
|
|
@@ -24894,6 +25162,10 @@ function __wbg_get_imports() {
|
|
|
24894
25162
|
const ret = NoteAttachment.__wrap(arg0);
|
|
24895
25163
|
return ret;
|
|
24896
25164
|
},
|
|
25165
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25166
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25167
|
+
return ret;
|
|
25168
|
+
},
|
|
24897
25169
|
__wbg_noteconsumability_new: function(arg0) {
|
|
24898
25170
|
const ret = NoteConsumability.__wrap(arg0);
|
|
24899
25171
|
return ret;
|
|
@@ -24946,7 +25218,7 @@ function __wbg_get_imports() {
|
|
|
24946
25218
|
const ret = NoteTag.__unwrap(arg0);
|
|
24947
25219
|
return ret;
|
|
24948
25220
|
},
|
|
24949
|
-
|
|
25221
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
24950
25222
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
24951
25223
|
return ret;
|
|
24952
25224
|
},
|
|
@@ -24977,7 +25249,7 @@ function __wbg_get_imports() {
|
|
|
24977
25249
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
24978
25250
|
return ret;
|
|
24979
25251
|
},
|
|
24980
|
-
|
|
25252
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24981
25253
|
let deferred0_0;
|
|
24982
25254
|
let deferred0_1;
|
|
24983
25255
|
let deferred1_0;
|
|
@@ -24994,7 +25266,7 @@ function __wbg_get_imports() {
|
|
|
24994
25266
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24995
25267
|
}
|
|
24996
25268
|
},
|
|
24997
|
-
|
|
25269
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24998
25270
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24999
25271
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25000
25272
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25024,13 +25296,13 @@ function __wbg_get_imports() {
|
|
|
25024
25296
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25025
25297
|
arg0.releaseLock();
|
|
25026
25298
|
},
|
|
25027
|
-
|
|
25299
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
25028
25300
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25029
25301
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25030
25302
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25031
25303
|
return ret;
|
|
25032
25304
|
},
|
|
25033
|
-
|
|
25305
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
25034
25306
|
let deferred0_0;
|
|
25035
25307
|
let deferred0_1;
|
|
25036
25308
|
try {
|
|
@@ -25042,7 +25314,7 @@ function __wbg_get_imports() {
|
|
|
25042
25314
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25043
25315
|
}
|
|
25044
25316
|
},
|
|
25045
|
-
|
|
25317
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
25046
25318
|
let deferred0_0;
|
|
25047
25319
|
let deferred0_1;
|
|
25048
25320
|
try {
|
|
@@ -25054,7 +25326,7 @@ function __wbg_get_imports() {
|
|
|
25054
25326
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25055
25327
|
}
|
|
25056
25328
|
},
|
|
25057
|
-
|
|
25329
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25058
25330
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25059
25331
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25060
25332
|
let v1;
|
|
@@ -25075,7 +25347,7 @@ function __wbg_get_imports() {
|
|
|
25075
25347
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25076
25348
|
return ret;
|
|
25077
25349
|
},
|
|
25078
|
-
|
|
25350
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
25079
25351
|
let deferred0_0;
|
|
25080
25352
|
let deferred0_1;
|
|
25081
25353
|
try {
|
|
@@ -25278,13 +25550,13 @@ function __wbg_get_imports() {
|
|
|
25278
25550
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25279
25551
|
return ret;
|
|
25280
25552
|
},
|
|
25281
|
-
|
|
25553
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
25282
25554
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25283
25555
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25284
25556
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25285
25557
|
return ret;
|
|
25286
25558
|
},
|
|
25287
|
-
|
|
25559
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25288
25560
|
let deferred0_0;
|
|
25289
25561
|
let deferred0_1;
|
|
25290
25562
|
try {
|
|
@@ -25298,7 +25570,7 @@ function __wbg_get_imports() {
|
|
|
25298
25570
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25299
25571
|
}
|
|
25300
25572
|
},
|
|
25301
|
-
|
|
25573
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25302
25574
|
let deferred0_0;
|
|
25303
25575
|
let deferred0_1;
|
|
25304
25576
|
let deferred1_0;
|
|
@@ -25340,7 +25612,7 @@ function __wbg_get_imports() {
|
|
|
25340
25612
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25341
25613
|
}
|
|
25342
25614
|
},
|
|
25343
|
-
|
|
25615
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25344
25616
|
let deferred0_0;
|
|
25345
25617
|
let deferred0_1;
|
|
25346
25618
|
try {
|
|
@@ -25354,7 +25626,7 @@ function __wbg_get_imports() {
|
|
|
25354
25626
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25355
25627
|
}
|
|
25356
25628
|
},
|
|
25357
|
-
|
|
25629
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25358
25630
|
let deferred0_0;
|
|
25359
25631
|
let deferred0_1;
|
|
25360
25632
|
let deferred2_0;
|
|
@@ -25373,7 +25645,7 @@ function __wbg_get_imports() {
|
|
|
25373
25645
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25374
25646
|
}
|
|
25375
25647
|
},
|
|
25376
|
-
|
|
25648
|
+
__wbg_upsertInputNote_e10948a629bcee16: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28) {
|
|
25377
25649
|
let deferred0_0;
|
|
25378
25650
|
let deferred0_1;
|
|
25379
25651
|
let deferred6_0;
|
|
@@ -25422,7 +25694,7 @@ function __wbg_get_imports() {
|
|
|
25422
25694
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25423
25695
|
}
|
|
25424
25696
|
},
|
|
25425
|
-
|
|
25697
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25426
25698
|
let deferred0_0;
|
|
25427
25699
|
let deferred0_1;
|
|
25428
25700
|
try {
|
|
@@ -25436,7 +25708,7 @@ function __wbg_get_imports() {
|
|
|
25436
25708
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25437
25709
|
}
|
|
25438
25710
|
},
|
|
25439
|
-
|
|
25711
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25440
25712
|
let deferred0_0;
|
|
25441
25713
|
let deferred0_1;
|
|
25442
25714
|
let deferred1_0;
|
|
@@ -25471,7 +25743,7 @@ function __wbg_get_imports() {
|
|
|
25471
25743
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25472
25744
|
}
|
|
25473
25745
|
},
|
|
25474
|
-
|
|
25746
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25475
25747
|
let deferred0_0;
|
|
25476
25748
|
let deferred0_1;
|
|
25477
25749
|
try {
|
|
@@ -25485,7 +25757,7 @@ function __wbg_get_imports() {
|
|
|
25485
25757
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25486
25758
|
}
|
|
25487
25759
|
},
|
|
25488
|
-
|
|
25760
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25489
25761
|
let deferred0_0;
|
|
25490
25762
|
let deferred0_1;
|
|
25491
25763
|
try {
|
|
@@ -25506,7 +25778,7 @@ function __wbg_get_imports() {
|
|
|
25506
25778
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25507
25779
|
}
|
|
25508
25780
|
},
|
|
25509
|
-
|
|
25781
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25510
25782
|
let deferred0_0;
|
|
25511
25783
|
let deferred0_1;
|
|
25512
25784
|
try {
|
|
@@ -25537,13 +25809,13 @@ function __wbg_get_imports() {
|
|
|
25537
25809
|
return ret;
|
|
25538
25810
|
},
|
|
25539
25811
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25540
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25541
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25812
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25813
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____);
|
|
25542
25814
|
return ret;
|
|
25543
25815
|
},
|
|
25544
25816
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25545
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25546
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25817
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [], shim_idx: 433, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25818
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______);
|
|
25547
25819
|
return ret;
|
|
25548
25820
|
},
|
|
25549
25821
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -25659,16 +25931,16 @@ function __wbg_get_imports() {
|
|
|
25659
25931
|
};
|
|
25660
25932
|
}
|
|
25661
25933
|
|
|
25662
|
-
function
|
|
25663
|
-
wasm.
|
|
25934
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1) {
|
|
25935
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1);
|
|
25664
25936
|
}
|
|
25665
25937
|
|
|
25666
|
-
function
|
|
25667
|
-
wasm.
|
|
25938
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2) {
|
|
25939
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2);
|
|
25668
25940
|
}
|
|
25669
25941
|
|
|
25670
|
-
function
|
|
25671
|
-
wasm.
|
|
25942
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3) {
|
|
25943
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3);
|
|
25672
25944
|
}
|
|
25673
25945
|
|
|
25674
25946
|
|
|
@@ -25868,6 +26140,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
25868
26140
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25869
26141
|
? { register: () => {}, unregister: () => {} }
|
|
25870
26142
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26143
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26144
|
+
? { register: () => {}, unregister: () => {} }
|
|
26145
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
25871
26146
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25872
26147
|
? { register: () => {}, unregister: () => {} }
|
|
25873
26148
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -26485,5 +26760,5 @@ async function __wbg_init(module_or_path) {
|
|
|
26485
26760
|
}
|
|
26486
26761
|
|
|
26487
26762
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26488
|
-
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, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
|
|
26489
|
-
//# sourceMappingURL=Cargo-
|
|
26763
|
+
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkAccountTarget, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
|
|
26764
|
+
//# sourceMappingURL=Cargo-Cysp4vto.js.map
|