Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: add native balance to calls
  • Loading branch information
wischli committed Apr 3, 2023
commit fdeefbda884fb5373311e734218b92b8e83be7c6
6 changes: 3 additions & 3 deletions frame/asset-rate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ pub mod pallet {

#[pallet::call]
impl<T: Config> Pallet<T> {
/// Initialize a conversion rate for the given asset.
/// Initialize a conversion rate to native balance for the given asset.
///
/// ## Complexity
/// - O(1)
Expand All @@ -177,7 +177,7 @@ pub mod pallet {
Ok(())
}

/// Update the conversion rate for the given asset.
/// Update the conversion rate to native balance for the given asset.
///
/// ## Complexity
/// - O(1)
Expand Down Expand Up @@ -206,7 +206,7 @@ pub mod pallet {
Ok(())
}

/// Remove an existing conversion rate for the given asset.
/// Remove an existing conversion rate to native balance for the given asset.
///
/// ## Complexity
/// - O(1)
Expand Down