@miden-sdk/miden-sdk 0.15.1 → 0.15.3
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 +39 -0
- package/dist/mt/{Cargo-D6y7aDQ8.js → Cargo-D2qNRrNR.js} +288 -79
- package/dist/mt/Cargo-D2qNRrNR.js.map +1 -0
- package/dist/mt/api-types.d.ts +54 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +102 -0
- package/dist/mt/docs-entry.d.ts +3 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +134 -1
- package/dist/mt/index.js.map +1 -1
- package/dist/mt/wasm.js +1 -1
- package/dist/mt/workerHelpers.js +1 -1
- package/dist/mt/workers/{Cargo-D6y7aDQ8-BbSVnZEb.js → Cargo-D2qNRrNR-n_GEbq73.js} +288 -79
- package/dist/mt/workers/{Cargo-D6y7aDQ8-BbSVnZEb.js.map → Cargo-D2qNRrNR-n_GEbq73.js.map} +1 -1
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +290 -79
- 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-LzqxI7kL.js → Cargo-BP7-0qVT.js} +285 -78
- package/dist/st/Cargo-BP7-0qVT.js.map +1 -0
- package/dist/st/api-types.d.ts +54 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +102 -0
- package/dist/st/docs-entry.d.ts +3 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +134 -1
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-LzqxI7kL-9fqTseKT.js → Cargo-BP7-0qVT-CmfAy6bf.js} +285 -78
- package/dist/st/workers/Cargo-BP7-0qVT-CmfAy6bf.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +287 -78
- 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/client.js +2 -0
- package/js/node-index.js +149 -40
- package/js/resources/pswap.js +132 -0
- package/package.json +6 -4
- package/dist/mt/Cargo-D6y7aDQ8.js.map +0 -1
- package/dist/st/Cargo-LzqxI7kL.js.map +0 -1
- package/dist/st/workers/Cargo-LzqxI7kL-9fqTseKT.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 CargoBP70qVT; });
|
|
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
|
|
@@ -13251,6 +13251,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
|
|
|
13251
13251
|
* Map of advice values keyed by words for script execution.
|
|
13252
13252
|
*/
|
|
13253
13253
|
class AdviceMap {
|
|
13254
|
+
static __wrap(ptr) {
|
|
13255
|
+
ptr = ptr >>> 0;
|
|
13256
|
+
const obj = Object.create(AdviceMap.prototype);
|
|
13257
|
+
obj.__wbg_ptr = ptr;
|
|
13258
|
+
AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
13259
|
+
return obj;
|
|
13260
|
+
}
|
|
13254
13261
|
__destroy_into_raw() {
|
|
13255
13262
|
const ptr = this.__wbg_ptr;
|
|
13256
13263
|
this.__wbg_ptr = 0;
|
|
@@ -19553,6 +19560,119 @@ class ProvenTransaction {
|
|
|
19553
19560
|
}
|
|
19554
19561
|
if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
|
|
19555
19562
|
|
|
19563
|
+
/**
|
|
19564
|
+
* Read-only view of one PSWAP order's chain state, exposed to JavaScript.
|
|
19565
|
+
* The mutable fields (remaining amounts, depth, tip, state) advance
|
|
19566
|
+
* round-by-round as fills are discovered during sync.
|
|
19567
|
+
*/
|
|
19568
|
+
class PswapLineageRecord {
|
|
19569
|
+
static __wrap(ptr) {
|
|
19570
|
+
ptr = ptr >>> 0;
|
|
19571
|
+
const obj = Object.create(PswapLineageRecord.prototype);
|
|
19572
|
+
obj.__wbg_ptr = ptr;
|
|
19573
|
+
PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
19574
|
+
return obj;
|
|
19575
|
+
}
|
|
19576
|
+
__destroy_into_raw() {
|
|
19577
|
+
const ptr = this.__wbg_ptr;
|
|
19578
|
+
this.__wbg_ptr = 0;
|
|
19579
|
+
PswapLineageRecordFinalization.unregister(this);
|
|
19580
|
+
return ptr;
|
|
19581
|
+
}
|
|
19582
|
+
free() {
|
|
19583
|
+
const ptr = this.__destroy_into_raw();
|
|
19584
|
+
wasm.__wbg_pswaplineagerecord_free(ptr, 0);
|
|
19585
|
+
}
|
|
19586
|
+
/**
|
|
19587
|
+
* Account that created the order and receives every payback.
|
|
19588
|
+
* @returns {AccountId}
|
|
19589
|
+
*/
|
|
19590
|
+
creatorAccountId() {
|
|
19591
|
+
const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
|
|
19592
|
+
return AccountId.__wrap(ret);
|
|
19593
|
+
}
|
|
19594
|
+
/**
|
|
19595
|
+
* Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
|
|
19596
|
+
* @returns {number}
|
|
19597
|
+
*/
|
|
19598
|
+
currentDepth() {
|
|
19599
|
+
const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
|
|
19600
|
+
return ret >>> 0;
|
|
19601
|
+
}
|
|
19602
|
+
/**
|
|
19603
|
+
* Note id of the current tip in the chain.
|
|
19604
|
+
* @returns {NoteId}
|
|
19605
|
+
*/
|
|
19606
|
+
currentTipNoteId() {
|
|
19607
|
+
const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
|
|
19608
|
+
return NoteId.__wrap(ret);
|
|
19609
|
+
}
|
|
19610
|
+
/**
|
|
19611
|
+
* Stable identifier shared by every note in the chain, as a decimal string.
|
|
19612
|
+
* @returns {string}
|
|
19613
|
+
*/
|
|
19614
|
+
orderId() {
|
|
19615
|
+
let deferred1_0;
|
|
19616
|
+
let deferred1_1;
|
|
19617
|
+
try {
|
|
19618
|
+
const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
|
|
19619
|
+
deferred1_0 = ret[0];
|
|
19620
|
+
deferred1_1 = ret[1];
|
|
19621
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
19622
|
+
} finally {
|
|
19623
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
19624
|
+
}
|
|
19625
|
+
}
|
|
19626
|
+
/**
|
|
19627
|
+
* Offered amount still unfilled on the current tip. The offered faucet is
|
|
19628
|
+
* chain-invariant and recovered from the original PSWAP note when needed.
|
|
19629
|
+
* @returns {bigint}
|
|
19630
|
+
*/
|
|
19631
|
+
remainingOffered() {
|
|
19632
|
+
const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
|
|
19633
|
+
return BigInt.asUintN(64, ret);
|
|
19634
|
+
}
|
|
19635
|
+
/**
|
|
19636
|
+
* Requested amount still outstanding on the current tip. The requested
|
|
19637
|
+
* faucet is recovered from the original PSWAP note when needed.
|
|
19638
|
+
* @returns {bigint}
|
|
19639
|
+
*/
|
|
19640
|
+
remainingRequested() {
|
|
19641
|
+
const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
|
|
19642
|
+
return BigInt.asUintN(64, ret);
|
|
19643
|
+
}
|
|
19644
|
+
/**
|
|
19645
|
+
* Lifecycle state of the order.
|
|
19646
|
+
* @returns {PswapLineageState}
|
|
19647
|
+
*/
|
|
19648
|
+
state() {
|
|
19649
|
+
const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
|
|
19650
|
+
return ret;
|
|
19651
|
+
}
|
|
19652
|
+
}
|
|
19653
|
+
if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
|
|
19654
|
+
|
|
19655
|
+
/**
|
|
19656
|
+
* Lifecycle state of a PSWAP order.
|
|
19657
|
+
*
|
|
19658
|
+
* Discriminants match the on-disk encoding in the store.
|
|
19659
|
+
* @enum {0 | 1 | 2}
|
|
19660
|
+
*/
|
|
19661
|
+
const PswapLineageState = Object.freeze({
|
|
19662
|
+
/**
|
|
19663
|
+
* Still fillable and reclaimable.
|
|
19664
|
+
*/
|
|
19665
|
+
Active: 0, "0": "Active",
|
|
19666
|
+
/**
|
|
19667
|
+
* Fully filled. Terminal.
|
|
19668
|
+
*/
|
|
19669
|
+
FullyFilled: 1, "1": "FullyFilled",
|
|
19670
|
+
/**
|
|
19671
|
+
* Reclaimed by the creator. Terminal.
|
|
19672
|
+
*/
|
|
19673
|
+
Reclaimed: 2, "2": "Reclaimed",
|
|
19674
|
+
});
|
|
19675
|
+
|
|
19556
19676
|
class PublicKey {
|
|
19557
19677
|
static __wrap(ptr) {
|
|
19558
19678
|
ptr = ptr >>> 0;
|
|
@@ -21908,7 +22028,7 @@ class TransactionRecord {
|
|
|
21908
22028
|
* @returns {Word}
|
|
21909
22029
|
*/
|
|
21910
22030
|
initAccountState() {
|
|
21911
|
-
const ret = wasm.
|
|
22031
|
+
const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
|
|
21912
22032
|
return Word.__wrap(ret);
|
|
21913
22033
|
}
|
|
21914
22034
|
/**
|
|
@@ -21973,6 +22093,14 @@ class TransactionRequest {
|
|
|
21973
22093
|
const ptr = this.__destroy_into_raw();
|
|
21974
22094
|
wasm.__wbg_transactionrequest_free(ptr, 0);
|
|
21975
22095
|
}
|
|
22096
|
+
/**
|
|
22097
|
+
* Returns a copy of the advice map carried by this request.
|
|
22098
|
+
* @returns {AdviceMap}
|
|
22099
|
+
*/
|
|
22100
|
+
adviceMap() {
|
|
22101
|
+
const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
|
|
22102
|
+
return AdviceMap.__wrap(ret);
|
|
22103
|
+
}
|
|
21976
22104
|
/**
|
|
21977
22105
|
* Returns the authentication argument if present.
|
|
21978
22106
|
* @returns {Word | undefined}
|
|
@@ -22019,6 +22147,20 @@ class TransactionRequest {
|
|
|
22019
22147
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
22020
22148
|
return v1;
|
|
22021
22149
|
}
|
|
22150
|
+
/**
|
|
22151
|
+
* Returns a copy of this request with `advice_map` merged into its advice map.
|
|
22152
|
+
*
|
|
22153
|
+
* Entries are merged with last-write-wins semantics: a key already present in the request is
|
|
22154
|
+
* overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
|
|
22155
|
+
* produced by an external signer) after the request has already been built.
|
|
22156
|
+
* @param {AdviceMap} advice_map
|
|
22157
|
+
* @returns {TransactionRequest}
|
|
22158
|
+
*/
|
|
22159
|
+
extendAdviceMap(advice_map) {
|
|
22160
|
+
_assertClass(advice_map, AdviceMap);
|
|
22161
|
+
const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
|
|
22162
|
+
return TransactionRequest.__wrap(ret);
|
|
22163
|
+
}
|
|
22022
22164
|
/**
|
|
22023
22165
|
* Returns the transaction script argument if present.
|
|
22024
22166
|
* @returns {Word | undefined}
|
|
@@ -22780,6 +22922,10 @@ class WebClient {
|
|
|
22780
22922
|
return ret;
|
|
22781
22923
|
}
|
|
22782
22924
|
/**
|
|
22925
|
+
* Persists a submitted transaction and returns its pre-apply
|
|
22926
|
+
* [`TransactionStoreUpdate`]. Routes through the high-level
|
|
22927
|
+
* `Client::apply_transaction` so registered observers (e.g. PSWAP
|
|
22928
|
+
* tracking) fire.
|
|
22783
22929
|
* @param {TransactionResult} transaction_result
|
|
22784
22930
|
* @param {number} submission_height
|
|
22785
22931
|
* @returns {Promise<TransactionStoreUpdate>}
|
|
@@ -22789,6 +22935,22 @@ class WebClient {
|
|
|
22789
22935
|
const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
|
|
22790
22936
|
return ret;
|
|
22791
22937
|
}
|
|
22938
|
+
/**
|
|
22939
|
+
* Builds a transaction reclaiming the unfilled offered asset on the current
|
|
22940
|
+
* tip of an Active lineage.
|
|
22941
|
+
*
|
|
22942
|
+
* `order_id` is the order's stable identifier as a decimal string. The
|
|
22943
|
+
* returned request flows into the same submit path as the other PSWAP
|
|
22944
|
+
* cancel transactions.
|
|
22945
|
+
* @param {string} order_id
|
|
22946
|
+
* @returns {Promise<TransactionRequest>}
|
|
22947
|
+
*/
|
|
22948
|
+
buildPswapCancelByOrder(order_id) {
|
|
22949
|
+
const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
22950
|
+
const len0 = WASM_VECTOR_LEN;
|
|
22951
|
+
const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
|
|
22952
|
+
return ret;
|
|
22953
|
+
}
|
|
22792
22954
|
/**
|
|
22793
22955
|
* @param {NoteType} note_type
|
|
22794
22956
|
* @param {AccountId} offered_asset_faucet_id
|
|
@@ -23132,6 +23294,37 @@ class WebClient {
|
|
|
23132
23294
|
const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
|
|
23133
23295
|
return ret;
|
|
23134
23296
|
}
|
|
23297
|
+
/**
|
|
23298
|
+
* Returns the lineage for one order, or `null` if not tracked.
|
|
23299
|
+
*
|
|
23300
|
+
* `order_id` is the order's stable identifier as a decimal string.
|
|
23301
|
+
* @param {string} order_id
|
|
23302
|
+
* @returns {Promise<PswapLineageRecord | undefined>}
|
|
23303
|
+
*/
|
|
23304
|
+
getPswapLineage(order_id) {
|
|
23305
|
+
const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
23306
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23307
|
+
const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
|
|
23308
|
+
return ret;
|
|
23309
|
+
}
|
|
23310
|
+
/**
|
|
23311
|
+
* Returns every PSWAP lineage tracked by this client.
|
|
23312
|
+
* @returns {Promise<PswapLineageRecord[]>}
|
|
23313
|
+
*/
|
|
23314
|
+
getPswapLineages() {
|
|
23315
|
+
const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
|
|
23316
|
+
return ret;
|
|
23317
|
+
}
|
|
23318
|
+
/**
|
|
23319
|
+
* Returns lineages created by a specific local account.
|
|
23320
|
+
* @param {AccountId} creator
|
|
23321
|
+
* @returns {Promise<PswapLineageRecord[]>}
|
|
23322
|
+
*/
|
|
23323
|
+
getPswapLineagesFor(creator) {
|
|
23324
|
+
_assertClass(creator, AccountId);
|
|
23325
|
+
const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
|
|
23326
|
+
return ret;
|
|
23327
|
+
}
|
|
23135
23328
|
/**
|
|
23136
23329
|
* Returns all public key commitments associated with the given account ID.
|
|
23137
23330
|
*
|
|
@@ -24114,7 +24307,7 @@ function __wbg_get_imports() {
|
|
|
24114
24307
|
const ret = AccountStorage.__wrap(arg0);
|
|
24115
24308
|
return ret;
|
|
24116
24309
|
},
|
|
24117
|
-
|
|
24310
|
+
__wbg_addNoteTag_1c8f882e522a5424: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24118
24311
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24119
24312
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24120
24313
|
let v1;
|
|
@@ -24142,21 +24335,21 @@ function __wbg_get_imports() {
|
|
|
24142
24335
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24143
24336
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24144
24337
|
}, arguments); },
|
|
24145
|
-
|
|
24338
|
+
__wbg_applyFullAccountState_ba8793f04d3ef7fb: function(arg0, arg1, arg2) {
|
|
24146
24339
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24147
24340
|
return ret;
|
|
24148
24341
|
},
|
|
24149
|
-
|
|
24342
|
+
__wbg_applySettingsMutations_555ec6e5c58ffc5b: function(arg0, arg1, arg2, arg3) {
|
|
24150
24343
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24151
24344
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24152
24345
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24153
24346
|
return ret;
|
|
24154
24347
|
},
|
|
24155
|
-
|
|
24348
|
+
__wbg_applyStateSync_d6a6d78e0278d43d: function(arg0, arg1, arg2) {
|
|
24156
24349
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24157
24350
|
return ret;
|
|
24158
24351
|
},
|
|
24159
|
-
|
|
24352
|
+
__wbg_applyTransactionDelta_f6e5feb33a6156f4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24160
24353
|
let deferred0_0;
|
|
24161
24354
|
let deferred0_1;
|
|
24162
24355
|
let deferred1_0;
|
|
@@ -24295,7 +24488,7 @@ function __wbg_get_imports() {
|
|
|
24295
24488
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24296
24489
|
}
|
|
24297
24490
|
},
|
|
24298
|
-
|
|
24491
|
+
__wbg_exportStore_2755c29774f1398d: function(arg0, arg1) {
|
|
24299
24492
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24300
24493
|
return ret;
|
|
24301
24494
|
},
|
|
@@ -24327,7 +24520,7 @@ function __wbg_get_imports() {
|
|
|
24327
24520
|
const ret = FetchedNote.__wrap(arg0);
|
|
24328
24521
|
return ret;
|
|
24329
24522
|
},
|
|
24330
|
-
|
|
24523
|
+
__wbg_forceImportStore_4b6749610cf2fca2: function(arg0, arg1, arg2) {
|
|
24331
24524
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24332
24525
|
return ret;
|
|
24333
24526
|
},
|
|
@@ -24347,7 +24540,7 @@ function __wbg_get_imports() {
|
|
|
24347
24540
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24348
24541
|
return ret;
|
|
24349
24542
|
},
|
|
24350
|
-
|
|
24543
|
+
__wbg_getAccountAddresses_4c6e8d82b86bd4db: function(arg0, arg1, arg2, arg3) {
|
|
24351
24544
|
let deferred0_0;
|
|
24352
24545
|
let deferred0_1;
|
|
24353
24546
|
try {
|
|
@@ -24359,7 +24552,7 @@ function __wbg_get_imports() {
|
|
|
24359
24552
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24360
24553
|
}
|
|
24361
24554
|
},
|
|
24362
|
-
|
|
24555
|
+
__wbg_getAccountAuthByPubKeyCommitment_526c174dcf167d1d: function(arg0, arg1, arg2, arg3) {
|
|
24363
24556
|
let deferred0_0;
|
|
24364
24557
|
let deferred0_1;
|
|
24365
24558
|
try {
|
|
@@ -24371,7 +24564,7 @@ function __wbg_get_imports() {
|
|
|
24371
24564
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24372
24565
|
}
|
|
24373
24566
|
},
|
|
24374
|
-
|
|
24567
|
+
__wbg_getAccountCode_4b1a8b44c07f16ec: function(arg0, arg1, arg2, arg3) {
|
|
24375
24568
|
let deferred0_0;
|
|
24376
24569
|
let deferred0_1;
|
|
24377
24570
|
try {
|
|
@@ -24383,7 +24576,7 @@ function __wbg_get_imports() {
|
|
|
24383
24576
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24384
24577
|
}
|
|
24385
24578
|
},
|
|
24386
|
-
|
|
24579
|
+
__wbg_getAccountHeaderByCommitment_7d00957336fa1aa0: function(arg0, arg1, arg2, arg3) {
|
|
24387
24580
|
let deferred0_0;
|
|
24388
24581
|
let deferred0_1;
|
|
24389
24582
|
try {
|
|
@@ -24395,7 +24588,7 @@ function __wbg_get_imports() {
|
|
|
24395
24588
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24396
24589
|
}
|
|
24397
24590
|
},
|
|
24398
|
-
|
|
24591
|
+
__wbg_getAccountHeader_a379be70d1e4cfbd: function(arg0, arg1, arg2, arg3) {
|
|
24399
24592
|
let deferred0_0;
|
|
24400
24593
|
let deferred0_1;
|
|
24401
24594
|
try {
|
|
@@ -24407,7 +24600,7 @@ function __wbg_get_imports() {
|
|
|
24407
24600
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24408
24601
|
}
|
|
24409
24602
|
},
|
|
24410
|
-
|
|
24603
|
+
__wbg_getAccountIdByKeyCommitment_20a98231f254e16b: function(arg0, arg1, arg2, arg3) {
|
|
24411
24604
|
let deferred0_0;
|
|
24412
24605
|
let deferred0_1;
|
|
24413
24606
|
try {
|
|
@@ -24419,11 +24612,11 @@ function __wbg_get_imports() {
|
|
|
24419
24612
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24420
24613
|
}
|
|
24421
24614
|
},
|
|
24422
|
-
|
|
24615
|
+
__wbg_getAccountIds_15b2e8a5c2f9f448: function(arg0, arg1) {
|
|
24423
24616
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24424
24617
|
return ret;
|
|
24425
24618
|
},
|
|
24426
|
-
|
|
24619
|
+
__wbg_getAccountStorageMaps_7a6581bdaa528f5b: function(arg0, arg1, arg2, arg3) {
|
|
24427
24620
|
let deferred0_0;
|
|
24428
24621
|
let deferred0_1;
|
|
24429
24622
|
try {
|
|
@@ -24435,7 +24628,7 @@ function __wbg_get_imports() {
|
|
|
24435
24628
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24436
24629
|
}
|
|
24437
24630
|
},
|
|
24438
|
-
|
|
24631
|
+
__wbg_getAccountStorage_81c375a1a2d33378: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24439
24632
|
let deferred0_0;
|
|
24440
24633
|
let deferred0_1;
|
|
24441
24634
|
try {
|
|
@@ -24449,7 +24642,7 @@ function __wbg_get_imports() {
|
|
|
24449
24642
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24450
24643
|
}
|
|
24451
24644
|
},
|
|
24452
|
-
|
|
24645
|
+
__wbg_getAccountVaultAssets_d7b806e2ad386b3b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24453
24646
|
let deferred0_0;
|
|
24454
24647
|
let deferred0_1;
|
|
24455
24648
|
try {
|
|
@@ -24463,27 +24656,27 @@ function __wbg_get_imports() {
|
|
|
24463
24656
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24464
24657
|
}
|
|
24465
24658
|
},
|
|
24466
|
-
|
|
24659
|
+
__wbg_getAllAccountHeaders_e9ce4e33075edb27: function(arg0, arg1) {
|
|
24467
24660
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24468
24661
|
return ret;
|
|
24469
24662
|
},
|
|
24470
|
-
|
|
24663
|
+
__wbg_getBlockHeaders_6ffc387a5b74f1ff: function(arg0, arg1, arg2, arg3) {
|
|
24471
24664
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24472
24665
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24473
24666
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24474
24667
|
return ret;
|
|
24475
24668
|
},
|
|
24476
|
-
|
|
24669
|
+
__wbg_getCurrentBlockchainPeaks_4f515c084e8dc019: function(arg0, arg1) {
|
|
24477
24670
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24478
24671
|
return ret;
|
|
24479
24672
|
},
|
|
24480
|
-
|
|
24673
|
+
__wbg_getForeignAccountCode_80e1c0d6bec20b20: function(arg0, arg1, arg2, arg3) {
|
|
24481
24674
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24482
24675
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24483
24676
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24484
24677
|
return ret;
|
|
24485
24678
|
},
|
|
24486
|
-
|
|
24679
|
+
__wbg_getInputNoteByOffset_52dacd9771fd7c73: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24487
24680
|
let deferred1_0;
|
|
24488
24681
|
let deferred1_1;
|
|
24489
24682
|
try {
|
|
@@ -24497,31 +24690,31 @@ function __wbg_get_imports() {
|
|
|
24497
24690
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24498
24691
|
}
|
|
24499
24692
|
},
|
|
24500
|
-
|
|
24693
|
+
__wbg_getInputNotesFromDetailsCommitments_b6639133948088e6: function(arg0, arg1, arg2, arg3) {
|
|
24501
24694
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24502
24695
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24503
24696
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24504
24697
|
return ret;
|
|
24505
24698
|
},
|
|
24506
|
-
|
|
24699
|
+
__wbg_getInputNotesFromIds_1dc711511af25436: function(arg0, arg1, arg2, arg3) {
|
|
24507
24700
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24508
24701
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24509
24702
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24510
24703
|
return ret;
|
|
24511
24704
|
},
|
|
24512
|
-
|
|
24705
|
+
__wbg_getInputNotesFromNullifiers_de68d7a980a7a6ac: function(arg0, arg1, arg2, arg3) {
|
|
24513
24706
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24514
24707
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24515
24708
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24516
24709
|
return ret;
|
|
24517
24710
|
},
|
|
24518
|
-
|
|
24711
|
+
__wbg_getInputNotes_e6991526618c5e3b: function(arg0, arg1, arg2, arg3) {
|
|
24519
24712
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24520
24713
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24521
24714
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24522
24715
|
return ret;
|
|
24523
24716
|
},
|
|
24524
|
-
|
|
24717
|
+
__wbg_getKeyCommitmentsByAccountId_b16d7689e99f36cb: function(arg0, arg1, arg2, arg3) {
|
|
24525
24718
|
let deferred0_0;
|
|
24526
24719
|
let deferred0_1;
|
|
24527
24720
|
try {
|
|
@@ -24533,7 +24726,7 @@ function __wbg_get_imports() {
|
|
|
24533
24726
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24534
24727
|
}
|
|
24535
24728
|
},
|
|
24536
|
-
|
|
24729
|
+
__wbg_getNoteScript_6d54def9cedaab5b: function(arg0, arg1, arg2, arg3) {
|
|
24537
24730
|
let deferred0_0;
|
|
24538
24731
|
let deferred0_1;
|
|
24539
24732
|
try {
|
|
@@ -24545,39 +24738,39 @@ function __wbg_get_imports() {
|
|
|
24545
24738
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24546
24739
|
}
|
|
24547
24740
|
},
|
|
24548
|
-
|
|
24741
|
+
__wbg_getNoteTags_4a9f0532a43e9ab4: function(arg0, arg1) {
|
|
24549
24742
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24550
24743
|
return ret;
|
|
24551
24744
|
},
|
|
24552
|
-
|
|
24745
|
+
__wbg_getOutputNotesFromDetailsCommitments_b65d8c4d56515cdc: function(arg0, arg1, arg2, arg3) {
|
|
24553
24746
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24554
24747
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24555
24748
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24556
24749
|
return ret;
|
|
24557
24750
|
},
|
|
24558
|
-
|
|
24751
|
+
__wbg_getOutputNotesFromIds_e4e43ea7ee10ce3b: function(arg0, arg1, arg2, arg3) {
|
|
24559
24752
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24560
24753
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24561
24754
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24562
24755
|
return ret;
|
|
24563
24756
|
},
|
|
24564
|
-
|
|
24757
|
+
__wbg_getOutputNotesFromNullifiers_5793389b5326d141: function(arg0, arg1, arg2, arg3) {
|
|
24565
24758
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24566
24759
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24567
24760
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24568
24761
|
return ret;
|
|
24569
24762
|
},
|
|
24570
|
-
|
|
24763
|
+
__wbg_getOutputNotes_dc82d3565d3003c8: function(arg0, arg1, arg2, arg3) {
|
|
24571
24764
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24572
24765
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24573
24766
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24574
24767
|
return ret;
|
|
24575
24768
|
},
|
|
24576
|
-
|
|
24769
|
+
__wbg_getPartialBlockchainNodesAll_85f7172793d8eb4f: function(arg0, arg1) {
|
|
24577
24770
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24578
24771
|
return ret;
|
|
24579
24772
|
},
|
|
24580
|
-
|
|
24773
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_655882ac21085fa7: function(arg0, arg1, arg2, arg3) {
|
|
24581
24774
|
let deferred0_0;
|
|
24582
24775
|
let deferred0_1;
|
|
24583
24776
|
try {
|
|
@@ -24589,7 +24782,7 @@ function __wbg_get_imports() {
|
|
|
24589
24782
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24590
24783
|
}
|
|
24591
24784
|
},
|
|
24592
|
-
|
|
24785
|
+
__wbg_getPartialBlockchainNodes_87b3768321d70002: function(arg0, arg1, arg2, arg3) {
|
|
24593
24786
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24594
24787
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24595
24788
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24602,7 +24795,7 @@ function __wbg_get_imports() {
|
|
|
24602
24795
|
const ret = arg0.getReader();
|
|
24603
24796
|
return ret;
|
|
24604
24797
|
}, arguments); },
|
|
24605
|
-
|
|
24798
|
+
__wbg_getSetting_e9042efc55b18bbb: function(arg0, arg1, arg2, arg3) {
|
|
24606
24799
|
let deferred0_0;
|
|
24607
24800
|
let deferred0_1;
|
|
24608
24801
|
try {
|
|
@@ -24614,7 +24807,7 @@ function __wbg_get_imports() {
|
|
|
24614
24807
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24615
24808
|
}
|
|
24616
24809
|
},
|
|
24617
|
-
|
|
24810
|
+
__wbg_getSyncHeight_52e3dd3c6a2a9643: function(arg0, arg1) {
|
|
24618
24811
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24619
24812
|
return ret;
|
|
24620
24813
|
},
|
|
@@ -24622,15 +24815,15 @@ function __wbg_get_imports() {
|
|
|
24622
24815
|
const ret = arg0.getTime();
|
|
24623
24816
|
return ret;
|
|
24624
24817
|
},
|
|
24625
|
-
|
|
24818
|
+
__wbg_getTrackedBlockHeaderNumbers_0e827a6fbace9440: function(arg0, arg1) {
|
|
24626
24819
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24627
24820
|
return ret;
|
|
24628
24821
|
},
|
|
24629
|
-
|
|
24822
|
+
__wbg_getTrackedBlockHeaders_aec6fdccb131fcc4: function(arg0, arg1) {
|
|
24630
24823
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24631
24824
|
return ret;
|
|
24632
24825
|
},
|
|
24633
|
-
|
|
24826
|
+
__wbg_getTransactions_a5e46e592ec6567b: function(arg0, arg1, arg2, arg3) {
|
|
24634
24827
|
let deferred0_0;
|
|
24635
24828
|
let deferred0_1;
|
|
24636
24829
|
try {
|
|
@@ -24642,7 +24835,7 @@ function __wbg_get_imports() {
|
|
|
24642
24835
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24643
24836
|
}
|
|
24644
24837
|
},
|
|
24645
|
-
|
|
24838
|
+
__wbg_getUnspentInputNoteNullifiers_0753945c0300356f: function(arg0, arg1) {
|
|
24646
24839
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24647
24840
|
return ret;
|
|
24648
24841
|
},
|
|
@@ -24686,7 +24879,7 @@ function __wbg_get_imports() {
|
|
|
24686
24879
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24687
24880
|
return ret;
|
|
24688
24881
|
},
|
|
24689
|
-
|
|
24882
|
+
__wbg_insertAccountAddress_0d293c362728e99b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24690
24883
|
let deferred0_0;
|
|
24691
24884
|
let deferred0_1;
|
|
24692
24885
|
try {
|
|
@@ -24700,7 +24893,7 @@ function __wbg_get_imports() {
|
|
|
24700
24893
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24701
24894
|
}
|
|
24702
24895
|
},
|
|
24703
|
-
|
|
24896
|
+
__wbg_insertAccountAuth_be13c8ed59e28915: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24704
24897
|
let deferred0_0;
|
|
24705
24898
|
let deferred0_1;
|
|
24706
24899
|
let deferred1_0;
|
|
@@ -24717,7 +24910,7 @@ function __wbg_get_imports() {
|
|
|
24717
24910
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24718
24911
|
}
|
|
24719
24912
|
},
|
|
24720
|
-
|
|
24913
|
+
__wbg_insertAccountKeyMapping_e21f0da8ff1a235d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24721
24914
|
let deferred0_0;
|
|
24722
24915
|
let deferred0_1;
|
|
24723
24916
|
let deferred1_0;
|
|
@@ -24734,13 +24927,13 @@ function __wbg_get_imports() {
|
|
|
24734
24927
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24735
24928
|
}
|
|
24736
24929
|
},
|
|
24737
|
-
|
|
24930
|
+
__wbg_insertBlockHeader_0fd9441e660932f4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24738
24931
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24739
24932
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24740
24933
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24741
24934
|
return ret;
|
|
24742
24935
|
},
|
|
24743
|
-
|
|
24936
|
+
__wbg_insertPartialBlockchainNodes_41ca6874a5cf6e1c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24744
24937
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24745
24938
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24746
24939
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24748,7 +24941,7 @@ function __wbg_get_imports() {
|
|
|
24748
24941
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24749
24942
|
return ret;
|
|
24750
24943
|
},
|
|
24751
|
-
|
|
24944
|
+
__wbg_insertSetting_36744f044c3bb7e7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24752
24945
|
let deferred0_0;
|
|
24753
24946
|
let deferred0_1;
|
|
24754
24947
|
try {
|
|
@@ -24762,7 +24955,7 @@ function __wbg_get_imports() {
|
|
|
24762
24955
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24763
24956
|
}
|
|
24764
24957
|
},
|
|
24765
|
-
|
|
24958
|
+
__wbg_insertTransactionScript_3940a90473bfede6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24766
24959
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24767
24960
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24768
24961
|
let v1;
|
|
@@ -24859,11 +25052,11 @@ function __wbg_get_imports() {
|
|
|
24859
25052
|
const ret = arg0.length;
|
|
24860
25053
|
return ret;
|
|
24861
25054
|
},
|
|
24862
|
-
|
|
25055
|
+
__wbg_listSettingKeys_0b73fd5d86306685: function(arg0, arg1) {
|
|
24863
25056
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24864
25057
|
return ret;
|
|
24865
25058
|
},
|
|
24866
|
-
|
|
25059
|
+
__wbg_lockAccount_2e7498cedc727430: function(arg0, arg1, arg2, arg3) {
|
|
24867
25060
|
let deferred0_0;
|
|
24868
25061
|
let deferred0_1;
|
|
24869
25062
|
try {
|
|
@@ -25062,7 +25255,7 @@ function __wbg_get_imports() {
|
|
|
25062
25255
|
const ret = NoteTag.__unwrap(arg0);
|
|
25063
25256
|
return ret;
|
|
25064
25257
|
},
|
|
25065
|
-
|
|
25258
|
+
__wbg_openDatabase_408b68d01263c8d9: function(arg0, arg1, arg2, arg3) {
|
|
25066
25259
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25067
25260
|
return ret;
|
|
25068
25261
|
},
|
|
@@ -25093,7 +25286,7 @@ function __wbg_get_imports() {
|
|
|
25093
25286
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25094
25287
|
return ret;
|
|
25095
25288
|
},
|
|
25096
|
-
|
|
25289
|
+
__wbg_pruneAccountHistory_e4591ff16590fc39: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25097
25290
|
let deferred0_0;
|
|
25098
25291
|
let deferred0_1;
|
|
25099
25292
|
let deferred1_0;
|
|
@@ -25110,7 +25303,7 @@ function __wbg_get_imports() {
|
|
|
25110
25303
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25111
25304
|
}
|
|
25112
25305
|
},
|
|
25113
|
-
|
|
25306
|
+
__wbg_pruneIrrelevantBlocks_b4bbb376dc014b6b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25114
25307
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25115
25308
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25116
25309
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25118,6 +25311,10 @@ function __wbg_get_imports() {
|
|
|
25118
25311
|
const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25119
25312
|
return ret;
|
|
25120
25313
|
},
|
|
25314
|
+
__wbg_pswaplineagerecord_new: function(arg0) {
|
|
25315
|
+
const ret = PswapLineageRecord.__wrap(arg0);
|
|
25316
|
+
return ret;
|
|
25317
|
+
},
|
|
25121
25318
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
25122
25319
|
const ret = arg0.queueMicrotask;
|
|
25123
25320
|
return ret;
|
|
@@ -25132,13 +25329,13 @@ function __wbg_get_imports() {
|
|
|
25132
25329
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25133
25330
|
arg0.releaseLock();
|
|
25134
25331
|
},
|
|
25135
|
-
|
|
25332
|
+
__wbg_removeAccountAddress_4c833638d59fd8d7: function(arg0, arg1, arg2, arg3) {
|
|
25136
25333
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25137
25334
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25138
25335
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25139
25336
|
return ret;
|
|
25140
25337
|
},
|
|
25141
|
-
|
|
25338
|
+
__wbg_removeAccountAuth_536aea861f769be5: function(arg0, arg1, arg2, arg3) {
|
|
25142
25339
|
let deferred0_0;
|
|
25143
25340
|
let deferred0_1;
|
|
25144
25341
|
try {
|
|
@@ -25150,7 +25347,7 @@ function __wbg_get_imports() {
|
|
|
25150
25347
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25151
25348
|
}
|
|
25152
25349
|
},
|
|
25153
|
-
|
|
25350
|
+
__wbg_removeAllMappingsForKey_1ad4056391b6e556: function(arg0, arg1, arg2, arg3) {
|
|
25154
25351
|
let deferred0_0;
|
|
25155
25352
|
let deferred0_1;
|
|
25156
25353
|
try {
|
|
@@ -25162,7 +25359,7 @@ function __wbg_get_imports() {
|
|
|
25162
25359
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25163
25360
|
}
|
|
25164
25361
|
},
|
|
25165
|
-
|
|
25362
|
+
__wbg_removeNoteTag_25df6a90ad8692ed: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25166
25363
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25167
25364
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25168
25365
|
let v1;
|
|
@@ -25183,7 +25380,7 @@ function __wbg_get_imports() {
|
|
|
25183
25380
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25184
25381
|
return ret;
|
|
25185
25382
|
},
|
|
25186
|
-
|
|
25383
|
+
__wbg_removeSetting_ebdcd55495cb1017: function(arg0, arg1, arg2, arg3) {
|
|
25187
25384
|
let deferred0_0;
|
|
25188
25385
|
let deferred0_1;
|
|
25189
25386
|
try {
|
|
@@ -25383,13 +25580,13 @@ function __wbg_get_imports() {
|
|
|
25383
25580
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25384
25581
|
return ret;
|
|
25385
25582
|
},
|
|
25386
|
-
|
|
25583
|
+
__wbg_undoAccountStates_7a7c5a8838aa3845: function(arg0, arg1, arg2, arg3) {
|
|
25387
25584
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25388
25585
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25389
25586
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25390
25587
|
return ret;
|
|
25391
25588
|
},
|
|
25392
|
-
|
|
25589
|
+
__wbg_upsertAccountCode_79526a78b7676971: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25393
25590
|
let deferred0_0;
|
|
25394
25591
|
let deferred0_1;
|
|
25395
25592
|
try {
|
|
@@ -25403,7 +25600,7 @@ function __wbg_get_imports() {
|
|
|
25403
25600
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25404
25601
|
}
|
|
25405
25602
|
},
|
|
25406
|
-
|
|
25603
|
+
__wbg_upsertAccountRecord_78ef5ee5891c4407: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25407
25604
|
let deferred0_0;
|
|
25408
25605
|
let deferred0_1;
|
|
25409
25606
|
let deferred1_0;
|
|
@@ -25445,7 +25642,7 @@ function __wbg_get_imports() {
|
|
|
25445
25642
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25446
25643
|
}
|
|
25447
25644
|
},
|
|
25448
|
-
|
|
25645
|
+
__wbg_upsertAccountStorage_cb0450465224b3a3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25449
25646
|
let deferred0_0;
|
|
25450
25647
|
let deferred0_1;
|
|
25451
25648
|
try {
|
|
@@ -25459,7 +25656,7 @@ function __wbg_get_imports() {
|
|
|
25459
25656
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25460
25657
|
}
|
|
25461
25658
|
},
|
|
25462
|
-
|
|
25659
|
+
__wbg_upsertForeignAccountCode_8f058e14b39d0aa5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25463
25660
|
let deferred0_0;
|
|
25464
25661
|
let deferred0_1;
|
|
25465
25662
|
let deferred2_0;
|
|
@@ -25478,7 +25675,7 @@ function __wbg_get_imports() {
|
|
|
25478
25675
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25479
25676
|
}
|
|
25480
25677
|
},
|
|
25481
|
-
|
|
25678
|
+
__wbg_upsertInputNote_88a3d72329020306: 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) {
|
|
25482
25679
|
let deferred0_0;
|
|
25483
25680
|
let deferred0_1;
|
|
25484
25681
|
let deferred6_0;
|
|
@@ -25527,7 +25724,7 @@ function __wbg_get_imports() {
|
|
|
25527
25724
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25528
25725
|
}
|
|
25529
25726
|
},
|
|
25530
|
-
|
|
25727
|
+
__wbg_upsertNoteScript_ee5a46681df483c4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25531
25728
|
let deferred0_0;
|
|
25532
25729
|
let deferred0_1;
|
|
25533
25730
|
try {
|
|
@@ -25541,7 +25738,7 @@ function __wbg_get_imports() {
|
|
|
25541
25738
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25542
25739
|
}
|
|
25543
25740
|
},
|
|
25544
|
-
|
|
25741
|
+
__wbg_upsertOutputNote_d85873588c0ff0d1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25545
25742
|
let deferred0_0;
|
|
25546
25743
|
let deferred0_1;
|
|
25547
25744
|
let deferred1_0;
|
|
@@ -25576,7 +25773,7 @@ function __wbg_get_imports() {
|
|
|
25576
25773
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25577
25774
|
}
|
|
25578
25775
|
},
|
|
25579
|
-
|
|
25776
|
+
__wbg_upsertStorageMapEntries_f69072278033a28a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25580
25777
|
let deferred0_0;
|
|
25581
25778
|
let deferred0_1;
|
|
25582
25779
|
try {
|
|
@@ -25590,7 +25787,7 @@ function __wbg_get_imports() {
|
|
|
25590
25787
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25591
25788
|
}
|
|
25592
25789
|
},
|
|
25593
|
-
|
|
25790
|
+
__wbg_upsertTransactionRecord_d141b6ccd2a2532e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25594
25791
|
let deferred0_0;
|
|
25595
25792
|
let deferred0_1;
|
|
25596
25793
|
try {
|
|
@@ -25611,7 +25808,7 @@ function __wbg_get_imports() {
|
|
|
25611
25808
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25612
25809
|
}
|
|
25613
25810
|
},
|
|
25614
|
-
|
|
25811
|
+
__wbg_upsertVaultAssets_316fc3763a4f0e4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25615
25812
|
let deferred0_0;
|
|
25616
25813
|
let deferred0_1;
|
|
25617
25814
|
try {
|
|
@@ -25642,12 +25839,12 @@ function __wbg_get_imports() {
|
|
|
25642
25839
|
return ret;
|
|
25643
25840
|
},
|
|
25644
25841
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25645
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25842
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 446, function: Function { arguments: [Externref], shim_idx: 797, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25646
25843
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92);
|
|
25647
25844
|
return ret;
|
|
25648
25845
|
},
|
|
25649
25846
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25650
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25847
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 446, function: Function { arguments: [], shim_idx: 447, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25651
25848
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442);
|
|
25652
25849
|
return ret;
|
|
25653
25850
|
},
|
|
@@ -25711,25 +25908,32 @@ function __wbg_get_imports() {
|
|
|
25711
25908
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
25712
25909
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25713
25910
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25714
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
25911
|
+
// Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
|
|
25715
25912
|
const ret = v0;
|
|
25716
25913
|
return ret;
|
|
25717
25914
|
},
|
|
25718
25915
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
25719
25916
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25720
25917
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25721
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
25918
|
+
// Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
|
|
25722
25919
|
const ret = v0;
|
|
25723
25920
|
return ret;
|
|
25724
25921
|
},
|
|
25725
25922
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
25726
25923
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25727
25924
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25728
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
25925
|
+
// Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
|
|
25729
25926
|
const ret = v0;
|
|
25730
25927
|
return ret;
|
|
25731
25928
|
},
|
|
25732
25929
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
25930
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25931
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25932
|
+
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
25933
|
+
const ret = v0;
|
|
25934
|
+
return ret;
|
|
25935
|
+
},
|
|
25936
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
25733
25937
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
25734
25938
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
25735
25939
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -26081,6 +26285,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
26081
26285
|
const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26082
26286
|
? { register: () => {}, unregister: () => {} }
|
|
26083
26287
|
: new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
|
|
26288
|
+
const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26289
|
+
? { register: () => {}, unregister: () => {} }
|
|
26290
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
|
|
26084
26291
|
const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26085
26292
|
? { register: () => {}, unregister: () => {} }
|
|
26086
26293
|
: new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
|
|
@@ -26573,7 +26780,7 @@ async function __wbg_init(module_or_path) {
|
|
|
26573
26780
|
|
|
26574
26781
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
26575
26782
|
|
|
26576
|
-
var
|
|
26783
|
+
var CargoBP70qVT = /*#__PURE__*/Object.freeze({
|
|
26577
26784
|
__proto__: null,
|
|
26578
26785
|
Account: Account,
|
|
26579
26786
|
AccountArray: AccountArray,
|
|
@@ -26683,6 +26890,8 @@ var CargoLzqxI7kL = /*#__PURE__*/Object.freeze({
|
|
|
26683
26890
|
ProcedureThreshold: ProcedureThreshold,
|
|
26684
26891
|
Program: Program,
|
|
26685
26892
|
ProvenTransaction: ProvenTransaction,
|
|
26893
|
+
PswapLineageRecord: PswapLineageRecord,
|
|
26894
|
+
PswapLineageState: PswapLineageState,
|
|
26686
26895
|
PublicKey: PublicKey,
|
|
26687
26896
|
RpcClient: RpcClient,
|
|
26688
26897
|
Rpo256: Rpo256,
|