@argonprotocol/mainchain 1.4.12-dev.9e9b31a9 → 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.
- package/browser/index.d.ts +453 -471
- package/browser/index.js +1 -1
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +453 -471
- package/lib/index.d.ts +453 -471
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +7 -2
- package/src/interfaces/augment-api-errors.ts +7 -7
- package/src/interfaces/augment-api-events.ts +50 -53
- package/src/interfaces/augment-api-query.ts +61 -79
- package/src/interfaces/augment-api-runtime.ts +1 -0
- package/src/interfaces/augment-api-tx.ts +14 -13
- package/src/interfaces/augment-api.ts +1 -0
- package/src/interfaces/augment-types.ts +1 -0
- package/src/interfaces/lookup.ts +336 -334
- package/src/interfaces/registry.ts +5 -4
- package/src/interfaces/types-lookup.ts +336 -346
|
@@ -295,7 +295,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
295
295
|
(
|
|
296
296
|
fissionId: Compact<u64> | AnyNumber | Uint8Array,
|
|
297
297
|
liquidId: Compact<u64> | AnyNumber | Uint8Array,
|
|
298
|
-
|
|
298
|
+
lockId: Compact<u64> | AnyNumber | Uint8Array,
|
|
299
299
|
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
300
300
|
microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
|
|
301
301
|
) => SubmittableExtrinsic<ApiType>,
|
|
@@ -339,18 +339,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
339
339
|
[AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]
|
|
340
340
|
>;
|
|
341
341
|
/**
|
|
342
|
-
* Submitted by a Vault operator to cosign
|
|
343
|
-
*
|
|
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.
|
|
344
345
|
*
|
|
345
346
|
* This is submitted as a no-fee transaction off chain to allow keys to remain in cold
|
|
346
347
|
* wallets.
|
|
347
348
|
**/
|
|
348
349
|
cosignRelease: AugmentedSubmittable<
|
|
349
350
|
(
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
lockId: u64 | AnyNumber | Uint8Array,
|
|
352
|
+
signatures: Vec<Bytes> | (Bytes | string | Uint8Array)[],
|
|
352
353
|
) => SubmittableExtrinsic<ApiType>,
|
|
353
|
-
[u64, Bytes]
|
|
354
|
+
[u64, Vec<Bytes>]
|
|
354
355
|
>;
|
|
355
356
|
/**
|
|
356
357
|
* Create a Bitcoin receive address backed by a Lock for the submitting account.
|
|
@@ -391,16 +392,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
391
392
|
[ArgonPrimitivesBitcoinUtxoRef, Bytes, u64]
|
|
392
393
|
>;
|
|
393
394
|
/**
|
|
394
|
-
* Submitted by a Bitcoin holder to
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
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.
|
|
398
399
|
*
|
|
399
400
|
* Owner must submit a script pubkey and also a fee to pay to the bitcoin network.
|
|
400
401
|
**/
|
|
401
402
|
requestRelease: AugmentedSubmittable<
|
|
402
403
|
(
|
|
403
|
-
|
|
404
|
+
lockId: u64 | AnyNumber | Uint8Array,
|
|
404
405
|
toScriptPubkey: Bytes | string | Uint8Array,
|
|
405
406
|
bitcoinNetworkFee: u64 | AnyNumber | Uint8Array,
|
|
406
407
|
) => SubmittableExtrinsic<ApiType>,
|
|
@@ -411,7 +412,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
411
412
|
**/
|
|
412
413
|
resecuritize: AugmentedSubmittable<
|
|
413
414
|
(
|
|
414
|
-
|
|
415
|
+
lockId: u64 | AnyNumber | Uint8Array,
|
|
415
416
|
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
416
417
|
options:
|
|
417
418
|
| Option<PalletBitcoinLocksLockOptions>
|
|
@@ -425,7 +426,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
425
426
|
>;
|
|
426
427
|
setFlexible: AugmentedSubmittable<
|
|
427
428
|
(
|
|
428
|
-
|
|
429
|
+
lockId: u64 | AnyNumber | Uint8Array,
|
|
429
430
|
isFlexible: bool | boolean | Uint8Array,
|
|
430
431
|
) => SubmittableExtrinsic<ApiType>,
|
|
431
432
|
[u64, bool]
|