@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
|
@@ -12622,6 +12622,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
|
|
|
12622
12622
|
* Map of advice values keyed by words for script execution.
|
|
12623
12623
|
*/
|
|
12624
12624
|
class AdviceMap {
|
|
12625
|
+
static __wrap(ptr) {
|
|
12626
|
+
ptr = ptr >>> 0;
|
|
12627
|
+
const obj = Object.create(AdviceMap.prototype);
|
|
12628
|
+
obj.__wbg_ptr = ptr;
|
|
12629
|
+
AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
12630
|
+
return obj;
|
|
12631
|
+
}
|
|
12625
12632
|
__destroy_into_raw() {
|
|
12626
12633
|
const ptr = this.__wbg_ptr;
|
|
12627
12634
|
this.__wbg_ptr = 0;
|
|
@@ -18924,6 +18931,119 @@ class ProvenTransaction {
|
|
|
18924
18931
|
}
|
|
18925
18932
|
if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
|
|
18926
18933
|
|
|
18934
|
+
/**
|
|
18935
|
+
* Read-only view of one PSWAP order's chain state, exposed to JavaScript.
|
|
18936
|
+
* The mutable fields (remaining amounts, depth, tip, state) advance
|
|
18937
|
+
* round-by-round as fills are discovered during sync.
|
|
18938
|
+
*/
|
|
18939
|
+
class PswapLineageRecord {
|
|
18940
|
+
static __wrap(ptr) {
|
|
18941
|
+
ptr = ptr >>> 0;
|
|
18942
|
+
const obj = Object.create(PswapLineageRecord.prototype);
|
|
18943
|
+
obj.__wbg_ptr = ptr;
|
|
18944
|
+
PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
18945
|
+
return obj;
|
|
18946
|
+
}
|
|
18947
|
+
__destroy_into_raw() {
|
|
18948
|
+
const ptr = this.__wbg_ptr;
|
|
18949
|
+
this.__wbg_ptr = 0;
|
|
18950
|
+
PswapLineageRecordFinalization.unregister(this);
|
|
18951
|
+
return ptr;
|
|
18952
|
+
}
|
|
18953
|
+
free() {
|
|
18954
|
+
const ptr = this.__destroy_into_raw();
|
|
18955
|
+
wasm.__wbg_pswaplineagerecord_free(ptr, 0);
|
|
18956
|
+
}
|
|
18957
|
+
/**
|
|
18958
|
+
* Account that created the order and receives every payback.
|
|
18959
|
+
* @returns {AccountId}
|
|
18960
|
+
*/
|
|
18961
|
+
creatorAccountId() {
|
|
18962
|
+
const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
|
|
18963
|
+
return AccountId.__wrap(ret);
|
|
18964
|
+
}
|
|
18965
|
+
/**
|
|
18966
|
+
* Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
|
|
18967
|
+
* @returns {number}
|
|
18968
|
+
*/
|
|
18969
|
+
currentDepth() {
|
|
18970
|
+
const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
|
|
18971
|
+
return ret >>> 0;
|
|
18972
|
+
}
|
|
18973
|
+
/**
|
|
18974
|
+
* Note id of the current tip in the chain.
|
|
18975
|
+
* @returns {NoteId}
|
|
18976
|
+
*/
|
|
18977
|
+
currentTipNoteId() {
|
|
18978
|
+
const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
|
|
18979
|
+
return NoteId.__wrap(ret);
|
|
18980
|
+
}
|
|
18981
|
+
/**
|
|
18982
|
+
* Stable identifier shared by every note in the chain, as a decimal string.
|
|
18983
|
+
* @returns {string}
|
|
18984
|
+
*/
|
|
18985
|
+
orderId() {
|
|
18986
|
+
let deferred1_0;
|
|
18987
|
+
let deferred1_1;
|
|
18988
|
+
try {
|
|
18989
|
+
const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
|
|
18990
|
+
deferred1_0 = ret[0];
|
|
18991
|
+
deferred1_1 = ret[1];
|
|
18992
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
18993
|
+
} finally {
|
|
18994
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
18995
|
+
}
|
|
18996
|
+
}
|
|
18997
|
+
/**
|
|
18998
|
+
* Offered amount still unfilled on the current tip. The offered faucet is
|
|
18999
|
+
* chain-invariant and recovered from the original PSWAP note when needed.
|
|
19000
|
+
* @returns {bigint}
|
|
19001
|
+
*/
|
|
19002
|
+
remainingOffered() {
|
|
19003
|
+
const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
|
|
19004
|
+
return BigInt.asUintN(64, ret);
|
|
19005
|
+
}
|
|
19006
|
+
/**
|
|
19007
|
+
* Requested amount still outstanding on the current tip. The requested
|
|
19008
|
+
* faucet is recovered from the original PSWAP note when needed.
|
|
19009
|
+
* @returns {bigint}
|
|
19010
|
+
*/
|
|
19011
|
+
remainingRequested() {
|
|
19012
|
+
const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
|
|
19013
|
+
return BigInt.asUintN(64, ret);
|
|
19014
|
+
}
|
|
19015
|
+
/**
|
|
19016
|
+
* Lifecycle state of the order.
|
|
19017
|
+
* @returns {PswapLineageState}
|
|
19018
|
+
*/
|
|
19019
|
+
state() {
|
|
19020
|
+
const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
|
|
19021
|
+
return ret;
|
|
19022
|
+
}
|
|
19023
|
+
}
|
|
19024
|
+
if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
|
|
19025
|
+
|
|
19026
|
+
/**
|
|
19027
|
+
* Lifecycle state of a PSWAP order.
|
|
19028
|
+
*
|
|
19029
|
+
* Discriminants match the on-disk encoding in the store.
|
|
19030
|
+
* @enum {0 | 1 | 2}
|
|
19031
|
+
*/
|
|
19032
|
+
const PswapLineageState = Object.freeze({
|
|
19033
|
+
/**
|
|
19034
|
+
* Still fillable and reclaimable.
|
|
19035
|
+
*/
|
|
19036
|
+
Active: 0, "0": "Active",
|
|
19037
|
+
/**
|
|
19038
|
+
* Fully filled. Terminal.
|
|
19039
|
+
*/
|
|
19040
|
+
FullyFilled: 1, "1": "FullyFilled",
|
|
19041
|
+
/**
|
|
19042
|
+
* Reclaimed by the creator. Terminal.
|
|
19043
|
+
*/
|
|
19044
|
+
Reclaimed: 2, "2": "Reclaimed",
|
|
19045
|
+
});
|
|
19046
|
+
|
|
18927
19047
|
class PublicKey {
|
|
18928
19048
|
static __wrap(ptr) {
|
|
18929
19049
|
ptr = ptr >>> 0;
|
|
@@ -21279,7 +21399,7 @@ class TransactionRecord {
|
|
|
21279
21399
|
* @returns {Word}
|
|
21280
21400
|
*/
|
|
21281
21401
|
initAccountState() {
|
|
21282
|
-
const ret = wasm.
|
|
21402
|
+
const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
|
|
21283
21403
|
return Word.__wrap(ret);
|
|
21284
21404
|
}
|
|
21285
21405
|
/**
|
|
@@ -21344,6 +21464,14 @@ class TransactionRequest {
|
|
|
21344
21464
|
const ptr = this.__destroy_into_raw();
|
|
21345
21465
|
wasm.__wbg_transactionrequest_free(ptr, 0);
|
|
21346
21466
|
}
|
|
21467
|
+
/**
|
|
21468
|
+
* Returns a copy of the advice map carried by this request.
|
|
21469
|
+
* @returns {AdviceMap}
|
|
21470
|
+
*/
|
|
21471
|
+
adviceMap() {
|
|
21472
|
+
const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
|
|
21473
|
+
return AdviceMap.__wrap(ret);
|
|
21474
|
+
}
|
|
21347
21475
|
/**
|
|
21348
21476
|
* Returns the authentication argument if present.
|
|
21349
21477
|
* @returns {Word | undefined}
|
|
@@ -21390,6 +21518,20 @@ class TransactionRequest {
|
|
|
21390
21518
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
21391
21519
|
return v1;
|
|
21392
21520
|
}
|
|
21521
|
+
/**
|
|
21522
|
+
* Returns a copy of this request with `advice_map` merged into its advice map.
|
|
21523
|
+
*
|
|
21524
|
+
* Entries are merged with last-write-wins semantics: a key already present in the request is
|
|
21525
|
+
* overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
|
|
21526
|
+
* produced by an external signer) after the request has already been built.
|
|
21527
|
+
* @param {AdviceMap} advice_map
|
|
21528
|
+
* @returns {TransactionRequest}
|
|
21529
|
+
*/
|
|
21530
|
+
extendAdviceMap(advice_map) {
|
|
21531
|
+
_assertClass(advice_map, AdviceMap);
|
|
21532
|
+
const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
|
|
21533
|
+
return TransactionRequest.__wrap(ret);
|
|
21534
|
+
}
|
|
21393
21535
|
/**
|
|
21394
21536
|
* Returns the transaction script argument if present.
|
|
21395
21537
|
* @returns {Word | undefined}
|
|
@@ -22151,6 +22293,10 @@ class WebClient {
|
|
|
22151
22293
|
return ret;
|
|
22152
22294
|
}
|
|
22153
22295
|
/**
|
|
22296
|
+
* Persists a submitted transaction and returns its pre-apply
|
|
22297
|
+
* [`TransactionStoreUpdate`]. Routes through the high-level
|
|
22298
|
+
* `Client::apply_transaction` so registered observers (e.g. PSWAP
|
|
22299
|
+
* tracking) fire.
|
|
22154
22300
|
* @param {TransactionResult} transaction_result
|
|
22155
22301
|
* @param {number} submission_height
|
|
22156
22302
|
* @returns {Promise<TransactionStoreUpdate>}
|
|
@@ -22160,6 +22306,22 @@ class WebClient {
|
|
|
22160
22306
|
const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
|
|
22161
22307
|
return ret;
|
|
22162
22308
|
}
|
|
22309
|
+
/**
|
|
22310
|
+
* Builds a transaction reclaiming the unfilled offered asset on the current
|
|
22311
|
+
* tip of an Active lineage.
|
|
22312
|
+
*
|
|
22313
|
+
* `order_id` is the order's stable identifier as a decimal string. The
|
|
22314
|
+
* returned request flows into the same submit path as the other PSWAP
|
|
22315
|
+
* cancel transactions.
|
|
22316
|
+
* @param {string} order_id
|
|
22317
|
+
* @returns {Promise<TransactionRequest>}
|
|
22318
|
+
*/
|
|
22319
|
+
buildPswapCancelByOrder(order_id) {
|
|
22320
|
+
const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
22321
|
+
const len0 = WASM_VECTOR_LEN;
|
|
22322
|
+
const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
|
|
22323
|
+
return ret;
|
|
22324
|
+
}
|
|
22163
22325
|
/**
|
|
22164
22326
|
* @param {NoteType} note_type
|
|
22165
22327
|
* @param {AccountId} offered_asset_faucet_id
|
|
@@ -22503,6 +22665,37 @@ class WebClient {
|
|
|
22503
22665
|
const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
|
|
22504
22666
|
return ret;
|
|
22505
22667
|
}
|
|
22668
|
+
/**
|
|
22669
|
+
* Returns the lineage for one order, or `null` if not tracked.
|
|
22670
|
+
*
|
|
22671
|
+
* `order_id` is the order's stable identifier as a decimal string.
|
|
22672
|
+
* @param {string} order_id
|
|
22673
|
+
* @returns {Promise<PswapLineageRecord | undefined>}
|
|
22674
|
+
*/
|
|
22675
|
+
getPswapLineage(order_id) {
|
|
22676
|
+
const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
22677
|
+
const len0 = WASM_VECTOR_LEN;
|
|
22678
|
+
const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
|
|
22679
|
+
return ret;
|
|
22680
|
+
}
|
|
22681
|
+
/**
|
|
22682
|
+
* Returns every PSWAP lineage tracked by this client.
|
|
22683
|
+
* @returns {Promise<PswapLineageRecord[]>}
|
|
22684
|
+
*/
|
|
22685
|
+
getPswapLineages() {
|
|
22686
|
+
const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
|
|
22687
|
+
return ret;
|
|
22688
|
+
}
|
|
22689
|
+
/**
|
|
22690
|
+
* Returns lineages created by a specific local account.
|
|
22691
|
+
* @param {AccountId} creator
|
|
22692
|
+
* @returns {Promise<PswapLineageRecord[]>}
|
|
22693
|
+
*/
|
|
22694
|
+
getPswapLineagesFor(creator) {
|
|
22695
|
+
_assertClass(creator, AccountId);
|
|
22696
|
+
const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
|
|
22697
|
+
return ret;
|
|
22698
|
+
}
|
|
22506
22699
|
/**
|
|
22507
22700
|
* Returns all public key commitments associated with the given account ID.
|
|
22508
22701
|
*
|
|
@@ -23485,7 +23678,7 @@ function __wbg_get_imports() {
|
|
|
23485
23678
|
const ret = AccountStorage.__wrap(arg0);
|
|
23486
23679
|
return ret;
|
|
23487
23680
|
},
|
|
23488
|
-
|
|
23681
|
+
__wbg_addNoteTag_096da497a0a0cab8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
23489
23682
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23490
23683
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23491
23684
|
let v1;
|
|
@@ -23513,21 +23706,21 @@ function __wbg_get_imports() {
|
|
|
23513
23706
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
23514
23707
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
23515
23708
|
}, arguments); },
|
|
23516
|
-
|
|
23709
|
+
__wbg_applyFullAccountState_bf8b5d3a049e6ceb: function(arg0, arg1, arg2) {
|
|
23517
23710
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
23518
23711
|
return ret;
|
|
23519
23712
|
},
|
|
23520
|
-
|
|
23713
|
+
__wbg_applySettingsMutations_9c110a085196df8d: function(arg0, arg1, arg2, arg3) {
|
|
23521
23714
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23522
23715
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23523
23716
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
23524
23717
|
return ret;
|
|
23525
23718
|
},
|
|
23526
|
-
|
|
23719
|
+
__wbg_applyStateSync_06bd22fcf36d1cdd: function(arg0, arg1, arg2) {
|
|
23527
23720
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
23528
23721
|
return ret;
|
|
23529
23722
|
},
|
|
23530
|
-
|
|
23723
|
+
__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) {
|
|
23531
23724
|
let deferred0_0;
|
|
23532
23725
|
let deferred0_1;
|
|
23533
23726
|
let deferred1_0;
|
|
@@ -23666,7 +23859,7 @@ function __wbg_get_imports() {
|
|
|
23666
23859
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23667
23860
|
}
|
|
23668
23861
|
},
|
|
23669
|
-
|
|
23862
|
+
__wbg_exportStore_b792e5263f047bc6: function(arg0, arg1) {
|
|
23670
23863
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
23671
23864
|
return ret;
|
|
23672
23865
|
},
|
|
@@ -23698,7 +23891,7 @@ function __wbg_get_imports() {
|
|
|
23698
23891
|
const ret = FetchedNote.__wrap(arg0);
|
|
23699
23892
|
return ret;
|
|
23700
23893
|
},
|
|
23701
|
-
|
|
23894
|
+
__wbg_forceImportStore_18bed9aaee1d64be: function(arg0, arg1, arg2) {
|
|
23702
23895
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
23703
23896
|
return ret;
|
|
23704
23897
|
},
|
|
@@ -23718,7 +23911,7 @@ function __wbg_get_imports() {
|
|
|
23718
23911
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
23719
23912
|
return ret;
|
|
23720
23913
|
},
|
|
23721
|
-
|
|
23914
|
+
__wbg_getAccountAddresses_912a98d65bbdf9b5: function(arg0, arg1, arg2, arg3) {
|
|
23722
23915
|
let deferred0_0;
|
|
23723
23916
|
let deferred0_1;
|
|
23724
23917
|
try {
|
|
@@ -23730,7 +23923,7 @@ function __wbg_get_imports() {
|
|
|
23730
23923
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23731
23924
|
}
|
|
23732
23925
|
},
|
|
23733
|
-
|
|
23926
|
+
__wbg_getAccountAuthByPubKeyCommitment_dc6a856d5dfdfb40: function(arg0, arg1, arg2, arg3) {
|
|
23734
23927
|
let deferred0_0;
|
|
23735
23928
|
let deferred0_1;
|
|
23736
23929
|
try {
|
|
@@ -23742,7 +23935,7 @@ function __wbg_get_imports() {
|
|
|
23742
23935
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23743
23936
|
}
|
|
23744
23937
|
},
|
|
23745
|
-
|
|
23938
|
+
__wbg_getAccountCode_919e4265460ed86a: function(arg0, arg1, arg2, arg3) {
|
|
23746
23939
|
let deferred0_0;
|
|
23747
23940
|
let deferred0_1;
|
|
23748
23941
|
try {
|
|
@@ -23754,7 +23947,7 @@ function __wbg_get_imports() {
|
|
|
23754
23947
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23755
23948
|
}
|
|
23756
23949
|
},
|
|
23757
|
-
|
|
23950
|
+
__wbg_getAccountHeaderByCommitment_ba76171382e4adeb: function(arg0, arg1, arg2, arg3) {
|
|
23758
23951
|
let deferred0_0;
|
|
23759
23952
|
let deferred0_1;
|
|
23760
23953
|
try {
|
|
@@ -23766,7 +23959,7 @@ function __wbg_get_imports() {
|
|
|
23766
23959
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23767
23960
|
}
|
|
23768
23961
|
},
|
|
23769
|
-
|
|
23962
|
+
__wbg_getAccountHeader_0ad8dac3ef38914f: function(arg0, arg1, arg2, arg3) {
|
|
23770
23963
|
let deferred0_0;
|
|
23771
23964
|
let deferred0_1;
|
|
23772
23965
|
try {
|
|
@@ -23778,7 +23971,7 @@ function __wbg_get_imports() {
|
|
|
23778
23971
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23779
23972
|
}
|
|
23780
23973
|
},
|
|
23781
|
-
|
|
23974
|
+
__wbg_getAccountIdByKeyCommitment_4e69aeecb15f3fed: function(arg0, arg1, arg2, arg3) {
|
|
23782
23975
|
let deferred0_0;
|
|
23783
23976
|
let deferred0_1;
|
|
23784
23977
|
try {
|
|
@@ -23790,11 +23983,11 @@ function __wbg_get_imports() {
|
|
|
23790
23983
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23791
23984
|
}
|
|
23792
23985
|
},
|
|
23793
|
-
|
|
23986
|
+
__wbg_getAccountIds_c8a084349d486e38: function(arg0, arg1) {
|
|
23794
23987
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
23795
23988
|
return ret;
|
|
23796
23989
|
},
|
|
23797
|
-
|
|
23990
|
+
__wbg_getAccountStorageMaps_05ce89e538285075: function(arg0, arg1, arg2, arg3) {
|
|
23798
23991
|
let deferred0_0;
|
|
23799
23992
|
let deferred0_1;
|
|
23800
23993
|
try {
|
|
@@ -23806,7 +23999,7 @@ function __wbg_get_imports() {
|
|
|
23806
23999
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23807
24000
|
}
|
|
23808
24001
|
},
|
|
23809
|
-
|
|
24002
|
+
__wbg_getAccountStorage_705ac874dc621263: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23810
24003
|
let deferred0_0;
|
|
23811
24004
|
let deferred0_1;
|
|
23812
24005
|
try {
|
|
@@ -23820,7 +24013,7 @@ function __wbg_get_imports() {
|
|
|
23820
24013
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23821
24014
|
}
|
|
23822
24015
|
},
|
|
23823
|
-
|
|
24016
|
+
__wbg_getAccountVaultAssets_2c4f2c4b915b917b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23824
24017
|
let deferred0_0;
|
|
23825
24018
|
let deferred0_1;
|
|
23826
24019
|
try {
|
|
@@ -23834,27 +24027,27 @@ function __wbg_get_imports() {
|
|
|
23834
24027
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23835
24028
|
}
|
|
23836
24029
|
},
|
|
23837
|
-
|
|
24030
|
+
__wbg_getAllAccountHeaders_0aefc9e33a9177d9: function(arg0, arg1) {
|
|
23838
24031
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
23839
24032
|
return ret;
|
|
23840
24033
|
},
|
|
23841
|
-
|
|
24034
|
+
__wbg_getBlockHeaders_8130cc26764af62f: function(arg0, arg1, arg2, arg3) {
|
|
23842
24035
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
23843
24036
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23844
24037
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
23845
24038
|
return ret;
|
|
23846
24039
|
},
|
|
23847
|
-
|
|
24040
|
+
__wbg_getCurrentBlockchainPeaks_d93dfc7df30d5f85: function(arg0, arg1) {
|
|
23848
24041
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
23849
24042
|
return ret;
|
|
23850
24043
|
},
|
|
23851
|
-
|
|
24044
|
+
__wbg_getForeignAccountCode_fc193a275029ef5e: function(arg0, arg1, arg2, arg3) {
|
|
23852
24045
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23853
24046
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23854
24047
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
23855
24048
|
return ret;
|
|
23856
24049
|
},
|
|
23857
|
-
|
|
24050
|
+
__wbg_getInputNoteByOffset_7db364c43d08e4af: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
23858
24051
|
let deferred1_0;
|
|
23859
24052
|
let deferred1_1;
|
|
23860
24053
|
try {
|
|
@@ -23868,31 +24061,31 @@ function __wbg_get_imports() {
|
|
|
23868
24061
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23869
24062
|
}
|
|
23870
24063
|
},
|
|
23871
|
-
|
|
24064
|
+
__wbg_getInputNotesFromDetailsCommitments_f57aba3cb04fda20: function(arg0, arg1, arg2, arg3) {
|
|
23872
24065
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23873
24066
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23874
24067
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
23875
24068
|
return ret;
|
|
23876
24069
|
},
|
|
23877
|
-
|
|
24070
|
+
__wbg_getInputNotesFromIds_095b92f152063113: function(arg0, arg1, arg2, arg3) {
|
|
23878
24071
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23879
24072
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23880
24073
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
23881
24074
|
return ret;
|
|
23882
24075
|
},
|
|
23883
|
-
|
|
24076
|
+
__wbg_getInputNotesFromNullifiers_3baa48047cae5f62: function(arg0, arg1, arg2, arg3) {
|
|
23884
24077
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23885
24078
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23886
24079
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
23887
24080
|
return ret;
|
|
23888
24081
|
},
|
|
23889
|
-
|
|
24082
|
+
__wbg_getInputNotes_fa5732f7bb42ac4d: function(arg0, arg1, arg2, arg3) {
|
|
23890
24083
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23891
24084
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23892
24085
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
23893
24086
|
return ret;
|
|
23894
24087
|
},
|
|
23895
|
-
|
|
24088
|
+
__wbg_getKeyCommitmentsByAccountId_3a1fa381e4a3512c: function(arg0, arg1, arg2, arg3) {
|
|
23896
24089
|
let deferred0_0;
|
|
23897
24090
|
let deferred0_1;
|
|
23898
24091
|
try {
|
|
@@ -23904,7 +24097,7 @@ function __wbg_get_imports() {
|
|
|
23904
24097
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23905
24098
|
}
|
|
23906
24099
|
},
|
|
23907
|
-
|
|
24100
|
+
__wbg_getNoteScript_c39ba18a6d9ccbdd: function(arg0, arg1, arg2, arg3) {
|
|
23908
24101
|
let deferred0_0;
|
|
23909
24102
|
let deferred0_1;
|
|
23910
24103
|
try {
|
|
@@ -23916,39 +24109,39 @@ function __wbg_get_imports() {
|
|
|
23916
24109
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23917
24110
|
}
|
|
23918
24111
|
},
|
|
23919
|
-
|
|
24112
|
+
__wbg_getNoteTags_dfabde0a287eb2d8: function(arg0, arg1) {
|
|
23920
24113
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
23921
24114
|
return ret;
|
|
23922
24115
|
},
|
|
23923
|
-
|
|
24116
|
+
__wbg_getOutputNotesFromDetailsCommitments_c3bc51f64856a870: function(arg0, arg1, arg2, arg3) {
|
|
23924
24117
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23925
24118
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23926
24119
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
23927
24120
|
return ret;
|
|
23928
24121
|
},
|
|
23929
|
-
|
|
24122
|
+
__wbg_getOutputNotesFromIds_40ec543cc8597acb: function(arg0, arg1, arg2, arg3) {
|
|
23930
24123
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23931
24124
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23932
24125
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
23933
24126
|
return ret;
|
|
23934
24127
|
},
|
|
23935
|
-
|
|
24128
|
+
__wbg_getOutputNotesFromNullifiers_e354ef39f1caaa06: function(arg0, arg1, arg2, arg3) {
|
|
23936
24129
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23937
24130
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23938
24131
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
23939
24132
|
return ret;
|
|
23940
24133
|
},
|
|
23941
|
-
|
|
24134
|
+
__wbg_getOutputNotes_f7df05cc81dd5a4a: function(arg0, arg1, arg2, arg3) {
|
|
23942
24135
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23943
24136
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23944
24137
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
23945
24138
|
return ret;
|
|
23946
24139
|
},
|
|
23947
|
-
|
|
24140
|
+
__wbg_getPartialBlockchainNodesAll_a4d6e01b7cb4514d: function(arg0, arg1) {
|
|
23948
24141
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
23949
24142
|
return ret;
|
|
23950
24143
|
},
|
|
23951
|
-
|
|
24144
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_44ddf5d7be0458f0: function(arg0, arg1, arg2, arg3) {
|
|
23952
24145
|
let deferred0_0;
|
|
23953
24146
|
let deferred0_1;
|
|
23954
24147
|
try {
|
|
@@ -23960,7 +24153,7 @@ function __wbg_get_imports() {
|
|
|
23960
24153
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23961
24154
|
}
|
|
23962
24155
|
},
|
|
23963
|
-
|
|
24156
|
+
__wbg_getPartialBlockchainNodes_83606a119576094d: function(arg0, arg1, arg2, arg3) {
|
|
23964
24157
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23965
24158
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23966
24159
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -23973,7 +24166,7 @@ function __wbg_get_imports() {
|
|
|
23973
24166
|
const ret = arg0.getReader();
|
|
23974
24167
|
return ret;
|
|
23975
24168
|
}, arguments); },
|
|
23976
|
-
|
|
24169
|
+
__wbg_getSetting_253ca767d0248255: function(arg0, arg1, arg2, arg3) {
|
|
23977
24170
|
let deferred0_0;
|
|
23978
24171
|
let deferred0_1;
|
|
23979
24172
|
try {
|
|
@@ -23985,7 +24178,7 @@ function __wbg_get_imports() {
|
|
|
23985
24178
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23986
24179
|
}
|
|
23987
24180
|
},
|
|
23988
|
-
|
|
24181
|
+
__wbg_getSyncHeight_3bfc3eb6e40e3e97: function(arg0, arg1) {
|
|
23989
24182
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
23990
24183
|
return ret;
|
|
23991
24184
|
},
|
|
@@ -23993,15 +24186,15 @@ function __wbg_get_imports() {
|
|
|
23993
24186
|
const ret = arg0.getTime();
|
|
23994
24187
|
return ret;
|
|
23995
24188
|
},
|
|
23996
|
-
|
|
24189
|
+
__wbg_getTrackedBlockHeaderNumbers_2dee370065038781: function(arg0, arg1) {
|
|
23997
24190
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
23998
24191
|
return ret;
|
|
23999
24192
|
},
|
|
24000
|
-
|
|
24193
|
+
__wbg_getTrackedBlockHeaders_18d50e64219e9864: function(arg0, arg1) {
|
|
24001
24194
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24002
24195
|
return ret;
|
|
24003
24196
|
},
|
|
24004
|
-
|
|
24197
|
+
__wbg_getTransactions_ad8d5fe25611a846: function(arg0, arg1, arg2, arg3) {
|
|
24005
24198
|
let deferred0_0;
|
|
24006
24199
|
let deferred0_1;
|
|
24007
24200
|
try {
|
|
@@ -24013,7 +24206,7 @@ function __wbg_get_imports() {
|
|
|
24013
24206
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24014
24207
|
}
|
|
24015
24208
|
},
|
|
24016
|
-
|
|
24209
|
+
__wbg_getUnspentInputNoteNullifiers_ebaf421fc0015fa2: function(arg0, arg1) {
|
|
24017
24210
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24018
24211
|
return ret;
|
|
24019
24212
|
},
|
|
@@ -24057,7 +24250,7 @@ function __wbg_get_imports() {
|
|
|
24057
24250
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24058
24251
|
return ret;
|
|
24059
24252
|
},
|
|
24060
|
-
|
|
24253
|
+
__wbg_insertAccountAddress_a51e79c880ced1cf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24061
24254
|
let deferred0_0;
|
|
24062
24255
|
let deferred0_1;
|
|
24063
24256
|
try {
|
|
@@ -24071,7 +24264,7 @@ function __wbg_get_imports() {
|
|
|
24071
24264
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24072
24265
|
}
|
|
24073
24266
|
},
|
|
24074
|
-
|
|
24267
|
+
__wbg_insertAccountAuth_b3858458a03809ae: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24075
24268
|
let deferred0_0;
|
|
24076
24269
|
let deferred0_1;
|
|
24077
24270
|
let deferred1_0;
|
|
@@ -24088,7 +24281,7 @@ function __wbg_get_imports() {
|
|
|
24088
24281
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24089
24282
|
}
|
|
24090
24283
|
},
|
|
24091
|
-
|
|
24284
|
+
__wbg_insertAccountKeyMapping_fbbf855438446c03: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24092
24285
|
let deferred0_0;
|
|
24093
24286
|
let deferred0_1;
|
|
24094
24287
|
let deferred1_0;
|
|
@@ -24105,13 +24298,13 @@ function __wbg_get_imports() {
|
|
|
24105
24298
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24106
24299
|
}
|
|
24107
24300
|
},
|
|
24108
|
-
|
|
24301
|
+
__wbg_insertBlockHeader_5536ebc96b4798c2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24109
24302
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24110
24303
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24111
24304
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24112
24305
|
return ret;
|
|
24113
24306
|
},
|
|
24114
|
-
|
|
24307
|
+
__wbg_insertPartialBlockchainNodes_c23a7fa71eb012cb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24115
24308
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24116
24309
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24117
24310
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24119,7 +24312,7 @@ function __wbg_get_imports() {
|
|
|
24119
24312
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24120
24313
|
return ret;
|
|
24121
24314
|
},
|
|
24122
|
-
|
|
24315
|
+
__wbg_insertSetting_8c97168fca4bc5c5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24123
24316
|
let deferred0_0;
|
|
24124
24317
|
let deferred0_1;
|
|
24125
24318
|
try {
|
|
@@ -24133,7 +24326,7 @@ function __wbg_get_imports() {
|
|
|
24133
24326
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24134
24327
|
}
|
|
24135
24328
|
},
|
|
24136
|
-
|
|
24329
|
+
__wbg_insertTransactionScript_1659a26e7d4e8b52: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24137
24330
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24138
24331
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24139
24332
|
let v1;
|
|
@@ -24230,11 +24423,11 @@ function __wbg_get_imports() {
|
|
|
24230
24423
|
const ret = arg0.length;
|
|
24231
24424
|
return ret;
|
|
24232
24425
|
},
|
|
24233
|
-
|
|
24426
|
+
__wbg_listSettingKeys_56269e70dbc1174c: function(arg0, arg1) {
|
|
24234
24427
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24235
24428
|
return ret;
|
|
24236
24429
|
},
|
|
24237
|
-
|
|
24430
|
+
__wbg_lockAccount_cd84affa0a834358: function(arg0, arg1, arg2, arg3) {
|
|
24238
24431
|
let deferred0_0;
|
|
24239
24432
|
let deferred0_1;
|
|
24240
24433
|
try {
|
|
@@ -24322,7 +24515,7 @@ function __wbg_get_imports() {
|
|
|
24322
24515
|
const a = state0.a;
|
|
24323
24516
|
state0.a = 0;
|
|
24324
24517
|
try {
|
|
24325
|
-
return
|
|
24518
|
+
return wasm_bindgen__convert__closures_____invoke__h27981db70122c447(a, state0.b, arg0, arg1);
|
|
24326
24519
|
} finally {
|
|
24327
24520
|
state0.a = a;
|
|
24328
24521
|
}
|
|
@@ -24433,7 +24626,7 @@ function __wbg_get_imports() {
|
|
|
24433
24626
|
const ret = NoteTag.__unwrap(arg0);
|
|
24434
24627
|
return ret;
|
|
24435
24628
|
},
|
|
24436
|
-
|
|
24629
|
+
__wbg_openDatabase_17981eba13e00fdc: function(arg0, arg1, arg2, arg3) {
|
|
24437
24630
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
24438
24631
|
return ret;
|
|
24439
24632
|
},
|
|
@@ -24464,7 +24657,7 @@ function __wbg_get_imports() {
|
|
|
24464
24657
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
24465
24658
|
return ret;
|
|
24466
24659
|
},
|
|
24467
|
-
|
|
24660
|
+
__wbg_pruneAccountHistory_e0d6394c134a165c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24468
24661
|
let deferred0_0;
|
|
24469
24662
|
let deferred0_1;
|
|
24470
24663
|
let deferred1_0;
|
|
@@ -24481,7 +24674,7 @@ function __wbg_get_imports() {
|
|
|
24481
24674
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24482
24675
|
}
|
|
24483
24676
|
},
|
|
24484
|
-
|
|
24677
|
+
__wbg_pruneIrrelevantBlocks_eb1f447cdba825b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24485
24678
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24486
24679
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24487
24680
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24489,6 +24682,10 @@ function __wbg_get_imports() {
|
|
|
24489
24682
|
const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24490
24683
|
return ret;
|
|
24491
24684
|
},
|
|
24685
|
+
__wbg_pswaplineagerecord_new: function(arg0) {
|
|
24686
|
+
const ret = PswapLineageRecord.__wrap(arg0);
|
|
24687
|
+
return ret;
|
|
24688
|
+
},
|
|
24492
24689
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
24493
24690
|
const ret = arg0.queueMicrotask;
|
|
24494
24691
|
return ret;
|
|
@@ -24503,13 +24700,13 @@ function __wbg_get_imports() {
|
|
|
24503
24700
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
24504
24701
|
arg0.releaseLock();
|
|
24505
24702
|
},
|
|
24506
|
-
|
|
24703
|
+
__wbg_removeAccountAddress_af59fd21bdac1724: function(arg0, arg1, arg2, arg3) {
|
|
24507
24704
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24508
24705
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24509
24706
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
24510
24707
|
return ret;
|
|
24511
24708
|
},
|
|
24512
|
-
|
|
24709
|
+
__wbg_removeAccountAuth_0a826954671c4b14: function(arg0, arg1, arg2, arg3) {
|
|
24513
24710
|
let deferred0_0;
|
|
24514
24711
|
let deferred0_1;
|
|
24515
24712
|
try {
|
|
@@ -24521,7 +24718,7 @@ function __wbg_get_imports() {
|
|
|
24521
24718
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24522
24719
|
}
|
|
24523
24720
|
},
|
|
24524
|
-
|
|
24721
|
+
__wbg_removeAllMappingsForKey_a3c019a389bb16b1: function(arg0, arg1, arg2, arg3) {
|
|
24525
24722
|
let deferred0_0;
|
|
24526
24723
|
let deferred0_1;
|
|
24527
24724
|
try {
|
|
@@ -24533,7 +24730,7 @@ function __wbg_get_imports() {
|
|
|
24533
24730
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24534
24731
|
}
|
|
24535
24732
|
},
|
|
24536
|
-
|
|
24733
|
+
__wbg_removeNoteTag_8002568485e57cc5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24537
24734
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24538
24735
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24539
24736
|
let v1;
|
|
@@ -24554,7 +24751,7 @@ function __wbg_get_imports() {
|
|
|
24554
24751
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
24555
24752
|
return ret;
|
|
24556
24753
|
},
|
|
24557
|
-
|
|
24754
|
+
__wbg_removeSetting_d7d4e7bac50b96f6: function(arg0, arg1, arg2, arg3) {
|
|
24558
24755
|
let deferred0_0;
|
|
24559
24756
|
let deferred0_1;
|
|
24560
24757
|
try {
|
|
@@ -24754,13 +24951,13 @@ function __wbg_get_imports() {
|
|
|
24754
24951
|
const ret = TransactionSummary.__wrap(arg0);
|
|
24755
24952
|
return ret;
|
|
24756
24953
|
},
|
|
24757
|
-
|
|
24954
|
+
__wbg_undoAccountStates_2612c0beaf8bd1b8: function(arg0, arg1, arg2, arg3) {
|
|
24758
24955
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24759
24956
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24760
24957
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
24761
24958
|
return ret;
|
|
24762
24959
|
},
|
|
24763
|
-
|
|
24960
|
+
__wbg_upsertAccountCode_90bc45f9056d9a65: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24764
24961
|
let deferred0_0;
|
|
24765
24962
|
let deferred0_1;
|
|
24766
24963
|
try {
|
|
@@ -24774,7 +24971,7 @@ function __wbg_get_imports() {
|
|
|
24774
24971
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24775
24972
|
}
|
|
24776
24973
|
},
|
|
24777
|
-
|
|
24974
|
+
__wbg_upsertAccountRecord_07018035c7fcd8e9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
24778
24975
|
let deferred0_0;
|
|
24779
24976
|
let deferred0_1;
|
|
24780
24977
|
let deferred1_0;
|
|
@@ -24816,7 +25013,7 @@ function __wbg_get_imports() {
|
|
|
24816
25013
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
24817
25014
|
}
|
|
24818
25015
|
},
|
|
24819
|
-
|
|
25016
|
+
__wbg_upsertAccountStorage_6c49335faf715063: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24820
25017
|
let deferred0_0;
|
|
24821
25018
|
let deferred0_1;
|
|
24822
25019
|
try {
|
|
@@ -24830,7 +25027,7 @@ function __wbg_get_imports() {
|
|
|
24830
25027
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24831
25028
|
}
|
|
24832
25029
|
},
|
|
24833
|
-
|
|
25030
|
+
__wbg_upsertForeignAccountCode_6884ddcc23079909: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
24834
25031
|
let deferred0_0;
|
|
24835
25032
|
let deferred0_1;
|
|
24836
25033
|
let deferred2_0;
|
|
@@ -24849,7 +25046,7 @@ function __wbg_get_imports() {
|
|
|
24849
25046
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
24850
25047
|
}
|
|
24851
25048
|
},
|
|
24852
|
-
|
|
25049
|
+
__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) {
|
|
24853
25050
|
let deferred0_0;
|
|
24854
25051
|
let deferred0_1;
|
|
24855
25052
|
let deferred6_0;
|
|
@@ -24898,7 +25095,7 @@ function __wbg_get_imports() {
|
|
|
24898
25095
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
24899
25096
|
}
|
|
24900
25097
|
},
|
|
24901
|
-
|
|
25098
|
+
__wbg_upsertNoteScript_8cb185364b8b811c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24902
25099
|
let deferred0_0;
|
|
24903
25100
|
let deferred0_1;
|
|
24904
25101
|
try {
|
|
@@ -24912,7 +25109,7 @@ function __wbg_get_imports() {
|
|
|
24912
25109
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24913
25110
|
}
|
|
24914
25111
|
},
|
|
24915
|
-
|
|
25112
|
+
__wbg_upsertOutputNote_28a007cae68c5f83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
24916
25113
|
let deferred0_0;
|
|
24917
25114
|
let deferred0_1;
|
|
24918
25115
|
let deferred1_0;
|
|
@@ -24947,7 +25144,7 @@ function __wbg_get_imports() {
|
|
|
24947
25144
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
24948
25145
|
}
|
|
24949
25146
|
},
|
|
24950
|
-
|
|
25147
|
+
__wbg_upsertStorageMapEntries_7c81b5bca7ee1c50: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24951
25148
|
let deferred0_0;
|
|
24952
25149
|
let deferred0_1;
|
|
24953
25150
|
try {
|
|
@@ -24961,7 +25158,7 @@ function __wbg_get_imports() {
|
|
|
24961
25158
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24962
25159
|
}
|
|
24963
25160
|
},
|
|
24964
|
-
|
|
25161
|
+
__wbg_upsertTransactionRecord_b80c9a5ba744de46: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
24965
25162
|
let deferred0_0;
|
|
24966
25163
|
let deferred0_1;
|
|
24967
25164
|
try {
|
|
@@ -24982,7 +25179,7 @@ function __wbg_get_imports() {
|
|
|
24982
25179
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24983
25180
|
}
|
|
24984
25181
|
},
|
|
24985
|
-
|
|
25182
|
+
__wbg_upsertVaultAssets_d2dccc19a14a6eb7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24986
25183
|
let deferred0_0;
|
|
24987
25184
|
let deferred0_1;
|
|
24988
25185
|
try {
|
|
@@ -25013,13 +25210,13 @@ function __wbg_get_imports() {
|
|
|
25013
25210
|
return ret;
|
|
25014
25211
|
},
|
|
25015
25212
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25016
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25017
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25213
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 447, function: Function { arguments: [Externref], shim_idx: 797, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25214
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92);
|
|
25018
25215
|
return ret;
|
|
25019
25216
|
},
|
|
25020
25217
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25021
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25022
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
25218
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 447, function: Function { arguments: [], shim_idx: 448, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25219
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442);
|
|
25023
25220
|
return ret;
|
|
25024
25221
|
},
|
|
25025
25222
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -25082,25 +25279,32 @@ function __wbg_get_imports() {
|
|
|
25082
25279
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
25083
25280
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25084
25281
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25085
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
25282
|
+
// Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
|
|
25086
25283
|
const ret = v0;
|
|
25087
25284
|
return ret;
|
|
25088
25285
|
},
|
|
25089
25286
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
25090
25287
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25091
25288
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25092
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
25289
|
+
// Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
|
|
25093
25290
|
const ret = v0;
|
|
25094
25291
|
return ret;
|
|
25095
25292
|
},
|
|
25096
25293
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
25097
25294
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25098
25295
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25099
|
-
// Cast intrinsic for `Vector(NamedExternref("
|
|
25296
|
+
// Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
|
|
25100
25297
|
const ret = v0;
|
|
25101
25298
|
return ret;
|
|
25102
25299
|
},
|
|
25103
25300
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
25301
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
25302
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
25303
|
+
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
25304
|
+
const ret = v0;
|
|
25305
|
+
return ret;
|
|
25306
|
+
},
|
|
25307
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
25104
25308
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
25105
25309
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
25106
25310
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -25123,16 +25327,16 @@ function __wbg_get_imports() {
|
|
|
25123
25327
|
};
|
|
25124
25328
|
}
|
|
25125
25329
|
|
|
25126
|
-
function
|
|
25127
|
-
wasm.
|
|
25330
|
+
function wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442(arg0, arg1) {
|
|
25331
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442(arg0, arg1);
|
|
25128
25332
|
}
|
|
25129
25333
|
|
|
25130
|
-
function
|
|
25131
|
-
wasm.
|
|
25334
|
+
function wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92(arg0, arg1, arg2) {
|
|
25335
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92(arg0, arg1, arg2);
|
|
25132
25336
|
}
|
|
25133
25337
|
|
|
25134
|
-
function
|
|
25135
|
-
wasm.
|
|
25338
|
+
function wasm_bindgen__convert__closures_____invoke__h27981db70122c447(arg0, arg1, arg2, arg3) {
|
|
25339
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h27981db70122c447(arg0, arg1, arg2, arg3);
|
|
25136
25340
|
}
|
|
25137
25341
|
|
|
25138
25342
|
|
|
@@ -25452,6 +25656,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
25452
25656
|
const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25453
25657
|
? { register: () => {}, unregister: () => {} }
|
|
25454
25658
|
: new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
|
|
25659
|
+
const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25660
|
+
? { register: () => {}, unregister: () => {} }
|
|
25661
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
|
|
25455
25662
|
const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25456
25663
|
? { register: () => {}, unregister: () => {} }
|
|
25457
25664
|
: new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
|
|
@@ -25943,5 +26150,5 @@ async function __wbg_init(module_or_path) {
|
|
|
25943
26150
|
}
|
|
25944
26151
|
|
|
25945
26152
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
25946
|
-
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
|
|
25947
|
-
//# sourceMappingURL=Cargo-
|
|
26153
|
+
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
|
|
26154
|
+
//# sourceMappingURL=Cargo-Dlo4tWNG.js.map
|