saito-wasm 0.2.167 → 0.2.169
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 +145 -145
- package/pkg/node/index.js +310 -311
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +129 -129
- package/pkg/node/package.json +1 -1
- package/pkg/node/snippets/{saito-wasm-25d13ca010c26982 → saito-wasm-ac621af49b696a83}/js/msg_handler.js +3 -3
- package/pkg/web/index.d.ts +290 -290
- package/pkg/web/index.js +306 -307
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +129 -129
- package/pkg/web/package.json +1 -1
- package/pkg/web/snippets/{saito-wasm-25d13ca010c26982 → saito-wasm-ac621af49b696a83}/js/msg_handler.js +3 -3
package/pkg/web/index.d.ts
CHANGED
|
@@ -1,40 +1,53 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @param {Uint8Array} buffer
|
|
5
|
+
* @returns {string}
|
|
5
6
|
*/
|
|
6
|
-
export function
|
|
7
|
+
export function hash(buffer: Uint8Array): string;
|
|
7
8
|
/**
|
|
8
|
-
* @param {bigint}
|
|
9
|
+
* @param {bigint} threshold
|
|
9
10
|
* @returns {Promise<void>}
|
|
10
11
|
*/
|
|
11
|
-
export function
|
|
12
|
+
export function write_issuance_file(threshold: bigint): Promise<void>;
|
|
12
13
|
/**
|
|
13
|
-
* @param {
|
|
14
|
-
* @
|
|
14
|
+
* @param {bigint} peer_index
|
|
15
|
+
* @returns {Promise<void>}
|
|
16
|
+
*/
|
|
17
|
+
export function process_peer_disconnection(peer_index: bigint): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* @returns {Promise<string>}
|
|
20
|
+
*/
|
|
21
|
+
export function get_peer_stats(): Promise<string>;
|
|
22
|
+
/**
|
|
23
|
+
* @param {bigint} num
|
|
24
|
+
* @param {bigint} deposit
|
|
25
|
+
* @param {Uint8Array} tx_msg
|
|
15
26
|
* @param {bigint} fee
|
|
16
|
-
* @param {
|
|
27
|
+
* @param {string} recipient_public_key
|
|
28
|
+
* @param {string} nft_type
|
|
17
29
|
* @returns {Promise<WasmTransaction>}
|
|
18
30
|
*/
|
|
19
|
-
export function
|
|
31
|
+
export function create_bound_transaction(num: bigint, deposit: bigint, tx_msg: Uint8Array, fee: bigint, recipient_public_key: string, nft_type: string): Promise<WasmTransaction>;
|
|
20
32
|
/**
|
|
21
|
-
* @
|
|
33
|
+
* @param {WasmTransaction} tx
|
|
34
|
+
* @returns {Promise<void>}
|
|
22
35
|
*/
|
|
23
|
-
export function
|
|
36
|
+
export function propagate_transaction(tx: WasmTransaction): Promise<void>;
|
|
24
37
|
/**
|
|
25
|
-
* @param {Uint8Array} buffer
|
|
26
|
-
* @param {number} msg_index
|
|
27
38
|
* @param {bigint} peer_index
|
|
39
|
+
* @param {string} public_key
|
|
28
40
|
* @returns {Promise<void>}
|
|
29
41
|
*/
|
|
30
|
-
export function
|
|
42
|
+
export function process_stun_peer(peer_index: bigint, public_key: string): Promise<void>;
|
|
31
43
|
/**
|
|
32
|
-
* @param {
|
|
33
|
-
* @param {
|
|
34
|
-
* @param {
|
|
35
|
-
* @
|
|
44
|
+
* @param {Array<any>} public_keys
|
|
45
|
+
* @param {BigUint64Array} amounts
|
|
46
|
+
* @param {bigint} fee
|
|
47
|
+
* @param {boolean} _force_merge
|
|
48
|
+
* @returns {Promise<WasmTransaction>}
|
|
36
49
|
*/
|
|
37
|
-
export function
|
|
50
|
+
export function create_transaction_with_multiple_payments(public_keys: Array<any>, amounts: BigUint64Array, fee: bigint, _force_merge: boolean): Promise<WasmTransaction>;
|
|
38
51
|
/**
|
|
39
52
|
* @param {Uint8Array} hash
|
|
40
53
|
* @param {bigint} block_id
|
|
@@ -43,80 +56,72 @@ export function set_wallet_version(major: number, minor: number, patch: number):
|
|
|
43
56
|
*/
|
|
44
57
|
export function process_failed_block_fetch(hash: Uint8Array, block_id: bigint, peer_index: bigint): Promise<void>;
|
|
45
58
|
/**
|
|
46
|
-
* @param {string} block_hash
|
|
47
|
-
* @returns {Promise<WasmBlock>}
|
|
48
|
-
*/
|
|
49
|
-
export function get_block(block_hash: string): Promise<WasmBlock>;
|
|
50
|
-
/**
|
|
51
59
|
* @param {string} private_key
|
|
52
60
|
* @returns {string}
|
|
53
61
|
*/
|
|
54
62
|
export function generate_public_key(private_key: string): string;
|
|
55
63
|
/**
|
|
56
|
-
* @
|
|
57
|
-
*/
|
|
58
|
-
export function get_nft_list(): Promise<Array<any>>;
|
|
59
|
-
/**
|
|
60
|
-
* @param {Uint8Array} buffer
|
|
61
|
-
* @param {string} signature
|
|
62
|
-
* @param {string} public_key
|
|
64
|
+
* @param {string} key
|
|
63
65
|
* @returns {boolean}
|
|
64
66
|
*/
|
|
65
|
-
export function
|
|
67
|
+
export function is_valid_public_key(key: string): boolean;
|
|
66
68
|
/**
|
|
67
|
-
* @returns {Promise<
|
|
69
|
+
* @returns {Promise<Array<any>>}
|
|
68
70
|
*/
|
|
69
|
-
export function
|
|
71
|
+
export function get_nft_list(): Promise<Array<any>>;
|
|
70
72
|
/**
|
|
71
|
-
* @returns {Promise<
|
|
73
|
+
* @returns {Promise<WasmBlockchain>}
|
|
72
74
|
*/
|
|
73
|
-
export function
|
|
75
|
+
export function get_blockchain(): Promise<WasmBlockchain>;
|
|
74
76
|
/**
|
|
75
|
-
* @
|
|
77
|
+
* @param {Uint8Array} buffer
|
|
78
|
+
* @param {number} msg_index
|
|
79
|
+
* @param {bigint} peer_index
|
|
80
|
+
* @returns {Promise<void>}
|
|
76
81
|
*/
|
|
77
|
-
export function
|
|
82
|
+
export function send_api_call(buffer: Uint8Array, msg_index: number, peer_index: bigint): Promise<void>;
|
|
78
83
|
/**
|
|
79
|
-
* @param {
|
|
80
|
-
* @returns {
|
|
84
|
+
* @param {bigint} peer_index
|
|
85
|
+
* @returns {Promise<void>}
|
|
81
86
|
*/
|
|
82
|
-
export function
|
|
87
|
+
export function remove_stun_peer(peer_index: bigint): Promise<void>;
|
|
83
88
|
/**
|
|
84
|
-
* @
|
|
89
|
+
* @param {bigint} duration_in_ms
|
|
90
|
+
* @returns {Promise<void>}
|
|
85
91
|
*/
|
|
86
|
-
export function
|
|
92
|
+
export function process_timer_event(duration_in_ms: bigint): Promise<void>;
|
|
87
93
|
/**
|
|
88
94
|
* @param {bigint} peer_index
|
|
89
|
-
* @param {string}
|
|
95
|
+
* @param {string} ip
|
|
90
96
|
* @returns {Promise<void>}
|
|
91
97
|
*/
|
|
92
|
-
export function
|
|
98
|
+
export function process_new_peer(peer_index: bigint, ip: string): Promise<void>;
|
|
93
99
|
/**
|
|
94
|
-
* @
|
|
100
|
+
* @param {WasmBalanceSnapshot} snapshot
|
|
101
|
+
* @returns {Promise<void>}
|
|
95
102
|
*/
|
|
96
|
-
export function
|
|
103
|
+
export function update_from_balance_snapshot(snapshot: WasmBalanceSnapshot): Promise<void>;
|
|
97
104
|
/**
|
|
98
|
-
* @param {
|
|
99
|
-
* @
|
|
100
|
-
* @returns {Promise<void>}
|
|
105
|
+
* @param {Array<any>} keys
|
|
106
|
+
* @returns {Promise<WasmBalanceSnapshot>}
|
|
101
107
|
*/
|
|
102
|
-
export function
|
|
108
|
+
export function get_balance_snapshot(keys: Array<any>): Promise<WasmBalanceSnapshot>;
|
|
103
109
|
/**
|
|
104
|
-
* @returns {Promise<
|
|
110
|
+
* @returns {Promise<string>}
|
|
105
111
|
*/
|
|
106
|
-
export function
|
|
112
|
+
export function get_stats(): Promise<string>;
|
|
107
113
|
/**
|
|
108
114
|
* @returns {Promise<Array<any>>}
|
|
109
115
|
*/
|
|
110
|
-
export function
|
|
116
|
+
export function get_mempool_txs(): Promise<Array<any>>;
|
|
111
117
|
/**
|
|
112
|
-
* @returns {Promise<
|
|
118
|
+
* @returns {Promise<any>}
|
|
113
119
|
*/
|
|
114
|
-
export function
|
|
120
|
+
export function get_confirmations(): Promise<any>;
|
|
115
121
|
/**
|
|
116
|
-
* @
|
|
117
|
-
* @returns {Promise<void>}
|
|
122
|
+
* @returns {string}
|
|
118
123
|
*/
|
|
119
|
-
export function
|
|
124
|
+
export function generate_private_key(): string;
|
|
120
125
|
/**
|
|
121
126
|
* @param {Uint8Array} buffer
|
|
122
127
|
* @param {number} msg_index
|
|
@@ -125,48 +130,50 @@ export function write_issuance_file(threshold: bigint): Promise<void>;
|
|
|
125
130
|
*/
|
|
126
131
|
export function send_api_error(buffer: Uint8Array, msg_index: number, peer_index: bigint): Promise<void>;
|
|
127
132
|
/**
|
|
128
|
-
* @param {
|
|
129
|
-
* @
|
|
130
|
-
* @returns {Promise<WasmTransaction>}
|
|
133
|
+
* @param {bigint} peer_index
|
|
134
|
+
* @returns {Promise<WasmPeer | undefined>}
|
|
131
135
|
*/
|
|
132
|
-
export function
|
|
136
|
+
export function get_peer(peer_index: bigint): Promise<WasmPeer | undefined>;
|
|
133
137
|
/**
|
|
134
|
-
* @returns {
|
|
138
|
+
* @returns {Promise<void>}
|
|
135
139
|
*/
|
|
136
|
-
export function
|
|
140
|
+
export function start_from_received_ghost_chain(): Promise<void>;
|
|
137
141
|
/**
|
|
138
|
-
* @param {bigint} peer_index
|
|
139
142
|
* @returns {Promise<void>}
|
|
140
143
|
*/
|
|
141
|
-
export function
|
|
144
|
+
export function disable_producing_blocks_by_timer(): Promise<void>;
|
|
142
145
|
/**
|
|
143
|
-
* @param {
|
|
144
|
-
* @
|
|
146
|
+
* @param {string} nft_id_hex
|
|
147
|
+
* @param {Uint8Array} tx_msg
|
|
148
|
+
* @returns {Promise<WasmTransaction>}
|
|
145
149
|
*/
|
|
146
|
-
export function
|
|
150
|
+
export function create_merge_bound_transaction(nft_id_hex: string, tx_msg: Uint8Array): Promise<WasmTransaction>;
|
|
147
151
|
/**
|
|
148
|
-
* @
|
|
152
|
+
* @param {string} config_json
|
|
153
|
+
* @param {string} private_key
|
|
154
|
+
* @param {number} log_level_num
|
|
155
|
+
* @param {bigint} hasten_multiplier
|
|
156
|
+
* @param {boolean} delete_old_blocks
|
|
157
|
+
* @returns {Promise<any>}
|
|
149
158
|
*/
|
|
150
|
-
export function
|
|
159
|
+
export function initialize(config_json: string, private_key: string, log_level_num: number, hasten_multiplier: bigint, delete_old_blocks: boolean): Promise<any>;
|
|
151
160
|
/**
|
|
152
161
|
* @param {Uint8Array} buffer
|
|
153
|
-
* @param {
|
|
154
|
-
* @param {
|
|
155
|
-
* @
|
|
156
|
-
* @returns {Promise<void>}
|
|
162
|
+
* @param {string} signature
|
|
163
|
+
* @param {string} public_key
|
|
164
|
+
* @returns {boolean}
|
|
157
165
|
*/
|
|
158
|
-
export function
|
|
166
|
+
export function verify_signature(buffer: Uint8Array, signature: string, public_key: string): boolean;
|
|
159
167
|
/**
|
|
160
|
-
* @param {string}
|
|
161
|
-
* @
|
|
162
|
-
* @param {string} slip3_utxo_key
|
|
163
|
-
* @returns {Promise<WasmTransaction>}
|
|
168
|
+
* @param {string} public_key
|
|
169
|
+
* @returns {Promise<Array<any>>}
|
|
164
170
|
*/
|
|
165
|
-
export function
|
|
171
|
+
export function get_account_slips(public_key: string): Promise<Array<any>>;
|
|
166
172
|
/**
|
|
167
|
-
* @
|
|
173
|
+
* @param {string} block_hash
|
|
174
|
+
* @returns {Promise<WasmBlock>}
|
|
168
175
|
*/
|
|
169
|
-
export function
|
|
176
|
+
export function get_block(block_hash: string): Promise<WasmBlock>;
|
|
170
177
|
/**
|
|
171
178
|
* @param {string} public_key
|
|
172
179
|
* @param {bigint} amount
|
|
@@ -176,106 +183,99 @@ export function disable_producing_blocks_by_timer(): Promise<void>;
|
|
|
176
183
|
*/
|
|
177
184
|
export function create_transaction(public_key: string, amount: bigint, fee: bigint, force_merge: boolean): Promise<WasmTransaction>;
|
|
178
185
|
/**
|
|
179
|
-
* @
|
|
186
|
+
* @param {Uint8Array} buffer
|
|
187
|
+
* @param {string} private_key
|
|
188
|
+
* @returns {string}
|
|
180
189
|
*/
|
|
181
|
-
export function
|
|
190
|
+
export function sign_buffer(buffer: Uint8Array, private_key: string): string;
|
|
182
191
|
/**
|
|
192
|
+
* @param {bigint} current_time
|
|
183
193
|
* @returns {Promise<void>}
|
|
184
194
|
*/
|
|
185
|
-
export function
|
|
186
|
-
/**
|
|
187
|
-
* @param {bigint} peer_index
|
|
188
|
-
* @returns {Promise<WasmPeer | undefined>}
|
|
189
|
-
*/
|
|
190
|
-
export function get_peer(peer_index: bigint): Promise<WasmPeer | undefined>;
|
|
191
|
-
/**
|
|
192
|
-
* @param {bigint} amt
|
|
193
|
-
* @param {string} slip1_utxo_key
|
|
194
|
-
* @param {string} slip2_utxo_key
|
|
195
|
-
* @param {string} slip3_utxo_key
|
|
196
|
-
* @param {string} recipient_public_key
|
|
197
|
-
* @param {Uint8Array} tx_msg
|
|
198
|
-
* @returns {Promise<WasmTransaction>}
|
|
199
|
-
*/
|
|
200
|
-
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>;
|
|
195
|
+
export function process_stat_interval(current_time: bigint): Promise<void>;
|
|
201
196
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* @returns {boolean}
|
|
197
|
+
* @returns {Promise<WasmWallet>}
|
|
204
198
|
*/
|
|
205
|
-
export function
|
|
199
|
+
export function get_wallet(): Promise<WasmWallet>;
|
|
206
200
|
/**
|
|
207
|
-
* @param {
|
|
208
|
-
* @
|
|
201
|
+
* @param {Uint8Array} buffer
|
|
202
|
+
* @param {bigint} peer_index
|
|
203
|
+
* @returns {Promise<void>}
|
|
209
204
|
*/
|
|
210
|
-
export function
|
|
205
|
+
export function process_msg_buffer_from_peer(buffer: Uint8Array, peer_index: bigint): Promise<void>;
|
|
211
206
|
/**
|
|
212
|
-
* @param {
|
|
213
|
-
* @param {
|
|
214
|
-
* @param {
|
|
215
|
-
* @
|
|
216
|
-
* @param {boolean} delete_old_blocks
|
|
217
|
-
* @returns {Promise<any>}
|
|
207
|
+
* @param {Uint8Array} buffer
|
|
208
|
+
* @param {number} msg_index
|
|
209
|
+
* @param {bigint} peer_index
|
|
210
|
+
* @returns {Promise<void>}
|
|
218
211
|
*/
|
|
219
|
-
export function
|
|
212
|
+
export function send_api_success(buffer: Uint8Array, msg_index: number, peer_index: bigint): Promise<void>;
|
|
220
213
|
/**
|
|
221
214
|
* @param {string} slip1_utxo_key
|
|
222
215
|
* @param {string} slip2_utxo_key
|
|
223
216
|
* @param {string} slip3_utxo_key
|
|
224
|
-
* @param {number} left_count
|
|
225
|
-
* @param {number} right_count
|
|
226
|
-
* @param {Uint8Array} tx_msg
|
|
227
217
|
* @returns {Promise<WasmTransaction>}
|
|
228
218
|
*/
|
|
229
|
-
export function
|
|
219
|
+
export function create_remove_bound_transaction(slip1_utxo_key: string, slip2_utxo_key: string, slip3_utxo_key: string): Promise<WasmTransaction>;
|
|
230
220
|
/**
|
|
231
|
-
* @
|
|
232
|
-
* @param {number} msg_index
|
|
233
|
-
* @param {bigint} peer_index
|
|
234
|
-
* @returns {Promise<void>}
|
|
221
|
+
* @returns {Promise<string>}
|
|
235
222
|
*/
|
|
236
|
-
export function
|
|
223
|
+
export function get_congestion_stats(): Promise<string>;
|
|
224
|
+
/**
|
|
225
|
+
* @returns {Promise<boolean>}
|
|
226
|
+
*/
|
|
227
|
+
export function produce_block_with_gt(): Promise<boolean>;
|
|
237
228
|
/**
|
|
238
|
-
* @param {string} public_key
|
|
239
229
|
* @returns {Promise<Array<any>>}
|
|
240
230
|
*/
|
|
241
|
-
export function
|
|
231
|
+
export function get_peers(): Promise<Array<any>>;
|
|
242
232
|
/**
|
|
243
|
-
* @param {
|
|
233
|
+
* @param {number} major
|
|
234
|
+
* @param {number} minor
|
|
235
|
+
* @param {number} patch
|
|
244
236
|
* @returns {Promise<void>}
|
|
245
237
|
*/
|
|
246
|
-
export function
|
|
238
|
+
export function set_wallet_version(major: number, minor: number, patch: number): Promise<void>;
|
|
247
239
|
/**
|
|
248
|
-
* @
|
|
249
|
-
* @param {string} ip
|
|
250
|
-
* @returns {Promise<void>}
|
|
240
|
+
* @returns {Promise<boolean>}
|
|
251
241
|
*/
|
|
252
|
-
export function
|
|
242
|
+
export function produce_block_without_gt(): Promise<boolean>;
|
|
253
243
|
/**
|
|
254
|
-
* @
|
|
255
|
-
* @returns {Promise<void>}
|
|
244
|
+
* @returns {Promise<string>}
|
|
256
245
|
*/
|
|
257
|
-
export function
|
|
246
|
+
export function get_latest_block_hash(): Promise<string>;
|
|
258
247
|
/**
|
|
248
|
+
* @param {Uint8Array} buffer
|
|
249
|
+
* @param {Uint8Array} hash
|
|
250
|
+
* @param {bigint} block_id
|
|
259
251
|
* @param {bigint} peer_index
|
|
260
252
|
* @returns {Promise<void>}
|
|
261
253
|
*/
|
|
262
|
-
export function
|
|
254
|
+
export function process_fetched_block(buffer: Uint8Array, hash: Uint8Array, block_id: bigint, peer_index: bigint): Promise<void>;
|
|
263
255
|
/**
|
|
264
|
-
* @
|
|
265
|
-
|
|
256
|
+
* @returns {Promise<bigint>}
|
|
257
|
+
*/
|
|
258
|
+
export function get_next_peer_index(): Promise<bigint>;
|
|
259
|
+
/**
|
|
260
|
+
* @param {string} slip1_utxo_key
|
|
261
|
+
* @param {string} slip2_utxo_key
|
|
262
|
+
* @param {string} slip3_utxo_key
|
|
263
|
+
* @param {number} left_count
|
|
264
|
+
* @param {number} right_count
|
|
266
265
|
* @param {Uint8Array} tx_msg
|
|
267
|
-
* @param {bigint} fee
|
|
268
|
-
* @param {string} recipient_public_key
|
|
269
|
-
* @param {string} nft_type
|
|
270
266
|
* @returns {Promise<WasmTransaction>}
|
|
271
267
|
*/
|
|
272
|
-
export function
|
|
268
|
+
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>;
|
|
273
269
|
/**
|
|
274
|
-
* @param {
|
|
275
|
-
* @param {string}
|
|
276
|
-
* @
|
|
270
|
+
* @param {bigint} amt
|
|
271
|
+
* @param {string} slip1_utxo_key
|
|
272
|
+
* @param {string} slip2_utxo_key
|
|
273
|
+
* @param {string} slip3_utxo_key
|
|
274
|
+
* @param {string} recipient_public_key
|
|
275
|
+
* @param {Uint8Array} tx_msg
|
|
276
|
+
* @returns {Promise<WasmTransaction>}
|
|
277
277
|
*/
|
|
278
|
-
export function
|
|
278
|
+
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>;
|
|
279
279
|
/**
|
|
280
280
|
*/
|
|
281
281
|
export class SaitoWasm {
|
|
@@ -959,45 +959,38 @@ export class WasmWalletSlip {
|
|
|
959
959
|
/**
|
|
960
960
|
* @param {boolean} lc
|
|
961
961
|
*/
|
|
962
|
-
set_lc(lc: boolean): void;
|
|
963
|
-
/**
|
|
964
|
-
* @returns {boolean}
|
|
965
|
-
*/
|
|
966
|
-
is_spent(): boolean;
|
|
967
|
-
/**
|
|
968
|
-
* @param {boolean} spent
|
|
969
|
-
*/
|
|
970
|
-
set_spent(spent: boolean): void;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
974
|
-
|
|
975
|
-
export interface InitOutput {
|
|
976
|
-
readonly memory: WebAssembly.Memory;
|
|
977
|
-
readonly
|
|
978
|
-
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;
|
|
962
|
+
set_lc(lc: boolean): void;
|
|
963
|
+
/**
|
|
964
|
+
* @returns {boolean}
|
|
965
|
+
*/
|
|
966
|
+
is_spent(): boolean;
|
|
967
|
+
/**
|
|
968
|
+
* @param {boolean} spent
|
|
969
|
+
*/
|
|
970
|
+
set_spent(spent: boolean): void;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
974
|
+
|
|
975
|
+
export interface InitOutput {
|
|
976
|
+
readonly memory: WebAssembly.Memory;
|
|
977
|
+
readonly __wbg_wasmconfiguration_free: (a: number) => void;
|
|
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;
|
|
1001
994
|
readonly __wbg_wasmconsensusvalues_free: (a: number) => void;
|
|
1002
995
|
readonly wasmconsensusvalues_avg_income: (a: number) => number;
|
|
1003
996
|
readonly wasmconsensusvalues_expected_difficulty: (a: number) => number;
|
|
@@ -1014,34 +1007,10 @@ export interface InitOutput {
|
|
|
1014
1007
|
readonly wasmconsensusvalues_total_rebroadcast_slips: (a: number) => number;
|
|
1015
1008
|
readonly wasmconsensusvalues_total_rebroadcast_staking_payouts_nolan: (a: number) => number;
|
|
1016
1009
|
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;
|
|
1010
|
+
readonly __wbg_wasmstats_free: (a: number) => void;
|
|
1040
1011
|
readonly __wbg_wasmblock_free: (a: number) => void;
|
|
1041
|
-
readonly
|
|
1042
|
-
readonly
|
|
1043
|
-
readonly __wbg_wasmwallet_free: (a: number) => void;
|
|
1044
|
-
readonly __wbg_wasmwalletslip_free: (a: number) => void;
|
|
1012
|
+
readonly __wbg_wasmblockchain_free: (a: number) => void;
|
|
1013
|
+
readonly __wbg_wasmtransaction_free: (a: number) => void;
|
|
1045
1014
|
readonly wasmblock_avg_fee_per_byte: (a: number) => number;
|
|
1046
1015
|
readonly wasmblock_avg_income: (a: number) => number;
|
|
1047
1016
|
readonly wasmblock_avg_nolan_rebroadcast_per_block: (a: number) => number;
|
|
@@ -1098,6 +1067,99 @@ export interface InitOutput {
|
|
|
1098
1067
|
readonly wasmblock_total_rebroadcast_slips: (a: number) => number;
|
|
1099
1068
|
readonly wasmblock_total_work: (a: number) => number;
|
|
1100
1069
|
readonly wasmblock_treasury: (a: number) => number;
|
|
1070
|
+
readonly wasmblockchain_get_block_confirmation_limit: (a: number) => number;
|
|
1071
|
+
readonly wasmblockchain_get_fork_id: (a: number) => number;
|
|
1072
|
+
readonly wasmblockchain_get_genesis_block_id: (a: number) => number;
|
|
1073
|
+
readonly wasmblockchain_get_genesis_timestamp: (a: number) => number;
|
|
1074
|
+
readonly wasmblockchain_get_hashes_at_id: (a: number, b: number) => number;
|
|
1075
|
+
readonly wasmblockchain_get_last_block_hash: (a: number) => number;
|
|
1076
|
+
readonly wasmblockchain_get_last_block_id: (a: number) => number;
|
|
1077
|
+
readonly wasmblockchain_get_last_burnfee: (a: number) => number;
|
|
1078
|
+
readonly wasmblockchain_get_last_timestamp: (a: number) => number;
|
|
1079
|
+
readonly wasmblockchain_get_latest_block_id: (a: number) => number;
|
|
1080
|
+
readonly wasmblockchain_get_longest_chain_hash_at: (a: number, b: number) => number;
|
|
1081
|
+
readonly wasmblockchain_get_longest_chain_hash_at_id: (a: number, b: number) => number;
|
|
1082
|
+
readonly wasmblockchain_get_lowest_acceptable_block_hash: (a: number) => number;
|
|
1083
|
+
readonly wasmblockchain_get_lowest_acceptable_block_id: (a: number) => number;
|
|
1084
|
+
readonly wasmblockchain_get_lowest_acceptable_timestamp: (a: number) => number;
|
|
1085
|
+
readonly wasmblockchain_get_prune_after_blocks: (a: number) => number;
|
|
1086
|
+
readonly wasmblockchain_register_callback: (a: number, b: number, c: number, d: number) => number;
|
|
1087
|
+
readonly wasmblockchain_reset: (a: number) => number;
|
|
1088
|
+
readonly wasmblockchain_set_fork_id: (a: number, b: number) => number;
|
|
1089
|
+
readonly wasmblockchain_set_safe_to_prune_transaction: (a: number, b: number) => number;
|
|
1090
|
+
readonly wasmtransaction_add_from_slip: (a: number, b: number) => void;
|
|
1091
|
+
readonly wasmtransaction_add_to_slip: (a: number, b: number) => void;
|
|
1092
|
+
readonly wasmtransaction_deserialize: (a: number, b: number) => void;
|
|
1093
|
+
readonly wasmtransaction_from: (a: number) => number;
|
|
1094
|
+
readonly wasmtransaction_get_data: (a: number) => number;
|
|
1095
|
+
readonly wasmtransaction_get_routing_path: (a: number) => number;
|
|
1096
|
+
readonly wasmtransaction_get_timestamp: (a: number) => number;
|
|
1097
|
+
readonly wasmtransaction_get_txs_replacements: (a: number) => number;
|
|
1098
|
+
readonly wasmtransaction_get_type: (a: number) => number;
|
|
1099
|
+
readonly wasmtransaction_is_from: (a: number, b: number) => number;
|
|
1100
|
+
readonly wasmtransaction_is_to: (a: number, b: number) => number;
|
|
1101
|
+
readonly wasmtransaction_new: () => number;
|
|
1102
|
+
readonly wasmtransaction_serialize: (a: number) => number;
|
|
1103
|
+
readonly wasmtransaction_set_data: (a: number, b: number) => void;
|
|
1104
|
+
readonly wasmtransaction_set_signature: (a: number, b: number) => void;
|
|
1105
|
+
readonly wasmtransaction_set_timestamp: (a: number, b: number) => void;
|
|
1106
|
+
readonly wasmtransaction_set_txs_replacements: (a: number, b: number) => void;
|
|
1107
|
+
readonly wasmtransaction_set_type: (a: number, b: number) => void;
|
|
1108
|
+
readonly wasmtransaction_sign: (a: number) => number;
|
|
1109
|
+
readonly wasmtransaction_signature: (a: number) => number;
|
|
1110
|
+
readonly wasmtransaction_to: (a: number) => number;
|
|
1111
|
+
readonly wasmtransaction_total_fees: (a: number) => number;
|
|
1112
|
+
readonly wasmblock_avg_total_fees: (a: number) => number;
|
|
1113
|
+
readonly __wbg_saitowasm_free: (a: number) => void;
|
|
1114
|
+
readonly __wbg_wasmpeer_free: (a: number) => void;
|
|
1115
|
+
readonly create_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1116
|
+
readonly create_merge_bound_transaction: (a: number, b: number, c: number) => number;
|
|
1117
|
+
readonly create_remove_bound_transaction: (a: number, b: number, c: number) => number;
|
|
1118
|
+
readonly create_send_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1119
|
+
readonly create_split_bound_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1120
|
+
readonly create_transaction: (a: number, b: number, c: number, d: number) => number;
|
|
1121
|
+
readonly create_transaction_with_multiple_payments: (a: number, b: number, c: number, d: number) => number;
|
|
1122
|
+
readonly disable_producing_blocks_by_timer: () => number;
|
|
1123
|
+
readonly generate_private_key: () => number;
|
|
1124
|
+
readonly generate_public_key: (a: number, b: number) => void;
|
|
1125
|
+
readonly get_account_slips: (a: number) => number;
|
|
1126
|
+
readonly get_balance_snapshot: (a: number) => number;
|
|
1127
|
+
readonly get_block: (a: number) => number;
|
|
1128
|
+
readonly get_blockchain: () => number;
|
|
1129
|
+
readonly get_confirmations: () => number;
|
|
1130
|
+
readonly get_congestion_stats: () => number;
|
|
1131
|
+
readonly get_latest_block_hash: () => number;
|
|
1132
|
+
readonly get_mempool_txs: () => number;
|
|
1133
|
+
readonly get_next_peer_index: () => number;
|
|
1134
|
+
readonly get_nft_list: () => number;
|
|
1135
|
+
readonly get_peer: (a: number) => number;
|
|
1136
|
+
readonly get_peer_stats: () => number;
|
|
1137
|
+
readonly get_peers: () => number;
|
|
1138
|
+
readonly get_stats: () => number;
|
|
1139
|
+
readonly get_wallet: () => number;
|
|
1140
|
+
readonly hash: (a: number) => number;
|
|
1141
|
+
readonly initialize: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
1142
|
+
readonly is_valid_public_key: (a: number) => number;
|
|
1143
|
+
readonly process_failed_block_fetch: (a: number, b: number, c: number) => number;
|
|
1144
|
+
readonly process_fetched_block: (a: number, b: number, c: number, d: number) => number;
|
|
1145
|
+
readonly process_msg_buffer_from_peer: (a: number, b: number) => number;
|
|
1146
|
+
readonly process_new_peer: (a: number, b: number) => number;
|
|
1147
|
+
readonly process_peer_disconnection: (a: number) => number;
|
|
1148
|
+
readonly process_stat_interval: (a: number) => number;
|
|
1149
|
+
readonly process_stun_peer: (a: number, b: number) => number;
|
|
1150
|
+
readonly process_timer_event: (a: number) => number;
|
|
1151
|
+
readonly produce_block_with_gt: () => number;
|
|
1152
|
+
readonly produce_block_without_gt: () => number;
|
|
1153
|
+
readonly propagate_transaction: (a: number) => number;
|
|
1154
|
+
readonly remove_stun_peer: (a: number) => number;
|
|
1155
|
+
readonly send_api_call: (a: number, b: number, c: number) => number;
|
|
1156
|
+
readonly send_api_error: (a: number, b: number, c: number) => number;
|
|
1157
|
+
readonly send_api_success: (a: number, b: number, c: number) => number;
|
|
1158
|
+
readonly set_wallet_version: (a: number, b: number, c: number) => number;
|
|
1159
|
+
readonly sign_buffer: (a: number, b: number, c: number) => void;
|
|
1160
|
+
readonly start_from_received_ghost_chain: () => number;
|
|
1161
|
+
readonly update_from_balance_snapshot: (a: number) => number;
|
|
1162
|
+
readonly verify_signature: (a: number, b: number, c: number) => number;
|
|
1101
1163
|
readonly wasmpeer_get_key_list: (a: number) => number;
|
|
1102
1164
|
readonly wasmpeer_get_peer_index: (a: number) => number;
|
|
1103
1165
|
readonly wasmpeer_get_public_key: (a: number) => number;
|
|
@@ -1107,6 +1169,27 @@ export interface InitOutput {
|
|
|
1107
1169
|
readonly wasmpeer_has_service: (a: number, b: number) => number;
|
|
1108
1170
|
readonly wasmpeer_new: (a: number) => number;
|
|
1109
1171
|
readonly wasmpeer_set_services: (a: number, b: number) => void;
|
|
1172
|
+
readonly write_issuance_file: (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;
|