@bennyblader/ddk-rn 0.3.41 → 0.3.42

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*/{
@@ -305,6 +305,7 @@ const FfiConverterTypeAdaptorSignature = (() => {
305
305
  return FfiConverterArrayUInt8.allocationSize(value.signature) + FfiConverterArrayUInt8.allocationSize(value.proof);
306
306
  }
307
307
  }
308
+ ;
308
309
  return new FFIConverter();
309
310
  })();
310
311
  /**
@@ -358,6 +359,7 @@ const FfiConverterTypeCetAdaptorSignatureDebugInfo = (() => {
358
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);
359
360
  }
360
361
  }
362
+ ;
361
363
  return new FFIConverter();
362
364
  })();
363
365
  /**
@@ -403,6 +405,7 @@ const FfiConverterTypeChangeOutputAndFees = (() => {
403
405
  return FfiConverterTypeTxOutput.allocationSize(value.changeOutput) + FfiConverterUInt64.allocationSize(value.fundFee) + FfiConverterUInt64.allocationSize(value.cetFee);
404
406
  }
405
407
  }
408
+ ;
406
409
  return new FFIConverter();
407
410
  })();
408
411
  /**
@@ -458,6 +461,7 @@ const FfiConverterTypeDlcInputInfo = (() => {
458
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);
459
462
  }
460
463
  }
464
+ ;
461
465
  return new FFIConverter();
462
466
  })();
463
467
  /**
@@ -505,6 +509,7 @@ const FfiConverterTypeDlcTransactions = (() => {
505
509
  return FfiConverterTypeTransaction.allocationSize(value.fund) + FfiConverterArrayTypeTransaction.allocationSize(value.cets) + FfiConverterTypeTransaction.allocationSize(value.refund) + FfiConverterArrayUInt8.allocationSize(value.fundingScriptPubkey);
506
510
  }
507
511
  }
512
+ ;
508
513
  return new FFIConverter();
509
514
  })();
510
515
  /**
@@ -548,6 +553,7 @@ const FfiConverterTypeOracleInfo = (() => {
548
553
  return FfiConverterArrayUInt8.allocationSize(value.publicKey) + FfiConverterArrayArrayUInt8.allocationSize(value.nonces);
549
554
  }
550
555
  }
556
+ ;
551
557
  return new FFIConverter();
552
558
  })();
553
559
  /**
@@ -605,6 +611,7 @@ const FfiConverterTypePartyParams = (() => {
605
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);
606
612
  }
607
613
  }
614
+ ;
608
615
  return new FFIConverter();
609
616
  })();
610
617
  /**
@@ -648,6 +655,7 @@ const FfiConverterTypePayout = (() => {
648
655
  return FfiConverterUInt64.allocationSize(value.offer) + FfiConverterUInt64.allocationSize(value.accept);
649
656
  }
650
657
  }
658
+ ;
651
659
  return new FFIConverter();
652
660
  })();
653
661
  /**
@@ -697,6 +705,7 @@ const FfiConverterTypeTransaction = (() => {
697
705
  return FfiConverterInt32.allocationSize(value.version) + FfiConverterUInt32.allocationSize(value.lockTime) + FfiConverterArrayTypeTxInput.allocationSize(value.inputs) + FfiConverterArrayTypeTxOutput.allocationSize(value.outputs) + FfiConverterArrayUInt8.allocationSize(value.rawBytes);
698
706
  }
699
707
  }
708
+ ;
700
709
  return new FFIConverter();
701
710
  })();
702
711
  /**
@@ -746,6 +755,7 @@ const FfiConverterTypeTxInput = (() => {
746
755
  return FfiConverterString.allocationSize(value.txid) + FfiConverterUInt32.allocationSize(value.vout) + FfiConverterArrayUInt8.allocationSize(value.scriptSig) + FfiConverterUInt32.allocationSize(value.sequence) + FfiConverterArrayArrayUInt8.allocationSize(value.witness);
747
756
  }
748
757
  }
758
+ ;
749
759
  return new FFIConverter();
750
760
  })();
751
761
  /**
@@ -795,6 +805,7 @@ const FfiConverterTypeTxInputInfo = (() => {
795
805
  return FfiConverterString.allocationSize(value.txid) + FfiConverterUInt32.allocationSize(value.vout) + FfiConverterArrayUInt8.allocationSize(value.scriptSig) + FfiConverterUInt32.allocationSize(value.maxWitnessLength) + FfiConverterUInt64.allocationSize(value.serialId);
796
806
  }
797
807
  }
808
+ ;
798
809
  return new FFIConverter();
799
810
  })();
800
811
  /**
@@ -838,6 +849,7 @@ const FfiConverterTypeTxOutput = (() => {
838
849
  return FfiConverterUInt64.allocationSize(value.value) + FfiConverterArrayUInt8.allocationSize(value.scriptPubkey);
839
850
  }
840
851
  }
852
+ ;
841
853
  return new FFIConverter();
842
854
  })();
843
855
  const stringConverter = {
@@ -867,7 +879,7 @@ export const DlcError = (() => {
867
879
  * @private
868
880
  * This field is private and should not be used.
869
881
  */
