saito-wasm 0.2.167 → 0.2.168
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.d.ts +143 -143
- package/pkg/node/index.js +329 -330
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +138 -138
- package/pkg/node/package.json +3 -3
- package/pkg/node/snippets/{saito-wasm-25d13ca010c26982 → saito-wasm-86859bf1424d0da8}/js/msg_handler.js +3 -3
- package/pkg/web/index.d.ts +283 -283
- package/pkg/web/index.js +323 -324
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +138 -138
- package/pkg/web/package.json +1 -1
- package/pkg/web/snippets/{saito-wasm-25d13ca010c26982 → saito-wasm-86859bf1424d0da8}/js/msg_handler.js +3 -3
package/pkg/web/index.d.ts
CHANGED
|
@@ -1,89 +1,100 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* @returns {Promise<
|
|
4
|
+
* @returns {Promise<string>}
|
|
5
5
|
*/
|
|
6
|
-
export function
|
|
6
|
+
export function get_stats(): Promise<string>;
|
|
7
7
|
/**
|
|
8
|
-
* @param {
|
|
8
|
+
* @param {string} slip1_utxo_key
|
|
9
|
+
* @param {string} slip2_utxo_key
|
|
10
|
+
* @param {string} slip3_utxo_key
|
|
11
|
+
* @returns {Promise<WasmTransaction>}
|
|
12
|
+
*/
|
|
13
|
+
export function create_remove_bound_transaction(slip1_utxo_key: string, slip2_utxo_key: string, slip3_utxo_key: string): Promise<WasmTransaction>;
|
|
14
|
+
/**
|
|
15
|
+
* @returns {Promise<string>}
|
|
16
|
+
*/
|
|
17
|
+
export function get_congestion_stats(): Promise<string>;
|
|
18
|
+
/**
|
|
19
|
+
* @param {bigint} threshold
|
|
9
20
|
* @returns {Promise<void>}
|
|
10
21
|
*/
|
|
11
|
-
export function
|
|
22
|
+
export function write_issuance_file(threshold: bigint): Promise<void>;
|
|
12
23
|
/**
|
|
13
|
-
* @
|
|
14
|
-
* @param {BigUint64Array} amounts
|
|
15
|
-
* @param {bigint} fee
|
|
16
|
-
* @param {boolean} _force_merge
|
|
17
|
-
* @returns {Promise<WasmTransaction>}
|
|
24
|
+
* @returns {Promise<string>}
|
|
18
25
|
*/
|
|
19
|
-
export function
|
|
26
|
+
export function get_peer_stats(): Promise<string>;
|
|
20
27
|
/**
|
|
21
|
-
* @returns {Promise<
|
|
28
|
+
* @returns {Promise<WasmWallet>}
|
|
22
29
|
*/
|
|
23
|
-
export function
|
|
30
|
+
export function get_wallet(): Promise<WasmWallet>;
|
|
24
31
|
/**
|
|
25
|
-
* @param {Uint8Array} buffer
|
|
26
|
-
* @param {number} msg_index
|
|
27
32
|
* @param {bigint} peer_index
|
|
33
|
+
* @param {string} ip
|
|
28
34
|
* @returns {Promise<void>}
|
|
29
35
|
*/
|
|
30
|
-
export function
|
|
36
|
+
export function process_new_peer(peer_index: bigint, ip: string): Promise<void>;
|
|
31
37
|
/**
|
|
32
|
-
* @param {
|
|
33
|
-
* @param {
|
|
34
|
-
* @param {
|
|
35
|
-
* @
|
|
38
|
+
* @param {Array<any>} public_keys
|
|
39
|
+
* @param {BigUint64Array} amounts
|
|
40
|
+
* @param {bigint} fee
|
|
41
|
+
* @param {boolean} _force_merge
|
|
42
|
+
* @returns {Promise<WasmTransaction>}
|
|
36
43
|
*/
|
|
37
|
-
export function
|
|
44
|
+
export function create_transaction_with_multiple_payments(public_keys: Array<any>, amounts: BigUint64Array, fee: bigint, _force_merge: boolean): Promise<WasmTransaction>;
|
|
38
45
|
/**
|
|
39
|
-
* @param {Uint8Array} hash
|
|
40
|
-
* @param {bigint} block_id
|
|
41
46
|
* @param {bigint} peer_index
|
|
42
47
|
* @returns {Promise<void>}
|
|
43
48
|
*/
|
|
44
|
-
export function
|
|
49
|
+
export function remove_stun_peer(peer_index: bigint): Promise<void>;
|
|
45
50
|
/**
|
|
46
|
-
* @param {
|
|
47
|
-
* @
|
|
51
|
+
* @param {Uint8Array} buffer
|
|
52
|
+
* @param {string} private_key
|
|
53
|
+
* @returns {string}
|
|
48
54
|
*/
|
|
49
|
-
export function
|
|
55
|
+
export function sign_buffer(buffer: Uint8Array, private_key: string): string;
|
|
50
56
|
/**
|
|
51
|
-
* @param {
|
|
57
|
+
* @param {Uint8Array} buffer
|
|
52
58
|
* @returns {string}
|
|
53
59
|
*/
|
|
54
|
-
export function
|
|
60
|
+
export function hash(buffer: Uint8Array): string;
|
|
55
61
|
/**
|
|
56
|
-
* @returns {Promise<
|
|
62
|
+
* @returns {Promise<boolean>}
|
|
57
63
|
*/
|
|
58
|
-
export function
|
|
64
|
+
export function produce_block_without_gt(): Promise<boolean>;
|
|
59
65
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* @param {string} signature
|
|
62
|
-
* @param {string} public_key
|
|
63
|
-
* @returns {boolean}
|
|
66
|
+
* @returns {Promise<Array<any>>}
|
|
64
67
|
*/
|
|
65
|
-
export function
|
|
68
|
+
export function get_nft_list(): Promise<Array<any>>;
|
|
66
69
|
/**
|
|
67
|
-
* @
|
|
70
|
+
* @param {bigint} peer_index
|
|
71
|
+
* @returns {Promise<WasmPeer | undefined>}
|
|
68
72
|
*/
|
|
69
|
-
export function
|
|
73
|
+
export function get_peer(peer_index: bigint): Promise<WasmPeer | undefined>;
|
|
70
74
|
/**
|
|
71
|
-
* @
|
|
75
|
+
* @param {bigint} duration_in_ms
|
|
76
|
+
* @returns {Promise<void>}
|
|
72
77
|
*/
|
|
73
|
-
export function
|
|
78
|
+
export function process_timer_event(duration_in_ms: bigint): Promise<void>;
|
|
74
79
|
/**
|
|
75
|
-
* @returns {Promise<
|
|
80
|
+
* @returns {Promise<boolean>}
|
|
76
81
|
*/
|
|
77
|
-
export function
|
|
82
|
+
export function produce_block_with_gt(): Promise<boolean>;
|
|
78
83
|
/**
|
|
79
|
-
* @param {
|
|
80
|
-
* @
|
|
84
|
+
* @param {string} slip1_utxo_key
|
|
85
|
+
* @param {string} slip2_utxo_key
|
|
86
|
+
* @param {string} slip3_utxo_key
|
|
87
|
+
* @param {number} left_count
|
|
88
|
+
* @param {number} right_count
|
|
89
|
+
* @param {Uint8Array} tx_msg
|
|
90
|
+
* @returns {Promise<WasmTransaction>}
|
|
81
91
|
*/
|
|
82
|
-
export function
|
|
92
|
+
export function create_split_bound_transaction(slip1_utxo_key: string, slip2_utxo_key: string, slip3_utxo_key: string, left_count: number, right_count: number, tx_msg: Uint8Array): Promise<WasmTransaction>;
|
|
83
93
|
/**
|
|
84
|
-
* @
|
|
94
|
+
* @param {bigint} current_time
|
|
95
|
+
* @returns {Promise<void>}
|
|
85
96
|
*/
|
|
86
|
-
export function
|
|
97
|
+
export function process_stat_interval(current_time: bigint): Promise<void>;
|
|
87
98
|
/**
|
|
88
99
|
* @param {bigint} peer_index
|
|
89
100
|
* @param {string} public_key
|
|
@@ -91,63 +102,99 @@ export function get_peer_stats(): Promise<string>;
|
|
|
91
102
|
*/
|
|
92
103
|
export function process_stun_peer(peer_index: bigint, public_key: string): Promise<void>;
|
|
93
104
|
/**
|
|
94
|
-
* @returns {Promise<
|
|
105
|
+
* @returns {Promise<any>}
|
|
95
106
|
*/
|
|
96
|
-
export function
|
|
107
|
+
export function get_confirmations(): Promise<any>;
|
|
108
|
+
/**
|
|
109
|
+
* @returns {Promise<void>}
|
|
110
|
+
*/
|
|
111
|
+
export function start_from_received_ghost_chain(): Promise<void>;
|
|
97
112
|
/**
|
|
98
113
|
* @param {Uint8Array} buffer
|
|
114
|
+
* @param {number} msg_index
|
|
99
115
|
* @param {bigint} peer_index
|
|
100
116
|
* @returns {Promise<void>}
|
|
101
117
|
*/
|
|
102
|
-
export function
|
|
118
|
+
export function send_api_error(buffer: Uint8Array, msg_index: number, peer_index: bigint): Promise<void>;
|
|
103
119
|
/**
|
|
104
|
-
* @returns {Promise<
|
|
120
|
+
* @returns {Promise<Array<any>>}
|
|
105
121
|
*/
|
|
106
|
-
export function
|
|
122
|
+
export function get_mempool_txs(): Promise<Array<any>>;
|
|
107
123
|
/**
|
|
108
|
-
* @
|
|
124
|
+
* @param {string} private_key
|
|
125
|
+
* @returns {string}
|
|
109
126
|
*/
|
|
110
|
-
export function
|
|
127
|
+
export function generate_public_key(private_key: string): string;
|
|
111
128
|
/**
|
|
112
|
-
* @
|
|
129
|
+
* @param {string} config_json
|
|
130
|
+
* @param {string} private_key
|
|
131
|
+
* @param {number} log_level_num
|
|
132
|
+
* @param {bigint} hasten_multiplier
|
|
133
|
+
* @param {boolean} delete_old_blocks
|
|
134
|
+
* @returns {Promise<any>}
|
|
113
135
|
*/
|
|
114
|
-
export function
|
|
136
|
+
export function initialize(config_json: string, private_key: string, log_level_num: number, hasten_multiplier: bigint, delete_old_blocks: boolean): Promise<any>;
|
|
115
137
|
/**
|
|
116
|
-
* @param {
|
|
117
|
-
* @
|
|
138
|
+
* @param {Uint8Array} buffer
|
|
139
|
+
* @param {string} signature
|
|
140
|
+
* @param {string} public_key
|
|
141
|
+
* @returns {boolean}
|
|
118
142
|
*/
|
|
119
|
-
export function
|
|
143
|
+
export function verify_signature(buffer: Uint8Array, signature: string, public_key: string): boolean;
|
|
120
144
|
/**
|
|
121
145
|
* @param {Uint8Array} buffer
|
|
122
|
-
* @param {number} msg_index
|
|
123
146
|
* @param {bigint} peer_index
|
|
124
147
|
* @returns {Promise<void>}
|
|
125
148
|
*/
|
|
126
|
-
export function
|
|
149
|
+
export function process_msg_buffer_from_peer(buffer: Uint8Array, peer_index: bigint): Promise<void>;
|
|
127
150
|
/**
|
|
128
|
-
* @param {
|
|
151
|
+
* @param {bigint} num
|
|
152
|
+
* @param {bigint} deposit
|
|
129
153
|
* @param {Uint8Array} tx_msg
|
|
154
|
+
* @param {bigint} fee
|
|
155
|
+
* @param {string} recipient_public_key
|
|
156
|
+
* @param {string} nft_type
|
|
130
157
|
* @returns {Promise<WasmTransaction>}
|
|
131
158
|
*/
|
|
132
|
-
export function
|
|
159
|
+
export function create_bound_transaction(num: bigint, deposit: bigint, tx_msg: Uint8Array, fee: bigint, recipient_public_key: string, nft_type: string): Promise<WasmTransaction>;
|
|
133
160
|
/**
|
|
134
|
-
* @returns {
|
|
161
|
+
* @returns {Promise<WasmBlockchain>}
|
|
135
162
|
*/
|
|
136
|
-
export function
|
|
163
|
+
export function get_blockchain(): Promise<WasmBlockchain>;
|
|
137
164
|
/**
|
|
165
|
+
* @param {Uint8Array} hash
|
|
166
|
+
* @param {bigint} block_id
|
|
138
167
|
* @param {bigint} peer_index
|
|
139
168
|
* @returns {Promise<void>}
|
|
140
169
|
*/
|
|
141
|
-
export function
|
|
170
|
+
export function process_failed_block_fetch(hash: Uint8Array, block_id: bigint, peer_index: bigint): Promise<void>;
|
|
171
|
+
/**
|
|
172
|
+
* @returns {string}
|
|
173
|
+
*/
|
|
174
|
+
export function generate_private_key(): string;
|
|
175
|
+
/**
|
|
176
|
+
* @param {string} public_key
|
|
177
|
+
* @param {bigint} amount
|
|
178
|
+
* @param {bigint} fee
|
|
179
|
+
* @param {boolean} force_merge
|
|
180
|
+
* @returns {Promise<WasmTransaction>}
|
|
181
|
+
*/
|
|
182
|
+
export function create_transaction(public_key: string, amount: bigint, fee: bigint, force_merge: boolean): Promise<WasmTransaction>;
|
|
142
183
|
/**
|
|
143
184
|
* @param {WasmBalanceSnapshot} snapshot
|
|
144
185
|
* @returns {Promise<void>}
|
|
145
186
|
*/
|
|
146
187
|
export function update_from_balance_snapshot(snapshot: WasmBalanceSnapshot): Promise<void>;
|
|
147
188
|
/**
|
|
148
|
-
* @
|
|
189
|
+
* @param {WasmTransaction} tx
|
|
190
|
+
* @returns {Promise<void>}
|
|
149
191
|
*/
|
|
150
|
-
export function
|
|
192
|
+
export function propagate_transaction(tx: WasmTransaction): Promise<void>;
|
|
193
|
+
/**
|
|
194
|
+
* @param {bigint} peer_index
|
|
195
|
+
* @returns {Promise<void>}
|
|
196
|
+
*/
|
|
197
|
+
export function process_peer_disconnection(peer_index: bigint): Promise<void>;
|
|
151
198
|
/**
|
|
152
199
|
* @param {Uint8Array} buffer
|
|
153
200
|
* @param {Uint8Array} hash
|
|
@@ -157,37 +204,28 @@ export function get_congestion_stats(): Promise<string>;
|
|
|
157
204
|
*/
|
|
158
205
|
export function process_fetched_block(buffer: Uint8Array, hash: Uint8Array, block_id: bigint, peer_index: bigint): Promise<void>;
|
|
159
206
|
/**
|
|
160
|
-
* @param {string} slip1_utxo_key
|
|
161
|
-
* @param {string} slip2_utxo_key
|
|
162
|
-
* @param {string} slip3_utxo_key
|
|
163
|
-
* @returns {Promise<WasmTransaction>}
|
|
164
|
-
*/
|
|
165
|
-
export function create_remove_bound_transaction(slip1_utxo_key: string, slip2_utxo_key: string, slip3_utxo_key: string): Promise<WasmTransaction>;
|
|
166
|
-
/**
|
|
167
|
-
* @returns {Promise<void>}
|
|
168
|
-
*/
|
|
169
|
-
export function disable_producing_blocks_by_timer(): Promise<void>;
|
|
170
|
-
/**
|
|
171
207
|
* @param {string} public_key
|
|
172
|
-
* @
|
|
173
|
-
* @param {bigint} fee
|
|
174
|
-
* @param {boolean} force_merge
|
|
175
|
-
* @returns {Promise<WasmTransaction>}
|
|
208
|
+
* @returns {Promise<Array<any>>}
|
|
176
209
|
*/
|
|
177
|
-
export function
|
|
210
|
+
export function get_account_slips(public_key: string): Promise<Array<any>>;
|
|
178
211
|
/**
|
|
179
212
|
* @returns {Promise<Array<any>>}
|
|
180
213
|
*/
|
|
181
|
-
export function
|
|
214
|
+
export function get_peers(): Promise<Array<any>>;
|
|
182
215
|
/**
|
|
183
|
-
* @
|
|
216
|
+
* @param {string} key
|
|
217
|
+
* @returns {boolean}
|
|
184
218
|
*/
|
|
185
|
-
export function
|
|
219
|
+
export function is_valid_public_key(key: string): boolean;
|
|
186
220
|
/**
|
|
187
|
-
* @param {
|
|
188
|
-
* @returns {Promise<
|
|
221
|
+
* @param {string} block_hash
|
|
222
|
+
* @returns {Promise<WasmBlock>}
|
|
189
223
|
*/
|
|
190
|
-
export function
|
|
224
|
+
export function get_block(block_hash: string): Promise<WasmBlock>;
|
|
225
|
+
/**
|
|
226
|
+
* @returns {Promise<string>}
|
|
227
|
+
*/
|
|
228
|
+
export function get_latest_block_hash(): Promise<string>;
|
|
191
229
|
/**
|
|
192
230
|
* @param {bigint} amt
|
|
193
231
|
* @param {string} slip1_utxo_key
|
|
@@ -199,34 +237,13 @@ export function get_peer(peer_index: bigint): Promise<WasmPeer | undefined>;
|
|
|
199
237
|
*/
|
|
200
238
|
export function create_send_bound_transaction(amt: bigint, slip1_utxo_key: string, slip2_utxo_key: string, slip3_utxo_key: string, recipient_public_key: string, tx_msg: Uint8Array): Promise<WasmTransaction>;
|
|
201
239
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* @returns {boolean}
|
|
204
|
-
*/
|
|
205
|
-
export function is_valid_public_key(key: string): boolean;
|
|
206
|
-
/**
|
|
207
|
-
* @param {Array<any>} keys
|
|
208
|
-
* @returns {Promise<WasmBalanceSnapshot>}
|
|
209
|
-
*/
|
|
210
|
-
export function get_balance_snapshot(keys: Array<any>): Promise<WasmBalanceSnapshot>;
|
|
211
|
-
/**
|
|
212
|
-
* @param {string} config_json
|
|
213
|
-
* @param {string} private_key
|
|
214
|
-
* @param {number} log_level_num
|
|
215
|
-
* @param {bigint} hasten_multiplier
|
|
216
|
-
* @param {boolean} delete_old_blocks
|
|
217
|
-
* @returns {Promise<any>}
|
|
240
|
+
* @returns {Promise<bigint>}
|
|
218
241
|
*/
|
|
219
|
-
export function
|
|
242
|
+
export function get_next_peer_index(): Promise<bigint>;
|
|
220
243
|
/**
|
|
221
|
-
* @
|
|
222
|
-
* @param {string} slip2_utxo_key
|
|
223
|
-
* @param {string} slip3_utxo_key
|
|
224
|
-
* @param {number} left_count
|
|
225
|
-
* @param {number} right_count
|
|
226
|
-
* @param {Uint8Array} tx_msg
|
|
227
|
-
* @returns {Promise<WasmTransaction>}
|
|
244
|
+
* @returns {Promise<void>}
|
|
228
245
|
*/
|
|
229
|
-
export function
|
|
246
|
+
export function disable_producing_blocks_by_timer(): Promise<void>;
|
|
230
247
|
/**
|
|
231
248
|
* @param {Uint8Array} buffer
|
|
232
249
|
* @param {number} msg_index
|
|
@@ -235,47 +252,30 @@ export function create_split_bound_transaction(slip1_utxo_key: string, slip2_utx
|
|
|
235
252
|
*/
|
|
236
253
|
export function send_api_call(buffer: Uint8Array, msg_index: number, peer_index: bigint): Promise<void>;
|
|
237
254
|
/**
|
|
238
|
-
* @param {
|
|
239
|
-
* @returns {Promise<
|
|
255
|
+
* @param {Array<any>} keys
|
|
256
|
+
* @returns {Promise<WasmBalanceSnapshot>}
|
|
240
257
|
*/
|
|
241
|
-
export function
|
|
258
|
+
export function get_balance_snapshot(keys: Array<any>): Promise<WasmBalanceSnapshot>;
|
|
242
259
|
/**
|
|
243
|
-
* @param {
|
|
260
|
+
* @param {Uint8Array} buffer
|
|
261
|
+
* @param {number} msg_index
|
|
262
|
+
* @param {bigint} peer_index
|
|
244
263
|
* @returns {Promise<void>}
|
|
245
264
|
*/
|
|
246
|
-
export function
|
|
247
|
-
/**
|
|
248
|
-
* @param {bigint} peer_index
|
|
249
|
-
* @param {string} ip
|
|
250
|
-
* @returns {Promise<void>}
|
|
251
|
-
*/
|
|
252
|
-
export function process_new_peer(peer_index: bigint, ip: string): Promise<void>;
|
|
253
|
-
/**
|
|
254
|
-
* @param {bigint} current_time
|
|
255
|
-
* @returns {Promise<void>}
|
|
256
|
-
*/
|
|
257
|
-
export function process_stat_interval(current_time: bigint): Promise<void>;
|
|
258
|
-
/**
|
|
259
|
-
* @param {bigint} peer_index
|
|
260
|
-
* @returns {Promise<void>}
|
|
261
|
-
*/
|
|
262
|
-
export function process_peer_disconnection(peer_index: bigint): Promise<void>;
|
|
265
|
+
export function send_api_success(buffer: Uint8Array, msg_index: number, peer_index: bigint): Promise<void>;
|
|
263
266
|
/**
|
|
264
|
-
* @param {
|
|
265
|
-
* @param {bigint} deposit
|
|
267
|
+
* @param {string} nft_id_hex
|
|
266
268
|
* @param {Uint8Array} tx_msg
|
|
267
|
-
* @param {bigint} fee
|
|
268
|
-
* @param {string} recipient_public_key
|
|
269
|
-
* @param {string} nft_type
|
|
270
269
|
* @returns {Promise<WasmTransaction>}
|
|
271
270
|
*/
|
|
272
|
-
export function
|
|
271
|
+
export function create_merge_bound_transaction(nft_id_hex: string, tx_msg: Uint8Array): Promise<WasmTransaction>;
|
|
273
272
|
/**
|
|
274
|
-
* @param {
|
|
275
|
-
* @param {
|
|
276
|
-
* @
|
|
273
|
+
* @param {number} major
|
|
274
|
+
* @param {number} minor
|
|
275
|
+
* @param {number} patch
|
|
276
|
+
* @returns {Promise<void>}
|
|
277
277
|
*/
|
|
278
|
-
export function
|
|
278
|
+
export function set_wallet_version(major: number, minor: number, patch: number): Promise<void>;
|
|
279
279
|
/**
|
|
280
280
|
*/
|
|
281
281
|
export class SaitoWasm {
|
|
@@ -974,30 +974,24 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
974
974
|
|
|
975
975
|
export interface InitOutput {
|
|
976
976
|
readonly memory: WebAssembly.Memory;
|
|
977
|
-
readonly __wbg_wasmbalancesnapshot_free: (a: number) => void;
|
|
978
977
|
readonly __wbg_wasmconfiguration_free: (a: number) => void;
|
|
979
|
-
readonly __wbg_wasmnft_free: (a: number) => void;
|
|
980
|
-
readonly wasmbalancesnapshot_from_string: (a: number, b: number) => void;
|
|
981
|
-
readonly wasmbalancesnapshot_get_entries: (a: number) => number;
|
|
982
|
-
readonly wasmbalancesnapshot_get_file_name: (a: number) => number;
|
|
983
|
-
readonly wasmbalancesnapshot_to_string: (a: number) => number;
|
|
984
|
-
readonly wasmconfiguration_new: () => number;
|
|
985
|
-
readonly wasmnft_id: (a: number) => number;
|
|
986
|
-
readonly wasmnft_new: () => number;
|
|
987
|
-
readonly wasmnft_set_id: (a: number, b: number) => void;
|
|
988
|
-
readonly wasmnft_set_slip1: (a: number, b: number) => void;
|
|
989
|
-
readonly wasmnft_set_slip2: (a: number, b: number) => void;
|
|
990
|
-
readonly wasmnft_set_slip3: (a: number, b: number) => void;
|
|
991
|
-
readonly wasmnft_set_tx_sig: (a: number, b: number) => void;
|
|
992
|
-
readonly wasmnft_slip1: (a: number) => number;
|
|
993
|
-
readonly wasmnft_slip2: (a: number) => number;
|
|
994
|
-
readonly wasmnft_slip3: (a: number) => number;
|
|
995
|
-
readonly wasmnft_tx_sig: (a: number) => number;
|
|
996
978
|
readonly __wbg_wasmhop_free: (a: number) => void;
|
|
997
|
-
readonly
|
|
979
|
+
readonly __wbg_wasmpeerservice_free: (a: number) => void;
|
|
980
|
+
readonly __wbg_wasmpeerservicelist_free: (a: number) => void;
|
|
981
|
+
readonly wasmconfiguration_new: () => number;
|
|
998
982
|
readonly wasmhop_from: (a: number, b: number) => void;
|
|
999
983
|
readonly wasmhop_sig: (a: number, b: number) => void;
|
|
1000
984
|
readonly wasmhop_to: (a: number, b: number) => void;
|
|
985
|
+
readonly wasmpeerservice_get_domain: (a: number) => number;
|
|
986
|
+
readonly wasmpeerservice_get_name: (a: number) => number;
|
|
987
|
+
readonly wasmpeerservice_get_service: (a: number) => number;
|
|
988
|
+
readonly wasmpeerservice_new: () => number;
|
|
989
|
+
readonly wasmpeerservice_set_domain: (a: number, b: number) => void;
|
|
990
|
+
readonly wasmpeerservice_set_name: (a: number, b: number) => void;
|
|
991
|
+
readonly wasmpeerservice_set_service: (a: number, b: number) => void;
|
|
992
|
+
readonly wasmpeerservicelist_new: () => number;
|
|
993
|
+
readonly wasmpeerservicelist_push: (a: number, b: number) => void;
|
|
994
|
+
readonly __wbg_wasmstats_free: (a: number) => void;
|
|
1001
995
|
readonly __wbg_wasmconsensusvalues_free: (a: number) => void;
|
|
1002
996
|
readonly wasmconsensusvalues_avg_income: (a: number) => number;
|
|
1003
997
|
readonly wasmconsensusvalues_expected_difficulty: (a: number) => number;
|
|
@@ -1014,34 +1008,69 @@ export interface InitOutput {
|
|
|
1014
1008
|
readonly wasmconsensusvalues_total_rebroadcast_slips: (a: number) => number;
|
|
1015
1009
|
readonly wasmconsensusvalues_total_rebroadcast_staking_payouts_nolan: (a: number) => number;
|
|
1016
1010
|
readonly wasmconsensusvalues_avg_total_fees: (a: number) => number;
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly wasmtransaction_add_from_slip: (a: number, b: number) => void;
|
|
1019
|
-
readonly wasmtransaction_add_to_slip: (a: number, b: number) => void;
|
|
1020
|
-
readonly wasmtransaction_deserialize: (a: number, b: number) => void;
|
|
1021
|
-
readonly wasmtransaction_from: (a: number) => number;
|
|
1022
|
-
readonly wasmtransaction_get_data: (a: number) => number;
|
|
1023
|
-
readonly wasmtransaction_get_routing_path: (a: number) => number;
|
|
1024
|
-
readonly wasmtransaction_get_timestamp: (a: number) => number;
|
|
1025
|
-
readonly wasmtransaction_get_txs_replacements: (a: number) => number;
|
|
1026
|
-
readonly wasmtransaction_get_type: (a: number) => number;
|
|
1027
|
-
readonly wasmtransaction_is_from: (a: number, b: number) => number;
|
|
1028
|
-
readonly wasmtransaction_is_to: (a: number, b: number) => number;
|
|
1029
|
-
readonly wasmtransaction_new: () => number;
|
|
1030
|
-
readonly wasmtransaction_serialize: (a: number) => number;
|
|
1031
|
-
readonly wasmtransaction_set_data: (a: number, b: number) => void;
|
|
1032
|
-
readonly wasmtransaction_set_signature: (a: number, b: number) => void;
|
|
1033
|
-
readonly wasmtransaction_set_timestamp: (a: number, b: number) => void;
|
|
1034
|
-
readonly wasmtransaction_set_txs_replacements: (a: number, b: number) => void;
|
|
1035
|
-
readonly wasmtransaction_set_type: (a: number, b: number) => void;
|
|
1036
|
-
readonly wasmtransaction_sign: (a: number) => number;
|
|
1037
|
-
readonly wasmtransaction_signature: (a: number) => number;
|
|
1038
|
-
readonly wasmtransaction_to: (a: number) => number;
|
|
1039
|
-
readonly wasmtransaction_total_fees: (a: number) => number;
|
|
1040
|
-
readonly __wbg_wasmblock_free: (a: number) => void;
|
|
1011
|
+
readonly __wbg_saitowasm_free: (a: number) => void;
|
|
1041
1012
|
readonly __wbg_wasmpeer_free: (a: number) => void;
|
|
1042
|
-
readonly
|
|
1043
|
-
readonly
|
|
1044
|
-
readonly
|
|
1013
|
+
readonly create_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1014
|
+
readonly create_merge_bound_transaction: (a: number, b: number, c: number) => number;
|
|
1015
|
+
readonly create_remove_bound_transaction: (a: number, b: number, c: number) => number;
|
|
1016
|
+
readonly create_send_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1017
|
+
readonly create_split_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1018
|
+
readonly create_transaction: (a: number, b: number, c: number, d: number) => number;
|
|
1019
|
+
readonly create_transaction_with_multiple_payments: (a: number, b: number, c: number, d: number) => number;
|
|
1020
|
+
readonly disable_producing_blocks_by_timer: () => number;
|
|
1021
|
+
readonly generate_private_key: () => number;
|
|
1022
|
+
readonly generate_public_key: (a: number, b: number) => void;
|
|
1023
|
+
readonly get_account_slips: (a: number) => number;
|
|
1024
|
+
readonly get_balance_snapshot: (a: number) => number;
|
|
1025
|
+
readonly get_block: (a: number) => number;
|
|
1026
|
+
readonly get_blockchain: () => number;
|
|
1027
|
+
readonly get_confirmations: () => number;
|
|
1028
|
+
readonly get_congestion_stats: () => number;
|
|
1029
|
+
readonly get_latest_block_hash: () => number;
|
|
1030
|
+
readonly get_mempool_txs: () => number;
|
|
1031
|
+
readonly get_next_peer_index: () => number;
|
|
1032
|
+
readonly get_nft_list: () => number;
|
|
1033
|
+
readonly get_peer: (a: number) => number;
|
|
1034
|
+
readonly get_peer_stats: () => number;
|
|
1035
|
+
readonly get_peers: () => number;
|
|
1036
|
+
readonly get_stats: () => number;
|
|
1037
|
+
readonly get_wallet: () => number;
|
|
1038
|
+
readonly hash: (a: number) => number;
|
|
1039
|
+
readonly initialize: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
1040
|
+
readonly is_valid_public_key: (a: number) => number;
|
|
1041
|
+
readonly process_failed_block_fetch: (a: number, b: number, c: number) => number;
|
|
1042
|
+
readonly process_fetched_block: (a: number, b: number, c: number, d: number) => number;
|
|
1043
|
+
readonly process_msg_buffer_from_peer: (a: number, b: number) => number;
|
|
1044
|
+
readonly process_new_peer: (a: number, b: number) => number;
|
|
1045
|
+
readonly process_peer_disconnection: (a: number) => number;
|
|
1046
|
+
readonly process_stat_interval: (a: number) => number;
|
|
1047
|
+
readonly process_stun_peer: (a: number, b: number) => number;
|
|
1048
|
+
readonly process_timer_event: (a: number) => number;
|
|
1049
|
+
readonly produce_block_with_gt: () => number;
|
|
1050
|
+
readonly produce_block_without_gt: () => number;
|
|
1051
|
+
readonly propagate_transaction: (a: number) => number;
|
|
1052
|
+
readonly remove_stun_peer: (a: number) => number;
|
|
1053
|
+
readonly send_api_call: (a: number, b: number, c: number) => number;
|
|
1054
|
+
readonly send_api_error: (a: number, b: number, c: number) => number;
|
|
1055
|
+
readonly send_api_success: (a: number, b: number, c: number) => number;
|
|
1056
|
+
readonly set_wallet_version: (a: number, b: number, c: number) => number;
|
|
1057
|
+
readonly sign_buffer: (a: number, b: number, c: number) => void;
|
|
1058
|
+
readonly start_from_received_ghost_chain: () => number;
|
|
1059
|
+
readonly update_from_balance_snapshot: (a: number) => number;
|
|
1060
|
+
readonly verify_signature: (a: number, b: number, c: number) => number;
|
|
1061
|
+
readonly wasmpeer_get_key_list: (a: number) => number;
|
|
1062
|
+
readonly wasmpeer_get_peer_index: (a: number) => number;
|
|
1063
|
+
readonly wasmpeer_get_public_key: (a: number) => number;
|
|
1064
|
+
readonly wasmpeer_get_services: (a: number) => number;
|
|
1065
|
+
readonly wasmpeer_get_status: (a: number) => number;
|
|
1066
|
+
readonly wasmpeer_get_sync_type: (a: number) => number;
|
|
1067
|
+
readonly wasmpeer_has_service: (a: number, b: number) => number;
|
|
1068
|
+
readonly wasmpeer_new: (a: number) => number;
|
|
1069
|
+
readonly wasmpeer_set_services: (a: number, b: number) => void;
|
|
1070
|
+
readonly write_issuance_file: (a: number) => number;
|
|
1071
|
+
readonly __wbg_wasmblock_free: (a: number) => void;
|
|
1072
|
+
readonly __wbg_wasmblockchain_free: (a: number) => void;
|
|
1073
|
+
readonly __wbg_wasmtransaction_free: (a: number) => void;
|
|
1045
1074
|
readonly wasmblock_avg_fee_per_byte: (a: number) => number;
|
|
1046
1075
|
readonly wasmblock_avg_income: (a: number) => number;
|
|
1047
1076
|
readonly wasmblock_avg_nolan_rebroadcast_per_block: (a: number) => number;
|
|
@@ -1098,15 +1127,69 @@ export interface InitOutput {
|
|
|
1098
1127
|
readonly wasmblock_total_rebroadcast_slips: (a: number) => number;
|
|
1099
1128
|
readonly wasmblock_total_work: (a: number) => number;
|
|
1100
1129
|
readonly wasmblock_treasury: (a: number) => number;
|
|
1101
|
-
readonly
|
|
1102
|
-
readonly
|
|
1103
|
-
readonly
|
|
1104
|
-
readonly
|
|
1105
|
-
readonly
|
|
1106
|
-
readonly
|
|
1107
|
-
readonly
|
|
1108
|
-
readonly
|
|
1109
|
-
readonly
|
|
1130
|
+
readonly wasmblockchain_get_block_confirmation_limit: (a: number) => number;
|
|
1131
|
+
readonly wasmblockchain_get_fork_id: (a: number) => number;
|
|
1132
|
+
readonly wasmblockchain_get_genesis_block_id: (a: number) => number;
|
|
1133
|
+
readonly wasmblockchain_get_genesis_timestamp: (a: number) => number;
|
|
1134
|
+
readonly wasmblockchain_get_hashes_at_id: (a: number, b: number) => number;
|
|
1135
|
+
readonly wasmblockchain_get_last_block_hash: (a: number) => number;
|
|
1136
|
+
readonly wasmblockchain_get_last_block_id: (a: number) => number;
|
|
1137
|
+
readonly wasmblockchain_get_last_burnfee: (a: number) => number;
|
|
1138
|
+
readonly wasmblockchain_get_last_timestamp: (a: number) => number;
|
|
1139
|
+
readonly wasmblockchain_get_latest_block_id: (a: number) => number;
|
|
1140
|
+
readonly wasmblockchain_get_longest_chain_hash_at: (a: number, b: number) => number;
|
|
1141
|
+
readonly wasmblockchain_get_longest_chain_hash_at_id: (a: number, b: number) => number;
|
|
1142
|
+
readonly wasmblockchain_get_lowest_acceptable_block_hash: (a: number) => number;
|
|
1143
|
+
readonly wasmblockchain_get_lowest_acceptable_block_id: (a: number) => number;
|
|
1144
|
+
readonly wasmblockchain_get_lowest_acceptable_timestamp: (a: number) => number;
|
|
1145
|
+
readonly wasmblockchain_get_prune_after_blocks: (a: number) => number;
|
|
1146
|
+
readonly wasmblockchain_register_callback: (a: number, b: number, c: number, d: number) => number;
|
|
1147
|
+
readonly wasmblockchain_reset: (a: number) => number;
|
|
1148
|
+
readonly wasmblockchain_set_fork_id: (a: number, b: number) => number;
|
|
1149
|
+
readonly wasmblockchain_set_safe_to_prune_transaction: (a: number, b: number) => number;
|
|
1150
|
+
readonly wasmtransaction_add_from_slip: (a: number, b: number) => void;
|
|
1151
|
+
readonly wasmtransaction_add_to_slip: (a: number, b: number) => void;
|
|
1152
|
+
readonly wasmtransaction_deserialize: (a: number, b: number) => void;
|
|
1153
|
+
readonly wasmtransaction_from: (a: number) => number;
|
|
1154
|
+
readonly wasmtransaction_get_data: (a: number) => number;
|
|
1155
|
+
readonly wasmtransaction_get_routing_path: (a: number) => number;
|
|
1156
|
+
readonly wasmtransaction_get_timestamp: (a: number) => number;
|
|
1157
|
+
readonly wasmtransaction_get_txs_replacements: (a: number) => number;
|
|
1158
|
+
readonly wasmtransaction_get_type: (a: number) => number;
|
|
1159
|
+
readonly wasmtransaction_is_from: (a: number, b: number) => number;
|
|
1160
|
+
readonly wasmtransaction_is_to: (a: number, b: number) => number;
|
|
1161
|
+
readonly wasmtransaction_new: () => number;
|
|
1162
|
+
readonly wasmtransaction_serialize: (a: number) => number;
|
|
1163
|
+
readonly wasmtransaction_set_data: (a: number, b: number) => void;
|
|
1164
|
+
readonly wasmtransaction_set_signature: (a: number, b: number) => void;
|
|
1165
|
+
readonly wasmtransaction_set_timestamp: (a: number, b: number) => void;
|
|
1166
|
+
readonly wasmtransaction_set_txs_replacements: (a: number, b: number) => void;
|
|
1167
|
+
readonly wasmtransaction_set_type: (a: number, b: number) => void;
|
|
1168
|
+
readonly wasmtransaction_sign: (a: number) => number;
|
|
1169
|
+
readonly wasmtransaction_signature: (a: number) => number;
|
|
1170
|
+
readonly wasmtransaction_to: (a: number) => number;
|
|
1171
|
+
readonly wasmtransaction_total_fees: (a: number) => number;
|
|
1172
|
+
readonly wasmblock_avg_total_fees: (a: number) => number;
|
|
1173
|
+
readonly __wbg_wasmbalancesnapshot_free: (a: number) => void;
|
|
1174
|
+
readonly __wbg_wasmnft_free: (a: number) => void;
|
|
1175
|
+
readonly __wbg_wasmslip_free: (a: number) => void;
|
|
1176
|
+
readonly __wbg_wasmwallet_free: (a: number) => void;
|
|
1177
|
+
readonly __wbg_wasmwalletslip_free: (a: number) => void;
|
|
1178
|
+
readonly wasmbalancesnapshot_from_string: (a: number, b: number) => void;
|
|
1179
|
+
readonly wasmbalancesnapshot_get_entries: (a: number) => number;
|
|
1180
|
+
readonly wasmbalancesnapshot_get_file_name: (a: number) => number;
|
|
1181
|
+
readonly wasmbalancesnapshot_to_string: (a: number) => number;
|
|
1182
|
+
readonly wasmnft_id: (a: number) => number;
|
|
1183
|
+
readonly wasmnft_new: () => number;
|
|
1184
|
+
readonly wasmnft_set_id: (a: number, b: number) => void;
|
|
1185
|
+
readonly wasmnft_set_slip1: (a: number, b: number) => void;
|
|
1186
|
+
readonly wasmnft_set_slip2: (a: number, b: number) => void;
|
|
1187
|
+
readonly wasmnft_set_slip3: (a: number, b: number) => void;
|
|
1188
|
+
readonly wasmnft_set_tx_sig: (a: number, b: number) => void;
|
|
1189
|
+
readonly wasmnft_slip1: (a: number) => number;
|
|
1190
|
+
readonly wasmnft_slip2: (a: number) => number;
|
|
1191
|
+
readonly wasmnft_slip3: (a: number) => number;
|
|
1192
|
+
readonly wasmnft_tx_sig: (a: number) => number;
|
|
1110
1193
|
readonly wasmslip_amount: (a: number) => number;
|
|
1111
1194
|
readonly wasmslip_block_id: (a: number) => number;
|
|
1112
1195
|
readonly wasmslip_new: () => number;
|
|
@@ -1151,92 +1234,9 @@ export interface InitOutput {
|
|
|
1151
1234
|
readonly wasmwalletslip_set_amount: (a: number, b: number) => void;
|
|
1152
1235
|
readonly wasmwalletslip_set_block_id: (a: number, b: number) => void;
|
|
1153
1236
|
readonly wasmwalletslip_set_tx_ordinal: (a: number, b: number) => void;
|
|
1154
|
-
readonly wasmblock_avg_total_fees: (a: number) => number;
|
|
1155
1237
|
readonly wasmwalletslip_get_amount: (a: number) => number;
|
|
1156
1238
|
readonly wasmwalletslip_get_block_id: (a: number) => number;
|
|
1157
1239
|
readonly wasmwalletslip_get_tx_ordinal: (a: number) => number;
|
|
1158
|
-
readonly __wbg_saitowasm_free: (a: number) => void;
|
|
1159
|
-
readonly __wbg_wasmblockchain_free: (a: number) => void;
|
|
1160
|
-
readonly __wbg_wasmpeerservice_free: (a: number) => void;
|
|
1161
|
-
readonly __wbg_wasmpeerservicelist_free: (a: number) => void;
|
|
1162
|
-
readonly create_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1163
|
-
readonly create_merge_bound_transaction: (a: number, b: number, c: number) => number;
|
|
1164
|
-
readonly create_remove_bound_transaction: (a: number, b: number, c: number) => number;
|
|
1165
|
-
readonly create_send_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1166
|
-
readonly create_split_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1167
|
-
readonly create_transaction: (a: number, b: number, c: number, d: number) => number;
|
|
1168
|
-
readonly create_transaction_with_multiple_payments: (a: number, b: number, c: number, d: number) => number;
|
|
1169
|
-
readonly disable_producing_blocks_by_timer: () => number;
|
|
1170
|
-
readonly generate_private_key: () => number;
|
|
1171
|
-
readonly generate_public_key: (a: number, b: number) => void;
|
|
1172
|
-
readonly get_account_slips: (a: number) => number;
|
|
1173
|
-
readonly get_balance_snapshot: (a: number) => number;
|
|
1174
|
-
readonly get_block: (a: number) => number;
|
|
1175
|
-
readonly get_blockchain: () => number;
|
|
1176
|
-
readonly get_confirmations: () => number;
|
|
1177
|
-
readonly get_congestion_stats: () => number;
|
|
1178
|
-
readonly get_latest_block_hash: () => number;
|
|
1179
|
-
readonly get_mempool_txs: () => number;
|
|
1180
|
-
readonly get_next_peer_index: () => number;
|
|
1181
|
-
readonly get_nft_list: () => number;
|
|
1182
|
-
readonly get_peer: (a: number) => number;
|
|
1183
|
-
readonly get_peer_stats: () => number;
|
|
1184
|
-
readonly get_peers: () => number;
|
|
1185
|
-
readonly get_stats: () => number;
|
|
1186
|
-
readonly get_wallet: () => number;
|
|
1187
|
-
readonly hash: (a: number) => number;
|
|
1188
|
-
readonly initialize: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
1189
|
-
readonly is_valid_public_key: (a: number) => number;
|
|
1190
|
-
readonly process_failed_block_fetch: (a: number, b: number, c: number) => number;
|
|
1191
|
-
readonly process_fetched_block: (a: number, b: number, c: number, d: number) => number;
|
|
1192
|
-
readonly process_msg_buffer_from_peer: (a: number, b: number) => number;
|
|
1193
|
-
readonly process_new_peer: (a: number, b: number) => number;
|
|
1194
|
-
readonly process_peer_disconnection: (a: number) => number;
|
|
1195
|
-
readonly process_stat_interval: (a: number) => number;
|
|
1196
|
-
readonly process_stun_peer: (a: number, b: number) => number;
|
|
1197
|
-
readonly process_timer_event: (a: number) => number;
|
|
1198
|
-
readonly produce_block_with_gt: () => number;
|
|
1199
|
-
readonly produce_block_without_gt: () => number;
|
|
1200
|
-
readonly propagate_transaction: (a: number) => number;
|
|
1201
|
-
readonly remove_stun_peer: (a: number) => number;
|
|
1202
|
-
readonly send_api_call: (a: number, b: number, c: number) => number;
|
|
1203
|
-
readonly send_api_error: (a: number, b: number, c: number) => number;
|
|
1204
|
-
readonly send_api_success: (a: number, b: number, c: number) => number;
|
|
1205
|
-
readonly set_wallet_version: (a: number, b: number, c: number) => number;
|
|
1206
|
-
readonly sign_buffer: (a: number, b: number, c: number) => void;
|
|
1207
|
-
readonly start_from_received_ghost_chain: () => number;
|
|
1208
|
-
readonly update_from_balance_snapshot: (a: number) => number;
|
|
1209
|
-
readonly verify_signature: (a: number, b: number, c: number) => number;
|
|
1210
|
-
readonly wasmblockchain_get_block_confirmation_limit: (a: number) => number;
|
|
1211
|
-
readonly wasmblockchain_get_fork_id: (a: number) => number;
|
|
1212
|
-
readonly wasmblockchain_get_genesis_block_id: (a: number) => number;
|
|
1213
|
-
readonly wasmblockchain_get_genesis_timestamp: (a: number) => number;
|
|
1214
|
-
readonly wasmblockchain_get_hashes_at_id: (a: number, b: number) => number;
|
|
1215
|
-
readonly wasmblockchain_get_last_block_hash: (a: number) => number;
|
|
1216
|
-
readonly wasmblockchain_get_last_block_id: (a: number) => number;
|
|
1217
|
-
readonly wasmblockchain_get_last_burnfee: (a: number) => number;
|
|
1218
|
-
readonly wasmblockchain_get_last_timestamp: (a: number) => number;
|
|
1219
|
-
readonly wasmblockchain_get_latest_block_id: (a: number) => number;
|
|
1220
|
-
readonly wasmblockchain_get_longest_chain_hash_at: (a: number, b: number) => number;
|
|
1221
|
-
readonly wasmblockchain_get_longest_chain_hash_at_id: (a: number, b: number) => number;
|
|
1222
|
-
readonly wasmblockchain_get_lowest_acceptable_block_hash: (a: number) => number;
|
|
1223
|
-
readonly wasmblockchain_get_lowest_acceptable_block_id: (a: number) => number;
|
|
1224
|
-
readonly wasmblockchain_get_lowest_acceptable_timestamp: (a: number) => number;
|
|
1225
|
-
readonly wasmblockchain_get_prune_after_blocks: (a: number) => number;
|
|
1226
|
-
readonly wasmblockchain_register_callback: (a: number, b: number, c: number, d: number) => number;
|
|
1227
|
-
readonly wasmblockchain_reset: (a: number) => number;
|
|
1228
|
-
readonly wasmblockchain_set_fork_id: (a: number, b: number) => number;
|
|
1229
|
-
readonly wasmblockchain_set_safe_to_prune_transaction: (a: number, b: number) => number;
|
|
1230
|
-
readonly wasmpeerservice_get_domain: (a: number) => number;
|
|
1231
|
-
readonly wasmpeerservice_get_name: (a: number) => number;
|
|
1232
|
-
readonly wasmpeerservice_get_service: (a: number) => number;
|
|
1233
|
-
readonly wasmpeerservice_new: () => number;
|
|
1234
|
-
readonly wasmpeerservice_set_domain: (a: number, b: number) => void;
|
|
1235
|
-
readonly wasmpeerservice_set_name: (a: number, b: number) => void;
|
|
1236
|
-
readonly wasmpeerservice_set_service: (a: number, b: number) => void;
|
|
1237
|
-
readonly wasmpeerservicelist_new: () => number;
|
|
1238
|
-
readonly wasmpeerservicelist_push: (a: number, b: number) => void;
|
|
1239
|
-
readonly write_issuance_file: (a: number) => number;
|
|
1240
1240
|
readonly rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
1241
1241
|
readonly rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
1242
1242
|
readonly rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|