diff --git a/substrate/frame/asset-rewards/src/lib.rs b/substrate/frame/asset-rewards/src/lib.rs index 1b7e9c2f0198146d0a6f75c0bf4e5e7120a65f4c..d3f084d0cfdc040590bd9e348e4ffd8cfffb6bd9 100644 --- a/substrate/frame/asset-rewards/src/lib.rs +++ b/substrate/frame/asset-rewards/src/lib.rs @@ -377,7 +377,7 @@ pub mod pallet { Ok(()) } - /// Stake tokens in a pool. + /// Stake additional tokens in a pool. /// /// A freeze is placed on the staked tokens. #[pallet::call_index(1)] @@ -491,6 +491,8 @@ pub mod pallet { } /// Modify a pool reward rate. + /// + /// Only the pool admin may perform this operation. #[pallet::call_index(4)] pub fn set_pool_reward_rate_per_block( origin: OriginFor<T>, @@ -518,6 +520,8 @@ pub mod pallet { } /// Modify a pool admin. + /// + /// Only the pool admin may perform this operation. #[pallet::call_index(5)] pub fn set_pool_admin( origin: OriginFor<T>, @@ -538,6 +542,8 @@ pub mod pallet { } /// Modify a expiry block. + /// + /// Only the pool admin may perform this operation. #[pallet::call_index(6)] pub fn set_pool_expiry_block( origin: OriginFor<T>, @@ -591,6 +597,8 @@ pub mod pallet { } /// Permissioned method to withdraw reward tokens from a pool. + /// + /// Only the pool admin may perform this operation. #[pallet::call_index(8)] pub fn withdraw_reward_tokens( origin: OriginFor<T>,