Skip to content
Snippets Groups Projects
Unverified Commit 905e102f authored by Liam Aharon's avatar Liam Aharon
Browse files

update call comment

parent af92541e
Branches
No related merge requests found
Pipeline #466402 failed with stages
in 50 minutes and 16 seconds
...@@ -377,7 +377,7 @@ pub mod pallet { ...@@ -377,7 +377,7 @@ pub mod pallet {
Ok(()) Ok(())
} }
/// Stake tokens in a pool. /// Stake additional tokens in a pool.
/// ///
/// A freeze is placed on the staked tokens. /// A freeze is placed on the staked tokens.
#[pallet::call_index(1)] #[pallet::call_index(1)]
...@@ -491,6 +491,8 @@ pub mod pallet { ...@@ -491,6 +491,8 @@ pub mod pallet {
} }
/// Modify a pool reward rate. /// Modify a pool reward rate.
///
/// Only the pool admin may perform this operation.
#[pallet::call_index(4)] #[pallet::call_index(4)]
pub fn set_pool_reward_rate_per_block( pub fn set_pool_reward_rate_per_block(
origin: OriginFor<T>, origin: OriginFor<T>,
...@@ -518,6 +520,8 @@ pub mod pallet { ...@@ -518,6 +520,8 @@ pub mod pallet {
} }
/// Modify a pool admin. /// Modify a pool admin.
///
/// Only the pool admin may perform this operation.
#[pallet::call_index(5)] #[pallet::call_index(5)]
pub fn set_pool_admin( pub fn set_pool_admin(
origin: OriginFor<T>, origin: OriginFor<T>,
...@@ -538,6 +542,8 @@ pub mod pallet { ...@@ -538,6 +542,8 @@ pub mod pallet {
} }
/// Modify a expiry block. /// Modify a expiry block.
///
/// Only the pool admin may perform this operation.
#[pallet::call_index(6)] #[pallet::call_index(6)]
pub fn set_pool_expiry_block( pub fn set_pool_expiry_block(
origin: OriginFor<T>, origin: OriginFor<T>,
...@@ -591,6 +597,8 @@ pub mod pallet { ...@@ -591,6 +597,8 @@ pub mod pallet {
} }
/// Permissioned method to withdraw reward tokens from a pool. /// Permissioned method to withdraw reward tokens from a pool.
///
/// Only the pool admin may perform this operation.
#[pallet::call_index(8)] #[pallet::call_index(8)]
pub fn withdraw_reward_tokens( pub fn withdraw_reward_tokens(
origin: OriginFor<T>, origin: OriginFor<T>,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment