@argonprotocol/mainchain 0.0.24 → 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.
- package/lib/cjs/interfaces/augment-api-consts.d.ts +1 -1
- package/lib/cjs/interfaces/augment-api-errors.d.ts +4 -0
- package/lib/cjs/interfaces/augment-api-query.d.ts +4 -2
- package/lib/cjs/interfaces/augment-api-tx.d.ts +1 -1
- package/lib/cjs/interfaces/lookup.d.ts +214 -188
- package/lib/cjs/interfaces/lookup.js +217 -191
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/registry.d.ts +4 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +213 -189
- package/lib/esm/interfaces/augment-api-consts.d.ts +1 -1
- package/lib/esm/interfaces/augment-api-errors.d.ts +4 -0
- package/lib/esm/interfaces/augment-api-query.d.ts +4 -2
- package/lib/esm/interfaces/augment-api-tx.d.ts +1 -1
- package/lib/esm/interfaces/lookup.d.ts +214 -188
- package/lib/esm/interfaces/lookup.js +217 -191
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/registry.d.ts +4 -1
- package/lib/esm/interfaces/types-lookup.d.ts +213 -189
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/augment-api-consts.d.ts +1 -1
- package/lib/types/interfaces/augment-api-errors.d.ts +4 -0
- package/lib/types/interfaces/augment-api-query.d.ts +4 -2
- package/lib/types/interfaces/augment-api-tx.d.ts +1 -1
- package/lib/types/interfaces/lookup.d.ts +214 -188
- package/lib/types/interfaces/registry.d.ts +4 -1
- package/lib/types/interfaces/types-lookup.d.ts +213 -189
- 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
|
|
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<
|
|
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
|
-
* `
|
|
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
|
*
|