-
Notifications
You must be signed in to change notification settings - Fork 142
/
Copy pathwasm_exports.sh
857 lines (856 loc) · 32.8 KB
/
wasm_exports.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
# Autogenerated by tools/build_wrappers.py
# Should be sourced from tools/build_wasm.sh only
if [ -z "$EXPORTED_FUNCTIONS" ]; then
# BEGIN AUTOGENERATED
EXPORTED_FUNCTIONS="['_malloc','_free','_bip32_key_free' \
,'_bip32_key_from_base58' \
,'_bip32_key_from_base58_alloc' \
,'_bip32_key_from_base58_n' \
,'_bip32_key_from_base58_n_alloc' \
,'_bip32_key_from_parent' \
,'_bip32_key_from_parent_alloc' \
,'_bip32_key_from_parent_path' \
,'_bip32_key_from_parent_path_alloc' \
,'_bip32_key_from_parent_path_str' \
,'_bip32_key_from_parent_path_str_alloc' \
,'_bip32_key_from_parent_path_str_n' \
,'_bip32_key_from_parent_path_str_n_alloc' \
,'_bip32_key_from_seed' \
,'_bip32_key_from_seed_alloc' \
,'_bip32_key_from_seed_custom' \
,'_bip32_key_from_seed_custom_alloc' \
,'_bip32_key_get_chain_code' \
,'_bip32_key_get_child_num' \
,'_bip32_key_get_depth' \
,'_bip32_key_get_fingerprint' \
,'_bip32_key_get_hash160' \
,'_bip32_key_get_parent160' \
,'_bip32_key_get_priv_key' \
,'_bip32_key_get_pub_key' \
,'_bip32_key_get_version' \
,'_bip32_key_init' \
,'_bip32_key_init_alloc' \
,'_bip32_key_serialize' \
,'_bip32_key_strip_private_key' \
,'_bip32_key_to_base58' \
,'_bip32_key_unserialize' \
,'_bip32_key_unserialize_alloc' \
,'_bip32_path_from_str' \
,'_bip32_path_from_str_len' \
,'_bip32_path_from_str_n' \
,'_bip32_path_from_str_n_len' \
,'_bip32_path_str_get_features' \
,'_bip32_path_str_n_get_features' \
,'_bip38_get_flags' \
,'_bip38_raw_get_flags' \
,'_bip39_get_languages' \
,'_bip39_get_word' \
,'_bip39_get_wordlist' \
,'_bip39_mnemonic_from_bytes' \
,'_bip39_mnemonic_to_bytes' \
,'_bip39_mnemonic_to_seed512' \
,'_bip39_mnemonic_validate' \
,'_bip85_get_bip39_entropy' \
,'_bip85_get_languages' \
,'_bip85_get_rsa_entropy' \
,'_wally_addr_segwit_from_bytes' \
,'_wally_addr_segwit_get_version' \
,'_wally_addr_segwit_n_get_version' \
,'_wally_addr_segwit_n_to_bytes' \
,'_wally_addr_segwit_to_bytes' \
,'_wally_address_to_scriptpubkey' \
,'_wally_ae_host_commit_from_bytes' \
,'_wally_ae_sig_from_bytes' \
,'_wally_ae_signer_commit_from_bytes' \
,'_wally_ae_verify' \
,'_wally_aes' \
,'_wally_aes_cbc' \
,'_wally_aes_cbc_get_maximum_length' \
,'_wally_aes_cbc_with_ecdh_key' \
,'_wally_aes_cbc_with_ecdh_key_get_maximum_length' \
,'_wally_aes_len' \
,'_wally_base58_from_bytes' \
,'_wally_base58_get_length' \
,'_wally_base58_n_get_length' \
,'_wally_base58_n_to_bytes' \
,'_wally_base58_to_bytes' \
,'_wally_base64_from_bytes' \
,'_wally_base64_get_maximum_length' \
,'_wally_base64_n_get_maximum_length' \
,'_wally_base64_n_to_bytes' \
,'_wally_base64_to_bytes' \
,'_wally_bip32_key_to_addr_segwit' \
,'_wally_bip32_key_to_address' \
,'_wally_bip340_tagged_hash' \
,'_wally_bzero' \
,'_wally_cleanup' \
,'_wally_descriptor_canonicalize' \
,'_wally_descriptor_free' \
,'_wally_descriptor_get_checksum' \
,'_wally_descriptor_get_depth' \
,'_wally_descriptor_get_features' \
,'_wally_descriptor_get_key' \
,'_wally_descriptor_get_key_child_path_str' \
,'_wally_descriptor_get_key_child_path_str_len' \
,'_wally_descriptor_get_key_features' \
,'_wally_descriptor_get_key_origin_fingerprint' \
,'_wally_descriptor_get_key_origin_path_str' \
,'_wally_descriptor_get_key_origin_path_str_len' \
,'_wally_descriptor_get_network' \
,'_wally_descriptor_get_num_keys' \
,'_wally_descriptor_get_num_paths' \
,'_wally_descriptor_get_num_variants' \
,'_wally_descriptor_parse' \
,'_wally_descriptor_set_network' \
,'_wally_descriptor_to_address' \
,'_wally_descriptor_to_addresses' \
,'_wally_descriptor_to_script' \
,'_wally_descriptor_to_script_get_maximum_length' \
,'_wally_ec_private_key_bip341_tweak' \
,'_wally_ec_private_key_verify' \
,'_wally_ec_public_key_bip341_tweak' \
,'_wally_ec_public_key_decompress' \
,'_wally_ec_public_key_from_private_key' \
,'_wally_ec_public_key_negate' \
,'_wally_ec_public_key_verify' \
,'_wally_ec_scalar_add' \
,'_wally_ec_scalar_multiply' \
,'_wally_ec_scalar_subtract' \
,'_wally_ec_scalar_verify' \
,'_wally_ec_sig_from_bytes' \
,'_wally_ec_sig_from_bytes_aux' \
,'_wally_ec_sig_from_bytes_aux_len' \
,'_wally_ec_sig_from_bytes_len' \
,'_wally_ec_sig_from_der' \
,'_wally_ec_sig_normalize' \
,'_wally_ec_sig_to_der' \
,'_wally_ec_sig_to_public_key' \
,'_wally_ec_sig_verify' \
,'_wally_ec_xonly_public_key_verify' \
,'_wally_ecdh' \
,'_wally_format_bitcoin_message' \
,'_wally_free_string' \
,'_wally_get_build_version' \
,'_wally_get_hash_prevouts' \
,'_wally_get_operations' \
,'_wally_hash160' \
,'_wally_hex_from_bytes' \
,'_wally_hex_n_to_bytes' \
,'_wally_hex_n_verify' \
,'_wally_hex_to_bytes' \
,'_wally_hex_verify' \
,'_wally_hmac_sha256' \
,'_wally_hmac_sha512' \
,'_wally_init' \
,'_wally_is_elements_build' \
,'_wally_keypath_bip32_verify' \
,'_wally_keypath_get_fingerprint' \
,'_wally_keypath_get_path' \
,'_wally_keypath_get_path_len' \
,'_wally_keypath_public_key_verify' \
,'_wally_keypath_xonly_public_key_verify' \
,'_wally_map_add' \
,'_wally_map_add_integer' \
,'_wally_map_assign' \
,'_wally_map_clear' \
,'_wally_map_combine' \
,'_wally_map_find' \
,'_wally_map_find_bip32_public_key_from' \
,'_wally_map_find_from' \
,'_wally_map_find_integer' \
,'_wally_map_free' \
,'_wally_map_get_item' \
,'_wally_map_get_item_integer_key' \
,'_wally_map_get_item_key' \
,'_wally_map_get_item_key_length' \
,'_wally_map_get_item_length' \
,'_wally_map_get_num_items' \
,'_wally_map_hash_preimage_verify' \
,'_wally_map_init' \
,'_wally_map_init_alloc' \
,'_wally_map_keypath_add' \
,'_wally_map_keypath_bip32_init_alloc' \
,'_wally_map_keypath_get_bip32_key_from' \
,'_wally_map_keypath_get_bip32_key_from_alloc' \
,'_wally_map_keypath_get_bip32_public_key_from' \
,'_wally_map_keypath_get_item_fingerprint' \
,'_wally_map_keypath_get_item_path' \
,'_wally_map_keypath_get_item_path_len' \
,'_wally_map_keypath_public_key_init_alloc' \
,'_wally_map_merkle_path_add' \
,'_wally_map_preimage_hash160_add' \
,'_wally_map_preimage_init_alloc' \
,'_wally_map_preimage_ripemd160_add' \
,'_wally_map_preimage_sha256_add' \
,'_wally_map_preimage_sha256d_add' \
,'_wally_map_remove' \
,'_wally_map_remove_integer' \
,'_wally_map_replace' \
,'_wally_map_replace_integer' \
,'_wally_map_sort' \
,'_wally_merkle_path_xonly_public_key_verify' \
,'_wally_pbkdf2_hmac_sha256' \
,'_wally_pbkdf2_hmac_sha512' \
,'_wally_psbt_add_input_keypath' \
,'_wally_psbt_add_input_signature' \
,'_wally_psbt_add_input_taproot_keypath' \
,'_wally_psbt_add_output_keypath' \
,'_wally_psbt_add_output_taproot_keypath' \
,'_wally_psbt_add_tx_input_at' \
,'_wally_psbt_add_tx_output_at' \
,'_wally_psbt_clear_fallback_locktime' \
,'_wally_psbt_clear_input_required_lockheight' \
,'_wally_psbt_clear_input_required_locktime' \
,'_wally_psbt_clear_input_sequence' \
,'_wally_psbt_clear_output_amount' \
,'_wally_psbt_clone_alloc' \
,'_wally_psbt_combine' \
,'_wally_psbt_combine_ex' \
,'_wally_psbt_extract' \
,'_wally_psbt_finalize' \
,'_wally_psbt_finalize_input' \
,'_wally_psbt_find_input_keypath' \
,'_wally_psbt_find_input_signature' \
,'_wally_psbt_find_input_spending_utxo' \
,'_wally_psbt_find_input_unknown' \
,'_wally_psbt_find_output_keypath' \
,'_wally_psbt_find_output_unknown' \
,'_wally_psbt_free' \
,'_wally_psbt_from_base64' \
,'_wally_psbt_from_base64_n' \
,'_wally_psbt_from_bytes' \
,'_wally_psbt_from_tx' \
,'_wally_psbt_get_fallback_locktime' \
,'_wally_psbt_get_global_tx_alloc' \
,'_wally_psbt_get_id' \
,'_wally_psbt_get_input_best_utxo' \
,'_wally_psbt_get_input_best_utxo_alloc' \
,'_wally_psbt_get_input_bip32_key_from_alloc' \
,'_wally_psbt_get_input_final_scriptsig' \
,'_wally_psbt_get_input_final_scriptsig_len' \
,'_wally_psbt_get_input_final_witness_alloc' \
,'_wally_psbt_get_input_keypath' \
,'_wally_psbt_get_input_keypath_len' \
,'_wally_psbt_get_input_keypaths_size' \
,'_wally_psbt_get_input_output_index' \
,'_wally_psbt_get_input_previous_txid' \
,'_wally_psbt_get_input_redeem_script' \
,'_wally_psbt_get_input_redeem_script_len' \
,'_wally_psbt_get_input_required_lockheight' \
,'_wally_psbt_get_input_required_locktime' \
,'_wally_psbt_get_input_scriptcode' \
,'_wally_psbt_get_input_scriptcode_len' \
,'_wally_psbt_get_input_sequence' \
,'_wally_psbt_get_input_sighash' \
,'_wally_psbt_get_input_signature' \
,'_wally_psbt_get_input_signature_hash' \
,'_wally_psbt_get_input_signature_len' \
,'_wally_psbt_get_input_signatures_size' \
,'_wally_psbt_get_input_signing_script' \
,'_wally_psbt_get_input_signing_script_len' \
,'_wally_psbt_get_input_taproot_internal_key' \
,'_wally_psbt_get_input_taproot_internal_key_len' \
,'_wally_psbt_get_input_taproot_signature' \
,'_wally_psbt_get_input_taproot_signature_len' \
,'_wally_psbt_get_input_unknown' \
,'_wally_psbt_get_input_unknown_len' \
,'_wally_psbt_get_input_unknowns_size' \
,'_wally_psbt_get_input_utxo_alloc' \
,'_wally_psbt_get_input_witness_script' \
,'_wally_psbt_get_input_witness_script_len' \
,'_wally_psbt_get_input_witness_utxo_alloc' \
,'_wally_psbt_get_length' \
,'_wally_psbt_get_locktime' \
,'_wally_psbt_get_num_inputs' \
,'_wally_psbt_get_num_outputs' \
,'_wally_psbt_get_output_amount' \
,'_wally_psbt_get_output_keypath' \
,'_wally_psbt_get_output_keypath_len' \
,'_wally_psbt_get_output_keypaths_size' \
,'_wally_psbt_get_output_redeem_script' \
,'_wally_psbt_get_output_redeem_script_len' \
,'_wally_psbt_get_output_script' \
,'_wally_psbt_get_output_script_len' \
,'_wally_psbt_get_output_taproot_internal_key' \
,'_wally_psbt_get_output_taproot_internal_key_len' \
,'_wally_psbt_get_output_unknown' \
,'_wally_psbt_get_output_unknown_len' \
,'_wally_psbt_get_output_unknowns_size' \
,'_wally_psbt_get_output_witness_script' \
,'_wally_psbt_get_output_witness_script_len' \
,'_wally_psbt_get_tx_modifiable_flags' \
,'_wally_psbt_get_tx_version' \
,'_wally_psbt_get_version' \
,'_wally_psbt_has_fallback_locktime' \
,'_wally_psbt_has_input_required_lockheight' \
,'_wally_psbt_has_input_required_locktime' \
,'_wally_psbt_has_output_amount' \
,'_wally_psbt_init_alloc' \
,'_wally_psbt_input_add_signature' \
,'_wally_psbt_input_clear_required_lockheight' \
,'_wally_psbt_input_clear_required_locktime' \
,'_wally_psbt_input_clear_sequence' \
,'_wally_psbt_input_find_keypath' \
,'_wally_psbt_input_find_signature' \
,'_wally_psbt_input_find_unknown' \
,'_wally_psbt_input_is_finalized' \
,'_wally_psbt_input_keypath_add' \
,'_wally_psbt_input_set_final_scriptsig' \
,'_wally_psbt_input_set_final_witness' \
,'_wally_psbt_input_set_keypaths' \
,'_wally_psbt_input_set_output_index' \
,'_wally_psbt_input_set_previous_txid' \
,'_wally_psbt_input_set_redeem_script' \
,'_wally_psbt_input_set_required_lockheight' \
,'_wally_psbt_input_set_required_locktime' \
,'_wally_psbt_input_set_sequence' \
,'_wally_psbt_input_set_sighash' \
,'_wally_psbt_input_set_signatures' \
,'_wally_psbt_input_set_taproot_internal_key' \
,'_wally_psbt_input_set_taproot_signature' \
,'_wally_psbt_input_set_unknowns' \
,'_wally_psbt_input_set_utxo' \
,'_wally_psbt_input_set_witness_script' \
,'_wally_psbt_input_set_witness_utxo' \
,'_wally_psbt_input_set_witness_utxo_from_tx' \
,'_wally_psbt_input_taproot_keypath_add' \
,'_wally_psbt_is_elements' \
,'_wally_psbt_is_finalized' \
,'_wally_psbt_is_input_finalized' \
,'_wally_psbt_output_clear_amount' \
,'_wally_psbt_output_find_keypath' \
,'_wally_psbt_output_find_unknown' \
,'_wally_psbt_output_keypath_add' \
,'_wally_psbt_output_set_amount' \
,'_wally_psbt_output_set_keypaths' \
,'_wally_psbt_output_set_redeem_script' \
,'_wally_psbt_output_set_script' \
,'_wally_psbt_output_set_taproot_internal_key' \
,'_wally_psbt_output_set_unknowns' \
,'_wally_psbt_output_set_witness_script' \
,'_wally_psbt_output_taproot_keypath_add' \
,'_wally_psbt_remove_input' \
,'_wally_psbt_remove_output' \
,'_wally_psbt_set_fallback_locktime' \
,'_wally_psbt_set_global_tx' \
,'_wally_psbt_set_input_final_scriptsig' \
,'_wally_psbt_set_input_final_witness' \
,'_wally_psbt_set_input_keypaths' \
,'_wally_psbt_set_input_output_index' \
,'_wally_psbt_set_input_previous_txid' \
,'_wally_psbt_set_input_redeem_script' \
,'_wally_psbt_set_input_required_lockheight' \
,'_wally_psbt_set_input_required_locktime' \
,'_wally_psbt_set_input_sequence' \
,'_wally_psbt_set_input_sighash' \
,'_wally_psbt_set_input_signatures' \
,'_wally_psbt_set_input_taproot_internal_key' \
,'_wally_psbt_set_input_taproot_signature' \
,'_wally_psbt_set_input_unknowns' \
,'_wally_psbt_set_input_utxo' \
,'_wally_psbt_set_input_witness_script' \
,'_wally_psbt_set_input_witness_utxo' \
,'_wally_psbt_set_input_witness_utxo_from_tx' \
,'_wally_psbt_set_output_amount' \
,'_wally_psbt_set_output_keypaths' \
,'_wally_psbt_set_output_redeem_script' \
,'_wally_psbt_set_output_script' \
,'_wally_psbt_set_output_taproot_internal_key' \
,'_wally_psbt_set_output_unknowns' \
,'_wally_psbt_set_output_witness_script' \
,'_wally_psbt_set_tx_modifiable_flags' \
,'_wally_psbt_set_tx_version' \
,'_wally_psbt_set_version' \
,'_wally_psbt_sign' \
,'_wally_psbt_sign_bip32' \
,'_wally_psbt_sign_input_bip32' \
,'_wally_psbt_signing_cache_disable' \
,'_wally_psbt_signing_cache_enable' \
,'_wally_psbt_to_base64' \
,'_wally_psbt_to_bytes' \
,'_wally_ripemd160' \
,'_wally_s2c_commitment_verify' \
,'_wally_s2c_sig_from_bytes' \
,'_wally_script_push_from_bytes' \
,'_wally_scriptpubkey_csv_2of2_then_1_from_bytes' \
,'_wally_scriptpubkey_csv_2of2_then_1_from_bytes_opt' \
,'_wally_scriptpubkey_csv_blocks_from_csv_2of2_then_1' \
,'_wally_scriptpubkey_get_type' \
,'_wally_scriptpubkey_multisig_from_bytes' \
,'_wally_scriptpubkey_op_return_from_bytes' \
,'_wally_scriptpubkey_p2pkh_from_bytes' \
,'_wally_scriptpubkey_p2sh_from_bytes' \
,'_wally_scriptpubkey_p2tr_from_bytes' \
,'_wally_scriptpubkey_to_address' \
,'_wally_scriptsig_multisig_from_bytes' \
,'_wally_scriptsig_p2pkh_from_der' \
,'_wally_scriptsig_p2pkh_from_sig' \
,'_wally_scrypt' \
,'_wally_secp_randomize' \
,'_wally_set_operations' \
,'_wally_sha256' \
,'_wally_sha256_midstate' \
,'_wally_sha256d' \
,'_wally_sha512' \
,'_wally_symmetric_key_from_parent' \
,'_wally_symmetric_key_from_seed' \
,'_wally_tx_add_input' \
,'_wally_tx_add_input_at' \
,'_wally_tx_add_output' \
,'_wally_tx_add_output_at' \
,'_wally_tx_add_raw_input' \
,'_wally_tx_add_raw_input_at' \
,'_wally_tx_add_raw_output' \
,'_wally_tx_add_raw_output_at' \
,'_wally_tx_clone_alloc' \
,'_wally_tx_free' \
,'_wally_tx_from_bytes' \
,'_wally_tx_from_hex' \
,'_wally_tx_get_btc_signature_hash' \
,'_wally_tx_get_btc_taproot_signature_hash' \
,'_wally_tx_get_hash_prevouts' \
,'_wally_tx_get_input_index' \
,'_wally_tx_get_input_script' \
,'_wally_tx_get_input_script_len' \
,'_wally_tx_get_input_sequence' \
,'_wally_tx_get_input_signature_hash' \
,'_wally_tx_get_input_txhash' \
,'_wally_tx_get_input_witness' \
,'_wally_tx_get_input_witness_len' \
,'_wally_tx_get_input_witness_num_items' \
,'_wally_tx_get_length' \
,'_wally_tx_get_locktime' \
,'_wally_tx_get_num_inputs' \
,'_wally_tx_get_num_outputs' \
,'_wally_tx_get_output_satoshi' \
,'_wally_tx_get_output_script' \
,'_wally_tx_get_output_script_len' \
,'_wally_tx_get_signature_hash' \
,'_wally_tx_get_total_output_satoshi' \
,'_wally_tx_get_txid' \
,'_wally_tx_get_version' \
,'_wally_tx_get_vsize' \
,'_wally_tx_get_weight' \
,'_wally_tx_get_witness_count' \
,'_wally_tx_init_alloc' \
,'_wally_tx_input_clone' \
,'_wally_tx_input_clone_alloc' \
,'_wally_tx_input_free' \
,'_wally_tx_input_get_index' \
,'_wally_tx_input_get_script' \
,'_wally_tx_input_get_script_len' \
,'_wally_tx_input_get_sequence' \
,'_wally_tx_input_get_txhash' \
,'_wally_tx_input_get_witness' \
,'_wally_tx_input_get_witness_len' \
,'_wally_tx_input_get_witness_num_items' \
,'_wally_tx_input_init_alloc' \
,'_wally_tx_input_set_index' \
,'_wally_tx_input_set_script' \
,'_wally_tx_input_set_sequence' \
,'_wally_tx_input_set_txhash' \
,'_wally_tx_input_set_witness' \
,'_wally_tx_is_coinbase' \
,'_wally_tx_output_clone' \
,'_wally_tx_output_clone_alloc' \
,'_wally_tx_output_free' \
,'_wally_tx_output_get_satoshi' \
,'_wally_tx_output_get_script' \
,'_wally_tx_output_get_script_len' \
,'_wally_tx_output_init' \
,'_wally_tx_output_init_alloc' \
,'_wally_tx_output_set_satoshi' \
,'_wally_tx_output_set_script' \
,'_wally_tx_remove_input' \
,'_wally_tx_remove_output' \
,'_wally_tx_set_input_index' \
,'_wally_tx_set_input_script' \
,'_wally_tx_set_input_sequence' \
,'_wally_tx_set_input_txhash' \
,'_wally_tx_set_input_witness' \
,'_wally_tx_set_output_satoshi' \
,'_wally_tx_set_output_script' \
,'_wally_tx_to_bytes' \
,'_wally_tx_to_hex' \
,'_wally_tx_vsize_from_weight' \
,'_wally_tx_witness_stack_add' \
,'_wally_tx_witness_stack_add_dummy' \
,'_wally_tx_witness_stack_clone_alloc' \
,'_wally_tx_witness_stack_free' \
,'_wally_tx_witness_stack_from_bytes' \
,'_wally_tx_witness_stack_get_length' \
,'_wally_tx_witness_stack_get_num_items' \
,'_wally_tx_witness_stack_init_alloc' \
,'_wally_tx_witness_stack_set' \
,'_wally_tx_witness_stack_set_dummy' \
,'_wally_tx_witness_stack_to_bytes' \
,'_wally_varbuff_get_length' \
,'_wally_varbuff_to_bytes' \
,'_wally_varint_get_length' \
,'_wally_varint_to_bytes' \
,'_wally_wif_from_bytes' \
,'_wally_wif_is_uncompressed' \
,'_wally_wif_to_address' \
,'_wally_wif_to_bytes' \
,'_wally_wif_to_public_key' \
,'_wally_witness_multisig_from_bytes' \
,'_wally_witness_p2tr_from_sig' \
,'_wally_witness_p2wpkh_from_der' \
,'_wally_witness_p2wpkh_from_sig' \
,'_wally_witness_program_from_bytes' \
,'_wally_witness_program_from_bytes_and_version' \
"
if [ -z "$DISABLE_ELEMENTS" ]; then
EXPORTED_FUNCTIONS="$EXPORTED_FUNCTIONS"",'_bip32_key_get_pub_key_tweak_sum' \
,'_bip32_key_with_tweak_from_parent_path' \
,'_bip32_key_with_tweak_from_parent_path_alloc' \
,'_wally_asset_blinding_key_from_seed' \
,'_wally_asset_blinding_key_to_abf' \
,'_wally_asset_blinding_key_to_abf_vbf' \
,'_wally_asset_blinding_key_to_ec_private_key' \
,'_wally_asset_blinding_key_to_vbf' \
,'_wally_asset_final_vbf' \
,'_wally_asset_generator_from_bytes' \
,'_wally_asset_pak_whitelistproof' \
,'_wally_asset_pak_whitelistproof_len' \
,'_wally_asset_pak_whitelistproof_size' \
,'_wally_asset_rangeproof' \
,'_wally_asset_rangeproof_get_maximum_len' \
,'_wally_asset_rangeproof_with_nonce' \
,'_wally_asset_scalar_offset' \
,'_wally_asset_surjectionproof' \
,'_wally_asset_surjectionproof_len' \
,'_wally_asset_surjectionproof_size' \
,'_wally_asset_unblind' \
,'_wally_asset_unblind_with_nonce' \
,'_wally_asset_value_commitment' \
,'_wally_coinselect_assets' \
,'_wally_confidential_addr_from_addr' \
,'_wally_confidential_addr_from_addr_segwit' \
,'_wally_confidential_addr_segwit_to_ec_public_key' \
,'_wally_confidential_addr_to_addr' \
,'_wally_confidential_addr_to_addr_segwit' \
,'_wally_confidential_addr_to_ec_public_key' \
,'_wally_ecdh_nonce_hash' \
,'_wally_elements_pegin_contract_script_from_bytes' \
,'_wally_elements_pegout_script_from_bytes' \
,'_wally_elements_pegout_script_size' \
,'_wally_explicit_rangeproof' \
,'_wally_explicit_rangeproof_verify' \
,'_wally_explicit_surjectionproof' \
,'_wally_explicit_surjectionproof_verify' \
,'_wally_psbt_add_global_scalar' \
,'_wally_psbt_blind' \
,'_wally_psbt_blind_alloc' \
,'_wally_psbt_clear_input_amount' \
,'_wally_psbt_clear_input_amount_rangeproof' \
,'_wally_psbt_clear_input_asset' \
,'_wally_psbt_clear_input_asset_surjectionproof' \
,'_wally_psbt_clear_input_inflation_keys_blinding_rangeproof' \
,'_wally_psbt_clear_input_inflation_keys_commitment' \
,'_wally_psbt_clear_input_inflation_keys_rangeproof' \
,'_wally_psbt_clear_input_issuance_amount_blinding_rangeproof' \
,'_wally_psbt_clear_input_issuance_amount_commitment' \
,'_wally_psbt_clear_input_issuance_amount_rangeproof' \
,'_wally_psbt_clear_input_issuance_asset_entropy' \
,'_wally_psbt_clear_input_issuance_blinding_nonce' \
,'_wally_psbt_clear_input_pegin_claim_script' \
,'_wally_psbt_clear_input_pegin_genesis_blockhash' \
,'_wally_psbt_clear_input_pegin_txout_proof' \
,'_wally_psbt_clear_input_utxo_rangeproof' \
,'_wally_psbt_clear_output_asset' \
,'_wally_psbt_clear_output_asset_blinding_surjectionproof' \
,'_wally_psbt_clear_output_asset_commitment' \
,'_wally_psbt_clear_output_asset_surjectionproof' \
,'_wally_psbt_clear_output_blinder_index' \
,'_wally_psbt_clear_output_blinding_public_key' \
,'_wally_psbt_clear_output_ecdh_public_key' \
,'_wally_psbt_clear_output_value_blinding_rangeproof' \
,'_wally_psbt_clear_output_value_commitment' \
,'_wally_psbt_clear_output_value_rangeproof' \
,'_wally_psbt_find_global_scalar' \
,'_wally_psbt_generate_input_explicit_proofs' \
,'_wally_psbt_get_global_genesis_blockhash' \
,'_wally_psbt_get_global_scalar' \
,'_wally_psbt_get_global_scalars_size' \
,'_wally_psbt_get_input_amount' \
,'_wally_psbt_get_input_amount_rangeproof' \
,'_wally_psbt_get_input_amount_rangeproof_len' \
,'_wally_psbt_get_input_asset' \
,'_wally_psbt_get_input_asset_len' \
,'_wally_psbt_get_input_asset_surjectionproof' \
,'_wally_psbt_get_input_asset_surjectionproof_len' \
,'_wally_psbt_get_input_inflation_keys' \
,'_wally_psbt_get_input_inflation_keys_blinding_rangeproof' \
,'_wally_psbt_get_input_inflation_keys_blinding_rangeproof_len' \
,'_wally_psbt_get_input_inflation_keys_commitment' \
,'_wally_psbt_get_input_inflation_keys_commitment_len' \
,'_wally_psbt_get_input_inflation_keys_rangeproof' \
,'_wally_psbt_get_input_inflation_keys_rangeproof_len' \
,'_wally_psbt_get_input_issuance_amount' \
,'_wally_psbt_get_input_issuance_amount_blinding_rangeproof' \
,'_wally_psbt_get_input_issuance_amount_blinding_rangeproof_len' \
,'_wally_psbt_get_input_issuance_amount_commitment' \
,'_wally_psbt_get_input_issuance_amount_commitment_len' \
,'_wally_psbt_get_input_issuance_amount_rangeproof' \
,'_wally_psbt_get_input_issuance_amount_rangeproof_len' \
,'_wally_psbt_get_input_issuance_asset_entropy' \
,'_wally_psbt_get_input_issuance_asset_entropy_len' \
,'_wally_psbt_get_input_issuance_blinding_nonce' \
,'_wally_psbt_get_input_issuance_blinding_nonce_len' \
,'_wally_psbt_get_input_pegin_amount' \
,'_wally_psbt_get_input_pegin_claim_script' \
,'_wally_psbt_get_input_pegin_claim_script_len' \
,'_wally_psbt_get_input_pegin_genesis_blockhash' \
,'_wally_psbt_get_input_pegin_genesis_blockhash_len' \
,'_wally_psbt_get_input_pegin_txout_proof' \
,'_wally_psbt_get_input_pegin_txout_proof_len' \
,'_wally_psbt_get_input_utxo_rangeproof' \
,'_wally_psbt_get_input_utxo_rangeproof_len' \
,'_wally_psbt_get_output_asset' \
,'_wally_psbt_get_output_asset_blinding_surjectionproof' \
,'_wally_psbt_get_output_asset_blinding_surjectionproof_len' \
,'_wally_psbt_get_output_asset_commitment' \
,'_wally_psbt_get_output_asset_commitment_len' \
,'_wally_psbt_get_output_asset_len' \
,'_wally_psbt_get_output_asset_surjectionproof' \
,'_wally_psbt_get_output_asset_surjectionproof_len' \
,'_wally_psbt_get_output_blinder_index' \
,'_wally_psbt_get_output_blinding_public_key' \
,'_wally_psbt_get_output_blinding_public_key_len' \
,'_wally_psbt_get_output_blinding_status' \
,'_wally_psbt_get_output_ecdh_public_key' \
,'_wally_psbt_get_output_ecdh_public_key_len' \
,'_wally_psbt_get_output_value_blinding_rangeproof' \
,'_wally_psbt_get_output_value_blinding_rangeproof_len' \
,'_wally_psbt_get_output_value_commitment' \
,'_wally_psbt_get_output_value_commitment_len' \
,'_wally_psbt_get_output_value_rangeproof' \
,'_wally_psbt_get_output_value_rangeproof_len' \
,'_wally_psbt_get_pset_modifiable_flags' \
,'_wally_psbt_has_global_genesis_blockhash' \
,'_wally_psbt_has_output_blinder_index' \
,'_wally_psbt_input_clear_amount_rangeproof' \
,'_wally_psbt_input_clear_asset' \
,'_wally_psbt_input_clear_asset_surjectionproof' \
,'_wally_psbt_input_clear_inflation_keys_blinding_rangeproof' \
,'_wally_psbt_input_clear_inflation_keys_commitment' \
,'_wally_psbt_input_clear_inflation_keys_rangeproof' \
,'_wally_psbt_input_clear_issuance_amount_blinding_rangeproof' \
,'_wally_psbt_input_clear_issuance_amount_commitment' \
,'_wally_psbt_input_clear_issuance_amount_rangeproof' \
,'_wally_psbt_input_clear_issuance_asset_entropy' \
,'_wally_psbt_input_clear_issuance_blinding_nonce' \
,'_wally_psbt_input_clear_pegin_claim_script' \
,'_wally_psbt_input_clear_pegin_genesis_blockhash' \
,'_wally_psbt_input_clear_pegin_txout_proof' \
,'_wally_psbt_input_clear_utxo_rangeproof' \
,'_wally_psbt_input_generate_explicit_proofs' \
,'_wally_psbt_input_get_amount_rangeproof' \
,'_wally_psbt_input_get_amount_rangeproof_len' \
,'_wally_psbt_input_get_asset' \
,'_wally_psbt_input_get_asset_len' \
,'_wally_psbt_input_get_asset_surjectionproof' \
,'_wally_psbt_input_get_asset_surjectionproof_len' \
,'_wally_psbt_input_get_inflation_keys_blinding_rangeproof' \
,'_wally_psbt_input_get_inflation_keys_blinding_rangeproof_len' \
,'_wally_psbt_input_get_inflation_keys_commitment' \
,'_wally_psbt_input_get_inflation_keys_commitment_len' \
,'_wally_psbt_input_get_inflation_keys_rangeproof' \
,'_wally_psbt_input_get_inflation_keys_rangeproof_len' \
,'_wally_psbt_input_get_issuance_amount_blinding_rangeproof' \
,'_wally_psbt_input_get_issuance_amount_blinding_rangeproof_len' \
,'_wally_psbt_input_get_issuance_amount_commitment' \
,'_wally_psbt_input_get_issuance_amount_commitment_len' \
,'_wally_psbt_input_get_issuance_amount_rangeproof' \
,'_wally_psbt_input_get_issuance_amount_rangeproof_len' \
,'_wally_psbt_input_get_issuance_asset_entropy' \
,'_wally_psbt_input_get_issuance_asset_entropy_len' \
,'_wally_psbt_input_get_issuance_blinding_nonce' \
,'_wally_psbt_input_get_issuance_blinding_nonce_len' \
,'_wally_psbt_input_get_pegin_claim_script' \
,'_wally_psbt_input_get_pegin_claim_script_len' \
,'_wally_psbt_input_get_pegin_genesis_blockhash' \
,'_wally_psbt_input_get_pegin_genesis_blockhash_len' \
,'_wally_psbt_input_get_pegin_txout_proof' \
,'_wally_psbt_input_get_pegin_txout_proof_len' \
,'_wally_psbt_input_get_utxo_rangeproof' \
,'_wally_psbt_input_get_utxo_rangeproof_len' \
,'_wally_psbt_input_set_amount' \
,'_wally_psbt_input_set_amount_rangeproof' \
,'_wally_psbt_input_set_asset' \
,'_wally_psbt_input_set_asset_surjectionproof' \
,'_wally_psbt_input_set_inflation_keys' \
,'_wally_psbt_input_set_inflation_keys_blinding_rangeproof' \
,'_wally_psbt_input_set_inflation_keys_commitment' \
,'_wally_psbt_input_set_inflation_keys_rangeproof' \
,'_wally_psbt_input_set_issuance_amount' \
,'_wally_psbt_input_set_issuance_amount_blinding_rangeproof' \
,'_wally_psbt_input_set_issuance_amount_commitment' \
,'_wally_psbt_input_set_issuance_amount_rangeproof' \
,'_wally_psbt_input_set_issuance_asset_entropy' \
,'_wally_psbt_input_set_issuance_blinding_nonce' \
,'_wally_psbt_input_set_pegin_amount' \
,'_wally_psbt_input_set_pegin_claim_script' \
,'_wally_psbt_input_set_pegin_genesis_blockhash' \
,'_wally_psbt_input_set_pegin_tx' \
,'_wally_psbt_input_set_pegin_txout_proof' \
,'_wally_psbt_input_set_pegin_witness' \
,'_wally_psbt_input_set_utxo_rangeproof' \
,'_wally_psbt_output_clear_asset' \
,'_wally_psbt_output_clear_asset_blinding_surjectionproof' \
,'_wally_psbt_output_clear_asset_commitment' \
,'_wally_psbt_output_clear_asset_surjectionproof' \
,'_wally_psbt_output_clear_blinder_index' \
,'_wally_psbt_output_clear_blinding_public_key' \
,'_wally_psbt_output_clear_ecdh_public_key' \
,'_wally_psbt_output_clear_value_blinding_rangeproof' \
,'_wally_psbt_output_clear_value_commitment' \
,'_wally_psbt_output_clear_value_rangeproof' \
,'_wally_psbt_output_get_asset' \
,'_wally_psbt_output_get_asset_blinding_surjectionproof' \
,'_wally_psbt_output_get_asset_blinding_surjectionproof_len' \
,'_wally_psbt_output_get_asset_commitment' \
,'_wally_psbt_output_get_asset_commitment_len' \
,'_wally_psbt_output_get_asset_len' \
,'_wally_psbt_output_get_asset_surjectionproof' \
,'_wally_psbt_output_get_asset_surjectionproof_len' \
,'_wally_psbt_output_get_blinding_public_key' \
,'_wally_psbt_output_get_blinding_public_key_len' \
,'_wally_psbt_output_get_blinding_status' \
,'_wally_psbt_output_get_ecdh_public_key' \
,'_wally_psbt_output_get_ecdh_public_key_len' \
,'_wally_psbt_output_get_value_blinding_rangeproof' \
,'_wally_psbt_output_get_value_blinding_rangeproof_len' \
,'_wally_psbt_output_get_value_commitment' \
,'_wally_psbt_output_get_value_commitment_len' \
,'_wally_psbt_output_get_value_rangeproof' \
,'_wally_psbt_output_get_value_rangeproof_len' \
,'_wally_psbt_output_set_asset' \
,'_wally_psbt_output_set_asset_blinding_surjectionproof' \
,'_wally_psbt_output_set_asset_commitment' \
,'_wally_psbt_output_set_asset_surjectionproof' \
,'_wally_psbt_output_set_blinder_index' \
,'_wally_psbt_output_set_blinding_public_key' \
,'_wally_psbt_output_set_ecdh_public_key' \
,'_wally_psbt_output_set_value_blinding_rangeproof' \
,'_wally_psbt_output_set_value_commitment' \
,'_wally_psbt_output_set_value_rangeproof' \
,'_wally_psbt_set_global_genesis_blockhash' \
,'_wally_psbt_set_global_scalars' \
,'_wally_psbt_set_input_amount' \
,'_wally_psbt_set_input_amount_rangeproof' \
,'_wally_psbt_set_input_asset' \
,'_wally_psbt_set_input_asset_surjectionproof' \
,'_wally_psbt_set_input_inflation_keys' \
,'_wally_psbt_set_input_inflation_keys_blinding_rangeproof' \
,'_wally_psbt_set_input_inflation_keys_commitment' \
,'_wally_psbt_set_input_inflation_keys_rangeproof' \
,'_wally_psbt_set_input_issuance_amount' \
,'_wally_psbt_set_input_issuance_amount_blinding_rangeproof' \
,'_wally_psbt_set_input_issuance_amount_commitment' \
,'_wally_psbt_set_input_issuance_amount_rangeproof' \
,'_wally_psbt_set_input_issuance_asset_entropy' \
,'_wally_psbt_set_input_issuance_blinding_nonce' \
,'_wally_psbt_set_input_pegin_amount' \
,'_wally_psbt_set_input_pegin_claim_script' \
,'_wally_psbt_set_input_pegin_genesis_blockhash' \
,'_wally_psbt_set_input_pegin_txout_proof' \
,'_wally_psbt_set_input_utxo_rangeproof' \
,'_wally_psbt_set_output_asset' \
,'_wally_psbt_set_output_asset_blinding_surjectionproof' \
,'_wally_psbt_set_output_asset_commitment' \
,'_wally_psbt_set_output_asset_surjectionproof' \
,'_wally_psbt_set_output_blinder_index' \
,'_wally_psbt_set_output_blinding_public_key' \
,'_wally_psbt_set_output_ecdh_public_key' \
,'_wally_psbt_set_output_value_blinding_rangeproof' \
,'_wally_psbt_set_output_value_commitment' \
,'_wally_psbt_set_output_value_rangeproof' \
,'_wally_psbt_set_pset_modifiable_flags' \
,'_wally_tx_add_elements_raw_input' \
,'_wally_tx_add_elements_raw_input_at' \
,'_wally_tx_add_elements_raw_output' \
,'_wally_tx_add_elements_raw_output_at' \
,'_wally_tx_confidential_value_from_satoshi' \
,'_wally_tx_confidential_value_to_satoshi' \
,'_wally_tx_elements_input_init_alloc' \
,'_wally_tx_elements_input_is_pegin' \
,'_wally_tx_elements_input_issuance_free' \
,'_wally_tx_elements_input_issuance_set' \
,'_wally_tx_elements_issuance_calculate_asset' \
,'_wally_tx_elements_issuance_calculate_reissuance_token' \
,'_wally_tx_elements_issuance_generate_entropy' \
,'_wally_tx_elements_output_commitment_free' \
,'_wally_tx_elements_output_commitment_set' \
,'_wally_tx_elements_output_init' \
,'_wally_tx_elements_output_init_alloc' \
,'_wally_tx_get_elements_signature_hash' \
,'_wally_tx_get_elements_weight_discount' \
,'_wally_tx_get_input_blinding_nonce' \
,'_wally_tx_get_input_entropy' \
,'_wally_tx_get_input_inflation_keys' \
,'_wally_tx_get_input_inflation_keys_len' \
,'_wally_tx_get_input_inflation_keys_rangeproof' \
,'_wally_tx_get_input_inflation_keys_rangeproof_len' \
,'_wally_tx_get_input_issuance_amount' \
,'_wally_tx_get_input_issuance_amount_len' \
,'_wally_tx_get_input_issuance_amount_rangeproof' \
,'_wally_tx_get_input_issuance_amount_rangeproof_len' \
,'_wally_tx_get_output_asset' \
,'_wally_tx_get_output_nonce' \
,'_wally_tx_get_output_rangeproof' \
,'_wally_tx_get_output_rangeproof_len' \
,'_wally_tx_get_output_surjectionproof' \
,'_wally_tx_get_output_surjectionproof_len' \
,'_wally_tx_get_output_value' \
,'_wally_tx_get_output_value_len' \
,'_wally_tx_input_get_blinding_nonce' \
,'_wally_tx_input_get_entropy' \
,'_wally_tx_input_get_inflation_keys' \
,'_wally_tx_input_get_inflation_keys_len' \
,'_wally_tx_input_get_inflation_keys_rangeproof' \
,'_wally_tx_input_get_inflation_keys_rangeproof_len' \
,'_wally_tx_input_get_issuance_amount' \
,'_wally_tx_input_get_issuance_amount_len' \
,'_wally_tx_input_get_issuance_amount_rangeproof' \
,'_wally_tx_input_get_issuance_amount_rangeproof_len' \
,'_wally_tx_input_set_blinding_nonce' \
,'_wally_tx_input_set_entropy' \
,'_wally_tx_input_set_inflation_keys' \
,'_wally_tx_input_set_inflation_keys_rangeproof' \
,'_wally_tx_input_set_issuance_amount' \
,'_wally_tx_input_set_issuance_amount_rangeproof' \
,'_wally_tx_is_elements' \
,'_wally_tx_output_get_asset' \
,'_wally_tx_output_get_asset_len' \
,'_wally_tx_output_get_nonce' \
,'_wally_tx_output_get_nonce_len' \
,'_wally_tx_output_get_rangeproof' \
,'_wally_tx_output_get_rangeproof_len' \
,'_wally_tx_output_get_surjectionproof' \
,'_wally_tx_output_get_surjectionproof_len' \
,'_wally_tx_output_get_value' \
,'_wally_tx_output_get_value_len' \
,'_wally_tx_output_set_asset' \
,'_wally_tx_output_set_nonce' \
,'_wally_tx_output_set_rangeproof' \
,'_wally_tx_output_set_surjectionproof' \
,'_wally_tx_output_set_value' \
,'_wally_tx_set_input_blinding_nonce' \
,'_wally_tx_set_input_entropy' \
,'_wally_tx_set_input_inflation_keys' \
,'_wally_tx_set_input_inflation_keys_rangeproof' \
,'_wally_tx_set_input_issuance_amount' \
,'_wally_tx_set_input_issuance_amount_rangeproof' \
,'_wally_tx_set_output_asset' \
,'_wally_tx_set_output_nonce' \
,'_wally_tx_set_output_rangeproof' \
,'_wally_tx_set_output_surjectionproof' \
,'_wally_tx_set_output_value' \
"
fi
EXPORTED_FUNCTIONS="$EXPORTED_FUNCTIONS""]"
# END AUTOGENERATED
echo $EXPORTED_FUNCTIONS
fi