@argonprotocol/mainchain 1.4.2-dev.77ec87c2 → 1.4.2-dev.9a289267

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.
@@ -4124,6 +4124,13 @@ declare module '@polkadot/api-base/types/storage' {
4124
4124
  AccountId32,
4125
4125
  ArgonPrimitivesBitcoinUtxoRef
4126
4126
  ]>;
4127
+ /**
4128
+ * Index of active UTXO IDs per vault
4129
+ **/
4130
+ utxoIdsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
4131
+ u32,
4132
+ u64
4133
+ ]>;
4127
4134
  };
4128
4135
  bitcoinUtxos: {
4129
4136
  /**
@@ -12156,7 +12163,7 @@ declare module '@polkadot/types/lookup' {
12156
12163
  readonly fundHoldExtensions: BTreeMap<u64, u128>;
12157
12164
  readonly createdAtArgonBlock: Compact<u32>;
12158
12165
  }
12159
- /** @name PalletBitcoinLocksLockReleaseRequest (420) */
12166
+ /** @name PalletBitcoinLocksLockReleaseRequest (421) */
12160
12167
  interface PalletBitcoinLocksLockReleaseRequest extends Struct {
12161
12168
  readonly utxoId: Compact<u64>;
12162
12169
  readonly vaultId: Compact<u32>;
@@ -12165,7 +12172,7 @@ declare module '@polkadot/types/lookup' {
12165
12172
  readonly toScriptPubkey: Bytes;
12166
12173
  readonly redemptionPrice: Compact<u128>;
12167
12174
  }
12168
- /** @name PalletBitcoinLocksOrphanedUtxo (422) */
12175
+ /** @name PalletBitcoinLocksOrphanedUtxo (423) */
12169
12176
  interface PalletBitcoinLocksOrphanedUtxo extends Struct {
12170
12177
  readonly utxoId: Compact<u64>;
12171
12178
  readonly vaultId: Compact<u32>;
@@ -12173,20 +12180,20 @@ declare module '@polkadot/types/lookup' {
12173
12180
  readonly recordedArgonBlockNumber: Compact<u32>;
12174
12181
  readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
12175
12182
  }
12176
- /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (424) */
12183
+ /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (425) */
12177
12184
  interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
12178
12185
  readonly bitcoinNetworkFee: u64;
12179
12186
  readonly toScriptPubkey: Bytes;
12180
12187
  readonly createdAtArgonBlockNumber: u32;
12181
12188
  }
12182
- /** @name PalletBitcoinLocksFeeCoupon (431) */
12189
+ /** @name PalletBitcoinLocksFeeCoupon (432) */
12183
12190
  interface PalletBitcoinLocksFeeCoupon extends Struct {
12184
12191
  readonly vaultId: Compact<u32>;
12185
12192
  readonly maxSatoshis: Compact<u64>;
12186
12193
  readonly expirationFrame: Compact<u64>;
12187
12194
  readonly maxFeePlusTip: Option<u128>;
12188
12195
  }
12189
- /** @name PalletBitcoinLocksError (433) */
12196
+ /** @name PalletBitcoinLocksError (434) */
12190
12197
  interface PalletBitcoinLocksError extends Enum {
12191
12198
  readonly isInsufficientFunds: boolean;
12192
12199
  readonly isInsufficientVaultFunds: boolean;
@@ -12231,7 +12238,7 @@ declare module '@polkadot/types/lookup' {
12231
12238
  readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
12232
12239
  readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoRatchetingAvailable' | 'LockInProcessOfRelease' | 'LockPendingFunding' | 'OverflowError' | 'IneligibleMicrogonRateRequested' | 'InvalidFeeCoupon' | 'InvalidFeeCouponProof' | 'MaxFeeCouponSatoshisExceeded' | 'FeeCouponAlreadyExists' | 'FeeCouponRequired' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded';
12233
12240
  }
12234
- /** @name ArgonPrimitivesVaultVaultError (434) */
12241
+ /** @name ArgonPrimitivesVaultVaultError (435) */
12235
12242
  interface ArgonPrimitivesVaultVaultError extends Enum {
12236
12243
  readonly isVaultClosed: boolean;
12237
12244
  readonly isAccountWouldBeBelowMinimum: boolean;
@@ -12247,7 +12254,7 @@ declare module '@polkadot/types/lookup' {
12247
12254
  readonly isVaultNotYetActive: boolean;
12248
12255
  readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
12249
12256
  }
12250
- /** @name PalletNotariesError (446) */
12257
+ /** @name PalletNotariesError (447) */
12251
12258
  interface PalletNotariesError extends Enum {
12252
12259
  readonly isProposalNotFound: boolean;
12253
12260
  readonly isMaxNotariesExceeded: boolean;
@@ -12260,7 +12267,7 @@ declare module '@polkadot/types/lookup' {
12260
12267
  readonly isInvalidNotary: boolean;
12261
12268
  readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
12262
12269
  }
12263
- /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (450) */
12270
+ /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (451) */
12264
12271
  interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
12265
12272
  readonly notebookNumber: Compact<u32>;
12266
12273
  readonly tick: Compact<u64>;
@@ -12268,7 +12275,7 @@ declare module '@polkadot/types/lookup' {
12268
12275
  readonly secretHash: H256;
12269
12276
  readonly parentSecret: Option<H256>;
12270
12277
  }
12271
- /** @name PalletNotebookError (453) */
12278
+ /** @name PalletNotebookError (454) */
12272
12279
  interface PalletNotebookError extends Enum {
12273
12280
  readonly isDuplicateNotebookNumber: boolean;
12274
12281
  readonly isMissingNotebookNumber: boolean;
@@ -12287,7 +12294,7 @@ declare module '@polkadot/types/lookup' {
12287
12294
  readonly isInvalidNotebookSubmissionTick: boolean;
12288
12295
  readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
12289
12296
  }
12290
- /** @name PalletChainTransferQueuedTransferOut (454) */
12297
+ /** @name PalletChainTransferQueuedTransferOut (455) */
12291
12298
  interface PalletChainTransferQueuedTransferOut extends Struct {
12292
12299
  readonly accountId: AccountId32;
12293
12300
  readonly amount: u128;