@@ -7,7 +7,7 @@ import type { Data } from 'https://deno.land/x/polkadot/types/mod.ts';
7
7
import type { Bytes , Compact , Option , U8aFixed , Vec , bool , u128 , u16 , u32 , u64 , u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts' ;
8
8
import type { AnyNumber , IMethod , ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts' ;
9
9
import type { AccountId32 , Call , H256 , MultiAddress , Perbill , Percent , Perquintill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts' ;
10
- import type { FrameSupportPreimagesBounded , FrameSupportScheduleDispatchTime , FrameSupportTokensFungibleUnionOfNativeOrWithId , KitchensinkRuntimeOriginCaller , KitchensinkRuntimeProxyType , KitchensinkRuntimeRuntimeParameters , KitchensinkRuntimeSessionKeys , PalletAllianceCid , PalletAllianceDisbandWitness , PalletAllianceUnscrupulousItem , PalletBalancesAdjustmentDirection , PalletBrokerConfigRecord , PalletBrokerCoreMask , PalletBrokerFinality , PalletBrokerOnDemandRevenueRecord , PalletBrokerRegionId , PalletBrokerScheduleItem , PalletContractsWasmDeterminism , PalletConvictionVotingConviction , PalletConvictionVotingVoteAccountVote , PalletCoreFellowshipParamsTypeOption , PalletCoreFellowshipParamsTypeU128 , PalletCoreFellowshipWish , PalletDemocracyConviction , PalletDemocracyMetadataOwner , PalletDemocracyVoteAccountVote , PalletElectionProviderMultiPhaseRawSolution , PalletElectionProviderMultiPhaseSolutionOrSnapshotSize , PalletElectionsPhragmenRenouncing , PalletIdentityJudgement , PalletIdentityLegacyIdentityInfo , PalletImOnlineHeartbeat , PalletImOnlineSr25519AppSr25519Signature , PalletMigrationsHistoricCleanupSelector , PalletMigrationsMigrationCursor , PalletMixnetRegistration , PalletMultisigTimepoint , PalletNftsAttributeNamespace , PalletNftsCancelAttributesApprovalWitness , PalletNftsCollectionConfig , PalletNftsDestroyWitness , PalletNftsItemConfig , PalletNftsItemTip , PalletNftsMintSettings , PalletNftsMintWitness , PalletNftsPreSignedAttributes , PalletNftsPreSignedMint , PalletNftsPriceWithDirection , PalletNominationPoolsBondExtra , PalletNominationPoolsClaimPermission , PalletNominationPoolsCommissionChangeRate , PalletNominationPoolsCommissionClaimPermission , PalletNominationPoolsConfigOpAccountId32 , PalletNominationPoolsConfigOpPerbill , PalletNominationPoolsConfigOpU128 , PalletNominationPoolsConfigOpU32 , PalletNominationPoolsPoolState , PalletStakingPalletConfigOpPerbill , PalletStakingPalletConfigOpPercent , PalletStakingPalletConfigOpU128 , PalletStakingPalletConfigOpU32 , PalletStakingRewardDestination , PalletStakingUnlockChunk , PalletStakingValidatorPrefs , PalletStateTrieMigrationMigrationLimits , PalletStateTrieMigrationMigrationTask , PalletStateTrieMigrationProgress , PalletUniquesDestroyWitness , PalletVestingVestingInfo , SpConsensusBabeDigestsNextConfigDescriptor , SpConsensusBeefyDoubleVotingProof , SpConsensusGrandpaEquivocationProof , SpConsensusSlotsEquivocationProof , SpMixnetAppSignature , SpNposElectionsElectionScore , SpNposElectionsSupport , SpRuntimeMultiSignature , SpSessionMembershipProof , SpTransactionStorageProofTransactionStorageProof , SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
10
+ import type { FrameSupportPreimagesBounded , FrameSupportScheduleDispatchTime , FrameSupportTokensFungibleUnionOfNativeOrWithId , KitchensinkRuntimeOriginCaller , KitchensinkRuntimeProxyType , KitchensinkRuntimeRuntimeParameters , KitchensinkRuntimeSessionKeys , PalletAllianceCid , PalletAllianceDisbandWitness , PalletAllianceUnscrupulousItem , PalletBalancesAdjustmentDirection , PalletBrokerConfigRecord , PalletBrokerCoreMask , PalletBrokerFinality , PalletBrokerOnDemandRevenueRecord , PalletBrokerRegionId , PalletBrokerScheduleItem , PalletContractsWasmDeterminism , PalletConvictionVotingConviction , PalletConvictionVotingVoteAccountVote , PalletCoreFellowshipParamsTypeOption , PalletCoreFellowshipParamsTypeU128 , PalletCoreFellowshipWish , PalletDemocracyConviction , PalletDemocracyMetadataOwner , PalletDemocracyVoteAccountVote , PalletElectionProviderMultiPhaseRawSolution , PalletElectionProviderMultiPhaseSolutionOrSnapshotSize , PalletElectionsPhragmenRenouncing , PalletIdentityJudgement , PalletIdentityLegacyIdentityInfo , PalletImOnlineHeartbeat , PalletImOnlineSr25519AppSr25519Signature , PalletMigrationsHistoricCleanupSelector , PalletMigrationsMigrationCursor , PalletMixnetRegistration , PalletMultisigTimepoint , PalletNftsAttributeNamespace , PalletNftsCancelAttributesApprovalWitness , PalletNftsCollectionConfig , PalletNftsDestroyWitness , PalletNftsItemConfig , PalletNftsItemTip , PalletNftsMintSettings , PalletNftsMintWitness , PalletNftsPreSignedAttributes , PalletNftsPreSignedMint , PalletNftsPriceWithDirection , PalletNominationPoolsBondExtra , PalletNominationPoolsClaimPermission , PalletNominationPoolsCommissionChangeRate , PalletNominationPoolsCommissionClaimPermission , PalletNominationPoolsConfigOpAccountId32 , PalletNominationPoolsConfigOpPerbill , PalletNominationPoolsConfigOpU128 , PalletNominationPoolsConfigOpU32 , PalletNominationPoolsPoolState , PalletStakingPalletConfigOpPerbill , PalletStakingPalletConfigOpPercent , PalletStakingPalletConfigOpU128 , PalletStakingPalletConfigOpU32 , PalletStakingRewardDestination , PalletStakingUnlockChunk , PalletStakingValidatorPrefs , PalletStateTrieMigrationMigrationLimits , PalletStateTrieMigrationMigrationTask , PalletStateTrieMigrationProgress , PalletUniquesDestroyWitness , PalletVestingVestingInfo , SpConsensusBabeDigestsNextConfigDescriptor , SpConsensusBeefyDoubleVotingProof , SpConsensusBeefyForkVotingProof , SpConsensusBeefyFutureBlockVotingProof , SpConsensusGrandpaEquivocationProof , SpConsensusSlotsEquivocationProof , SpMixnetAppSignature , SpNposElectionsElectionScore , SpNposElectionsSupport , SpRuntimeMultiSignature , SpSessionMembershipProof , SpTransactionStorageProofTransactionStorageProof , SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
11
11
12
12
export type __AugmentedSubmittable = AugmentedSubmittable < ( ) => unknown > ;
13
13
export type __SubmittableExtrinsic < ApiType extends ApiTypes > = SubmittableExtrinsic < ApiType > ;
@@ -985,7 +985,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
985
985
* against the extracted offender. If both are valid, the offence
986
986
* will be reported.
987
987
**/
988
- reportEquivocation : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyDoubleVotingProof | { first ?: any ; second ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyDoubleVotingProof , SpSessionMembershipProof ] > ;
988
+ reportDoubleVoting : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyDoubleVotingProof | { first ?: any ; second ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyDoubleVotingProof , SpSessionMembershipProof ] > ;
989
989
/**
990
990
* Report voter equivocation/misbehavior. This method will verify the
991
991
* equivocation proof and validate the given key ownership proof
@@ -997,7 +997,41 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
997
997
* if the block author is defined it will be defined as the equivocation
998
998
* reporter.
999
999
**/
1000
- reportEquivocationUnsigned : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyDoubleVotingProof | { first ?: any ; second ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyDoubleVotingProof , SpSessionMembershipProof ] > ;
1000
+ reportDoubleVotingUnsigned : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyDoubleVotingProof | { first ?: any ; second ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyDoubleVotingProof , SpSessionMembershipProof ] > ;
1001
+ /**
1002
+ * Report fork voting equivocation. This method will verify the equivocation proof
1003
+ * and validate the given key ownership proof against the extracted offender.
1004
+ * If both are valid, the offence will be reported.
1005
+ **/
1006
+ reportForkVoting : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyForkVotingProof | { vote ?: any ; ancestryProof ?: any ; header ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyForkVotingProof , SpSessionMembershipProof ] > ;
1007
+ /**
1008
+ * Report fork voting equivocation. This method will verify the equivocation proof
1009
+ * and validate the given key ownership proof against the extracted offender.
1010
+ * If both are valid, the offence will be reported.
1011
+ *
1012
+ * This extrinsic must be called unsigned and it is expected that only
1013
+ * block authors will call it (validated in `ValidateUnsigned`), as such
1014
+ * if the block author is defined it will be defined as the equivocation
1015
+ * reporter.
1016
+ **/
1017
+ reportForkVotingUnsigned : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyForkVotingProof | { vote ?: any ; ancestryProof ?: any ; header ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyForkVotingProof , SpSessionMembershipProof ] > ;
1018
+ /**
1019
+ * Report future block voting equivocation. This method will verify the equivocation proof
1020
+ * and validate the given key ownership proof against the extracted offender.
1021
+ * If both are valid, the offence will be reported.
1022
+ **/
1023
+ reportFutureBlockVoting : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyFutureBlockVotingProof | { vote ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyFutureBlockVotingProof , SpSessionMembershipProof ] > ;
1024
+ /**
1025
+ * Report future block voting equivocation. This method will verify the equivocation proof
1026
+ * and validate the given key ownership proof against the extracted offender.
1027
+ * If both are valid, the offence will be reported.
1028
+ *
1029
+ * This extrinsic must be called unsigned and it is expected that only
1030
+ * block authors will call it (validated in `ValidateUnsigned`), as such
1031
+ * if the block author is defined it will be defined as the equivocation
1032
+ * reporter.
1033
+ **/
1034
+ reportFutureBlockVotingUnsigned : AugmentedSubmittable < ( equivocationProof : SpConsensusBeefyFutureBlockVotingProof | { vote ?: any } | string | Uint8Array , keyOwnerProof : SpSessionMembershipProof | { session ?: any ; trieNodes ?: any ; validatorCount ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ SpConsensusBeefyFutureBlockVotingProof , SpSessionMembershipProof ] > ;
1001
1035
/**
1002
1036
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
1003
1037
* future.
0 commit comments