@argonprotocol/mainchain 0.0.23 → 0.0.25

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.
Files changed (29) hide show
  1. package/lib/cjs/interfaces/augment-api-consts.d.ts +1 -1
  2. package/lib/cjs/interfaces/augment-api-errors.d.ts +4 -0
  3. package/lib/cjs/interfaces/augment-api-query.d.ts +4 -2
  4. package/lib/cjs/interfaces/augment-api-tx.d.ts +1 -1
  5. package/lib/cjs/interfaces/lookup.d.ts +214 -188
  6. package/lib/cjs/interfaces/lookup.js +217 -191
  7. package/lib/cjs/interfaces/lookup.js.map +1 -1
  8. package/lib/cjs/interfaces/registry.d.ts +4 -1
  9. package/lib/cjs/interfaces/types-lookup.d.ts +213 -189
  10. package/lib/esm/interfaces/augment-api-consts.d.ts +1 -1
  11. package/lib/esm/interfaces/augment-api-errors.d.ts +4 -0
  12. package/lib/esm/interfaces/augment-api-query.d.ts +4 -2
  13. package/lib/esm/interfaces/augment-api-tx.d.ts +1 -1
  14. package/lib/esm/interfaces/lookup.d.ts +214 -188
  15. package/lib/esm/interfaces/lookup.js +217 -191
  16. package/lib/esm/interfaces/lookup.js.map +1 -1
  17. package/lib/esm/interfaces/registry.d.ts +4 -1
  18. package/lib/esm/interfaces/types-lookup.d.ts +213 -189
  19. package/lib/tsconfig-cjs.tsbuildinfo +1 -1
  20. package/lib/tsconfig-types.tsbuildinfo +1 -1
  21. package/lib/tsconfig.tsbuildinfo +1 -1
  22. package/lib/types/interfaces/augment-api-consts.d.ts +1 -1
  23. package/lib/types/interfaces/augment-api-errors.d.ts +4 -0
  24. package/lib/types/interfaces/augment-api-query.d.ts +4 -2
  25. package/lib/types/interfaces/augment-api-tx.d.ts +1 -1
  26. package/lib/types/interfaces/lookup.d.ts +214 -188
  27. package/lib/types/interfaces/registry.d.ts +4 -1
  28. package/lib/types/interfaces/types-lookup.d.ts +213 -189
  29. package/package.json +4 -4
@@ -48,7 +48,7 @@ declare module '@polkadot/api-base/types/consts' {
48
48
  };
49
49
  blockRewards: {
50
50
  /**
51
- * The block number at which the halving begins for ownership shares
51
+ * The block number at which the halving begins for ownership tokens
52
52
  **/
53
53
  halvingBeginBlock: u32 & AugmentedConst<ApiType>;
54
54
  /**
@@ -101,6 +101,10 @@ declare module '@polkadot/api-base/types/errors' {
101
101
  };
102
102
  blockRewards: {};
103
103
  blockSeal: {
104
+ /**
105
+ * A block seal authority could not be properly decoded
106
+ **/
107
+ BlockSealDecodeError: AugmentedError<ApiType>;
104
108
  /**
105
109
  * The vote signature was invalid
106
110
  **/
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
3
3
  import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesBond, ArgonPrimitivesBondVault, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBondUtxoCosignRequest, PalletBondUtxoState, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
6
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesBond, ArgonPrimitivesBondVault, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBondUtxoCosignRequest, PalletBondUtxoState, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
7
7
  import type { Observable } from '@polkadot/types/types';
8
8
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
9
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -383,7 +383,7 @@ declare module '@polkadot/api-base/types/storage' {
383
383
  /**
384
384
  * The number of bids per slot for the last 10 slots (newest first)
385
385
  **/
386
- historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
386
+ historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, []>;
387
387
  /**
388
388
  * Is the next slot still open for bids
389
389
  **/
@@ -407,6 +407,7 @@ declare module '@polkadot/api-base/types/storage' {
407
407
  ownershipBondAmount: AugmentedQuery<ApiType, () => Observable<u128>, []>;
408
408
  };
409
409
  mint: {
410
+ blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, []>;
410
411
  mintedBitcoinArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
411
412
  mintedMiningArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
412
413
  /**
@@ -646,6 +647,7 @@ declare module '@polkadot/api-base/types/storage' {
646
647
  };
647
648
  ticks: {
648
649
  currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
650
+ genesisTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
649
651
  genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, []>;
650
652
  /**
651
653
  * Blocks from the last 100 ticks. Trimmed in on_initialize.
@@ -384,7 +384,7 @@ declare module '@polkadot/api-base/types/submittable' {
384
384
  * this event, you will be able to ensure your bid is accepted.
385
385
  *
386
386
  * NOTE: bidding for each slot will be closed at a random block within
387
- * `BlocksBeforeBidEndForVrfClose` blocks of the slot end time.
387
+ * `mining_config.blocks_before_bid_end_for_vrf_close` blocks of the slot end time.
388
388
  *
389
389
  * The slot duration can be calculated as `BlocksBetweenSlots * MaxMiners / MaxCohortSize`.
390
390
  *