@miden-sdk/miden-sdk 0.15.3 → 0.15.5
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 +85 -0
- package/dist/mt/{Cargo-D2qNRrNR.js → Cargo-C001gt8g.js} +587 -90
- package/dist/mt/Cargo-C001gt8g.js.map +1 -0
- package/dist/mt/api-types.d.ts +189 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +153 -3
- package/dist/mt/docs-entry.d.ts +3 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.d.ts +3 -0
- package/dist/mt/index.js +302 -13
- 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-D2qNRrNR-n_GEbq73.js → Cargo-C001gt8g-B8wBADUI.js} +587 -90
- package/dist/mt/workers/Cargo-C001gt8g-B8wBADUI.js.map +1 -0
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +589 -90
- 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-BP7-0qVT.js → Cargo-CR1mzjgg.js} +593 -98
- package/dist/st/Cargo-CR1mzjgg.js.map +1 -0
- package/dist/st/api-types.d.ts +189 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +153 -3
- package/dist/st/docs-entry.d.ts +3 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.d.ts +3 -0
- package/dist/st/index.js +302 -13
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-BP7-0qVT-CmfAy6bf.js → Cargo-CR1mzjgg-DeDmKA4W.js} +593 -98
- package/dist/st/workers/Cargo-CR1mzjgg-DeDmKA4W.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +595 -98
- 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 +4 -0
- package/js/resources/transactions.js +289 -12
- package/js/standalone.js +61 -0
- package/package.json +4 -4
- package/dist/mt/Cargo-D2qNRrNR.js.map +0 -1
- package/dist/mt/workers/Cargo-D2qNRrNR-n_GEbq73.js.map +0 -1
- package/dist/st/Cargo-BP7-0qVT.js.map +0 -1
- package/dist/st/workers/Cargo-BP7-0qVT-CmfAy6bf.js.map +0 -1
|
@@ -8838,6 +8838,7 @@ async function applyTransactionDelta(dbId, accountId, nonce, updatedSlots, chang
|
|
|
8838
8838
|
}
|
|
8839
8839
|
catch (error) {
|
|
8840
8840
|
logWebStoreError(error, `Error applying transaction delta`);
|
|
8841
|
+
throw error;
|
|
8841
8842
|
}
|
|
8842
8843
|
}
|
|
8843
8844
|
async function archiveAndReplaceStorageSlots(db, accountId, nonce, newSlots) {
|
|
@@ -9076,6 +9077,7 @@ async function applyFullAccountState(dbId, accountState) {
|
|
|
9076
9077
|
}
|
|
9077
9078
|
catch (error) {
|
|
9078
9079
|
logWebStoreError(error, `Error applying full account state`);
|
|
9080
|
+
throw error;
|
|
9079
9081
|
}
|
|
9080
9082
|
}
|
|
9081
9083
|
async function upsertAccountRecord(dbId, accountId, codeRoot, storageRoot, vaultRoot, nonce, committed, commitment, accountSeed, watched) {
|
|
@@ -9997,6 +9999,7 @@ async function upsertInputNote(dbId, detailsCommitment, noteId, assets, attachme
|
|
|
9997
9999
|
}
|
|
9998
10000
|
catch (error) {
|
|
9999
10001
|
logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
|
|
10002
|
+
throw error;
|
|
10000
10003
|
}
|
|
10001
10004
|
};
|
|
10002
10005
|
return db.dexie.transaction("rw", db.inputNotes, db.notesScripts, doWork);
|
|
@@ -10080,6 +10083,7 @@ async function upsertOutputNote(dbId, detailsCommitment, noteId, assets, attachm
|
|
|
10080
10083
|
}
|
|
10081
10084
|
catch (error) {
|
|
10082
10085
|
logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
|
|
10086
|
+
throw error;
|
|
10083
10087
|
}
|
|
10084
10088
|
};
|
|
10085
10089
|
return db.dexie.transaction("rw", db.outputNotes, db.notesScripts, doWork);
|
|
@@ -10322,6 +10326,7 @@ async function insertTransactionScript(dbId, scriptRoot, txScript, tx) {
|
|
|
10322
10326
|
}
|
|
10323
10327
|
catch (error) {
|
|
10324
10328
|
logWebStoreError(error, "Failed to insert transaction script");
|
|
10329
|
+
throw error;
|
|
10325
10330
|
}
|
|
10326
10331
|
}
|
|
10327
10332
|
async function upsertTransactionRecord(dbId, transactionId, details, blockNum, statusVariant, status, scriptRoot, tx) {
|
|
@@ -10339,8 +10344,82 @@ async function upsertTransactionRecord(dbId, transactionId, details, blockNum, s
|
|
|
10339
10344
|
}
|
|
10340
10345
|
catch (err) {
|
|
10341
10346
|
logWebStoreError(err, "Failed to insert proven transaction data");
|
|
10347
|
+
throw err;
|
|
10342
10348
|
}
|
|
10343
10349
|
}
|
|
10350
|
+
/**
|
|
10351
|
+
* Applies a batch of transaction updates atomically inside a single Dexie transaction.
|
|
10352
|
+
*
|
|
10353
|
+
* All sub-operations that internally call `db.dexie.transaction()` are auto-joined by Dexie
|
|
10354
|
+
* as nested sub-transactions when run inside this parent transaction, provided the parent
|
|
10355
|
+
* scope is a superset of every sub-transaction scope.
|
|
10356
|
+
*/
|
|
10357
|
+
async function applyTransactionBatch(dbId, payloads) {
|
|
10358
|
+
const db = getDatabase(dbId);
|
|
10359
|
+
await db.dexie.transaction("rw", [
|
|
10360
|
+
db.transactions,
|
|
10361
|
+
db.transactionScripts,
|
|
10362
|
+
db.latestAccountStorages,
|
|
10363
|
+
db.historicalAccountStorages,
|
|
10364
|
+
db.latestStorageMapEntries,
|
|
10365
|
+
db.historicalStorageMapEntries,
|
|
10366
|
+
db.latestAccountAssets,
|
|
10367
|
+
db.historicalAccountAssets,
|
|
10368
|
+
db.latestAccountHeaders,
|
|
10369
|
+
db.historicalAccountHeaders,
|
|
10370
|
+
db.inputNotes,
|
|
10371
|
+
db.outputNotes,
|
|
10372
|
+
db.notesScripts,
|
|
10373
|
+
db.tags,
|
|
10374
|
+
], async () => {
|
|
10375
|
+
for (const payload of payloads) {
|
|
10376
|
+
// 1. Insert the transaction record (script first, then record)
|
|
10377
|
+
const rec = payload.transactionRecord;
|
|
10378
|
+
if (rec.scriptRoot && rec.txScript) {
|
|
10379
|
+
await insertTransactionScript(dbId, rec.scriptRoot, rec.txScript);
|
|
10380
|
+
}
|
|
10381
|
+
await upsertTransactionRecord(dbId, rec.id, rec.details, rec.blockNum, rec.statusVariant, rec.status, rec.scriptRoot);
|
|
10382
|
+
// 2. Apply account state (full or delta)
|
|
10383
|
+
const acct = payload.accountState;
|
|
10384
|
+
if (acct.kind === "full") {
|
|
10385
|
+
await applyFullAccountState(dbId, acct.account);
|
|
10386
|
+
}
|
|
10387
|
+
else {
|
|
10388
|
+
await applyTransactionDelta(dbId, acct.accountId, acct.nonce, acct.updatedSlots, acct.changedMapEntries, acct.changedAssets, acct.codeRoot, acct.storageRoot, acct.vaultRoot, acct.committed, acct.commitment);
|
|
10389
|
+
}
|
|
10390
|
+
// 3. Upsert input and output notes
|
|
10391
|
+
for (const note of payload.inputNotes) {
|
|
10392
|
+
await upsertInputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.serialNumber, note.inputs, note.noteScriptRoot, note.noteScript, note.nullifier, note.createdAt, note.stateDiscriminant, note.state, note.consumedBlockHeight ?? null, note.consumedTxOrder ?? null, note.consumerAccountId ?? null);
|
|
10393
|
+
}
|
|
10394
|
+
for (const note of payload.outputNotes) {
|
|
10395
|
+
await upsertOutputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.recipientDigest, note.metadata, note.nullifier, note.expectedHeight, note.stateDiscriminant, note.state);
|
|
10396
|
+
}
|
|
10397
|
+
// 4. Add note tags (deduplicated within the transaction)
|
|
10398
|
+
for (const tagEntry of payload.tags) {
|
|
10399
|
+
const tagArray = new Uint8Array(tagEntry.tag);
|
|
10400
|
+
const tagBase64 = uint8ArrayToBase64(tagArray);
|
|
10401
|
+
const sourceNoteId = tagEntry.sourceNoteId ?? "";
|
|
10402
|
+
const sourceAccountId = tagEntry.sourceAccountId ?? "";
|
|
10403
|
+
const sourceSubscriptionKey = tagEntry.sourceSubscriptionKey ?? "";
|
|
10404
|
+
// Check for existing tag to avoid duplicates (mirrors the Rust add_note_tag logic).
|
|
10405
|
+
// sourceSubscriptionKey is unindexed, so filter on it in memory — distinct
|
|
10406
|
+
// subscriptions may share a tag and must remain separate rows.
|
|
10407
|
+
const existing = await db.tags
|
|
10408
|
+
.where({ tag: tagBase64, sourceNoteId, sourceAccountId })
|
|
10409
|
+
.filter((t) => (t.sourceSubscriptionKey ?? "") === sourceSubscriptionKey)
|
|
10410
|
+
.first();
|
|
10411
|
+
if (!existing) {
|
|
10412
|
+
await db.tags.add({
|
|
10413
|
+
tag: tagBase64,
|
|
10414
|
+
sourceNoteId,
|
|
10415
|
+
sourceAccountId,
|
|
10416
|
+
sourceSubscriptionKey,
|
|
10417
|
+
});
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10420
|
+
}
|
|
10421
|
+
});
|
|
10422
|
+
}
|
|
10344
10423
|
|
|
10345
10424
|
async function getNoteTags(dbId) {
|
|
10346
10425
|
try {
|
|
@@ -12950,10 +13029,13 @@ class AuthSecretKey {
|
|
|
12950
13029
|
if (Symbol.dispose) AuthSecretKey.prototype[Symbol.dispose] = AuthSecretKey.prototype.free;
|
|
12951
13030
|
|
|
12952
13031
|
/**
|
|
12953
|
-
* Provides metadata for a
|
|
13032
|
+
* Provides metadata for a fungible faucet account component.
|
|
12954
13033
|
*
|
|
12955
|
-
* Reads the on-chain
|
|
12956
|
-
*
|
|
13034
|
+
* Reads the on-chain `FungibleFaucet` component for the account, which holds the per-token
|
|
13035
|
+
* info (symbol, decimals, supply, and the descriptive metadata). The same component backs both
|
|
13036
|
+
* "basic" public faucets and network-style faucets — in the current protocol the distinction is
|
|
13037
|
+
* a function of the surrounding account configuration (account type, auth, access control), not
|
|
13038
|
+
* of the faucet component itself — so this reads metadata from either kind of faucet account.
|
|
12957
13039
|
*/
|
|
12958
13040
|
class BasicFungibleFaucetComponent {
|
|
12959
13041
|
static __wrap(ptr) {
|
|
@@ -12981,6 +13063,32 @@ class BasicFungibleFaucetComponent {
|
|
|
12981
13063
|
const ret = wasm.basicfungiblefaucetcomponent_decimals(this.__wbg_ptr);
|
|
12982
13064
|
return ret;
|
|
12983
13065
|
}
|
|
13066
|
+
/**
|
|
13067
|
+
* Returns the optional free-form token description, or `undefined` when unset.
|
|
13068
|
+
* @returns {string | undefined}
|
|
13069
|
+
*/
|
|
13070
|
+
description() {
|
|
13071
|
+
const ret = wasm.basicfungiblefaucetcomponent_description(this.__wbg_ptr);
|
|
13072
|
+
let v1;
|
|
13073
|
+
if (ret[0] !== 0) {
|
|
13074
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13075
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13076
|
+
}
|
|
13077
|
+
return v1;
|
|
13078
|
+
}
|
|
13079
|
+
/**
|
|
13080
|
+
* Returns the optional external link (e.g. project website), or `undefined` when unset.
|
|
13081
|
+
* @returns {string | undefined}
|
|
13082
|
+
*/
|
|
13083
|
+
externalLink() {
|
|
13084
|
+
const ret = wasm.basicfungiblefaucetcomponent_externalLink(this.__wbg_ptr);
|
|
13085
|
+
let v1;
|
|
13086
|
+
if (ret[0] !== 0) {
|
|
13087
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13088
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13089
|
+
}
|
|
13090
|
+
return v1;
|
|
13091
|
+
}
|
|
12984
13092
|
/**
|
|
12985
13093
|
* Extracts faucet metadata from an account.
|
|
12986
13094
|
* @param {Account} account
|
|
@@ -12995,6 +13103,19 @@ class BasicFungibleFaucetComponent {
|
|
|
12995
13103
|
}
|
|
12996
13104
|
return BasicFungibleFaucetComponent.__wrap(ret[0]);
|
|
12997
13105
|
}
|
|
13106
|
+
/**
|
|
13107
|
+
* Returns the optional token logo URI, or `undefined` when unset.
|
|
13108
|
+
* @returns {string | undefined}
|
|
13109
|
+
*/
|
|
13110
|
+
logoUri() {
|
|
13111
|
+
const ret = wasm.basicfungiblefaucetcomponent_logoUri(this.__wbg_ptr);
|
|
13112
|
+
let v1;
|
|
13113
|
+
if (ret[0] !== 0) {
|
|
13114
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13115
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13116
|
+
}
|
|
13117
|
+
return v1;
|
|
13118
|
+
}
|
|
12998
13119
|
/**
|
|
12999
13120
|
* Returns the maximum token supply.
|
|
13000
13121
|
* @returns {Felt}
|
|
@@ -13011,6 +13132,30 @@ class BasicFungibleFaucetComponent {
|
|
|
13011
13132
|
const ret = wasm.basicfungiblefaucetcomponent_symbol(this.__wbg_ptr);
|
|
13012
13133
|
return TokenSymbol.__wrap(ret);
|
|
13013
13134
|
}
|
|
13135
|
+
/**
|
|
13136
|
+
* Returns the human-readable token name.
|
|
13137
|
+
* @returns {string}
|
|
13138
|
+
*/
|
|
13139
|
+
tokenName() {
|
|
13140
|
+
let deferred1_0;
|
|
13141
|
+
let deferred1_1;
|
|
13142
|
+
try {
|
|
13143
|
+
const ret = wasm.basicfungiblefaucetcomponent_tokenName(this.__wbg_ptr);
|
|
13144
|
+
deferred1_0 = ret[0];
|
|
13145
|
+
deferred1_1 = ret[1];
|
|
13146
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13147
|
+
} finally {
|
|
13148
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13149
|
+
}
|
|
13150
|
+
}
|
|
13151
|
+
/**
|
|
13152
|
+
* Returns the current token supply (the amount minted so far).
|
|
13153
|
+
* @returns {Felt}
|
|
13154
|
+
*/
|
|
13155
|
+
tokenSupply() {
|
|
13156
|
+
const ret = wasm.basicfungiblefaucetcomponent_tokenSupply(this.__wbg_ptr);
|
|
13157
|
+
return Felt.__wrap(ret);
|
|
13158
|
+
}
|
|
13014
13159
|
}
|
|
13015
13160
|
if (Symbol.dispose) BasicFungibleFaucetComponent.prototype[Symbol.dispose] = BasicFungibleFaucetComponent.prototype.free;
|
|
13016
13161
|
|
|
@@ -13578,6 +13723,104 @@ class Endpoint {
|
|
|
13578
13723
|
}
|
|
13579
13724
|
if (Symbol.dispose) Endpoint.prototype[Symbol.dispose] = Endpoint.prototype.free;
|
|
13580
13725
|
|
|
13726
|
+
/**
|
|
13727
|
+
* A 20-byte Ethereum address, used as the destination of an `AggLayer` bridge-out (B2AGG) note.
|
|
13728
|
+
*
|
|
13729
|
+
* Construct one from a hex string with [`EthAddress::from_hex`] (the `0x` prefix is optional) or
|
|
13730
|
+
* from raw bytes with [`EthAddress::from_bytes`]. The canonical lowercase, `0x`-prefixed hex form
|
|
13731
|
+
* is available via [`EthAddress::to_hex`] (also exposed as `toString`).
|
|
13732
|
+
*/
|
|
13733
|
+
class EthAddress {
|
|
13734
|
+
static __wrap(ptr) {
|
|
13735
|
+
ptr = ptr >>> 0;
|
|
13736
|
+
const obj = Object.create(EthAddress.prototype);
|
|
13737
|
+
obj.__wbg_ptr = ptr;
|
|
13738
|
+
EthAddressFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
13739
|
+
return obj;
|
|
13740
|
+
}
|
|
13741
|
+
__destroy_into_raw() {
|
|
13742
|
+
const ptr = this.__wbg_ptr;
|
|
13743
|
+
this.__wbg_ptr = 0;
|
|
13744
|
+
EthAddressFinalization.unregister(this);
|
|
13745
|
+
return ptr;
|
|
13746
|
+
}
|
|
13747
|
+
free() {
|
|
13748
|
+
const ptr = this.__destroy_into_raw();
|
|
13749
|
+
wasm.__wbg_ethaddress_free(ptr, 0);
|
|
13750
|
+
}
|
|
13751
|
+
/**
|
|
13752
|
+
* Builds an Ethereum address from its raw 20-byte big-endian representation.
|
|
13753
|
+
*
|
|
13754
|
+
* Returns an error if the input is not exactly 20 bytes long.
|
|
13755
|
+
* @param {Uint8Array} bytes
|
|
13756
|
+
* @returns {EthAddress}
|
|
13757
|
+
*/
|
|
13758
|
+
static fromBytes(bytes) {
|
|
13759
|
+
const ret = wasm.ethaddress_fromBytes(bytes);
|
|
13760
|
+
if (ret[2]) {
|
|
13761
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13762
|
+
}
|
|
13763
|
+
return EthAddress.__wrap(ret[0]);
|
|
13764
|
+
}
|
|
13765
|
+
/**
|
|
13766
|
+
* Builds an Ethereum address from a hex string (with or without the `0x` prefix).
|
|
13767
|
+
*
|
|
13768
|
+
* Returns an error if the string is not valid hex or does not encode exactly 20 bytes.
|
|
13769
|
+
* @param {string} hex
|
|
13770
|
+
* @returns {EthAddress}
|
|
13771
|
+
*/
|
|
13772
|
+
static fromHex(hex) {
|
|
13773
|
+
const ptr0 = passStringToWasm0(hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
13774
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13775
|
+
const ret = wasm.ethaddress_fromHex(ptr0, len0);
|
|
13776
|
+
if (ret[2]) {
|
|
13777
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13778
|
+
}
|
|
13779
|
+
return EthAddress.__wrap(ret[0]);
|
|
13780
|
+
}
|
|
13781
|
+
/**
|
|
13782
|
+
* Returns the raw 20-byte big-endian representation of the address.
|
|
13783
|
+
* @returns {Uint8Array}
|
|
13784
|
+
*/
|
|
13785
|
+
toBytes() {
|
|
13786
|
+
const ret = wasm.ethaddress_toBytes(this.__wbg_ptr);
|
|
13787
|
+
return ret;
|
|
13788
|
+
}
|
|
13789
|
+
/**
|
|
13790
|
+
* Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
|
|
13791
|
+
* @returns {string}
|
|
13792
|
+
*/
|
|
13793
|
+
toHex() {
|
|
13794
|
+
let deferred1_0;
|
|
13795
|
+
let deferred1_1;
|
|
13796
|
+
try {
|
|
13797
|
+
const ret = wasm.ethaddress_toHex(this.__wbg_ptr);
|
|
13798
|
+
deferred1_0 = ret[0];
|
|
13799
|
+
deferred1_1 = ret[1];
|
|
13800
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13801
|
+
} finally {
|
|
13802
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13803
|
+
}
|
|
13804
|
+
}
|
|
13805
|
+
/**
|
|
13806
|
+
* Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
|
|
13807
|
+
* @returns {string}
|
|
13808
|
+
*/
|
|
13809
|
+
toString() {
|
|
13810
|
+
let deferred1_0;
|
|
13811
|
+
let deferred1_1;
|
|
13812
|
+
try {
|
|
13813
|
+
const ret = wasm.ethaddress_toString(this.__wbg_ptr);
|
|
13814
|
+
deferred1_0 = ret[0];
|
|
13815
|
+
deferred1_1 = ret[1];
|
|
13816
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13817
|
+
} finally {
|
|
13818
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13819
|
+
}
|
|
13820
|
+
}
|
|
13821
|
+
}
|
|
13822
|
+
if (Symbol.dispose) EthAddress.prototype[Symbol.dispose] = EthAddress.prototype.free;
|
|
13823
|
+
|
|
13581
13824
|
/**
|
|
13582
13825
|
* Describes the result of executing a transaction program for the Miden protocol.
|
|
13583
13826
|
*
|
|
@@ -15939,6 +16182,97 @@ class MerklePath {
|
|
|
15939
16182
|
}
|
|
15940
16183
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
15941
16184
|
|
|
16185
|
+
/**
|
|
16186
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16187
|
+
*
|
|
16188
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16189
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16190
|
+
*/
|
|
16191
|
+
class NetworkAccountTarget {
|
|
16192
|
+
static __wrap(ptr) {
|
|
16193
|
+
ptr = ptr >>> 0;
|
|
16194
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16195
|
+
obj.__wbg_ptr = ptr;
|
|
16196
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16197
|
+
return obj;
|
|
16198
|
+
}
|
|
16199
|
+
__destroy_into_raw() {
|
|
16200
|
+
const ptr = this.__wbg_ptr;
|
|
16201
|
+
this.__wbg_ptr = 0;
|
|
16202
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16203
|
+
return ptr;
|
|
16204
|
+
}
|
|
16205
|
+
free() {
|
|
16206
|
+
const ptr = this.__destroy_into_raw();
|
|
16207
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16208
|
+
}
|
|
16209
|
+
/**
|
|
16210
|
+
* Returns the note execution hint.
|
|
16211
|
+
* @returns {NoteExecutionHint}
|
|
16212
|
+
*/
|
|
16213
|
+
executionHint() {
|
|
16214
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16215
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16216
|
+
}
|
|
16217
|
+
/**
|
|
16218
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16219
|
+
*
|
|
16220
|
+
* # Errors
|
|
16221
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16222
|
+
* @param {NoteAttachment} attachment
|
|
16223
|
+
* @returns {NetworkAccountTarget}
|
|
16224
|
+
*/
|
|
16225
|
+
static fromAttachment(attachment) {
|
|
16226
|
+
_assertClass(attachment, NoteAttachment);
|
|
16227
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16228
|
+
if (ret[2]) {
|
|
16229
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16230
|
+
}
|
|
16231
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16232
|
+
}
|
|
16233
|
+
/**
|
|
16234
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16235
|
+
* to `NoteExecutionHint.always()`.
|
|
16236
|
+
*
|
|
16237
|
+
* # Errors
|
|
16238
|
+
* Errors if `account_id` is not a public account.
|
|
16239
|
+
* @param {AccountId} account_id
|
|
16240
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16241
|
+
*/
|
|
16242
|
+
constructor(account_id, execution_hint) {
|
|
16243
|
+
_assertClass(account_id, AccountId);
|
|
16244
|
+
let ptr0 = 0;
|
|
16245
|
+
if (!isLikeNone(execution_hint)) {
|
|
16246
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16247
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16248
|
+
}
|
|
16249
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16250
|
+
if (ret[2]) {
|
|
16251
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16252
|
+
}
|
|
16253
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16254
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16255
|
+
return this;
|
|
16256
|
+
}
|
|
16257
|
+
/**
|
|
16258
|
+
* Returns the targeted network account id.
|
|
16259
|
+
* @returns {AccountId}
|
|
16260
|
+
*/
|
|
16261
|
+
targetId() {
|
|
16262
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16263
|
+
return AccountId.__wrap(ret);
|
|
16264
|
+
}
|
|
16265
|
+
/**
|
|
16266
|
+
* Encodes this target as a `NoteAttachment`.
|
|
16267
|
+
* @returns {NoteAttachment}
|
|
16268
|
+
*/
|
|
16269
|
+
toAttachment() {
|
|
16270
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
16271
|
+
return NoteAttachment.__wrap(ret);
|
|
16272
|
+
}
|
|
16273
|
+
}
|
|
16274
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
16275
|
+
|
|
15942
16276
|
/**
|
|
15943
16277
|
* The identifier of a Miden network.
|
|
15944
16278
|
*/
|
|
@@ -16132,6 +16466,16 @@ class Note {
|
|
|
16132
16466
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
16133
16467
|
return NoteAssets.__wrap(ret);
|
|
16134
16468
|
}
|
|
16469
|
+
/**
|
|
16470
|
+
* Returns the note's attachments.
|
|
16471
|
+
* @returns {NoteAttachment[]}
|
|
16472
|
+
*/
|
|
16473
|
+
attachments() {
|
|
16474
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
16475
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
16476
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
16477
|
+
return v1;
|
|
16478
|
+
}
|
|
16135
16479
|
/**
|
|
16136
16480
|
* Returns the commitment to the note (its ID).
|
|
16137
16481
|
*
|
|
@@ -16145,6 +16489,32 @@ class Note {
|
|
|
16145
16489
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16146
16490
|
return Word.__wrap(ret);
|
|
16147
16491
|
}
|
|
16492
|
+
/**
|
|
16493
|
+
* Builds a B2AGG (Bridge-to-AggLayer) note that bridges the given assets out to another
|
|
16494
|
+
* network via the `AggLayer`.
|
|
16495
|
+
*
|
|
16496
|
+
* The note is always public and is consumed by `bridge_account`, which burns the assets so
|
|
16497
|
+
* they can be claimed on the destination network at `destination_address` (an Ethereum
|
|
16498
|
+
* address on the AggLayer-assigned `destination_network`). The assets must be fungible assets
|
|
16499
|
+
* issued by a network faucet.
|
|
16500
|
+
* @param {AccountId} sender
|
|
16501
|
+
* @param {AccountId} bridge_account
|
|
16502
|
+
* @param {NoteAssets} assets
|
|
16503
|
+
* @param {number} destination_network
|
|
16504
|
+
* @param {EthAddress} destination_address
|
|
16505
|
+
* @returns {Note}
|
|
16506
|
+
*/
|
|
16507
|
+
static createB2AggNote(sender, bridge_account, assets, destination_network, destination_address) {
|
|
16508
|
+
_assertClass(sender, AccountId);
|
|
16509
|
+
_assertClass(bridge_account, AccountId);
|
|
16510
|
+
_assertClass(assets, NoteAssets);
|
|
16511
|
+
_assertClass(destination_address, EthAddress);
|
|
16512
|
+
const ret = wasm.note_createB2AggNote(sender.__wbg_ptr, bridge_account.__wbg_ptr, assets.__wbg_ptr, destination_network, destination_address.__wbg_ptr);
|
|
16513
|
+
if (ret[2]) {
|
|
16514
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16515
|
+
}
|
|
16516
|
+
return Note.__wrap(ret[0]);
|
|
16517
|
+
}
|
|
16148
16518
|
/**
|
|
16149
16519
|
* Builds a P2IDE note that can be reclaimed or timelocked based on block heights.
|
|
16150
16520
|
* @param {AccountId} sender
|
|
@@ -16207,6 +16577,15 @@ class Note {
|
|
|
16207
16577
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16208
16578
|
return NoteId.__wrap(ret);
|
|
16209
16579
|
}
|
|
16580
|
+
/**
|
|
16581
|
+
* Returns true if the note is a network note (public + a valid
|
|
16582
|
+
* `NetworkAccountTarget` attachment).
|
|
16583
|
+
* @returns {boolean}
|
|
16584
|
+
*/
|
|
16585
|
+
isNetworkNote() {
|
|
16586
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
16587
|
+
return ret !== 0;
|
|
16588
|
+
}
|
|
16210
16589
|
/**
|
|
16211
16590
|
* Returns the public metadata associated with the note.
|
|
16212
16591
|
* @returns {NoteMetadata}
|
|
@@ -16266,6 +16645,30 @@ class Note {
|
|
|
16266
16645
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
16267
16646
|
return ret;
|
|
16268
16647
|
}
|
|
16648
|
+
/**
|
|
16649
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
16650
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
16651
|
+
*
|
|
16652
|
+
* # Errors
|
|
16653
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
16654
|
+
* @param {NoteAssets} note_assets
|
|
16655
|
+
* @param {NoteMetadata} note_metadata
|
|
16656
|
+
* @param {NoteRecipient} note_recipient
|
|
16657
|
+
* @param {NoteAttachment[]} attachments
|
|
16658
|
+
* @returns {Note}
|
|
16659
|
+
*/
|
|
16660
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
16661
|
+
_assertClass(note_assets, NoteAssets);
|
|
16662
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
16663
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
16664
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
16665
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16666
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
16667
|
+
if (ret[2]) {
|
|
16668
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16669
|
+
}
|
|
16670
|
+
return Note.__wrap(ret[0]);
|
|
16671
|
+
}
|
|
16269
16672
|
}
|
|
16270
16673
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
16271
16674
|
|
|
@@ -16533,6 +16936,12 @@ class NoteAttachment {
|
|
|
16533
16936
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16534
16937
|
return obj;
|
|
16535
16938
|
}
|
|
16939
|
+
static __unwrap(jsValue) {
|
|
16940
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
16941
|
+
return 0;
|
|
16942
|
+
}
|
|
16943
|
+
return jsValue.__destroy_into_raw();
|
|
16944
|
+
}
|
|
16536
16945
|
__destroy_into_raw() {
|
|
16537
16946
|
const ptr = this.__wbg_ptr;
|
|
16538
16947
|
this.__wbg_ptr = 0;
|
|
@@ -17763,6 +18172,19 @@ class NoteRecipient {
|
|
|
17763
18172
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
17764
18173
|
return Word.__wrap(ret);
|
|
17765
18174
|
}
|
|
18175
|
+
/**
|
|
18176
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18177
|
+
* serial number (the secret that prevents double-spends).
|
|
18178
|
+
* @param {NoteScript} note_script
|
|
18179
|
+
* @param {NoteStorage} storage
|
|
18180
|
+
* @returns {NoteRecipient}
|
|
18181
|
+
*/
|
|
18182
|
+
static fromScript(note_script, storage) {
|
|
18183
|
+
_assertClass(note_script, NoteScript);
|
|
18184
|
+
_assertClass(storage, NoteStorage);
|
|
18185
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18186
|
+
return NoteRecipient.__wrap(ret);
|
|
18187
|
+
}
|
|
17766
18188
|
/**
|
|
17767
18189
|
* Creates a note recipient from its serial number, script, and storage.
|
|
17768
18190
|
* @param {Word} serial_num
|
|
@@ -22888,6 +23310,30 @@ class WebClient {
|
|
|
22888
23310
|
const ret = wasm.webclient_newAccountWithSecretKey(this.__wbg_ptr, account.__wbg_ptr, secret_key.__wbg_ptr);
|
|
22889
23311
|
return ret;
|
|
22890
23312
|
}
|
|
23313
|
+
/**
|
|
23314
|
+
* Builds a transaction request that bridges a fungible asset out to another network via the
|
|
23315
|
+
* `AggLayer`.
|
|
23316
|
+
*
|
|
23317
|
+
* The request emits a single public B2AGG (Bridge-to-AggLayer) note holding `amount` units of
|
|
23318
|
+
* the `faucet_id` asset. The note is consumed by `bridge_account_id`, which burns the asset so
|
|
23319
|
+
* it can be claimed at `destination_address` (an Ethereum address) on the AggLayer-assigned
|
|
23320
|
+
* `destination_network`.
|
|
23321
|
+
* @param {AccountId} sender_account_id
|
|
23322
|
+
* @param {AccountId} bridge_account_id
|
|
23323
|
+
* @param {AccountId} faucet_id
|
|
23324
|
+
* @param {bigint} amount
|
|
23325
|
+
* @param {number} destination_network
|
|
23326
|
+
* @param {EthAddress} destination_address
|
|
23327
|
+
* @returns {Promise<TransactionRequest>}
|
|
23328
|
+
*/
|
|
23329
|
+
newB2AggTransactionRequest(sender_account_id, bridge_account_id, faucet_id, amount, destination_network, destination_address) {
|
|
23330
|
+
_assertClass(sender_account_id, AccountId);
|
|
23331
|
+
_assertClass(bridge_account_id, AccountId);
|
|
23332
|
+
_assertClass(faucet_id, AccountId);
|
|
23333
|
+
_assertClass(destination_address, EthAddress);
|
|
23334
|
+
const ret = wasm.webclient_newB2AggTransactionRequest(this.__wbg_ptr, sender_account_id.__wbg_ptr, bridge_account_id.__wbg_ptr, faucet_id.__wbg_ptr, amount, destination_network, destination_address.__wbg_ptr);
|
|
23335
|
+
return ret;
|
|
23336
|
+
}
|
|
22891
23337
|
/**
|
|
22892
23338
|
* @param {Note[]} list_of_notes
|
|
22893
23339
|
* @returns {TransactionRequest}
|
|
@@ -23181,6 +23627,25 @@ class WebClient {
|
|
|
23181
23627
|
const ret = wasm.webclient_submitNewTransaction(this.__wbg_ptr, account_id.__wbg_ptr, transaction_request.__wbg_ptr);
|
|
23182
23628
|
return ret;
|
|
23183
23629
|
}
|
|
23630
|
+
/**
|
|
23631
|
+
* Executes a batch of transactions against the specified account, proves them individually
|
|
23632
|
+
* and as a batch, submits the batch to the network, and atomically applies the per-tx
|
|
23633
|
+
* updates to the local store. Returns the block number the batch was accepted into.
|
|
23634
|
+
*
|
|
23635
|
+
* All transactions must target the same local account — the `account_id` argument.
|
|
23636
|
+
* Each element of `transaction_requests` is the serialized-bytes form of a
|
|
23637
|
+
* `TransactionRequest` (obtained via `tx_request.serialize()`)
|
|
23638
|
+
* @param {AccountId} account_id
|
|
23639
|
+
* @param {Uint8Array[]} transaction_requests
|
|
23640
|
+
* @returns {Promise<number>}
|
|
23641
|
+
*/
|
|
23642
|
+
submitNewTransactionBatch(account_id, transaction_requests) {
|
|
23643
|
+
_assertClass(account_id, AccountId);
|
|
23644
|
+
const ptr0 = passArrayJsValueToWasm0(transaction_requests, wasm.__wbindgen_malloc);
|
|
23645
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23646
|
+
const ret = wasm.webclient_submitNewTransactionBatch(this.__wbg_ptr, account_id.__wbg_ptr, ptr0, len0);
|
|
23647
|
+
return ret;
|
|
23648
|
+
}
|
|
23184
23649
|
/**
|
|
23185
23650
|
* Executes a transaction specified by the request against the specified account, proves it
|
|
23186
23651
|
* with the user provided prover, submits it to the network, and updates the local database.
|
|
@@ -23678,7 +24143,7 @@ function __wbg_get_imports() {
|
|
|
23678
24143
|
const ret = AccountStorage.__wrap(arg0);
|
|
23679
24144
|
return ret;
|
|
23680
24145
|
},
|
|
23681
|
-
|
|
24146
|
+
__wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
23682
24147
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23683
24148
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23684
24149
|
let v1;
|
|
@@ -23706,21 +24171,25 @@ function __wbg_get_imports() {
|
|
|
23706
24171
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
23707
24172
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
23708
24173
|
}, arguments); },
|
|
23709
|
-
|
|
24174
|
+
__wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
|
|
23710
24175
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
23711
24176
|
return ret;
|
|
23712
24177
|
},
|
|
23713
|
-
|
|
24178
|
+
__wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
|
|
23714
24179
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23715
24180
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23716
24181
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
23717
24182
|
return ret;
|
|
23718
24183
|
},
|
|
23719
|
-
|
|
24184
|
+
__wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
|
|
23720
24185
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
23721
24186
|
return ret;
|
|
23722
24187
|
},
|
|
23723
|
-
|
|
24188
|
+
__wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
|
|
24189
|
+
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24190
|
+
return ret;
|
|
24191
|
+
},
|
|
24192
|
+
__wbg_applyTransactionDelta_9f7f77d353e0bd2d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
23724
24193
|
let deferred0_0;
|
|
23725
24194
|
let deferred0_1;
|
|
23726
24195
|
let deferred1_0;
|
|
@@ -23859,7 +24328,7 @@ function __wbg_get_imports() {
|
|
|
23859
24328
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23860
24329
|
}
|
|
23861
24330
|
},
|
|
23862
|
-
|
|
24331
|
+
__wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
|
|
23863
24332
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
23864
24333
|
return ret;
|
|
23865
24334
|
},
|
|
@@ -23891,7 +24360,7 @@ function __wbg_get_imports() {
|
|
|
23891
24360
|
const ret = FetchedNote.__wrap(arg0);
|
|
23892
24361
|
return ret;
|
|
23893
24362
|
},
|
|
23894
|
-
|
|
24363
|
+
__wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
|
|
23895
24364
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
23896
24365
|
return ret;
|
|
23897
24366
|
},
|
|
@@ -23899,6 +24368,10 @@ function __wbg_get_imports() {
|
|
|
23899
24368
|
const ret = ForeignAccount.__unwrap(arg0);
|
|
23900
24369
|
return ret;
|
|
23901
24370
|
},
|
|
24371
|
+
__wbg_from_bddd64e7d5ff6941: function(arg0) {
|
|
24372
|
+
const ret = Array.from(arg0);
|
|
24373
|
+
return ret;
|
|
24374
|
+
},
|
|
23902
24375
|
__wbg_fungibleasset_new: function(arg0) {
|
|
23903
24376
|
const ret = FungibleAsset.__wrap(arg0);
|
|
23904
24377
|
return ret;
|
|
@@ -23911,7 +24384,7 @@ function __wbg_get_imports() {
|
|
|
23911
24384
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
23912
24385
|
return ret;
|
|
23913
24386
|
},
|
|
23914
|
-
|
|
24387
|
+
__wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
|
|
23915
24388
|
let deferred0_0;
|
|
23916
24389
|
let deferred0_1;
|
|
23917
24390
|
try {
|
|
@@ -23923,7 +24396,7 @@ function __wbg_get_imports() {
|
|
|
23923
24396
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23924
24397
|
}
|
|
23925
24398
|
},
|
|
23926
|
-
|
|
24399
|
+
__wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
|
|
23927
24400
|
let deferred0_0;
|
|
23928
24401
|
let deferred0_1;
|
|
23929
24402
|
try {
|
|
@@ -23935,7 +24408,7 @@ function __wbg_get_imports() {
|
|
|
23935
24408
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23936
24409
|
}
|
|
23937
24410
|
},
|
|
23938
|
-
|
|
24411
|
+
__wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
|
|
23939
24412
|
let deferred0_0;
|
|
23940
24413
|
let deferred0_1;
|
|
23941
24414
|
try {
|
|
@@ -23947,7 +24420,7 @@ function __wbg_get_imports() {
|
|
|
23947
24420
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23948
24421
|
}
|
|
23949
24422
|
},
|
|
23950
|
-
|
|
24423
|
+
__wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
|
|
23951
24424
|
let deferred0_0;
|
|
23952
24425
|
let deferred0_1;
|
|
23953
24426
|
try {
|
|
@@ -23959,7 +24432,7 @@ function __wbg_get_imports() {
|
|
|
23959
24432
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23960
24433
|
}
|
|
23961
24434
|
},
|
|
23962
|
-
|
|
24435
|
+
__wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
|
|
23963
24436
|
let deferred0_0;
|
|
23964
24437
|
let deferred0_1;
|
|
23965
24438
|
try {
|
|
@@ -23971,7 +24444,7 @@ function __wbg_get_imports() {
|
|
|
23971
24444
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23972
24445
|
}
|
|
23973
24446
|
},
|
|
23974
|
-
|
|
24447
|
+
__wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
|
|
23975
24448
|
let deferred0_0;
|
|
23976
24449
|
let deferred0_1;
|
|
23977
24450
|
try {
|
|
@@ -23983,11 +24456,11 @@ function __wbg_get_imports() {
|
|
|
23983
24456
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23984
24457
|
}
|
|
23985
24458
|
},
|
|
23986
|
-
|
|
24459
|
+
__wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
|
|
23987
24460
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
23988
24461
|
return ret;
|
|
23989
24462
|
},
|
|
23990
|
-
|
|
24463
|
+
__wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
|
|
23991
24464
|
let deferred0_0;
|
|
23992
24465
|
let deferred0_1;
|
|
23993
24466
|
try {
|
|
@@ -23999,7 +24472,7 @@ function __wbg_get_imports() {
|
|
|
23999
24472
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24000
24473
|
}
|
|
24001
24474
|
},
|
|
24002
|
-
|
|
24475
|
+
__wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24003
24476
|
let deferred0_0;
|
|
24004
24477
|
let deferred0_1;
|
|
24005
24478
|
try {
|
|
@@ -24013,7 +24486,7 @@ function __wbg_get_imports() {
|
|
|
24013
24486
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24014
24487
|
}
|
|
24015
24488
|
},
|
|
24016
|
-
|
|
24489
|
+
__wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24017
24490
|
let deferred0_0;
|
|
24018
24491
|
let deferred0_1;
|
|
24019
24492
|
try {
|
|
@@ -24027,27 +24500,27 @@ function __wbg_get_imports() {
|
|
|
24027
24500
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24028
24501
|
}
|
|
24029
24502
|
},
|
|
24030
|
-
|
|
24503
|
+
__wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
|
|
24031
24504
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24032
24505
|
return ret;
|
|
24033
24506
|
},
|
|
24034
|
-
|
|
24507
|
+
__wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
|
|
24035
24508
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24036
24509
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24037
24510
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24038
24511
|
return ret;
|
|
24039
24512
|
},
|
|
24040
|
-
|
|
24513
|
+
__wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
|
|
24041
24514
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24042
24515
|
return ret;
|
|
24043
24516
|
},
|
|
24044
|
-
|
|
24517
|
+
__wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
|
|
24045
24518
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24046
24519
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24047
24520
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24048
24521
|
return ret;
|
|
24049
24522
|
},
|
|
24050
|
-
|
|
24523
|
+
__wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24051
24524
|
let deferred1_0;
|
|
24052
24525
|
let deferred1_1;
|
|
24053
24526
|
try {
|
|
@@ -24061,31 +24534,31 @@ function __wbg_get_imports() {
|
|
|
24061
24534
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24062
24535
|
}
|
|
24063
24536
|
},
|
|
24064
|
-
|
|
24537
|
+
__wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
|
|
24065
24538
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24066
24539
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24067
24540
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24068
24541
|
return ret;
|
|
24069
24542
|
},
|
|
24070
|
-
|
|
24543
|
+
__wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
|
|
24071
24544
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24072
24545
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24073
24546
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24074
24547
|
return ret;
|
|
24075
24548
|
},
|
|
24076
|
-
|
|
24549
|
+
__wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
|
|
24077
24550
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24078
24551
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24079
24552
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24080
24553
|
return ret;
|
|
24081
24554
|
},
|
|
24082
|
-
|
|
24555
|
+
__wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
|
|
24083
24556
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24084
24557
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24085
24558
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24086
24559
|
return ret;
|
|
24087
24560
|
},
|
|
24088
|
-
|
|
24561
|
+
__wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
|
|
24089
24562
|
let deferred0_0;
|
|
24090
24563
|
let deferred0_1;
|
|
24091
24564
|
try {
|
|
@@ -24097,7 +24570,7 @@ function __wbg_get_imports() {
|
|
|
24097
24570
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24098
24571
|
}
|
|
24099
24572
|
},
|
|
24100
|
-
|
|
24573
|
+
__wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
|
|
24101
24574
|
let deferred0_0;
|
|
24102
24575
|
let deferred0_1;
|
|
24103
24576
|
try {
|
|
@@ -24109,39 +24582,39 @@ function __wbg_get_imports() {
|
|
|
24109
24582
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24110
24583
|
}
|
|
24111
24584
|
},
|
|
24112
|
-
|
|
24585
|
+
__wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
|
|
24113
24586
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24114
24587
|
return ret;
|
|
24115
24588
|
},
|
|
24116
|
-
|
|
24589
|
+
__wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
|
|
24117
24590
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24118
24591
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24119
24592
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24120
24593
|
return ret;
|
|
24121
24594
|
},
|
|
24122
|
-
|
|
24595
|
+
__wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
|
|
24123
24596
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24124
24597
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24125
24598
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24126
24599
|
return ret;
|
|
24127
24600
|
},
|
|
24128
|
-
|
|
24601
|
+
__wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
|
|
24129
24602
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24130
24603
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24131
24604
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24132
24605
|
return ret;
|
|
24133
24606
|
},
|
|
24134
|
-
|
|
24607
|
+
__wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
|
|
24135
24608
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24136
24609
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24137
24610
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24138
24611
|
return ret;
|
|
24139
24612
|
},
|
|
24140
|
-
|
|
24613
|
+
__wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
|
|
24141
24614
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24142
24615
|
return ret;
|
|
24143
24616
|
},
|
|
24144
|
-
|
|
24617
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
|
|
24145
24618
|
let deferred0_0;
|
|
24146
24619
|
let deferred0_1;
|
|
24147
24620
|
try {
|
|
@@ -24153,7 +24626,7 @@ function __wbg_get_imports() {
|
|
|
24153
24626
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24154
24627
|
}
|
|
24155
24628
|
},
|
|
24156
|
-
|
|
24629
|
+
__wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
|
|
24157
24630
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24158
24631
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24159
24632
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24166,7 +24639,7 @@ function __wbg_get_imports() {
|
|
|
24166
24639
|
const ret = arg0.getReader();
|
|
24167
24640
|
return ret;
|
|
24168
24641
|
}, arguments); },
|
|
24169
|
-
|
|
24642
|
+
__wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
|
|
24170
24643
|
let deferred0_0;
|
|
24171
24644
|
let deferred0_1;
|
|
24172
24645
|
try {
|
|
@@ -24178,7 +24651,7 @@ function __wbg_get_imports() {
|
|
|
24178
24651
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24179
24652
|
}
|
|
24180
24653
|
},
|
|
24181
|
-
|
|
24654
|
+
__wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
|
|
24182
24655
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24183
24656
|
return ret;
|
|
24184
24657
|
},
|
|
@@ -24186,15 +24659,15 @@ function __wbg_get_imports() {
|
|
|
24186
24659
|
const ret = arg0.getTime();
|
|
24187
24660
|
return ret;
|
|
24188
24661
|
},
|
|
24189
|
-
|
|
24662
|
+
__wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
|
|
24190
24663
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24191
24664
|
return ret;
|
|
24192
24665
|
},
|
|
24193
|
-
|
|
24666
|
+
__wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
|
|
24194
24667
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24195
24668
|
return ret;
|
|
24196
24669
|
},
|
|
24197
|
-
|
|
24670
|
+
__wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
|
|
24198
24671
|
let deferred0_0;
|
|
24199
24672
|
let deferred0_1;
|
|
24200
24673
|
try {
|
|
@@ -24206,7 +24679,7 @@ function __wbg_get_imports() {
|
|
|
24206
24679
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24207
24680
|
}
|
|
24208
24681
|
},
|
|
24209
|
-
|
|
24682
|
+
__wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
|
|
24210
24683
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24211
24684
|
return ret;
|
|
24212
24685
|
},
|
|
@@ -24250,7 +24723,7 @@ function __wbg_get_imports() {
|
|
|
24250
24723
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24251
24724
|
return ret;
|
|
24252
24725
|
},
|
|
24253
|
-
|
|
24726
|
+
__wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24254
24727
|
let deferred0_0;
|
|
24255
24728
|
let deferred0_1;
|
|
24256
24729
|
try {
|
|
@@ -24264,7 +24737,7 @@ function __wbg_get_imports() {
|
|
|
24264
24737
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24265
24738
|
}
|
|
24266
24739
|
},
|
|
24267
|
-
|
|
24740
|
+
__wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24268
24741
|
let deferred0_0;
|
|
24269
24742
|
let deferred0_1;
|
|
24270
24743
|
let deferred1_0;
|
|
@@ -24281,7 +24754,7 @@ function __wbg_get_imports() {
|
|
|
24281
24754
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24282
24755
|
}
|
|
24283
24756
|
},
|
|
24284
|
-
|
|
24757
|
+
__wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24285
24758
|
let deferred0_0;
|
|
24286
24759
|
let deferred0_1;
|
|
24287
24760
|
let deferred1_0;
|
|
@@ -24298,13 +24771,13 @@ function __wbg_get_imports() {
|
|
|
24298
24771
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24299
24772
|
}
|
|
24300
24773
|
},
|
|
24301
|
-
|
|
24774
|
+
__wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24302
24775
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24303
24776
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24304
24777
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24305
24778
|
return ret;
|
|
24306
24779
|
},
|
|
24307
|
-
|
|
24780
|
+
__wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24308
24781
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24309
24782
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24310
24783
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24312,7 +24785,7 @@ function __wbg_get_imports() {
|
|
|
24312
24785
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24313
24786
|
return ret;
|
|
24314
24787
|
},
|
|
24315
|
-
|
|
24788
|
+
__wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24316
24789
|
let deferred0_0;
|
|
24317
24790
|
let deferred0_1;
|
|
24318
24791
|
try {
|
|
@@ -24326,7 +24799,7 @@ function __wbg_get_imports() {
|
|
|
24326
24799
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24327
24800
|
}
|
|
24328
24801
|
},
|
|
24329
|
-
|
|
24802
|
+
__wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24330
24803
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24331
24804
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24332
24805
|
let v1;
|
|
@@ -24423,11 +24896,11 @@ function __wbg_get_imports() {
|
|
|
24423
24896
|
const ret = arg0.length;
|
|
24424
24897
|
return ret;
|
|
24425
24898
|
},
|
|
24426
|
-
|
|
24899
|
+
__wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
|
|
24427
24900
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24428
24901
|
return ret;
|
|
24429
24902
|
},
|
|
24430
|
-
|
|
24903
|
+
__wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
|
|
24431
24904
|
let deferred0_0;
|
|
24432
24905
|
let deferred0_1;
|
|
24433
24906
|
try {
|
|
@@ -24515,7 +24988,7 @@ function __wbg_get_imports() {
|
|
|
24515
24988
|
const a = state0.a;
|
|
24516
24989
|
state0.a = 0;
|
|
24517
24990
|
try {
|
|
24518
|
-
return
|
|
24991
|
+
return wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(a, state0.b, arg0, arg1);
|
|
24519
24992
|
} finally {
|
|
24520
24993
|
state0.a = a;
|
|
24521
24994
|
}
|
|
@@ -24574,6 +25047,10 @@ function __wbg_get_imports() {
|
|
|
24574
25047
|
const ret = NoteAttachment.__wrap(arg0);
|
|
24575
25048
|
return ret;
|
|
24576
25049
|
},
|
|
25050
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25051
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25052
|
+
return ret;
|
|
25053
|
+
},
|
|
24577
25054
|
__wbg_noteconsumability_new: function(arg0) {
|
|
24578
25055
|
const ret = NoteConsumability.__wrap(arg0);
|
|
24579
25056
|
return ret;
|
|
@@ -24626,7 +25103,7 @@ function __wbg_get_imports() {
|
|
|
24626
25103
|
const ret = NoteTag.__unwrap(arg0);
|
|
24627
25104
|
return ret;
|
|
24628
25105
|
},
|
|
24629
|
-
|
|
25106
|
+
__wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
|
|
24630
25107
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
24631
25108
|
return ret;
|
|
24632
25109
|
},
|
|
@@ -24657,7 +25134,7 @@ function __wbg_get_imports() {
|
|
|
24657
25134
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
24658
25135
|
return ret;
|
|
24659
25136
|
},
|
|
24660
|
-
|
|
25137
|
+
__wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24661
25138
|
let deferred0_0;
|
|
24662
25139
|
let deferred0_1;
|
|
24663
25140
|
let deferred1_0;
|
|
@@ -24674,7 +25151,7 @@ function __wbg_get_imports() {
|
|
|
24674
25151
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24675
25152
|
}
|
|
24676
25153
|
},
|
|
24677
|
-
|
|
25154
|
+
__wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24678
25155
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24679
25156
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24680
25157
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24686,6 +25163,10 @@ function __wbg_get_imports() {
|
|
|
24686
25163
|
const ret = PswapLineageRecord.__wrap(arg0);
|
|
24687
25164
|
return ret;
|
|
24688
25165
|
},
|
|
25166
|
+
__wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
|
|
25167
|
+
const ret = arg0.push(arg1);
|
|
25168
|
+
return ret;
|
|
25169
|
+
},
|
|
24689
25170
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
24690
25171
|
const ret = arg0.queueMicrotask;
|
|
24691
25172
|
return ret;
|
|
@@ -24700,13 +25181,13 @@ function __wbg_get_imports() {
|
|
|
24700
25181
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
24701
25182
|
arg0.releaseLock();
|
|
24702
25183
|
},
|
|
24703
|
-
|
|
25184
|
+
__wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
|
|
24704
25185
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24705
25186
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24706
25187
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
24707
25188
|
return ret;
|
|
24708
25189
|
},
|
|
24709
|
-
|
|
25190
|
+
__wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
|
|
24710
25191
|
let deferred0_0;
|
|
24711
25192
|
let deferred0_1;
|
|
24712
25193
|
try {
|
|
@@ -24718,7 +25199,7 @@ function __wbg_get_imports() {
|
|
|
24718
25199
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24719
25200
|
}
|
|
24720
25201
|
},
|
|
24721
|
-
|
|
25202
|
+
__wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
|
|
24722
25203
|
let deferred0_0;
|
|
24723
25204
|
let deferred0_1;
|
|
24724
25205
|
try {
|
|
@@ -24730,7 +25211,7 @@ function __wbg_get_imports() {
|
|
|
24730
25211
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24731
25212
|
}
|
|
24732
25213
|
},
|
|
24733
|
-
|
|
25214
|
+
__wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24734
25215
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24735
25216
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24736
25217
|
let v1;
|
|
@@ -24751,7 +25232,7 @@ function __wbg_get_imports() {
|
|
|
24751
25232
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
24752
25233
|
return ret;
|
|
24753
25234
|
},
|
|
24754
|
-
|
|
25235
|
+
__wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
|
|
24755
25236
|
let deferred0_0;
|
|
24756
25237
|
let deferred0_1;
|
|
24757
25238
|
try {
|
|
@@ -24802,6 +25283,9 @@ function __wbg_get_imports() {
|
|
|
24802
25283
|
const ret = setTimeout(arg0, arg1);
|
|
24803
25284
|
return ret;
|
|
24804
25285
|
}, arguments); },
|
|
25286
|
+
__wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
|
|
25287
|
+
arg0[arg1] = arg2;
|
|
25288
|
+
},
|
|
24805
25289
|
__wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
|
|
24806
25290
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
24807
25291
|
return ret;
|
|
@@ -24951,13 +25435,13 @@ function __wbg_get_imports() {
|
|
|
24951
25435
|
const ret = TransactionSummary.__wrap(arg0);
|
|
24952
25436
|
return ret;
|
|
24953
25437
|
},
|
|
24954
|
-
|
|
25438
|
+
__wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
|
|
24955
25439
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24956
25440
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24957
25441
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
24958
25442
|
return ret;
|
|
24959
25443
|
},
|
|
24960
|
-
|
|
25444
|
+
__wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24961
25445
|
let deferred0_0;
|
|
24962
25446
|
let deferred0_1;
|
|
24963
25447
|
try {
|
|
@@ -24971,7 +25455,7 @@ function __wbg_get_imports() {
|
|
|
24971
25455
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24972
25456
|
}
|
|
24973
25457
|
},
|
|
24974
|
-
|
|
25458
|
+
__wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
24975
25459
|
let deferred0_0;
|
|
24976
25460
|
let deferred0_1;
|
|
24977
25461
|
let deferred1_0;
|
|
@@ -25013,7 +25497,7 @@ function __wbg_get_imports() {
|
|
|
25013
25497
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25014
25498
|
}
|
|
25015
25499
|
},
|
|
25016
|
-
|
|
25500
|
+
__wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25017
25501
|
let deferred0_0;
|
|
25018
25502
|
let deferred0_1;
|
|
25019
25503
|
try {
|
|
@@ -25027,7 +25511,7 @@ function __wbg_get_imports() {
|
|
|
25027
25511
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25028
25512
|
}
|
|
25029
25513
|
},
|
|
25030
|
-
|
|
25514
|
+
__wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25031
25515
|
let deferred0_0;
|
|
25032
25516
|
let deferred0_1;
|
|
25033
25517
|
let deferred2_0;
|
|
@@ -25046,7 +25530,7 @@ function __wbg_get_imports() {
|
|
|
25046
25530
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25047
25531
|
}
|
|
25048
25532
|
},
|
|
25049
|
-
|
|
25533
|
+
__wbg_upsertInputNote_4aa6814b400ee6a6: 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) {
|
|
25050
25534
|
let deferred0_0;
|
|
25051
25535
|
let deferred0_1;
|
|
25052
25536
|
let deferred6_0;
|
|
@@ -25095,7 +25579,7 @@ function __wbg_get_imports() {
|
|
|
25095
25579
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25096
25580
|
}
|
|
25097
25581
|
},
|
|
25098
|
-
|
|
25582
|
+
__wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25099
25583
|
let deferred0_0;
|
|
25100
25584
|
let deferred0_1;
|
|
25101
25585
|
try {
|
|
@@ -25109,7 +25593,7 @@ function __wbg_get_imports() {
|
|
|
25109
25593
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25110
25594
|
}
|
|
25111
25595
|
},
|
|
25112
|
-
|
|
25596
|
+
__wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25113
25597
|
let deferred0_0;
|
|
25114
25598
|
let deferred0_1;
|
|
25115
25599
|
let deferred1_0;
|
|
@@ -25144,7 +25628,7 @@ function __wbg_get_imports() {
|
|
|
25144
25628
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25145
25629
|
}
|
|
25146
25630
|
},
|
|
25147
|
-
|
|
25631
|
+
__wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25148
25632
|
let deferred0_0;
|
|
25149
25633
|
let deferred0_1;
|
|
25150
25634
|
try {
|
|
@@ -25158,7 +25642,7 @@ function __wbg_get_imports() {
|
|
|
25158
25642
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25159
25643
|
}
|
|
25160
25644
|
},
|
|
25161
|
-
|
|
25645
|
+
__wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25162
25646
|
let deferred0_0;
|
|
25163
25647
|
let deferred0_1;
|
|
25164
25648
|
try {
|
|
@@ -25179,7 +25663,7 @@ function __wbg_get_imports() {
|
|
|
25179
25663
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25180
25664
|
}
|
|
25181
25665
|
},
|
|
25182
|
-
|
|
25666
|
+
__wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25183
25667
|
let deferred0_0;
|
|
25184
25668
|
let deferred0_1;
|
|
25185
25669
|
try {
|
|
@@ -25210,13 +25694,13 @@ function __wbg_get_imports() {
|
|
|
25210
25694
|
return ret;
|
|
25211
25695
|
},
|
|
25212
25696
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25213
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25214
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25697
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25698
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788);
|
|
25215
25699
|
return ret;
|
|
25216
25700
|
},
|
|
25217
25701
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25218
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25219
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25702
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [], shim_idx: 445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25703
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9);
|
|
25220
25704
|
return ret;
|
|
25221
25705
|
},
|
|
25222
25706
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -25225,86 +25709,91 @@ function __wbg_get_imports() {
|
|
|
25225
25709
|
return ret;
|
|
25226
25710
|
},
|
|
25227
25711
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
25712
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
25713
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
25714
|
+
return ret;
|
|
25715
|
+
},
|
|
25716
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
25228
25717
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
25229
25718
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
25230
25719
|
return ret;
|
|
25231
25720
|
},
|
|
25232
|
-
|
|
25721
|
+
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
25233
25722
|
// Cast intrinsic for `U64 -> Externref`.
|
|
25234
25723
|
const ret = BigInt.asUintN(64, arg0);
|
|
25235
25724
|
return ret;
|
|
25236
25725
|
},
|
|
25237
|
-
|
|
25726
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
25238
25727
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25239
25728
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25240
25729
|
// Cast intrinsic for `Vector(NamedExternref("AccountHeader")) -> Externref`.
|
|
25241
25730
|
const ret = v0;
|
|
25242
25731
|
return ret;
|
|
25243
25732
|
},
|
|
25244
|
-
|
|
25733
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
25245
25734
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25246
25735
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25247
25736
|
// Cast intrinsic for `Vector(NamedExternref("Address")) -> Externref`.
|
|
25248
25737
|
const ret = v0;
|
|
25249
25738
|
return ret;
|
|
25250
25739
|
},
|
|
25251
|
-
|
|
25740
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
25252
25741
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25253
25742
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25254
25743
|
// Cast intrinsic for `Vector(NamedExternref("ConsumableNoteRecord")) -> Externref`.
|
|
25255
25744
|
const ret = v0;
|
|
25256
25745
|
return ret;
|
|
25257
25746
|
},
|
|
25258
|
-
|
|
25747
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
25259
25748
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25260
25749
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25261
25750
|
// Cast intrinsic for `Vector(NamedExternref("FetchedNote")) -> Externref`.
|
|
25262
25751
|
const ret = v0;
|
|
25263
25752
|
return ret;
|
|
25264
25753
|
},
|
|
25265
|
-
|
|
25754
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
25266
25755
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25267
25756
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25268
25757
|
// Cast intrinsic for `Vector(NamedExternref("InputNoteRecord")) -> Externref`.
|
|
25269
25758
|
const ret = v0;
|
|
25270
25759
|
return ret;
|
|
25271
25760
|
},
|
|
25272
|
-
|
|
25761
|
+
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
25273
25762
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25274
25763
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25275
25764
|
// Cast intrinsic for `Vector(NamedExternref("OutputNoteRecord")) -> Externref`.
|
|
25276
25765
|
const ret = v0;
|
|
25277
25766
|
return ret;
|
|
25278
25767
|
},
|
|
25279
|
-
|
|
25768
|
+
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
25280
25769
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25281
25770
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25282
25771
|
// Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
|
|
25283
25772
|
const ret = v0;
|
|
25284
25773
|
return ret;
|
|
25285
25774
|
},
|
|
25286
|
-
|
|
25775
|
+
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
25287
25776
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25288
25777
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25289
25778
|
// Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
|
|
25290
25779
|
const ret = v0;
|
|
25291
25780
|
return ret;
|
|
25292
25781
|
},
|
|
25293
|
-
|
|
25782
|
+
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
25294
25783
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25295
25784
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25296
25785
|
// Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
|
|
25297
25786
|
const ret = v0;
|
|
25298
25787
|
return ret;
|
|
25299
25788
|
},
|
|
25300
|
-
|
|
25789
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
25301
25790
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25302
25791
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25303
25792
|
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
25304
25793
|
const ret = v0;
|
|
25305
25794
|
return ret;
|
|
25306
25795
|
},
|
|
25307
|
-
|
|
25796
|
+
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
25308
25797
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
25309
25798
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
25310
25799
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -25327,16 +25816,16 @@ function __wbg_get_imports() {
|
|
|
25327
25816
|
};
|
|
25328
25817
|
}
|
|
25329
25818
|
|
|
25330
|
-
function
|
|
25331
|
-
wasm.
|
|
25819
|
+
function wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1) {
|
|
25820
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1);
|
|
25332
25821
|
}
|
|
25333
25822
|
|
|
25334
|
-
function
|
|
25335
|
-
wasm.
|
|
25823
|
+
function wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2) {
|
|
25824
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2);
|
|
25336
25825
|
}
|
|
25337
25826
|
|
|
25338
|
-
function
|
|
25339
|
-
wasm.
|
|
25827
|
+
function wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3) {
|
|
25828
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3);
|
|
25340
25829
|
}
|
|
25341
25830
|
|
|
25342
25831
|
|
|
@@ -25455,6 +25944,9 @@ const ConsumableNoteRecordFinalization = (typeof FinalizationRegistry === 'undef
|
|
|
25455
25944
|
const EndpointFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25456
25945
|
? { register: () => {}, unregister: () => {} }
|
|
25457
25946
|
: new FinalizationRegistry(ptr => wasm.__wbg_endpoint_free(ptr >>> 0, 1));
|
|
25947
|
+
const EthAddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25948
|
+
? { register: () => {}, unregister: () => {} }
|
|
25949
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ethaddress_free(ptr >>> 0, 1));
|
|
25458
25950
|
const ExecutedTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25459
25951
|
? { register: () => {}, unregister: () => {} }
|
|
25460
25952
|
: new FinalizationRegistry(ptr => wasm.__wbg_executedtransaction_free(ptr >>> 0, 1));
|
|
@@ -25533,6 +26025,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
25533
26025
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25534
26026
|
? { register: () => {}, unregister: () => {} }
|
|
25535
26027
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26028
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26029
|
+
? { register: () => {}, unregister: () => {} }
|
|
26030
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
25536
26031
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25537
26032
|
? { register: () => {}, unregister: () => {} }
|
|
25538
26033
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -26150,5 +26645,5 @@ async function __wbg_init(module_or_path) {
|
|
|
26150
26645
|
}
|
|
26151
26646
|
|
|
26152
26647
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26153
|
-
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, 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 };
|
|
26154
|
-
//# sourceMappingURL=Cargo-
|
|
26648
|
+
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 };
|
|
26649
|
+
//# sourceMappingURL=Cargo-CR1mzjgg.js.map
|