@bennyblader/ddk-rn 0.3.33 → 0.3.36

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.
@@ -3,7 +3,7 @@
3
3
  // This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
4
4
  // Trust me, you don't want to mess with it!
5
5
  import nativeModule from "./ddk_ffi-ffi.js";
6
- import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterInt32, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, FfiConverterUInt8, UniffiError, UniffiInternalError, UniffiRustCaller, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiTypeNameSymbol, variantOrdinalSymbol } from 'uniffi-bindgen-react-native';
6
+ import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterInt32, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, FfiConverterUInt8, UniffiError, UniffiInternalError, UniffiRustCaller, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiTypeNameSymbol, variantOrdinalSymbol } from "uniffi-bindgen-react-native";
7
7
 
8
8
  // Get converters from the other files, if any.
9
9
  const uniffiCaller = new UniffiRustCaller(() => ({
@@ -11,9 +11,9 @@ const uniffiCaller = new UniffiRustCaller(() => ({
11
11
  }));
12
12
  const uniffiIsDebug =
13
13
  // @ts-ignore -- The process global might not be defined
14
- typeof process !== 'object' ||
14
+ typeof process !== "object" ||
15
15
  // @ts-ignore -- The process global might not be defined
16
- process?.env?.NODE_ENV !== 'production' || true;
16
+ process?.env?.NODE_ENV !== "production" || true;
17
17
  // Public interface members begin here.
18
18
 
19
19
  export function addSignatureToTransaction(tx, signature, pubkey, inputIndex) /*throws*/{
@@ -64,6 +64,14 @@ export function createCetAdaptorSigsFromOracleInfo(cets, oracleInfo, fundingSecr
64
64
  })()(FfiConverterArrayTypeTransaction.lower(cets), FfiConverterArrayTypeOracleInfo.lower(oracleInfo), FfiConverterArrayUInt8.lower(fundingSecretKey), FfiConverterArrayUInt8.lower(fundingScriptPubkey), FfiConverterUInt64.lower(fundOutputValue), FfiConverterArrayArrayArrayArrayUInt8.lower(msgs), callStatus);
65
65
  }, /*liftString:*/FfiConverterString.lift));
66
66
  }
