react-native-bdk-sdk 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/generated/bdk_ffi.cpp +2 -81
- package/cpp/generated/bdk_ffi.hpp +0 -4
- package/lib/commonjs/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/commonjs/generated/bdk_ffi.js +182 -369
- package/lib/commonjs/generated/bdk_ffi.js.map +1 -1
- package/lib/commonjs/wrapper.js +1 -7
- package/lib/commonjs/wrapper.js.map +1 -1
- package/lib/module/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/module/generated/bdk_ffi.js +182 -369
- package/lib/module/generated/bdk_ffi.js.map +1 -1
- package/lib/module/wrapper.js +1 -7
- package/lib/module/wrapper.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts +0 -4
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts +98 -240
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/wrapper.d.ts +0 -2
- package/lib/typescript/commonjs/src/wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts +0 -4
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts +98 -240
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/wrapper.d.ts +0 -2
- package/lib/typescript/module/src/wrapper.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/bdk_ffi-ffi.ts +0 -11
- package/src/generated/bdk_ffi.ts +207 -462
- package/src/wrapper.ts +1 -9
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WordCount = exports.
|
|
6
|
+
exports.WordCount = exports.Wallet = exports.TxOutput = exports.TxOut = exports.TxOrdering = exports.TxInput = exports.TxDetails = exports.TxBuilder = exports.SingleKeyDescriptorTemplate = exports.SentAndReceived = exports.Recipient = exports.Psbt = exports.OutPoint = exports.Network = exports.Mnemonic = exports.LocalOutput = exports.Language = exports.KeychainKind = exports.KeychainInfo = exports.ElectrumClient = exports.DescriptorTemplate = exports.DerivationInfo = exports.ConfirmationBlockTime = exports.ChangeSpendPolicy = exports.BlockId = exports.BdkError_Tags = exports.BdkError = exports.Balance = exports.AddressInfo = void 0;
|
|
7
7
|
exports.addressFromScript = addressFromScript;
|
|
8
8
|
exports.createDescriptor = createDescriptor;
|
|
9
9
|
exports.createDescriptorFromString = createDescriptorFromString;
|
|
@@ -39,6 +39,7 @@ process?.env?.NODE_ENV !== "production" || false;
|
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Convert a scriptPubKey (hex) to an address string for the given network.
|
|
42
|
+
* Returns the address string, or an error if the script cannot be converted.
|
|
42
43
|
*/
|
|
43
44
|
function addressFromScript(scriptHex, network) /*throws*/{
|
|
44
45
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
@@ -54,7 +55,7 @@ function createDescriptor(mnemonic, template, keychain, network) /*throws*/{
|
|
|
54
55
|
}, /*liftString:*/FfiConverterString.lift));
|
|
55
56
|
}
|
|
56
57
|
/**
|
|
57
|
-
* Generate an output descriptor from a mnemonic string
|
|
58
|
+
* Generate an output descriptor from a mnemonic string (convenience overload).
|
|
58
59
|
*/
|
|
59
60
|
function createDescriptorFromString(mnemonic, template, keychain, network) /*throws*/{
|
|
60
61
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
@@ -79,7 +80,7 @@ function createSingleKeyDescriptor(key, template, network) /*throws*/{
|
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* Async wallet factory — creates or loads a wallet without blocking the JS thread.
|
|
82
|
-
* Pass null for change_descriptor to use the main descriptor for both keychains.
|
|
83
|
+
* Pass null/undefined for change_descriptor to use the main descriptor for both keychains.
|
|
83
84
|
*/
|
|
84
85
|
async function createWallet(descriptor, changeDescriptor, network, dbPath, asyncOpts_) /*throws*/{
|
|
85
86
|
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
@@ -3088,244 +3089,6 @@ const FfiConverterTypeTxOrdering = (() => {
|
|
|
3088
3089
|
}
|
|
3089
3090
|
return new FFIConverter();
|
|
3090
3091
|
})();
|
|
3091
|
-
|
|
3092
|
-
// Enum: WalletEvent
|
|
3093
|
-
let WalletEvent_Tags = exports.WalletEvent_Tags = /*#__PURE__*/function (WalletEvent_Tags) {
|
|
3094
|
-
WalletEvent_Tags["ChainTipChanged"] = "ChainTipChanged";
|
|
3095
|
-
WalletEvent_Tags["TxConfirmed"] = "TxConfirmed";
|
|
3096
|
-
WalletEvent_Tags["TxUnconfirmed"] = "TxUnconfirmed";
|
|
3097
|
-
WalletEvent_Tags["TxReplaced"] = "TxReplaced";
|
|
3098
|
-
WalletEvent_Tags["TxDropped"] = "TxDropped";
|
|
3099
|
-
return WalletEvent_Tags;
|
|
3100
|
-
}({});
|
|
3101
|
-
const WalletEvent = exports.WalletEvent = (() => {
|
|
3102
|
-
class ChainTipChanged_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
3103
|
-
/**
|
|
3104
|
-
* @private
|
|
3105
|
-
* This field is private and should not be used, use `tag` instead.
|
|
3106
|
-
*/
|
|
3107
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "WalletEvent";
|
|
3108
|
-
tag = WalletEvent_Tags.ChainTipChanged;
|
|
3109
|
-
constructor(inner) {
|
|
3110
|
-
super("WalletEvent", "ChainTipChanged");
|
|
3111
|
-
this.inner = Object.freeze(inner);
|
|
3112
|
-
}
|
|
3113
|
-
static new(inner) {
|
|
3114
|
-
return new ChainTipChanged_(inner);
|
|
3115
|
-
}
|
|
3116
|
-
static instanceOf(obj) {
|
|
3117
|
-
return obj.tag === WalletEvent_Tags.ChainTipChanged;
|
|
3118
|
-
}
|
|
3119
|
-
}
|
|
3120
|
-
class TxConfirmed_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
3121
|
-
/**
|
|
3122
|
-
* @private
|
|
3123
|
-
* This field is private and should not be used, use `tag` instead.
|
|
3124
|
-
*/
|
|
3125
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "WalletEvent";
|
|
3126
|
-
tag = WalletEvent_Tags.TxConfirmed;
|
|
3127
|
-
constructor(inner) {
|
|
3128
|
-
super("WalletEvent", "TxConfirmed");
|
|
3129
|
-
this.inner = Object.freeze(inner);
|
|
3130
|
-
}
|
|
3131
|
-
static new(inner) {
|
|
3132
|
-
return new TxConfirmed_(inner);
|
|
3133
|
-
}
|
|
3134
|
-
static instanceOf(obj) {
|
|
3135
|
-
return obj.tag === WalletEvent_Tags.TxConfirmed;
|
|
3136
|
-
}
|
|
3137
|
-
}
|
|
3138
|
-
class TxUnconfirmed_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
3139
|
-
/**
|
|
3140
|
-
* @private
|
|
3141
|
-
* This field is private and should not be used, use `tag` instead.
|
|
3142
|
-
*/
|
|
3143
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "WalletEvent";
|
|
3144
|
-
tag = WalletEvent_Tags.TxUnconfirmed;
|
|
3145
|
-
constructor(inner) {
|
|
3146
|
-
super("WalletEvent", "TxUnconfirmed");
|
|
3147
|
-
this.inner = Object.freeze(inner);
|
|
3148
|
-
}
|
|
3149
|
-
static new(inner) {
|
|
3150
|
-
return new TxUnconfirmed_(inner);
|
|
3151
|
-
}
|
|
3152
|
-
static instanceOf(obj) {
|
|
3153
|
-
return obj.tag === WalletEvent_Tags.TxUnconfirmed;
|
|
3154
|
-
}
|
|
3155
|
-
}
|
|
3156
|
-
class TxReplaced_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
3157
|
-
/**
|
|
3158
|
-
* @private
|
|
3159
|
-
* This field is private and should not be used, use `tag` instead.
|
|
3160
|
-
*/
|
|
3161
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "WalletEvent";
|
|
3162
|
-
tag = WalletEvent_Tags.TxReplaced;
|
|
3163
|
-
constructor(inner) {
|
|
3164
|
-
super("WalletEvent", "TxReplaced");
|
|
3165
|
-
this.inner = Object.freeze(inner);
|
|
3166
|
-
}
|
|
3167
|
-
static new(inner) {
|
|
3168
|
-
return new TxReplaced_(inner);
|
|
3169
|
-
}
|
|
3170
|
-
static instanceOf(obj) {
|
|
3171
|
-
return obj.tag === WalletEvent_Tags.TxReplaced;
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
class TxDropped_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
3175
|
-
/**
|
|
3176
|
-
* @private
|
|
3177
|
-
* This field is private and should not be used, use `tag` instead.
|
|
3178
|
-
*/
|
|
3179
|
-
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "WalletEvent";
|
|
3180
|
-
tag = WalletEvent_Tags.TxDropped;
|
|
3181
|
-
constructor(inner) {
|
|
3182
|
-
super("WalletEvent", "TxDropped");
|
|
3183
|
-
this.inner = Object.freeze(inner);
|
|
3184
|
-
}
|
|
3185
|
-
static new(inner) {
|
|
3186
|
-
return new TxDropped_(inner);
|
|
3187
|
-
}
|
|
3188
|
-
static instanceOf(obj) {
|
|
3189
|
-
return obj.tag === WalletEvent_Tags.TxDropped;
|
|
3190
|
-
}
|
|
3191
|
-
}
|
|
3192
|
-
function instanceOf(obj) {
|
|
3193
|
-
return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === "WalletEvent";
|
|
3194
|
-
}
|
|
3195
|
-
return Object.freeze({
|
|
3196
|
-
instanceOf,
|
|
3197
|
-
ChainTipChanged: ChainTipChanged_,
|
|
3198
|
-
TxConfirmed: TxConfirmed_,
|
|
3199
|
-
TxUnconfirmed: TxUnconfirmed_,
|
|
3200
|
-
TxReplaced: TxReplaced_,
|
|
3201
|
-
TxDropped: TxDropped_
|
|
3202
|
-
});
|
|
3203
|
-
})();
|
|
3204
|
-
// FfiConverter for enum WalletEvent
|
|
3205
|
-
const FfiConverterTypeWalletEvent = (() => {
|
|
3206
|
-
const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
3207
|
-
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
3208
|
-
read(from) {
|
|
3209
|
-
switch (ordinalConverter.read(from)) {
|
|
3210
|
-
case 1:
|
|
3211
|
-
return new WalletEvent.ChainTipChanged({
|
|
3212
|
-
oldTip: FfiConverterTypeBlockId.read(from),
|
|
3213
|
-
newTip: FfiConverterTypeBlockId.read(from)
|
|
3214
|
-
});
|
|
3215
|
-
case 2:
|
|
3216
|
-
return new WalletEvent.TxConfirmed({
|
|
3217
|
-
txid: FfiConverterString.read(from),
|
|
3218
|
-
blockTime: FfiConverterTypeConfirmationBlockTime.read(from)
|
|
3219
|
-
});
|
|
3220
|
-
case 3:
|
|
3221
|
-
return new WalletEvent.TxUnconfirmed({
|
|
3222
|
-
txid: FfiConverterString.read(from)
|
|
3223
|
-
});
|
|
3224
|
-
case 4:
|
|
3225
|
-
return new WalletEvent.TxReplaced({
|
|
3226
|
-
txid: FfiConverterString.read(from),
|
|
3227
|
-
conflictingTxids: FfiConverterArrayString.read(from)
|
|
3228
|
-
});
|
|
3229
|
-
case 5:
|
|
3230
|
-
return new WalletEvent.TxDropped({
|
|
3231
|
-
txid: FfiConverterString.read(from)
|
|
3232
|
-
});
|
|
3233
|
-
default:
|
|
3234
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
3235
|
-
}
|
|
3236
|
-
}
|
|
3237
|
-
write(value, into) {
|
|
3238
|
-
switch (value.tag) {
|
|
3239
|
-
case WalletEvent_Tags.ChainTipChanged:
|
|
3240
|
-
{
|
|
3241
|
-
ordinalConverter.write(1, into);
|
|
3242
|
-
const inner = value.inner;
|
|
3243
|
-
FfiConverterTypeBlockId.write(inner.oldTip, into);
|
|
3244
|
-
FfiConverterTypeBlockId.write(inner.newTip, into);
|
|
3245
|
-
return;
|
|
3246
|
-
}
|
|
3247
|
-
case WalletEvent_Tags.TxConfirmed:
|
|
3248
|
-
{
|
|
3249
|
-
ordinalConverter.write(2, into);
|
|
3250
|
-
const inner = value.inner;
|
|
3251
|
-
FfiConverterString.write(inner.txid, into);
|
|
3252
|
-
FfiConverterTypeConfirmationBlockTime.write(inner.blockTime, into);
|
|
3253
|
-
return;
|
|
3254
|
-
}
|
|
3255
|
-
case WalletEvent_Tags.TxUnconfirmed:
|
|
3256
|
-
{
|
|
3257
|
-
ordinalConverter.write(3, into);
|
|
3258
|
-
const inner = value.inner;
|
|
3259
|
-
FfiConverterString.write(inner.txid, into);
|
|
3260
|
-
return;
|
|
3261
|
-
}
|
|
3262
|
-
case WalletEvent_Tags.TxReplaced:
|
|
3263
|
-
{
|
|
3264
|
-
ordinalConverter.write(4, into);
|
|
3265
|
-
const inner = value.inner;
|
|
3266
|
-
FfiConverterString.write(inner.txid, into);
|
|
3267
|
-
FfiConverterArrayString.write(inner.conflictingTxids, into);
|
|
3268
|
-
return;
|
|
3269
|
-
}
|
|
3270
|
-
case WalletEvent_Tags.TxDropped:
|
|
3271
|
-
{
|
|
3272
|
-
ordinalConverter.write(5, into);
|
|
3273
|
-
const inner = value.inner;
|
|
3274
|
-
FfiConverterString.write(inner.txid, into);
|
|
3275
|
-
return;
|
|
3276
|
-
}
|
|
3277
|
-
default:
|
|
3278
|
-
// Throwing from here means that WalletEvent_Tags hasn't matched an ordinal.
|
|
3279
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
allocationSize(value) {
|
|
3283
|
-
switch (value.tag) {
|
|
3284
|
-
case WalletEvent_Tags.ChainTipChanged:
|
|
3285
|
-
{
|
|
3286
|
-
const inner = value.inner;
|
|
3287
|
-
let size = ordinalConverter.allocationSize(1);
|
|
3288
|
-
size += FfiConverterTypeBlockId.allocationSize(inner.oldTip);
|
|
3289
|
-
size += FfiConverterTypeBlockId.allocationSize(inner.newTip);
|
|
3290
|
-
return size;
|
|
3291
|
-
}
|
|
3292
|
-
case WalletEvent_Tags.TxConfirmed:
|
|
3293
|
-
{
|
|
3294
|
-
const inner = value.inner;
|
|
3295
|
-
let size = ordinalConverter.allocationSize(2);
|
|
3296
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
3297
|
-
size += FfiConverterTypeConfirmationBlockTime.allocationSize(inner.blockTime);
|
|
3298
|
-
return size;
|
|
3299
|
-
}
|
|
3300
|
-
case WalletEvent_Tags.TxUnconfirmed:
|
|
3301
|
-
{
|
|
3302
|
-
const inner = value.inner;
|
|
3303
|
-
let size = ordinalConverter.allocationSize(3);
|
|
3304
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
3305
|
-
return size;
|
|
3306
|
-
}
|
|
3307
|
-
case WalletEvent_Tags.TxReplaced:
|
|
3308
|
-
{
|
|
3309
|
-
const inner = value.inner;
|
|
3310
|
-
let size = ordinalConverter.allocationSize(4);
|
|
3311
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
3312
|
-
size += FfiConverterArrayString.allocationSize(inner.conflictingTxids);
|
|
3313
|
-
return size;
|
|
3314
|
-
}
|
|
3315
|
-
case WalletEvent_Tags.TxDropped:
|
|
3316
|
-
{
|
|
3317
|
-
const inner = value.inner;
|
|
3318
|
-
let size = ordinalConverter.allocationSize(5);
|
|
3319
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
3320
|
-
return size;
|
|
3321
|
-
}
|
|
3322
|
-
default:
|
|
3323
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
3324
|
-
}
|
|
3325
|
-
}
|
|
3326
|
-
}
|
|
3327
|
-
return new FFIConverter();
|
|
3328
|
-
})();
|
|
3329
3092
|
let WordCount = exports.WordCount = /*#__PURE__*/function (WordCount) {
|
|
3330
3093
|
WordCount[WordCount["Words12"] = 0] = "Words12";
|
|
3331
3094
|
WordCount[WordCount["Words15"] = 1] = "Words15";
|
|
@@ -3376,6 +3139,7 @@ const FfiConverterTypeWordCount = (() => {
|
|
|
3376
3139
|
|
|
3377
3140
|
/**
|
|
3378
3141
|
* A reusable Electrum client that holds a persistent TCP/TLS connection.
|
|
3142
|
+
* Create once, pass to multiple wallet methods to avoid reconnecting each time.
|
|
3379
3143
|
*/
|
|
3380
3144
|
|
|
3381
3145
|
/**
|
|
@@ -3384,11 +3148,13 @@ const FfiConverterTypeWordCount = (() => {
|
|
|
3384
3148
|
|
|
3385
3149
|
/**
|
|
3386
3150
|
* A reusable Electrum client that holds a persistent TCP/TLS connection.
|
|
3151
|
+
* Create once, pass to multiple wallet methods to avoid reconnecting each time.
|
|
3387
3152
|
*/
|
|
3388
3153
|
class ElectrumClient extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
3389
3154
|
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "ElectrumClient";
|
|
3390
3155
|
/**
|
|
3391
3156
|
* Connect to an Electrum server.
|
|
3157
|
+
* url: e.g. "ssl://electrum.blockstream.info:60002" or "tcp://localhost:50001"
|
|
3392
3158
|
*/
|
|
3393
3159
|
constructor(url) /*throws*/{
|
|
3394
3160
|
super();
|
|
@@ -3458,6 +3224,9 @@ const FfiConverterTypeElectrumClient = new _uniffiBindgenReactNative.FfiConverte
|
|
|
3458
3224
|
|
|
3459
3225
|
class Mnemonic extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
3460
3226
|
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "Mnemonic";
|
|
3227
|
+
/**
|
|
3228
|
+
* Generate a new random mnemonic with the given word count (English).
|
|
3229
|
+
*/
|
|
3461
3230
|
constructor(wordCount) /*throws*/{
|
|
3462
3231
|
super();
|
|
3463
3232
|
const pointer = uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
@@ -3466,46 +3235,82 @@ class Mnemonic extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
3466
3235
|
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
3467
3236
|
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeMnemonicObjectFactory.bless(pointer);
|
|
3468
3237
|
}
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
* Create a mnemonic from raw entropy bytes (16–32 bytes).
|
|
3241
|
+
*/
|
|
3469
3242
|
static fromEntropy(entropy) /*throws*/{
|
|
3470
3243
|
return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3471
|
-
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy(
|
|
3244
|
+
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy(_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(entropy), callStatus);
|
|
3472
3245
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3473
3246
|
}
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Create a mnemonic from raw entropy bytes in a specific language.
|
|
3250
|
+
*/
|
|
3474
3251
|
static fromEntropyIn(entropy, language) /*throws*/{
|
|
3475
3252
|
return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3476
|
-
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy_in(
|
|
3253
|
+
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy_in(_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(entropy), FfiConverterTypeLanguage.lower(language), callStatus);
|
|
3477
3254
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3478
3255
|
}
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* Parse an existing mnemonic string (auto-detects language).
|
|
3259
|
+
*/
|
|
3479
3260
|
static fromString(mnemonic) /*throws*/{
|
|
3480
3261
|
return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3481
3262
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_string(FfiConverterString.lower(mnemonic), callStatus);
|
|
3482
3263
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3483
3264
|
}
|
|
3265
|
+
|
|
3266
|
+
/**
|
|
3267
|
+
* Parse a mnemonic string in a specific language.
|
|
3268
|
+
*/
|
|
3484
3269
|
static fromStringIn(mnemonic, language) /*throws*/{
|
|
3485
3270
|
return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3486
3271
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_string_in(FfiConverterString.lower(mnemonic), FfiConverterTypeLanguage.lower(language), callStatus);
|
|
3487
3272
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3488
3273
|
}
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* The language of this mnemonic.
|
|
3277
|
+
*/
|
|
3489
3278
|
language() {
|
|
3490
3279
|
return FfiConverterTypeLanguage.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3491
3280
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_language(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
|
|
3492
3281
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3493
3282
|
}
|
|
3283
|
+
|
|
3284
|
+
/**
|
|
3285
|
+
* Derive the 64-byte seed as hex. Pass an empty string for no passphrase.
|
|
3286
|
+
*/
|
|
3494
3287
|
toSeedHex(passphrase) {
|
|
3495
3288
|
return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3496
3289
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_to_seed_hex(uniffiTypeMnemonicObjectFactory.clonePointer(this), FfiConverterString.lower(passphrase), callStatus);
|
|
3497
3290
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3498
3291
|
}
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* The mnemonic as a space-separated word string.
|
|
3295
|
+
*/
|
|
3499
3296
|
toString() {
|
|
3500
3297
|
return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3501
3298
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_to_string(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
|
|
3502
3299
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3503
3300
|
}
|
|
3301
|
+
|
|
3302
|
+
/**
|
|
3303
|
+
* Number of words (12, 15, 18, 21, or 24).
|
|
3304
|
+
*/
|
|
3504
3305
|
wordCount() {
|
|
3505
3306
|
return _uniffiBindgenReactNative.FfiConverterUInt32.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3506
3307
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_word_count(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
|
|
3507
3308
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3508
3309
|
}
|
|
3310
|
+
|
|
3311
|
+
/**
|
|
3312
|
+
* List the individual words.
|
|
3313
|
+
*/
|
|
3509
3314
|
words() {
|
|
3510
3315
|
return FfiConverterArrayString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3511
3316
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_words(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
|
|
@@ -3571,6 +3376,9 @@ const FfiConverterTypeMnemonic = new _uniffiBindgenReactNative.FfiConverterObjec
|
|
|
3571
3376
|
|
|
3572
3377
|
class Psbt extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
3573
3378
|
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "Psbt";
|
|
3379
|
+
/**
|
|
3380
|
+
* Deserialize from a base64-encoded string.
|
|
3381
|
+
*/
|
|
3574
3382
|
constructor(psbtBase64) /*throws*/{
|
|
3575
3383
|
super();
|
|
3576
3384
|
const pointer = uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
@@ -3579,31 +3387,55 @@ class Psbt extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
3579
3387
|
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
3580
3388
|
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypePsbtObjectFactory.bless(pointer);
|
|
3581
3389
|
}
|
|
3390
|
+
|
|
3391
|
+
/**
|
|
3392
|
+
* Extract the fully-signed transaction as raw hex.
|
|
3393
|
+
*/
|
|
3582
3394
|
extractTxHex() /*throws*/{
|
|
3583
3395
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3584
3396
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_psbt_extract_tx_hex(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
|
|
3585
3397
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3586
3398
|
}
|
|
3399
|
+
|
|
3400
|
+
/**
|
|
3401
|
+
* Total fee in satoshis. None if any input UTXO value is unknown.
|
|
3402
|
+
*/
|
|
3587
3403
|
feeAmount() {
|
|
3588
3404
|
return FfiConverterOptionalUInt64.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3589
3405
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_psbt_fee_amount(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
|
|
3590
3406
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3591
3407
|
}
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Fee rate in sat/vbyte. None if any input UTXO value is unknown.
|
|
3411
|
+
*/
|
|
3592
3412
|
feeRate() {
|
|
3593
3413
|
return FfiConverterOptionalFloat64.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3594
3414
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_psbt_fee_rate(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
|
|
3595
3415
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3596
3416
|
}
|
|
3417
|
+
|
|
3418
|
+
/**
|
|
3419
|
+
* Retrieve the UTXO for a given input index. Returns None if unavailable.
|
|
3420
|
+
*/
|
|
3597
3421
|
getUtxoFor(inputIndex) {
|
|
3598
3422
|
return FfiConverterOptionalTypeTxOut.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3599
3423
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_psbt_get_utxo_for(uniffiTypePsbtObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt64.lower(inputIndex), callStatus);
|
|
3600
3424
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3601
3425
|
}
|
|
3426
|
+
|
|
3427
|
+
/**
|
|
3428
|
+
* Serialize to a base64-encoded string.
|
|
3429
|
+
*/
|
|
3602
3430
|
toBase64() {
|
|
3603
3431
|
return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3604
3432
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_psbt_to_base64(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
|
|
3605
3433
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3606
3434
|
}
|
|
3435
|
+
|
|
3436
|
+
/**
|
|
3437
|
+
* The unsigned txid.
|
|
3438
|
+
*/
|
|
3607
3439
|
txid() /*throws*/{
|
|
3608
3440
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3609
3441
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_psbt_txid(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
|
|
@@ -3679,7 +3511,7 @@ class TxBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
3679
3511
|
}
|
|
3680
3512
|
addData(data) {
|
|
3681
3513
|
uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3682
|
-
(0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_add_data(uniffiTypeTxBuilderObjectFactory.clonePointer(this),
|
|
3514
|
+
(0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_add_data(uniffiTypeTxBuilderObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(data), callStatus);
|
|
3683
3515
|
}, /*liftString:*/FfiConverterString.lift);
|
|
3684
3516
|
}
|
|
3685
3517
|
addGlobalXpubs() {
|
|
@@ -3769,7 +3601,8 @@ class TxBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
3769
3601
|
}
|
|
3770
3602
|
|
|
3771
3603
|
/**
|
|
3772
|
-
* Build the transaction into a PSBT
|
|
3604
|
+
* Build the transaction into a PSBT using the wallet.
|
|
3605
|
+
* Runs on a background thread to avoid blocking the JS thread.
|
|
3773
3606
|
*/
|
|
3774
3607
|
async finish(wallet, asyncOpts_) /*throws*/{
|
|
3775
3608
|
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
@@ -3784,11 +3617,6 @@ class TxBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
3784
3617
|
throw __error;
|
|
3785
3618
|
}
|
|
3786
3619
|
}
|
|
3787
|
-
includeOutputRedeemWitnessScript() {
|
|
3788
|
-
uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3789
|
-
(0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(uniffiTypeTxBuilderObjectFactory.clonePointer(this), callStatus);
|
|
3790
|
-
}, /*liftString:*/FfiConverterString.lift);
|
|
3791
|
-
}
|
|
3792
3620
|
manuallySelectedOnly() {
|
|
3793
3621
|
uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3794
3622
|
(0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only(uniffiTypeTxBuilderObjectFactory.clonePointer(this), callStatus);
|
|
@@ -3956,11 +3784,6 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
3956
3784
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_calculate_fee_rate(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(txHex), callStatus);
|
|
3957
3785
|
}, /*liftString:*/FfiConverterString.lift));
|
|
3958
3786
|
}
|
|
3959
|
-
cancelTx(txHex) /*throws*/{
|
|
3960
|
-
uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
|
|
3961
|
-
(0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_cancel_tx(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(txHex), callStatus);
|
|
3962
|
-
}, /*liftString:*/FfiConverterString.lift);
|
|
3963
|
-
}
|
|
3964
3787
|
checkpoints() {
|
|
3965
3788
|
return FfiConverterArrayTypeBlockId.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3966
3789
|
return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_checkpoints(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
@@ -4329,9 +4152,6 @@ const FfiConverterArrayTypeTxOutput = new _uniffiBindgenReactNative.FfiConverter
|
|
|
4329
4152
|
// FfiConverter for Array<string>
|
|
4330
4153
|
const FfiConverterArrayString = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterString);
|
|
4331
4154
|
|
|
4332
|
-
// FfiConverter for Array</*u8*/number>
|
|
4333
|
-
const FfiConverterArrayUInt8 = new _uniffiBindgenReactNative.FfiConverterArray(_uniffiBindgenReactNative.FfiConverterUInt8);
|
|
4334
|
-
|
|
4335
4155
|
/**
|
|
4336
4156
|
* This should be called before anything else.
|
|
4337
4157
|
*
|
|
@@ -4350,322 +4170,316 @@ function uniffiEnsureInitialized() {
|
|
|
4350
4170
|
if (bindingsContractVersion !== scaffoldingContractVersion) {
|
|
4351
4171
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
|
|
4352
4172
|
}
|
|
4353
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_address_from_script() !==
|
|
4173
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_address_from_script() !== 39396) {
|
|
4354
4174
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_address_from_script");
|
|
4355
4175
|
}
|
|
4356
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor() !==
|
|
4176
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor() !== 15263) {
|
|
4357
4177
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_descriptor");
|
|
4358
4178
|
}
|
|
4359
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor_from_string() !==
|
|
4179
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor_from_string() !== 1662) {
|
|
4360
4180
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_descriptor_from_string");
|
|
4361
4181
|
}
|
|
4362
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_public_descriptor() !==
|
|
4182
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_public_descriptor() !== 9931) {
|
|
4363
4183
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_public_descriptor");
|
|
4364
4184
|
}
|
|
4365
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor() !==
|
|
4185
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor() !== 61717) {
|
|
4366
4186
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_single_key_descriptor");
|
|
4367
4187
|
}
|
|
4368
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_wallet() !==
|
|
4188
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_create_wallet() !== 45258) {
|
|
4369
4189
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_wallet");
|
|
4370
4190
|
}
|
|
4371
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_export_wallet() !==
|
|
4191
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_export_wallet() !== 61696) {
|
|
4372
4192
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_export_wallet");
|
|
4373
4193
|
}
|
|
4374
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_is_valid_address() !==
|
|
4194
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_is_valid_address() !== 31052) {
|
|
4375
4195
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_is_valid_address");
|
|
4376
4196
|
}
|
|
4377
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_validate_descriptor() !==
|
|
4197
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_validate_descriptor() !== 36838) {
|
|
4378
4198
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_validate_descriptor");
|
|
4379
4199
|
}
|
|
4380
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_version() !==
|
|
4200
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_version() !== 1034) {
|
|
4381
4201
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_version");
|
|
4382
4202
|
}
|
|
4383
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !==
|
|
4203
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !== 49703) {
|
|
4384
4204
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor");
|
|
4385
4205
|
}
|
|
4386
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !==
|
|
4206
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 16692) {
|
|
4387
4207
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_language");
|
|
4388
4208
|
}
|
|
4389
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !==
|
|
4209
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 51397) {
|
|
4390
4210
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex");
|
|
4391
4211
|
}
|
|
4392
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !==
|
|
4212
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 40512) {
|
|
4393
4213
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_string");
|
|
4394
4214
|
}
|
|
4395
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !==
|
|
4215
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 488) {
|
|
4396
4216
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_word_count");
|
|
4397
4217
|
}
|
|
4398
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !==
|
|
4218
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 51339) {
|
|
4399
4219
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_words");
|
|
4400
4220
|
}
|
|
4401
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !==
|
|
4221
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 64035) {
|
|
4402
4222
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex");
|
|
4403
4223
|
}
|
|
4404
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !==
|
|
4224
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 47400) {
|
|
4405
4225
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_amount");
|
|
4406
4226
|
}
|
|
4407
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !==
|
|
4227
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 53916) {
|
|
4408
4228
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_rate");
|
|
4409
4229
|
}
|
|
4410
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !==
|
|
4230
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 51581) {
|
|
4411
4231
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for");
|
|
4412
4232
|
}
|
|
4413
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !==
|
|
4233
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 26797) {
|
|
4414
4234
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_to_base64");
|
|
4415
4235
|
}
|
|
4416
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !==
|
|
4236
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 52614) {
|
|
4417
4237
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_txid");
|
|
4418
4238
|
}
|
|
4419
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !==
|
|
4239
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 6110) {
|
|
4420
4240
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_data");
|
|
4421
4241
|
}
|
|
4422
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !==
|
|
4242
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 1787) {
|
|
4423
4243
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs");
|
|
4424
4244
|
}
|
|
4425
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !==
|
|
4245
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 12594) {
|
|
4426
4246
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient");
|
|
4427
4247
|
}
|
|
4428
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !==
|
|
4248
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 52996) {
|
|
4429
4249
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable");
|
|
4430
4250
|
}
|
|
4431
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !==
|
|
4251
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 42826) {
|
|
4432
4252
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo");
|
|
4433
4253
|
}
|
|
4434
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !==
|
|
4254
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 32062) {
|
|
4435
4255
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos");
|
|
4436
4256
|
}
|
|
4437
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !==
|
|
4257
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 14341) {
|
|
4438
4258
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust");
|
|
4439
4259
|
}
|
|
4440
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !==
|
|
4260
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 65098) {
|
|
4441
4261
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_change_policy");
|
|
4442
4262
|
}
|
|
4443
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !==
|
|
4263
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 4465) {
|
|
4444
4264
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_current_height");
|
|
4445
4265
|
}
|
|
4446
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !==
|
|
4266
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 22162) {
|
|
4447
4267
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change");
|
|
4448
4268
|
}
|
|
4449
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !==
|
|
4269
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 46015) {
|
|
4450
4270
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_to");
|
|
4451
4271
|
}
|
|
4452
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !==
|
|
4272
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 16971) {
|
|
4453
4273
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet");
|
|
4454
4274
|
}
|
|
4455
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !==
|
|
4275
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 15080) {
|
|
4456
4276
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf");
|
|
4457
4277
|
}
|
|
4458
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !==
|
|
4278
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 1958) {
|
|
4459
4279
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence");
|
|
4460
4280
|
}
|
|
4461
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !==
|
|
4281
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 33257) {
|
|
4462
4282
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations");
|
|
4463
4283
|
}
|
|
4464
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !==
|
|
4284
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 55927) {
|
|
4465
4285
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed");
|
|
4466
4286
|
}
|
|
4467
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !==
|
|
4287
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 35900) {
|
|
4468
4288
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute");
|
|
4469
4289
|
}
|
|
4470
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !==
|
|
4290
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 30180) {
|
|
4471
4291
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate");
|
|
4472
4292
|
}
|
|
4473
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !==
|
|
4293
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 19754) {
|
|
4474
4294
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_finish");
|
|
4475
4295
|
}
|
|
4476
|
-
if ((0, _bdk_ffiFfi.default)().
|
|
4477
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script");
|
|
4478
|
-
}
|
|
4479
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 15817) {
|
|
4296
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 10522) {
|
|
4480
4297
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only");
|
|
4481
4298
|
}
|
|
4482
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !==
|
|
4299
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 34758) {
|
|
4483
4300
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime");
|
|
4484
4301
|
}
|
|
4485
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !==
|
|
4302
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 53841) {
|
|
4486
4303
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change");
|
|
4487
4304
|
}
|
|
4488
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !==
|
|
4305
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 21662) {
|
|
4489
4306
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo");
|
|
4490
4307
|
}
|
|
4491
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !==
|
|
4308
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 2839) {
|
|
4492
4309
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_ordering");
|
|
4493
4310
|
}
|
|
4494
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !==
|
|
4311
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 20272) {
|
|
4495
4312
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_policy_path");
|
|
4496
4313
|
}
|
|
4497
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !==
|
|
4314
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 41481) {
|
|
4498
4315
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence");
|
|
4499
4316
|
}
|
|
4500
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !==
|
|
4317
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 64498) {
|
|
4501
4318
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients");
|
|
4502
4319
|
}
|
|
4503
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !==
|
|
4320
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 43131) {
|
|
4504
4321
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_sighash");
|
|
4505
4322
|
}
|
|
4506
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !==
|
|
4323
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 17694) {
|
|
4507
4324
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_tx_version");
|
|
4508
4325
|
}
|
|
4509
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !==
|
|
4326
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 14958) {
|
|
4510
4327
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_unspendable");
|
|
4511
4328
|
}
|
|
4512
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !==
|
|
4329
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 32446) {
|
|
4513
4330
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum");
|
|
4514
4331
|
}
|
|
4515
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !==
|
|
4332
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 43721) {
|
|
4516
4333
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora");
|
|
4517
4334
|
}
|
|
4518
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !==
|
|
4335
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 25451) {
|
|
4519
4336
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump");
|
|
4520
4337
|
}
|
|
4521
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !==
|
|
4338
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 23202) {
|
|
4522
4339
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee");
|
|
4523
4340
|
}
|
|
4524
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !==
|
|
4341
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 16774) {
|
|
4525
4342
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate");
|
|
4526
4343
|
}
|
|
4527
|
-
if ((0, _bdk_ffiFfi.default)().
|
|
4528
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_cancel_tx");
|
|
4529
|
-
}
|
|
4530
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 44342) {
|
|
4344
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 8565) {
|
|
4531
4345
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_checkpoints");
|
|
4532
4346
|
}
|
|
4533
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !==
|
|
4347
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 62031) {
|
|
4534
4348
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_index");
|
|
4535
4349
|
}
|
|
4536
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !==
|
|
4350
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 29681) {
|
|
4537
4351
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk");
|
|
4538
4352
|
}
|
|
4539
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !==
|
|
4353
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 26508) {
|
|
4540
4354
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum");
|
|
4541
4355
|
}
|
|
4542
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !==
|
|
4356
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 50687) {
|
|
4543
4357
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_drain");
|
|
4544
4358
|
}
|
|
4545
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum() !==
|
|
4359
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum() !== 47265) {
|
|
4546
4360
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum");
|
|
4547
4361
|
}
|
|
4548
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !==
|
|
4362
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 36684) {
|
|
4549
4363
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt");
|
|
4550
4364
|
}
|
|
4551
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !==
|
|
4365
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 44577) {
|
|
4552
4366
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum");
|
|
4553
4367
|
}
|
|
4554
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !==
|
|
4368
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 33673) {
|
|
4555
4369
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora");
|
|
4556
4370
|
}
|
|
4557
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !==
|
|
4371
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 15256) {
|
|
4558
4372
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_balance");
|
|
4559
4373
|
}
|
|
4560
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !==
|
|
4374
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 31223) {
|
|
4561
4375
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_tx");
|
|
4562
4376
|
}
|
|
4563
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !==
|
|
4377
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 32023) {
|
|
4564
4378
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_utxo");
|
|
4565
4379
|
}
|
|
4566
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !==
|
|
4380
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 21094) {
|
|
4567
4381
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_insert_txout");
|
|
4568
4382
|
}
|
|
4569
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !==
|
|
4383
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 58183) {
|
|
4570
4384
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_is_mine");
|
|
4571
4385
|
}
|
|
4572
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !==
|
|
4386
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 61350) {
|
|
4573
4387
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_keychains");
|
|
4574
4388
|
}
|
|
4575
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !==
|
|
4389
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 55429) {
|
|
4576
4390
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint");
|
|
4577
4391
|
}
|
|
4578
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !==
|
|
4392
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 56339) {
|
|
4579
4393
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_output");
|
|
4580
4394
|
}
|
|
4581
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !==
|
|
4395
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 34815) {
|
|
4582
4396
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unspent");
|
|
4583
4397
|
}
|
|
4584
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !==
|
|
4398
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 62327) {
|
|
4585
4399
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses");
|
|
4586
4400
|
}
|
|
4587
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !==
|
|
4401
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 12674) {
|
|
4588
4402
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_mark_used");
|
|
4589
4403
|
}
|
|
4590
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !==
|
|
4404
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 22441) {
|
|
4591
4405
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_network");
|
|
4592
4406
|
}
|
|
4593
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !==
|
|
4407
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 29788) {
|
|
4594
4408
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index");
|
|
4595
4409
|
}
|
|
4596
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !==
|
|
4410
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 51509) {
|
|
4597
4411
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_unused_address");
|
|
4598
4412
|
}
|
|
4599
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !==
|
|
4413
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 26911) {
|
|
4600
4414
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_peek_address");
|
|
4601
4415
|
}
|
|
4602
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !==
|
|
4416
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 32604) {
|
|
4603
4417
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_persist");
|
|
4604
4418
|
}
|
|
4605
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !==
|
|
4419
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 38976) {
|
|
4606
4420
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_policies");
|
|
4607
4421
|
}
|
|
4608
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !==
|
|
4422
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 57701) {
|
|
4609
4423
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_public_descriptor");
|
|
4610
4424
|
}
|
|
4611
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !==
|
|
4425
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 972) {
|
|
4612
4426
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to");
|
|
4613
4427
|
}
|
|
4614
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !==
|
|
4428
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 38695) {
|
|
4615
4429
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address");
|
|
4616
4430
|
}
|
|
4617
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !==
|
|
4431
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 20353) {
|
|
4618
4432
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_send");
|
|
4619
4433
|
}
|
|
4620
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum() !==
|
|
4434
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum() !== 64062) {
|
|
4621
4435
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum");
|
|
4622
4436
|
}
|
|
4623
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !==
|
|
4437
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 49517) {
|
|
4624
4438
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sent_and_received");
|
|
4625
4439
|
}
|
|
4626
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !==
|
|
4440
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 16037) {
|
|
4627
4441
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sign");
|
|
4628
4442
|
}
|
|
4629
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !==
|
|
4443
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 9147) {
|
|
4630
4444
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum");
|
|
4631
4445
|
}
|
|
4632
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !==
|
|
4446
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 65450) {
|
|
4633
4447
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora");
|
|
4634
4448
|
}
|
|
4635
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !==
|
|
4449
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 4241) {
|
|
4636
4450
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_transactions");
|
|
4637
4451
|
}
|
|
4638
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !==
|
|
4452
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 39307) {
|
|
4639
4453
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_tx_details");
|
|
4640
4454
|
}
|
|
4641
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !==
|
|
4455
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 63499) {
|
|
4642
4456
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_unmark_used");
|
|
4643
4457
|
}
|
|
4644
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new() !==
|
|
4458
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new() !== 62930) {
|
|
4645
4459
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_electrumclient_new");
|
|
4646
4460
|
}
|
|
4647
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !==
|
|
4461
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !== 19558) {
|
|
4648
4462
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy");
|
|
4649
4463
|
}
|
|
4650
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in() !==
|
|
4464
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in() !== 18300) {
|
|
4651
4465
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in");
|
|
4652
4466
|
}
|
|
4653
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string() !==
|
|
4467
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string() !== 42146) {
|
|
4654
4468
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string");
|
|
4655
4469
|
}
|
|
4656
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in() !==
|
|
4470
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in() !== 26390) {
|
|
4657
4471
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in");
|
|
4658
4472
|
}
|
|
4659
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_new() !==
|
|
4473
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_new() !== 65002) {
|
|
4660
4474
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_new");
|
|
4661
4475
|
}
|
|
4662
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_psbt_new() !==
|
|
4476
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_psbt_new() !== 45667) {
|
|
4663
4477
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_psbt_new");
|
|
4664
4478
|
}
|
|
4665
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_txbuilder_new() !==
|
|
4479
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_txbuilder_new() !== 63178) {
|
|
4666
4480
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_txbuilder_new");
|
|
4667
4481
|
}
|
|
4668
|
-
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_wallet_new() !==
|
|
4482
|
+
if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_wallet_new() !== 53332) {
|
|
4669
4483
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_wallet_new");
|
|
4670
4484
|
}
|
|
4671
4485
|
}
|
|
@@ -4699,7 +4513,6 @@ var _default = exports.default = Object.freeze({
|
|
|
4699
4513
|
FfiConverterTypeTxOut,
|
|
4700
4514
|
FfiConverterTypeTxOutput,
|
|
4701
4515
|
FfiConverterTypeWallet,
|
|
4702
|
-
FfiConverterTypeWalletEvent,
|
|
4703
4516
|
FfiConverterTypeWordCount
|
|
4704
4517
|
}
|
|
4705
4518
|
});
|