870
- [uniffiTypeNameSymbol] = 'DlcError';
882
+ [uniffiTypeNameSymbol] = "DlcError";
871
883
  /**
872
884
  * @private
873
885
  * This field is private and should not be used.
@@ -875,7 +887,7 @@ export const DlcError = (() => {
875
887
  [variantOrdinalSymbol] = 1;
876
888
  tag = DlcError_Tags.InvalidSignature;
877
889
  constructor(message) {
878
- super('DlcError', 'InvalidSignature', message);
890
+ super("DlcError", "InvalidSignature", message);
879
891
  }
880
892
  static instanceOf(e) {
881
893
  return instanceOf(e) && e[variantOrdinalSymbol] === 1;
@@ -886,7 +898,7 @@ export const DlcError = (() => {
886
898
  * @private
887
899
  * This field is private and should not be used.
888
900
  */
889
- [uniffiTypeNameSymbol] = 'DlcError';
901
+ [uniffiTypeNameSymbol] = "DlcError";
890
902
  /**
891
903
  * @private
892
904
  * This field is private and should not be used.
@@ -894,7 +906,7 @@ export const DlcError = (() => {
894
906
  [variantOrdinalSymbol] = 2;
895
907
  tag = DlcError_Tags.InvalidPublicKey;
896
908
  constructor(message) {
897
- super('DlcError', 'InvalidPublicKey', message);
909
+ super("DlcError", "InvalidPublicKey", message);
898
910
  }
899
911
  static instanceOf(e) {
900
912
  return instanceOf(e) && e[variantOrdinalSymbol] === 2;
@@ -905,7 +917,7 @@ export const DlcError = (() => {
905
917
  * @private
906
918
  * This field is private and should not be used.
907
919
  */
908
- [uniffiTypeNameSymbol] = 'DlcError';
920
+ [uniffiTypeNameSymbol] = "DlcError";
909
921
  /**
910
922
  * @private
911
923
  * This field is private and should not be used.
@@ -913,7 +925,7 @@ export const DlcError = (() => {
913
925
  [variantOrdinalSymbol] = 3;
914
926
  tag = DlcError_Tags.InvalidTransaction;
915
927
  constructor(message) {
916
- super('DlcError', 'InvalidTransaction', message);
928
+ super("DlcError", "InvalidTransaction", message);
917
929
  }
918
930
  static instanceOf(e) {
919
931
  return instanceOf(e) && e[variantOrdinalSymbol] === 3;
@@ -924,7 +936,7 @@ export const DlcError = (() => {
924
936
  * @private
925
937
  * This field is private and should not be used.
926
938
  */
927
- [uniffiTypeNameSymbol] = 'DlcError';
939
+ [uniffiTypeNameSymbol] = "DlcError";
928
940
  /**
929
941
  * @private
930
942
  * This field is private and should not be used.
@@ -932,7 +944,7 @@ export const DlcError = (() => {
932
944
  [variantOrdinalSymbol] = 4;
933
945
  tag = DlcError_Tags.InsufficientFunds;
934
946
  constructor(message) {
935
- super('DlcError', 'InsufficientFunds', message);
947
+ super("DlcError", "InsufficientFunds", message);
936
948
  }
937
949
  static instanceOf(e) {
938
950
  return instanceOf(e) && e[variantOrdinalSymbol] === 4;
@@ -943,7 +955,7 @@ export const DlcError = (() => {
943
955
  * @private
944
956
  * This field is private and should not be used.
945
957
  */