67
+ export function createCetAdaptorSigsFromPoints(cets, adaptorPoints, fundingSecretKey, fundingScriptPubkey, fundOutputValue) /*throws*/{
68
+ return FfiConverterArrayTypeAdaptorSignature.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeDLCError.lift.bind(FfiConverterTypeDLCError), /*caller:*/callStatus => {
69
+ return (() => {
70
+ console.debug(`-- uniffi_ddk_ffi_fn_func_create_cet_adaptor_sigs_from_points`);
71
+ return nativeModule().ubrn_uniffi_ddk_ffi_fn_func_create_cet_adaptor_sigs_from_points;
72
+ })()(FfiConverterArrayTypeTransaction.lower(cets), FfiConverterArrayArrayUInt8.lower(adaptorPoints), FfiConverterArrayUInt8.lower(fundingSecretKey), FfiConverterArrayUInt8.lower(fundingScriptPubkey), FfiConverterUInt64.lower(fundOutputValue), callStatus);
73
+ }, /*liftString:*/FfiConverterString.lift));
74
+ }
67
75
  export function createCets(fundTxId, fundVout, localFinalScriptPubkey, remoteFinalScriptPubkey, outcomes, lockTime, localSerialId, remoteSerialId) /*throws*/{
68
76
  return FfiConverterArrayTypeTransaction.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeDLCError.lift.bind(FfiConverterTypeDLCError), /*caller:*/callStatus => {
69
77
  return (() => {
@@ -297,6 +305,7 @@ const FfiConverterTypeAdaptorSignature = (() => {
297
305
  return FfiConverterArrayUInt8.allocationSize(value.signature) + FfiConverterArrayUInt8.allocationSize(value.proof);
298
306
  }
299
307
  }
308
+ ;
300
309
  return new FFIConverter();
301
310
  })();
302
311
  /**
@@ -350,6 +359,7 @@ const FfiConverterTypeCetAdaptorSignatureDebugInfo = (() => {
350
359
  return FfiConverterArrayUInt8.allocationSize(value.sighash) + FfiConverterArrayUInt8.allocationSize(value.adaptorPoint) + FfiConverterUInt32.allocationSize(value.inputIndex) + FfiConverterArrayUInt8.allocationSize(value.scriptPubkey) + FfiConverterUInt64.allocationSize(value.value) + FfiConverterString.allocationSize(value.cetTxid) + FfiConverterArrayUInt8.allocationSize(value.cetRaw);
351
360
  }
352
361
  }
362
+ ;
353
363
  return new FFIConverter();
354
364
  })();
355
365
  /**
@@ -395,6 +405,7 @@ const FfiConverterTypeChangeOutputAndFees = (() => {
395
405
  return FfiConverterTypeTxOutput.allocationSize(value.changeOutput) + FfiConverterUInt64.allocationSize(value.fundFee) + FfiConverterUInt64.allocationSize(value.cetFee);
396
406
  }
397
407
  }
408
+ ;
398
409
  return new FFIConverter();
399
410
  })();
400
411
  /**
@@ -450,6 +461,7 @@ const FfiConverterTypeDlcInputInfo = (() => {
450
461
  return FfiConverterTypeTransaction.allocationSize(value.fundTx) + FfiConverterUInt32.allocationSize(value.fundVout) + FfiConverterArrayUInt8.allocationSize(value.localFundPubkey) + FfiConverterArrayUInt8.allocationSize(value.remoteFundPubkey) + FfiConverterUInt64.allocationSize(value.fundAmount) + FfiConverterUInt32.allocationSize(value.maxWitnessLen) + FfiConverterUInt64.allocationSize(value.inputSerialId) + FfiConverterArrayUInt8.allocationSize(value.contractId);
451
462
  }
452
463
  }
464
+ ;
453
465
  return new FFIConverter();
454
466
  })();
455
467
  /**
@@ -497,6 +509,7 @@ const FfiConverterTypeDlcTransactions = (() => {
497
509
  return FfiConverterTypeTransaction.allocationSize(value.fund) + FfiConverterArrayTypeTransaction.allocationSize(value.cets) + FfiConverterTypeTransaction.allocationSize(value.refund) + FfiConverterArrayUInt8.allocationSize(value.fundingScriptPubkey);
498
510
  }
499
511
  }
512
+ ;
500
513
  return new FFIConverter();
501
514
  })();
502
515
  /**
@@ -540,6 +553,7 @@ const FfiConverterTypeOracleInfo = (() => {
540
553
  return FfiConverterArrayUInt8.allocationSize(value.publicKey) + FfiConverterArrayArrayUInt8.allocationSize(value.nonces);
541
554
  }
542
555
  }
556
+ ;
543
557
  return new FFIConverter();
544
558
  })();
545
559
  /**
@@ -597,6 +611,7 @@ const FfiConverterTypePartyParams = (() => {
597
611
  return FfiConverterArrayUInt8.allocationSize(value.fundPubkey) + FfiConverterArrayUInt8.allocationSize(value.changeScriptPubkey) + FfiConverterUInt64.allocationSize(value.changeSerialId) + FfiConverterArrayUInt8.allocationSize(value.payoutScriptPubkey) + FfiConverterUInt64.allocationSize(value.payoutSerialId) + FfiConverterArrayTypeTxInputInfo.allocationSize(value.inputs) + FfiConverterUInt64.allocationSize(value.inputAmount) + FfiConverterUInt64.allocationSize(value.collateral) + FfiConverterArrayTypeDlcInputInfo.allocationSize(value.dlcInputs);
598
612
  }
599
613
  }
614
+ ;
600
615
  return new FFIConverter();
601
616
  })();
602
617
  /**
@@ -640,6 +655,7 @@ const FfiConverterTypePayout = (() => {
640
655
  return FfiConverterUInt64.allocationSize(value.offer) + FfiConverterUInt64.allocationSize(value.accept);
641
656
  }
642
657
  }
658
+ ;
643
659
  return new FFIConverter();
644
660
  })();
645
661
  /**
@@ -689,6 +705,7 @@ const FfiConverterTypeTransaction = (() => {
689
705
  return FfiConverterInt32.allocationSize(value.version) + FfiConverterUInt32.allocationSize(value.lockTime) + FfiConverterArrayTypeTxInput.allocationSize(value.inputs) + FfiConverterArrayTypeTxOutput.allocationSize(value.outputs) + FfiConverterArrayUInt8.allocationSize(value.rawBytes);
690
706
  }
691
707
  }
708
+ ;
692
709
  return new FFIConverter();
693
710
  })();
694
711
  /**
@@ -738,6 +755,7 @@ const FfiConverterTypeTxInput = (() => {
738
755
  return FfiConverterString.allocationSize(value.txid) + FfiConverterUInt32.allocationSize(value.vout) + FfiConverterArrayUInt8.allocationSize(value.scriptSig) + FfiConverterUInt32.allocationSize(value.sequence) + FfiConverterArrayArrayUInt8.allocationSize(value.witness);
739
756
  }
740
757
  }
758
+ ;
741
759
  return new FFIConverter();
742
760
  })();
743
761
  /**
@@ -787,6 +805,7 @@ const FfiConverterTypeTxInputInfo = (() => {
787
805
  return FfiConverterString.allocationSize(value.txid) + FfiConverterUInt32.allocationSize(value.vout) + FfiConverterArrayUInt8.allocationSize(value.scriptSig) + FfiConverterUInt32.allocationSize(value.maxWitnessLength) + FfiConverterUInt64.allocationSize(value.serialId);
788
806
  }
789
807
  }
808
+ ;
790
809
  return new FFIConverter();
791
810
  })();
792
811
  /**
@@ -830,6 +849,7 @@ const FfiConverterTypeTxOutput = (() => {
830
849
  return FfiConverterUInt64.allocationSize(value.value) + FfiConverterArrayUInt8.allocationSize(value.scriptPubkey);
831
850
  }
832
851
  }
852
+ ;
833
853
  return new FFIConverter();
834
854
  })();
835
855
  const stringConverter = {
@@ -859,7 +879,7 @@ export const DlcError = (() => {
859
879
  * @private
860
880
  * This field is private and should not be used.
861
881
  */
862
- [uniffiTypeNameSymbol] = 'DlcError';
882
+ [uniffiTypeNameSymbol] = "DlcError";
863
883
  /**
864
884
  * @private
865
885
  * This field is private and should not be used.
@@ -867,7 +887,7 @@ export const DlcError = (() => {
867
887
  [variantOrdinalSymbol] = 1;
868
888
  tag = DlcError_Tags.InvalidSignature;
869
889
  constructor(message) {
870
- super('DlcError', 'InvalidSignature', message);
890
+ super("DlcError", "InvalidSignature", message);
871
891
  }
872
892
  static instanceOf(e) {
873
893
  return instanceOf(e) && e[variantOrdinalSymbol] === 1;
@@ -878,7 +898,7 @@ export const DlcError = (() => {
878
898
  * @private
879
899
  * This field is private and should not be used.
880
900
  */
881
- [uniffiTypeNameSymbol] = 'DlcError';
901
+ [uniffiTypeNameSymbol] = "DlcError";
882
902
  /**
883
903
  * @private
884
904
  * This field is private and should not be used.
@@ -886,7 +906,7 @@ export const DlcError = (() => {
886
906
  [variantOrdinalSymbol] = 2;
887
907
  tag = DlcError_Tags.InvalidPublicKey;
888
908
  constructor(message) {
889
- super('DlcError', 'InvalidPublicKey', message);
909
+ super("DlcError", "InvalidPublicKey", message);
890
910
  }
891
911
  static instanceOf(e) {
892
912
  return instanceOf(e) && e[variantOrdinalSymbol] === 2;
@@ -897,7 +917,7 @@ export const DlcError = (() => {
897
917
  * @private
898
918
  * This field is private and should not be used.
899
919
  */
900
- [uniffiTypeNameSymbol] = 'DlcError';
920
+ [uniffiTypeNameSymbol] = "DlcError";
901
921
  /**
902
922
  * @private
903
923
  * This field is private and should not be used.
@@ -905,7 +925,7 @@ export const DlcError = (() => {
905
925
  [variantOrdinalSymbol] = 3;
906
926
  tag = DlcError_Tags.InvalidTransaction;
907
927
  constructor(message) {
908
- super('DlcError', 'InvalidTransaction', message);
928
+ super("DlcError", "InvalidTransaction", message);
909
929
  }
910
930
  static instanceOf(e) {
911
931
  return instanceOf(e) && e[variantOrdinalSymbol] === 3;
@@ -916,7 +936,7 @@ export const DlcError = (() => {
916
936
  * @private
917
937
  * This field is private and should not be used.
918
938
  */
919
- [uniffiTypeNameSymbol] = 'DlcError';
939
+ [uniffiTypeNameSymbol] = "DlcError";
920
940
  /**
921
941
  * @private
922
942
  * This field is private and should not be used.
@@ -924,7 +944,7 @@ export const DlcError = (() => {
924
944
  [variantOrdinalSymbol] = 4;
925
945
  tag = DlcError_Tags.InsufficientFunds;
926
946
  constructor(message) {
927
- super('DlcError', 'InsufficientFunds', message);
947
+ super("DlcError", "InsufficientFunds", message);
928
948
  }
929
949
  static instanceOf(e) {
930
950
  return instanceOf(e) && e[variantOrdinalSymbol] === 4;
@@ -935,7 +955,7 @@ export const DlcError = (() => {
935
955
  * @private
936
956
  * This field is private and should not be used.
937
957
  */
938
- [uniffiTypeNameSymbol] = 'DlcError';
958
+ [uniffiTypeNameSymbol] = "DlcError";
939
959
  /**
940
960
  * @private
941
961
  * This field is private and should not be used.
@@ -943,7 +963,7 @@ export const DlcError = (() => {
943
963
  [variantOrdinalSymbol] = 5;
944
964
  tag = DlcError_Tags.InvalidArgument;
945
965
  constructor(message) {
946
- super('DlcError', 'InvalidArgument', message);
966
+ super("DlcError", "InvalidArgument", message);
947
967
  }
948
968
  static instanceOf(e) {
949
969
  return instanceOf(e) && e[variantOrdinalSymbol] === 5;
@@ -954,7 +974,7 @@ export const DlcError = (() => {
954
974
  * @private
955
975
  * This field is private and should not be used.
956
976
  */
957
- [uniffiTypeNameSymbol] = 'DlcError';
977
+ [uniffiTypeNameSymbol] = "DlcError";
958
978
  /**
959
979
  * @private
960
980
  * This field is private and should not be used.
@@ -962,7 +982,7 @@ export const DlcError = (() => {
962
982
  [variantOrdinalSymbol] = 6;
963
983
  tag = DlcError_Tags.SerializationError;
964
984
  constructor(message) {
965
- super('DlcError', 'SerializationError', message);
985
+ super("DlcError", "SerializationError", message);
966
986
  }
967
987
  static instanceOf(e) {
968
988
  return instanceOf(e) && e[variantOrdinalSymbol] === 6;
@@ -973,7 +993,7 @@ export const DlcError = (() => {
973
993
  * @private
974
994
  * This field is private and should not be used.
975
995
  */
976
- [uniffiTypeNameSymbol] = 'DlcError';
996
+ [uniffiTypeNameSymbol] = "DlcError";
977
997
  /**
978
998
  * @private
979
999
  * This field is private and should not be used.
@@ -981,7 +1001,7 @@ export const DlcError = (() => {
981
1001
  [variantOrdinalSymbol] = 7;
982
1002
  tag = DlcError_Tags.Secp256k1Error;
983
1003
  constructor(message) {
984
- super('DlcError', 'Secp256k1Error', message);
1004
+ super("DlcError", "Secp256k1Error", message);
985
1005
  }
986
1006
  static instanceOf(e) {
987
1007
  return instanceOf(e) && e[variantOrdinalSymbol] === 7;
@@ -992,7 +1012,7 @@ export const DlcError = (() => {
992
1012
  * @private
993
1013
  * This field is private and should not be used.
994
1014
  */
995
- [uniffiTypeNameSymbol] = 'DlcError';
1015
+ [uniffiTypeNameSymbol] = "DlcError";
996
1016
  /**
997
1017
  * @private
998
1018
  * This field is private and should not be used.
@@ -1000,7 +1020,7 @@ export const DlcError = (() => {
1000
1020
  [variantOrdinalSymbol] = 8;
1001
1021
  tag = DlcError_Tags.MiniscriptError;
1002
1022
  constructor(message) {
1003
- super('DlcError', 'MiniscriptError', message);
1023
+ super("DlcError", "MiniscriptError", message);
1004
1024
  }
1005
1025
  static instanceOf(e) {
1006
1026
  return instanceOf(e) && e[variantOrdinalSymbol] === 8;
@@ -1011,7 +1031,7 @@ export const DlcError = (() => {
1011
1031
  * @private
1012
1032
  * This field is private and should not be used.
1013
1033
  */
1014
- [uniffiTypeNameSymbol] = 'DlcError';
1034
+ [uniffiTypeNameSymbol] = "DlcError";
1015
1035
  /**
1016
1036
  * @private
1017
1037
  * This field is private and should not be used.
@@ -1019,7 +1039,7 @@ export const DlcError = (() => {
1019
1039
  [variantOrdinalSymbol] = 9;
1020
1040
  tag = DlcError_Tags.InvalidNetwork;
1021
1041
  constructor(message) {
1022
- super('DlcError', 'InvalidNetwork', message);
1042
+ super("DlcError", "InvalidNetwork", message);
1023
1043
  }
1024
1044
  static instanceOf(e) {
1025
1045
  return instanceOf(e) && e[variantOrdinalSymbol] === 9;
@@ -1030,7 +1050,7 @@ export const DlcError = (() => {
1030
1050
  * @private
1031
1051
  * This field is private and should not be used.
1032
1052
  */
1033
- [uniffiTypeNameSymbol] = 'DlcError';
1053
+ [uniffiTypeNameSymbol] = "DlcError";
1034
1054
  /**
1035
1055
  * @private
1036
1056
  * This field is private and should not be used.
@@ -1038,7 +1058,7 @@ export const DlcError = (() => {
1038
1058
  [variantOrdinalSymbol] = 10;
1039
1059
  tag = DlcError_Tags.KeyError;
1040
1060
  constructor(message) {
1041
- super('DlcError', 'KeyError', message);
1061
+ super("DlcError", "KeyError", message);
1042
1062
  }
1043
1063
  static instanceOf(e) {
1044
1064
  return instanceOf(e) && e[variantOrdinalSymbol] === 10;
@@ -1047,7 +1067,7 @@ export const DlcError = (() => {
1047
1067
 
1048
1068
  // Utility function which does not rely on instanceof.
1049
1069
  function instanceOf(e) {
1050
- return e[uniffiTypeNameSymbol] === 'DlcError';
1070
+ return e[uniffiTypeNameSymbol] === "DlcError";
1051
1071
  }
1052
1072
  return {
1053
1073
  InvalidSignature,
@@ -1121,7 +1141,7 @@ export const ExtendedKey = (() => {
1121
1141
  * @private
1122
1142
  * This field is private and should not be used.
1123
1143
  */
1124
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1144
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1125
1145
  /**
1126
1146
  * @private
1127
1147
  * This field is private and should not be used.
@@ -1129,7 +1149,7 @@ export const ExtendedKey = (() => {
1129
1149
  [variantOrdinalSymbol] = 1;
1130
1150
  tag = ExtendedKey_Tags.InvalidMnemonic;
1131
1151
  constructor(message) {
1132
- super('ExtendedKey', 'InvalidMnemonic', message);
1152
+ super("ExtendedKey", "InvalidMnemonic", message);
1133
1153
  }
1134
1154
  static instanceOf(e) {
1135
1155
  return instanceOf(e) && e[variantOrdinalSymbol] === 1;
@@ -1140,7 +1160,7 @@ export const ExtendedKey = (() => {
1140
1160
  * @private
1141
1161
  * This field is private and should not be used.
1142
1162
  */
1143
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1163
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1144
1164
  /**
1145
1165
  * @private
1146
1166
  * This field is private and should not be used.
@@ -1148,7 +1168,7 @@ export const ExtendedKey = (() => {
1148
1168
  [variantOrdinalSymbol] = 2;
1149
1169
  tag = ExtendedKey_Tags.InvalidXpriv;
1150
1170
  constructor(message) {
1151
- super('ExtendedKey', 'InvalidXpriv', message);
1171
+ super("ExtendedKey", "InvalidXpriv", message);
1152
1172
  }
1153
1173
  static instanceOf(e) {
1154
1174
  return instanceOf(e) && e[variantOrdinalSymbol] === 2;
@@ -1159,7 +1179,7 @@ export const ExtendedKey = (() => {
1159
1179
  * @private
1160
1180
  * This field is private and should not be used.
1161
1181
  */
1162
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1182
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1163
1183
  /**
1164
1184
  * @private
1165
1185
  * This field is private and should not be used.
@@ -1167,7 +1187,7 @@ export const ExtendedKey = (() => {
1167
1187
  [variantOrdinalSymbol] = 3;
1168
1188
  tag = ExtendedKey_Tags.InvalidXpub;
1169
1189
  constructor(message) {
1170
- super('ExtendedKey', 'InvalidXpub', message);
1190
+ super("ExtendedKey", "InvalidXpub", message);
1171
1191
  }
1172
1192
  static instanceOf(e) {
1173
1193
  return instanceOf(e) && e[variantOrdinalSymbol] === 3;
@@ -1178,7 +1198,7 @@ export const ExtendedKey = (() => {
1178
1198
  * @private
1179
1199
  * This field is private and should not be used.
1180
1200
  */
1181
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1201
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1182
1202
  /**
1183
1203
  * @private
1184
1204
  * This field is private and should not be used.
@@ -1186,7 +1206,7 @@ export const ExtendedKey = (() => {
1186
1206
  [variantOrdinalSymbol] = 4;
1187
1207
  tag = ExtendedKey_Tags.InvalidDerivationPath;
1188
1208
  constructor(message) {
1189
- super('ExtendedKey', 'InvalidDerivationPath', message);
1209
+ super("ExtendedKey", "InvalidDerivationPath", message);
1190
1210
  }
1191
1211
  static instanceOf(e) {
1192
1212
  return instanceOf(e) && e[variantOrdinalSymbol] === 4;
@@ -1195,7 +1215,7 @@ export const ExtendedKey = (() => {
1195
1215
 
1196
1216
  // Utility function which does not rely on instanceof.
1197
1217
  function instanceOf(e) {
1198
- return e[uniffiTypeNameSymbol] === 'ExtendedKey';
1218
+ return e[uniffiTypeNameSymbol] === "ExtendedKey";
1199
1219
  }
1200
1220
  return {
1201
1221
  InvalidMnemonic,
@@ -1295,94 +1315,97 @@ function uniffiEnsureInitialized() {
1295
1315
  throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
1296
1316
  }
1297
1317
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_add_signature_to_transaction() !== 1337) {
1298
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_add_signature_to_transaction');
1318
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_add_signature_to_transaction");
1299
1319
  }
1300
1320
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_convert_mnemonic_to_seed() !== 65049) {
1301
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_convert_mnemonic_to_seed');
1321
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_convert_mnemonic_to_seed");
1302
1322
  }
1303
1323
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet() !== 23081) {
1304
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet');
1324
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet");
1305
1325
  }
1306
1326
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_points_from_oracle_info() !== 6552) {
1307
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_points_from_oracle_info');
1327
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet_adaptor_points_from_oracle_info");
1308
1328
  }
1309
1329
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_signature_from_oracle_info() !== 65174) {
1310
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_signature_from_oracle_info');
1330
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet_adaptor_signature_from_oracle_info");
1311
1331
  }
1312
1332
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_oracle_info() !== 15699) {
1313
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_oracle_info');
1333
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_oracle_info");
1334
+ }
1335
+ if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points() !== 33705) {
1336
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points");
1314
1337
  }
1315
1338
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cets() !== 50529) {
1316
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cets');
1339
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cets");
1317
1340
  }
1318
1341
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_dlc_transactions() !== 29518) {
1319
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_dlc_transactions');
1342
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_dlc_transactions");
1320
1343
  }
1321
1344
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_extkey_from_parent_path() !== 26671) {
1322
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_extkey_from_parent_path');
1345
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_extkey_from_parent_path");
1323
1346
  }
1324
1347
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_extkey_from_seed() !== 12526) {
1325
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_extkey_from_seed');
1348
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_extkey_from_seed");
1326
1349
  }
1327
1350
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_fund_tx_locking_script() !== 2761) {
1328
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_fund_tx_locking_script');
1351
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_fund_tx_locking_script");
1329
1352
  }
1330
1353
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_refund_transaction() !== 57261) {
1331
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_refund_transaction');
1354
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_refund_transaction");
1332
1355
  }
1333
1356
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions() !== 19497) {
1334
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions');
1357
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions");
1335
1358
  }
1336
1359
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_xpriv_from_parent_path() !== 34808) {
1337
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_xpriv_from_parent_path');
1360
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_xpriv_from_parent_path");
1338
1361
  }
1339
1362
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_extract_ecdsa_signature_from_oracle_signatures() !== 8006) {
1340
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_extract_ecdsa_signature_from_oracle_signatures');
1363
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_extract_ecdsa_signature_from_oracle_signatures");
1341
1364
  }
1342
1365
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_cet_adaptor_signature_inputs() !== 14595) {
1343
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_cet_adaptor_signature_inputs');
1366
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_cet_adaptor_signature_inputs");
1344
1367
  }
1345
1368
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_cet_sighash() !== 10643) {
1346
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_cet_sighash');
1369
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_cet_sighash");
1347
1370
  }
1348
1371
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_change_output_and_fees() !== 44150) {
1349
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_change_output_and_fees');
1372
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_change_output_and_fees");
1350
1373
  }
1351
1374
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_pubkey_from_extkey() !== 64637) {
1352
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_pubkey_from_extkey');
1375
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_pubkey_from_extkey");
1353
1376
  }
1354
1377
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_raw_funding_transaction_input_signature() !== 35708) {
1355
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_raw_funding_transaction_input_signature');
1378
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_raw_funding_transaction_input_signature");
1356
1379
  }
1357
1380
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_total_input_vsize() !== 38213) {
1358
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_total_input_vsize');
1381
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_total_input_vsize");
1359
1382
  }
1360
1383
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_xpub_from_xpriv() !== 44344) {
1361
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_xpub_from_xpriv');
1384
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_get_xpub_from_xpriv");
1362
1385
  }
1363
1386
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_is_dust_output() !== 64174) {
1364
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_is_dust_output');
1387
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_is_dust_output");
1365
1388
  }
1366
1389
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_sign_cet() !== 43957) {
1367
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_cet');
1390
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_sign_cet");
1368
1391
  }
1369
1392
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_sign_fund_transaction_input() !== 50531) {
1370
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_fund_transaction_input');
1393
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_sign_fund_transaction_input");
1371
1394
  }
1372
1395
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_sign_multi_sig_input() !== 14569) {
1373
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_multi_sig_input');
1396
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_sign_multi_sig_input");
1374
1397
  }
1375
1398
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sig_from_oracle_info() !== 52232) {
1376
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sig_from_oracle_info');
1399
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sig_from_oracle_info");
1377
1400
  }
1378
1401
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sigs_from_oracle_info() !== 14181) {
1379
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sigs_from_oracle_info');
1402
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sigs_from_oracle_info");
1380
1403
  }
1381
1404
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_verify_fund_tx_signature() !== 27316) {
1382
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_verify_fund_tx_signature');
1405
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_verify_fund_tx_signature");
1383
1406
  }
1384
1407
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_version() !== 22317) {
1385
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_version');
1408
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_version");
1386
1409
  }
1387
1410
  }
1388
1411
  export default Object.freeze({