Skip to content

Commit

Permalink
trait docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nanocryk committed Oct 9, 2023
1 parent 77d1df3 commit 1ce68e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions primitives/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ pub mod well_known_keys {
&hex_literal::hex!["cec5070d609dd3497f72bde07fc96ba072763800a36a99fdfc7c10f6415f6ee6"];
}

/// Distribute rewards to an account.
pub trait DistributeRewards<AccountId, Balance> {
fn distribute_rewards(rewarded: AccountId, amount: Balance) -> DispatchResultWithPostInfo;
}

0 comments on commit 1ce68e8

Please sign in to comment.