946
- [uniffiTypeNameSymbol] = 'DlcError';
958
+ [uniffiTypeNameSymbol] = "DlcError";
947
959
  /**
948
960
  * @private
949
961
  * This field is private and should not be used.
@@ -951,7 +963,7 @@ export const DlcError = (() => {
951
963
  [variantOrdinalSymbol] = 5;
952
964
  tag = DlcError_Tags.InvalidArgument;
953
965
  constructor(message) {
954
- super('DlcError', 'InvalidArgument', message);
966
+ super("DlcError", "InvalidArgument", message);
955
967
  }
956
968
  static instanceOf(e) {
957
969
  return instanceOf(e) && e[variantOrdinalSymbol] === 5;
@@ -962,7 +974,7 @@ export const DlcError = (() => {
962
974
  * @private
963
975
  * This field is private and should not be used.
964
976
  */
965
- [uniffiTypeNameSymbol] = 'DlcError';
977
+ [uniffiTypeNameSymbol] = "DlcError";
966
978
  /**
967
979
  * @private
968
980
  * This field is private and should not be used.
@@ -970,7 +982,7 @@ export const DlcError = (() => {
970
982
  [variantOrdinalSymbol] = 6;
971
983
  tag = DlcError_Tags.SerializationError;
972
984
  constructor(message) {
973
- super('DlcError', 'SerializationError', message);
985
+ super("DlcError", "SerializationError", message);
974
986
  }
975
987
  static instanceOf(e) {
976
988
  return instanceOf(e) && e[variantOrdinalSymbol] === 6;
@@ -981,7 +993,7 @@ export const DlcError = (() => {
981
993
  * @private
982
994
  * This field is private and should not be used.
983
995
  */
984
- [uniffiTypeNameSymbol] = 'DlcError';
996
+ [uniffiTypeNameSymbol] = "DlcError";
985
997
  /**
986
998
  * @private
987
999
  * This field is private and should not be used.
@@ -989,7 +1001,7 @@ export const DlcError = (() => {
989
1001
  [variantOrdinalSymbol] = 7;
990
1002
  tag = DlcError_Tags.Secp256k1Error;
991
1003
  constructor(message) {
992
- super('DlcError', 'Secp256k1Error', message);
1004
+ super("DlcError", "Secp256k1Error", message);
993
1005
  }
994
1006
  static instanceOf(e) {
995
1007
  return instanceOf(e) && e[variantOrdinalSymbol] === 7;
@@ -1000,7 +1012,7 @@ export const DlcError = (() => {
1000
1012
  * @private
1001
1013
  * This field is private and should not be used.
1002
1014
  */
1003
- [uniffiTypeNameSymbol] = 'DlcError';
1015
+ [uniffiTypeNameSymbol] = "DlcError";
1004
1016
  /**
1005
1017
  * @private
1006
1018
  * This field is private and should not be used.
@@ -1008,7 +1020,7 @@ export const DlcError = (() => {
1008
1020
  [variantOrdinalSymbol] = 8;
1009
1021
  tag = DlcError_Tags.MiniscriptError;
1010
1022
  constructor(message) {
1011
- super('DlcError', 'MiniscriptError', message);
1023
+ super("DlcError", "MiniscriptError", message);
1012
1024
  }
1013
1025
  static instanceOf(e) {
1014
1026
  return instanceOf(e) && e[variantOrdinalSymbol] === 8;
@@ -1019,7 +1031,7 @@ export const DlcError = (() => {
1019
1031
  * @private
1020
1032
  * This field is private and should not be used.
1021
1033
  */
1022
- [uniffiTypeNameSymbol] = 'DlcError';
1034
+ [uniffiTypeNameSymbol] = "DlcError";
1023
1035
  /**
1024
1036
  * @private
1025
1037
  * This field is private and should not be used.
@@ -1027,7 +1039,7 @@ export const DlcError = (() => {
1027
1039
  [variantOrdinalSymbol] = 9;
1028
1040
  tag = DlcError_Tags.InvalidNetwork;
1029
1041
  constructor(message) {
1030
- super('DlcError', 'InvalidNetwork', message);
1042
+ super("DlcError", "InvalidNetwork", message);
1031
1043
  }
1032
1044
  static instanceOf(e) {
1033
1045
  return instanceOf(e) && e[variantOrdinalSymbol] === 9;
@@ -1038,7 +1050,7 @@ export const DlcError = (() => {
1038
1050
  * @private
1039
1051
  * This field is private and should not be used.
1040
1052
  */
