@@ -7,7 +7,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
7
7
import type { ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts' ;
8
8
import type { EthereumAddress } from 'https://deno.land/x/polkadot/types/interfaces/eth/index.ts' ;
9
9
import type { AccountId32 , H256 , Perbill , Perquintill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts' ;
10
- import type { FrameSupportDispatchDispatchInfo , FrameSupportDispatchPostDispatchInfo , FrameSupportMessagesProcessMessageError , FrameSupportPreimagesBounded , FrameSupportTokensMiscBalanceStatus , PalletConvictionVotingTally , PalletElectionProviderMultiPhaseElectionCompute , PalletElectionProviderMultiPhasePhase , PalletMultisigTimepoint , PalletNominationPoolsCommissionChangeRate , PalletNominationPoolsCommissionClaimPermission , PalletNominationPoolsPoolState , PalletRankedCollectiveTally , PalletRankedCollectiveVoteRecord , PalletSocietyGroupParams , PalletStakingForcing , PalletStakingRewardDestination , PalletStakingValidatorPrefs , PolkadotParachainPrimitivesPrimitivesHrmpChannelId , PolkadotPrimitivesV7CandidateReceipt , PolkadotRuntimeCommonImplsVersionedLocatableAsset , PolkadotRuntimeParachainsDisputesDisputeLocation , PolkadotRuntimeParachainsDisputesDisputeResult , PolkadotRuntimeParachainsInclusionAggregateMessageOrigin , SpConsensusGrandpaAppPublic , SpNposElectionsElectionScore , SpRuntimeDispatchError , SpRuntimeDispatchErrorWithPostInfo , SpWeightsWeightV2Weight , StagingKusamaRuntimeProxyType , StagingKusamaRuntimeRuntimeParametersKey , StagingKusamaRuntimeRuntimeParametersValue , StagingXcmV4AssetAssets , StagingXcmV4Location , StagingXcmV4Response , StagingXcmV4TraitsOutcome , StagingXcmV4Xcm , XcmV3TraitsError , XcmVersionedAssets , XcmVersionedLocation } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
10
+ import type { FrameSupportDispatchDispatchInfo , FrameSupportDispatchPostDispatchInfo , FrameSupportMessagesProcessMessageError , FrameSupportPreimagesBounded , FrameSupportTokensMiscBalanceStatus , PalletConvictionVotingTally , PalletConvictionVotingVoteAccountVote , PalletElectionProviderMultiPhaseElectionCompute , PalletElectionProviderMultiPhasePhase , PalletMultisigTimepoint , PalletNominationPoolsCommissionChangeRate , PalletNominationPoolsCommissionClaimPermission , PalletNominationPoolsPoolState , PalletRankedCollectiveTally , PalletRankedCollectiveVoteRecord , PalletSocietyGroupParams , PalletStakingForcing , PalletStakingRewardDestination , PalletStakingValidatorPrefs , PolkadotParachainPrimitivesPrimitivesHrmpChannelId , PolkadotPrimitivesV8CandidateReceipt , PolkadotRuntimeCommonImplsVersionedLocatableAsset , PolkadotRuntimeParachainsDisputesDisputeLocation , PolkadotRuntimeParachainsDisputesDisputeResult , PolkadotRuntimeParachainsInclusionAggregateMessageOrigin , SpConsensusGrandpaAppPublic , SpNposElectionsElectionScore , SpRuntimeDispatchError , SpRuntimeDispatchErrorWithPostInfo , SpWeightsWeightV2Weight , StagingKusamaRuntimeProxyType , StagingKusamaRuntimeRuntimeParametersKey , StagingKusamaRuntimeRuntimeParametersValue , StagingXcmV4AssetAssets , StagingXcmV4Location , StagingXcmV4Response , StagingXcmV4TraitsOutcome , StagingXcmV4Xcm , XcmV3TraitsError , XcmVersionedAssets , XcmVersionedLocation } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
11
11
12
12
export type __AugmentedEvent < ApiType extends ApiTypes > = AugmentedEvent < ApiType > ;
13
13
@@ -247,6 +247,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
247
247
* An \[account\] has cancelled a previous delegation operation.
248
248
**/
249
249
Undelegated : AugmentedEvent < ApiType , [ AccountId32 ] > ;
250
+ /**
251
+ * An account that has voted
252
+ **/
253
+ Voted : AugmentedEvent < ApiType , [ who : AccountId32 , vote : PalletConvictionVotingVoteAccountVote ] , { who : AccountId32 , vote : PalletConvictionVotingVoteAccountVote } > ;
254
+ /**
255
+ * A vote that been removed
256
+ **/
257
+ VoteRemoved : AugmentedEvent < ApiType , [ who : AccountId32 , vote : PalletConvictionVotingVoteAccountVote ] , { who : AccountId32 , vote : PalletConvictionVotingVoteAccountVote } > ;
250
258
/**
251
259
* Generic event
252
260
**/
@@ -313,6 +321,28 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
313
321
**/
314
322
[ key : string ] : AugmentedEvent < ApiType > ;
315
323
} ;
324
+ delegatedStaking : {
325
+ /**
326
+ * Funds delegated by a delegator.
327
+ **/
328
+ Delegated : AugmentedEvent < ApiType , [ agent : AccountId32 , delegator : AccountId32 , amount : u128 ] , { agent : AccountId32 , delegator : AccountId32 , amount : u128 } > ;
329
+ /**
330
+ * Unclaimed delegation funds migrated to delegator.
331
+ **/
332
+ MigratedDelegation : AugmentedEvent < ApiType , [ agent : AccountId32 , delegator : AccountId32 , amount : u128 ] , { agent : AccountId32 , delegator : AccountId32 , amount : u128 } > ;
333
+ /**
334
+ * Funds released to a delegator.
335
+ **/
336
+ Released : AugmentedEvent < ApiType , [ agent : AccountId32 , delegator : AccountId32 , amount : u128 ] , { agent : AccountId32 , delegator : AccountId32 , amount : u128 } > ;
337
+ /**
338
+ * Funds slashed from a delegator.
339
+ **/
340
+ Slashed : AugmentedEvent < ApiType , [ agent : AccountId32 , delegator : AccountId32 , amount : u128 ] , { agent : AccountId32 , delegator : AccountId32 , amount : u128 } > ;
341
+ /**
342
+ * Generic event
343
+ **/
344
+ [ key : string ] : AugmentedEvent < ApiType > ;
345
+ } ;
316
346
electionProviderMultiPhase : {
317
347
/**
318
348
* An election failed.
@@ -732,8 +762,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
732
762
* A member has been removed from a pool.
733
763
*
734
764
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
765
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
766
+ * represented by `released_balance`.
735
767
**/
736
- MemberRemoved : AugmentedEvent < ApiType , [ poolId : u32 , member : AccountId32 ] , { poolId : u32 , member : AccountId32 } > ;
768
+ MemberRemoved : AugmentedEvent < ApiType , [ poolId : u32 , member : AccountId32 , releasedBalance : u128 ] , { poolId : u32 , member : AccountId32 , releasedBalance : u128 } > ;
737
769
/**
738
770
* Topped up deficit in frozen ED of the reward pool.
739
771
**/
@@ -841,15 +873,15 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
841
873
/**
842
874
* A candidate was backed. `[candidate, head_data]`
843
875
**/
844
- CandidateBacked : AugmentedEvent < ApiType , [ PolkadotPrimitivesV7CandidateReceipt , Bytes , u32 , u32 ] > ;
876
+ CandidateBacked : AugmentedEvent < ApiType , [ PolkadotPrimitivesV8CandidateReceipt , Bytes , u32 , u32 ] > ;
845
877
/**
846
878
* A candidate was included. `[candidate, head_data]`
847
879
**/
848
- CandidateIncluded : AugmentedEvent < ApiType , [ PolkadotPrimitivesV7CandidateReceipt , Bytes , u32 , u32 ] > ;
880
+ CandidateIncluded : AugmentedEvent < ApiType , [ PolkadotPrimitivesV8CandidateReceipt , Bytes , u32 , u32 ] > ;
849
881
/**
850
882
* A candidate timed out. `[candidate, head_data]`
851
883
**/
852
- CandidateTimedOut : AugmentedEvent < ApiType , [ PolkadotPrimitivesV7CandidateReceipt , Bytes , u32 ] > ;
884
+ CandidateTimedOut : AugmentedEvent < ApiType , [ PolkadotPrimitivesV8CandidateReceipt , Bytes , u32 ] > ;
853
885
/**
854
886
* Some upward messages have been received and will be processed.
855
887
**/
0 commit comments