@argonprotocol/mainchain 1.4.12 → 1.4.13-dev.01d57087

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.
@@ -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
@@ -22,15 +21,17 @@ import type {
22
21
  u8,
23
22
  } from '@polkadot/types-codec';
24
23
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
25
- import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
24
+ import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
26
25
  import type {
27
26
  ArgonNotaryAuditErrorVerifyError,
27
+ ArgonPrimitivesAmountRankAmountRankKey,
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,
@@ -49,8 +50,9 @@ import type {
49
50
  ArgonPrimitivesNotaryNotaryRecord,
50
51
  ArgonPrimitivesProvidersBlockSealerInfo,
51
52
  ArgonPrimitivesTickTicker,
53
+ ArgonPrimitivesTreasuryPositionQuantities,
52
54
  ArgonPrimitivesVault,
53
- ArgonPrimitivesVaultVaultArgonotCommitment,
55
+ ArgonPrimitivesVaultVaultArgonotSecuritization,
54
56
  FrameSupportDispatchPerDispatchClassWeight,
55
57
  FrameSupportTokensFungibleImbalance,
56
58
  FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
@@ -63,9 +65,12 @@ import type {
63
65
  PalletBalancesAccountData,
64
66
  PalletBalancesBalanceLock,
65
67
  PalletBalancesReserveData,
68
+ PalletBitcoinFissionsFission,
69
+ PalletBitcoinLocksLockReleaseCosignHeight,
66
70
  PalletBitcoinLocksLockReleaseRequest,
67
71
  PalletBitcoinLocksLockedBitcoin,
68
72
  PalletBitcoinLocksOrphanedUtxo,
73
+ PalletBitcoinLocksPendingPartialRelease,
69
74
  PalletBootstrapEndpointPubkey,
70
75
  PalletBootstrapRecoveryPubkey,
71
76
  PalletCrosschainTransferAccountTransferTotals,
@@ -92,7 +97,7 @@ import type {
92
97
  PalletMiningSlotMinerNonceScoring,
93
98
  PalletMintMintAction,
94
99
  PalletMintMintQueueCursor,
95
- PalletMintPendingMintUtxo,
100
+ PalletMintPendingBitcoinMint,
96
101
  PalletMultisigMultisig,
97
102
  PalletOperationalAccountsOperationalAccount,
98
103
  PalletOperationalAccountsRewardsConfig,
@@ -108,6 +113,7 @@ import type {
108
113
  PalletTreasuryBondLotSummary,
109
114
  PalletTreasuryFrameArgonotBondParticipants,
110
115
  PalletTreasuryFrameVaultCapital,
116
+ PalletTreasuryPositionsPosition,
111
117
  PalletTreasuryVaultBondState,
112
118
  PalletVaultsVaultFrameRevenue,
113
119
  SpConsensusGrandpaAppPublic,
@@ -209,6 +215,35 @@ declare module '@polkadot/api-base/types/storage' {
209
215
  **/
210
216
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
211
217
  };
218
+ bitcoinFissions: {
219
+ /**
220
+ * Active Fission records addressed by their owner and owner-local Fission ID.
221
+ **/
222
+ fissionByOwnerAndId: AugmentedQuery<
223
+ ApiType,
224
+ (
225
+ arg1: AccountId32 | string | Uint8Array,
226
+ arg2: u64 | AnyNumber | Uint8Array,
227
+ ) => Observable<Option<PalletBitcoinFissionsFission>>,
228
+ [AccountId32, u64]
229
+ >;
230
+ /**
231
+ * Active Fission IDs allocating satoshis from each Lock.
232
+ **/
233
+ fissionIdsByLockId: AugmentedQuery<
234
+ ApiType,
235
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
236
+ [u64]
237
+ >;
238
+ /**
239
+ * Minimum Fission ID accepted from each owner.
240
+ **/
241
+ nextFissionIdByOwner: AugmentedQuery<
242
+ ApiType,
243
+ (arg: AccountId32 | string | Uint8Array) => Observable<u64>,
244
+ [AccountId32]
245
+ >;
246
+ };
212
247
  bitcoinLocks: {
213
248
  lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
214
249
  ApiType,
@@ -218,6 +253,14 @@ declare module '@polkadot/api-base/types/storage' {
218
253
  ) => Observable<Option<u64>>,
219
254
  [u32, AccountId32]
220
255
  >;
256
+ /**
257
+ * Highest Bitcoin UTXO sync height processed for securitization hold expirations.
258
+ **/
259
+ lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<
260
+ ApiType,
261
+ () => Observable<Option<u64>>,
262
+ []
263
+ >;
221
264
  /**
222
265
  * Utxos that have been requested to be cosigned for releasing
223
266
  **/
@@ -236,17 +279,41 @@ declare module '@polkadot/api-base/types/storage' {
236
279
  [u64]
237
280
  >;
238
281
  /**
239
- * Stores the block number where a release was cosigned by the vault.
282
+ * Index of active UTXO IDs per owner account.
283
+ **/
284
+ lockIdsByOwnerAccount: AugmentedQuery<
285
+ ApiType,
286
+ (
287
+ arg1: AccountId32 | string | Uint8Array,
288
+ arg2: u64 | AnyNumber | Uint8Array,
289
+ ) => Observable<Option<Null>>,
290
+ [AccountId32, u64]
291
+ >;
292
+ /**
293
+ * Index of active UTXO IDs per vault
294
+ **/
295
+ lockIdsByVaultId: AugmentedQuery<
296
+ ApiType,
297
+ (
298
+ arg1: u32 | AnyNumber | Uint8Array,
299
+ arg2: u64 | AnyNumber | Uint8Array,
300
+ ) => Observable<Option<Null>>,
301
+ [u32, u64]
302
+ >;
303
+ /**
304
+ * Latest cosigned release for each Lock, retained for signature recovery.
240
305
  **/
241
306
  lockReleaseCosignHeightById: AugmentedQuery<
242
307
  ApiType,
243
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
308
+ (
309
+ arg: u64 | AnyNumber | Uint8Array,
310
+ ) => Observable<Option<PalletBitcoinLocksLockReleaseCosignHeight>>,
244
311
  [u64]
245
312
  >;
246
313
  /**
247
- * Stores bitcoin locks that have requested to be released
314
+ * Release requests awaiting a Vault cosignature.
248
315
  **/
249
- lockReleaseRequestsByUtxoId: AugmentedQuery<
316
+ lockReleaseRequestsById: AugmentedQuery<
250
317
  ApiType,
251
318
  (
252
319
  arg: u64 | AnyNumber | Uint8Array,
@@ -256,13 +323,13 @@ declare module '@polkadot/api-base/types/storage' {
256
323
  /**
257
324
  * Stores bitcoin utxos that have requested to be released
258
325
  **/
259
- locksByUtxoId: AugmentedQuery<
326
+ locksById: AugmentedQuery<
260
327
  ApiType,
261
328
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>,
262
329
  [u64]
263
330
  >;
264
331
  /**
265
- * History of target microgons per btc.
332
+ * Recent target-normalized microgon values per BTC and their observed ticks.
266
333
  **/
267
334
  microgonPerBtcHistory: AugmentedQuery<
268
335
  ApiType,
@@ -270,10 +337,10 @@ declare module '@polkadot/api-base/types/storage' {
270
337
  []
271
338
  >;
272
339
  /**
273
- * The minimum number of satoshis that can be locked
340
+ * The minimum number of satoshis accepted in one watched funding UTXO.
274
341
  **/
275
342
  minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
276
- nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
343
+ nextBitcoinLockId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
277
344
  /**
278
345
  * Expiration of orphaned utxo refs by user account
279
346
  **/
@@ -300,26 +367,23 @@ declare module '@polkadot/api-base/types/storage' {
300
367
  [AccountId32, ArgonPrimitivesBitcoinUtxoRef]
301
368
  >;
302
369
  /**
303
- * Index of active UTXO IDs per owner account.
370
+ * Cosigned partial releases awaiting confirmation on Bitcoin.
304
371
  **/
305
- utxoIdsByOwnerAccount: AugmentedQuery<
372
+ pendingPartialReleaseByLockId: AugmentedQuery<
306
373
  ApiType,
307
374
  (
308
- arg1: AccountId32 | string | Uint8Array,
309
- arg2: u64 | AnyNumber | Uint8Array,
310
- ) => Observable<Option<Null>>,
311
- [AccountId32, u64]
375
+ arg: u64 | AnyNumber | Uint8Array,
376
+ ) => Observable<Option<PalletBitcoinLocksPendingPartialRelease>>,
377
+ [u64]
312
378
  >;
313
379
  /**
314
- * Index of active UTXO IDs per vault
380
+ * Lock IDs whose securitization hold expires at the indexed Bitcoin height.
381
+ * Expiry releases only the unactivated portion and leaves the lock address watched.
315
382
  **/
316
- utxoIdsByVaultId: AugmentedQuery<
383
+ securitizationHoldExpirationsByBitcoinHeight: AugmentedQuery<
317
384
  ApiType,
318
- (
319
- arg1: u32 | AnyNumber | Uint8Array,
320
- arg2: u64 | AnyNumber | Uint8Array,
321
- ) => Observable<Option<Null>>,
322
- [u32, u64]
385
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
386
+ [u64]
323
387
  >;
324
388
  };
325
389
  bitcoinUtxos: {
@@ -331,16 +395,6 @@ declare module '@polkadot/api-base/types/storage' {
331
395
  () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>,
332
396
  []
333
397
  >;
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
398
  /**
345
399
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
346
400
  **/
@@ -349,42 +403,23 @@ declare module '@polkadot/api-base/types/storage' {
349
403
  () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
350
404
  []
351
405
  >;
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
406
  /**
362
407
  * Check if the inherent was included
363
408
  **/
364
409
  inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
365
410
  /**
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.
411
+ * The Lock ID identified by each watched script pubkey.
369
412
  **/
370
- lockedUtxos: AugmentedQuery<
413
+ lockIdByScriptPubkey: AugmentedQuery<
371
414
  ApiType,
372
415
  (
373
416
  arg:
374
- | ArgonPrimitivesBitcoinUtxoRef
375
- | { txid?: any; outputIndex?: any }
417
+ | ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey
418
+ | { P2WSH: any }
376
419
  | string
377
420
  | 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
- []
421
+ ) => Observable<Option<u64>>,
422
+ [ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey]
388
423
  >;
389
424
  /**
390
425
  * Bitcoin Oracle Operator Account
@@ -408,11 +443,21 @@ declare module '@polkadot/api-base/types/storage' {
408
443
  **/
409
444
  tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
410
445
  /**
411
- * A mapping of utxo id to the confirmed utxo reference
446
+ * Watched Lock addresses and the scan height needed to observe them.
447
+ **/
448
+ utxoAddressByLockId: AugmentedQuery<
449
+ ApiType,
450
+ (
451
+ arg: u64 | AnyNumber | Uint8Array,
452
+ ) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>,
453
+ [u64]
454
+ >;
455
+ /**
456
+ * Every output observed at a watched Lock address, retained until explicitly removed.
412
457
  **/
413
- utxoIdToFundingUtxoRef: AugmentedQuery<
458
+ utxoRefsByLockId: AugmentedQuery<
414
459
  ApiType,
415
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>,
460
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>,
416
461
  [u64]
417
462
  >;
418
463
  };
@@ -1159,43 +1204,39 @@ declare module '@polkadot/api-base/types/storage' {
1159
1204
  **/
1160
1205
  miningMintPerCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, []>;
1161
1206
  /**
1162
- * The total amount of Bitcoin microgons minted. Cannot exceed `MintedMiningMicrogons`.
1207
+ * Bitcoin-minted Argons that have not been explicitly repaid through Fission settlement.
1163
1208
  **/
1164
1209
  mintedBitcoinMicrogons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1165
- /**
1166
- * The total amount of microgons minted for mining
1167
- **/
1168
- mintedMiningMicrogons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1169
1210
  /**
1170
1211
  * The next monotonic queue index to assign to a pending bitcoin mint.
1171
1212
  **/
1172
- nextPendingMintUtxoIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1213
+ nextPendingBitcoinMintIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1173
1214
  /**
1174
- * Queue bookkeeping for pending bitcoin mints, including the bounded payout start and the
1175
- * current frame scan cursor.
1215
+ * Bitcoin UTXOs that have been submitted for minting, keyed by a monotonic queue index so
1216
+ * payouts can preserve FIFO order while each frame works through a fixed payout cohort.
1176
1217
  **/
1177
- pendingMintQueueState: AugmentedQuery<
1218
+ pendingBitcoinMintsByIndex: AugmentedQuery<
1178
1219
  ApiType,
1179
- () => Observable<PalletMintMintQueueCursor>,
1180
- []
1220
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletMintPendingBitcoinMint>>,
1221
+ [u64]
1181
1222
  >;
1182
1223
  /**
1183
1224
  * Reverse lookup from bitcoin UTXO id to all queued mint indices for direct removal and
1184
1225
  * client lookup.
1185
1226
  **/
1186
- pendingMintUtxoIdLookup: AugmentedQuery<
1227
+ pendingMintIndicesByLockId: AugmentedQuery<
1187
1228
  ApiType,
1188
1229
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1189
1230
  [u64]
1190
1231
  >;
1191
1232
  /**
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.
1233
+ * Queue bookkeeping for pending bitcoin mints, including the bounded payout start and the
1234
+ * current frame scan cursor.
1194
1235
  **/
1195
- pendingMintUtxosByIndex: AugmentedQuery<
1236
+ pendingMintQueueState: AugmentedQuery<
1196
1237
  ApiType,
1197
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletMintPendingMintUtxo>>,
1198
- [u64]
1238
+ () => Observable<PalletMintMintQueueCursor>,
1239
+ []
1199
1240
  >;
1200
1241
  };
1201
1242
  multisig: {
@@ -1754,12 +1795,22 @@ declare module '@polkadot/api-base/types/storage' {
1754
1795
  ) => Observable<Option<Null>>,
1755
1796
  [AccountId32, u64]
1756
1797
  >;
1798
+ /**
1799
+ * Live Argon bond lot ids associated with a vault, including lots awaiting release. Direct
1800
+ * frame payouts iterate this admission-bounded index.
1801
+ **/
1802
+ bondLotIdsByVault: AugmentedQuery<
1803
+ ApiType,
1804
+ (
1805
+ arg1: u32 | AnyNumber | Uint8Array,
1806
+ arg2: u64 | AnyNumber | Uint8Array,
1807
+ ) => Observable<Option<Null>>,
1808
+ [u32, u64]
1809
+ >;
1757
1810
  /**
1758
1811
  * The active bond state for a vault.
1759
1812
  *
1760
- * The bounded payout set keeps the largest bond amount first, then lower `bond_lot_id` first
1761
- * when amounts tie. Flexible lots remain in `BondLotById` and are represented here by their
1762
- * aggregate.
1813
+ * Admission totals and flexible displacement; individual lots live in `BondLotById`.
1763
1814
  **/
1764
1815
  bondLotsByVault: AugmentedQuery<
1765
1816
  ApiType,
@@ -1777,9 +1828,7 @@ declare module '@polkadot/api-base/types/storage' {
1777
1828
  []
1778
1829
  >;
1779
1830
  /**
1780
- * The vault capital locked for the current frame.
1781
- *
1782
- * Payout uses this to see which vaults and bond lots are participating in the frame.
1831
+ * The network bond total and vault capital locked for the current frame's payout.
1783
1832
  **/
1784
1833
  currentFrameVaultCapital: AugmentedQuery<
1785
1834
  ApiType,
@@ -1824,9 +1873,36 @@ declare module '@polkadot/api-base/types/storage' {
1824
1873
  [u64]
1825
1874
  >;
1826
1875
  /**
1827
- * The total number of active Argonot bonds in the active set.
1876
+ * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1828
1877
  **/
1829
- totalActiveArgonotBonds: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1878
+ targetBitcoinPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1879
+ /**
1880
+ * Live Argon bond lots, including those awaiting release; stakes have a separate admission
1881
+ * limit.
1882
+ **/
1883
+ totalArgonBondLots: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1884
+ };
1885
+ treasuryPositions: {
1886
+ /**
1887
+ * Maintained network quantities, updated together with their account contributions.
1888
+ * Treasury reads these when freezing frame inputs. This replaces its live Argonot stake total.
1889
+ **/
1890
+ networkTotals: AugmentedQuery<
1891
+ ApiType,
1892
+ () => Observable<ArgonPrimitivesTreasuryPositionQuantities>,
1893
+ []
1894
+ >;
1895
+ /**
1896
+ * Maintained source quantities keyed by the actual position owner. Upstream quantities belong
1897
+ * to the linked vault account; primary and mining account balances are separate owners.
1898
+ **/
1899
+ positionsByAccount: AugmentedQuery<
1900
+ ApiType,
1901
+ (
1902
+ arg: AccountId32 | string | Uint8Array,
1903
+ ) => Observable<Option<PalletTreasuryPositionsPosition>>,
1904
+ [AccountId32]
1905
+ >;
1830
1906
  };
1831
1907
  txPause: {
1832
1908
  /**
@@ -1842,13 +1918,13 @@ declare module '@polkadot/api-base/types/storage' {
1842
1918
  };
1843
1919
  vaults: {
1844
1920
  /**
1845
- * Vault-side committed and crosschain-encumbered argonot backing.
1921
+ * Argonots held for the vault, with reward commitments and cross-chain encumbrances.
1846
1922
  **/
1847
- argonotCommitmentByVaultId: AugmentedQuery<
1923
+ argonotSecuritizationByVaultId: AugmentedQuery<
1848
1924
  ApiType,
1849
1925
  (
1850
1926
  arg: u32 | AnyNumber | Uint8Array,
1851
- ) => Observable<Option<ArgonPrimitivesVaultVaultArgonotCommitment>>,
1927
+ ) => Observable<Option<ArgonPrimitivesVaultVaultArgonotSecuritization>>,
1852
1928
  [u32]
1853
1929
  >;
1854
1930
  /**
@@ -1899,6 +1975,10 @@ declare module '@polkadot/api-base/types/storage' {
1899
1975
  [u32]
1900
1976
  >;
1901
1977
  revenuePerFrameByVaultCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1978
+ /**
1979
+ * Raw securitization across all open vaults, including those below the payout cutoff.
1980
+ **/
1981
+ totalVaultSecuritization: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1902
1982
  /**
1903
1983
  * The vaults that have funds releasing at a given bitcoin height
1904
1984
  **/
@@ -1924,12 +2004,18 @@ declare module '@polkadot/api-base/types/storage' {
1924
2004
  [u32]
1925
2005
  >;
1926
2006
  /**
1927
- * Vaults whose temporary operational minimum may be released at a given tick.
2007
+ * Open vaults ordered by raw securitization (largest first), then vault ID.
1928
2008
  **/
1929
- vaultsReleasingOperationalMinimumByTick: AugmentedQuery<
2009
+ vaultSecuritizationRanks: AugmentedQuery<
1930
2010
  ApiType,
1931
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>,
1932
- [u64]
2011
+ (
2012
+ arg:
2013
+ | ArgonPrimitivesAmountRankAmountRankKey
2014
+ | { descendingAmount?: any; orderedId?: any }
2015
+ | string
2016
+ | Uint8Array,
2017
+ ) => Observable<Option<Null>>,
2018
+ [ArgonPrimitivesAmountRankAmountRankKey]
1933
2019
  >;
1934
2020
  /**
1935
2021
  * Vault Bitcoin Xpub and current child counter by VaultId
@@ -23,7 +23,11 @@ import type {
23
23
  u64,
24
24
  } from '@polkadot/types-codec';
25
25
  import type { AnyNumber, Codec } from '@polkadot/types-codec/types';
26
- import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
26
+ import type {
27
+ ExtrinsicOrHash,
28
+ ExtrinsicStatus,
29
+ GeneratedSessionKeys,
30
+ } from '@polkadot/types/interfaces/author';
27
31
  import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
28
32
  import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/beefy';
29
33
  import type { BlockHash } from '@polkadot/types/interfaces/chain';
@@ -61,7 +65,7 @@ import type {
61
65
  JustificationNotification,
62
66
  ReportedRoundStates,
63
67
  } from '@polkadot/types/interfaces/grandpa';
64
- import type { MmrHash, MmrLeafBatchProof } from '@polkadot/types/interfaces/mmr';
68
+ import type { MmrAncestryProof, MmrHash, MmrLeafBatchProof } from '@polkadot/types/interfaces/mmr';
65
69
  import type { StorageKind } from '@polkadot/types/interfaces/offchain';
66
70
  import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
67
71
  import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
@@ -140,6 +144,12 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
140
144
  * Generate new session keys and returns the corresponding public keys
141
145
  **/
142
146
  rotateKeys: AugmentedRpc<() => Observable<Bytes>>;
147
+ /**
148
+ * Generate new session keys and returns the corresponding public keys and owner proof
149
+ **/
150
+ rotateKeysWithOwner: AugmentedRpc<
151
+ (owner: Bytes | string | Uint8Array) => Observable<GeneratedSessionKeys>
152
+ >;
143
153
  /**
144
154
  * Submit and subscribe to watch an extrinsic until unsubscribed
145
155
  **/
@@ -721,6 +731,16 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
721
731
  subscribeJustifications: AugmentedRpc<() => Observable<JustificationNotification>>;
722
732
  };
723
733
  mmr: {
734
+ /**
735
+ * Generate an MMR ancestry proof for the given block number.
736
+ **/
737
+ generateAncestryProof: AugmentedRpc<
738
+ (
739
+ prevBlockNumber: u64 | AnyNumber | Uint8Array,
740
+ bestKnownBlockNumber?: u64 | AnyNumber | Uint8Array,
741
+ at?: BlockHash | string | Uint8Array,
742
+ ) => Observable<MmrAncestryProof>
743
+ >;
724
744
  /**
725
745
  * Generate MMR proof for the given block numbers.
726
746
  **/
@@ -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