@miden-sdk/miden-sdk 0.15.0 → 0.15.2
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-1zqmsGGR.js → Cargo-BbpPeJYa.js} +298 -89
- package/dist/mt/Cargo-BbpPeJYa.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-1zqmsGGR-COfl7R3D.js → Cargo-BbpPeJYa-BlSVzh6v.js} +298 -89
- package/dist/mt/workers/{Cargo-1zqmsGGR-COfl7R3D.js.map → Cargo-BbpPeJYa-BlSVzh6v.js.map} +1 -1
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +300 -89
- 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-qHCIdWdN.js → Cargo-Dlo4tWNG.js} +294 -87
- package/dist/st/Cargo-Dlo4tWNG.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-qHCIdWdN-CZmgHdJc.js → Cargo-Dlo4tWNG-BPaiqKyy.js} +294 -87
- package/dist/st/workers/Cargo-Dlo4tWNG-BPaiqKyy.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +296 -87
- 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/resources/pswap.js +132 -0
- package/package.json +4 -4
- package/dist/mt/Cargo-1zqmsGGR.js.map +0 -1
- package/dist/st/Cargo-qHCIdWdN.js.map +0 -1
- package/dist/st/workers/Cargo-qHCIdWdN-CZmgHdJc.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 CargoBbpPeJYa; });
|
|
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
|
|
@@ -13350,6 +13350,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
|
|
|
13350
13350
|
* Map of advice values keyed by words for script execution.
|
|
13351
13351
|
*/
|
|
13352
13352
|
class AdviceMap {
|
|
13353
|
+
static __wrap(ptr) {
|
|
13354
|
+
ptr = ptr >>> 0;
|
|
13355
|
+
const obj = Object.create(AdviceMap.prototype);
|
|
13356
|
+
obj.__wbg_ptr = ptr;
|
|
13357
|
+
AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
13358
|
+
return obj;
|
|
13359
|
+
}
|
|
13353
13360
|
__destroy_into_raw() {
|
|
13354
13361
|
const ptr = this.__wbg_ptr;
|
|
13355
13362
|
this.__wbg_ptr = 0;
|
|
@@ -19652,6 +19659,119 @@ class ProvenTransaction {
|
|
|
19652
19659
|
}
|
|
19653
19660
|
if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
|
|
19654
19661
|
|
|
19662
|
+
/**
|
|
19663
|
+
* Read-only view of one PSWAP order's chain state, exposed to JavaScript.
|
|
19664
|
+
* The mutable fields (remaining amounts, depth, tip, state) advance
|
|
19665
|
+
* round-by-round as fills are discovered during sync.
|
|
19666
|
+
*/
|
|
19667
|
+
class PswapLineageRecord {
|
|
19668
|
+
static __wrap(ptr) {
|
|
19669
|
+
ptr = ptr >>> 0;
|
|
19670
|
+
const obj = Object.create(PswapLineageRecord.prototype);
|
|
19671
|
+
obj.__wbg_ptr = ptr;
|
|
19672
|
+
PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
19673
|
+
return obj;
|
|
19674
|
+
}
|
|
19675
|
+
__destroy_into_raw() {
|
|
19676
|
+
const ptr = this.__wbg_ptr;
|
|
19677
|
+
this.__wbg_ptr = 0;
|
|
19678
|
+
PswapLineageRecordFinalization.unregister(this);
|
|
19679
|
+
return ptr;
|
|
19680
|
+
}
|
|
19681
|
+
free() {
|
|
19682
|
+
const ptr = this.__destroy_into_raw();
|
|
19683
|
+
wasm.__wbg_pswaplineagerecord_free(ptr, 0);
|
|
19684
|
+
}
|
|
19685
|
+
/**
|
|
19686
|
+
* Account that created the order and receives every payback.
|
|
19687
|
+
* @returns {AccountId}
|
|
19688
|
+
*/
|
|
19689
|
+
creatorAccountId() {
|
|
19690
|
+
const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
|
|
19691
|
+
return AccountId.__wrap(ret);
|
|
19692
|
+
}
|
|
19693
|
+
/**
|
|
19694
|
+
* Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
|
|
19695
|
+
* @returns {number}
|
|
19696
|
+
*/
|
|
19697
|
+
currentDepth() {
|
|
19698
|
+
const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
|
|
19699
|
+
return ret >>> 0;
|
|
19700
|
+
}
|
|
19701
|
+
/**
|
|
19702
|
+
* Note id of the current tip in the chain.
|
|
19703
|
+
* @returns {NoteId}
|
|
19704
|
+
*/
|
|
19705
|
+
currentTipNoteId() {
|
|
19706
|
+
const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
|
|
19707
|
+
return NoteId.__wrap(ret);
|
|
19708
|
+
}
|
|
19709
|
+
/**
|
|
19710
|
+
* Stable identifier shared by every note in the chain, as a decimal string.
|
|
19711
|
+
* @returns {string}
|
|
19712
|
+
*/
|
|
19713
|
+
orderId() {
|
|
19714
|
+
let deferred1_0;
|
|
19715
|
+
let deferred1_1;
|
|
19716
|
+
try {
|
|
19717
|
+
const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
|
|
19718
|
+
deferred1_0 = ret[0];
|
|
19719
|
+
deferred1_1 = ret[1];
|
|
19720
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
19721
|
+
} finally {
|
|
19722
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
19723
|
+
}
|
|
19724
|
+
}
|
|
19725
|
+
/**
|
|
19726
|
+
* Offered amount still unfilled on the current tip. The offered faucet is
|
|
19727
|
+
* chain-invariant and recovered from the original PSWAP note when needed.
|
|
19728
|
+
* @returns {bigint}
|
|
19729
|
+
*/
|
|
19730
|
+
remainingOffered() {
|
|
19731
|
+
const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
|
|
19732
|
+
return BigInt.asUintN(64, ret);
|
|
19733
|
+
}
|
|
19734
|
+
/**
|
|
19735
|
+
* Requested amount still outstanding on the current tip. The requested
|
|
19736
|
+
* faucet is recovered from the original PSWAP note when needed.
|
|
19737
|
+
* @returns {bigint}
|
|
19738
|
+
*/
|
|
19739
|
+
remainingRequested() {
|
|
19740
|
+
const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
|
|
19741
|
+
return BigInt.asUintN(64, ret);
|
|
19742
|
+
}
|
|
19743
|
+
/**
|
|
19744
|
+
* Lifecycle state of the order.
|
|
19745
|
+
* @returns {PswapLineageState}
|
|
19746
|
+
*/
|
|
19747
|
+
state() {
|
|
19748
|
+
const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
|
|
19749
|
+
return ret;
|
|
19750
|
+
}
|
|
19751
|
+
}
|
|
19752
|
+
if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
|
|
19753
|
+
|
|
19754
|
+
/**
|
|
19755
|
+
* Lifecycle state of a PSWAP order.
|
|
19756
|
+
*
|
|
19757
|
+
* Discriminants match the on-disk encoding in the store.
|
|
19758
|
+
* @enum {0 | 1 | 2}
|
|
19759
|
+
*/
|
|
19760
|
+
const PswapLineageState = Object.freeze({
|
|
19761
|
+
/**
|
|
19762
|
+
* Still fillable and reclaimable.
|
|
19763
|
+
*/
|
|
19764
|
+
Active: 0, "0": "Active",
|
|
19765
|
+
/**
|
|
19766
|
+
* Fully filled. Terminal.
|
|
19767
|
+
*/
|
|
19768
|
+
FullyFilled: 1, "1": "FullyFilled",
|
|
19769
|
+
/**
|
|
19770
|
+
* Reclaimed by the creator. Terminal.
|
|
19771
|
+
*/
|
|
19772
|
+
Reclaimed: 2, "2": "Reclaimed",
|
|
19773
|
+
});
|
|
19774
|
+
|
|
19655
19775
|
class PublicKey {
|
|
19656
19776
|
static __wrap(ptr) {
|
|
19657
19777
|
ptr = ptr >>> 0;
|
|
@@ -22007,7 +22127,7 @@ class TransactionRecord {
|
|
|
22007
22127
|
* @returns {Word}
|
|
22008
22128
|
*/
|
|
22009
22129
|
initAccountState() {
|
|
22010
|
-
const ret = wasm.
|
|
22130
|
+
const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
|
|
22011
22131
|
return Word.__wrap(ret);
|
|
22012
22132
|
}
|
|
22013
22133
|
/**
|
|
@@ -22072,6 +22192,14 @@ class TransactionRequest {
|
|
|
22072
22192
|
const ptr = this.__destroy_into_raw();
|
|
22073
22193
|
wasm.__wbg_transactionrequest_free(ptr, 0);
|
|
22074
22194
|
}
|
|
22195
|
+
/**
|
|
22196
|
+
* Returns a copy of the advice map carried by this request.
|
|
22197
|
+
* @returns {AdviceMap}
|
|
22198
|
+
*/
|
|
22199
|
+
adviceMap() {
|
|
22200
|
+
const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
|
|
22201
|
+
return AdviceMap.__wrap(ret);
|
|
22202
|
+
}
|
|
22075
22203
|
/**
|
|
22076
22204
|
* Returns the authentication argument if present.
|
|
22077
22205
|
* @returns {Word | undefined}
|
|
@@ -22118,6 +22246,20 @@ class TransactionRequest {
|
|
|
22118
22246
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
22119
22247
|
return v1;
|
|
22120
22248
|
}
|
|
22249
|
+
/**
|
|
22250
|
+
* Returns a copy of this request with `advice_map` merged into its advice map.
|
|
22251
|
+
*
|
|
22252
|
+
* Entries are merged with last-write-wins semantics: a key already present in the request is
|
|
22253
|
+
* overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
|
|
22254
|
+
* produced by an external signer) after the request has already been built.
|
|
22255
|
+
* @param {AdviceMap} advice_map
|
|
22256
|
+
* @returns {TransactionRequest}
|
|
22257
|
+
*/
|
|
22258
|
+
extendAdviceMap(advice_map) {
|
|
22259
|
+
_assertClass(advice_map, AdviceMap);
|
|
22260
|
+
const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
|
|
22261
|
+
return TransactionRequest.__wrap(ret);
|
|
22262
|
+
}
|
|
22121
22263
|
/**
|
|
22122
22264
|
* Returns the transaction script argument if present.
|
|
22123
22265
|
* @returns {Word | undefined}
|
|
@@ -22879,6 +23021,10 @@ class WebClient {
|
|
|
22879
23021
|
return ret;
|
|
22880
23022
|
}
|
|
22881
23023
|
/**
|
|
23024
|
+
* Persists a submitted transaction and returns its pre-apply
|
|
23025
|
+
* [`TransactionStoreUpdate`]. Routes through the high-level
|
|
23026
|
+
* `Client::apply_transaction` so registered observers (e.g. PSWAP
|
|
23027
|
+
* tracking) fire.
|
|
22882
23028
|
* @param {TransactionResult} transaction_result
|
|
22883
23029
|
* @param {number} submission_height
|
|
22884
23030
|
* @returns {Promise<TransactionStoreUpdate>}
|
|
@@ -22888,6 +23034,22 @@ class WebClient {
|
|
|
22888
23034
|
const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
|
|
22889
23035
|
return ret;
|
|
22890
23036
|
}
|
|
23037
|
+
/**
|
|
23038
|
+
* Builds a transaction reclaiming the unfilled offered asset on the current
|
|
23039
|
+
* tip of an Active lineage.
|
|
23040
|
+
*
|
|
23041
|
+
* `order_id` is the order's stable identifier as a decimal string. The
|
|
23042
|
+
* returned request flows into the same submit path as the other PSWAP
|
|
23043
|
+
* cancel transactions.
|
|
23044
|
+
* @param {string} order_id
|
|
23045
|
+
* @returns {Promise<TransactionRequest>}
|
|
23046
|
+
*/
|
|
23047
|
+
buildPswapCancelByOrder(order_id) {
|
|
23048
|
+
const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
23049
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23050
|
+
const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
|
|
23051
|
+
return ret;
|
|
23052
|
+
}
|
|
22891
23053
|
/**
|
|
22892
23054
|
* @param {NoteType} note_type
|
|
22893
23055
|
* @param {AccountId} offered_asset_faucet_id
|
|
@@ -23231,6 +23393,37 @@ class WebClient {
|
|
|
23231
23393
|
const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
|
|
23232
23394
|
return ret;
|
|
23233
23395
|
}
|
|
23396
|
+
/**
|
|
23397
|
+
* Returns the lineage for one order, or `null` if not tracked.
|
|
23398
|
+
*
|
|
23399
|
+
* `order_id` is the order's stable identifier as a decimal string.
|
|
23400
|
+
* @param {string} order_id
|
|
23401
|
+
* @returns {Promise<PswapLineageRecord | undefined>}
|
|
23402
|
+
*/
|
|
23403
|
+
getPswapLineage(order_id) {
|
|
23404
|
+
const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
23405
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23406
|
+
const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
|
|
23407
|
+
return ret;
|
|
23408
|
+
}
|
|
23409
|
+
/**
|
|
23410
|
+
* Returns every PSWAP lineage tracked by this client.
|
|
23411
|
+
* @returns {Promise<PswapLineageRecord[]>}
|
|
23412
|
+
*/
|
|
23413
|
+
getPswapLineages() {
|
|
23414
|
+
const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
|
|
23415
|
+
return ret;
|
|
23416
|
+
}
|
|
23417
|
+
/**
|
|
23418
|
+
* Returns lineages created by a specific local account.
|
|
23419
|
+
* @param {AccountId} creator
|
|
23420
|
+
* @returns {Promise<PswapLineageRecord[]>}
|
|
23421
|
+
*/
|
|
23422
|
+
getPswapLineagesFor(creator) {
|
|
23423
|
+
_assertClass(creator, AccountId);
|
|
23424
|
+
const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
|
|
23425
|
+
return ret;
|
|
23426
|
+
}
|
|
23234
23427
|
/**
|
|
23235
23428
|
* Returns all public key commitments associated with the given account ID.
|
|
23236
23429
|
*
|
|
@@ -24335,7 +24528,7 @@ function __wbg_get_imports(memory) {
|
|
|
24335
24528
|
const ret = AccountStorage.__wrap(arg0);
|
|
24336
24529
|
return ret;
|
|
24337
24530
|
},
|
|
24338
|
-
|
|
24531
|
+
__wbg_addNoteTag_096da497a0a0cab8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24339
24532
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24340
24533
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24341
24534
|
let v1;
|
|
@@ -24363,21 +24556,21 @@ function __wbg_get_imports(memory) {
|
|
|
24363
24556
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24364
24557
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24365
24558
|
}, arguments); },
|
|
24366
|
-
|
|
24559
|
+
__wbg_applyFullAccountState_bf8b5d3a049e6ceb: function(arg0, arg1, arg2) {
|
|
24367
24560
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24368
24561
|
return ret;
|
|
24369
24562
|
},
|
|
24370
|
-
|
|
24563
|
+
__wbg_applySettingsMutations_9c110a085196df8d: function(arg0, arg1, arg2, arg3) {
|
|
24371
24564
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24372
24565
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24373
24566
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24374
24567
|
return ret;
|
|
24375
24568
|
},
|
|
24376
|
-
|
|
24569
|
+
__wbg_applyStateSync_06bd22fcf36d1cdd: function(arg0, arg1, arg2) {
|
|
24377
24570
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24378
24571
|
return ret;
|
|
24379
24572
|
},
|
|
24380
|
-
|
|
24573
|
+
__wbg_applyTransactionDelta_a44d63205c2d024c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24381
24574
|
let deferred0_0;
|
|
24382
24575
|
let deferred0_1;
|
|
24383
24576
|
let deferred1_0;
|
|
@@ -24528,7 +24721,7 @@ function __wbg_get_imports(memory) {
|
|
|
24528
24721
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24529
24722
|
}
|
|
24530
24723
|
},
|
|
24531
|
-
|
|
24724
|
+
__wbg_exportStore_b792e5263f047bc6: function(arg0, arg1) {
|
|
24532
24725
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24533
24726
|
return ret;
|
|
24534
24727
|
},
|
|
@@ -24560,7 +24753,7 @@ function __wbg_get_imports(memory) {
|
|
|
24560
24753
|
const ret = FetchedNote.__wrap(arg0);
|
|
24561
24754
|
return ret;
|
|
24562
24755
|
},
|
|
24563
|
-
|
|
24756
|
+
__wbg_forceImportStore_18bed9aaee1d64be: function(arg0, arg1, arg2) {
|
|
24564
24757
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24565
24758
|
return ret;
|
|
24566
24759
|
},
|
|
@@ -24580,7 +24773,7 @@ function __wbg_get_imports(memory) {
|
|
|
24580
24773
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24581
24774
|
return ret;
|
|
24582
24775
|
},
|
|
24583
|
-
|
|
24776
|
+
__wbg_getAccountAddresses_912a98d65bbdf9b5: function(arg0, arg1, arg2, arg3) {
|
|
24584
24777
|
let deferred0_0;
|
|
24585
24778
|
let deferred0_1;
|
|
24586
24779
|
try {
|
|
@@ -24592,7 +24785,7 @@ function __wbg_get_imports(memory) {
|
|
|
24592
24785
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24593
24786
|
}
|
|
24594
24787
|
},
|
|
24595
|
-
|
|
24788
|
+
__wbg_getAccountAuthByPubKeyCommitment_dc6a856d5dfdfb40: function(arg0, arg1, arg2, arg3) {
|
|
24596
24789
|
let deferred0_0;
|
|
24597
24790
|
let deferred0_1;
|
|
24598
24791
|
try {
|
|
@@ -24604,7 +24797,7 @@ function __wbg_get_imports(memory) {
|
|
|
24604
24797
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24605
24798
|
}
|
|
24606
24799
|
},
|
|
24607
|
-
|
|
24800
|
+
__wbg_getAccountCode_919e4265460ed86a: function(arg0, arg1, arg2, arg3) {
|
|
24608
24801
|
let deferred0_0;
|
|
24609
24802
|
let deferred0_1;
|
|
24610
24803
|
try {
|
|
@@ -24616,7 +24809,7 @@ function __wbg_get_imports(memory) {
|
|
|
24616
24809
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24617
24810
|
}
|
|
24618
24811
|
},
|
|
24619
|
-
|
|
24812
|
+
__wbg_getAccountHeaderByCommitment_ba76171382e4adeb: function(arg0, arg1, arg2, arg3) {
|
|
24620
24813
|
let deferred0_0;
|
|
24621
24814
|
let deferred0_1;
|
|
24622
24815
|
try {
|
|
@@ -24628,7 +24821,7 @@ function __wbg_get_imports(memory) {
|
|
|
24628
24821
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24629
24822
|
}
|
|
24630
24823
|
},
|
|
24631
|
-
|
|
24824
|
+
__wbg_getAccountHeader_0ad8dac3ef38914f: function(arg0, arg1, arg2, arg3) {
|
|
24632
24825
|
let deferred0_0;
|
|
24633
24826
|
let deferred0_1;
|
|
24634
24827
|
try {
|
|
@@ -24640,7 +24833,7 @@ function __wbg_get_imports(memory) {
|
|
|
24640
24833
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24641
24834
|
}
|
|
24642
24835
|
},
|
|
24643
|
-
|
|
24836
|
+
__wbg_getAccountIdByKeyCommitment_4e69aeecb15f3fed: function(arg0, arg1, arg2, arg3) {
|
|
24644
24837
|
let deferred0_0;
|
|
24645
24838
|
let deferred0_1;
|
|
24646
24839
|
try {
|
|
@@ -24652,11 +24845,11 @@ function __wbg_get_imports(memory) {
|
|
|
24652
24845
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24653
24846
|
}
|
|
24654
24847
|
},
|
|
24655
|
-
|
|
24848
|
+
__wbg_getAccountIds_c8a084349d486e38: function(arg0, arg1) {
|
|
24656
24849
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24657
24850
|
return ret;
|
|
24658
24851
|
},
|
|
24659
|
-
|
|
24852
|
+
__wbg_getAccountStorageMaps_05ce89e538285075: function(arg0, arg1, arg2, arg3) {
|
|
24660
24853
|
let deferred0_0;
|
|
24661
24854
|
let deferred0_1;
|
|
24662
24855
|
try {
|
|
@@ -24668,7 +24861,7 @@ function __wbg_get_imports(memory) {
|
|
|
24668
24861
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24669
24862
|
}
|
|
24670
24863
|
},
|
|
24671
|
-
|
|
24864
|
+
__wbg_getAccountStorage_705ac874dc621263: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24672
24865
|
let deferred0_0;
|
|
24673
24866
|
let deferred0_1;
|
|
24674
24867
|
try {
|
|
@@ -24682,7 +24875,7 @@ function __wbg_get_imports(memory) {
|
|
|
24682
24875
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24683
24876
|
}
|
|
24684
24877
|
},
|
|
24685
|
-
|
|
24878
|
+
__wbg_getAccountVaultAssets_2c4f2c4b915b917b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24686
24879
|
let deferred0_0;
|
|
24687
24880
|
let deferred0_1;
|
|
24688
24881
|
try {
|
|
@@ -24696,27 +24889,27 @@ function __wbg_get_imports(memory) {
|
|
|
24696
24889
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24697
24890
|
}
|
|
24698
24891
|
},
|
|
24699
|
-
|
|
24892
|
+
__wbg_getAllAccountHeaders_0aefc9e33a9177d9: function(arg0, arg1) {
|
|
24700
24893
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24701
24894
|
return ret;
|
|
24702
24895
|
},
|
|
24703
|
-
|
|
24896
|
+
__wbg_getBlockHeaders_8130cc26764af62f: function(arg0, arg1, arg2, arg3) {
|
|
24704
24897
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24705
24898
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24706
24899
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24707
24900
|
return ret;
|
|
24708
24901
|
},
|
|
24709
|
-
|
|
24902
|
+
__wbg_getCurrentBlockchainPeaks_d93dfc7df30d5f85: function(arg0, arg1) {
|
|
24710
24903
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24711
24904
|
return ret;
|
|
24712
24905
|
},
|
|
24713
|
-
|
|
24906
|
+
__wbg_getForeignAccountCode_fc193a275029ef5e: function(arg0, arg1, arg2, arg3) {
|
|
24714
24907
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24715
24908
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24716
24909
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24717
24910
|
return ret;
|
|
24718
24911
|
},
|
|
24719
|
-
|
|
24912
|
+
__wbg_getInputNoteByOffset_7db364c43d08e4af: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24720
24913
|
let deferred1_0;
|
|
24721
24914
|
let deferred1_1;
|
|
24722
24915
|
try {
|
|
@@ -24730,31 +24923,31 @@ function __wbg_get_imports(memory) {
|
|
|
24730
24923
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24731
24924
|
}
|
|
24732
24925
|
},
|
|
24733
|
-
|
|
24926
|
+
__wbg_getInputNotesFromDetailsCommitments_f57aba3cb04fda20: function(arg0, arg1, arg2, arg3) {
|
|
24734
24927
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24735
24928
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24736
24929
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24737
24930
|
return ret;
|
|
24738
24931
|
},
|
|
24739
|
-
|
|
24932
|
+
__wbg_getInputNotesFromIds_095b92f152063113: function(arg0, arg1, arg2, arg3) {
|
|
24740
24933
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24741
24934
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24742
24935
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24743
24936
|
return ret;
|
|
24744
24937
|
},
|
|
24745
|
-
|
|
24938
|
+
__wbg_getInputNotesFromNullifiers_3baa48047cae5f62: function(arg0, arg1, arg2, arg3) {
|
|
24746
24939
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24747
24940
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24748
24941
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24749
24942
|
return ret;
|
|
24750
24943
|
},
|
|
24751
|
-
|
|
24944
|
+
__wbg_getInputNotes_fa5732f7bb42ac4d: function(arg0, arg1, arg2, arg3) {
|
|
24752
24945
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24753
24946
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24754
24947
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24755
24948
|
return ret;
|
|
24756
24949
|
},
|
|
24757
|
-
|
|
24950
|
+
__wbg_getKeyCommitmentsByAccountId_3a1fa381e4a3512c: function(arg0, arg1, arg2, arg3) {
|
|
24758
24951
|
let deferred0_0;
|
|
24759
24952
|
let deferred0_1;
|
|
24760
24953
|
try {
|
|
@@ -24766,7 +24959,7 @@ function __wbg_get_imports(memory) {
|
|
|
24766
24959
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24767
24960
|
}
|
|
24768
24961
|
},
|
|
24769
|
-
|
|
24962
|
+
__wbg_getNoteScript_c39ba18a6d9ccbdd: function(arg0, arg1, arg2, arg3) {
|
|
24770
24963
|
let deferred0_0;
|
|
24771
24964
|
let deferred0_1;
|
|
24772
24965
|
try {
|
|
@@ -24778,39 +24971,39 @@ function __wbg_get_imports(memory) {
|
|
|
24778
24971
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24779
24972
|
}
|
|
24780
24973
|
},
|
|
24781
|
-
|
|
24974
|
+
__wbg_getNoteTags_dfabde0a287eb2d8: function(arg0, arg1) {
|
|
24782
24975
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24783
24976
|
return ret;
|
|
24784
24977
|
},
|
|
24785
|
-
|
|
24978
|
+
__wbg_getOutputNotesFromDetailsCommitments_c3bc51f64856a870: function(arg0, arg1, arg2, arg3) {
|
|
24786
24979
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24787
24980
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24788
24981
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24789
24982
|
return ret;
|
|
24790
24983
|
},
|
|
24791
|
-
|
|
24984
|
+
__wbg_getOutputNotesFromIds_40ec543cc8597acb: function(arg0, arg1, arg2, arg3) {
|
|
24792
24985
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24793
24986
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24794
24987
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24795
24988
|
return ret;
|
|
24796
24989
|
},
|
|
24797
|
-
|
|
24990
|
+
__wbg_getOutputNotesFromNullifiers_e354ef39f1caaa06: function(arg0, arg1, arg2, arg3) {
|
|
24798
24991
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24799
24992
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24800
24993
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24801
24994
|
return ret;
|
|
24802
24995
|
},
|
|
24803
|
-
|
|
24996
|
+
__wbg_getOutputNotes_f7df05cc81dd5a4a: function(arg0, arg1, arg2, arg3) {
|
|
24804
24997
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24805
24998
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24806
24999
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24807
25000
|
return ret;
|
|
24808
25001
|
},
|
|
24809
|
-
|
|
25002
|
+
__wbg_getPartialBlockchainNodesAll_a4d6e01b7cb4514d: function(arg0, arg1) {
|
|
24810
25003
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24811
25004
|
return ret;
|
|
24812
25005
|
},
|
|
24813
|
-
|
|
25006
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_44ddf5d7be0458f0: function(arg0, arg1, arg2, arg3) {
|
|
24814
25007
|
let deferred0_0;
|
|
24815
25008
|
let deferred0_1;
|
|
24816
25009
|
try {
|
|
@@ -24822,7 +25015,7 @@ function __wbg_get_imports(memory) {
|
|
|
24822
25015
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24823
25016
|
}
|
|
24824
25017
|
},
|
|
24825
|
-
|
|
25018
|
+
__wbg_getPartialBlockchainNodes_83606a119576094d: function(arg0, arg1, arg2, arg3) {
|
|
24826
25019
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24827
25020
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24828
25021
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24835,7 +25028,7 @@ function __wbg_get_imports(memory) {
|
|
|
24835
25028
|
const ret = arg0.getReader();
|
|
24836
25029
|
return ret;
|
|
24837
25030
|
}, arguments); },
|
|
24838
|
-
|
|
25031
|
+
__wbg_getSetting_253ca767d0248255: function(arg0, arg1, arg2, arg3) {
|
|
24839
25032
|
let deferred0_0;
|
|
24840
25033
|
let deferred0_1;
|
|
24841
25034
|
try {
|
|
@@ -24847,7 +25040,7 @@ function __wbg_get_imports(memory) {
|
|
|
24847
25040
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24848
25041
|
}
|
|
24849
25042
|
},
|
|
24850
|
-
|
|
25043
|
+
__wbg_getSyncHeight_3bfc3eb6e40e3e97: function(arg0, arg1) {
|
|
24851
25044
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24852
25045
|
return ret;
|
|
24853
25046
|
},
|
|
@@ -24855,15 +25048,15 @@ function __wbg_get_imports(memory) {
|
|
|
24855
25048
|
const ret = arg0.getTime();
|
|
24856
25049
|
return ret;
|
|
24857
25050
|
},
|
|
24858
|
-
|
|
25051
|
+
__wbg_getTrackedBlockHeaderNumbers_2dee370065038781: function(arg0, arg1) {
|
|
24859
25052
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24860
25053
|
return ret;
|
|
24861
25054
|
},
|
|
24862
|
-
|
|
25055
|
+
__wbg_getTrackedBlockHeaders_18d50e64219e9864: function(arg0, arg1) {
|
|
24863
25056
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24864
25057
|
return ret;
|
|
24865
25058
|
},
|
|
24866
|
-
|
|
25059
|
+
__wbg_getTransactions_ad8d5fe25611a846: function(arg0, arg1, arg2, arg3) {
|
|
24867
25060
|
let deferred0_0;
|
|
24868
25061
|
let deferred0_1;
|
|
24869
25062
|
try {
|
|
@@ -24875,7 +25068,7 @@ function __wbg_get_imports(memory) {
|
|
|
24875
25068
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24876
25069
|
}
|
|
24877
25070
|
},
|
|
24878
|
-
|
|
25071
|
+
__wbg_getUnspentInputNoteNullifiers_ebaf421fc0015fa2: function(arg0, arg1) {
|
|
24879
25072
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24880
25073
|
return ret;
|
|
24881
25074
|
},
|
|
@@ -24919,7 +25112,7 @@ function __wbg_get_imports(memory) {
|
|
|
24919
25112
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24920
25113
|
return ret;
|
|
24921
25114
|
},
|
|
24922
|
-
|
|
25115
|
+
__wbg_insertAccountAddress_a51e79c880ced1cf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24923
25116
|
let deferred0_0;
|
|
24924
25117
|
let deferred0_1;
|
|
24925
25118
|
try {
|
|
@@ -24933,7 +25126,7 @@ function __wbg_get_imports(memory) {
|
|
|
24933
25126
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24934
25127
|
}
|
|
24935
25128
|
},
|
|
24936
|
-
|
|
25129
|
+
__wbg_insertAccountAuth_b3858458a03809ae: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24937
25130
|
let deferred0_0;
|
|
24938
25131
|
let deferred0_1;
|
|
24939
25132
|
let deferred1_0;
|
|
@@ -24950,7 +25143,7 @@ function __wbg_get_imports(memory) {
|
|
|
24950
25143
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24951
25144
|
}
|
|
24952
25145
|
},
|
|
24953
|
-
|
|
25146
|
+
__wbg_insertAccountKeyMapping_fbbf855438446c03: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24954
25147
|
let deferred0_0;
|
|
24955
25148
|
let deferred0_1;
|
|
24956
25149
|
let deferred1_0;
|
|
@@ -24967,13 +25160,13 @@ function __wbg_get_imports(memory) {
|
|
|
24967
25160
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24968
25161
|
}
|
|
24969
25162
|
},
|
|
24970
|
-
|
|
25163
|
+
__wbg_insertBlockHeader_5536ebc96b4798c2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24971
25164
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24972
25165
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24973
25166
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24974
25167
|
return ret;
|
|
24975
25168
|
},
|
|
24976
|
-
|
|
25169
|
+
__wbg_insertPartialBlockchainNodes_c23a7fa71eb012cb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24977
25170
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24978
25171
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24979
25172
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24981,7 +25174,7 @@ function __wbg_get_imports(memory) {
|
|
|
24981
25174
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24982
25175
|
return ret;
|
|
24983
25176
|
},
|
|
24984
|
-
|
|
25177
|
+
__wbg_insertSetting_8c97168fca4bc5c5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24985
25178
|
let deferred0_0;
|
|
24986
25179
|
let deferred0_1;
|
|
24987
25180
|
try {
|
|
@@ -24995,7 +25188,7 @@ function __wbg_get_imports(memory) {
|
|
|
24995
25188
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24996
25189
|
}
|
|
24997
25190
|
},
|
|
24998
|
-
|
|
25191
|
+
__wbg_insertTransactionScript_1659a26e7d4e8b52: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24999
25192
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25000
25193
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25001
25194
|
let v1;
|
|
@@ -25102,11 +25295,11 @@ function __wbg_get_imports(memory) {
|
|
|
25102
25295
|
const ret = arg0.length;
|
|
25103
25296
|
return ret;
|
|
25104
25297
|
},
|
|
25105
|
-
|
|
25298
|
+
__wbg_listSettingKeys_56269e70dbc1174c: function(arg0, arg1) {
|
|
25106
25299
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25107
25300
|
return ret;
|
|
25108
25301
|
},
|
|
25109
|
-
|
|
25302
|
+
__wbg_lockAccount_cd84affa0a834358: function(arg0, arg1, arg2, arg3) {
|
|
25110
25303
|
let deferred0_0;
|
|
25111
25304
|
let deferred0_1;
|
|
25112
25305
|
try {
|
|
@@ -25202,7 +25395,7 @@ function __wbg_get_imports(memory) {
|
|
|
25202
25395
|
const a = state0.a;
|
|
25203
25396
|
state0.a = 0;
|
|
25204
25397
|
try {
|
|
25205
|
-
return
|
|
25398
|
+
return wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue__wasm_bindgen_8294944b14acb139___JsValue_____(a, state0.b, arg0, arg1);
|
|
25206
25399
|
} finally {
|
|
25207
25400
|
state0.a = a;
|
|
25208
25401
|
}
|
|
@@ -25321,7 +25514,7 @@ function __wbg_get_imports(memory) {
|
|
|
25321
25514
|
const ret = Array.of(arg0, arg1, arg2);
|
|
25322
25515
|
return ret;
|
|
25323
25516
|
},
|
|
25324
|
-
|
|
25517
|
+
__wbg_openDatabase_17981eba13e00fdc: function(arg0, arg1, arg2, arg3) {
|
|
25325
25518
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25326
25519
|
return ret;
|
|
25327
25520
|
},
|
|
@@ -25355,7 +25548,7 @@ function __wbg_get_imports(memory) {
|
|
|
25355
25548
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25356
25549
|
return ret;
|
|
25357
25550
|
},
|
|
25358
|
-
|
|
25551
|
+
__wbg_pruneAccountHistory_e0d6394c134a165c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25359
25552
|
let deferred0_0;
|
|
25360
25553
|
let deferred0_1;
|
|
25361
25554
|
let deferred1_0;
|
|
@@ -25372,7 +25565,7 @@ function __wbg_get_imports(memory) {
|
|
|
25372
25565
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25373
25566
|
}
|
|
25374
25567
|
},
|
|
25375
|
-
|
|
25568
|
+
__wbg_pruneIrrelevantBlocks_eb1f447cdba825b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25376
25569
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25377
25570
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25378
25571
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25380,6 +25573,10 @@ function __wbg_get_imports(memory) {
|
|
|
25380
25573
|
const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25381
25574
|
return ret;
|
|
25382
25575
|
},
|
|
25576
|
+
__wbg_pswaplineagerecord_new: function(arg0) {
|
|
25577
|
+
const ret = PswapLineageRecord.__wrap(arg0);
|
|
25578
|
+
return ret;
|
|
25579
|
+
},
|
|
25383
25580
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
25384
25581
|
const ret = arg0.queueMicrotask;
|
|
25385
25582
|
return ret;
|
|
@@ -25394,13 +25591,13 @@ function __wbg_get_imports(memory) {
|
|
|
25394
25591
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25395
25592
|
arg0.releaseLock();
|
|
25396
25593
|
},
|
|
25397
|
-
|
|
25594
|
+
__wbg_removeAccountAddress_af59fd21bdac1724: function(arg0, arg1, arg2, arg3) {
|
|
25398
25595
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25399
25596
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25400
25597
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25401
25598
|
return ret;
|
|
25402
25599
|
},
|
|
25403
|
-
|
|
25600
|
+
__wbg_removeAccountAuth_0a826954671c4b14: function(arg0, arg1, arg2, arg3) {
|
|
25404
25601
|
let deferred0_0;
|
|
25405
25602
|
let deferred0_1;
|
|
25406
25603
|
try {
|
|
@@ -25412,7 +25609,7 @@ function __wbg_get_imports(memory) {
|
|
|
25412
25609
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25413
25610
|
}
|
|
25414
25611
|
},
|
|
25415
|
-
|
|
25612
|
+
__wbg_removeAllMappingsForKey_a3c019a389bb16b1: function(arg0, arg1, arg2, arg3) {
|
|
25416
25613
|
let deferred0_0;
|
|
25417
25614
|
let deferred0_1;
|
|
25418
25615
|
try {
|
|
@@ -25424,7 +25621,7 @@ function __wbg_get_imports(memory) {
|
|
|
25424
25621
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25425
25622
|
}
|
|
25426
25623
|
},
|
|
25427
|
-
|
|
25624
|
+
__wbg_removeNoteTag_8002568485e57cc5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25428
25625
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25429
25626
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25430
25627
|
let v1;
|
|
@@ -25445,7 +25642,7 @@ function __wbg_get_imports(memory) {
|
|
|
25445
25642
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25446
25643
|
return ret;
|
|
25447
25644
|
},
|
|
25448
|
-
|
|
25645
|
+
__wbg_removeSetting_d7d4e7bac50b96f6: function(arg0, arg1, arg2, arg3) {
|
|
25449
25646
|
let deferred0_0;
|
|
25450
25647
|
let deferred0_1;
|
|
25451
25648
|
try {
|
|
@@ -25652,13 +25849,13 @@ function __wbg_get_imports(memory) {
|
|
|
25652
25849
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25653
25850
|
return ret;
|
|
25654
25851
|
},
|
|
25655
|
-
|
|
25852
|
+
__wbg_undoAccountStates_2612c0beaf8bd1b8: function(arg0, arg1, arg2, arg3) {
|
|
25656
25853
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25657
25854
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25658
25855
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25659
25856
|
return ret;
|
|
25660
25857
|
},
|
|
25661
|
-
|
|
25858
|
+
__wbg_upsertAccountCode_90bc45f9056d9a65: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25662
25859
|
let deferred0_0;
|
|
25663
25860
|
let deferred0_1;
|
|
25664
25861
|
try {
|
|
@@ -25672,7 +25869,7 @@ function __wbg_get_imports(memory) {
|
|
|
25672
25869
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25673
25870
|
}
|
|
25674
25871
|
},
|
|
25675
|
-
|
|
25872
|
+
__wbg_upsertAccountRecord_07018035c7fcd8e9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25676
25873
|
let deferred0_0;
|
|
25677
25874
|
let deferred0_1;
|
|
25678
25875
|
let deferred1_0;
|
|
@@ -25714,7 +25911,7 @@ function __wbg_get_imports(memory) {
|
|
|
25714
25911
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25715
25912
|
}
|
|
25716
25913
|
},
|
|
25717
|
-
|
|
25914
|
+
__wbg_upsertAccountStorage_6c49335faf715063: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25718
25915
|
let deferred0_0;
|
|
25719
25916
|
let deferred0_1;
|
|
25720
25917
|
try {
|
|
@@ -25728,7 +25925,7 @@ function __wbg_get_imports(memory) {
|
|
|
25728
25925
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25729
25926
|
}
|
|
25730
25927
|
},
|
|
25731
|
-
|
|
25928
|
+
__wbg_upsertForeignAccountCode_6884ddcc23079909: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25732
25929
|
let deferred0_0;
|
|
25733
25930
|
let deferred0_1;
|
|
25734
25931
|
let deferred2_0;
|
|
@@ -25747,7 +25944,7 @@ function __wbg_get_imports(memory) {
|
|
|
25747
25944
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25748
25945
|
}
|
|
25749
25946
|
},
|
|
25750
|
-
|
|
25947
|
+
__wbg_upsertInputNote_491b4f316c914f08: 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) {
|
|
25751
25948
|
let deferred0_0;
|
|
25752
25949
|
let deferred0_1;
|
|
25753
25950
|
let deferred6_0;
|
|
@@ -25796,7 +25993,7 @@ function __wbg_get_imports(memory) {
|
|
|
25796
25993
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25797
25994
|
}
|
|
25798
25995
|
},
|
|
25799
|
-
|
|
25996
|
+
__wbg_upsertNoteScript_8cb185364b8b811c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25800
25997
|
let deferred0_0;
|
|
25801
25998
|
let deferred0_1;
|
|
25802
25999
|
try {
|
|
@@ -25810,7 +26007,7 @@ function __wbg_get_imports(memory) {
|
|
|
25810
26007
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25811
26008
|
}
|
|
25812
26009
|
},
|
|
25813
|
-
|
|
26010
|
+
__wbg_upsertOutputNote_28a007cae68c5f83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25814
26011
|
let deferred0_0;
|
|
25815
26012
|
let deferred0_1;
|
|
25816
26013
|
let deferred1_0;
|
|
@@ -25845,7 +26042,7 @@ function __wbg_get_imports(memory) {
|
|
|
25845
26042
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25846
26043
|
}
|
|
25847
26044
|
},
|
|
25848
|
-
|
|
26045
|
+
__wbg_upsertStorageMapEntries_7c81b5bca7ee1c50: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25849
26046
|
let deferred0_0;
|
|
25850
26047
|
let deferred0_1;
|
|
25851
26048
|
try {
|
|
@@ -25859,7 +26056,7 @@ function __wbg_get_imports(memory) {
|
|
|
25859
26056
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25860
26057
|
}
|
|
25861
26058
|
},
|
|
25862
|
-
|
|
26059
|
+
__wbg_upsertTransactionRecord_b80c9a5ba744de46: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25863
26060
|
let deferred0_0;
|
|
25864
26061
|
let deferred0_1;
|
|
25865
26062
|
try {
|
|
@@ -25880,7 +26077,7 @@ function __wbg_get_imports(memory) {
|
|
|
25880
26077
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25881
26078
|
}
|
|
25882
26079
|
},
|
|
25883
|
-
|
|
26080
|
+
__wbg_upsertVaultAssets_d2dccc19a14a6eb7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25884
26081
|
let deferred0_0;
|
|
25885
26082
|
let deferred0_1;
|
|
25886
26083
|
try {
|
|
@@ -25923,18 +26120,18 @@ function __wbg_get_imports(memory) {
|
|
|
25923
26120
|
return ret;
|
|
25924
26121
|
},
|
|
25925
26122
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25926
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25927
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26123
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [Externref], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26124
|
+
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_____);
|
|
25928
26125
|
return ret;
|
|
25929
26126
|
},
|
|
25930
26127
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25931
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25932
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26128
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26129
|
+
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_____);
|
|
25933
26130
|
return ret;
|
|
25934
26131
|
},
|
|
25935
26132
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
25936
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25937
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26133
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [], shim_idx: 451, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26134
|
+
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______);
|
|
25938
26135
|
return ret;
|
|
25939
26136
|
},
|
|
25940
26137
|
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
@@ -25997,25 +26194,32 @@ function __wbg_get_imports(memory) {
|
|
|
25997
26194
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
25998
26195
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25999
26196
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
26000
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
26197
|
+
// Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
|
|
26001
26198
|
const ret = v0;
|
|
26002
26199
|
return ret;
|
|
26003
26200
|
},
|
|
26004
26201
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
26005
26202
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
26006
26203
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
26007
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
26204
|
+
// Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
|
|
26008
26205
|
const ret = v0;
|
|
26009
26206
|
return ret;
|
|
26010
26207
|
},
|
|
26011
26208
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
26012
26209
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
26013
26210
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
26014
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
26211
|
+
// Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
|
|
26015
26212
|
const ret = v0;
|
|
26016
26213
|
return ret;
|
|
26017
26214
|
},
|
|
26018
26215
|
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
26216
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
26217
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
26218
|
+
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
26219
|
+
const ret = v0;
|
|
26220
|
+
return ret;
|
|
26221
|
+
},
|
|
26222
|
+
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
26019
26223
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
26020
26224
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
26021
26225
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -26053,16 +26257,16 @@ function __wbg_get_imports(memory) {
|
|
|
26053
26257
|
};
|
|
26054
26258
|
}
|
|
26055
26259
|
|
|
26056
|
-
function
|
|
26057
|
-
wasm.
|
|
26260
|
+
function wasm_bindgen_8294944b14acb139___convert__closures_____invoke______(arg0, arg1) {
|
|
26261
|
+
wasm.wasm_bindgen_8294944b14acb139___convert__closures_____invoke______(arg0, arg1);
|
|
26058
26262
|
}
|
|
26059
26263
|
|
|
26060
|
-
function
|
|
26061
|
-
wasm.
|
|
26264
|
+
function wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____(arg0, arg1, arg2) {
|
|
26265
|
+
wasm.wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____(arg0, arg1, arg2);
|
|
26062
26266
|
}
|
|
26063
26267
|
|
|
26064
|
-
function
|
|
26065
|
-
wasm.
|
|
26268
|
+
function wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue__wasm_bindgen_8294944b14acb139___JsValue_____(arg0, arg1, arg2, arg3) {
|
|
26269
|
+
wasm.wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue__wasm_bindgen_8294944b14acb139___JsValue_____(arg0, arg1, arg2, arg3);
|
|
26066
26270
|
}
|
|
26067
26271
|
|
|
26068
26272
|
|
|
@@ -26382,6 +26586,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
26382
26586
|
const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26383
26587
|
? { register: () => {}, unregister: () => {} }
|
|
26384
26588
|
: new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
|
|
26589
|
+
const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26590
|
+
? { register: () => {}, unregister: () => {} }
|
|
26591
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
|
|
26385
26592
|
const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26386
26593
|
? { register: () => {}, unregister: () => {} }
|
|
26387
26594
|
: new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
|
|
@@ -26990,6 +27197,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26990
27197
|
ProcedureThreshold: ProcedureThreshold,
|
|
26991
27198
|
Program: Program,
|
|
26992
27199
|
ProvenTransaction: ProvenTransaction,
|
|
27200
|
+
PswapLineageRecord: PswapLineageRecord,
|
|
27201
|
+
PswapLineageState: PswapLineageState,
|
|
26993
27202
|
PublicKey: PublicKey,
|
|
26994
27203
|
RpcClient: RpcClient,
|
|
26995
27204
|
Rpo256: Rpo256,
|
|
@@ -27046,7 +27255,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
27046
27255
|
|
|
27047
27256
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
27048
27257
|
|
|
27049
|
-
var
|
|
27258
|
+
var CargoBbpPeJYa = /*#__PURE__*/Object.freeze({
|
|
27050
27259
|
__proto__: null,
|
|
27051
27260
|
Account: Account,
|
|
27052
27261
|
AccountArray: AccountArray,
|
|
@@ -27156,6 +27365,8 @@ var Cargo1zqmsGGR = /*#__PURE__*/Object.freeze({
|
|
|
27156
27365
|
ProcedureThreshold: ProcedureThreshold,
|
|
27157
27366
|
Program: Program,
|
|
27158
27367
|
ProvenTransaction: ProvenTransaction,
|
|
27368
|
+
PswapLineageRecord: PswapLineageRecord,
|
|
27369
|
+
PswapLineageState: PswapLineageState,
|
|
27159
27370
|
PublicKey: PublicKey,
|
|
27160
27371
|
RpcClient: RpcClient,
|
|
27161
27372
|
Rpo256: Rpo256,
|