@argonprotocol/mainchain 1.4.12-dev.8cae3588 → 1.4.12-dev.a0735a19

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.
@@ -27,10 +27,11 @@ import type {
27
27
  ArgonNotaryAuditErrorVerifyError,
28
28
  ArgonPrimitivesBalanceChangeAccountOrigin,
29
29
  ArgonPrimitivesBitcoinBitcoinBlock,
30
+ ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
30
31
  ArgonPrimitivesBitcoinBitcoinNetwork,
31
32
  ArgonPrimitivesBitcoinBitcoinXPub,
33
+ ArgonPrimitivesBitcoinUtxoAddress,
32
34
  ArgonPrimitivesBitcoinUtxoRef,
33
- ArgonPrimitivesBitcoinUtxoValue,
34
35
  ArgonPrimitivesBlockSealBlockPayout,
35
36
  ArgonPrimitivesBlockSealMiningBidStats,
36
37
  ArgonPrimitivesBlockSealMiningRegistration,
@@ -63,6 +64,7 @@ import type {
63
64
  PalletBalancesAccountData,
64
65
  PalletBalancesBalanceLock,
65
66
  PalletBalancesReserveData,
67
+ PalletBitcoinFissionsFission,
66
68
  PalletBitcoinLocksLockReleaseRequest,
67
69
  PalletBitcoinLocksLockedBitcoin,
68
70
  PalletBitcoinLocksOrphanedUtxo,
@@ -92,7 +94,7 @@ import type {
92
94
  PalletMiningSlotMinerNonceScoring,
93
95
  PalletMintMintAction,
94
96
  PalletMintMintQueueCursor,
95
- PalletMintPendingMintUtxo,
97
+ PalletMintPendingBitcoinMint,
96
98
  PalletMultisigMultisig,
97
99
  PalletOperationalAccountsOperationalAccount,
98
100
  PalletOperationalAccountsRewardsConfig,
@@ -209,6 +211,35 @@ declare module '@polkadot/api-base/types/storage' {
209
211
  **/
210
212
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
211
213
  };
214
+ bitcoinFissions: {
215
+ /**
216
+ * Active Fission records addressed by their owner and owner-local Fission ID.
217
+ **/
218
+ fissionByOwnerAndId: AugmentedQuery<
219
+ ApiType,
220
+ (
221
+ arg1: AccountId32 | string | Uint8Array,
222
+ arg2: u64 | AnyNumber | Uint8Array,
223
+ ) => Observable<Option<PalletBitcoinFissionsFission>>,
224
+ [AccountId32, u64]
225
+ >;
226
+ /**
227
+ * Active Fission IDs allocating satoshis from each Lock.
228
+ **/
229
+ fissionIdsByLockId: AugmentedQuery<
230
+ ApiType,
231
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
232
+ [u64]
233
+ >;
234
+ /**
235
+ * Minimum Fission ID accepted from each owner.
236
+ **/
237
+ nextFissionIdByOwner: AugmentedQuery<
238
+ ApiType,
239
+ (arg: AccountId32 | string | Uint8Array) => Observable<u64>,
240
+ [AccountId32]
241
+ >;
242
+ };
212
243
  bitcoinLocks: {
213
244
  lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
214
245
  ApiType,
@@ -218,6 +249,14 @@ declare module '@polkadot/api-base/types/storage' {
218
249
  ) => Observable<Option<u64>>,
219
250
  [u32, AccountId32]
220
251
  >;
252
+ /**
253
+ * Highest Bitcoin UTXO sync height processed for securitization hold expirations.
254
+ **/
255
+ lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<
256
+ ApiType,
257
+ () => Observable<Option<u64>>,
258
+ []
259
+ >;
221
260
  /**
222
261
  * Utxos that have been requested to be cosigned for releasing
223
262
  **/
@@ -235,6 +274,28 @@ declare module '@polkadot/api-base/types/storage' {
235
274
  (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
236
275
  [u64]
237
276
  >;
277
+ /**
278
+ * Index of active UTXO IDs per owner account.
279
+ **/
280
+ lockIdsByOwnerAccount: AugmentedQuery<
281
+ ApiType,
282
+ (
283
+ arg1: AccountId32 | string | Uint8Array,
284
+ arg2: u64 | AnyNumber | Uint8Array,
285
+ ) => Observable<Option<Null>>,
286
+ [AccountId32, u64]
287
+ >;
288
+ /**
289
+ * Index of active UTXO IDs per vault
290
+ **/
291
+ lockIdsByVaultId: AugmentedQuery<
292
+ ApiType,
293
+ (
294
+ arg1: u32 | AnyNumber | Uint8Array,
295
+ arg2: u64 | AnyNumber | Uint8Array,
296
+ ) => Observable<Option<Null>>,
297
+ [u32, u64]
298
+ >;
238
299
  /**
239
300
  * Stores the block number where a release was cosigned by the vault.
240
301
  **/
@@ -246,7 +307,7 @@ declare module '@polkadot/api-base/types/storage' {
246
307
  /**
247
308
  * Stores bitcoin locks that have requested to be released
248
309
  **/
249
- lockReleaseRequestsByUtxoId: AugmentedQuery<
310
+ lockReleaseRequestsById: AugmentedQuery<
250
311
  ApiType,
251
312
  (
252
313
  arg: u64 | AnyNumber | Uint8Array,
@@ -256,13 +317,13 @@ declare module '@polkadot/api-base/types/storage' {
256
317
  /**
257
318
  * Stores bitcoin utxos that have requested to be released
258
319
  **/
259
- locksByUtxoId: AugmentedQuery<
320
+ locksById: AugmentedQuery<
260
321
  ApiType,
261
322
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>,
262
323
  [u64]
263
324
  >;
264
325
  /**
265
- * History of target microgons per btc.
326
+ * Recent target-normalized microgon values per BTC and their observed ticks.
266
327
  **/
267
328
  microgonPerBtcHistory: AugmentedQuery<
268
329
  ApiType,
@@ -270,10 +331,10 @@ declare module '@polkadot/api-base/types/storage' {
270
331
  []
271
332
  >;
272
333
  /**
273
- * The minimum number of satoshis that can be locked
334
+ * The minimum number of satoshis accepted in one watched funding UTXO.
274
335
  **/
275
336
  minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
276
- nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
337
+ nextBitcoinLockId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
277
338
  /**
278
339
  * Expiration of orphaned utxo refs by user account
279
340
  **/
@@ -300,26 +361,13 @@ declare module '@polkadot/api-base/types/storage' {
300
361
  [AccountId32, ArgonPrimitivesBitcoinUtxoRef]
301
362
  >;
302
363
  /**
303
- * Index of active UTXO IDs per owner account.
364
+ * Lock IDs whose securitization hold expires at the indexed Bitcoin height.
365
+ * Expiry releases only the unactivated portion and leaves the lock address watched.
304
366
  **/
305
- utxoIdsByOwnerAccount: AugmentedQuery<
367
+ securitizationHoldExpirationsByBitcoinHeight: AugmentedQuery<
306
368
  ApiType,
307
- (
308
- arg1: AccountId32 | string | Uint8Array,
309
- arg2: u64 | AnyNumber | Uint8Array,
310
- ) => Observable<Option<Null>>,
311
- [AccountId32, u64]
312
- >;
313
- /**
314
- * Index of active UTXO IDs per vault
315
- **/
316
- utxoIdsByVaultId: AugmentedQuery<
317
- ApiType,
318
- (
319
- arg1: u32 | AnyNumber | Uint8Array,
320
- arg2: u64 | AnyNumber | Uint8Array,
321
- ) => Observable<Option<Null>>,
322
- [u32, u64]
369
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
370
+ [u64]
323
371
  >;
324
372
  };
325
373
  bitcoinUtxos: {
@@ -331,16 +379,6 @@ declare module '@polkadot/api-base/types/storage' {
331
379
  () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>,
332
380
  []
333
381
  >;
334
- /**
335
- * Candidate UTXOs associated with a lock (mismatches, extra funding, etc.).
336
- **/
337
- candidateUtxoRefsByUtxoId: AugmentedQuery<
338
- ApiType,
339
- (
340
- arg: u64 | AnyNumber | Uint8Array,
341
- ) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>,
342
- [u64]
343
- >;
344
382
  /**
345
383
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
346
384
  **/
@@ -349,42 +387,23 @@ declare module '@polkadot/api-base/types/storage' {
349
387
  () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
350
388
  []
351
389
  >;
352
- /**
353
- * Pending funding entries that have expired. These remain watched until their additional
354
- * orphan-detection window ends, then await bounded cleanup.
355
- **/
356
- expiredPendingFunding: AugmentedQuery<
357
- ApiType,
358
- () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>,
359
- []
360
- >;
361
390
  /**
362
391
  * Check if the inherent was included
363
392
  **/
364
393
  inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
365
394
  /**
366
- * Locked Bitcoin UTXOs that have been funded with a UtxoRef from the Bitcoin network and
367
- * amounts within the MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
368
- * before the expiration block, the funds are burned and the UTXO is unlocked.
395
+ * The Lock ID identified by each watched script pubkey.
369
396
  **/
370
- lockedUtxos: AugmentedQuery<
397
+ lockIdByScriptPubkey: AugmentedQuery<
371
398
  ApiType,
372
399
  (
373
400
  arg:
374
- | ArgonPrimitivesBitcoinUtxoRef
375
- | { txid?: any; outputIndex?: any }
401
+ | ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey
402
+ | { P2WSH: any }
376
403
  | string
377
404
  | Uint8Array,
378
- ) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>,
379
- [ArgonPrimitivesBitcoinUtxoRef]
380
- >;
381
- /**
382
- * Bitcoin locks that are pending full funding on the bitcoin network
383
- **/
384
- locksPendingFunding: AugmentedQuery<
385
- ApiType,
386
- () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>,
387
- []
405
+ ) => Observable<Option<u64>>,
406
+ [ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey]
388
407
  >;
389
408
  /**
390
409
  * Bitcoin Oracle Operator Account
@@ -408,11 +427,21 @@ declare module '@polkadot/api-base/types/storage' {
408
427
  **/
409
428
  tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
410
429
  /**
411
- * A mapping of utxo id to the confirmed utxo reference
430
+ * Watched Lock addresses and the scan height needed to observe them.
412
431
  **/
413
- utxoIdToFundingUtxoRef: AugmentedQuery<
432
+ utxoAddressByLockId: AugmentedQuery<
414
433
  ApiType,
415
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>,
434
+ (
435
+ arg: u64 | AnyNumber | Uint8Array,
436
+ ) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>,
437
+ [u64]
438
+ >;
439
+ /**
440
+ * Every output observed at a watched Lock address, retained until explicitly removed.
441
+ **/
442
+ utxoRefsByLockId: AugmentedQuery<
443
+ ApiType,
444
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>,
416
445
  [u64]
417
446
  >;
418
447
  };
@@ -1169,33 +1198,33 @@ declare module '@polkadot/api-base/types/storage' {
1169
1198
  /**
1170
1199
  * The next monotonic queue index to assign to a pending bitcoin mint.
1171
1200
  **/
1172
- nextPendingMintUtxoIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1201
+ nextPendingBitcoinMintIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1173
1202
  /**
1174
- * Queue bookkeeping for pending bitcoin mints, including the bounded payout start and the
1175
- * current frame scan cursor.
1203
+ * Bitcoin UTXOs that have been submitted for minting, keyed by a monotonic queue index so
1204
+ * payouts can preserve FIFO order while each frame works through a fixed payout cohort.
1176
1205
  **/
1177
- pendingMintQueueState: AugmentedQuery<
1206
+ pendingBitcoinMintsByIndex: AugmentedQuery<
1178
1207
  ApiType,
1179
- () => Observable<PalletMintMintQueueCursor>,
1180
- []
1208
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletMintPendingBitcoinMint>>,
1209
+ [u64]
1181
1210
  >;
1182
1211
  /**
1183
1212
  * Reverse lookup from bitcoin UTXO id to all queued mint indices for direct removal and
1184
1213
  * client lookup.
1185
1214
  **/
1186
- pendingMintUtxoIdLookup: AugmentedQuery<
1215
+ pendingMintIndicesByLockId: AugmentedQuery<
1187
1216
  ApiType,
1188
1217
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1189
1218
  [u64]
1190
1219
  >;
1191
1220
  /**
1192
- * Bitcoin UTXOs that have been submitted for minting, keyed by a monotonic queue index so
1193
- * payouts can preserve FIFO order while each frame works through a fixed payout cohort.
1221
+ * Queue bookkeeping for pending bitcoin mints, including the bounded payout start and the
1222
+ * current frame scan cursor.
1194
1223
  **/
1195
- pendingMintUtxosByIndex: AugmentedQuery<
1224
+ pendingMintQueueState: AugmentedQuery<
1196
1225
  ApiType,
1197
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletMintPendingMintUtxo>>,
1198
- [u64]
1226
+ () => Observable<PalletMintMintQueueCursor>,
1227
+ []
1199
1228
  >;
1200
1229
  };
1201
1230
  multisig: {
@@ -280,6 +280,38 @@ declare module '@polkadot/api-base/types/submittable' {
280
280
  [Vec<AccountId32>]
281
281
  >;
282
282
  };
283
+ bitcoinFissions: {
284
+ /**
285
+ * Close a Fission without moving Bitcoin and remove its active record.
286
+ **/
287
+ close: AugmentedSubmittable<
288
+ (fissionId: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
289
+ [Compact<u64>]
290
+ >;
291
+ /**
292
+ * Create a Fission from one owner-held Lock and associate it with a Liquid ID.
293
+ **/
294
+ create: AugmentedSubmittable<
295
+ (
296
+ fissionId: Compact<u64> | AnyNumber | Uint8Array,
297
+ liquidId: Compact<u64> | AnyNumber | Uint8Array,
298
+ lockId: Compact<u64> | AnyNumber | Uint8Array,
299
+ satoshis: Compact<u64> | AnyNumber | Uint8Array,
300
+ microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
301
+ ) => SubmittableExtrinsic<ApiType>,
302
+ [Compact<u64>, Compact<u64>, Compact<u64>, Compact<u64>, Compact<u128>]
303
+ >;
304
+ /**
305
+ * Ratchet an active Fission to a replacement target-normalized BTC value.
306
+ **/
307
+ ratchet: AugmentedSubmittable<
308
+ (
309
+ fissionId: Compact<u64> | AnyNumber | Uint8Array,
310
+ microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
311
+ ) => SubmittableExtrinsic<ApiType>,
312
+ [Compact<u64>, Compact<u128>]
313
+ >;
314
+ };
283
315
  bitcoinLocks: {
284
316
  adminModifyMinimumLockedSats: AugmentedSubmittable<
285
317
  (satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
@@ -307,37 +339,27 @@ declare module '@polkadot/api-base/types/submittable' {
307
339
  [AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]
308
340
  >;
309
341
  /**
310
- * Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
311
- * release fee will be burned, and the lock will be allowed to expire without a penalty.
342
+ * Submitted by a Vault operator to cosign every input in a Bitcoin Lock release. The
343
+ * signatures must follow ascending `UtxoRef` order: transaction ID, then output index.
344
+ * Its securitization will be scheduled for release without a penalty.
312
345
  *
313
346
  * This is submitted as a no-fee transaction off chain to allow keys to remain in cold
314
347
  * wallets.
315
348
  **/
316
349
  cosignRelease: AugmentedSubmittable<
317
350
  (
318
- utxoId: u64 | AnyNumber | Uint8Array,
319
- signature: Bytes | string | Uint8Array,
320
- ) => SubmittableExtrinsic<ApiType>,
321
- [u64, Bytes]
322
- >;
323
- increaseSecuritization: AugmentedSubmittable<
324
- (
325
- utxoId: u64 | AnyNumber | Uint8Array,
326
- newSatoshis: Compact<u64> | AnyNumber | Uint8Array,
351
+ lockId: u64 | AnyNumber | Uint8Array,
352
+ signatures: Vec<Bytes> | (Bytes | string | Uint8Array)[],
327
353
  ) => SubmittableExtrinsic<ApiType>,
328
- [u64, Compact<u64>]
354
+ [u64, Vec<Bytes>]
329
355
  >;
330
356
  /**
331
- * Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
332
- * and log the Bitcoin Script hash to Events.
357
+ * Create a Bitcoin receive address backed by a Lock for the submitting account.
333
358
  *
334
359
  * The pubkey submitted here will be used to create a script pubkey that will be used in a
335
360
  * timelock multisig script to lock the bitcoin.
336
- *
337
- * NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
338
- * LockedBitcoin and be added to the Bitcoin Mint line.
339
361
  **/
340
- initialize: AugmentedSubmittable<
362
+ createReceiveAddress: AugmentedSubmittable<
341
363
  (
342
364
  vaultId: u32 | AnyNumber | Uint8Array,
343
365
  satoshis: Compact<u64> | AnyNumber | Uint8Array,
@@ -347,8 +369,7 @@ declare module '@polkadot/api-base/types/submittable' {
347
369
  | null
348
370
  | Uint8Array
349
371
  | PalletBitcoinLocksLockOptions
350
- | { V1: any }
351
- | { V2: any }
372
+ | { microgonsAtTargetPerBtc?: any; feeCoupon?: any }
352
373
  | string,
353
374
  ) => SubmittableExtrinsic<ApiType>,
354
375
  [
@@ -358,36 +379,6 @@ declare module '@polkadot/api-base/types/submittable' {
358
379
  Option<PalletBitcoinLocksLockOptions>,
359
380
  ]
360
381
  >;
361
- /**
362
- * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
363
- * functionally the same as releasing and re-initializing, but it allows a user to skip
364
- * sending transactions through bitcoin and any associated fees. It also allows you to stay
365
- * on your original lock expiration without having to pay the full year of fees again.
366
- *
367
- * Ratcheting "down" - when the price of bitcoin is lower than your lock price, you pay the
368
- * full release price and get added back to the mint queue at the current market rate. You
369
- * pocket the difference between the already minted "lock price" and the new market value
370
- * (which you just had burned). Your new lock price is set to the market low, so you can
371
- * take advantage of ratchets "up" in the future.
372
- *
373
- * Ratcheting "up" - when the price of bitcoin is higher than your lock price, you pay a
374
- * prorated fee for the remainder of your existing lock duration. You are added to the mint
375
- * queue for the difference in your new lock price vs the previous lock price.
376
- **/
377
- ratchet: AugmentedSubmittable<
378
- (
379
- utxoId: u64 | AnyNumber | Uint8Array,
380
- options:
381
- | Option<PalletBitcoinLocksLockOptions>
382
- | null
383
- | Uint8Array
384
- | PalletBitcoinLocksLockOptions
385
- | { V1: any }
386
- | { V2: any }
387
- | string,
388
- ) => SubmittableExtrinsic<ApiType>,
389
- [u64, Option<PalletBitcoinLocksLockOptions>]
390
- >;
391
382
  requestOrphanedUtxoRelease: AugmentedSubmittable<
392
383
  (
393
384
  utxoRef:
@@ -401,61 +392,47 @@ declare module '@polkadot/api-base/types/submittable' {
401
392
  [ArgonPrimitivesBitcoinUtxoRef, Bytes, u64]
402
393
  >;
403
394
  /**
404
- * Submitted by a Bitcoin holder to trigger the release of their Utxo out of the cosign
405
- * script. A transaction spending the UTXO should be pre-created so that the sighash
406
- * can be submitted here. The vault operator will have 10 days to counter-sign the
407
- * transaction. It will be published with the public key as a BitcoinUtxoCosigned Event.
395
+ * Submitted by a Bitcoin holder to release every UTXO in a Lock from its cosign script.
396
+ * The destination and fee determine the transaction the vault must sign. The vault
397
+ * operator has 10 days to publish one signature per input in a BitcoinUtxoCosigned
398
+ * event.
408
399
  *
409
400
  * Owner must submit a script pubkey and also a fee to pay to the bitcoin network.
410
401
  **/
411
402
  requestRelease: AugmentedSubmittable<
412
403
  (
413
- utxoId: u64 | AnyNumber | Uint8Array,
404
+ lockId: u64 | AnyNumber | Uint8Array,
414
405
  toScriptPubkey: Bytes | string | Uint8Array,
415
406
  bitcoinNetworkFee: u64 | AnyNumber | Uint8Array,
416
407
  ) => SubmittableExtrinsic<ApiType>,
417
408
  [u64, Bytes, u64]
418
409
  >;
419
- setFlexible: AugmentedSubmittable<
420
- (
421
- utxoId: u64 | AnyNumber | Uint8Array,
422
- isFlexible: bool | boolean | Uint8Array,
423
- ) => SubmittableExtrinsic<ApiType>,
424
- [u64, bool]
425
- >;
426
- };
427
- bitcoinUtxos: {
428
410
  /**
429
- * Bind a candidate UTXO ref as the funding UTXO for its lock.
430
- * The locks pallet authorizes the promotion; this pallet binds the ref and begins
431
- * tracking.
411
+ * Replace this Lock's BTC coverage and target value for its remaining term.
432
412
  **/
433
- fundWithUtxoCandidate: AugmentedSubmittable<
413
+ resecuritize: AugmentedSubmittable<
434
414
  (
435
- utxoId: u64 | AnyNumber | Uint8Array,
436
- utxoRef:
437
- | ArgonPrimitivesBitcoinUtxoRef
438
- | { txid?: any; outputIndex?: any }
439
- | string
440
- | Uint8Array,
415
+ lockId: u64 | AnyNumber | Uint8Array,
416
+ satoshis: Compact<u64> | AnyNumber | Uint8Array,
417
+ options:
418
+ | Option<PalletBitcoinLocksLockOptions>
419
+ | null
420
+ | Uint8Array
421
+ | PalletBitcoinLocksLockOptions
422
+ | { microgonsAtTargetPerBtc?: any; feeCoupon?: any }
423
+ | string,
441
424
  ) => SubmittableExtrinsic<ApiType>,
442
- [u64, ArgonPrimitivesBitcoinUtxoRef]
425
+ [u64, Compact<u64>, Option<PalletBitcoinLocksLockOptions>]
443
426
  >;
444
- /**
445
- * Reject a pending candidate UTXO and materialize it as an orphan through the locks
446
- * pallet.
447
- **/
448
- rejectUtxoCandidate: AugmentedSubmittable<
427
+ setFlexible: AugmentedSubmittable<
449
428
  (
450
- utxoId: u64 | AnyNumber | Uint8Array,
451
- utxoRef:
452
- | ArgonPrimitivesBitcoinUtxoRef
453
- | { txid?: any; outputIndex?: any }
454
- | string
455
- | Uint8Array,
429
+ lockId: u64 | AnyNumber | Uint8Array,
430
+ isFlexible: bool | boolean | Uint8Array,
456
431
  ) => SubmittableExtrinsic<ApiType>,
457
- [u64, ArgonPrimitivesBitcoinUtxoRef]
432
+ [u64, bool]
458
433
  >;
434
+ };
435
+ bitcoinUtxos: {
459
436
  /**
460
437
  * Sets the most recent confirmed bitcoin block height (only executable by the Oracle
461
438
  * Operator account)