@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.
@@ -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
- utxoId: Compact<u64> | AnyNumber | Uint8Array,
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 the release of a bitcoin UTXO. The Lock's
343
- * securitization will be scheduled for release 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.
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
- utxoId: u64 | AnyNumber | Uint8Array,
351
- signature: Bytes | string | Uint8Array,
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 trigger the release of their Utxo out of the cosign
395
- * script. A transaction spending the UTXO should be pre-created so that the sighash
396
- * can be submitted here. The vault operator will have 10 days to counter-sign the
397
- * 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.
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
- utxoId: u64 | AnyNumber | Uint8Array,
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
- utxoId: u64 | AnyNumber | Uint8Array,
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
- utxoId: u64 | AnyNumber | Uint8Array,
429
+ lockId: u64 | AnyNumber | Uint8Array,
429
430
  isFlexible: bool | boolean | Uint8Array,
430
431
  ) => SubmittableExtrinsic<ApiType>,
431
432
  [u64, bool]
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  import './augment-api-consts.js';
4
5
  import './augment-api-errors.js';
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  // import type lookup before we augment - in some environments
4
5
  // this is required to allow for ambient/previous definitions