react-native-bdk-sdk 0.1.4 → 0.1.5
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/cpp/generated/bdk_ffi.cpp +223 -12
- package/cpp/generated/bdk_ffi.hpp +11 -0
- package/lib/commonjs/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/commonjs/generated/bdk_ffi.js +1817 -1262
- package/lib/commonjs/generated/bdk_ffi.js.map +1 -1
- package/lib/module/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/module/generated/bdk_ffi.js +1815 -1262
- package/lib/module/generated/bdk_ffi.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts +15 -4
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts +3308 -1824
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts +15 -4
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts +3308 -1824
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/bdk_ffi-ffi.ts +43 -5
- package/src/generated/bdk_ffi.ts +2522 -1696
|
@@ -129,6 +129,18 @@ extern "C" {
|
|
|
129
129
|
uint64_t callback_data,
|
|
130
130
|
UniffiForeignFutureResultVoid result
|
|
131
131
|
);
|
|
132
|
+
/*handle*/ uint64_t uniffi_bdk_ffi_fn_clone_electrumclient(
|
|
133
|
+
/*handle*/ uint64_t handle,
|
|
134
|
+
RustCallStatus *uniffi_out_err
|
|
135
|
+
);
|
|
136
|
+
void uniffi_bdk_ffi_fn_free_electrumclient(
|
|
137
|
+
/*handle*/ uint64_t handle,
|
|
138
|
+
RustCallStatus *uniffi_out_err
|
|
139
|
+
);
|
|
140
|
+
/*handle*/ uint64_t uniffi_bdk_ffi_fn_constructor_electrumclient_new(
|
|
141
|
+
RustBuffer url,
|
|
142
|
+
RustCallStatus *uniffi_out_err
|
|
143
|
+
);
|
|
132
144
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_clone_mnemonic(
|
|
133
145
|
/*handle*/ uint64_t handle,
|
|
134
146
|
RustCallStatus *uniffi_out_err
|
|
@@ -315,8 +327,7 @@ extern "C" {
|
|
|
315
327
|
);
|
|
316
328
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_txbuilder_finish(
|
|
317
329
|
/*handle*/ uint64_t ptr,
|
|
318
|
-
/*handle*/ uint64_t wallet
|
|
319
|
-
RustCallStatus *uniffi_out_err
|
|
330
|
+
/*handle*/ uint64_t wallet
|
|
320
331
|
);
|
|
321
332
|
void uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(
|
|
322
333
|
/*handle*/ uint64_t ptr,
|
|
@@ -392,7 +403,7 @@ extern "C" {
|
|
|
392
403
|
);
|
|
393
404
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(
|
|
394
405
|
/*handle*/ uint64_t ptr,
|
|
395
|
-
|
|
406
|
+
/*handle*/ uint64_t client,
|
|
396
407
|
/*handle*/ uint64_t psbt
|
|
397
408
|
);
|
|
398
409
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_broadcast_with_esplora(
|
|
@@ -446,6 +457,12 @@ extern "C" {
|
|
|
446
457
|
double fee_rate,
|
|
447
458
|
RustBuffer esplora_url
|
|
448
459
|
);
|
|
460
|
+
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum(
|
|
461
|
+
/*handle*/ uint64_t ptr,
|
|
462
|
+
RustBuffer address,
|
|
463
|
+
double fee_rate,
|
|
464
|
+
/*handle*/ uint64_t client
|
|
465
|
+
);
|
|
449
466
|
int8_t uniffi_bdk_ffi_fn_method_wallet_finalize_psbt(
|
|
450
467
|
/*handle*/ uint64_t ptr,
|
|
451
468
|
/*handle*/ uint64_t psbt,
|
|
@@ -453,7 +470,7 @@ extern "C" {
|
|
|
453
470
|
);
|
|
454
471
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(
|
|
455
472
|
/*handle*/ uint64_t ptr,
|
|
456
|
-
|
|
473
|
+
/*handle*/ uint64_t client,
|
|
457
474
|
uint64_t stop_gap
|
|
458
475
|
);
|
|
459
476
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_full_scan_with_esplora(
|
|
@@ -565,6 +582,13 @@ extern "C" {
|
|
|
565
582
|
double fee_rate,
|
|
566
583
|
RustBuffer esplora_url
|
|
567
584
|
);
|
|
585
|
+
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_send_with_electrum(
|
|
586
|
+
/*handle*/ uint64_t ptr,
|
|
587
|
+
RustBuffer address,
|
|
588
|
+
uint64_t amount_sats,
|
|
589
|
+
double fee_rate,
|
|
590
|
+
/*handle*/ uint64_t client
|
|
591
|
+
);
|
|
568
592
|
RustBuffer uniffi_bdk_ffi_fn_method_wallet_sent_and_received(
|
|
569
593
|
/*handle*/ uint64_t ptr,
|
|
570
594
|
RustBuffer tx_hex,
|
|
@@ -577,7 +601,7 @@ extern "C" {
|
|
|
577
601
|
);
|
|
578
602
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(
|
|
579
603
|
/*handle*/ uint64_t ptr,
|
|
580
|
-
|
|
604
|
+
/*handle*/ uint64_t client,
|
|
581
605
|
uint64_t stop_gap
|
|
582
606
|
);
|
|
583
607
|
/*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_sync_with_esplora(
|
|
@@ -620,6 +644,12 @@ extern "C" {
|
|
|
620
644
|
RustBuffer network,
|
|
621
645
|
RustCallStatus *uniffi_out_err
|
|
622
646
|
);
|
|
647
|
+
/*handle*/ uint64_t uniffi_bdk_ffi_fn_func_create_wallet(
|
|
648
|
+
RustBuffer descriptor,
|
|
649
|
+
RustBuffer change_descriptor,
|
|
650
|
+
RustBuffer network,
|
|
651
|
+
RustBuffer db_path
|
|
652
|
+
);
|
|
623
653
|
RustBuffer uniffi_bdk_ffi_fn_func_export_wallet(
|
|
624
654
|
/*handle*/ uint64_t wallet,
|
|
625
655
|
RustBuffer label,
|
|
@@ -842,6 +872,8 @@ extern "C" {
|
|
|
842
872
|
);
|
|
843
873
|
uint16_t uniffi_bdk_ffi_checksum_func_create_single_key_descriptor(
|
|
844
874
|
);
|
|
875
|
+
uint16_t uniffi_bdk_ffi_checksum_func_create_wallet(
|
|
876
|
+
);
|
|
845
877
|
uint16_t uniffi_bdk_ffi_checksum_func_export_wallet(
|
|
846
878
|
);
|
|
847
879
|
uint16_t uniffi_bdk_ffi_checksum_func_is_valid_address(
|
|
@@ -956,6 +988,8 @@ extern "C" {
|
|
|
956
988
|
);
|
|
957
989
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_drain(
|
|
958
990
|
);
|
|
991
|
+
uint16_t uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum(
|
|
992
|
+
);
|
|
959
993
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt(
|
|
960
994
|
);
|
|
961
995
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum(
|
|
@@ -1004,6 +1038,8 @@ extern "C" {
|
|
|
1004
1038
|
);
|
|
1005
1039
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_send(
|
|
1006
1040
|
);
|
|
1041
|
+
uint16_t uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum(
|
|
1042
|
+
);
|
|
1007
1043
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_sent_and_received(
|
|
1008
1044
|
);
|
|
1009
1045
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_sign(
|
|
@@ -1018,6 +1054,8 @@ extern "C" {
|
|
|
1018
1054
|
);
|
|
1019
1055
|
uint16_t uniffi_bdk_ffi_checksum_method_wallet_unmark_used(
|
|
1020
1056
|
);
|
|
1057
|
+
uint16_t uniffi_bdk_ffi_checksum_constructor_electrumclient_new(
|
|
1058
|
+
);
|
|
1021
1059
|
uint16_t uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy(
|
|
1022
1060
|
);
|
|
1023
1061
|
uint16_t uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in(
|
|
@@ -2466,6 +2504,30 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
2466
2504
|
return this->cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(rt, thisVal, args, count);
|
|
2467
2505
|
}
|
|
2468
2506
|
);
|
|
2507
|
+
props["ubrn_uniffi_bdk_ffi_fn_clone_electrumclient"] = jsi::Function::createFromHostFunction(
|
|
2508
|
+
rt,
|
|
2509
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_clone_electrumclient"),
|
|
2510
|
+
1,
|
|
2511
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2512
|
+
return this->cpp_uniffi_bdk_ffi_fn_clone_electrumclient(rt, thisVal, args, count);
|
|
2513
|
+
}
|
|
2514
|
+
);
|
|
2515
|
+
props["ubrn_uniffi_bdk_ffi_fn_free_electrumclient"] = jsi::Function::createFromHostFunction(
|
|
2516
|
+
rt,
|
|
2517
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_free_electrumclient"),
|
|
2518
|
+
1,
|
|
2519
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2520
|
+
return this->cpp_uniffi_bdk_ffi_fn_free_electrumclient(rt, thisVal, args, count);
|
|
2521
|
+
}
|
|
2522
|
+
);
|
|
2523
|
+
props["ubrn_uniffi_bdk_ffi_fn_constructor_electrumclient_new"] = jsi::Function::createFromHostFunction(
|
|
2524
|
+
rt,
|
|
2525
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_constructor_electrumclient_new"),
|
|
2526
|
+
1,
|
|
2527
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2528
|
+
return this->cpp_uniffi_bdk_ffi_fn_constructor_electrumclient_new(rt, thisVal, args, count);
|
|
2529
|
+
}
|
|
2530
|
+
);
|
|
2469
2531
|
props["ubrn_uniffi_bdk_ffi_fn_clone_mnemonic"] = jsi::Function::createFromHostFunction(
|
|
2470
2532
|
rt,
|
|
2471
2533
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_clone_mnemonic"),
|
|
@@ -3018,6 +3080,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
3018
3080
|
return this->cpp_uniffi_bdk_ffi_fn_method_wallet_drain(rt, thisVal, args, count);
|
|
3019
3081
|
}
|
|
3020
3082
|
);
|
|
3083
|
+
props["ubrn_uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum"] = jsi::Function::createFromHostFunction(
|
|
3084
|
+
rt,
|
|
3085
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum"),
|
|
3086
|
+
4,
|
|
3087
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3088
|
+
return this->cpp_uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum(rt, thisVal, args, count);
|
|
3089
|
+
}
|
|
3090
|
+
);
|
|
3021
3091
|
props["ubrn_uniffi_bdk_ffi_fn_method_wallet_finalize_psbt"] = jsi::Function::createFromHostFunction(
|
|
3022
3092
|
rt,
|
|
3023
3093
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_wallet_finalize_psbt"),
|
|
@@ -3210,6 +3280,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
3210
3280
|
return this->cpp_uniffi_bdk_ffi_fn_method_wallet_send(rt, thisVal, args, count);
|
|
3211
3281
|
}
|
|
3212
3282
|
);
|
|
3283
|
+
props["ubrn_uniffi_bdk_ffi_fn_method_wallet_send_with_electrum"] = jsi::Function::createFromHostFunction(
|
|
3284
|
+
rt,
|
|
3285
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_wallet_send_with_electrum"),
|
|
3286
|
+
5,
|
|
3287
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3288
|
+
return this->cpp_uniffi_bdk_ffi_fn_method_wallet_send_with_electrum(rt, thisVal, args, count);
|
|
3289
|
+
}
|
|
3290
|
+
);
|
|
3213
3291
|
props["ubrn_uniffi_bdk_ffi_fn_method_wallet_sent_and_received"] = jsi::Function::createFromHostFunction(
|
|
3214
3292
|
rt,
|
|
3215
3293
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_wallet_sent_and_received"),
|
|
@@ -3290,6 +3368,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
3290
3368
|
return this->cpp_uniffi_bdk_ffi_fn_func_create_single_key_descriptor(rt, thisVal, args, count);
|
|
3291
3369
|
}
|
|
3292
3370
|
);
|
|
3371
|
+
props["ubrn_uniffi_bdk_ffi_fn_func_create_wallet"] = jsi::Function::createFromHostFunction(
|
|
3372
|
+
rt,
|
|
3373
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_func_create_wallet"),
|
|
3374
|
+
4,
|
|
3375
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3376
|
+
return this->cpp_uniffi_bdk_ffi_fn_func_create_wallet(rt, thisVal, args, count);
|
|
3377
|
+
}
|
|
3378
|
+
);
|
|
3293
3379
|
props["ubrn_uniffi_bdk_ffi_fn_func_export_wallet"] = jsi::Function::createFromHostFunction(
|
|
3294
3380
|
rt,
|
|
3295
3381
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_func_export_wallet"),
|
|
@@ -3730,6 +3816,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
3730
3816
|
return this->cpp_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor(rt, thisVal, args, count);
|
|
3731
3817
|
}
|
|
3732
3818
|
);
|
|
3819
|
+
props["ubrn_uniffi_bdk_ffi_checksum_func_create_wallet"] = jsi::Function::createFromHostFunction(
|
|
3820
|
+
rt,
|
|
3821
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_func_create_wallet"),
|
|
3822
|
+
0,
|
|
3823
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3824
|
+
return this->cpp_uniffi_bdk_ffi_checksum_func_create_wallet(rt, thisVal, args, count);
|
|
3825
|
+
}
|
|
3826
|
+
);
|
|
3733
3827
|
props["ubrn_uniffi_bdk_ffi_checksum_func_export_wallet"] = jsi::Function::createFromHostFunction(
|
|
3734
3828
|
rt,
|
|
3735
3829
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_func_export_wallet"),
|
|
@@ -4186,6 +4280,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
4186
4280
|
return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_drain(rt, thisVal, args, count);
|
|
4187
4281
|
}
|
|
4188
4282
|
);
|
|
4283
|
+
props["ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum"] = jsi::Function::createFromHostFunction(
|
|
4284
|
+
rt,
|
|
4285
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum"),
|
|
4286
|
+
0,
|
|
4287
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4288
|
+
return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum(rt, thisVal, args, count);
|
|
4289
|
+
}
|
|
4290
|
+
);
|
|
4189
4291
|
props["ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt"] = jsi::Function::createFromHostFunction(
|
|
4190
4292
|
rt,
|
|
4191
4293
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt"),
|
|
@@ -4378,6 +4480,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
4378
4480
|
return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_send(rt, thisVal, args, count);
|
|
4379
4481
|
}
|
|
4380
4482
|
);
|
|
4483
|
+
props["ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum"] = jsi::Function::createFromHostFunction(
|
|
4484
|
+
rt,
|
|
4485
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum"),
|
|
4486
|
+
0,
|
|
4487
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4488
|
+
return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum(rt, thisVal, args, count);
|
|
4489
|
+
}
|
|
4490
|
+
);
|
|
4381
4491
|
props["ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received"] = jsi::Function::createFromHostFunction(
|
|
4382
4492
|
rt,
|
|
4383
4493
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received"),
|
|
@@ -4434,6 +4544,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
4434
4544
|
return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_unmark_used(rt, thisVal, args, count);
|
|
4435
4545
|
}
|
|
4436
4546
|
);
|
|
4547
|
+
props["ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new"] = jsi::Function::createFromHostFunction(
|
|
4548
|
+
rt,
|
|
4549
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new"),
|
|
4550
|
+
0,
|
|
4551
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4552
|
+
return this->cpp_uniffi_bdk_ffi_checksum_constructor_electrumclient_new(rt, thisVal, args, count);
|
|
4553
|
+
}
|
|
4554
|
+
);
|
|
4437
4555
|
props["ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy"] = jsi::Function::createFromHostFunction(
|
|
4438
4556
|
rt,
|
|
4439
4557
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy"),
|
|
@@ -4506,6 +4624,14 @@ NativeBdkFfi::NativeBdkFfi(
|
|
|
4506
4624
|
return this->cpp_ffi_bdk_ffi_uniffi_contract_version(rt, thisVal, args, count);
|
|
4507
4625
|
}
|
|
4508
4626
|
);
|
|
4627
|
+
props["ubrn_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer"] = jsi::Function::createFromHostFunction(
|
|
4628
|
+
rt,
|
|
4629
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer"),
|
|
4630
|
+
1,
|
|
4631
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4632
|
+
return this->cpp_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer(rt, thisVal, args, count);
|
|
4633
|
+
}
|
|
4634
|
+
);
|
|
4509
4635
|
props["ubrn_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer"] = jsi::Function::createFromHostFunction(
|
|
4510
4636
|
rt,
|
|
4511
4637
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer"),
|
|
@@ -4592,6 +4718,15 @@ jsi::Value NativeBdkFfi::cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer(
|
|
|
4592
4718
|
|
|
4593
4719
|
jsi::Value NativeBdkFfi::cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4594
4720
|
return uniffi_jsi::Bridging<std::string>::arraybuffer_to_string(rt, args[0]);
|
|
4721
|
+
}jsi::Value NativeBdkFfi::cpp_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4722
|
+
auto pointer = uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
4723
|
+
auto static destructor = [](uint64_t p) {
|
|
4724
|
+
RustCallStatus status = {0};
|
|
4725
|
+
uniffi_bdk_ffi_fn_free_electrumclient(p, &status);
|
|
4726
|
+
};
|
|
4727
|
+
auto ptrObj = std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
4728
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
4729
|
+
return jsi::Value(rt, obj);
|
|
4595
4730
|
}jsi::Value NativeBdkFfi::cpp_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4596
4731
|
auto pointer = uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
4597
4732
|
auto static destructor = [](uint64_t p) {
|
|
@@ -4631,6 +4766,36 @@ jsi::Value NativeBdkFfi::cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(
|
|
|
4631
4766
|
}
|
|
4632
4767
|
|
|
4633
4768
|
// Methods calling directly into the uniffi generated C API of the Rust crate.
|
|
4769
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_clone_electrumclient(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4770
|
+
RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
4771
|
+
auto value = uniffi_bdk_ffi_fn_clone_electrumclient(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
4772
|
+
&status
|
|
4773
|
+
);
|
|
4774
|
+
uniffi::bdk_ffi::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
|
|
4775
|
+
|
|
4776
|
+
|
|
4777
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
4778
|
+
}
|
|
4779
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_free_electrumclient(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4780
|
+
RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
4781
|
+
uniffi_bdk_ffi_fn_free_electrumclient(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
4782
|
+
&status
|
|
4783
|
+
);
|
|
4784
|
+
uniffi::bdk_ffi::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
|
|
4785
|
+
|
|
4786
|
+
|
|
4787
|
+
return jsi::Value::undefined();
|
|
4788
|
+
}
|
|
4789
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_constructor_electrumclient_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4790
|
+
RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
4791
|
+
auto value = uniffi_bdk_ffi_fn_constructor_electrumclient_new(uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
4792
|
+
&status
|
|
4793
|
+
);
|
|
4794
|
+
uniffi::bdk_ffi::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
|
|
4795
|
+
|
|
4796
|
+
|
|
4797
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
4798
|
+
}
|
|
4634
4799
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_clone_mnemonic(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
4635
4800
|
RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
4636
4801
|
auto value = uniffi_bdk_ffi_fn_clone_mnemonic(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
@@ -5051,11 +5216,8 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_txbuilder_fee_rate(jsi::Ru
|
|
|
5051
5216
|
return jsi::Value::undefined();
|
|
5052
5217
|
}
|
|
5053
5218
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_txbuilder_finish(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5054
|
-
|
|
5055
|
-
auto value = uniffi_bdk_ffi_fn_method_txbuilder_finish(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[1]),
|
|
5056
|
-
&status
|
|
5219
|
+
auto value = uniffi_bdk_ffi_fn_method_txbuilder_finish(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[1])
|
|
5057
5220
|
);
|
|
5058
|
-
uniffi::bdk_ffi::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
|
|
5059
5221
|
|
|
5060
5222
|
|
|
5061
5223
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
@@ -5211,7 +5373,7 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_constructor_wallet_new(jsi::Runti
|
|
|
5211
5373
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
5212
5374
|
}
|
|
5213
5375
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5214
|
-
auto value = uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
5376
|
+
auto value = uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[2])
|
|
5215
5377
|
);
|
|
5216
5378
|
|
|
5217
5379
|
|
|
@@ -5309,6 +5471,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_drain(jsi::Runtime&
|
|
|
5309
5471
|
);
|
|
5310
5472
|
|
|
5311
5473
|
|
|
5474
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
5475
|
+
}
|
|
5476
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5477
|
+
auto value = uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<double>::fromJs(rt, callInvoker, args[2]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[3])
|
|
5478
|
+
);
|
|
5479
|
+
|
|
5480
|
+
|
|
5312
5481
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
5313
5482
|
}
|
|
5314
5483
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_finalize_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -5322,7 +5491,7 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_finalize_psbt(jsi::
|
|
|
5322
5491
|
return uniffi_jsi::Bridging<int8_t>::toJs(rt, callInvoker, value);
|
|
5323
5492
|
}
|
|
5324
5493
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5325
|
-
auto value = uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
5494
|
+
auto value = uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2])
|
|
5326
5495
|
);
|
|
5327
5496
|
|
|
5328
5497
|
|
|
@@ -5540,6 +5709,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_send(jsi::Runtime&
|
|
|
5540
5709
|
);
|
|
5541
5710
|
|
|
5542
5711
|
|
|
5712
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
5713
|
+
}
|
|
5714
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_send_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5715
|
+
auto value = uniffi_bdk_ffi_fn_method_wallet_send_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2]), uniffi_jsi::Bridging<double>::fromJs(rt, callInvoker, args[3]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[4])
|
|
5716
|
+
);
|
|
5717
|
+
|
|
5718
|
+
|
|
5543
5719
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
5544
5720
|
}
|
|
5545
5721
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_sent_and_received(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -5563,7 +5739,7 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_sign(jsi::Runtime&
|
|
|
5563
5739
|
return uniffi_jsi::Bridging<int8_t>::toJs(rt, callInvoker, value);
|
|
5564
5740
|
}
|
|
5565
5741
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5566
|
-
auto value = uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
5742
|
+
auto value = uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2])
|
|
5567
5743
|
);
|
|
5568
5744
|
|
|
5569
5745
|
|
|
@@ -5636,6 +5812,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_func_create_single_key_descriptor
|
|
|
5636
5812
|
|
|
5637
5813
|
return uniffi::bdk_ffi::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
5638
5814
|
}
|
|
5815
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_func_create_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5816
|
+
auto value = uniffi_bdk_ffi_fn_func_create_wallet(uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3])
|
|
5817
|
+
);
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
5821
|
+
}
|
|
5639
5822
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_func_export_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
5640
5823
|
RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5641
5824
|
auto value = uniffi_bdk_ffi_fn_func_export_wallet(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -6066,6 +6249,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_func_create_single_key_desc
|
|
|
6066
6249
|
);
|
|
6067
6250
|
|
|
6068
6251
|
|
|
6252
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6253
|
+
}
|
|
6254
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_func_create_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
6255
|
+
auto value = uniffi_bdk_ffi_checksum_func_create_wallet(
|
|
6256
|
+
);
|
|
6257
|
+
|
|
6258
|
+
|
|
6069
6259
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6070
6260
|
}
|
|
6071
6261
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_func_export_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -6465,6 +6655,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_drain(jsi::Ru
|
|
|
6465
6655
|
);
|
|
6466
6656
|
|
|
6467
6657
|
|
|
6658
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6659
|
+
}
|
|
6660
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
6661
|
+
auto value = uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum(
|
|
6662
|
+
);
|
|
6663
|
+
|
|
6664
|
+
|
|
6468
6665
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6469
6666
|
}
|
|
6470
6667
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -6633,6 +6830,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_send(jsi::Run
|
|
|
6633
6830
|
);
|
|
6634
6831
|
|
|
6635
6832
|
|
|
6833
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6834
|
+
}
|
|
6835
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
6836
|
+
auto value = uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum(
|
|
6837
|
+
);
|
|
6838
|
+
|
|
6839
|
+
|
|
6636
6840
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6637
6841
|
}
|
|
6638
6842
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -6682,6 +6886,13 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_unmark_used(j
|
|
|
6682
6886
|
);
|
|
6683
6887
|
|
|
6684
6888
|
|
|
6889
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6890
|
+
}
|
|
6891
|
+
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_constructor_electrumclient_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
6892
|
+
auto value = uniffi_bdk_ffi_checksum_constructor_electrumclient_new(
|
|
6893
|
+
);
|
|
6894
|
+
|
|
6895
|
+
|
|
6685
6896
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6686
6897
|
}
|
|
6687
6898
|
jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -21,6 +21,9 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
21
21
|
jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_byte_length(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
22
22
|
jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
23
23
|
jsi::Value cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
24
|
+
jsi::Value cpp_uniffi_bdk_ffi_fn_clone_electrumclient(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
25
|
+
jsi::Value cpp_uniffi_bdk_ffi_fn_free_electrumclient(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
26
|
+
jsi::Value cpp_uniffi_bdk_ffi_fn_constructor_electrumclient_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
24
27
|
jsi::Value cpp_uniffi_bdk_ffi_fn_clone_mnemonic(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
25
28
|
jsi::Value cpp_uniffi_bdk_ffi_fn_free_mnemonic(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
26
29
|
jsi::Value cpp_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -90,6 +93,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
90
93
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_derivation_of_spk(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
91
94
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_descriptor_checksum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
92
95
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_drain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
96
|
+
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_drain_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
93
97
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_finalize_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
94
98
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
95
99
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_esplora(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -114,6 +118,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
114
118
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_reveal_addresses_to(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
115
119
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_reveal_next_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
116
120
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_send(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
121
|
+
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_send_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
117
122
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_sent_and_received(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
118
123
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_sign(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
119
124
|
jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -124,6 +129,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
124
129
|
jsi::Value cpp_uniffi_bdk_ffi_fn_func_create_descriptor(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
125
130
|
jsi::Value cpp_uniffi_bdk_ffi_fn_func_create_public_descriptor(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
126
131
|
jsi::Value cpp_uniffi_bdk_ffi_fn_func_create_single_key_descriptor(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
132
|
+
jsi::Value cpp_uniffi_bdk_ffi_fn_func_create_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
127
133
|
jsi::Value cpp_uniffi_bdk_ffi_fn_func_export_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
128
134
|
jsi::Value cpp_uniffi_bdk_ffi_fn_func_is_valid_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
129
135
|
jsi::Value cpp_uniffi_bdk_ffi_fn_func_version(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -179,6 +185,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
179
185
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_create_descriptor(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
180
186
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_create_public_descriptor(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
181
187
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
188
|
+
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_create_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
182
189
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_export_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
183
190
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_is_valid_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
184
191
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_func_version(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -236,6 +243,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
236
243
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
237
244
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
238
245
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_drain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
246
|
+
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
239
247
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
240
248
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
241
249
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -260,6 +268,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
260
268
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
261
269
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
262
270
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_send(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
271
|
+
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
263
272
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
264
273
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_sign(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
265
274
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -267,6 +276,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
267
276
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_transactions(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
268
277
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_tx_details(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
269
278
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_unmark_used(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
279
|
+
jsi::Value cpp_uniffi_bdk_ffi_checksum_constructor_electrumclient_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
270
280
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
271
281
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
272
282
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -276,6 +286,7 @@ class NativeBdkFfi : public jsi::HostObject {
|
|
|
276
286
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_constructor_txbuilder_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
277
287
|
jsi::Value cpp_uniffi_bdk_ffi_checksum_constructor_wallet_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
278
288
|
jsi::Value cpp_ffi_bdk_ffi_uniffi_contract_version(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
289
|
+
jsi::Value cpp_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
279
290
|
jsi::Value cpp_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
280
291
|
jsi::Value cpp_uniffi_internal_fn_method_psbt_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
281
292
|
jsi::Value cpp_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getter","globalThis","NativeBdkFfi","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bdk_ffi-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["getter","globalThis","NativeBdkFfi","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bdk_ffi-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;AAwzBA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,YAAY;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACpBL,MAAM,EAErB;AA4GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
|