1041
- [uniffiTypeNameSymbol] = 'DlcError';
1053
+ [uniffiTypeNameSymbol] = "DlcError";
1042
1054
  /**
1043
1055
  * @private
1044
1056
  * This field is private and should not be used.
@@ -1046,7 +1058,7 @@ export const DlcError = (() => {
1046
1058
  [variantOrdinalSymbol] = 10;
1047
1059
  tag = DlcError_Tags.KeyError;
1048
1060
  constructor(message) {
1049
- super('DlcError', 'KeyError', message);
1061
+ super("DlcError", "KeyError", message);
1050
1062
  }
1051
1063
  static instanceOf(e) {
1052
1064
  return instanceOf(e) && e[variantOrdinalSymbol] === 10;
@@ -1055,7 +1067,7 @@ export const DlcError = (() => {
1055
1067
 
1056
1068
  // Utility function which does not rely on instanceof.
1057
1069
  function instanceOf(e) {
1058
- return e[uniffiTypeNameSymbol] === 'DlcError';
1070
+ return e[uniffiTypeNameSymbol] === "DlcError";
1059
1071
  }
1060
1072
  return {
1061
1073
  InvalidSignature,
@@ -1129,7 +1141,7 @@ export const ExtendedKey = (() => {
1129
1141
  * @private
1130
1142
  * This field is private and should not be used.
1131
1143
  */
1132
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1144
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1133
1145
  /**
1134
1146
  * @private
1135
1147
  * This field is private and should not be used.
@@ -1137,7 +1149,7 @@ export const ExtendedKey = (() => {
1137
1149
  [variantOrdinalSymbol] = 1;
1138
1150
  tag = ExtendedKey_Tags.InvalidMnemonic;
1139
1151
  constructor(message) {
1140
- super('ExtendedKey', 'InvalidMnemonic', message);
1152
+ super("ExtendedKey", "InvalidMnemonic", message);
1141
1153
  }
1142
1154
  static instanceOf(e) {
1143
1155
  return instanceOf(e) && e[variantOrdinalSymbol] === 1;
@@ -1148,7 +1160,7 @@ export const ExtendedKey = (() => {
1148
1160
  * @private
1149
1161
  * This field is private and should not be used.
1150
1162
  */
1151
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1163
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1152
1164
  /**
1153
1165
  * @private
1154
1166
  * This field is private and should not be used.
@@ -1156,7 +1168,7 @@ export const ExtendedKey = (() => {
1156
1168
  [variantOrdinalSymbol] = 2;
1157
1169
  tag = ExtendedKey_Tags.InvalidXpriv;
1158
1170
  constructor(message) {
1159
- super('ExtendedKey', 'InvalidXpriv', message);
1171
+ super("ExtendedKey", "InvalidXpriv", message);
1160
1172
  }
1161
1173
  static instanceOf(e) {
1162
1174
  return instanceOf(e) && e[variantOrdinalSymbol] === 2;
@@ -1167,7 +1179,7 @@ export const ExtendedKey = (() => {
1167
1179
  * @private
1168
1180
  * This field is private and should not be used.
1169
1181
  */
1170
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1182
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1171
1183
  /**
1172
1184
  * @private
1173
1185
  * This field is private and should not be used.
@@ -1175,7 +1187,7 @@ export const ExtendedKey = (() => {
1175
1187
  [variantOrdinalSymbol] = 3;
1176
1188
  tag = ExtendedKey_Tags.InvalidXpub;
1177
1189
  constructor(message) {
1178
- super('ExtendedKey', 'InvalidXpub', message);
1190
+ super("ExtendedKey", "InvalidXpub", message);
1179
1191
  }
1180
1192
  static instanceOf(e) {
1181
1193
  return instanceOf(e) && e[variantOrdinalSymbol] === 3;
@@ -1186,7 +1198,7 @@ export const ExtendedKey = (() => {
1186
1198
  * @private
1187
1199
  * This field is private and should not be used.
1188
1200
  */
