Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
905e102f
Unverified
Commit
905e102f
authored
11 months ago
by
Liam Aharon
Browse files
Options
Downloads
Patches
Plain Diff
update call comment
parent
af92541e
Branches
Branches containing commit
No related merge requests found
Pipeline
#466402
failed with stages
in 50 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/frame/asset-rewards/src/lib.rs
+9
-1
9 additions, 1 deletion
substrate/frame/asset-rewards/src/lib.rs
with
9 additions
and
1 deletion
substrate/frame/asset-rewards/src/lib.rs
+
9
−
1
View file @
905e102f
...
@@ -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
>
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment