@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 {
|
|
@@ -13049,10 +13128,13 @@ class AuthSecretKey {
|
|
|
13049
13128
|
if (Symbol.dispose) AuthSecretKey.prototype[Symbol.dispose] = AuthSecretKey.prototype.free;
|
|
13050
13129
|
|
|
13051
13130
|
/**
|
|
13052
|
-
* Provides metadata for a
|
|
13131
|
+
* Provides metadata for a fungible faucet account component.
|
|
13053
13132
|
*
|
|
13054
|
-
* Reads the on-chain
|
|
13055
|
-
*
|
|
13133
|
+
* Reads the on-chain `FungibleFaucet` component for the account, which holds the per-token
|
|
13134
|
+
* info (symbol, decimals, supply, and the descriptive metadata). The same component backs both
|
|
13135
|
+
* "basic" public faucets and network-style faucets — in the current protocol the distinction is
|
|
13136
|
+
* a function of the surrounding account configuration (account type, auth, access control), not
|
|
13137
|
+
* of the faucet component itself — so this reads metadata from either kind of faucet account.
|
|
13056
13138
|
*/
|
|
13057
13139
|
class BasicFungibleFaucetComponent {
|
|
13058
13140
|
static __wrap(ptr) {
|
|
@@ -13080,6 +13162,32 @@ class BasicFungibleFaucetComponent {
|
|
|
13080
13162
|
const ret = wasm.basicfungiblefaucetcomponent_decimals(this.__wbg_ptr);
|
|
13081
13163
|
return ret;
|
|
13082
13164
|
}
|
|
13165
|
+
/**
|
|
13166
|
+
* Returns the optional free-form token description, or `undefined` when unset.
|
|
13167
|
+
* @returns {string | undefined}
|
|
13168
|
+
*/
|
|
13169
|
+
description() {
|
|
13170
|
+
const ret = wasm.basicfungiblefaucetcomponent_description(this.__wbg_ptr);
|
|
13171
|
+
let v1;
|
|
13172
|
+
if (ret[0] !== 0) {
|
|
13173
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13174
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13175
|
+
}
|
|
13176
|
+
return v1;
|
|
13177
|
+
}
|
|
13178
|
+
/**
|
|
13179
|
+
* Returns the optional external link (e.g. project website), or `undefined` when unset.
|
|
13180
|
+
* @returns {string | undefined}
|
|
13181
|
+
*/
|
|
13182
|
+
externalLink() {
|
|
13183
|
+
const ret = wasm.basicfungiblefaucetcomponent_externalLink(this.__wbg_ptr);
|
|
13184
|
+
let v1;
|
|
13185
|
+
if (ret[0] !== 0) {
|
|
13186
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13187
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13188
|
+
}
|
|
13189
|
+
return v1;
|
|
13190
|
+
}
|
|
13083
13191
|
/**
|
|
13084
13192
|
* Extracts faucet metadata from an account.
|
|
13085
13193
|
* @param {Account} account
|
|
@@ -13094,6 +13202,19 @@ class BasicFungibleFaucetComponent {
|
|
|
13094
13202
|
}
|
|
13095
13203
|
return BasicFungibleFaucetComponent.__wrap(ret[0]);
|
|
13096
13204
|
}
|
|
13205
|
+
/**
|
|
13206
|
+
* Returns the optional token logo URI, or `undefined` when unset.
|
|
13207
|
+
* @returns {string | undefined}
|
|
13208
|
+
*/
|
|
13209
|
+
logoUri() {
|
|
13210
|
+
const ret = wasm.basicfungiblefaucetcomponent_logoUri(this.__wbg_ptr);
|
|
13211
|
+
let v1;
|
|
13212
|
+
if (ret[0] !== 0) {
|
|
13213
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
13214
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
13215
|
+
}
|
|
13216
|
+
return v1;
|
|
13217
|
+
}
|
|
13097
13218
|
/**
|
|
13098
13219
|
* Returns the maximum token supply.
|
|
13099
13220
|
* @returns {Felt}
|
|
@@ -13110,6 +13231,30 @@ class BasicFungibleFaucetComponent {
|
|
|
13110
13231
|
const ret = wasm.basicfungiblefaucetcomponent_symbol(this.__wbg_ptr);
|
|
13111
13232
|
return TokenSymbol.__wrap(ret);
|
|
13112
13233
|
}
|
|
13234
|
+
/**
|
|
13235
|
+
* Returns the human-readable token name.
|
|
13236
|
+
* @returns {string}
|
|
13237
|
+
*/
|
|
13238
|
+
tokenName() {
|
|
13239
|
+
let deferred1_0;
|
|
13240
|
+
let deferred1_1;
|
|
13241
|
+
try {
|
|
13242
|
+
const ret = wasm.basicfungiblefaucetcomponent_tokenName(this.__wbg_ptr);
|
|
13243
|
+
deferred1_0 = ret[0];
|
|
13244
|
+
deferred1_1 = ret[1];
|
|
13245
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13246
|
+
} finally {
|
|
13247
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13248
|
+
}
|
|
13249
|
+
}
|
|
13250
|
+
/**
|
|
13251
|
+
* Returns the current token supply (the amount minted so far).
|
|
13252
|
+
* @returns {Felt}
|
|
13253
|
+
*/
|
|
13254
|
+
tokenSupply() {
|
|
13255
|
+
const ret = wasm.basicfungiblefaucetcomponent_tokenSupply(this.__wbg_ptr);
|
|
13256
|
+
return Felt.__wrap(ret);
|
|
13257
|
+
}
|
|
13113
13258
|
}
|
|
13114
13259
|
if (Symbol.dispose) BasicFungibleFaucetComponent.prototype[Symbol.dispose] = BasicFungibleFaucetComponent.prototype.free;
|
|
13115
13260
|
|
|
@@ -13677,6 +13822,104 @@ class Endpoint {
|
|
|
13677
13822
|
}
|
|
13678
13823
|
if (Symbol.dispose) Endpoint.prototype[Symbol.dispose] = Endpoint.prototype.free;
|
|
13679
13824
|
|
|
13825
|
+
/**
|
|
13826
|
+
* A 20-byte Ethereum address, used as the destination of an `AggLayer` bridge-out (B2AGG) note.
|
|
13827
|
+
*
|
|
13828
|
+
* Construct one from a hex string with [`EthAddress::from_hex`] (the `0x` prefix is optional) or
|
|
13829
|
+
* from raw bytes with [`EthAddress::from_bytes`]. The canonical lowercase, `0x`-prefixed hex form
|
|
13830
|
+
* is available via [`EthAddress::to_hex`] (also exposed as `toString`).
|
|
13831
|
+
*/
|
|
13832
|
+
class EthAddress {
|
|
13833
|
+
static __wrap(ptr) {
|
|
13834
|
+
ptr = ptr >>> 0;
|
|
13835
|
+
const obj = Object.create(EthAddress.prototype);
|
|
13836
|
+
obj.__wbg_ptr = ptr;
|
|
13837
|
+
EthAddressFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
13838
|
+
return obj;
|
|
13839
|
+
}
|
|
13840
|
+
__destroy_into_raw() {
|
|
13841
|
+
const ptr = this.__wbg_ptr;
|
|
13842
|
+
this.__wbg_ptr = 0;
|
|
13843
|
+
EthAddressFinalization.unregister(this);
|
|
13844
|
+
return ptr;
|
|
13845
|
+
}
|
|
13846
|
+
free() {
|
|
13847
|
+
const ptr = this.__destroy_into_raw();
|
|
13848
|
+
wasm.__wbg_ethaddress_free(ptr, 0);
|
|
13849
|
+
}
|
|
13850
|
+
/**
|
|
13851
|
+
* Builds an Ethereum address from its raw 20-byte big-endian representation.
|
|
13852
|
+
*
|
|
13853
|
+
* Returns an error if the input is not exactly 20 bytes long.
|
|
13854
|
+
* @param {Uint8Array} bytes
|
|
13855
|
+
* @returns {EthAddress}
|
|
13856
|
+
*/
|
|
13857
|
+
static fromBytes(bytes) {
|
|
13858
|
+
const ret = wasm.ethaddress_fromBytes(bytes);
|
|
13859
|
+
if (ret[2]) {
|
|
13860
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13861
|
+
}
|
|
13862
|
+
return EthAddress.__wrap(ret[0]);
|
|
13863
|
+
}
|
|
13864
|
+
/**
|
|
13865
|
+
* Builds an Ethereum address from a hex string (with or without the `0x` prefix).
|
|
13866
|
+
*
|
|
13867
|
+
* Returns an error if the string is not valid hex or does not encode exactly 20 bytes.
|
|
13868
|
+
* @param {string} hex
|
|
13869
|
+
* @returns {EthAddress}
|
|
13870
|
+
*/
|
|
13871
|
+
static fromHex(hex) {
|
|
13872
|
+
const ptr0 = passStringToWasm0(hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
13873
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13874
|
+
const ret = wasm.ethaddress_fromHex(ptr0, len0);
|
|
13875
|
+
if (ret[2]) {
|
|
13876
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13877
|
+
}
|
|
13878
|
+
return EthAddress.__wrap(ret[0]);
|
|
13879
|
+
}
|
|
13880
|
+
/**
|
|
13881
|
+
* Returns the raw 20-byte big-endian representation of the address.
|
|
13882
|
+
* @returns {Uint8Array}
|
|
13883
|
+
*/
|
|
13884
|
+
toBytes() {
|
|
13885
|
+
const ret = wasm.ethaddress_toBytes(this.__wbg_ptr);
|
|
13886
|
+
return ret;
|
|
13887
|
+
}
|
|
13888
|
+
/**
|
|
13889
|
+
* Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
|
|
13890
|
+
* @returns {string}
|
|
13891
|
+
*/
|
|
13892
|
+
toHex() {
|
|
13893
|
+
let deferred1_0;
|
|
13894
|
+
let deferred1_1;
|
|
13895
|
+
try {
|
|
13896
|
+
const ret = wasm.ethaddress_toHex(this.__wbg_ptr);
|
|
13897
|
+
deferred1_0 = ret[0];
|
|
13898
|
+
deferred1_1 = ret[1];
|
|
13899
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13900
|
+
} finally {
|
|
13901
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13902
|
+
}
|
|
13903
|
+
}
|
|
13904
|
+
/**
|
|
13905
|
+
* Returns the canonical lowercase, `0x`-prefixed hex representation of the address.
|
|
13906
|
+
* @returns {string}
|
|
13907
|
+
*/
|
|
13908
|
+
toString() {
|
|
13909
|
+
let deferred1_0;
|
|
13910
|
+
let deferred1_1;
|
|
13911
|
+
try {
|
|
13912
|
+
const ret = wasm.ethaddress_toString(this.__wbg_ptr);
|
|
13913
|
+
deferred1_0 = ret[0];
|
|
13914
|
+
deferred1_1 = ret[1];
|
|
13915
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13916
|
+
} finally {
|
|
13917
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13918
|
+
}
|
|
13919
|
+
}
|
|
13920
|
+
}
|
|
13921
|
+
if (Symbol.dispose) EthAddress.prototype[Symbol.dispose] = EthAddress.prototype.free;
|
|
13922
|
+
|
|
13680
13923
|
/**
|
|
13681
13924
|
* Describes the result of executing a transaction program for the Miden protocol.
|
|
13682
13925
|
*
|
|
@@ -16038,6 +16281,97 @@ class MerklePath {
|
|
|
16038
16281
|
}
|
|
16039
16282
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
16040
16283
|
|
|
16284
|
+
/**
|
|
16285
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16286
|
+
*
|
|
16287
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16288
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16289
|
+
*/
|
|
16290
|
+
class NetworkAccountTarget {
|
|
16291
|
+
static __wrap(ptr) {
|
|
16292
|
+
ptr = ptr >>> 0;
|
|
16293
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16294
|
+
obj.__wbg_ptr = ptr;
|
|
16295
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16296
|
+
return obj;
|
|
16297
|
+
}
|
|
16298
|
+
__destroy_into_raw() {
|
|
16299
|
+
const ptr = this.__wbg_ptr;
|
|
16300
|
+
this.__wbg_ptr = 0;
|
|
16301
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16302
|
+
return ptr;
|
|
16303
|
+
}
|
|
16304
|
+
free() {
|
|
16305
|
+
const ptr = this.__destroy_into_raw();
|
|
16306
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16307
|
+
}
|
|
16308
|
+
/**
|
|
16309
|
+
* Returns the note execution hint.
|
|
16310
|
+
* @returns {NoteExecutionHint}
|
|
16311
|
+
*/
|
|
16312
|
+
executionHint() {
|
|
16313
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16314
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16315
|
+
}
|
|
16316
|
+
/**
|
|
16317
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16318
|
+
*
|
|
16319
|
+
* # Errors
|
|
16320
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16321
|
+
* @param {NoteAttachment} attachment
|
|
16322
|
+
* @returns {NetworkAccountTarget}
|
|
16323
|
+
*/
|
|
16324
|
+
static fromAttachment(attachment) {
|
|
16325
|
+
_assertClass(attachment, NoteAttachment);
|
|
16326
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16327
|
+
if (ret[2]) {
|
|
16328
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16329
|
+
}
|
|
16330
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16331
|
+
}
|
|
16332
|
+
/**
|
|
16333
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16334
|
+
* to `NoteExecutionHint.always()`.
|
|
16335
|
+
*
|
|
16336
|
+
* # Errors
|
|
16337
|
+
* Errors if `account_id` is not a public account.
|
|
16338
|
+
* @param {AccountId} account_id
|
|
16339
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16340
|
+
*/
|
|
16341
|
+
constructor(account_id, execution_hint) {
|
|
16342
|
+
_assertClass(account_id, AccountId);
|
|
16343
|
+
let ptr0 = 0;
|
|
16344
|
+
if (!isLikeNone(execution_hint)) {
|
|
16345
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16346
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16347
|
+
}
|
|
16348
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16349
|
+
if (ret[2]) {
|
|
16350
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16351
|
+
}
|
|
16352
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16353
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16354
|
+
return this;
|
|
16355
|
+
}
|
|
16356
|
+
/**
|
|
16357
|
+
* Returns the targeted network account id.
|
|
16358
|
+
* @returns {AccountId}
|
|
16359
|
+
*/
|
|
16360
|
+
targetId() {
|
|
16361
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16362
|
+
return AccountId.__wrap(ret);
|
|
16363
|
+
}
|
|
16364
|
+
/**
|
|
16365
|
+
* Encodes this target as a `NoteAttachment`.
|
|
16366
|
+
* @returns {NoteAttachment}
|
|
16367
|
+
*/
|
|
16368
|
+
toAttachment() {
|
|
16369
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
16370
|
+
return NoteAttachment.__wrap(ret);
|
|
16371
|
+
}
|
|
16372
|
+
}
|
|
16373
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
16374
|
+
|
|
16041
16375
|
/**
|
|
16042
16376
|
* The identifier of a Miden network.
|
|
16043
16377
|
*/
|
|
@@ -16231,6 +16565,16 @@ class Note {
|
|
|
16231
16565
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
16232
16566
|
return NoteAssets.__wrap(ret);
|
|
16233
16567
|
}
|
|
16568
|
+
/**
|
|
16569
|
+
* Returns the note's attachments.
|
|
16570
|
+
* @returns {NoteAttachment[]}
|
|
16571
|
+
*/
|
|
16572
|
+
attachments() {
|
|
16573
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
16574
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
16575
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
16576
|
+
return v1;
|
|
16577
|
+
}
|
|
16234
16578
|
/**
|
|
16235
16579
|
* Returns the commitment to the note (its ID).
|
|
16236
16580
|
*
|
|
@@ -16244,6 +16588,32 @@ class Note {
|
|
|
16244
16588
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16245
16589
|
return Word.__wrap(ret);
|
|
16246
16590
|
}
|
|
16591
|
+
/**
|
|
16592
|
+
* Builds a B2AGG (Bridge-to-AggLayer) note that bridges the given assets out to another
|
|
16593
|
+
* network via the `AggLayer`.
|
|
16594
|
+
*
|
|
16595
|
+
* The note is always public and is consumed by `bridge_account`, which burns the assets so
|
|
16596
|
+
* they can be claimed on the destination network at `destination_address` (an Ethereum
|
|
16597
|
+
* address on the AggLayer-assigned `destination_network`). The assets must be fungible assets
|
|
16598
|
+
* issued by a network faucet.
|
|
16599
|
+
* @param {AccountId} sender
|
|
16600
|
+
* @param {AccountId} bridge_account
|
|
16601
|
+
* @param {NoteAssets} assets
|
|
16602
|
+
* @param {number} destination_network
|
|
16603
|
+
* @param {EthAddress} destination_address
|
|
16604
|
+
* @returns {Note}
|
|
16605
|
+
*/
|
|
16606
|
+
static createB2AggNote(sender, bridge_account, assets, destination_network, destination_address) {
|
|
16607
|
+
_assertClass(sender, AccountId);
|
|
16608
|
+
_assertClass(bridge_account, AccountId);
|
|
16609
|
+
_assertClass(assets, NoteAssets);
|
|
16610
|
+
_assertClass(destination_address, EthAddress);
|
|
16611
|
+
const ret = wasm.note_createB2AggNote(sender.__wbg_ptr, bridge_account.__wbg_ptr, assets.__wbg_ptr, destination_network, destination_address.__wbg_ptr);
|
|
16612
|
+
if (ret[2]) {
|
|
16613
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16614
|
+
}
|
|
16615
|
+
return Note.__wrap(ret[0]);
|
|
16616
|
+
}
|
|
16247
16617
|
/**
|
|
16248
16618
|
* Builds a P2IDE note that can be reclaimed or timelocked based on block heights.
|
|
16249
16619
|
* @param {AccountId} sender
|
|
@@ -16306,6 +16676,15 @@ class Note {
|
|
|
16306
16676
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16307
16677
|
return NoteId.__wrap(ret);
|
|
16308
16678
|
}
|
|
16679
|
+
/**
|
|
16680
|
+
* Returns true if the note is a network note (public + a valid
|
|
16681
|
+
* `NetworkAccountTarget` attachment).
|
|
16682
|
+
* @returns {boolean}
|
|
16683
|
+
*/
|
|
16684
|
+
isNetworkNote() {
|
|
16685
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
16686
|
+
return ret !== 0;
|
|
16687
|
+
}
|
|
16309
16688
|
/**
|
|
16310
16689
|
* Returns the public metadata associated with the note.
|
|
16311
16690
|
* @returns {NoteMetadata}
|
|
@@ -16365,6 +16744,30 @@ class Note {
|
|
|
16365
16744
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
16366
16745
|
return ret;
|
|
16367
16746
|
}
|
|
16747
|
+
/**
|
|
16748
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
16749
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
16750
|
+
*
|
|
16751
|
+
* # Errors
|
|
16752
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
16753
|
+
* @param {NoteAssets} note_assets
|
|
16754
|
+
* @param {NoteMetadata} note_metadata
|
|
16755
|
+
* @param {NoteRecipient} note_recipient
|
|
16756
|
+
* @param {NoteAttachment[]} attachments
|
|
16757
|
+
* @returns {Note}
|
|
16758
|
+
*/
|
|
16759
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
16760
|
+
_assertClass(note_assets, NoteAssets);
|
|
16761
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
16762
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
16763
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
16764
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16765
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
16766
|
+
if (ret[2]) {
|
|
16767
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16768
|
+
}
|
|
16769
|
+
return Note.__wrap(ret[0]);
|
|
16770
|
+
}
|
|
16368
16771
|
}
|
|
16369
16772
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
16370
16773
|
|
|
@@ -16632,6 +17035,12 @@ class NoteAttachment {
|
|
|
16632
17035
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16633
17036
|
return obj;
|
|
16634
17037
|
}
|
|
17038
|
+
static __unwrap(jsValue) {
|
|
17039
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
17040
|
+
return 0;
|
|
17041
|
+
}
|
|
17042
|
+
return jsValue.__destroy_into_raw();
|
|
17043
|
+
}
|
|
16635
17044
|
__destroy_into_raw() {
|
|
16636
17045
|
const ptr = this.__wbg_ptr;
|
|
16637
17046
|
this.__wbg_ptr = 0;
|
|
@@ -17862,6 +18271,19 @@ class NoteRecipient {
|
|
|
17862
18271
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
17863
18272
|
return Word.__wrap(ret);
|
|
17864
18273
|
}
|
|
18274
|
+
/**
|
|
18275
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18276
|
+
* serial number (the secret that prevents double-spends).
|
|
18277
|
+
* @param {NoteScript} note_script
|
|
18278
|
+
* @param {NoteStorage} storage
|
|
18279
|
+
* @returns {NoteRecipient}
|
|
18280
|
+
*/
|
|
18281
|
+
static fromScript(note_script, storage) {
|
|
18282
|
+
_assertClass(note_script, NoteScript);
|
|
18283
|
+
_assertClass(storage, NoteStorage);
|
|
18284
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18285
|
+
return NoteRecipient.__wrap(ret);
|
|
18286
|
+
}
|
|
17865
18287
|
/**
|
|
17866
18288
|
* Creates a note recipient from its serial number, script, and storage.
|
|
17867
18289
|
* @param {Word} serial_num
|
|
@@ -22987,6 +23409,30 @@ class WebClient {
|
|
|
22987
23409
|
const ret = wasm.webclient_newAccountWithSecretKey(this.__wbg_ptr, account.__wbg_ptr, secret_key.__wbg_ptr);
|
|
22988
23410
|
return ret;
|
|
22989
23411
|
}
|
|
23412
|
+
/**
|
|
23413
|
+
* Builds a transaction request that bridges a fungible asset out to another network via the
|
|
23414
|
+
* `AggLayer`.
|
|
23415
|
+
*
|
|
23416
|
+
* The request emits a single public B2AGG (Bridge-to-AggLayer) note holding `amount` units of
|
|
23417
|
+
* the `faucet_id` asset. The note is consumed by `bridge_account_id`, which burns the asset so
|
|
23418
|
+
* it can be claimed at `destination_address` (an Ethereum address) on the AggLayer-assigned
|
|
23419
|
+
* `destination_network`.
|
|
23420
|
+
* @param {AccountId} sender_account_id
|
|
23421
|
+
* @param {AccountId} bridge_account_id
|
|
23422
|
+
* @param {AccountId} faucet_id
|
|
23423
|
+
* @param {bigint} amount
|
|
23424
|
+
* @param {number} destination_network
|
|
23425
|
+
* @param {EthAddress} destination_address
|
|
23426
|
+
* @returns {Promise<TransactionRequest>}
|
|
23427
|
+
*/
|
|
23428
|
+
newB2AggTransactionRequest(sender_account_id, bridge_account_id, faucet_id, amount, destination_network, destination_address) {
|
|
23429
|
+
_assertClass(sender_account_id, AccountId);
|
|
23430
|
+
_assertClass(bridge_account_id, AccountId);
|
|
23431
|
+
_assertClass(faucet_id, AccountId);
|
|
23432
|
+
_assertClass(destination_address, EthAddress);
|
|
23433
|
+
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);
|
|
23434
|
+
return ret;
|
|
23435
|
+
}
|
|
22990
23436
|
/**
|
|
22991
23437
|
* @param {Note[]} list_of_notes
|
|
22992
23438
|
* @returns {TransactionRequest}
|
|
@@ -23280,6 +23726,25 @@ class WebClient {
|
|
|
23280
23726
|
const ret = wasm.webclient_submitNewTransaction(this.__wbg_ptr, account_id.__wbg_ptr, transaction_request.__wbg_ptr);
|
|
23281
23727
|
return ret;
|
|
23282
23728
|
}
|
|
23729
|
+
/**
|
|
23730
|
+
* Executes a batch of transactions against the specified account, proves them individually
|
|
23731
|
+
* and as a batch, submits the batch to the network, and atomically applies the per-tx
|
|
23732
|
+
* updates to the local store. Returns the block number the batch was accepted into.
|
|
23733
|
+
*
|
|
23734
|
+
* All transactions must target the same local account — the `account_id` argument.
|
|
23735
|
+
* Each element of `transaction_requests` is the serialized-bytes form of a
|
|
23736
|
+
* `TransactionRequest` (obtained via `tx_request.serialize()`)
|
|
23737
|
+
* @param {AccountId} account_id
|
|
23738
|
+
* @param {Uint8Array[]} transaction_requests
|
|
23739
|
+
* @returns {Promise<number>}
|
|
23740
|
+
*/
|
|
23741
|
+
submitNewTransactionBatch(account_id, transaction_requests) {
|
|
23742
|
+
_assertClass(account_id, AccountId);
|
|
23743
|
+
const ptr0 = passArrayJsValueToWasm0(transaction_requests, wasm.__wbindgen_malloc);
|
|
23744
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23745
|
+
const ret = wasm.webclient_submitNewTransactionBatch(this.__wbg_ptr, account_id.__wbg_ptr, ptr0, len0);
|
|
23746
|
+
return ret;
|
|
23747
|
+
}
|
|
23283
23748
|
/**
|
|
23284
23749
|
* Executes a transaction specified by the request against the specified account, proves it
|
|
23285
23750
|
* with the user provided prover, submits it to the network, and updates the local database.
|
|
@@ -23899,7 +24364,7 @@ function __wbg_get_imports(memory) {
|
|
|
23899
24364
|
const ret = AccountStorage.__wrap(arg0);
|
|
23900
24365
|
return ret;
|
|
23901
24366
|
},
|
|
23902
|
-
|
|
24367
|
+
__wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
23903
24368
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23904
24369
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23905
24370
|
let v1;
|
|
@@ -23927,21 +24392,25 @@ function __wbg_get_imports(memory) {
|
|
|
23927
24392
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
23928
24393
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
23929
24394
|
}, arguments); },
|
|
23930
|
-
|
|
24395
|
+
__wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
|
|
23931
24396
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
23932
24397
|
return ret;
|
|
23933
24398
|
},
|
|
23934
|
-
|
|
24399
|
+
__wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
|
|
23935
24400
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23936
24401
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23937
24402
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
23938
24403
|
return ret;
|
|
23939
24404
|
},
|
|
23940
|
-
|
|
24405
|
+
__wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
|
|
23941
24406
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
23942
24407
|
return ret;
|
|
23943
24408
|
},
|
|
23944
|
-
|
|
24409
|
+
__wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
|
|
24410
|
+
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24411
|
+
return ret;
|
|
24412
|
+
},
|
|
24413
|
+
__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) {
|
|
23945
24414
|
let deferred0_0;
|
|
23946
24415
|
let deferred0_1;
|
|
23947
24416
|
let deferred1_0;
|
|
@@ -24092,7 +24561,7 @@ function __wbg_get_imports(memory) {
|
|
|
24092
24561
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24093
24562
|
}
|
|
24094
24563
|
},
|
|
24095
|
-
|
|
24564
|
+
__wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
|
|
24096
24565
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24097
24566
|
return ret;
|
|
24098
24567
|
},
|
|
@@ -24124,7 +24593,7 @@ function __wbg_get_imports(memory) {
|
|
|
24124
24593
|
const ret = FetchedNote.__wrap(arg0);
|
|
24125
24594
|
return ret;
|
|
24126
24595
|
},
|
|
24127
|
-
|
|
24596
|
+
__wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
|
|
24128
24597
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24129
24598
|
return ret;
|
|
24130
24599
|
},
|
|
@@ -24132,6 +24601,10 @@ function __wbg_get_imports(memory) {
|
|
|
24132
24601
|
const ret = ForeignAccount.__unwrap(arg0);
|
|
24133
24602
|
return ret;
|
|
24134
24603
|
},
|
|
24604
|
+
__wbg_from_bddd64e7d5ff6941: function(arg0) {
|
|
24605
|
+
const ret = Array.from(arg0);
|
|
24606
|
+
return ret;
|
|
24607
|
+
},
|
|
24135
24608
|
__wbg_fungibleasset_new: function(arg0) {
|
|
24136
24609
|
const ret = FungibleAsset.__wrap(arg0);
|
|
24137
24610
|
return ret;
|
|
@@ -24144,7 +24617,7 @@ function __wbg_get_imports(memory) {
|
|
|
24144
24617
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24145
24618
|
return ret;
|
|
24146
24619
|
},
|
|
24147
|
-
|
|
24620
|
+
__wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
|
|
24148
24621
|
let deferred0_0;
|
|
24149
24622
|
let deferred0_1;
|
|
24150
24623
|
try {
|
|
@@ -24156,7 +24629,7 @@ function __wbg_get_imports(memory) {
|
|
|
24156
24629
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24157
24630
|
}
|
|
24158
24631
|
},
|
|
24159
|
-
|
|
24632
|
+
__wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
|
|
24160
24633
|
let deferred0_0;
|
|
24161
24634
|
let deferred0_1;
|
|
24162
24635
|
try {
|
|
@@ -24168,7 +24641,7 @@ function __wbg_get_imports(memory) {
|
|
|
24168
24641
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24169
24642
|
}
|
|
24170
24643
|
},
|
|
24171
|
-
|
|
24644
|
+
__wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
|
|
24172
24645
|
let deferred0_0;
|
|
24173
24646
|
let deferred0_1;
|
|
24174
24647
|
try {
|
|
@@ -24180,7 +24653,7 @@ function __wbg_get_imports(memory) {
|
|
|
24180
24653
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24181
24654
|
}
|
|
24182
24655
|
},
|
|
24183
|
-
|
|
24656
|
+
__wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
|
|
24184
24657
|
let deferred0_0;
|
|
24185
24658
|
let deferred0_1;
|
|
24186
24659
|
try {
|
|
@@ -24192,7 +24665,7 @@ function __wbg_get_imports(memory) {
|
|
|
24192
24665
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24193
24666
|
}
|
|
24194
24667
|
},
|
|
24195
|
-
|
|
24668
|
+
__wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
|
|
24196
24669
|
let deferred0_0;
|
|
24197
24670
|
let deferred0_1;
|
|
24198
24671
|
try {
|
|
@@ -24204,7 +24677,7 @@ function __wbg_get_imports(memory) {
|
|
|
24204
24677
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24205
24678
|
}
|
|
24206
24679
|
},
|
|
24207
|
-
|
|
24680
|
+
__wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
|
|
24208
24681
|
let deferred0_0;
|
|
24209
24682
|
let deferred0_1;
|
|
24210
24683
|
try {
|
|
@@ -24216,11 +24689,11 @@ function __wbg_get_imports(memory) {
|
|
|
24216
24689
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24217
24690
|
}
|
|
24218
24691
|
},
|
|
24219
|
-
|
|
24692
|
+
__wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
|
|
24220
24693
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24221
24694
|
return ret;
|
|
24222
24695
|
},
|
|
24223
|
-
|
|
24696
|
+
__wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
|
|
24224
24697
|
let deferred0_0;
|
|
24225
24698
|
let deferred0_1;
|
|
24226
24699
|
try {
|
|
@@ -24232,7 +24705,7 @@ function __wbg_get_imports(memory) {
|
|
|
24232
24705
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24233
24706
|
}
|
|
24234
24707
|
},
|
|
24235
|
-
|
|
24708
|
+
__wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24236
24709
|
let deferred0_0;
|
|
24237
24710
|
let deferred0_1;
|
|
24238
24711
|
try {
|
|
@@ -24246,7 +24719,7 @@ function __wbg_get_imports(memory) {
|
|
|
24246
24719
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24247
24720
|
}
|
|
24248
24721
|
},
|
|
24249
|
-
|
|
24722
|
+
__wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24250
24723
|
let deferred0_0;
|
|
24251
24724
|
let deferred0_1;
|
|
24252
24725
|
try {
|
|
@@ -24260,27 +24733,27 @@ function __wbg_get_imports(memory) {
|
|
|
24260
24733
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24261
24734
|
}
|
|
24262
24735
|
},
|
|
24263
|
-
|
|
24736
|
+
__wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
|
|
24264
24737
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24265
24738
|
return ret;
|
|
24266
24739
|
},
|
|
24267
|
-
|
|
24740
|
+
__wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
|
|
24268
24741
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24269
24742
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24270
24743
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24271
24744
|
return ret;
|
|
24272
24745
|
},
|
|
24273
|
-
|
|
24746
|
+
__wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
|
|
24274
24747
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24275
24748
|
return ret;
|
|
24276
24749
|
},
|
|
24277
|
-
|
|
24750
|
+
__wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
|
|
24278
24751
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24279
24752
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24280
24753
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24281
24754
|
return ret;
|
|
24282
24755
|
},
|
|
24283
|
-
|
|
24756
|
+
__wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24284
24757
|
let deferred1_0;
|
|
24285
24758
|
let deferred1_1;
|
|
24286
24759
|
try {
|
|
@@ -24294,31 +24767,31 @@ function __wbg_get_imports(memory) {
|
|
|
24294
24767
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24295
24768
|
}
|
|
24296
24769
|
},
|
|
24297
|
-
|
|
24770
|
+
__wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
|
|
24298
24771
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24299
24772
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24300
24773
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24301
24774
|
return ret;
|
|
24302
24775
|
},
|
|
24303
|
-
|
|
24776
|
+
__wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
|
|
24304
24777
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24305
24778
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24306
24779
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24307
24780
|
return ret;
|
|
24308
24781
|
},
|
|
24309
|
-
|
|
24782
|
+
__wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
|
|
24310
24783
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24311
24784
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24312
24785
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24313
24786
|
return ret;
|
|
24314
24787
|
},
|
|
24315
|
-
|
|
24788
|
+
__wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
|
|
24316
24789
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24317
24790
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24318
24791
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24319
24792
|
return ret;
|
|
24320
24793
|
},
|
|
24321
|
-
|
|
24794
|
+
__wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
|
|
24322
24795
|
let deferred0_0;
|
|
24323
24796
|
let deferred0_1;
|
|
24324
24797
|
try {
|
|
@@ -24330,7 +24803,7 @@ function __wbg_get_imports(memory) {
|
|
|
24330
24803
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24331
24804
|
}
|
|
24332
24805
|
},
|
|
24333
|
-
|
|
24806
|
+
__wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
|
|
24334
24807
|
let deferred0_0;
|
|
24335
24808
|
let deferred0_1;
|
|
24336
24809
|
try {
|
|
@@ -24342,39 +24815,39 @@ function __wbg_get_imports(memory) {
|
|
|
24342
24815
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24343
24816
|
}
|
|
24344
24817
|
},
|
|
24345
|
-
|
|
24818
|
+
__wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
|
|
24346
24819
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24347
24820
|
return ret;
|
|
24348
24821
|
},
|
|
24349
|
-
|
|
24822
|
+
__wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
|
|
24350
24823
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24351
24824
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24352
24825
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24353
24826
|
return ret;
|
|
24354
24827
|
},
|
|
24355
|
-
|
|
24828
|
+
__wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
|
|
24356
24829
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24357
24830
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24358
24831
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24359
24832
|
return ret;
|
|
24360
24833
|
},
|
|
24361
|
-
|
|
24834
|
+
__wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
|
|
24362
24835
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24363
24836
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24364
24837
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24365
24838
|
return ret;
|
|
24366
24839
|
},
|
|
24367
|
-
|
|
24840
|
+
__wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
|
|
24368
24841
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24369
24842
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24370
24843
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24371
24844
|
return ret;
|
|
24372
24845
|
},
|
|
24373
|
-
|
|
24846
|
+
__wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
|
|
24374
24847
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24375
24848
|
return ret;
|
|
24376
24849
|
},
|
|
24377
|
-
|
|
24850
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
|
|
24378
24851
|
let deferred0_0;
|
|
24379
24852
|
let deferred0_1;
|
|
24380
24853
|
try {
|
|
@@ -24386,7 +24859,7 @@ function __wbg_get_imports(memory) {
|
|
|
24386
24859
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24387
24860
|
}
|
|
24388
24861
|
},
|
|
24389
|
-
|
|
24862
|
+
__wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
|
|
24390
24863
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24391
24864
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24392
24865
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24399,7 +24872,7 @@ function __wbg_get_imports(memory) {
|
|
|
24399
24872
|
const ret = arg0.getReader();
|
|
24400
24873
|
return ret;
|
|
24401
24874
|
}, arguments); },
|
|
24402
|
-
|
|
24875
|
+
__wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
|
|
24403
24876
|
let deferred0_0;
|
|
24404
24877
|
let deferred0_1;
|
|
24405
24878
|
try {
|
|
@@ -24411,7 +24884,7 @@ function __wbg_get_imports(memory) {
|
|
|
24411
24884
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24412
24885
|
}
|
|
24413
24886
|
},
|
|
24414
|
-
|
|
24887
|
+
__wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
|
|
24415
24888
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24416
24889
|
return ret;
|
|
24417
24890
|
},
|
|
@@ -24419,15 +24892,15 @@ function __wbg_get_imports(memory) {
|
|
|
24419
24892
|
const ret = arg0.getTime();
|
|
24420
24893
|
return ret;
|
|
24421
24894
|
},
|
|
24422
|
-
|
|
24895
|
+
__wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
|
|
24423
24896
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24424
24897
|
return ret;
|
|
24425
24898
|
},
|
|
24426
|
-
|
|
24899
|
+
__wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
|
|
24427
24900
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24428
24901
|
return ret;
|
|
24429
24902
|
},
|
|
24430
|
-
|
|
24903
|
+
__wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
|
|
24431
24904
|
let deferred0_0;
|
|
24432
24905
|
let deferred0_1;
|
|
24433
24906
|
try {
|
|
@@ -24439,7 +24912,7 @@ function __wbg_get_imports(memory) {
|
|
|
24439
24912
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24440
24913
|
}
|
|
24441
24914
|
},
|
|
24442
|
-
|
|
24915
|
+
__wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
|
|
24443
24916
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24444
24917
|
return ret;
|
|
24445
24918
|
},
|
|
@@ -24483,7 +24956,7 @@ function __wbg_get_imports(memory) {
|
|
|
24483
24956
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24484
24957
|
return ret;
|
|
24485
24958
|
},
|
|
24486
|
-
|
|
24959
|
+
__wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24487
24960
|
let deferred0_0;
|
|
24488
24961
|
let deferred0_1;
|
|
24489
24962
|
try {
|
|
@@ -24497,7 +24970,7 @@ function __wbg_get_imports(memory) {
|
|
|
24497
24970
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24498
24971
|
}
|
|
24499
24972
|
},
|
|
24500
|
-
|
|
24973
|
+
__wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24501
24974
|
let deferred0_0;
|
|
24502
24975
|
let deferred0_1;
|
|
24503
24976
|
let deferred1_0;
|
|
@@ -24514,7 +24987,7 @@ function __wbg_get_imports(memory) {
|
|
|
24514
24987
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24515
24988
|
}
|
|
24516
24989
|
},
|
|
24517
|
-
|
|
24990
|
+
__wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24518
24991
|
let deferred0_0;
|
|
24519
24992
|
let deferred0_1;
|
|
24520
24993
|
let deferred1_0;
|
|
@@ -24531,13 +25004,13 @@ function __wbg_get_imports(memory) {
|
|
|
24531
25004
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24532
25005
|
}
|
|
24533
25006
|
},
|
|
24534
|
-
|
|
25007
|
+
__wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24535
25008
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24536
25009
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24537
25010
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24538
25011
|
return ret;
|
|
24539
25012
|
},
|
|
24540
|
-
|
|
25013
|
+
__wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24541
25014
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24542
25015
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24543
25016
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24545,7 +25018,7 @@ function __wbg_get_imports(memory) {
|
|
|
24545
25018
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24546
25019
|
return ret;
|
|
24547
25020
|
},
|
|
24548
|
-
|
|
25021
|
+
__wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24549
25022
|
let deferred0_0;
|
|
24550
25023
|
let deferred0_1;
|
|
24551
25024
|
try {
|
|
@@ -24559,7 +25032,7 @@ function __wbg_get_imports(memory) {
|
|
|
24559
25032
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24560
25033
|
}
|
|
24561
25034
|
},
|
|
24562
|
-
|
|
25035
|
+
__wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24563
25036
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24564
25037
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24565
25038
|
let v1;
|
|
@@ -24666,11 +25139,11 @@ function __wbg_get_imports(memory) {
|
|
|
24666
25139
|
const ret = arg0.length;
|
|
24667
25140
|
return ret;
|
|
24668
25141
|
},
|
|
24669
|
-
|
|
25142
|
+
__wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
|
|
24670
25143
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24671
25144
|
return ret;
|
|
24672
25145
|
},
|
|
24673
|
-
|
|
25146
|
+
__wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
|
|
24674
25147
|
let deferred0_0;
|
|
24675
25148
|
let deferred0_1;
|
|
24676
25149
|
try {
|
|
@@ -24829,6 +25302,10 @@ function __wbg_get_imports(memory) {
|
|
|
24829
25302
|
const ret = NoteAttachment.__wrap(arg0);
|
|
24830
25303
|
return ret;
|
|
24831
25304
|
},
|
|
25305
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25306
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25307
|
+
return ret;
|
|
25308
|
+
},
|
|
24832
25309
|
__wbg_noteconsumability_new: function(arg0) {
|
|
24833
25310
|
const ret = NoteConsumability.__wrap(arg0);
|
|
24834
25311
|
return ret;
|
|
@@ -24885,7 +25362,7 @@ function __wbg_get_imports(memory) {
|
|
|
24885
25362
|
const ret = Array.of(arg0, arg1, arg2);
|
|
24886
25363
|
return ret;
|
|
24887
25364
|
},
|
|
24888
|
-
|
|
25365
|
+
__wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
|
|
24889
25366
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
24890
25367
|
return ret;
|
|
24891
25368
|
},
|
|
@@ -24919,7 +25396,7 @@ function __wbg_get_imports(memory) {
|
|
|
24919
25396
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
24920
25397
|
return ret;
|
|
24921
25398
|
},
|
|
24922
|
-
|
|
25399
|
+
__wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24923
25400
|
let deferred0_0;
|
|
24924
25401
|
let deferred0_1;
|
|
24925
25402
|
let deferred1_0;
|
|
@@ -24936,7 +25413,7 @@ function __wbg_get_imports(memory) {
|
|
|
24936
25413
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24937
25414
|
}
|
|
24938
25415
|
},
|
|
24939
|
-
|
|
25416
|
+
__wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24940
25417
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24941
25418
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24942
25419
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24948,6 +25425,10 @@ function __wbg_get_imports(memory) {
|
|
|
24948
25425
|
const ret = PswapLineageRecord.__wrap(arg0);
|
|
24949
25426
|
return ret;
|
|
24950
25427
|
},
|
|
25428
|
+
__wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
|
|
25429
|
+
const ret = arg0.push(arg1);
|
|
25430
|
+
return ret;
|
|
25431
|
+
},
|
|
24951
25432
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
24952
25433
|
const ret = arg0.queueMicrotask;
|
|
24953
25434
|
return ret;
|
|
@@ -24962,13 +25443,13 @@ function __wbg_get_imports(memory) {
|
|
|
24962
25443
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
24963
25444
|
arg0.releaseLock();
|
|
24964
25445
|
},
|
|
24965
|
-
|
|
25446
|
+
__wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
|
|
24966
25447
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24967
25448
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24968
25449
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
24969
25450
|
return ret;
|
|
24970
25451
|
},
|
|
24971
|
-
|
|
25452
|
+
__wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
|
|
24972
25453
|
let deferred0_0;
|
|
24973
25454
|
let deferred0_1;
|
|
24974
25455
|
try {
|
|
@@ -24980,7 +25461,7 @@ function __wbg_get_imports(memory) {
|
|
|
24980
25461
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24981
25462
|
}
|
|
24982
25463
|
},
|
|
24983
|
-
|
|
25464
|
+
__wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
|
|
24984
25465
|
let deferred0_0;
|
|
24985
25466
|
let deferred0_1;
|
|
24986
25467
|
try {
|
|
@@ -24992,7 +25473,7 @@ function __wbg_get_imports(memory) {
|
|
|
24992
25473
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24993
25474
|
}
|
|
24994
25475
|
},
|
|
24995
|
-
|
|
25476
|
+
__wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24996
25477
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24997
25478
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24998
25479
|
let v1;
|
|
@@ -25013,7 +25494,7 @@ function __wbg_get_imports(memory) {
|
|
|
25013
25494
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25014
25495
|
return ret;
|
|
25015
25496
|
},
|
|
25016
|
-
|
|
25497
|
+
__wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
|
|
25017
25498
|
let deferred0_0;
|
|
25018
25499
|
let deferred0_1;
|
|
25019
25500
|
try {
|
|
@@ -25064,6 +25545,9 @@ function __wbg_get_imports(memory) {
|
|
|
25064
25545
|
const ret = setTimeout(arg0, arg1);
|
|
25065
25546
|
return ret;
|
|
25066
25547
|
}, arguments); },
|
|
25548
|
+
__wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
|
|
25549
|
+
arg0[arg1] = arg2;
|
|
25550
|
+
},
|
|
25067
25551
|
__wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
|
|
25068
25552
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
25069
25553
|
return ret;
|
|
@@ -25220,13 +25704,13 @@ function __wbg_get_imports(memory) {
|
|
|
25220
25704
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25221
25705
|
return ret;
|
|
25222
25706
|
},
|
|
25223
|
-
|
|
25707
|
+
__wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
|
|
25224
25708
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25225
25709
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25226
25710
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25227
25711
|
return ret;
|
|
25228
25712
|
},
|
|
25229
|
-
|
|
25713
|
+
__wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25230
25714
|
let deferred0_0;
|
|
25231
25715
|
let deferred0_1;
|
|
25232
25716
|
try {
|
|
@@ -25240,7 +25724,7 @@ function __wbg_get_imports(memory) {
|
|
|
25240
25724
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25241
25725
|
}
|
|
25242
25726
|
},
|
|
25243
|
-
|
|
25727
|
+
__wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25244
25728
|
let deferred0_0;
|
|
25245
25729
|
let deferred0_1;
|
|
25246
25730
|
let deferred1_0;
|
|
@@ -25282,7 +25766,7 @@ function __wbg_get_imports(memory) {
|
|
|
25282
25766
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25283
25767
|
}
|
|
25284
25768
|
},
|
|
25285
|
-
|
|
25769
|
+
__wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25286
25770
|
let deferred0_0;
|
|
25287
25771
|
let deferred0_1;
|
|
25288
25772
|
try {
|
|
@@ -25296,7 +25780,7 @@ function __wbg_get_imports(memory) {
|
|
|
25296
25780
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25297
25781
|
}
|
|
25298
25782
|
},
|
|
25299
|
-
|
|
25783
|
+
__wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25300
25784
|
let deferred0_0;
|
|
25301
25785
|
let deferred0_1;
|
|
25302
25786
|
let deferred2_0;
|
|
@@ -25315,7 +25799,7 @@ function __wbg_get_imports(memory) {
|
|
|
25315
25799
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25316
25800
|
}
|
|
25317
25801
|
},
|
|
25318
|
-
|
|
25802
|
+
__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) {
|
|
25319
25803
|
let deferred0_0;
|
|
25320
25804
|
let deferred0_1;
|
|
25321
25805
|
let deferred6_0;
|
|
@@ -25364,7 +25848,7 @@ function __wbg_get_imports(memory) {
|
|
|
25364
25848
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25365
25849
|
}
|
|
25366
25850
|
},
|
|
25367
|
-
|
|
25851
|
+
__wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25368
25852
|
let deferred0_0;
|
|
25369
25853
|
let deferred0_1;
|
|
25370
25854
|
try {
|
|
@@ -25378,7 +25862,7 @@ function __wbg_get_imports(memory) {
|
|
|
25378
25862
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25379
25863
|
}
|
|
25380
25864
|
},
|
|
25381
|
-
|
|
25865
|
+
__wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25382
25866
|
let deferred0_0;
|
|
25383
25867
|
let deferred0_1;
|
|
25384
25868
|
let deferred1_0;
|
|
@@ -25413,7 +25897,7 @@ function __wbg_get_imports(memory) {
|
|
|
25413
25897
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25414
25898
|
}
|
|
25415
25899
|
},
|
|
25416
|
-
|
|
25900
|
+
__wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25417
25901
|
let deferred0_0;
|
|
25418
25902
|
let deferred0_1;
|
|
25419
25903
|
try {
|
|
@@ -25427,7 +25911,7 @@ function __wbg_get_imports(memory) {
|
|
|
25427
25911
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25428
25912
|
}
|
|
25429
25913
|
},
|
|
25430
|
-
|
|
25914
|
+
__wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25431
25915
|
let deferred0_0;
|
|
25432
25916
|
let deferred0_1;
|
|
25433
25917
|
try {
|
|
@@ -25448,7 +25932,7 @@ function __wbg_get_imports(memory) {
|
|
|
25448
25932
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25449
25933
|
}
|
|
25450
25934
|
},
|
|
25451
|
-
|
|
25935
|
+
__wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25452
25936
|
let deferred0_0;
|
|
25453
25937
|
let deferred0_1;
|
|
25454
25938
|
try {
|
|
@@ -25491,17 +25975,17 @@ function __wbg_get_imports(memory) {
|
|
|
25491
25975
|
return ret;
|
|
25492
25976
|
},
|
|
25493
25977
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25494
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25978
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [Externref], shim_idx: 130, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25495
25979
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25496
25980
|
return ret;
|
|
25497
25981
|
},
|
|
25498
25982
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25499
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25983
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 130, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25500
25984
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25501
25985
|
return ret;
|
|
25502
25986
|
},
|
|
25503
25987
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
25504
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25988
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [], shim_idx: 453, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25505
25989
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
|
|
25506
25990
|
return ret;
|
|
25507
25991
|
},
|
|
@@ -25511,86 +25995,91 @@ function __wbg_get_imports(memory) {
|
|
|
25511
25995
|
return ret;
|
|
25512
25996
|
},
|
|
25513
25997
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
25998
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
25999
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
26000
|
+
return ret;
|
|
26001
|
+
},
|
|
26002
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
25514
26003
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
25515
26004
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
25516
26005
|
return ret;
|
|
25517
26006
|
},
|
|
25518
|
-
|
|
26007
|
+
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
25519
26008
|
// Cast intrinsic for `U64 -> Externref`.
|
|
25520
26009
|
const ret = BigInt.asUintN(64, arg0);
|
|
25521
26010
|
return ret;
|
|
25522
26011
|
},
|
|
25523
|
-
|
|
26012
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
25524
26013
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25525
26014
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25526
26015
|
// Cast intrinsic for `Vector(NamedExternref("AccountHeader")) -> Externref`.
|
|
25527
26016
|
const ret = v0;
|
|
25528
26017
|
return ret;
|
|
25529
26018
|
},
|
|
25530
|
-
|
|
26019
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
25531
26020
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25532
26021
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25533
26022
|
// Cast intrinsic for `Vector(NamedExternref("Address")) -> Externref`.
|
|
25534
26023
|
const ret = v0;
|
|
25535
26024
|
return ret;
|
|
25536
26025
|
},
|
|
25537
|
-
|
|
26026
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
25538
26027
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25539
26028
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25540
26029
|
// Cast intrinsic for `Vector(NamedExternref("ConsumableNoteRecord")) -> Externref`.
|
|
25541
26030
|
const ret = v0;
|
|
25542
26031
|
return ret;
|
|
25543
26032
|
},
|
|
25544
|
-
|
|
26033
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
25545
26034
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25546
26035
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25547
26036
|
// Cast intrinsic for `Vector(NamedExternref("FetchedNote")) -> Externref`.
|
|
25548
26037
|
const ret = v0;
|
|
25549
26038
|
return ret;
|
|
25550
26039
|
},
|
|
25551
|
-
|
|
26040
|
+
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
25552
26041
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25553
26042
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25554
26043
|
// Cast intrinsic for `Vector(NamedExternref("InputNoteRecord")) -> Externref`.
|
|
25555
26044
|
const ret = v0;
|
|
25556
26045
|
return ret;
|
|
25557
26046
|
},
|
|
25558
|
-
|
|
26047
|
+
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
25559
26048
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25560
26049
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25561
26050
|
// Cast intrinsic for `Vector(NamedExternref("OutputNoteRecord")) -> Externref`.
|
|
25562
26051
|
const ret = v0;
|
|
25563
26052
|
return ret;
|
|
25564
26053
|
},
|
|
25565
|
-
|
|
26054
|
+
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
25566
26055
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25567
26056
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25568
26057
|
// Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
|
|
25569
26058
|
const ret = v0;
|
|
25570
26059
|
return ret;
|
|
25571
26060
|
},
|
|
25572
|
-
|
|
26061
|
+
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
25573
26062
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25574
26063
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25575
26064
|
// Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
|
|
25576
26065
|
const ret = v0;
|
|
25577
26066
|
return ret;
|
|
25578
26067
|
},
|
|
25579
|
-
|
|
26068
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
25580
26069
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25581
26070
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25582
26071
|
// Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
|
|
25583
26072
|
const ret = v0;
|
|
25584
26073
|
return ret;
|
|
25585
26074
|
},
|
|
25586
|
-
|
|
26075
|
+
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
25587
26076
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25588
26077
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25589
26078
|
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
25590
26079
|
const ret = v0;
|
|
25591
26080
|
return ret;
|
|
25592
26081
|
},
|
|
25593
|
-
|
|
26082
|
+
__wbindgen_cast_0000000000000012: function(arg0, arg1) {
|
|
25594
26083
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
25595
26084
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
25596
26085
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -25756,6 +26245,9 @@ const ConsumableNoteRecordFinalization = (typeof FinalizationRegistry === 'undef
|
|
|
25756
26245
|
const EndpointFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25757
26246
|
? { register: () => {}, unregister: () => {} }
|
|
25758
26247
|
: new FinalizationRegistry(ptr => wasm.__wbg_endpoint_free(ptr >>> 0, 1));
|
|
26248
|
+
const EthAddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26249
|
+
? { register: () => {}, unregister: () => {} }
|
|
26250
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ethaddress_free(ptr >>> 0, 1));
|
|
25759
26251
|
const ExecutedTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25760
26252
|
? { register: () => {}, unregister: () => {} }
|
|
25761
26253
|
: new FinalizationRegistry(ptr => wasm.__wbg_executedtransaction_free(ptr >>> 0, 1));
|
|
@@ -25834,6 +26326,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
25834
26326
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25835
26327
|
? { register: () => {}, unregister: () => {} }
|
|
25836
26328
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26329
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26330
|
+
? { register: () => {}, unregister: () => {} }
|
|
26331
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
25837
26332
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25838
26333
|
? { register: () => {}, unregister: () => {} }
|
|
25839
26334
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -26495,6 +26990,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26495
26990
|
CommittedNote: CommittedNote,
|
|
26496
26991
|
ConsumableNoteRecord: ConsumableNoteRecord,
|
|
26497
26992
|
Endpoint: Endpoint,
|
|
26993
|
+
EthAddress: EthAddress,
|
|
26498
26994
|
ExecutedTransaction: ExecutedTransaction,
|
|
26499
26995
|
Felt: Felt,
|
|
26500
26996
|
FeltArray: FeltArray,
|
|
@@ -26522,6 +27018,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26522
27018
|
JsVaultAsset: JsVaultAsset,
|
|
26523
27019
|
Library: Library,
|
|
26524
27020
|
MerklePath: MerklePath,
|
|
27021
|
+
NetworkAccountTarget: NetworkAccountTarget,
|
|
26525
27022
|
NetworkId: NetworkId,
|
|
26526
27023
|
NetworkNoteStatusInfo: NetworkNoteStatusInfo,
|
|
26527
27024
|
NetworkType: NetworkType,
|
|
@@ -26625,5 +27122,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26625
27122
|
});
|
|
26626
27123
|
|
|
26627
27124
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26628
|
-
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, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
|
|
26629
|
-
//# sourceMappingURL=Cargo-
|
|
27125
|
+
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, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
|
|
27126
|
+
//# sourceMappingURL=Cargo-C001gt8g.js.map
|