saito-wasm 0.2.216 → 0.2.217
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/Cargo.toml +1 -1
- package/package.json +1 -1
- package/pkg/node/index.js +26 -26
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +141 -141
- package/pkg/web/index.d.ts +141 -141
- package/pkg/web/index.js +26 -26
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +141 -141
- /package/pkg/node/snippets/{saito-wasm-6f0d7eaf8e3ba0d1 → saito-wasm-7de9aada77250c58}/js/msg_handler.js +0 -0
- /package/pkg/web/snippets/{saito-wasm-6f0d7eaf8e3ba0d1 → saito-wasm-7de9aada77250c58}/js/msg_handler.js +0 -0
package/Cargo.toml
CHANGED
package/package.json
CHANGED
package/pkg/node/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @ts-self-types="./index.d.ts" */
|
|
2
2
|
|
|
3
3
|
//#region js imports
|
|
4
|
-
const { MsgHandler } = require(String.raw`./snippets/saito-wasm-
|
|
4
|
+
const { MsgHandler } = require(String.raw`./snippets/saito-wasm-7de9aada77250c58/js/msg_handler.js`);
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
7
|
|
|
@@ -3413,7 +3413,7 @@ function __wbg_get_imports() {
|
|
|
3413
3413
|
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function() { return logError(function (arg0) {
|
|
3414
3414
|
arg0._wbg_cb_unref();
|
|
3415
3415
|
}, arguments); },
|
|
3416
|
-
|
|
3416
|
+
__wbg_append_value_2670186d78e6db26: function() { return logError(function (arg0, arg1, arg2) {
|
|
3417
3417
|
let deferred0_0;
|
|
3418
3418
|
let deferred0_1;
|
|
3419
3419
|
try {
|
|
@@ -3440,7 +3440,7 @@ function __wbg_get_imports() {
|
|
|
3440
3440
|
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
3441
3441
|
return ret;
|
|
3442
3442
|
}, arguments); },
|
|
3443
|
-
|
|
3443
|
+
__wbg_connect_to_peer_803cdc6774b3d40e: function() { return handleError(function (arg0, arg1) {
|
|
3444
3444
|
let deferred0_0;
|
|
3445
3445
|
let deferred0_1;
|
|
3446
3446
|
try {
|
|
@@ -3463,7 +3463,7 @@ function __wbg_get_imports() {
|
|
|
3463
3463
|
__wbg_debug_271c16e6de0bc226: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
3464
3464
|
console.debug(arg0, arg1, arg2, arg3);
|
|
3465
3465
|
}, arguments); },
|
|
3466
|
-
|
|
3466
|
+
__wbg_disconnect_from_peer_c2db519073140b53: function() { return handleError(function (arg0, arg1) {
|
|
3467
3467
|
let deferred0_0;
|
|
3468
3468
|
let deferred0_1;
|
|
3469
3469
|
try {
|
|
@@ -3480,7 +3480,7 @@ function __wbg_get_imports() {
|
|
|
3480
3480
|
_assertBoolean(ret);
|
|
3481
3481
|
return ret;
|
|
3482
3482
|
}, arguments); },
|
|
3483
|
-
|
|
3483
|
+
__wbg_ensure_directory_exists_fa115ac42aeb540a: function() { return handleError(function (arg0, arg1) {
|
|
3484
3484
|
let deferred0_0;
|
|
3485
3485
|
let deferred0_1;
|
|
3486
3486
|
try {
|
|
@@ -3505,7 +3505,7 @@ function __wbg_get_imports() {
|
|
|
3505
3505
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3506
3506
|
}
|
|
3507
3507
|
}, arguments); },
|
|
3508
|
-
|
|
3508
|
+
__wbg_fetch_block_from_peer_eddf8b5c3df9e3f9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3509
3509
|
let deferred0_0;
|
|
3510
3510
|
let deferred0_1;
|
|
3511
3511
|
let deferred1_0;
|
|
@@ -3522,7 +3522,7 @@ function __wbg_get_imports() {
|
|
|
3522
3522
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3523
3523
|
}
|
|
3524
3524
|
}, arguments); },
|
|
3525
|
-
|
|
3525
|
+
__wbg_flush_data_6fe7510a15680f58: function() { return logError(function (arg0, arg1) {
|
|
3526
3526
|
let deferred0_0;
|
|
3527
3527
|
let deferred0_1;
|
|
3528
3528
|
try {
|
|
@@ -3544,7 +3544,7 @@ function __wbg_get_imports() {
|
|
|
3544
3544
|
const ret = arg0[arg1 >>> 0];
|
|
3545
3545
|
return ret;
|
|
3546
3546
|
}, arguments); },
|
|
3547
|
-
|
|
3547
|
+
__wbg_get_my_services_6e711e1e3943ca87: function() { return logError(function () {
|
|
3548
3548
|
const ret = MsgHandler.get_my_services();
|
|
3549
3549
|
_assertClass(ret, WasmPeerServiceList);
|
|
3550
3550
|
if (ret.__wbg_ptr === 0) {
|
|
@@ -3591,7 +3591,7 @@ function __wbg_get_imports() {
|
|
|
3591
3591
|
_assertBoolean(ret);
|
|
3592
3592
|
return ret;
|
|
3593
3593
|
}, arguments); },
|
|
3594
|
-
|
|
3594
|
+
__wbg_is_existing_file_c4e2671243b5c8e1: function() { return handleError(function (arg0, arg1) {
|
|
3595
3595
|
let deferred0_0;
|
|
3596
3596
|
let deferred0_1;
|
|
3597
3597
|
try {
|
|
@@ -3622,11 +3622,11 @@ function __wbg_get_imports() {
|
|
|
3622
3622
|
_assertNum(ret);
|
|
3623
3623
|
return ret;
|
|
3624
3624
|
}, arguments); },
|
|
3625
|
-
|
|
3625
|
+
__wbg_load_block_file_list_dc57aebdd8699227: function() { return handleError(function () {
|
|
3626
3626
|
const ret = MsgHandler.load_block_file_list();
|
|
3627
3627
|
return ret;
|
|
3628
3628
|
}, arguments); },
|
|
3629
|
-
|
|
3629
|
+
__wbg_load_wallet_8e6ce4f5cdb3e77c: function() { return logError(function () {
|
|
3630
3630
|
MsgHandler.load_wallet();
|
|
3631
3631
|
}, arguments); },
|
|
3632
3632
|
__wbg_msCrypto_bcce18ddb1ca6c2d: function() { return logError(function (arg0) {
|
|
@@ -3695,7 +3695,7 @@ function __wbg_get_imports() {
|
|
|
3695
3695
|
const ret = Date.now();
|
|
3696
3696
|
return ret;
|
|
3697
3697
|
}, arguments); },
|
|
3698
|
-
|
|
3698
|
+
__wbg_process_api_call_0c5e892c4428d88f: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
3699
3699
|
let deferred0_0;
|
|
3700
3700
|
let deferred0_1;
|
|
3701
3701
|
try {
|
|
@@ -3706,7 +3706,7 @@ function __wbg_get_imports() {
|
|
|
3706
3706
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3707
3707
|
}
|
|
3708
3708
|
}, arguments); },
|
|
3709
|
-
|
|
3709
|
+
__wbg_process_api_error_f7c6f06339b7ad50: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
3710
3710
|
let deferred0_0;
|
|
3711
3711
|
let deferred0_1;
|
|
3712
3712
|
try {
|
|
@@ -3717,7 +3717,7 @@ function __wbg_get_imports() {
|
|
|
3717
3717
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3718
3718
|
}
|
|
3719
3719
|
}, arguments); },
|
|
3720
|
-
|
|
3720
|
+
__wbg_process_api_success_38be709e3af30a51: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
3721
3721
|
let deferred0_0;
|
|
3722
3722
|
let deferred0_1;
|
|
3723
3723
|
try {
|
|
@@ -3753,7 +3753,7 @@ function __wbg_get_imports() {
|
|
|
3753
3753
|
__wbg_randomFillSync_143a36904a882f2a: function() { return handleError(function (arg0, arg1) {
|
|
3754
3754
|
arg0.randomFillSync(arg1);
|
|
3755
3755
|
}, arguments); },
|
|
3756
|
-
|
|
3756
|
+
__wbg_read_value_cd11b222a18e2169: function() { return handleError(function (arg0, arg1) {
|
|
3757
3757
|
let deferred0_0;
|
|
3758
3758
|
let deferred0_1;
|
|
3759
3759
|
try {
|
|
@@ -3765,7 +3765,7 @@ function __wbg_get_imports() {
|
|
|
3765
3765
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3766
3766
|
}
|
|
3767
3767
|
}, arguments); },
|
|
3768
|
-
|
|
3768
|
+
__wbg_remove_value_f458f18aa955c098: function() { return handleError(function (arg0, arg1) {
|
|
3769
3769
|
let deferred0_0;
|
|
3770
3770
|
let deferred0_1;
|
|
3771
3771
|
try {
|
|
@@ -3808,13 +3808,13 @@ function __wbg_get_imports() {
|
|
|
3808
3808
|
const ret = SaitoWasm.__wrap(arg0);
|
|
3809
3809
|
return ret;
|
|
3810
3810
|
}, arguments); },
|
|
3811
|
-
|
|
3811
|
+
__wbg_save_wallet_41482d2206f59bc1: function() { return logError(function () {
|
|
3812
3812
|
MsgHandler.save_wallet();
|
|
3813
3813
|
}, arguments); },
|
|
3814
|
-
|
|
3814
|
+
__wbg_send_block_fetch_status_event_13b433954d1df5d9: function() { return logError(function (arg0) {
|
|
3815
3815
|
MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
|
|
3816
3816
|
}, arguments); },
|
|
3817
|
-
|
|
3817
|
+
__wbg_send_block_success_fe478c0a78ad3638: function() { return logError(function (arg0, arg1, arg2) {
|
|
3818
3818
|
let deferred0_0;
|
|
3819
3819
|
let deferred0_1;
|
|
3820
3820
|
try {
|
|
@@ -3825,7 +3825,7 @@ function __wbg_get_imports() {
|
|
|
3825
3825
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3826
3826
|
}
|
|
3827
3827
|
}, arguments); },
|
|
3828
|
-
|
|
3828
|
+
__wbg_send_interface_event_8cafbd77102ae5e4: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
3829
3829
|
let deferred0_0;
|
|
3830
3830
|
let deferred0_1;
|
|
3831
3831
|
let deferred1_0;
|
|
@@ -3841,7 +3841,7 @@ function __wbg_get_imports() {
|
|
|
3841
3841
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3842
3842
|
}
|
|
3843
3843
|
}, arguments); },
|
|
3844
|
-
|
|
3844
|
+
__wbg_send_message_0f13bc469592b873: function() { return logError(function (arg0, arg1, arg2) {
|
|
3845
3845
|
let deferred0_0;
|
|
3846
3846
|
let deferred0_1;
|
|
3847
3847
|
try {
|
|
@@ -3852,13 +3852,13 @@ function __wbg_get_imports() {
|
|
|
3852
3852
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3853
3853
|
}
|
|
3854
3854
|
}, arguments); },
|
|
3855
|
-
|
|
3855
|
+
__wbg_send_message_to_all_e6655744703d702a: function() { return logError(function (arg0, arg1) {
|
|
3856
3856
|
MsgHandler.send_message_to_all(arg0, arg1);
|
|
3857
3857
|
}, arguments); },
|
|
3858
|
-
|
|
3858
|
+
__wbg_send_new_chain_detected_event_719ccccb3cb595c3: function() { return logError(function () {
|
|
3859
3859
|
MsgHandler.send_new_chain_detected_event();
|
|
3860
3860
|
}, arguments); },
|
|
3861
|
-
|
|
3861
|
+
__wbg_send_new_version_alert_bbff91fd1a1705ae: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
3862
3862
|
let deferred0_0;
|
|
3863
3863
|
let deferred0_1;
|
|
3864
3864
|
let deferred1_0;
|
|
@@ -3874,7 +3874,7 @@ function __wbg_get_imports() {
|
|
|
3874
3874
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3875
3875
|
}
|
|
3876
3876
|
}, arguments); },
|
|
3877
|
-
|
|
3877
|
+
__wbg_send_wallet_update_62ac374a27fb020a: function() { return logError(function () {
|
|
3878
3878
|
MsgHandler.send_wallet_update();
|
|
3879
3879
|
}, arguments); },
|
|
3880
3880
|
__wbg_set_282384002438957f: function() { return logError(function (arg0, arg1, arg2) {
|
|
@@ -3985,7 +3985,7 @@ function __wbg_get_imports() {
|
|
|
3985
3985
|
const ret = WasmWalletSlip.__wrap(arg0);
|
|
3986
3986
|
return ret;
|
|
3987
3987
|
}, arguments); },
|
|
3988
|
-
|
|
3988
|
+
__wbg_write_value_255d7d908a119935: function() { return logError(function (arg0, arg1, arg2) {
|
|
3989
3989
|
let deferred0_0;
|
|
3990
3990
|
let deferred0_1;
|
|
3991
3991
|
try {
|
package/pkg/node/index_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_wasmnft_free: (a: number, b: number) => void;
|
|
5
|
+
export const wasmnft_id: (a: number) => any;
|
|
6
|
+
export const wasmnft_new: () => number;
|
|
7
|
+
export const wasmnft_set_id: (a: number, b: any) => void;
|
|
8
|
+
export const wasmnft_set_slip1: (a: number, b: number) => void;
|
|
9
|
+
export const wasmnft_set_slip2: (a: number, b: number) => void;
|
|
10
|
+
export const wasmnft_set_slip3: (a: number, b: number) => void;
|
|
11
|
+
export const wasmnft_set_tx_sig: (a: number, b: any) => void;
|
|
12
|
+
export const wasmnft_slip1: (a: number) => number;
|
|
13
|
+
export const wasmnft_slip2: (a: number) => number;
|
|
14
|
+
export const wasmnft_slip3: (a: number) => number;
|
|
15
|
+
export const wasmnft_tx_sig: (a: number) => any;
|
|
16
|
+
export const __wbg_wasmstats_free: (a: number, b: number) => void;
|
|
4
17
|
export const __wbg_wasmconsensusvalues_free: (a: number, b: number) => void;
|
|
5
18
|
export const wasmconsensusvalues_avg_income: (a: number) => bigint;
|
|
6
19
|
export const wasmconsensusvalues_avg_total_fees: (a: number) => bigint;
|
|
@@ -17,132 +30,18 @@ export const wasmconsensusvalues_total_rebroadcast_fees_nolan: (a: number) => bi
|
|
|
17
30
|
export const wasmconsensusvalues_total_rebroadcast_nolan: (a: number) => bigint;
|
|
18
31
|
export const wasmconsensusvalues_total_rebroadcast_slips: (a: number) => bigint;
|
|
19
32
|
export const wasmconsensusvalues_total_rebroadcast_staking_payouts_nolan: (a: number) => bigint;
|
|
20
|
-
export const __wbg_wasmblockchain_free: (a: number, b: number) => void;
|
|
21
|
-
export const wasmblockchain_get_block_confirmation_limit: (a: number) => any;
|
|
22
|
-
export const wasmblockchain_get_fork_id: (a: number) => any;
|
|
23
|
-
export const wasmblockchain_get_genesis_block_id: (a: number) => any;
|
|
24
|
-
export const wasmblockchain_get_genesis_timestamp: (a: number) => any;
|
|
25
|
-
export const wasmblockchain_get_hashes_at_id: (a: number, b: bigint) => any;
|
|
26
|
-
export const wasmblockchain_get_last_block_hash: (a: number) => any;
|
|
27
|
-
export const wasmblockchain_get_last_block_id: (a: number) => any;
|
|
28
|
-
export const wasmblockchain_get_last_burnfee: (a: number) => any;
|
|
29
|
-
export const wasmblockchain_get_last_timestamp: (a: number) => any;
|
|
30
|
-
export const wasmblockchain_get_latest_block_id: (a: number) => any;
|
|
31
|
-
export const wasmblockchain_get_longest_chain_hash_at: (a: number, b: bigint) => any;
|
|
32
|
-
export const wasmblockchain_get_longest_chain_hash_at_id: (a: number, b: bigint) => any;
|
|
33
|
-
export const wasmblockchain_get_lowest_acceptable_block_hash: (a: number) => any;
|
|
34
|
-
export const wasmblockchain_get_lowest_acceptable_block_id: (a: number) => any;
|
|
35
|
-
export const wasmblockchain_get_lowest_acceptable_timestamp: (a: number) => any;
|
|
36
|
-
export const wasmblockchain_get_prune_after_blocks: (a: number) => any;
|
|
37
|
-
export const wasmblockchain_is_slip_spendable: (a: number, b: any) => any;
|
|
38
|
-
export const wasmblockchain_register_callback: (a: number, b: any, c: any, d: any) => any;
|
|
39
|
-
export const wasmblockchain_reset: (a: number) => any;
|
|
40
|
-
export const wasmblockchain_set_fork_id: (a: number, b: any) => any;
|
|
41
|
-
export const wasmblockchain_set_safe_to_prune_transaction: (a: number, b: bigint) => any;
|
|
42
|
-
export const __wbg_wasmbalancesnapshot_free: (a: number, b: number) => void;
|
|
43
|
-
export const wasmbalancesnapshot_from_string: (a: any) => [number, number, number];
|
|
44
|
-
export const wasmbalancesnapshot_get_entries: (a: number) => any;
|
|
45
|
-
export const wasmbalancesnapshot_get_file_name: (a: number) => any;
|
|
46
|
-
export const wasmbalancesnapshot_to_string: (a: number) => any;
|
|
47
|
-
export const __wbg_wasmnft_free: (a: number, b: number) => void;
|
|
48
|
-
export const wasmnft_id: (a: number) => any;
|
|
49
|
-
export const wasmnft_new: () => number;
|
|
50
|
-
export const wasmnft_set_id: (a: number, b: any) => void;
|
|
51
|
-
export const wasmnft_set_slip1: (a: number, b: number) => void;
|
|
52
|
-
export const wasmnft_set_slip2: (a: number, b: number) => void;
|
|
53
|
-
export const wasmnft_set_slip3: (a: number, b: number) => void;
|
|
54
|
-
export const wasmnft_set_tx_sig: (a: number, b: any) => void;
|
|
55
|
-
export const wasmnft_slip1: (a: number) => number;
|
|
56
|
-
export const wasmnft_slip2: (a: number) => number;
|
|
57
|
-
export const wasmnft_slip3: (a: number) => number;
|
|
58
|
-
export const wasmnft_tx_sig: (a: number) => any;
|
|
59
|
-
export const __wbg_wasmstats_free: (a: number, b: number) => void;
|
|
60
|
-
export const __wbg_wasmblock_free: (a: number, b: number) => void;
|
|
61
|
-
export const wasmblock_avg_fee_per_byte: (a: number) => bigint;
|
|
62
|
-
export const wasmblock_avg_income: (a: number) => bigint;
|
|
63
|
-
export const wasmblock_avg_nolan_rebroadcast_per_block: (a: number) => bigint;
|
|
64
|
-
export const wasmblock_avg_payout_atr: (a: number) => bigint;
|
|
65
|
-
export const wasmblock_avg_payout_graveyard: (a: number) => bigint;
|
|
66
|
-
export const wasmblock_avg_payout_mining: (a: number) => bigint;
|
|
67
|
-
export const wasmblock_avg_payout_routing: (a: number) => bigint;
|
|
68
|
-
export const wasmblock_avg_payout_treasury: (a: number) => bigint;
|
|
69
|
-
export const wasmblock_avg_total_fees: (a: number) => bigint;
|
|
70
|
-
export const wasmblock_avg_total_fees_atr: (a: number) => bigint;
|
|
71
|
-
export const wasmblock_avg_total_fees_new: (a: number) => bigint;
|
|
72
|
-
export const wasmblock_burnfee: (a: number) => bigint;
|
|
73
|
-
export const wasmblock_deserialize: (a: number, b: any) => [number, number, number];
|
|
74
|
-
export const wasmblock_difficulty: (a: number) => bigint;
|
|
75
|
-
export const wasmblock_fee_per_byte: (a: number) => bigint;
|
|
76
|
-
export const wasmblock_fee_transaction_index: (a: number) => bigint;
|
|
77
|
-
export const wasmblock_force_loaded: (a: number) => number;
|
|
78
|
-
export const wasmblock_generate_lite_block: (a: number, b: any) => number;
|
|
79
|
-
export const wasmblock_get_creator: (a: number) => any;
|
|
80
|
-
export const wasmblock_get_file_name: (a: number) => any;
|
|
81
|
-
export const wasmblock_get_hash: (a: number) => any;
|
|
82
|
-
export const wasmblock_get_id: (a: number) => bigint;
|
|
83
|
-
export const wasmblock_get_previous_block_hash: (a: number) => any;
|
|
84
|
-
export const wasmblock_get_timestamp: (a: number) => bigint;
|
|
85
|
-
export const wasmblock_get_transactions: (a: number) => any;
|
|
86
|
-
export const wasmblock_get_type: (a: number) => number;
|
|
87
|
-
export const wasmblock_golden_ticket_index: (a: number) => bigint;
|
|
88
|
-
export const wasmblock_graveyard: (a: number) => bigint;
|
|
89
|
-
export const wasmblock_has_fee_transaction: (a: number) => number;
|
|
90
|
-
export const wasmblock_has_golden_ticket: (a: number) => number;
|
|
91
|
-
export const wasmblock_has_issuance_transaction: (a: number) => number;
|
|
92
|
-
export const wasmblock_has_keylist_txs: (a: number, b: any) => number;
|
|
93
|
-
export const wasmblock_has_staking_transaction: (a: number) => number;
|
|
94
|
-
export const wasmblock_in_longest_chain: (a: number) => number;
|
|
95
|
-
export const wasmblock_issuance_transaction_index: (a: number) => bigint;
|
|
96
|
-
export const wasmblock_new: () => number;
|
|
97
|
-
export const wasmblock_previous_block_unpaid: (a: number) => bigint;
|
|
98
|
-
export const wasmblock_rebroadcast_hash: (a: number) => any;
|
|
99
|
-
export const wasmblock_serialize: (a: number) => any;
|
|
100
|
-
export const wasmblock_set_creator: (a: number, b: any) => void;
|
|
101
|
-
export const wasmblock_set_id: (a: number, b: bigint) => void;
|
|
102
|
-
export const wasmblock_set_previous_block_hash: (a: number, b: any) => void;
|
|
103
|
-
export const wasmblock_set_timestamp: (a: number, b: bigint) => void;
|
|
104
|
-
export const wasmblock_set_type: (a: number, b: number) => void;
|
|
105
|
-
export const wasmblock_total_fees: (a: number) => bigint;
|
|
106
|
-
export const wasmblock_total_fees_atr: (a: number) => bigint;
|
|
107
|
-
export const wasmblock_total_fees_cumulative: (a: number) => bigint;
|
|
108
|
-
export const wasmblock_total_fees_new: (a: number) => bigint;
|
|
109
|
-
export const wasmblock_total_payout_atr: (a: number) => bigint;
|
|
110
|
-
export const wasmblock_total_payout_graveyard: (a: number) => bigint;
|
|
111
|
-
export const wasmblock_total_payout_mining: (a: number) => bigint;
|
|
112
|
-
export const wasmblock_total_payout_routing: (a: number) => bigint;
|
|
113
|
-
export const wasmblock_total_payout_treasury: (a: number) => bigint;
|
|
114
|
-
export const wasmblock_total_rebroadcast_nolan: (a: number) => bigint;
|
|
115
|
-
export const wasmblock_total_rebroadcast_slips: (a: number) => bigint;
|
|
116
|
-
export const wasmblock_total_work: (a: number) => bigint;
|
|
117
|
-
export const wasmblock_treasury: (a: number) => bigint;
|
|
118
|
-
export const __wbg_wasmslip_free: (a: number, b: number) => void;
|
|
119
|
-
export const wasmslip_amount: (a: number) => bigint;
|
|
120
|
-
export const wasmslip_block_id: (a: number) => bigint;
|
|
121
|
-
export const wasmslip_new: () => number;
|
|
122
|
-
export const wasmslip_parse_slip_from_utxokey: (a: any) => number;
|
|
123
|
-
export const wasmslip_public_key: (a: number) => any;
|
|
124
|
-
export const wasmslip_set_amount: (a: number, b: bigint) => void;
|
|
125
|
-
export const wasmslip_set_block_id: (a: number, b: bigint) => void;
|
|
126
|
-
export const wasmslip_set_public_key: (a: number, b: any) => void;
|
|
127
|
-
export const wasmslip_set_slip_index: (a: number, b: number) => void;
|
|
128
|
-
export const wasmslip_set_slip_type: (a: number, b: number) => void;
|
|
129
|
-
export const wasmslip_set_tx_ordinal: (a: number, b: bigint) => void;
|
|
130
|
-
export const wasmslip_set_utxo_key: (a: number, b: any) => void;
|
|
131
|
-
export const wasmslip_slip_index: (a: number) => number;
|
|
132
|
-
export const wasmslip_slip_type: (a: number) => number;
|
|
133
|
-
export const wasmslip_tx_ordinal: (a: number) => bigint;
|
|
134
|
-
export const wasmslip_utxo_key: (a: number) => any;
|
|
135
|
-
export const __wbg_wasmnetworkpeer_free: (a: number, b: number) => void;
|
|
136
|
-
export const wasmnetworkpeer_get_handshake_challenge_buffer: (a: number) => any;
|
|
137
|
-
export const wasmnetworkpeer_get_public_key: (a: number) => any;
|
|
138
|
-
export const wasmnetworkpeer_get_url: (a: number) => any;
|
|
139
|
-
export const wasmnetworkpeer_new_peer: (a: number, b: number) => number;
|
|
140
33
|
export const __wbg_wasmhop_free: (a: number, b: number) => void;
|
|
141
34
|
export const wasmhop_from: (a: number) => [number, number];
|
|
142
35
|
export const wasmhop_sig: (a: number) => [number, number];
|
|
143
36
|
export const wasmhop_to: (a: number) => [number, number];
|
|
144
|
-
export const
|
|
145
|
-
export const
|
|
37
|
+
export const __wbg_wasmpeer_free: (a: number, b: number) => void;
|
|
38
|
+
export const wasmpeer_get_key_list: (a: number) => any;
|
|
39
|
+
export const wasmpeer_get_public_key: (a: number) => any;
|
|
40
|
+
export const wasmpeer_get_services: (a: number) => any;
|
|
41
|
+
export const wasmpeer_get_status: (a: number) => any;
|
|
42
|
+
export const wasmpeer_get_sync_type: (a: number) => any;
|
|
43
|
+
export const wasmpeer_has_service: (a: number, b: any) => number;
|
|
44
|
+
export const wasmpeer_set_services: (a: number, b: any) => void;
|
|
146
45
|
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
147
46
|
export const wasmtransaction_add_from_slip: (a: number, b: number) => void;
|
|
148
47
|
export const wasmtransaction_add_to_slip: (a: number, b: number) => void;
|
|
@@ -168,25 +67,11 @@ export const wasmtransaction_sign: (a: number) => any;
|
|
|
168
67
|
export const wasmtransaction_signature: (a: number) => any;
|
|
169
68
|
export const wasmtransaction_to: (a: number) => any;
|
|
170
69
|
export const wasmtransaction_total_fees: (a: number) => bigint;
|
|
171
|
-
export const
|
|
172
|
-
export const
|
|
173
|
-
export const
|
|
174
|
-
export const
|
|
175
|
-
export const
|
|
176
|
-
export const wasmpeerservice_new: () => number;
|
|
177
|
-
export const wasmpeerservice_set_domain: (a: number, b: any) => void;
|
|
178
|
-
export const wasmpeerservice_set_name: (a: number, b: any) => void;
|
|
179
|
-
export const wasmpeerservice_set_service: (a: number, b: any) => void;
|
|
180
|
-
export const wasmpeerservicelist_new: () => number;
|
|
181
|
-
export const wasmpeerservicelist_push: (a: number, b: number) => void;
|
|
182
|
-
export const __wbg_wasmpeer_free: (a: number, b: number) => void;
|
|
183
|
-
export const wasmpeer_get_key_list: (a: number) => any;
|
|
184
|
-
export const wasmpeer_get_public_key: (a: number) => any;
|
|
185
|
-
export const wasmpeer_get_services: (a: number) => any;
|
|
186
|
-
export const wasmpeer_get_status: (a: number) => any;
|
|
187
|
-
export const wasmpeer_get_sync_type: (a: number) => any;
|
|
188
|
-
export const wasmpeer_has_service: (a: number, b: any) => number;
|
|
189
|
-
export const wasmpeer_set_services: (a: number, b: any) => void;
|
|
70
|
+
export const __wbg_wasmnetworkpeer_free: (a: number, b: number) => void;
|
|
71
|
+
export const wasmnetworkpeer_get_handshake_challenge_buffer: (a: number) => any;
|
|
72
|
+
export const wasmnetworkpeer_get_public_key: (a: number) => any;
|
|
73
|
+
export const wasmnetworkpeer_get_url: (a: number) => any;
|
|
74
|
+
export const wasmnetworkpeer_new_peer: (a: number, b: number) => number;
|
|
190
75
|
export const __wbg_wasmwallet_free: (a: number, b: number) => void;
|
|
191
76
|
export const __wbg_wasmwalletslip_free: (a: number, b: number) => void;
|
|
192
77
|
export const wasmwallet_add_nft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
|
@@ -221,6 +106,58 @@ export const wasmwalletslip_set_slip_type: (a: number, b: number) => void;
|
|
|
221
106
|
export const wasmwalletslip_set_spent: (a: number, b: number) => void;
|
|
222
107
|
export const wasmwalletslip_set_tx_ordinal: (a: number, b: bigint) => void;
|
|
223
108
|
export const wasmwalletslip_set_utxokey: (a: number, b: any) => void;
|
|
109
|
+
export const __wbg_wasmpeerservice_free: (a: number, b: number) => void;
|
|
110
|
+
export const __wbg_wasmpeerservicelist_free: (a: number, b: number) => void;
|
|
111
|
+
export const wasmpeerservice_get_domain: (a: number) => any;
|
|
112
|
+
export const wasmpeerservice_get_name: (a: number) => any;
|
|
113
|
+
export const wasmpeerservice_get_service: (a: number) => any;
|
|
114
|
+
export const wasmpeerservice_new: () => number;
|
|
115
|
+
export const wasmpeerservice_set_domain: (a: number, b: any) => void;
|
|
116
|
+
export const wasmpeerservice_set_name: (a: number, b: any) => void;
|
|
117
|
+
export const wasmpeerservice_set_service: (a: number, b: any) => void;
|
|
118
|
+
export const wasmpeerservicelist_new: () => number;
|
|
119
|
+
export const wasmpeerservicelist_push: (a: number, b: number) => void;
|
|
120
|
+
export const __wbg_wasmblockchain_free: (a: number, b: number) => void;
|
|
121
|
+
export const wasmblockchain_get_block_confirmation_limit: (a: number) => any;
|
|
122
|
+
export const wasmblockchain_get_fork_id: (a: number) => any;
|
|
123
|
+
export const wasmblockchain_get_genesis_block_id: (a: number) => any;
|
|
124
|
+
export const wasmblockchain_get_genesis_timestamp: (a: number) => any;
|
|
125
|
+
export const wasmblockchain_get_hashes_at_id: (a: number, b: bigint) => any;
|
|
126
|
+
export const wasmblockchain_get_last_block_hash: (a: number) => any;
|
|
127
|
+
export const wasmblockchain_get_last_block_id: (a: number) => any;
|
|
128
|
+
export const wasmblockchain_get_last_burnfee: (a: number) => any;
|
|
129
|
+
export const wasmblockchain_get_last_timestamp: (a: number) => any;
|
|
130
|
+
export const wasmblockchain_get_latest_block_id: (a: number) => any;
|
|
131
|
+
export const wasmblockchain_get_longest_chain_hash_at: (a: number, b: bigint) => any;
|
|
132
|
+
export const wasmblockchain_get_longest_chain_hash_at_id: (a: number, b: bigint) => any;
|
|
133
|
+
export const wasmblockchain_get_lowest_acceptable_block_hash: (a: number) => any;
|
|
134
|
+
export const wasmblockchain_get_lowest_acceptable_block_id: (a: number) => any;
|
|
135
|
+
export const wasmblockchain_get_lowest_acceptable_timestamp: (a: number) => any;
|
|
136
|
+
export const wasmblockchain_get_prune_after_blocks: (a: number) => any;
|
|
137
|
+
export const wasmblockchain_is_slip_spendable: (a: number, b: any) => any;
|
|
138
|
+
export const wasmblockchain_register_callback: (a: number, b: any, c: any, d: any) => any;
|
|
139
|
+
export const wasmblockchain_reset: (a: number) => any;
|
|
140
|
+
export const wasmblockchain_set_fork_id: (a: number, b: any) => any;
|
|
141
|
+
export const wasmblockchain_set_safe_to_prune_transaction: (a: number, b: bigint) => any;
|
|
142
|
+
export const __wbg_wasmconfiguration_free: (a: number, b: number) => void;
|
|
143
|
+
export const wasmconfiguration_new: () => number;
|
|
144
|
+
export const __wbg_wasmslip_free: (a: number, b: number) => void;
|
|
145
|
+
export const wasmslip_amount: (a: number) => bigint;
|
|
146
|
+
export const wasmslip_block_id: (a: number) => bigint;
|
|
147
|
+
export const wasmslip_new: () => number;
|
|
148
|
+
export const wasmslip_parse_slip_from_utxokey: (a: any) => number;
|
|
149
|
+
export const wasmslip_public_key: (a: number) => any;
|
|
150
|
+
export const wasmslip_set_amount: (a: number, b: bigint) => void;
|
|
151
|
+
export const wasmslip_set_block_id: (a: number, b: bigint) => void;
|
|
152
|
+
export const wasmslip_set_public_key: (a: number, b: any) => void;
|
|
153
|
+
export const wasmslip_set_slip_index: (a: number, b: number) => void;
|
|
154
|
+
export const wasmslip_set_slip_type: (a: number, b: number) => void;
|
|
155
|
+
export const wasmslip_set_tx_ordinal: (a: number, b: bigint) => void;
|
|
156
|
+
export const wasmslip_set_utxo_key: (a: number, b: any) => void;
|
|
157
|
+
export const wasmslip_slip_index: (a: number) => number;
|
|
158
|
+
export const wasmslip_slip_type: (a: number) => number;
|
|
159
|
+
export const wasmslip_tx_ordinal: (a: number) => bigint;
|
|
160
|
+
export const wasmslip_utxo_key: (a: number) => any;
|
|
224
161
|
export const __wbg_saitowasm_free: (a: number, b: number) => void;
|
|
225
162
|
export const create_atomize_bound_transaction: (a: any, b: any, c: any, d: any) => any;
|
|
226
163
|
export const create_bound_transaction: (a: bigint, b: bigint, c: any, d: bigint, e: any, f: any) => any;
|
|
@@ -312,6 +249,69 @@ export const start_from_received_ghost_chain: () => any;
|
|
|
312
249
|
export const update_from_balance_snapshot: (a: number) => any;
|
|
313
250
|
export const verify_signature: (a: any, b: any, c: any) => number;
|
|
314
251
|
export const write_issuance_file: (a: bigint) => any;
|
|
252
|
+
export const __wbg_wasmbalancesnapshot_free: (a: number, b: number) => void;
|
|
253
|
+
export const wasmbalancesnapshot_from_string: (a: any) => [number, number, number];
|
|
254
|
+
export const wasmbalancesnapshot_get_entries: (a: number) => any;
|
|
255
|
+
export const wasmbalancesnapshot_get_file_name: (a: number) => any;
|
|
256
|
+
export const wasmbalancesnapshot_to_string: (a: number) => any;
|
|
257
|
+
export const __wbg_wasmblock_free: (a: number, b: number) => void;
|
|
258
|
+
export const wasmblock_avg_fee_per_byte: (a: number) => bigint;
|
|
259
|
+
export const wasmblock_avg_income: (a: number) => bigint;
|
|
260
|
+
export const wasmblock_avg_nolan_rebroadcast_per_block: (a: number) => bigint;
|
|
261
|
+
export const wasmblock_avg_payout_atr: (a: number) => bigint;
|
|
262
|
+
export const wasmblock_avg_payout_graveyard: (a: number) => bigint;
|
|
263
|
+
export const wasmblock_avg_payout_mining: (a: number) => bigint;
|
|
264
|
+
export const wasmblock_avg_payout_routing: (a: number) => bigint;
|
|
265
|
+
export const wasmblock_avg_payout_treasury: (a: number) => bigint;
|
|
266
|
+
export const wasmblock_avg_total_fees: (a: number) => bigint;
|
|
267
|
+
export const wasmblock_avg_total_fees_atr: (a: number) => bigint;
|
|
268
|
+
export const wasmblock_avg_total_fees_new: (a: number) => bigint;
|
|
269
|
+
export const wasmblock_burnfee: (a: number) => bigint;
|
|
270
|
+
export const wasmblock_deserialize: (a: number, b: any) => [number, number, number];
|
|
271
|
+
export const wasmblock_difficulty: (a: number) => bigint;
|
|
272
|
+
export const wasmblock_fee_per_byte: (a: number) => bigint;
|
|
273
|
+
export const wasmblock_fee_transaction_index: (a: number) => bigint;
|
|
274
|
+
export const wasmblock_force_loaded: (a: number) => number;
|
|
275
|
+
export const wasmblock_generate_lite_block: (a: number, b: any) => number;
|
|
276
|
+
export const wasmblock_get_creator: (a: number) => any;
|
|
277
|
+
export const wasmblock_get_file_name: (a: number) => any;
|
|
278
|
+
export const wasmblock_get_hash: (a: number) => any;
|
|
279
|
+
export const wasmblock_get_id: (a: number) => bigint;
|
|
280
|
+
export const wasmblock_get_previous_block_hash: (a: number) => any;
|
|
281
|
+
export const wasmblock_get_timestamp: (a: number) => bigint;
|
|
282
|
+
export const wasmblock_get_transactions: (a: number) => any;
|
|
283
|
+
export const wasmblock_get_type: (a: number) => number;
|
|
284
|
+
export const wasmblock_golden_ticket_index: (a: number) => bigint;
|
|
285
|
+
export const wasmblock_graveyard: (a: number) => bigint;
|
|
286
|
+
export const wasmblock_has_fee_transaction: (a: number) => number;
|
|
287
|
+
export const wasmblock_has_golden_ticket: (a: number) => number;
|
|
288
|
+
export const wasmblock_has_issuance_transaction: (a: number) => number;
|
|
289
|
+
export const wasmblock_has_keylist_txs: (a: number, b: any) => number;
|
|
290
|
+
export const wasmblock_has_staking_transaction: (a: number) => number;
|
|
291
|
+
export const wasmblock_in_longest_chain: (a: number) => number;
|
|
292
|
+
export const wasmblock_issuance_transaction_index: (a: number) => bigint;
|
|
293
|
+
export const wasmblock_new: () => number;
|
|
294
|
+
export const wasmblock_previous_block_unpaid: (a: number) => bigint;
|
|
295
|
+
export const wasmblock_rebroadcast_hash: (a: number) => any;
|
|
296
|
+
export const wasmblock_serialize: (a: number) => any;
|
|
297
|
+
export const wasmblock_set_creator: (a: number, b: any) => void;
|
|
298
|
+
export const wasmblock_set_id: (a: number, b: bigint) => void;
|
|
299
|
+
export const wasmblock_set_previous_block_hash: (a: number, b: any) => void;
|
|
300
|
+
export const wasmblock_set_timestamp: (a: number, b: bigint) => void;
|
|
301
|
+
export const wasmblock_set_type: (a: number, b: number) => void;
|
|
302
|
+
export const wasmblock_total_fees: (a: number) => bigint;
|
|
303
|
+
export const wasmblock_total_fees_atr: (a: number) => bigint;
|
|
304
|
+
export const wasmblock_total_fees_cumulative: (a: number) => bigint;
|
|
305
|
+
export const wasmblock_total_fees_new: (a: number) => bigint;
|
|
306
|
+
export const wasmblock_total_payout_atr: (a: number) => bigint;
|
|
307
|
+
export const wasmblock_total_payout_graveyard: (a: number) => bigint;
|
|
308
|
+
export const wasmblock_total_payout_mining: (a: number) => bigint;
|
|
309
|
+
export const wasmblock_total_payout_routing: (a: number) => bigint;
|
|
310
|
+
export const wasmblock_total_payout_treasury: (a: number) => bigint;
|
|
311
|
+
export const wasmblock_total_rebroadcast_nolan: (a: number) => bigint;
|
|
312
|
+
export const wasmblock_total_rebroadcast_slips: (a: number) => bigint;
|
|
313
|
+
export const wasmblock_total_work: (a: number) => bigint;
|
|
314
|
+
export const wasmblock_treasury: (a: number) => bigint;
|
|
315
315
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
316
316
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
317
317
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|