@@ -10,6 +10,7 @@ import type { Bytes, Null, Option, Result, U64, Vec, bool, u128, u32 } from '@po
1010import type { AnyNumber , IMethod , ITuple } from '@polkadot/types-codec/types' ;
1111import type { TAssetBalance } from '@polkadot/types/interfaces/assets' ;
1212import type { BabeEquivocationProof , BabeGenesisConfiguration , Epoch , OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe' ;
13+ import type { ValidatorSet , ValidatorSetId } from '@polkadot/types/interfaces/beefy' ;
1314import type { CheckInherentsResult , InherentData } from '@polkadot/types/interfaces/blockbuilder' ;
1415import type { BlockHash } from '@polkadot/types/interfaces/chain' ;
1516import type { AuthorityId } from '@polkadot/types/interfaces/consensus' ;
@@ -28,7 +29,7 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
2829import type { StatementStoreInvalidStatement , StatementStoreStatementSource , StatementStoreValidStatement } from '@polkadot/types/interfaces/statement' ;
2930import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system' ;
3031import type { TransactionSource , TransactionValidity } from '@polkadot/types/interfaces/txqueue' ;
31- import type { SpStatementStoreStatement , StagingXcmV3MultiLocation } from '@polkadot/types/lookup' ;
32+ import type { SpConsensusBeefyDoubleVotingProof , SpStatementStoreStatement , StagingXcmV3MultiLocation } from '@polkadot/types/lookup' ;
3233import type { IExtrinsic , Observable } from '@polkadot/types/types' ;
3334
3435export type __AugmentedCall < ApiType extends ApiTypes > = AugmentedCall < ApiType > ;
@@ -119,6 +120,29 @@ declare module '@polkadot/api-base/types/calls' {
119120 **/
120121 [ key : string ] : DecoratedCallBase < ApiType > ;
121122 } ;
123+ /** 0x49eaaf1b548a0cb0/4 */
124+ beefyApi : {
125+ /**
126+ * Return the block number where BEEFY consensus is enabled/started
127+ **/
128+ beefyGenesis : AugmentedCall < ApiType , ( ) => Observable < Option < BlockNumber > > > ;
129+ /**
130+ * Generates a proof of key ownership for the given authority in the given set.
131+ **/
132+ generateKeyOwnershipProof : AugmentedCall < ApiType , ( setId : ValidatorSetId | AnyNumber | Uint8Array , authorityId : AuthorityId | string | Uint8Array ) => Observable < Option < OpaqueKeyOwnershipProof > > > ;
133+ /**
134+ * Submits an unsigned extrinsic to report a double voting equivocation.
135+ **/
136+ submitReportDoubleVotingUnsignedExtrinsic : AugmentedCall < ApiType , ( equivocationProof : SpConsensusBeefyDoubleVotingProof | { first ?: any ; second ?: any } | string | Uint8Array , keyOwnerProof : OpaqueKeyOwnershipProof | string | Uint8Array ) => Observable < Option < Null > > > ;
137+ /**
138+ * Return the current active BEEFY validator set
139+ **/
140+ validatorSet : AugmentedCall < ApiType , ( ) => Observable < Option < ValidatorSet > > > ;
141+ /**
142+ * Generic call
143+ **/
144+ [ key : string ] : DecoratedCallBase < ApiType > ;
145+ } ;
122146 /** 0x40fe3ad401f8959a/6 */
123147 blockBuilder : {
124148 /**
0 commit comments