@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
async function loadWasm() {
|
|
6
6
|
let wasmModule;
|
|
7
7
|
if (!undefined || (undefined && !undefined.SSR)) {
|
|
8
|
-
wasmModule = await Promise.resolve().then(function () { return
|
|
8
|
+
wasmModule = await Promise.resolve().then(function () { return CargoCR1mzjgg; });
|
|
9
9
|
// The Cargo glue's __wbg_init TLA is stripped by the rollup build to
|
|
10
10
|
// prevent blocking WKWebView module evaluation. Call it explicitly here
|
|
11
11
|
// with the WASM URL that the Cargo glue pre-resolves (relative to its
|
|
@@ -9467,6 +9467,7 @@ async function applyTransactionDelta(dbId, accountId, nonce, updatedSlots, chang
|
|
|
9467
9467
|
}
|
|
9468
9468
|
catch (error) {
|
|
9469
9469
|
logWebStoreError(error, `Error applying transaction delta`);
|
|
9470
|
+
throw error;
|
|
9470
9471
|
}
|
|
9471
9472
|
}
|
|
9472
9473
|
async function archiveAndReplaceStorageSlots(db, accountId, nonce, newSlots) {
|
|
@@ -9705,6 +9706,7 @@ async function applyFullAccountState(dbId, accountState) {
|
|
|
9705
9706
|
}
|
|
9706
9707
|
catch (error) {
|
|
9707
9708
|
logWebStoreError(error, `Error applying full account state`);
|
|
9709
|
+
throw error;
|
|
9708
9710
|
}
|
|
9709
9711
|
}
|
|
9710
9712
|
async function upsertAccountRecord(dbId, accountId, codeRoot, storageRoot, vaultRoot, nonce, committed, commitment, accountSeed, watched) {
|
|
@@ -10626,6 +10628,7 @@ async function upsertInputNote(dbId, detailsCommitment, noteId, assets, attachme
|
|
|
10626
10628
|
}
|
|
10627
10629
|
catch (error) {
|
|
10628
10630
|
logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
|
|
10631
|
+
throw error;
|
|
10629
10632
|
}
|
|
10630
10633
|
};
|
|
10631
10634
|
return db.dexie.transaction("rw", db.inputNotes, db.notesScripts, doWork);
|
|
@@ -10709,6 +10712,7 @@ async function upsertOutputNote(dbId, detailsCommitment, noteId, assets, attachm
|
|
|
10709
10712
|
}
|
|
10710
10713
|
catch (error) {
|
|
10711
10714
|
logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
|
|
10715
|
+
throw error;
|
|
10712
10716
|
}
|
|
10713
10717
|
};
|
|
10714
10718
|
return db.dexie.transaction("rw", db.outputNotes, db.notesScripts, doWork);
|
|
@@ -10951,6 +10955,7 @@ async function insertTransactionScript(dbId, scriptRoot, txScript, tx) {
|
|
|
10951
10955
|
}
|
|
10952
10956
|
catch (error) {
|
|
10953
10957
|
logWebStoreError(error, "Failed to insert transaction script");
|
|
10958
|
+
throw error;
|
|
10954
10959
|
}
|
|
10955
10960
|
}
|
|
10956
10961
|
async function upsertTransactionRecord(dbId, transactionId, details, blockNum, statusVariant, status, scriptRoot, tx) {
|
|
@@ -10968,8 +10973,82 @@ async function upsertTransactionRecord(dbId, transactionId, details, blockNum, s
|
|
|
10968
10973
|
}
|
|
10969
10974
|
catch (err) {
|
|
10970
10975
|
logWebStoreError(err, "Failed to insert proven transaction data");
|
|
10976
|
+
throw err;
|
|
10971
10977
|
}
|
|
10972
10978
|
}
|
|
10979
|
+
/**
|
|
10980
|
+
* Applies a batch of transaction updates atomically inside a single Dexie transaction.
|
|
10981
|
+
*
|
|
10982
|
+
* All sub-operations that internally call `db.dexie.transaction()` are auto-joined by Dexie
|
|
10983
|
+
* as nested sub-transactions when run inside this parent transaction, provided the parent
|
|
10984
|
+
* scope is a superset of every sub-transaction scope.
|
|
10985
|
+
*/
|
|
10986
|
+
async function applyTransactionBatch(dbId, payloads) {
|
|
10987
|
+
const db = getDatabase(dbId);
|
|
10988
|
+
await db.dexie.transaction("rw", [
|
|
10989
|
+
db.transactions,
|
|
10990
|
+
db.transactionScripts,
|
|
10991
|
+
db.latestAccountStorages,
|
|
10992
|
+
db.historicalAccountStorages,
|
|
10993
|
+
db.latestStorageMapEntries,
|
|
10994
|
+
db.historicalStorageMapEntries,
|
|
10995
|
+
db.latestAccountAssets,
|
|
10996
|
+
db.historicalAccountAssets,
|
|
10997
|
+
db.latestAccountHeaders,
|
|
10998
|
+
db.historicalAccountHeaders,
|
|
10999
|
+
db.inputNotes,
|
|
11000
|
+
db.outputNotes,
|
|
11001
|
+
db.notesScripts,
|
|
11002
|
+
db.tags,
|
|
11003
|
+
], async () => {
|
|
11004
|
+
for (const payload of payloads) {
|
|
11005
|
+
// 1. Insert the transaction record (script first, then record)
|
|
11006
|
+
const rec = payload.transactionRecord;
|
|
11007
|
+
if (rec.scriptRoot && rec.txScript) {
|
|
11008
|
+
await insertTransactionScript(dbId, rec.scriptRoot, rec.txScript);
|
|
11009
|
+
}
|
|
11010
|
+
await upsertTransactionRecord(dbId, rec.id, rec.details, rec.blockNum, rec.statusVariant, rec.status, rec.scriptRoot);
|
|
11011
|
+
// 2. Apply account state (full or delta)
|
|
11012
|
+
const acct = payload.accountState;
|
|
11013
|
+
if (acct.kind === "full") {
|
|
11014
|
+
await applyFullAccountState(dbId, acct.account);
|
|
11015
|
+
}
|
|
11016
|
+
else {
|
|
11017
|
+
await applyTransactionDelta(dbId, acct.accountId, acct.nonce, acct.updatedSlots, acct.changedMapEntries, acct.changedAssets, acct.codeRoot, acct.storageRoot, acct.vaultRoot, acct.committed, acct.commitment);
|
|
11018
|
+
}
|
|
11019
|
+
// 3. Upsert input and output notes
|
|
11020
|
+
for (const note of payload.inputNotes) {
|
|
11021
|
+
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);
|
|
11022
|
+
}
|
|
11023
|
+
for (const note of payload.outputNotes) {
|
|
11024
|
+
await upsertOutputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.recipientDigest, note.metadata, note.nullifier, note.expectedHeight, note.stateDiscriminant, note.state);
|
|
11025
|
+
}
|
|
11026
|
+
// 4. Add note tags (deduplicated within the transaction)
|
|
11027
|
+
for (const tagEntry of payload.tags) {
|
|
11028
|
+
const tagArray = new Uint8Array(tagEntry.tag);
|
|
11029
|
+
const tagBase64 = uint8ArrayToBase64(tagArray);
|
|
11030
|
+
const sourceNoteId = tagEntry.sourceNoteId ?? "";
|
|
11031
|
+
const sourceAccountId = tagEntry.sourceAccountId ?? "";
|
|
11032
|
+
const sourceSubscriptionKey = tagEntry.sourceSubscriptionKey ?? "";
|
|
11033
|
+
// Check for existing tag to avoid duplicates (mirrors the Rust add_note_tag logic).
|
|
11034
|
+
// sourceSubscriptionKey is unindexed, so filter on it in memory — distinct
|
|
11035
|
+
// subscriptions may share a tag and must remain separate rows.
|
|
11036
|
+
const existing = await db.tags
|
|
11037
|
+
.where({ tag: tagBase64, sourceNoteId, sourceAccountId })
|
|
11038
|
+
.filter((t) => (t.sourceSubscriptionKey ?? "") === sourceSubscriptionKey)
|
|
11039
|
+
.first();
|
|
11040
|
+
if (!existing) {
|
|
11041
|
+
await db.tags.add({
|
|
11042
|
+
tag: tagBase64,
|
|
11043
|
+
sourceNoteId,
|
|
11044
|
+
sourceAccountId,
|
|
11045
|
+
sourceSubscriptionKey,
|
|
11046
|
+
});
|
|
11047
|
+
}
|
|
11048
|
+
}
|
|
11049
|
+
}
|
|
11050
|
+
});
|
|
11051
|
+
}
|
|
10973
11052
|
|
|
10974
11053
|
async function getNoteTags(dbId) {
|
|
10975
11054
|
try {
|
|
@@ -13579,10 +13658,13 @@ class AuthSecretKey {
|
|
|
13579
13658
|
if (Symbol.dispose) AuthSecretKey.prototype[Symbol.dispose] = AuthSecretKey.prototype.free;
|
|
13580
13659
|
|
|
13581
13660
|
/**
|
|
13582
|
-
* Provides metadata for a
|
|
13661
|
+
* Provides metadata for a fungible faucet account component.
|
|
13583
13662
|
*
|
|
13584
|
-
* Reads the on-chain
|
|
13585
|
-
*
|
|
13663
|
+
* Reads the on-chain `FungibleFaucet` component for the account, which holds the per-token
|
|
13664
|
+
* info (symbol, decimals, supply, and the descriptive metadata). The same component backs both
|
|
13665
|
+
* "basic" public faucets and network-style faucets — in the current protocol the distinction is
|
|
13666
|
+
* a function of the surrounding account configuration (account type, auth, access control), not
|
|
13667
|
+
* of the faucet component itself — so this reads metadata from either kind of faucet account.
|
|
13586
13668
|
*/
|
|
13587
13669
|
class BasicFungibleFaucetComponent {
|
|
13588
13670
|
static __wrap(ptr) {
|
|
@@ -13610,6 +13692,32 @@ class BasicFungibleFaucetComponent {
|
|
|
13610
13692
|
const ret = wasm.basicfungiblefaucetcomponent_decimals(this.__wbg_ptr);
|
|
13611
13693
|
return ret;
|
|
13612
13694
|
}
|
|
13695
|
+
/**
|
|
13696
|
+
* Returns the optional free-form token description, or `undefined` when unset.
|
|
13697
|
+
* @returns {string | undefined}
|
|
13698
|
+
*/
|
|
13699
|
+
description() {
|
|
13700
|
+
const ret = wasm.basicfungiblefaucetcomponent_description(this.__wbg_ptr);
|
|
13701
|
+
let v1;
|
|
13702
|
+
if (ret[0] !== 0) {
|
|
13703
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13704
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13705
|
+
}
|
|
13706
|
+
return v1;
|
|
13707
|
+
}
|
|
13708
|
+
/**
|
|
13709
|
+
* Returns the optional external link (e.g. project website), or `undefined` when unset.
|
|
13710
|
+
* @returns {string | undefined}
|
|
13711
|
+
*/
|
|
13712
|
+
externalLink() {
|
|
13713
|
+
const ret = wasm.basicfungiblefaucetcomponent_externalLink(this.__wbg_ptr);
|
|
13714
|
+
let v1;
|
|
13715
|
+
if (ret[0] !== 0) {
|
|
13716
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13717
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13718
|
+
}
|
|
13719
|
+
return v1;
|
|
13720
|
+
}
|
|
13613
13721
|
/**
|
|
13614
13722
|
* Extracts faucet metadata from an account.
|
|
13615
13723
|
* @param {Account} account
|
|
@@ -13624,6 +13732,19 @@ class BasicFungibleFaucetComponent {
|
|
|
13624
13732
|
}
|
|
13625
13733
|
return BasicFungibleFaucetComponent.__wrap(ret[0]);
|
|
13626
13734
|
}
|
|
13735
|
+
/**
|
|
13736
|
+
* Returns the optional token logo URI, or `undefined` when unset.
|
|
13737
|
+
* @returns {string | undefined}
|
|
13738
|
+
*/
|
|
13739
|
+
logoUri() {
|
|
13740
|
+
const ret = wasm.basicfungiblefaucetcomponent_logoUri(this.__wbg_ptr);
|
|
13741
|
+
let v1;
|
|
13742
|
+
if (ret[0] !== 0) {
|
|
13743
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13744
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13745
|
+
}
|
|
13746
|
+
return v1;
|
|
13747
|
+
}
|
|
13627
13748
|
/**
|
|
13628
13749
|
* Returns the maximum token supply.
|
|
13629
13750
|
* @returns {Felt}
|
|
@@ -13640,6 +13761,30 @@ class BasicFungibleFaucetComponent {
|
|
|
13640
13761
|
const ret = wasm.basicfungiblefaucetcomponent_symbol(this.__wbg_ptr);
|
|
13641
13762
|
return TokenSymbol.__wrap(ret);
|
|
13642
13763
|
}
|
|
13764
|
+
/**
|
|
13765
|
+
* Returns the human-readable token name.
|
|
13766
|
+
* @returns {string}
|
|
13767
|
+
*/
|
|
13768
|
+
tokenName() {
|
|
13769
|
+
let deferred1_0;
|
|
13770
|
+
let deferred1_1;
|
|
13771
|
+
try {
|
|
13772
|
+
const ret = wasm.basicfungiblefaucetcomponent_tokenName(this.__wbg_ptr);
|
|
13773
|
+
deferred1_0 = ret[0];
|
|
13774
|
+
deferred1_1 = ret[1];
|
|
13775
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13776
|
+
} finally {
|
|
13777
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13778
|
+
}
|
|
13779
|
+
}
|
|
13780
|
+
/**
|
|
13781
|
+
* Returns the current token supply (the amount minted so far).
|
|
13782
|
+
* @returns {Felt}
|
|
13783
|
+
*/
|
|
13784
|
+
tokenSupply() {
|
|
13785
|
+
const ret = wasm.basicfungiblefaucetcomponent_tokenSupply(this.__wbg_ptr);
|
|
13786
|
+
return Felt.__wrap(ret);
|
|
13787
|
+
}
|
|
13643
13788
|
}
|
|
13644
13789
|
if (Symbol.dispose) BasicFungibleFaucetComponent.prototype[Symbol.dispose] = BasicFungibleFaucetComponent.prototype.free;
|
|
13645
13790
|
|
|
@@ -14207,6 +14352,104 @@ class Endpoint {
|
|
|
14207
14352
|
}
|
|
14208
14353
|
if (Symbol.dispose) Endpoint.prototype[Symbol.dispose] = Endpoint.prototype.free;
|
|
14209
14354
|
|
|
14355
|
+
/**
|
|
14356
|
+
* A 20-byte Ethereum address, used as the destination of an `AggLayer` bridge-out (B2AGG) note.
|
|
14357
|
+
*
|
|
14358
|
+
* Construct one from a hex string with [`EthAddress::from_hex`] (the `0x` prefix is optional) or
|
|
14359
|
+
* from raw bytes with [`EthAddress::from_bytes`]. The canonical lowercase, `0x`-prefixed hex form
|
|
14360
|
+
* is available via [`EthAddress::to_hex`] (also exposed as `toString`).
|
|
14361
|
+
*/
|
|
14362
|
+
class EthAddress {
|
|
14363
|
+
static __wrap(ptr) {
|
|
14364
|
+
ptr = ptr >>> 0;
|
|
14365
|
+
const obj = Object.create(EthAddress.prototype);
|
|
14366
|
+
obj.__wbg_ptr = ptr;
|
|
14367
|
+
EthAddressFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
14368
|
+
return obj;
|
|
14369
|
+
}
|
|
14370
|
+
__destroy_into_raw() {
|
|
14371
|
+
const ptr = this.__wbg_ptr;
|
|
14372
|
+
this.__wbg_ptr = 0;
|
|
14373
|
+
EthAddressFinalization.unregister(this);
|
|
14374
|
+
return ptr;
|
|
14375
|
+
}
|
|
14376
|
+
free() {
|
|
14377
|
+
const ptr = this.__destroy_into_raw();
|
|
14378
|
+
wasm.__wbg_ethaddress_free(ptr, 0);
|
|
14379
|
+
}
|
|
14380
|
+
/**
|
|
14381
|
+
* Builds an Ethereum address from its raw 20-byte big-endian representation.
|
|
14382
|
+
*
|
|
14383
|
+
* Returns an error if the input is not exactly 20 bytes long.
|
|
14384
|
+
* @param {Uint8Array} bytes
|
|
14385
|
+
* @returns {EthAddress}
|
|
14386
|
+
*/
|
|
14387
|
+
static fromBytes(bytes) {
|
|
14388
|
+
const ret = wasm.ethaddress_fromBytes(bytes);
|
|
14389
|
+
if (ret[2]) {
|
|
14390
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14391
|
+
}
|
|
14392
|
+
return EthAddress.__wrap(ret[0]);
|
|
14393
|
+
}
|
|
14394
|
+
/**
|
|
14395
|
+
* Builds an Ethereum address from a hex string (with or without the `0x` prefix).
|
|
14396
|
+
*
|
|
14397
|
+
* Returns an error if the string is not valid hex or does not encode exactly 20 bytes.
|
|
14398
|
+
* @param {string} hex
|
|
14399
|
+
* @returns {EthAddress}
|
|
14400
|
+
*/
|
|
14401
|
+
static fromHex(hex) {
|
|
14402
|
+
const ptr0 = passStringToWasm0(hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
14403
|
+
const len0 = WASM_VECTOR_LEN;
|
|
14404
|
+
const ret = wasm.ethaddress_fromHex(ptr0, len0);
|
|
14405
|
+
if (ret[2]) {
|
|
14406
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14407
|
+
}
|
|
14408
|
+
return EthAddress.__wrap(ret[0]);
|
|
14409
|
+
}
|
|
14410
|
+
/**
|
|
14411
|
+
* Returns the raw 20-byte big-endian representation of the address.
|
|
14412
|
+
* @returns {Uint8Array}
|
|
14413
|
+
*/
|
|
14414
|
+
toBytes() {
|
|
14415
|
+
const ret = wasm.ethaddress_toBytes(this.__wbg_ptr);
|
|
14416
|
+
return ret;
|
|
14417
|
+
}
|
|
14418
|
+
/**
|
|
14419
|
+
* Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
|
|
14420
|
+
* @returns {string}
|
|
14421
|
+
*/
|
|
14422
|
+
toHex() {
|
|
14423
|
+
let deferred1_0;
|
|
14424
|
+
let deferred1_1;
|
|
14425
|
+
try {
|
|
14426
|
+
const ret = wasm.ethaddress_toHex(this.__wbg_ptr);
|
|
14427
|
+
deferred1_0 = ret[0];
|
|
14428
|
+
deferred1_1 = ret[1];
|
|
14429
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
14430
|
+
} finally {
|
|
14431
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
14432
|
+
}
|
|
14433
|
+
}
|
|
14434
|
+
/**
|
|
14435
|
+
* Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
|
|
14436
|
+
* @returns {string}
|
|
14437
|
+
*/
|
|
14438
|
+
toString() {
|
|
14439
|
+
let deferred1_0;
|
|
14440
|
+
let deferred1_1;
|
|
14441
|
+
try {
|
|
14442
|
+
const ret = wasm.ethaddress_toString(this.__wbg_ptr);
|
|
14443
|
+
deferred1_0 = ret[0];
|
|
14444
|
+
deferred1_1 = ret[1];
|
|
14445
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
14446
|
+
} finally {
|
|
14447
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
14448
|
+
}
|
|
14449
|
+
}
|
|
14450
|
+
}
|
|
14451
|
+
if (Symbol.dispose) EthAddress.prototype[Symbol.dispose] = EthAddress.prototype.free;
|
|
14452
|
+
|
|
14210
14453
|
/**
|
|
14211
14454
|
* Describes the result of executing a transaction program for the Miden protocol.
|
|
14212
14455
|
*
|
|
@@ -16568,6 +16811,97 @@ class MerklePath {
|
|
|
16568
16811
|
}
|
|
16569
16812
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
16570
16813
|
|
|
16814
|
+
/**
|
|
16815
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16816
|
+
*
|
|
16817
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16818
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16819
|
+
*/
|
|
16820
|
+
class NetworkAccountTarget {
|
|
16821
|
+
static __wrap(ptr) {
|
|
16822
|
+
ptr = ptr >>> 0;
|
|
16823
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16824
|
+
obj.__wbg_ptr = ptr;
|
|
16825
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16826
|
+
return obj;
|
|
16827
|
+
}
|
|
16828
|
+
__destroy_into_raw() {
|
|
16829
|
+
const ptr = this.__wbg_ptr;
|
|
16830
|
+
this.__wbg_ptr = 0;
|
|
16831
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16832
|
+
return ptr;
|
|
16833
|
+
}
|
|
16834
|
+
free() {
|
|
16835
|
+
const ptr = this.__destroy_into_raw();
|
|
16836
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16837
|
+
}
|
|
16838
|
+
/**
|
|
16839
|
+
* Returns the note execution hint.
|
|
16840
|
+
* @returns {NoteExecutionHint}
|
|
16841
|
+
*/
|
|
16842
|
+
executionHint() {
|
|
16843
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16844
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16845
|
+
}
|
|
16846
|
+
/**
|
|
16847
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16848
|
+
*
|
|
16849
|
+
* # Errors
|
|
16850
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16851
|
+
* @param {NoteAttachment} attachment
|
|
16852
|
+
* @returns {NetworkAccountTarget}
|
|
16853
|
+
*/
|
|
16854
|
+
static fromAttachment(attachment) {
|
|
16855
|
+
_assertClass(attachment, NoteAttachment);
|
|
16856
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16857
|
+
if (ret[2]) {
|
|
16858
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16859
|
+
}
|
|
16860
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16861
|
+
}
|
|
16862
|
+
/**
|
|
16863
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16864
|
+
* to `NoteExecutionHint.always()`.
|
|
16865
|
+
*
|
|
16866
|
+
* # Errors
|
|
16867
|
+
* Errors if `account_id` is not a public account.
|
|
16868
|
+
* @param {AccountId} account_id
|
|
16869
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16870
|
+
*/
|
|
16871
|
+
constructor(account_id, execution_hint) {
|
|
16872
|
+
_assertClass(account_id, AccountId);
|
|
16873
|
+
let ptr0 = 0;
|
|
16874
|
+
if (!isLikeNone(execution_hint)) {
|
|
16875
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16876
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16877
|
+
}
|
|
16878
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16879
|
+
if (ret[2]) {
|
|
16880
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16881
|
+
}
|
|
16882
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16883
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16884
|
+
return this;
|
|
16885
|
+
}
|
|
16886
|
+
/**
|
|
16887
|
+
* Returns the targeted network account id.
|
|
16888
|
+
* @returns {AccountId}
|
|
16889
|
+
*/
|
|
16890
|
+
targetId() {
|
|
16891
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16892
|
+
return AccountId.__wrap(ret);
|
|
16893
|
+
}
|
|
16894
|
+
/**
|
|
16895
|
+
* Encodes this target as a `NoteAttachment`.
|
|
16896
|
+
* @returns {NoteAttachment}
|
|
16897
|
+
*/
|
|
16898
|
+
toAttachment() {
|
|
16899
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
16900
|
+
return NoteAttachment.__wrap(ret);
|
|
16901
|
+
}
|
|
16902
|
+
}
|
|
16903
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
16904
|
+
|
|
16571
16905
|
/**
|
|
16572
16906
|
* The identifier of a Miden network.
|
|
16573
16907
|
*/
|
|
@@ -16761,6 +17095,16 @@ class Note {
|
|
|
16761
17095
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
16762
17096
|
return NoteAssets.__wrap(ret);
|
|
16763
17097
|
}
|
|
17098
|
+
/**
|
|
17099
|
+
* Returns the note's attachments.
|
|
17100
|
+
* @returns {NoteAttachment[]}
|
|
17101
|
+
*/
|
|
17102
|
+
attachments() {
|
|
17103
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
17104
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
17105
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
17106
|
+
return v1;
|
|
17107
|
+
}
|
|
16764
17108
|
/**
|
|
16765
17109
|
* Returns the commitment to the note (its ID).
|
|
16766
17110
|
*
|
|
@@ -16774,6 +17118,32 @@ class Note {
|
|
|
16774
17118
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16775
17119
|
return Word.__wrap(ret);
|
|
16776
17120
|
}
|
|
17121
|
+
/**
|
|
17122
|
+
* Builds a B2AGG (Bridge-to-AggLayer) note that bridges the given assets out to another
|
|
17123
|
+
* network via the `AggLayer`.
|
|
17124
|
+
*
|
|
17125
|
+
* The note is always public and is consumed by `bridge_account`, which burns the assets so
|
|
17126
|
+
* they can be claimed on the destination network at `destination_address` (an Ethereum
|
|
17127
|
+
* address on the AggLayer-assigned `destination_network`). The assets must be fungible assets
|
|
17128
|
+
* issued by a network faucet.
|
|
17129
|
+
* @param {AccountId} sender
|
|
17130
|
+
* @param {AccountId} bridge_account
|
|
17131
|
+
* @param {NoteAssets} assets
|
|
17132
|
+
* @param {number} destination_network
|
|
17133
|
+
* @param {EthAddress} destination_address
|
|
17134
|
+
* @returns {Note}
|
|
17135
|
+
*/
|
|
17136
|
+
static createB2AggNote(sender, bridge_account, assets, destination_network, destination_address) {
|
|
17137
|
+
_assertClass(sender, AccountId);
|
|
17138
|
+
_assertClass(bridge_account, AccountId);
|
|
17139
|
+
_assertClass(assets, NoteAssets);
|
|
17140
|
+
_assertClass(destination_address, EthAddress);
|
|
17141
|
+
const ret = wasm.note_createB2AggNote(sender.__wbg_ptr, bridge_account.__wbg_ptr, assets.__wbg_ptr, destination_network, destination_address.__wbg_ptr);
|
|
17142
|
+
if (ret[2]) {
|
|
17143
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17144
|
+
}
|
|
17145
|
+
return Note.__wrap(ret[0]);
|
|
17146
|
+
}
|
|
16777
17147
|
/**
|
|
16778
17148
|
* Builds a P2IDE note that can be reclaimed or timelocked based on block heights.
|
|
16779
17149
|
* @param {AccountId} sender
|
|
@@ -16836,6 +17206,15 @@ class Note {
|
|
|
16836
17206
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16837
17207
|
return NoteId.__wrap(ret);
|
|
16838
17208
|
}
|
|
17209
|
+
/**
|
|
17210
|
+
* Returns true if the note is a network note (public + a valid
|
|
17211
|
+
* `NetworkAccountTarget` attachment).
|
|
17212
|
+
* @returns {boolean}
|
|
17213
|
+
*/
|
|
17214
|
+
isNetworkNote() {
|
|
17215
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
17216
|
+
return ret !== 0;
|
|
17217
|
+
}
|
|
16839
17218
|
/**
|
|
16840
17219
|
* Returns the public metadata associated with the note.
|
|
16841
17220
|
* @returns {NoteMetadata}
|
|
@@ -16895,6 +17274,30 @@ class Note {
|
|
|
16895
17274
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
16896
17275
|
return ret;
|
|
16897
17276
|
}
|
|
17277
|
+
/**
|
|
17278
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
17279
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
17280
|
+
*
|
|
17281
|
+
* # Errors
|
|
17282
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
17283
|
+
* @param {NoteAssets} note_assets
|
|
17284
|
+
* @param {NoteMetadata} note_metadata
|
|
17285
|
+
* @param {NoteRecipient} note_recipient
|
|
17286
|
+
* @param {NoteAttachment[]} attachments
|
|
17287
|
+
* @returns {Note}
|
|
17288
|
+
*/
|
|
17289
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
17290
|
+
_assertClass(note_assets, NoteAssets);
|
|
17291
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
17292
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
17293
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
17294
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17295
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
17296
|
+
if (ret[2]) {
|
|
17297
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17298
|
+
}
|
|
17299
|
+
return Note.__wrap(ret[0]);
|
|
17300
|
+
}
|
|
16898
17301
|
}
|
|
16899
17302
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
16900
17303
|
|
|
@@ -17162,6 +17565,12 @@ class NoteAttachment {
|
|
|
17162
17565
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
17163
17566
|
return obj;
|
|
17164
17567
|
}
|
|
17568
|
+
static __unwrap(jsValue) {
|
|
17569
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
17570
|
+
return 0;
|
|
17571
|
+
}
|
|
17572
|
+
return jsValue.__destroy_into_raw();
|
|
17573
|
+
}
|
|
17165
17574
|
__destroy_into_raw() {
|
|
17166
17575
|
const ptr = this.__wbg_ptr;
|
|
17167
17576
|
this.__wbg_ptr = 0;
|
|
@@ -18392,6 +18801,19 @@ class NoteRecipient {
|
|
|
18392
18801
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
18393
18802
|
return Word.__wrap(ret);
|
|
18394
18803
|
}
|
|
18804
|
+
/**
|
|
18805
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18806
|
+
* serial number (the secret that prevents double-spends).
|
|
18807
|
+
* @param {NoteScript} note_script
|
|
18808
|
+
* @param {NoteStorage} storage
|
|
18809
|
+
* @returns {NoteRecipient}
|
|
18810
|
+
*/
|
|
18811
|
+
static fromScript(note_script, storage) {
|
|
18812
|
+
_assertClass(note_script, NoteScript);
|
|
18813
|
+
_assertClass(storage, NoteStorage);
|
|
18814
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18815
|
+
return NoteRecipient.__wrap(ret);
|
|
18816
|
+
}
|
|
18395
18817
|
/**
|
|
18396
18818
|
* Creates a note recipient from its serial number, script, and storage.
|
|
18397
18819
|
* @param {Word} serial_num
|
|
@@ -23517,6 +23939,30 @@ class WebClient {
|
|
|
23517
23939
|
const ret = wasm.webclient_newAccountWithSecretKey(this.__wbg_ptr, account.__wbg_ptr, secret_key.__wbg_ptr);
|
|
23518
23940
|
return ret;
|
|
23519
23941
|
}
|
|
23942
|
+
/**
|
|
23943
|
+
* Builds a transaction request that bridges a fungible asset out to another network via the
|
|
23944
|
+
* `AggLayer`.
|
|
23945
|
+
*
|
|
23946
|
+
* The request emits a single public B2AGG (Bridge-to-AggLayer) note holding `amount` units of
|
|
23947
|
+
* the `faucet_id` asset. The note is consumed by `bridge_account_id`, which burns the asset so
|
|
23948
|
+
* it can be claimed at `destination_address` (an Ethereum address) on the AggLayer-assigned
|
|
23949
|
+
* `destination_network`.
|
|
23950
|
+
* @param {AccountId} sender_account_id
|
|
23951
|
+
* @param {AccountId} bridge_account_id
|
|
23952
|
+
* @param {AccountId} faucet_id
|
|
23953
|
+
* @param {bigint} amount
|
|
23954
|
+
* @param {number} destination_network
|
|
23955
|
+
* @param {EthAddress} destination_address
|
|
23956
|
+
* @returns {Promise<TransactionRequest>}
|
|
23957
|
+
*/
|
|
23958
|
+
newB2AggTransactionRequest(sender_account_id, bridge_account_id, faucet_id, amount, destination_network, destination_address) {
|
|
23959
|
+
_assertClass(sender_account_id, AccountId);
|
|
23960
|
+
_assertClass(bridge_account_id, AccountId);
|
|
23961
|
+
_assertClass(faucet_id, AccountId);
|
|
23962
|
+
_assertClass(destination_address, EthAddress);
|
|
23963
|
+
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);
|
|
23964
|
+
return ret;
|
|
23965
|
+
}
|
|
23520
23966
|
/**
|
|
23521
23967
|
* @param {Note[]} list_of_notes
|
|
23522
23968
|
* @returns {TransactionRequest}
|
|
@@ -23810,6 +24256,25 @@ class WebClient {
|
|
|
23810
24256
|
const ret = wasm.webclient_submitNewTransaction(this.__wbg_ptr, account_id.__wbg_ptr, transaction_request.__wbg_ptr);
|
|
23811
24257
|
return ret;
|
|
23812
24258
|
}
|
|
24259
|
+
/**
|
|
24260
|
+
* Executes a batch of transactions against the specified account, proves them individually
|
|
24261
|
+
* and as a batch, submits the batch to the network, and atomically applies the per-tx
|
|
24262
|
+
* updates to the local store. Returns the block number the batch was accepted into.
|
|
24263
|
+
*
|
|
24264
|
+
* All transactions must target the same local account — the `account_id` argument.
|
|
24265
|
+
* Each element of `transaction_requests` is the serialized-bytes form of a
|
|
24266
|
+
* `TransactionRequest` (obtained via `tx_request.serialize()`)
|
|
24267
|
+
* @param {AccountId} account_id
|
|
24268
|
+
* @param {Uint8Array[]} transaction_requests
|
|
24269
|
+
* @returns {Promise<number>}
|
|
24270
|
+
*/
|
|
24271
|
+
submitNewTransactionBatch(account_id, transaction_requests) {
|
|
24272
|
+
_assertClass(account_id, AccountId);
|
|
24273
|
+
const ptr0 = passArrayJsValueToWasm0(transaction_requests, wasm.__wbindgen_malloc);
|
|
24274
|
+
const len0 = WASM_VECTOR_LEN;
|
|
24275
|
+
const ret = wasm.webclient_submitNewTransactionBatch(this.__wbg_ptr, account_id.__wbg_ptr, ptr0, len0);
|
|
24276
|
+
return ret;
|
|
24277
|
+
}
|
|
23813
24278
|
/**
|
|
23814
24279
|
* Executes a transaction specified by the request against the specified account, proves it
|
|
23815
24280
|
* with the user provided prover, submits it to the network, and updates the local database.
|
|
@@ -24307,7 +24772,7 @@ function __wbg_get_imports() {
|
|
|
24307
24772
|
const ret = AccountStorage.__wrap(arg0);
|
|
24308
24773
|
return ret;
|
|
24309
24774
|
},
|
|
24310
|
-
|
|
24775
|
+
__wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24311
24776
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24312
24777
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24313
24778
|
let v1;
|
|
@@ -24335,21 +24800,25 @@ function __wbg_get_imports() {
|
|
|
24335
24800
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24336
24801
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24337
24802
|
}, arguments); },
|
|
24338
|
-
|
|
24803
|
+
__wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
|
|
24339
24804
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24340
24805
|
return ret;
|
|
24341
24806
|
},
|
|
24342
|
-
|
|
24807
|
+
__wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
|
|
24343
24808
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24344
24809
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24345
24810
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24346
24811
|
return ret;
|
|
24347
24812
|
},
|
|
24348
|
-
|
|
24813
|
+
__wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
|
|
24349
24814
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24350
24815
|
return ret;
|
|
24351
24816
|
},
|
|
24352
|
-
|
|
24817
|
+
__wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
|
|
24818
|
+
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24819
|
+
return ret;
|
|
24820
|
+
},
|
|
24821
|
+
__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) {
|
|
24353
24822
|
let deferred0_0;
|
|
24354
24823
|
let deferred0_1;
|
|
24355
24824
|
let deferred1_0;
|
|
@@ -24488,7 +24957,7 @@ function __wbg_get_imports() {
|
|
|
24488
24957
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24489
24958
|
}
|
|
24490
24959
|
},
|
|
24491
|
-
|
|
24960
|
+
__wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
|
|
24492
24961
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24493
24962
|
return ret;
|
|
24494
24963
|
},
|
|
@@ -24520,7 +24989,7 @@ function __wbg_get_imports() {
|
|
|
24520
24989
|
const ret = FetchedNote.__wrap(arg0);
|
|
24521
24990
|
return ret;
|
|
24522
24991
|
},
|
|
24523
|
-
|
|
24992
|
+
__wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
|
|
24524
24993
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24525
24994
|
return ret;
|
|
24526
24995
|
},
|
|
@@ -24528,6 +24997,10 @@ function __wbg_get_imports() {
|
|
|
24528
24997
|
const ret = ForeignAccount.__unwrap(arg0);
|
|
24529
24998
|
return ret;
|
|
24530
24999
|
},
|
|
25000
|
+
__wbg_from_bddd64e7d5ff6941: function(arg0) {
|
|
25001
|
+
const ret = Array.from(arg0);
|
|
25002
|
+
return ret;
|
|
25003
|
+
},
|
|
24531
25004
|
__wbg_fungibleasset_new: function(arg0) {
|
|
24532
25005
|
const ret = FungibleAsset.__wrap(arg0);
|
|
24533
25006
|
return ret;
|
|
@@ -24540,7 +25013,7 @@ function __wbg_get_imports() {
|
|
|
24540
25013
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24541
25014
|
return ret;
|
|
24542
25015
|
},
|
|
24543
|
-
|
|
25016
|
+
__wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
|
|
24544
25017
|
let deferred0_0;
|
|
24545
25018
|
let deferred0_1;
|
|
24546
25019
|
try {
|
|
@@ -24552,7 +25025,7 @@ function __wbg_get_imports() {
|
|
|
24552
25025
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24553
25026
|
}
|
|
24554
25027
|
},
|
|
24555
|
-
|
|
25028
|
+
__wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
|
|
24556
25029
|
let deferred0_0;
|
|
24557
25030
|
let deferred0_1;
|
|
24558
25031
|
try {
|
|
@@ -24564,7 +25037,7 @@ function __wbg_get_imports() {
|
|
|
24564
25037
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24565
25038
|
}
|
|
24566
25039
|
},
|
|
24567
|
-
|
|
25040
|
+
__wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
|
|
24568
25041
|
let deferred0_0;
|
|
24569
25042
|
let deferred0_1;
|
|
24570
25043
|
try {
|
|
@@ -24576,7 +25049,7 @@ function __wbg_get_imports() {
|
|
|
24576
25049
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24577
25050
|
}
|
|
24578
25051
|
},
|
|
24579
|
-
|
|
25052
|
+
__wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
|
|
24580
25053
|
let deferred0_0;
|
|
24581
25054
|
let deferred0_1;
|
|
24582
25055
|
try {
|
|
@@ -24588,7 +25061,7 @@ function __wbg_get_imports() {
|
|
|
24588
25061
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24589
25062
|
}
|
|
24590
25063
|
},
|
|
24591
|
-
|
|
25064
|
+
__wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
|
|
24592
25065
|
let deferred0_0;
|
|
24593
25066
|
let deferred0_1;
|
|
24594
25067
|
try {
|
|
@@ -24600,7 +25073,7 @@ function __wbg_get_imports() {
|
|
|
24600
25073
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24601
25074
|
}
|
|
24602
25075
|
},
|
|
24603
|
-
|
|
25076
|
+
__wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
|
|
24604
25077
|
let deferred0_0;
|
|
24605
25078
|
let deferred0_1;
|
|
24606
25079
|
try {
|
|
@@ -24612,11 +25085,11 @@ function __wbg_get_imports() {
|
|
|
24612
25085
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24613
25086
|
}
|
|
24614
25087
|
},
|
|
24615
|
-
|
|
25088
|
+
__wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
|
|
24616
25089
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24617
25090
|
return ret;
|
|
24618
25091
|
},
|
|
24619
|
-
|
|
25092
|
+
__wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
|
|
24620
25093
|
let deferred0_0;
|
|
24621
25094
|
let deferred0_1;
|
|
24622
25095
|
try {
|
|
@@ -24628,7 +25101,7 @@ function __wbg_get_imports() {
|
|
|
24628
25101
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24629
25102
|
}
|
|
24630
25103
|
},
|
|
24631
|
-
|
|
25104
|
+
__wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24632
25105
|
let deferred0_0;
|
|
24633
25106
|
let deferred0_1;
|
|
24634
25107
|
try {
|
|
@@ -24642,7 +25115,7 @@ function __wbg_get_imports() {
|
|
|
24642
25115
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24643
25116
|
}
|
|
24644
25117
|
},
|
|
24645
|
-
|
|
25118
|
+
__wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24646
25119
|
let deferred0_0;
|
|
24647
25120
|
let deferred0_1;
|
|
24648
25121
|
try {
|
|
@@ -24656,27 +25129,27 @@ function __wbg_get_imports() {
|
|
|
24656
25129
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24657
25130
|
}
|
|
24658
25131
|
},
|
|
24659
|
-
|
|
25132
|
+
__wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
|
|
24660
25133
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24661
25134
|
return ret;
|
|
24662
25135
|
},
|
|
24663
|
-
|
|
25136
|
+
__wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
|
|
24664
25137
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24665
25138
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24666
25139
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24667
25140
|
return ret;
|
|
24668
25141
|
},
|
|
24669
|
-
|
|
25142
|
+
__wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
|
|
24670
25143
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24671
25144
|
return ret;
|
|
24672
25145
|
},
|
|
24673
|
-
|
|
25146
|
+
__wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
|
|
24674
25147
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24675
25148
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24676
25149
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24677
25150
|
return ret;
|
|
24678
25151
|
},
|
|
24679
|
-
|
|
25152
|
+
__wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24680
25153
|
let deferred1_0;
|
|
24681
25154
|
let deferred1_1;
|
|
24682
25155
|
try {
|
|
@@ -24690,31 +25163,31 @@ function __wbg_get_imports() {
|
|
|
24690
25163
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24691
25164
|
}
|
|
24692
25165
|
},
|
|
24693
|
-
|
|
25166
|
+
__wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
|
|
24694
25167
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24695
25168
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24696
25169
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24697
25170
|
return ret;
|
|
24698
25171
|
},
|
|
24699
|
-
|
|
25172
|
+
__wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
|
|
24700
25173
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24701
25174
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24702
25175
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24703
25176
|
return ret;
|
|
24704
25177
|
},
|
|
24705
|
-
|
|
25178
|
+
__wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
|
|
24706
25179
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24707
25180
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24708
25181
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24709
25182
|
return ret;
|
|
24710
25183
|
},
|
|
24711
|
-
|
|
25184
|
+
__wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
|
|
24712
25185
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24713
25186
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24714
25187
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24715
25188
|
return ret;
|
|
24716
25189
|
},
|
|
24717
|
-
|
|
25190
|
+
__wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
|
|
24718
25191
|
let deferred0_0;
|
|
24719
25192
|
let deferred0_1;
|
|
24720
25193
|
try {
|
|
@@ -24726,7 +25199,7 @@ function __wbg_get_imports() {
|
|
|
24726
25199
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24727
25200
|
}
|
|
24728
25201
|
},
|
|
24729
|
-
|
|
25202
|
+
__wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
|
|
24730
25203
|
let deferred0_0;
|
|
24731
25204
|
let deferred0_1;
|
|
24732
25205
|
try {
|
|
@@ -24738,39 +25211,39 @@ function __wbg_get_imports() {
|
|
|
24738
25211
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24739
25212
|
}
|
|
24740
25213
|
},
|
|
24741
|
-
|
|
25214
|
+
__wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
|
|
24742
25215
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24743
25216
|
return ret;
|
|
24744
25217
|
},
|
|
24745
|
-
|
|
25218
|
+
__wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
|
|
24746
25219
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24747
25220
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24748
25221
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24749
25222
|
return ret;
|
|
24750
25223
|
},
|
|
24751
|
-
|
|
25224
|
+
__wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
|
|
24752
25225
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24753
25226
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24754
25227
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24755
25228
|
return ret;
|
|
24756
25229
|
},
|
|
24757
|
-
|
|
25230
|
+
__wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
|
|
24758
25231
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24759
25232
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24760
25233
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24761
25234
|
return ret;
|
|
24762
25235
|
},
|
|
24763
|
-
|
|
25236
|
+
__wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
|
|
24764
25237
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24765
25238
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24766
25239
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24767
25240
|
return ret;
|
|
24768
25241
|
},
|
|
24769
|
-
|
|
25242
|
+
__wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
|
|
24770
25243
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24771
25244
|
return ret;
|
|
24772
25245
|
},
|
|
24773
|
-
|
|
25246
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
|
|
24774
25247
|
let deferred0_0;
|
|
24775
25248
|
let deferred0_1;
|
|
24776
25249
|
try {
|
|
@@ -24782,7 +25255,7 @@ function __wbg_get_imports() {
|
|
|
24782
25255
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24783
25256
|
}
|
|
24784
25257
|
},
|
|
24785
|
-
|
|
25258
|
+
__wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
|
|
24786
25259
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24787
25260
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24788
25261
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24795,7 +25268,7 @@ function __wbg_get_imports() {
|
|
|
24795
25268
|
const ret = arg0.getReader();
|
|
24796
25269
|
return ret;
|
|
24797
25270
|
}, arguments); },
|
|
24798
|
-
|
|
25271
|
+
__wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
|
|
24799
25272
|
let deferred0_0;
|
|
24800
25273
|
let deferred0_1;
|
|
24801
25274
|
try {
|
|
@@ -24807,7 +25280,7 @@ function __wbg_get_imports() {
|
|
|
24807
25280
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24808
25281
|
}
|
|
24809
25282
|
},
|
|
24810
|
-
|
|
25283
|
+
__wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
|
|
24811
25284
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24812
25285
|
return ret;
|
|
24813
25286
|
},
|
|
@@ -24815,15 +25288,15 @@ function __wbg_get_imports() {
|
|
|
24815
25288
|
const ret = arg0.getTime();
|
|
24816
25289
|
return ret;
|
|
24817
25290
|
},
|
|
24818
|
-
|
|
25291
|
+
__wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
|
|
24819
25292
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24820
25293
|
return ret;
|
|
24821
25294
|
},
|
|
24822
|
-
|
|
25295
|
+
__wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
|
|
24823
25296
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24824
25297
|
return ret;
|
|
24825
25298
|
},
|
|
24826
|
-
|
|
25299
|
+
__wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
|
|
24827
25300
|
let deferred0_0;
|
|
24828
25301
|
let deferred0_1;
|
|
24829
25302
|
try {
|
|
@@ -24835,7 +25308,7 @@ function __wbg_get_imports() {
|
|
|
24835
25308
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24836
25309
|
}
|
|
24837
25310
|
},
|
|
24838
|
-
|
|
25311
|
+
__wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
|
|
24839
25312
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24840
25313
|
return ret;
|
|
24841
25314
|
},
|
|
@@ -24879,7 +25352,7 @@ function __wbg_get_imports() {
|
|
|
24879
25352
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24880
25353
|
return ret;
|
|
24881
25354
|
},
|
|
24882
|
-
|
|
25355
|
+
__wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24883
25356
|
let deferred0_0;
|
|
24884
25357
|
let deferred0_1;
|
|
24885
25358
|
try {
|
|
@@ -24893,7 +25366,7 @@ function __wbg_get_imports() {
|
|
|
24893
25366
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24894
25367
|
}
|
|
24895
25368
|
},
|
|
24896
|
-
|
|
25369
|
+
__wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24897
25370
|
let deferred0_0;
|
|
24898
25371
|
let deferred0_1;
|
|
24899
25372
|
let deferred1_0;
|
|
@@ -24910,7 +25383,7 @@ function __wbg_get_imports() {
|
|
|
24910
25383
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24911
25384
|
}
|
|
24912
25385
|
},
|
|
24913
|
-
|
|
25386
|
+
__wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24914
25387
|
let deferred0_0;
|
|
24915
25388
|
let deferred0_1;
|
|
24916
25389
|
let deferred1_0;
|
|
@@ -24927,13 +25400,13 @@ function __wbg_get_imports() {
|
|
|
24927
25400
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24928
25401
|
}
|
|
24929
25402
|
},
|
|
24930
|
-
|
|
25403
|
+
__wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24931
25404
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24932
25405
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24933
25406
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24934
25407
|
return ret;
|
|
24935
25408
|
},
|
|
24936
|
-
|
|
25409
|
+
__wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24937
25410
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24938
25411
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24939
25412
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24941,7 +25414,7 @@ function __wbg_get_imports() {
|
|
|
24941
25414
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24942
25415
|
return ret;
|
|
24943
25416
|
},
|
|
24944
|
-
|
|
25417
|
+
__wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24945
25418
|
let deferred0_0;
|
|
24946
25419
|
let deferred0_1;
|
|
24947
25420
|
try {
|
|
@@ -24955,7 +25428,7 @@ function __wbg_get_imports() {
|
|
|
24955
25428
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24956
25429
|
}
|
|
24957
25430
|
},
|
|
24958
|
-
|
|
25431
|
+
__wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24959
25432
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24960
25433
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24961
25434
|
let v1;
|
|
@@ -25052,11 +25525,11 @@ function __wbg_get_imports() {
|
|
|
25052
25525
|
const ret = arg0.length;
|
|
25053
25526
|
return ret;
|
|
25054
25527
|
},
|
|
25055
|
-
|
|
25528
|
+
__wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
|
|
25056
25529
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25057
25530
|
return ret;
|
|
25058
25531
|
},
|
|
25059
|
-
|
|
25532
|
+
__wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
|
|
25060
25533
|
let deferred0_0;
|
|
25061
25534
|
let deferred0_1;
|
|
25062
25535
|
try {
|
|
@@ -25144,7 +25617,7 @@ function __wbg_get_imports() {
|
|
|
25144
25617
|
const a = state0.a;
|
|
25145
25618
|
state0.a = 0;
|
|
25146
25619
|
try {
|
|
25147
|
-
return
|
|
25620
|
+
return wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(a, state0.b, arg0, arg1);
|
|
25148
25621
|
} finally {
|
|
25149
25622
|
state0.a = a;
|
|
25150
25623
|
}
|
|
@@ -25203,6 +25676,10 @@ function __wbg_get_imports() {
|
|
|
25203
25676
|
const ret = NoteAttachment.__wrap(arg0);
|
|
25204
25677
|
return ret;
|
|
25205
25678
|
},
|
|
25679
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25680
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25681
|
+
return ret;
|
|
25682
|
+
},
|
|
25206
25683
|
__wbg_noteconsumability_new: function(arg0) {
|
|
25207
25684
|
const ret = NoteConsumability.__wrap(arg0);
|
|
25208
25685
|
return ret;
|
|
@@ -25255,7 +25732,7 @@ function __wbg_get_imports() {
|
|
|
25255
25732
|
const ret = NoteTag.__unwrap(arg0);
|
|
25256
25733
|
return ret;
|
|
25257
25734
|
},
|
|
25258
|
-
|
|
25735
|
+
__wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
|
|
25259
25736
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25260
25737
|
return ret;
|
|
25261
25738
|
},
|
|
@@ -25286,7 +25763,7 @@ function __wbg_get_imports() {
|
|
|
25286
25763
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25287
25764
|
return ret;
|
|
25288
25765
|
},
|
|
25289
|
-
|
|
25766
|
+
__wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25290
25767
|
let deferred0_0;
|
|
25291
25768
|
let deferred0_1;
|
|
25292
25769
|
let deferred1_0;
|
|
@@ -25303,7 +25780,7 @@ function __wbg_get_imports() {
|
|
|
25303
25780
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25304
25781
|
}
|
|
25305
25782
|
},
|
|
25306
|
-
|
|
25783
|
+
__wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25307
25784
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25308
25785
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25309
25786
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25315,6 +25792,10 @@ function __wbg_get_imports() {
|
|
|
25315
25792
|
const ret = PswapLineageRecord.__wrap(arg0);
|
|
25316
25793
|
return ret;
|
|
25317
25794
|
},
|
|
25795
|
+
__wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
|
|
25796
|
+
const ret = arg0.push(arg1);
|
|
25797
|
+
return ret;
|
|
25798
|
+
},
|
|
25318
25799
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
25319
25800
|
const ret = arg0.queueMicrotask;
|
|
25320
25801
|
return ret;
|
|
@@ -25329,13 +25810,13 @@ function __wbg_get_imports() {
|
|
|
25329
25810
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25330
25811
|
arg0.releaseLock();
|
|
25331
25812
|
},
|
|
25332
|
-
|
|
25813
|
+
__wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
|
|
25333
25814
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25334
25815
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25335
25816
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25336
25817
|
return ret;
|
|
25337
25818
|
},
|
|
25338
|
-
|
|
25819
|
+
__wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
|
|
25339
25820
|
let deferred0_0;
|
|
25340
25821
|
let deferred0_1;
|
|
25341
25822
|
try {
|
|
@@ -25347,7 +25828,7 @@ function __wbg_get_imports() {
|
|
|
25347
25828
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25348
25829
|
}
|
|
25349
25830
|
},
|
|
25350
|
-
|
|
25831
|
+
__wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
|
|
25351
25832
|
let deferred0_0;
|
|
25352
25833
|
let deferred0_1;
|
|
25353
25834
|
try {
|
|
@@ -25359,7 +25840,7 @@ function __wbg_get_imports() {
|
|
|
25359
25840
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25360
25841
|
}
|
|
25361
25842
|
},
|
|
25362
|
-
|
|
25843
|
+
__wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25363
25844
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25364
25845
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25365
25846
|
let v1;
|
|
@@ -25380,7 +25861,7 @@ function __wbg_get_imports() {
|
|
|
25380
25861
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25381
25862
|
return ret;
|
|
25382
25863
|
},
|
|
25383
|
-
|
|
25864
|
+
__wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
|
|
25384
25865
|
let deferred0_0;
|
|
25385
25866
|
let deferred0_1;
|
|
25386
25867
|
try {
|
|
@@ -25431,6 +25912,9 @@ function __wbg_get_imports() {
|
|
|
25431
25912
|
const ret = setTimeout(arg0, arg1);
|
|
25432
25913
|
return ret;
|
|
25433
25914
|
}, arguments); },
|
|
25915
|
+
__wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
|
|
25916
|
+
arg0[arg1] = arg2;
|
|
25917
|
+
},
|
|
25434
25918
|
__wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
|
|
25435
25919
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
25436
25920
|
return ret;
|
|
@@ -25580,13 +26064,13 @@ function __wbg_get_imports() {
|
|
|
25580
26064
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25581
26065
|
return ret;
|
|
25582
26066
|
},
|
|
25583
|
-
|
|
26067
|
+
__wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
|
|
25584
26068
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25585
26069
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25586
26070
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25587
26071
|
return ret;
|
|
25588
26072
|
},
|
|
25589
|
-
|
|
26073
|
+
__wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25590
26074
|
let deferred0_0;
|
|
25591
26075
|
let deferred0_1;
|
|
25592
26076
|
try {
|
|
@@ -25600,7 +26084,7 @@ function __wbg_get_imports() {
|
|
|
25600
26084
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25601
26085
|
}
|
|
25602
26086
|
},
|
|
25603
|
-
|
|
26087
|
+
__wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25604
26088
|
let deferred0_0;
|
|
25605
26089
|
let deferred0_1;
|
|
25606
26090
|
let deferred1_0;
|
|
@@ -25642,7 +26126,7 @@ function __wbg_get_imports() {
|
|
|
25642
26126
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25643
26127
|
}
|
|
25644
26128
|
},
|
|
25645
|
-
|
|
26129
|
+
__wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25646
26130
|
let deferred0_0;
|
|
25647
26131
|
let deferred0_1;
|
|
25648
26132
|
try {
|
|
@@ -25656,7 +26140,7 @@ function __wbg_get_imports() {
|
|
|
25656
26140
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25657
26141
|
}
|
|
25658
26142
|
},
|
|
25659
|
-
|
|
26143
|
+
__wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25660
26144
|
let deferred0_0;
|
|
25661
26145
|
let deferred0_1;
|
|
25662
26146
|
let deferred2_0;
|
|
@@ -25675,7 +26159,7 @@ function __wbg_get_imports() {
|
|
|
25675
26159
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25676
26160
|
}
|
|
25677
26161
|
},
|
|
25678
|
-
|
|
26162
|
+
__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) {
|
|
25679
26163
|
let deferred0_0;
|
|
25680
26164
|
let deferred0_1;
|
|
25681
26165
|
let deferred6_0;
|
|
@@ -25724,7 +26208,7 @@ function __wbg_get_imports() {
|
|
|
25724
26208
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25725
26209
|
}
|
|
25726
26210
|
},
|
|
25727
|
-
|
|
26211
|
+
__wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25728
26212
|
let deferred0_0;
|
|
25729
26213
|
let deferred0_1;
|
|
25730
26214
|
try {
|
|
@@ -25738,7 +26222,7 @@ function __wbg_get_imports() {
|
|
|
25738
26222
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25739
26223
|
}
|
|
25740
26224
|
},
|
|
25741
|
-
|
|
26225
|
+
__wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25742
26226
|
let deferred0_0;
|
|
25743
26227
|
let deferred0_1;
|
|
25744
26228
|
let deferred1_0;
|
|
@@ -25773,7 +26257,7 @@ function __wbg_get_imports() {
|
|
|
25773
26257
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25774
26258
|
}
|
|
25775
26259
|
},
|
|
25776
|
-
|
|
26260
|
+
__wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25777
26261
|
let deferred0_0;
|
|
25778
26262
|
let deferred0_1;
|
|
25779
26263
|
try {
|
|
@@ -25787,7 +26271,7 @@ function __wbg_get_imports() {
|
|
|
25787
26271
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25788
26272
|
}
|
|
25789
26273
|
},
|
|
25790
|
-
|
|
26274
|
+
__wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25791
26275
|
let deferred0_0;
|
|
25792
26276
|
let deferred0_1;
|
|
25793
26277
|
try {
|
|
@@ -25808,7 +26292,7 @@ function __wbg_get_imports() {
|
|
|
25808
26292
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25809
26293
|
}
|
|
25810
26294
|
},
|
|
25811
|
-
|
|
26295
|
+
__wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25812
26296
|
let deferred0_0;
|
|
25813
26297
|
let deferred0_1;
|
|
25814
26298
|
try {
|
|
@@ -25839,13 +26323,13 @@ function __wbg_get_imports() {
|
|
|
25839
26323
|
return ret;
|
|
25840
26324
|
},
|
|
25841
26325
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25842
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25843
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26326
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26327
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788);
|
|
25844
26328
|
return ret;
|
|
25845
26329
|
},
|
|
25846
26330
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25847
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25848
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26331
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [], shim_idx: 445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26332
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9);
|
|
25849
26333
|
return ret;
|
|
25850
26334
|
},
|
|
25851
26335
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -25854,86 +26338,91 @@ function __wbg_get_imports() {
|
|
|
25854
26338
|
return ret;
|
|
25855
26339
|
},
|
|
25856
26340
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
26341
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
26342
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
26343
|
+
return ret;
|
|
26344
|
+
},
|
|
26345
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
25857
26346
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
25858
26347
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
25859
26348
|
return ret;
|
|
25860
26349
|
},
|
|
25861
|
-
|
|
26350
|
+
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
25862
26351
|
// Cast intrinsic for `U64 -> Externref`.
|
|
25863
26352
|
const ret = BigInt.asUintN(64, arg0);
|
|
25864
26353
|
return ret;
|
|
25865
26354
|
},
|
|
25866
|
-
|
|
26355
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
25867
26356
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25868
26357
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25869
26358
|
// Cast intrinsic for `Vector(NamedExternref("AccountHeader")) -> Externref`.
|
|
25870
26359
|
const ret = v0;
|
|
25871
26360
|
return ret;
|
|
25872
26361
|
},
|
|
25873
|
-
|
|
26362
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
25874
26363
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25875
26364
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25876
26365
|
// Cast intrinsic for `Vector(NamedExternref("Address")) -> Externref`.
|
|
25877
26366
|
const ret = v0;
|
|
25878
26367
|
return ret;
|
|
25879
26368
|
},
|
|
25880
|
-
|
|
26369
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
25881
26370
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25882
26371
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25883
26372
|
// Cast intrinsic for `Vector(NamedExternref("ConsumableNoteRecord")) -> Externref`.
|
|
25884
26373
|
const ret = v0;
|
|
25885
26374
|
return ret;
|
|
25886
26375
|
},
|
|
25887
|
-
|
|
26376
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
25888
26377
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25889
26378
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25890
26379
|
// Cast intrinsic for `Vector(NamedExternref("FetchedNote")) -> Externref`.
|
|
25891
26380
|
const ret = v0;
|
|
25892
26381
|
return ret;
|
|
25893
26382
|
},
|
|
25894
|
-
|
|
26383
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
25895
26384
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25896
26385
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25897
26386
|
// Cast intrinsic for `Vector(NamedExternref("InputNoteRecord")) -> Externref`.
|
|
25898
26387
|
const ret = v0;
|
|
25899
26388
|
return ret;
|
|
25900
26389
|
},
|
|
25901
|
-
|
|
26390
|
+
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
25902
26391
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25903
26392
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25904
26393
|
// Cast intrinsic for `Vector(NamedExternref("OutputNoteRecord")) -> Externref`.
|
|
25905
26394
|
const ret = v0;
|
|
25906
26395
|
return ret;
|
|
25907
26396
|
},
|
|
25908
|
-
|
|
26397
|
+
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
25909
26398
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25910
26399
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25911
26400
|
// Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
|
|
25912
26401
|
const ret = v0;
|
|
25913
26402
|
return ret;
|
|
25914
26403
|
},
|
|
25915
|
-
|
|
26404
|
+
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
25916
26405
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25917
26406
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25918
26407
|
// Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
|
|
25919
26408
|
const ret = v0;
|
|
25920
26409
|
return ret;
|
|
25921
26410
|
},
|
|
25922
|
-
|
|
26411
|
+
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
25923
26412
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25924
26413
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25925
26414
|
// Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
|
|
25926
26415
|
const ret = v0;
|
|
25927
26416
|
return ret;
|
|
25928
26417
|
},
|
|
25929
|
-
|
|
26418
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
25930
26419
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25931
26420
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25932
26421
|
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
25933
26422
|
const ret = v0;
|
|
25934
26423
|
return ret;
|
|
25935
26424
|
},
|
|
25936
|
-
|
|
26425
|
+
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
25937
26426
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
25938
26427
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
25939
26428
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -25956,16 +26445,16 @@ function __wbg_get_imports() {
|
|
|
25956
26445
|
};
|
|
25957
26446
|
}
|
|
25958
26447
|
|
|
25959
|
-
function
|
|
25960
|
-
wasm.
|
|
26448
|
+
function wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1) {
|
|
26449
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1);
|
|
25961
26450
|
}
|
|
25962
26451
|
|
|
25963
|
-
function
|
|
25964
|
-
wasm.
|
|
26452
|
+
function wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2) {
|
|
26453
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2);
|
|
25965
26454
|
}
|
|
25966
26455
|
|
|
25967
|
-
function
|
|
25968
|
-
wasm.
|
|
26456
|
+
function wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3) {
|
|
26457
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3);
|
|
25969
26458
|
}
|
|
25970
26459
|
|
|
25971
26460
|
|
|
@@ -26084,6 +26573,9 @@ const ConsumableNoteRecordFinalization = (typeof FinalizationRegistry === 'undef
|
|
|
26084
26573
|
const EndpointFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26085
26574
|
? { register: () => {}, unregister: () => {} }
|
|
26086
26575
|
: new FinalizationRegistry(ptr => wasm.__wbg_endpoint_free(ptr >>> 0, 1));
|
|
26576
|
+
const EthAddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26577
|
+
? { register: () => {}, unregister: () => {} }
|
|
26578
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ethaddress_free(ptr >>> 0, 1));
|
|
26087
26579
|
const ExecutedTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26088
26580
|
? { register: () => {}, unregister: () => {} }
|
|
26089
26581
|
: new FinalizationRegistry(ptr => wasm.__wbg_executedtransaction_free(ptr >>> 0, 1));
|
|
@@ -26162,6 +26654,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
26162
26654
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26163
26655
|
? { register: () => {}, unregister: () => {} }
|
|
26164
26656
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26657
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26658
|
+
? { register: () => {}, unregister: () => {} }
|
|
26659
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
26165
26660
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26166
26661
|
? { register: () => {}, unregister: () => {} }
|
|
26167
26662
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -26780,7 +27275,7 @@ async function __wbg_init(module_or_path) {
|
|
|
26780
27275
|
|
|
26781
27276
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
26782
27277
|
|
|
26783
|
-
var
|
|
27278
|
+
var CargoCR1mzjgg = /*#__PURE__*/Object.freeze({
|
|
26784
27279
|
__proto__: null,
|
|
26785
27280
|
Account: Account,
|
|
26786
27281
|
AccountArray: AccountArray,
|
|
@@ -26817,6 +27312,7 @@ var CargoBP70qVT = /*#__PURE__*/Object.freeze({
|
|
|
26817
27312
|
CommittedNote: CommittedNote,
|
|
26818
27313
|
ConsumableNoteRecord: ConsumableNoteRecord,
|
|
26819
27314
|
Endpoint: Endpoint,
|
|
27315
|
+
EthAddress: EthAddress,
|
|
26820
27316
|
ExecutedTransaction: ExecutedTransaction,
|
|
26821
27317
|
Felt: Felt,
|
|
26822
27318
|
FeltArray: FeltArray,
|
|
@@ -26844,6 +27340,7 @@ var CargoBP70qVT = /*#__PURE__*/Object.freeze({
|
|
|
26844
27340
|
JsVaultAsset: JsVaultAsset,
|
|
26845
27341
|
Library: Library,
|
|
26846
27342
|
MerklePath: MerklePath,
|
|
27343
|
+
NetworkAccountTarget: NetworkAccountTarget,
|
|
26847
27344
|
NetworkId: NetworkId,
|
|
26848
27345
|
NetworkNoteStatusInfo: NetworkNoteStatusInfo,
|
|
26849
27346
|
NetworkType: NetworkType,
|