@@ -1238,28 +1238,30 @@ decl_storage! {
1238
1238
decl_event ! (
1239
1239
pub enum Event <T > where Balance = BalanceOf <T >, <T as frame_system:: Trait >:: AccountId {
1240
1240
/// The era payout has been set; the first balance is the validator-payout; the second is
1241
- /// the remainder from the maximum amount of reward.
1241
+ /// the remainder from the maximum amount of reward.
1242
+ /// [era_index, validator_payout, remainder]
1242
1243
EraPayout ( EraIndex , Balance , Balance ) ,
1243
- /// The staker has been rewarded by this amount. `AccountId` is the stash account.
1244
+ /// The staker has been rewarded by this amount. [ stash, amount]
1244
1245
Reward ( AccountId , Balance ) ,
1245
- /// One validator (and its nominators) has been slashed by the given amount.
1246
+ /// One validator (and its nominators) has been slashed by the given amount.
1247
+ /// [validator, amount]
1246
1248
Slash ( AccountId , Balance ) ,
1247
1249
/// An old slashing report from a prior era was discarded because it could
1248
- /// not be processed.
1250
+ /// not be processed. [session_index]
1249
1251
OldSlashingReportDiscarded ( SessionIndex ) ,
1250
- /// A new set of stakers was elected with the given computation method .
1252
+ /// A new set of stakers was elected with the given [compute] .
1251
1253
StakingElection ( ElectionCompute ) ,
1252
- /// A new solution for the upcoming election has been stored.
1254
+ /// A new solution for the upcoming election has been stored. [compute]
1253
1255
SolutionStored ( ElectionCompute ) ,
1254
- /// An account has bonded this amount.
1256
+ /// An account has bonded this amount. [stash, amount]
1255
1257
///
1256
1258
/// NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
1257
1259
/// it will not be emitted for staking rewards when they are added to stake.
1258
1260
Bonded ( AccountId , Balance ) ,
1259
- /// An account has unbonded this amount.
1261
+ /// An account has unbonded this amount. [stash, amount]
1260
1262
Unbonded ( AccountId , Balance ) ,
1261
1263
/// An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
1262
- /// from the unlocking queue.
1264
+ /// from the unlocking queue. [stash, amount]
1263
1265
Withdrawn ( AccountId , Balance ) ,
1264
1266
}
1265
1267
) ;
0 commit comments