@bennyblader/ddk-rn 0.3.38 → 0.3.39
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/DdkRn.podspec +3 -0
- package/cpp/bennyblader-ddk-rn.cpp +1 -1
- package/cpp/ddk_ffi.cpp +2485 -2573
- package/cpp/ddk_ffi.hpp +97 -255
- package/ddk-ffi/Cargo.lock +3 -3
- package/ddk-ffi/Cargo.toml +2 -2
- package/ddk-ffi/src/ddk_ffi.udl +5 -3
- package/ddk-ffi/src/lib.rs +11 -1
- package/lib/commonjs/ddk_ffi-ffi.js.map +1 -1
- package/lib/commonjs/ddk_ffi.js +69 -81
- package/lib/commonjs/ddk_ffi.js.map +1 -1
- package/lib/module/ddk_ffi-ffi.js.map +1 -1
- package/lib/module/ddk_ffi.js +70 -82
- package/lib/module/ddk_ffi.js.map +1 -1
- package/lib/typescript/commonjs/src/ddk_ffi-ffi.d.ts +2 -2
- package/lib/typescript/commonjs/src/ddk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/ddk_ffi.d.ts +5 -5
- package/lib/typescript/commonjs/src/ddk_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/ddk_ffi-ffi.d.ts +2 -2
- package/lib/typescript/module/src/ddk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/ddk_ffi.d.ts +5 -5
- package/lib/typescript/module/src/ddk_ffi.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ddk_ffi-ffi.ts +331 -83
- package/src/ddk_ffi.ts +2317 -1883
package/lib/commonjs/ddk_ffi.js
CHANGED
|
@@ -48,9 +48,9 @@ const uniffiCaller = new _uniffiBindgenReactNative.UniffiRustCaller(() => ({
|
|
|
48
48
|
}));
|
|
49
49
|
const uniffiIsDebug =
|
|
50
50
|
// @ts-ignore -- The process global might not be defined
|
|
51
|
-
typeof process !==
|
|
51
|
+
typeof process !== 'object' ||
|
|
52
52
|
// @ts-ignore -- The process global might not be defined
|
|
53
|
-
process?.env?.NODE_ENV !==
|
|
53
|
+
process?.env?.NODE_ENV !== 'production' || true;
|
|
54
54
|
// Public interface members begin here.
|
|
55
55
|
|
|
56
56
|
function addSignatureToTransaction(tx, signature, pubkey, inputIndex) /*throws*/{
|
|
@@ -117,12 +117,12 @@ function createCets(fundTxId, fundVout, localFinalScriptPubkey, remoteFinalScrip
|
|
|
117
117
|
})()(FfiConverterString.lower(fundTxId), _uniffiBindgenReactNative.FfiConverterUInt32.lower(fundVout), FfiConverterArrayUInt8.lower(localFinalScriptPubkey), FfiConverterArrayUInt8.lower(remoteFinalScriptPubkey), FfiConverterArrayTypePayout.lower(outcomes), _uniffiBindgenReactNative.FfiConverterUInt32.lower(lockTime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(localSerialId), _uniffiBindgenReactNative.FfiConverterUInt64.lower(remoteSerialId), callStatus);
|
|
118
118
|
}, /*liftString:*/FfiConverterString.lift));
|
|
119
119
|
}
|
|
120
|
-
function createDlcTransactions(outcomes, localParams, remoteParams, refundLocktime, feeRate, fundLockTime, cetLockTime, fundOutputSerialId) /*throws*/{
|
|
120
|
+
function createDlcTransactions(outcomes, localParams, remoteParams, refundLocktime, feeRate, fundLockTime, cetLockTime, fundOutputSerialId, contractFlags) /*throws*/{
|
|
121
121
|
return FfiConverterTypeDlcTransactions.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeDLCError.lift.bind(FfiConverterTypeDLCError), /*caller:*/callStatus => {
|
|
122
122
|
return (() => {
|
|
123
123
|
console.debug(`-- uniffi_ddk_ffi_fn_func_create_dlc_transactions`);
|
|
124
124
|
return (0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_fn_func_create_dlc_transactions;
|
|
125
|
-
})()(FfiConverterArrayTypePayout.lower(outcomes), FfiConverterTypePartyParams.lower(localParams), FfiConverterTypePartyParams.lower(remoteParams), _uniffiBindgenReactNative.FfiConverterUInt32.lower(refundLocktime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(feeRate), _uniffiBindgenReactNative.FfiConverterUInt32.lower(fundLockTime), _uniffiBindgenReactNative.FfiConverterUInt32.lower(cetLockTime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(fundOutputSerialId), callStatus);
|
|
125
|
+
})()(FfiConverterArrayTypePayout.lower(outcomes), FfiConverterTypePartyParams.lower(localParams), FfiConverterTypePartyParams.lower(remoteParams), _uniffiBindgenReactNative.FfiConverterUInt32.lower(refundLocktime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(feeRate), _uniffiBindgenReactNative.FfiConverterUInt32.lower(fundLockTime), _uniffiBindgenReactNative.FfiConverterUInt32.lower(cetLockTime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(fundOutputSerialId), _uniffiBindgenReactNative.FfiConverterUInt8.lower(contractFlags), callStatus);
|
|
126
126
|
}, /*liftString:*/FfiConverterString.lift));
|
|
127
127
|
}
|
|
128
128
|
function createExtkeyFromParentPath(extkey, path) /*throws*/{
|
|
@@ -157,12 +157,12 @@ function createRefundTransaction(localFinalScriptPubkey, remoteFinalScriptPubkey
|
|
|
157
157
|
})()(FfiConverterArrayUInt8.lower(localFinalScriptPubkey), FfiConverterArrayUInt8.lower(remoteFinalScriptPubkey), _uniffiBindgenReactNative.FfiConverterUInt64.lower(localAmount), _uniffiBindgenReactNative.FfiConverterUInt64.lower(remoteAmount), _uniffiBindgenReactNative.FfiConverterUInt32.lower(lockTime), FfiConverterString.lower(fundTxId), _uniffiBindgenReactNative.FfiConverterUInt32.lower(fundVout), callStatus);
|
|
158
158
|
}, /*liftString:*/FfiConverterString.lift));
|
|
159
159
|
}
|
|
160
|
-
function createSplicedDlcTransactions(outcomes, localParams, remoteParams, refundLocktime, feeRate, fundLockTime, cetLockTime, fundOutputSerialId) /*throws*/{
|
|
160
|
+
function createSplicedDlcTransactions(outcomes, localParams, remoteParams, refundLocktime, feeRate, fundLockTime, cetLockTime, fundOutputSerialId, contractFlags) /*throws*/{
|
|
161
161
|
return FfiConverterTypeDlcTransactions.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeDLCError.lift.bind(FfiConverterTypeDLCError), /*caller:*/callStatus => {
|
|
162
162
|
return (() => {
|
|
163
163
|
console.debug(`-- uniffi_ddk_ffi_fn_func_create_spliced_dlc_transactions`);
|
|
164
164
|
return (0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_fn_func_create_spliced_dlc_transactions;
|
|
165
|
-
})()(FfiConverterArrayTypePayout.lower(outcomes), FfiConverterTypePartyParams.lower(localParams), FfiConverterTypePartyParams.lower(remoteParams), _uniffiBindgenReactNative.FfiConverterUInt32.lower(refundLocktime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(feeRate), _uniffiBindgenReactNative.FfiConverterUInt32.lower(fundLockTime), _uniffiBindgenReactNative.FfiConverterUInt32.lower(cetLockTime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(fundOutputSerialId), callStatus);
|
|
165
|
+
})()(FfiConverterArrayTypePayout.lower(outcomes), FfiConverterTypePartyParams.lower(localParams), FfiConverterTypePartyParams.lower(remoteParams), _uniffiBindgenReactNative.FfiConverterUInt32.lower(refundLocktime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(feeRate), _uniffiBindgenReactNative.FfiConverterUInt32.lower(fundLockTime), _uniffiBindgenReactNative.FfiConverterUInt32.lower(cetLockTime), _uniffiBindgenReactNative.FfiConverterUInt64.lower(fundOutputSerialId), _uniffiBindgenReactNative.FfiConverterUInt8.lower(contractFlags), callStatus);
|
|
166
166
|
}, /*liftString:*/FfiConverterString.lift));
|
|
167
167
|
}
|
|
168
168
|
function createXprivFromParentPath(seedOrXpriv, baseDerivationPath, network, path) /*throws*/{
|
|
@@ -342,7 +342,6 @@ const FfiConverterTypeAdaptorSignature = (() => {
|
|
|
342
342
|
return FfiConverterArrayUInt8.allocationSize(value.signature) + FfiConverterArrayUInt8.allocationSize(value.proof);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
;
|
|
346
345
|
return new FFIConverter();
|
|
347
346
|
})();
|
|
348
347
|
/**
|
|
@@ -396,7 +395,6 @@ const FfiConverterTypeCetAdaptorSignatureDebugInfo = (() => {
|
|
|
396
395
|
return FfiConverterArrayUInt8.allocationSize(value.sighash) + FfiConverterArrayUInt8.allocationSize(value.adaptorPoint) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.inputIndex) + FfiConverterArrayUInt8.allocationSize(value.scriptPubkey) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.value) + FfiConverterString.allocationSize(value.cetTxid) + FfiConverterArrayUInt8.allocationSize(value.cetRaw);
|
|
397
396
|
}
|
|
398
397
|
}
|
|
399
|
-
;
|
|
400
398
|
return new FFIConverter();
|
|
401
399
|
})();
|
|
402
400
|
/**
|
|
@@ -442,7 +440,6 @@ const FfiConverterTypeChangeOutputAndFees = (() => {
|
|
|
442
440
|
return FfiConverterTypeTxOutput.allocationSize(value.changeOutput) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.fundFee) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.cetFee);
|
|
443
441
|
}
|
|
444
442
|
}
|
|
445
|
-
;
|
|
446
443
|
return new FFIConverter();
|
|
447
444
|
})();
|
|
448
445
|
/**
|
|
@@ -498,7 +495,6 @@ const FfiConverterTypeDlcInputInfo = (() => {
|
|
|
498
495
|
return FfiConverterTypeTransaction.allocationSize(value.fundTx) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.fundVout) + FfiConverterArrayUInt8.allocationSize(value.localFundPubkey) + FfiConverterArrayUInt8.allocationSize(value.remoteFundPubkey) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.fundAmount) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.maxWitnessLen) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.inputSerialId) + FfiConverterArrayUInt8.allocationSize(value.contractId);
|
|
499
496
|
}
|
|
500
497
|
}
|
|
501
|
-
;
|
|
502
498
|
return new FFIConverter();
|
|
503
499
|
})();
|
|
504
500
|
/**
|
|
@@ -546,7 +542,6 @@ const FfiConverterTypeDlcTransactions = (() => {
|
|
|
546
542
|
return FfiConverterTypeTransaction.allocationSize(value.fund) + FfiConverterArrayTypeTransaction.allocationSize(value.cets) + FfiConverterTypeTransaction.allocationSize(value.refund) + FfiConverterArrayUInt8.allocationSize(value.fundingScriptPubkey);
|
|
547
543
|
}
|
|
548
544
|
}
|
|
549
|
-
;
|
|
550
545
|
return new FFIConverter();
|
|
551
546
|
})();
|
|
552
547
|
/**
|
|
@@ -590,7 +585,6 @@ const FfiConverterTypeOracleInfo = (() => {
|
|
|
590
585
|
return FfiConverterArrayUInt8.allocationSize(value.publicKey) + FfiConverterArrayArrayUInt8.allocationSize(value.nonces);
|
|
591
586
|
}
|
|
592
587
|
}
|
|
593
|
-
;
|
|
594
588
|
return new FFIConverter();
|
|
595
589
|
})();
|
|
596
590
|
/**
|
|
@@ -648,7 +642,6 @@ const FfiConverterTypePartyParams = (() => {
|
|
|
648
642
|
return FfiConverterArrayUInt8.allocationSize(value.fundPubkey) + FfiConverterArrayUInt8.allocationSize(value.changeScriptPubkey) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.changeSerialId) + FfiConverterArrayUInt8.allocationSize(value.payoutScriptPubkey) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.payoutSerialId) + FfiConverterArrayTypeTxInputInfo.allocationSize(value.inputs) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.inputAmount) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.collateral) + FfiConverterArrayTypeDlcInputInfo.allocationSize(value.dlcInputs);
|
|
649
643
|
}
|
|
650
644
|
}
|
|
651
|
-
;
|
|
652
645
|
return new FFIConverter();
|
|
653
646
|
})();
|
|
654
647
|
/**
|
|
@@ -692,7 +685,6 @@ const FfiConverterTypePayout = (() => {
|
|
|
692
685
|
return _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.offer) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.accept);
|
|
693
686
|
}
|
|
694
687
|
}
|
|
695
|
-
;
|
|
696
688
|
return new FFIConverter();
|
|
697
689
|
})();
|
|
698
690
|
/**
|
|
@@ -742,7 +734,6 @@ const FfiConverterTypeTransaction = (() => {
|
|
|
742
734
|
return _uniffiBindgenReactNative.FfiConverterInt32.allocationSize(value.version) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.lockTime) + FfiConverterArrayTypeTxInput.allocationSize(value.inputs) + FfiConverterArrayTypeTxOutput.allocationSize(value.outputs) + FfiConverterArrayUInt8.allocationSize(value.rawBytes);
|
|
743
735
|
}
|
|
744
736
|
}
|
|
745
|
-
;
|
|
746
737
|
return new FFIConverter();
|
|
747
738
|
})();
|
|
748
739
|
/**
|
|
@@ -792,7 +783,6 @@ const FfiConverterTypeTxInput = (() => {
|
|
|
792
783
|
return FfiConverterString.allocationSize(value.txid) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.vout) + FfiConverterArrayUInt8.allocationSize(value.scriptSig) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.sequence) + FfiConverterArrayArrayUInt8.allocationSize(value.witness);
|
|
793
784
|
}
|
|
794
785
|
}
|
|
795
|
-
;
|
|
796
786
|
return new FFIConverter();
|
|
797
787
|
})();
|
|
798
788
|
/**
|
|
@@ -842,7 +832,6 @@ const FfiConverterTypeTxInputInfo = (() => {
|
|
|
842
832
|
return FfiConverterString.allocationSize(value.txid) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.vout) + FfiConverterArrayUInt8.allocationSize(value.scriptSig) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.maxWitnessLength) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.serialId);
|
|
843
833
|
}
|
|
844
834
|
}
|
|
845
|
-
;
|
|
846
835
|
return new FFIConverter();
|
|
847
836
|
})();
|
|
848
837
|
/**
|
|
@@ -886,7 +875,6 @@ const FfiConverterTypeTxOutput = (() => {
|
|
|
886
875
|
return _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.value) + FfiConverterArrayUInt8.allocationSize(value.scriptPubkey);
|
|
887
876
|
}
|
|
888
877
|
}
|
|
889
|
-
;
|
|
890
878
|
return new FFIConverter();
|
|
891
879
|
})();
|
|
892
880
|
const stringConverter = {
|
|
@@ -916,7 +904,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
916
904
|
* @private
|
|
917
905
|
* This field is private and should not be used.
|
|
918
906
|
*/
|
|
919
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
907
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
920
908
|
/**
|
|
921
909
|
* @private
|
|
922
910
|
* This field is private and should not be used.
|
|
@@ -924,7 +912,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
924
912
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 1;
|
|
925
913
|
tag = DlcError_Tags.InvalidSignature;
|
|
926
914
|
constructor(message) {
|
|
927
|
-
super(
|
|
915
|
+
super('DlcError', 'InvalidSignature', message);
|
|
928
916
|
}
|
|
929
917
|
static instanceOf(e) {
|
|
930
918
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 1;
|
|
@@ -935,7 +923,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
935
923
|
* @private
|
|
936
924
|
* This field is private and should not be used.
|
|
937
925
|
*/
|
|
938
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
926
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
939
927
|
/**
|
|
940
928
|
* @private
|
|
941
929
|
* This field is private and should not be used.
|
|
@@ -943,7 +931,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
943
931
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 2;
|
|
944
932
|
tag = DlcError_Tags.InvalidPublicKey;
|
|
945
933
|
constructor(message) {
|
|
946
|
-
super(
|
|
934
|
+
super('DlcError', 'InvalidPublicKey', message);
|
|
947
935
|
}
|
|
948
936
|
static instanceOf(e) {
|
|
949
937
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 2;
|
|
@@ -954,7 +942,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
954
942
|
* @private
|
|
955
943
|
* This field is private and should not be used.
|
|
956
944
|
*/
|
|
957
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
945
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
958
946
|
/**
|
|
959
947
|
* @private
|
|
960
948
|
* This field is private and should not be used.
|
|
@@ -962,7 +950,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
962
950
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 3;
|
|
963
951
|
tag = DlcError_Tags.InvalidTransaction;
|
|
964
952
|
constructor(message) {
|
|
965
|
-
super(
|
|
953
|
+
super('DlcError', 'InvalidTransaction', message);
|
|
966
954
|
}
|
|
967
955
|
static instanceOf(e) {
|
|
968
956
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 3;
|
|
@@ -973,7 +961,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
973
961
|
* @private
|
|
974
962
|
* This field is private and should not be used.
|
|
975
963
|
*/
|
|
976
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
964
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
977
965
|
/**
|
|
978
966
|
* @private
|
|
979
967
|
* This field is private and should not be used.
|
|
@@ -981,7 +969,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
981
969
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 4;
|
|
982
970
|
tag = DlcError_Tags.InsufficientFunds;
|
|
983
971
|
constructor(message) {
|
|
984
|
-
super(
|
|
972
|
+
super('DlcError', 'InsufficientFunds', message);
|
|
985
973
|
}
|
|
986
974
|
static instanceOf(e) {
|
|
987
975
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 4;
|
|
@@ -992,7 +980,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
992
980
|
* @private
|
|
993
981
|
* This field is private and should not be used.
|
|
994
982
|
*/
|
|
995
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
983
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
996
984
|
/**
|
|
997
985
|
* @private
|
|
998
986
|
* This field is private and should not be used.
|
|
@@ -1000,7 +988,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1000
988
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 5;
|
|
1001
989
|
tag = DlcError_Tags.InvalidArgument;
|
|
1002
990
|
constructor(message) {
|
|
1003
|
-
super(
|
|
991
|
+
super('DlcError', 'InvalidArgument', message);
|
|
1004
992
|
}
|
|
1005
993
|
static instanceOf(e) {
|
|
1006
994
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 5;
|
|
@@ -1011,7 +999,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1011
999
|
* @private
|
|
1012
1000
|
* This field is private and should not be used.
|
|
1013
1001
|
*/
|
|
1014
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1002
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
1015
1003
|
/**
|
|
1016
1004
|
* @private
|
|
1017
1005
|
* This field is private and should not be used.
|
|
@@ -1019,7 +1007,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1019
1007
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 6;
|
|
1020
1008
|
tag = DlcError_Tags.SerializationError;
|
|
1021
1009
|
constructor(message) {
|
|
1022
|
-
super(
|
|
1010
|
+
super('DlcError', 'SerializationError', message);
|
|
1023
1011
|
}
|
|
1024
1012
|
static instanceOf(e) {
|
|
1025
1013
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 6;
|
|
@@ -1030,7 +1018,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1030
1018
|
* @private
|
|
1031
1019
|
* This field is private and should not be used.
|
|
1032
1020
|
*/
|
|
1033
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1021
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
1034
1022
|
/**
|
|
1035
1023
|
* @private
|
|
1036
1024
|
* This field is private and should not be used.
|
|
@@ -1038,7 +1026,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1038
1026
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 7;
|
|
1039
1027
|
tag = DlcError_Tags.Secp256k1Error;
|
|
1040
1028
|
constructor(message) {
|
|
1041
|
-
super(
|
|
1029
|
+
super('DlcError', 'Secp256k1Error', message);
|
|
1042
1030
|
}
|
|
1043
1031
|
static instanceOf(e) {
|
|
1044
1032
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 7;
|
|
@@ -1049,7 +1037,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1049
1037
|
* @private
|
|
1050
1038
|
* This field is private and should not be used.
|
|
1051
1039
|
*/
|
|
1052
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1040
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
1053
1041
|
/**
|
|
1054
1042
|
* @private
|
|
1055
1043
|
* This field is private and should not be used.
|
|
@@ -1057,7 +1045,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1057
1045
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 8;
|
|
1058
1046
|
tag = DlcError_Tags.MiniscriptError;
|
|
1059
1047
|
constructor(message) {
|
|
1060
|
-
super(
|
|
1048
|
+
super('DlcError', 'MiniscriptError', message);
|
|
1061
1049
|
}
|
|
1062
1050
|
static instanceOf(e) {
|
|
1063
1051
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 8;
|
|
@@ -1068,7 +1056,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1068
1056
|
* @private
|
|
1069
1057
|
* This field is private and should not be used.
|
|
1070
1058
|
*/
|
|
1071
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1059
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
1072
1060
|
/**
|
|
1073
1061
|
* @private
|
|
1074
1062
|
* This field is private and should not be used.
|
|
@@ -1076,7 +1064,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1076
1064
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 9;
|
|
1077
1065
|
tag = DlcError_Tags.InvalidNetwork;
|
|
1078
1066
|
constructor(message) {
|
|
1079
|
-
super(
|
|
1067
|
+
super('DlcError', 'InvalidNetwork', message);
|
|
1080
1068
|
}
|
|
1081
1069
|
static instanceOf(e) {
|
|
1082
1070
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 9;
|
|
@@ -1087,7 +1075,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1087
1075
|
* @private
|
|
1088
1076
|
* This field is private and should not be used.
|
|
1089
1077
|
*/
|
|
1090
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1078
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'DlcError';
|
|
1091
1079
|
/**
|
|
1092
1080
|
* @private
|
|
1093
1081
|
* This field is private and should not be used.
|
|
@@ -1095,7 +1083,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1095
1083
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 10;
|
|
1096
1084
|
tag = DlcError_Tags.KeyError;
|
|
1097
1085
|
constructor(message) {
|
|
1098
|
-
super(
|
|
1086
|
+
super('DlcError', 'KeyError', message);
|
|
1099
1087
|
}
|
|
1100
1088
|
static instanceOf(e) {
|
|
1101
1089
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 10;
|
|
@@ -1104,7 +1092,7 @@ const DlcError = exports.DlcError = (() => {
|
|
|
1104
1092
|
|
|
1105
1093
|
// Utility function which does not rely on instanceof.
|
|
1106
1094
|
function instanceOf(e) {
|
|
1107
|
-
return e[_uniffiBindgenReactNative.uniffiTypeNameSymbol] ===
|
|
1095
|
+
return e[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'DlcError';
|
|
1108
1096
|
}
|
|
1109
1097
|
return {
|
|
1110
1098
|
InvalidSignature,
|
|
@@ -1178,7 +1166,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1178
1166
|
* @private
|
|
1179
1167
|
* This field is private and should not be used.
|
|
1180
1168
|
*/
|
|
1181
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1169
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ExtendedKey';
|
|
1182
1170
|
/**
|
|
1183
1171
|
* @private
|
|
1184
1172
|
* This field is private and should not be used.
|
|
@@ -1186,7 +1174,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1186
1174
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 1;
|
|
1187
1175
|
tag = ExtendedKey_Tags.InvalidMnemonic;
|
|
1188
1176
|
constructor(message) {
|
|
1189
|
-
super(
|
|
1177
|
+
super('ExtendedKey', 'InvalidMnemonic', message);
|
|
1190
1178
|
}
|
|
1191
1179
|
static instanceOf(e) {
|
|
1192
1180
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 1;
|
|
@@ -1197,7 +1185,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1197
1185
|
* @private
|
|
1198
1186
|
* This field is private and should not be used.
|
|
1199
1187
|
*/
|
|
1200
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1188
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ExtendedKey';
|
|
1201
1189
|
/**
|
|
1202
1190
|
* @private
|
|
1203
1191
|
* This field is private and should not be used.
|
|
@@ -1205,7 +1193,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1205
1193
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 2;
|
|
1206
1194
|
tag = ExtendedKey_Tags.InvalidXpriv;
|
|
1207
1195
|
constructor(message) {
|
|
1208
|
-
super(
|
|
1196
|
+
super('ExtendedKey', 'InvalidXpriv', message);
|
|
1209
1197
|
}
|
|
1210
1198
|
static instanceOf(e) {
|
|
1211
1199
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 2;
|
|
@@ -1216,7 +1204,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1216
1204
|
* @private
|
|
1217
1205
|
* This field is private and should not be used.
|
|
1218
1206
|
*/
|
|
1219
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1207
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ExtendedKey';
|
|
1220
1208
|
/**
|
|
1221
1209
|
* @private
|
|
1222
1210
|
* This field is private and should not be used.
|
|
@@ -1224,7 +1212,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1224
1212
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 3;
|
|
1225
1213
|
tag = ExtendedKey_Tags.InvalidXpub;
|
|
1226
1214
|
constructor(message) {
|
|
1227
|
-
super(
|
|
1215
|
+
super('ExtendedKey', 'InvalidXpub', message);
|
|
1228
1216
|
}
|
|
1229
1217
|
static instanceOf(e) {
|
|
1230
1218
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 3;
|
|
@@ -1235,7 +1223,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1235
1223
|
* @private
|
|
1236
1224
|
* This field is private and should not be used.
|
|
1237
1225
|
*/
|
|
1238
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] =
|
|
1226
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ExtendedKey';
|
|
1239
1227
|
/**
|
|
1240
1228
|
* @private
|
|
1241
1229
|
* This field is private and should not be used.
|
|
@@ -1243,7 +1231,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1243
1231
|
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 4;
|
|
1244
1232
|
tag = ExtendedKey_Tags.InvalidDerivationPath;
|
|
1245
1233
|
constructor(message) {
|
|
1246
|
-
super(
|
|
1234
|
+
super('ExtendedKey', 'InvalidDerivationPath', message);
|
|
1247
1235
|
}
|
|
1248
1236
|
static instanceOf(e) {
|
|
1249
1237
|
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 4;
|
|
@@ -1252,7 +1240,7 @@ const ExtendedKey = exports.ExtendedKey = (() => {
|
|
|
1252
1240
|
|
|
1253
1241
|
// Utility function which does not rely on instanceof.
|
|
1254
1242
|
function instanceOf(e) {
|
|
1255
|
-
return e[_uniffiBindgenReactNative.uniffiTypeNameSymbol] ===
|
|
1243
|
+
return e[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'ExtendedKey';
|
|
1256
1244
|
}
|
|
1257
1245
|
return {
|
|
1258
1246
|
InvalidMnemonic,
|
|
@@ -1352,97 +1340,97 @@ function uniffiEnsureInitialized() {
|
|
|
1352
1340
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
|
|
1353
1341
|
}
|
|
1354
1342
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_add_signature_to_transaction() !== 1337) {
|
|
1355
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1343
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_add_signature_to_transaction');
|
|
1356
1344
|
}
|
|
1357
1345
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_convert_mnemonic_to_seed() !== 65049) {
|
|
1358
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1346
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_convert_mnemonic_to_seed');
|
|
1359
1347
|
}
|
|
1360
1348
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_cet() !== 23081) {
|
|
1361
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1349
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet');
|
|
1362
1350
|
}
|
|
1363
1351
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_points_from_oracle_info() !== 6552) {
|
|
1364
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1352
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_points_from_oracle_info');
|
|
1365
1353
|
}
|
|
1366
1354
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_signature_from_oracle_info() !== 65174) {
|
|
1367
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1355
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_signature_from_oracle_info');
|
|
1368
1356
|
}
|
|
1369
1357
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_oracle_info() !== 15699) {
|
|
1370
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1358
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_oracle_info');
|
|
1371
1359
|
}
|
|
1372
1360
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points() !== 33705) {
|
|
1373
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1361
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cet_adaptor_sigs_from_points');
|
|
1374
1362
|
}
|
|
1375
1363
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_cets() !== 50529) {
|
|
1376
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1364
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_cets');
|
|
1377
1365
|
}
|
|
1378
|
-
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_dlc_transactions() !==
|
|
1379
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1366
|
+
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_dlc_transactions() !== 51134) {
|
|
1367
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_dlc_transactions');
|
|
1380
1368
|
}
|
|
1381
1369
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_extkey_from_parent_path() !== 26671) {
|
|
1382
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1370
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_extkey_from_parent_path');
|
|
1383
1371
|
}
|
|
1384
1372
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_extkey_from_seed() !== 12526) {
|
|
1385
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1373
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_extkey_from_seed');
|
|
1386
1374
|
}
|
|
1387
1375
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_fund_tx_locking_script() !== 2761) {
|
|
1388
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1376
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_fund_tx_locking_script');
|
|
1389
1377
|
}
|
|
1390
1378
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_refund_transaction() !== 57261) {
|
|
1391
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1379
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_refund_transaction');
|
|
1392
1380
|
}
|
|
1393
|
-
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions() !==
|
|
1394
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1381
|
+
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions() !== 31130) {
|
|
1382
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_spliced_dlc_transactions');
|
|
1395
1383
|
}
|
|
1396
1384
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_create_xpriv_from_parent_path() !== 34808) {
|
|
1397
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1385
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_create_xpriv_from_parent_path');
|
|
1398
1386
|
}
|
|
1399
1387
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_extract_ecdsa_signature_from_oracle_signatures() !== 8006) {
|
|
1400
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1388
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_extract_ecdsa_signature_from_oracle_signatures');
|
|
1401
1389
|
}
|
|
1402
1390
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_cet_adaptor_signature_inputs() !== 14595) {
|
|
1403
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1391
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_cet_adaptor_signature_inputs');
|
|
1404
1392
|
}
|
|
1405
1393
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_cet_sighash() !== 10643) {
|
|
1406
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1394
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_cet_sighash');
|
|
1407
1395
|
}
|
|
1408
1396
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_change_output_and_fees() !== 44150) {
|
|
1409
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1397
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_change_output_and_fees');
|
|
1410
1398
|
}
|
|
1411
1399
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_pubkey_from_extkey() !== 64637) {
|
|
1412
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1400
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_pubkey_from_extkey');
|
|
1413
1401
|
}
|
|
1414
1402
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_raw_funding_transaction_input_signature() !== 35708) {
|
|
1415
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1403
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_raw_funding_transaction_input_signature');
|
|
1416
1404
|
}
|
|
1417
1405
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_total_input_vsize() !== 38213) {
|
|
1418
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1406
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_total_input_vsize');
|
|
1419
1407
|
}
|
|
1420
1408
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_get_xpub_from_xpriv() !== 44344) {
|
|
1421
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1409
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_get_xpub_from_xpriv');
|
|
1422
1410
|
}
|
|
1423
1411
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_is_dust_output() !== 64174) {
|
|
1424
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1412
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_is_dust_output');
|
|
1425
1413
|
}
|
|
1426
1414
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_sign_cet() !== 43957) {
|
|
1427
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1415
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_cet');
|
|
1428
1416
|
}
|
|
1429
1417
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_sign_fund_transaction_input() !== 50531) {
|
|
1430
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1418
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_fund_transaction_input');
|
|
1431
1419
|
}
|
|
1432
1420
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_sign_multi_sig_input() !== 14569) {
|
|
1433
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1421
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_sign_multi_sig_input');
|
|
1434
1422
|
}
|
|
1435
1423
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sig_from_oracle_info() !== 52232) {
|
|
1436
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1424
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sig_from_oracle_info');
|
|
1437
1425
|
}
|
|
1438
1426
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sigs_from_oracle_info() !== 14181) {
|
|
1439
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1427
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_verify_cet_adaptor_sigs_from_oracle_info');
|
|
1440
1428
|
}
|
|
1441
1429
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_verify_fund_tx_signature() !== 27316) {
|
|
1442
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1430
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_verify_fund_tx_signature');
|
|
1443
1431
|
}
|
|
1444
1432
|
if ((0, _ddk_ffiFfi.default)().ubrn_uniffi_ddk_ffi_checksum_func_version() !== 22317) {
|
|
1445
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch(
|
|
1433
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_ddk_ffi_checksum_func_version');
|
|
1446
1434
|
}
|
|
1447
1435
|
}
|
|
1448
1436
|
var _default = exports.default = Object.freeze({
|