@argonprotocol/mainchain 1.4.12-dev.8cae3588 → 1.4.12-dev.dd86fab9
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/README.md +0 -10
- package/browser/index.d.ts +695 -939
- package/browser/index.js +15 -1344
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +17 -1347
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +695 -939
- package/lib/index.d.ts +695 -939
- package/lib/index.js +19 -1349
- package/lib/index.js.map +1 -1
- package/package.json +2 -3
- package/src/interfaces/augment-api-consts.ts +16 -21
- package/src/interfaces/augment-api-errors.ts +108 -22
- package/src/interfaces/augment-api-events.ts +110 -72
- package/src/interfaces/augment-api-query.ts +97 -50
- package/src/interfaces/augment-api-runtime.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +53 -77
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +0 -1
- package/src/interfaces/lookup.ts +319 -263
- package/src/interfaces/registry.ts +10 -5
- package/src/interfaces/types-lookup.ts +365 -307
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
|
|
4
3
|
// import type lookup before we augment - in some environments
|
|
5
4
|
// this is required to allow for ambient/previous definitions
|
|
@@ -27,10 +26,11 @@ import type {
|
|
|
27
26
|
ArgonNotaryAuditErrorVerifyError,
|
|
28
27
|
ArgonPrimitivesBalanceChangeAccountOrigin,
|
|
29
28
|
ArgonPrimitivesBitcoinBitcoinBlock,
|
|
29
|
+
ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
|
|
30
30
|
ArgonPrimitivesBitcoinBitcoinNetwork,
|
|
31
31
|
ArgonPrimitivesBitcoinBitcoinXPub,
|
|
32
|
+
ArgonPrimitivesBitcoinUtxoAddress,
|
|
32
33
|
ArgonPrimitivesBitcoinUtxoRef,
|
|
33
|
-
ArgonPrimitivesBitcoinUtxoValue,
|
|
34
34
|
ArgonPrimitivesBlockSealBlockPayout,
|
|
35
35
|
ArgonPrimitivesBlockSealMiningBidStats,
|
|
36
36
|
ArgonPrimitivesBlockSealMiningRegistration,
|
|
@@ -63,6 +63,7 @@ import type {
|
|
|
63
63
|
PalletBalancesAccountData,
|
|
64
64
|
PalletBalancesBalanceLock,
|
|
65
65
|
PalletBalancesReserveData,
|
|
66
|
+
PalletBitcoinFissionsFission,
|
|
66
67
|
PalletBitcoinLocksLockReleaseRequest,
|
|
67
68
|
PalletBitcoinLocksLockedBitcoin,
|
|
68
69
|
PalletBitcoinLocksOrphanedUtxo,
|
|
@@ -209,6 +210,35 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
209
210
|
**/
|
|
210
211
|
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
211
212
|
};
|
|
213
|
+
bitcoinFissions: {
|
|
214
|
+
/**
|
|
215
|
+
* Active Fission records addressed by their owner and owner-local Fission ID.
|
|
216
|
+
**/
|
|
217
|
+
fissionByOwnerAndId: AugmentedQuery<
|
|
218
|
+
ApiType,
|
|
219
|
+
(
|
|
220
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
221
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
222
|
+
) => Observable<Option<PalletBitcoinFissionsFission>>,
|
|
223
|
+
[AccountId32, u64]
|
|
224
|
+
>;
|
|
225
|
+
/**
|
|
226
|
+
* Active Fission IDs allocating satoshis from each Lock.
|
|
227
|
+
**/
|
|
228
|
+
fissionIdsByLockId: AugmentedQuery<
|
|
229
|
+
ApiType,
|
|
230
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
|
|
231
|
+
[u64]
|
|
232
|
+
>;
|
|
233
|
+
/**
|
|
234
|
+
* Minimum Fission ID accepted from each owner.
|
|
235
|
+
**/
|
|
236
|
+
nextFissionIdByOwner: AugmentedQuery<
|
|
237
|
+
ApiType,
|
|
238
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
239
|
+
[AccountId32]
|
|
240
|
+
>;
|
|
241
|
+
};
|
|
212
242
|
bitcoinLocks: {
|
|
213
243
|
lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
|
|
214
244
|
ApiType,
|
|
@@ -218,6 +248,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
218
248
|
) => Observable<Option<u64>>,
|
|
219
249
|
[u32, AccountId32]
|
|
220
250
|
>;
|
|
251
|
+
/**
|
|
252
|
+
* Highest Bitcoin UTXO sync height processed for pending-funding expirations.
|
|
253
|
+
**/
|
|
254
|
+
lastPendingFundingExpirationHeight: AugmentedQuery<
|
|
255
|
+
ApiType,
|
|
256
|
+
() => Observable<Option<u64>>,
|
|
257
|
+
[]
|
|
258
|
+
>;
|
|
221
259
|
/**
|
|
222
260
|
* Utxos that have been requested to be cosigned for releasing
|
|
223
261
|
**/
|
|
@@ -262,7 +300,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
262
300
|
[u64]
|
|
263
301
|
>;
|
|
264
302
|
/**
|
|
265
|
-
*
|
|
303
|
+
* Unfunded locks whose pending securitization reservation expires at the indexed height.
|
|
304
|
+
* Expiry releases the reservation but leaves the lock address watched for late orphan output.
|
|
305
|
+
**/
|
|
306
|
+
locksPendingFundingByBitcoinHeight: AugmentedQuery<
|
|
307
|
+
ApiType,
|
|
308
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
|
|
309
|
+
[u64]
|
|
310
|
+
>;
|
|
311
|
+
/**
|
|
312
|
+
* Recent target-normalized microgon values per BTC and their observed ticks.
|
|
266
313
|
**/
|
|
267
314
|
microgonPerBtcHistory: AugmentedQuery<
|
|
268
315
|
ApiType,
|
|
@@ -270,7 +317,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
270
317
|
[]
|
|
271
318
|
>;
|
|
272
319
|
/**
|
|
273
|
-
*
|
|
320
|
+
* Release amounts identified by the version 10 to 11 migration.
|
|
321
|
+
*
|
|
322
|
+
* Current release requests do not create currency holds. Each migrated entry is removed when
|
|
323
|
+
* its in-flight release request terminates.
|
|
324
|
+
**/
|
|
325
|
+
migratedReleaseHoldByUtxoId: AugmentedQuery<
|
|
326
|
+
ApiType,
|
|
327
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u128>>,
|
|
328
|
+
[u64]
|
|
329
|
+
>;
|
|
330
|
+
/**
|
|
331
|
+
* The minimum number of satoshis accepted in one watched funding UTXO.
|
|
274
332
|
**/
|
|
275
333
|
minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
276
334
|
nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
@@ -321,6 +379,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
321
379
|
) => Observable<Option<Null>>,
|
|
322
380
|
[u32, u64]
|
|
323
381
|
>;
|
|
382
|
+
/**
|
|
383
|
+
* The utxo funding this lock. In the current runtime, this is just the first utxo received
|
|
384
|
+
**/
|
|
385
|
+
utxoIdToFundingUtxoRef: AugmentedQuery<
|
|
386
|
+
ApiType,
|
|
387
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>,
|
|
388
|
+
[u64]
|
|
389
|
+
>;
|
|
324
390
|
};
|
|
325
391
|
bitcoinUtxos: {
|
|
326
392
|
/**
|
|
@@ -331,16 +397,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
331
397
|
() => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>,
|
|
332
398
|
[]
|
|
333
399
|
>;
|
|
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
400
|
/**
|
|
345
401
|
* An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
|
|
346
402
|
**/
|
|
@@ -349,43 +405,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
349
405
|
() => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
|
|
350
406
|
[]
|
|
351
407
|
>;
|
|
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
408
|
/**
|
|
362
409
|
* Check if the inherent was included
|
|
363
410
|
**/
|
|
364
411
|
inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
365
|
-
/**
|
|
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.
|
|
369
|
-
**/
|
|
370
|
-
lockedUtxos: AugmentedQuery<
|
|
371
|
-
ApiType,
|
|
372
|
-
(
|
|
373
|
-
arg:
|
|
374
|
-
| ArgonPrimitivesBitcoinUtxoRef
|
|
375
|
-
| { txid?: any; outputIndex?: any }
|
|
376
|
-
| string
|
|
377
|
-
| 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
|
-
[]
|
|
388
|
-
>;
|
|
389
412
|
/**
|
|
390
413
|
* Bitcoin Oracle Operator Account
|
|
391
414
|
**/
|
|
@@ -408,11 +431,35 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
408
431
|
**/
|
|
409
432
|
tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
410
433
|
/**
|
|
411
|
-
*
|
|
434
|
+
* Watched Lock addresses and the scan height needed to observe them.
|
|
412
435
|
**/
|
|
413
|
-
|
|
436
|
+
utxoAddressByUtxoId: AugmentedQuery<
|
|
414
437
|
ApiType,
|
|
415
|
-
(
|
|
438
|
+
(
|
|
439
|
+
arg: u64 | AnyNumber | Uint8Array,
|
|
440
|
+
) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>,
|
|
441
|
+
[u64]
|
|
442
|
+
>;
|
|
443
|
+
/**
|
|
444
|
+
* The Lock ID identified by each watched script pubkey.
|
|
445
|
+
**/
|
|
446
|
+
utxoIdByScriptPubkey: AugmentedQuery<
|
|
447
|
+
ApiType,
|
|
448
|
+
(
|
|
449
|
+
arg:
|
|
450
|
+
| ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey
|
|
451
|
+
| { P2WSH: any }
|
|
452
|
+
| string
|
|
453
|
+
| Uint8Array,
|
|
454
|
+
) => Observable<Option<u64>>,
|
|
455
|
+
[ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey]
|
|
456
|
+
>;
|
|
457
|
+
/**
|
|
458
|
+
* Every output observed at a watched Lock address, retained until explicitly removed.
|
|
459
|
+
**/
|
|
460
|
+
utxoRefsByUtxoId: AugmentedQuery<
|
|
461
|
+
ApiType,
|
|
462
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>,
|
|
416
463
|
[u64]
|
|
417
464
|
>;
|
|
418
465
|
};
|
|
@@ -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
|
+
utxoId: 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,8 +339,8 @@ 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
|
|
311
|
-
*
|
|
342
|
+
* Submitted by a Vault operator to cosign the release of a bitcoin UTXO. The Lock's
|
|
343
|
+
* securitization will be scheduled for release without a penalty.
|
|
312
344
|
*
|
|
313
345
|
* This is submitted as a no-fee transaction off chain to allow keys to remain in cold
|
|
314
346
|
* wallets.
|
|
@@ -320,24 +352,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
320
352
|
) => SubmittableExtrinsic<ApiType>,
|
|
321
353
|
[u64, Bytes]
|
|
322
354
|
>;
|
|
323
|
-
increaseSecuritization: AugmentedSubmittable<
|
|
324
|
-
(
|
|
325
|
-
utxoId: u64 | AnyNumber | Uint8Array,
|
|
326
|
-
newSatoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
327
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
328
|
-
[u64, Compact<u64>]
|
|
329
|
-
>;
|
|
330
355
|
/**
|
|
331
|
-
*
|
|
332
|
-
* and log the Bitcoin Script hash to Events.
|
|
356
|
+
* Create a Bitcoin receive address backed by a Lock for the submitting account.
|
|
333
357
|
*
|
|
334
358
|
* The pubkey submitted here will be used to create a script pubkey that will be used in a
|
|
335
359
|
* 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
360
|
**/
|
|
340
|
-
|
|
361
|
+
createReceiveAddress: AugmentedSubmittable<
|
|
341
362
|
(
|
|
342
363
|
vaultId: u32 | AnyNumber | Uint8Array,
|
|
343
364
|
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
@@ -347,8 +368,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
347
368
|
| null
|
|
348
369
|
| Uint8Array
|
|
349
370
|
| PalletBitcoinLocksLockOptions
|
|
350
|
-
| {
|
|
351
|
-
| { V2: any }
|
|
371
|
+
| { microgonsAtTargetPerBtc?: any; feeCoupon?: any }
|
|
352
372
|
| string,
|
|
353
373
|
) => SubmittableExtrinsic<ApiType>,
|
|
354
374
|
[
|
|
@@ -358,36 +378,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
358
378
|
Option<PalletBitcoinLocksLockOptions>,
|
|
359
379
|
]
|
|
360
380
|
>;
|
|
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
381
|
requestOrphanedUtxoRelease: AugmentedSubmittable<
|
|
392
382
|
(
|
|
393
383
|
utxoRef:
|
|
@@ -416,46 +406,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
416
406
|
) => SubmittableExtrinsic<ApiType>,
|
|
417
407
|
[u64, Bytes, u64]
|
|
418
408
|
>;
|
|
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
409
|
/**
|
|
429
|
-
*
|
|
430
|
-
* The locks pallet authorizes the promotion; this pallet binds the ref and begins
|
|
431
|
-
* tracking.
|
|
410
|
+
* Replace this Lock's BTC coverage and target value for its remaining term.
|
|
432
411
|
**/
|
|
433
|
-
|
|
412
|
+
resecuritize: AugmentedSubmittable<
|
|
434
413
|
(
|
|
435
414
|
utxoId: u64 | AnyNumber | Uint8Array,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
|
439
|
-
|
|
|
440
|
-
| Uint8Array
|
|
415
|
+
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
416
|
+
options:
|
|
417
|
+
| Option<PalletBitcoinLocksLockOptions>
|
|
418
|
+
| null
|
|
419
|
+
| Uint8Array
|
|
420
|
+
| PalletBitcoinLocksLockOptions
|
|
421
|
+
| { microgonsAtTargetPerBtc?: any; feeCoupon?: any }
|
|
422
|
+
| string,
|
|
441
423
|
) => SubmittableExtrinsic<ApiType>,
|
|
442
|
-
[u64,
|
|
424
|
+
[u64, Compact<u64>, Option<PalletBitcoinLocksLockOptions>]
|
|
443
425
|
>;
|
|
444
|
-
|
|
445
|
-
* Reject a pending candidate UTXO and materialize it as an orphan through the locks
|
|
446
|
-
* pallet.
|
|
447
|
-
**/
|
|
448
|
-
rejectUtxoCandidate: AugmentedSubmittable<
|
|
426
|
+
setFlexible: AugmentedSubmittable<
|
|
449
427
|
(
|
|
450
428
|
utxoId: u64 | AnyNumber | Uint8Array,
|
|
451
|
-
|
|
452
|
-
| ArgonPrimitivesBitcoinUtxoRef
|
|
453
|
-
| { txid?: any; outputIndex?: any }
|
|
454
|
-
| string
|
|
455
|
-
| Uint8Array,
|
|
429
|
+
isFlexible: bool | boolean | Uint8Array,
|
|
456
430
|
) => SubmittableExtrinsic<ApiType>,
|
|
457
|
-
[u64,
|
|
431
|
+
[u64, bool]
|
|
458
432
|
>;
|
|
433
|
+
};
|
|
434
|
+
bitcoinUtxos: {
|
|
459
435
|
/**
|
|
460
436
|
* Sets the most recent confirmed bitcoin block height (only executable by the Oracle
|
|
461
437
|
* Operator account)
|