1189
- [uniffiTypeNameSymbol] = 'ExtendedKey';
1201
+ [uniffiTypeNameSymbol] = "ExtendedKey";
1190
1202
  /**
1191
1203
  * @private
1192
1204
  * This field is private and should not be used.
@@ -1194,7 +1206,7 @@ export const ExtendedKey = (() => {
1194
1206
  [variantOrdinalSymbol] = 4;
1195
1207
  tag = ExtendedKey_Tags.InvalidDerivationPath;
1196
1208
  constructor(message) {
1197
- super('ExtendedKey', 'InvalidDerivationPath', message);
1209
+ super("ExtendedKey", "InvalidDerivationPath", message);
1198
1210
  }
1199
1211
  static instanceOf(e) {
1200
1212
  return instanceOf(e) && e[variantOrdinalSymbol] === 4;
@@ -1203,7 +1215,7 @@ export const ExtendedKey = (() => {
1203
1215
 
1204
1216
  // Utility function which does not rely on instanceof.
1205
1217
  function instanceOf(e) {
1206
- return e[uniffiTypeNameSymbol] === 'ExtendedKey';
1218
+ return e[uniffiTypeNameSymbol] === "ExtendedKey";
1207
1219
  }
1208
1220
  return {
1209
1221
  InvalidMnemonic,
@@ -1303,97 +1315,97 @@ function uniffiEnsureInitialized() {
1303
1315
  throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
1304
1316
  }
1305
1317
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_add_signature_to_transaction() !== 1337) {
1306
- 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");
1307
1319
  }
1308
1320
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_convert_mnemonic_to_seed() !== 65049) {
1309
- 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");
1310
1322
  }
1311
1323
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet() !== 23081) {
1312
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet');
1324
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet");
1313
1325
  }
1314
1326
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_points_from_oracle_info() !== 6552) {
1315
- 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");
1316
1328
  }
1317
1329
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_signature_from_oracle_info() !== 65174) {
1318
- 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");
1319
1331
  }
1320
1332
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_oracle_info() !== 15699) {
1321
- 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");
1322
1334
  }
1323
1335
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points() !== 33705) {
1324
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points');
1336
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points");
1325
1337
  }
1326
1338
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_cets() !== 50529) {
1327
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cets');
1339
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_create_cets");
1328
1340
  }
1329
1341
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_dlc_transactions() !== 51134) {
1330
- 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");
1331
1343
  }
1332
1344
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_extkey_from_parent_path() !== 26671) {
1333
- 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");
1334
1346
  }
1335
1347
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_extkey_from_seed() !== 12526) {
1336
- 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");
1337
1349
  }
1338
1350
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_fund_tx_locking_script() !== 2761) {
1339
- 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");
1340
1352
  }
1341
1353
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_refund_transaction() !== 57261) {
1342
- 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");
1343
1355
  }
1344
1356
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions() !== 31130) {
1345
- 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");
1346
1358
  }
1347
1359
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_create_xpriv_from_parent_path() !== 34808) {
1348
- 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");
1349
1361
  }
1350
1362
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_extract_ecdsa_signature_from_oracle_signatures() !== 8006) {
1351
- 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");
1352
1364
  }
1353
1365
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_cet_adaptor_signature_inputs() !== 14595) {
1354
- 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");
1355
1367
  }
1356
1368
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_cet_sighash() !== 10643) {
1357
- 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");
1358
1370
  }
1359
1371
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_change_output_and_fees() !== 44150) {
1360
- 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");
1361
1373
  }
1362
1374
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_pubkey_from_extkey() !== 64637) {
1363
- 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");
1364
1376
  }
1365
1377
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_raw_funding_transaction_input_signature() !== 35708) {
1366
- 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");
1367
1379
  }
1368
1380
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_total_input_vsize() !== 38213) {
1369
- 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");
1370
1382
  }
1371
1383
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_get_xpub_from_xpriv() !== 44344) {
1372
- 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");
1373
1385
  }
1374
1386
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_is_dust_output() !== 64174) {
1375
- 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");
1376
1388
  }
1377
1389
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_sign_cet() !== 43957) {
1378
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_cet');
1390
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_sign_cet");
1379
1391
  }
1380
1392
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_sign_fund_transaction_input() !== 50531) {
1381
- 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");
1382
1394
  }
1383
1395
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_sign_multi_sig_input() !== 14569) {
1384
- 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");
1385
1397
  }
1386
1398
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sig_from_oracle_info() !== 52232) {
1387
- 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");
1388
1400
  }
1389
1401
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sigs_from_oracle_info() !== 14181) {
1390
- 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");
1391
1403
  }
1392
1404
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_verify_fund_tx_signature() !== 27316) {
1393
- 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");
1394
1406
  }
1395
1407
  if (nativeModule().ubrn_uniffi_ddk_ffi_checksum_func_version() !== 22317) {
1396
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_version');
1408
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_ddk_ffi_checksum_func_version");
1397
1409
  }
1398
1410
  }
1399
1411
  export default Object.freeze({