Skip to content

Commit

Permalink
change(pallet-assets): apply change in documentation suggestion by @m…
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Nov 27, 2024
1 parent 498990d commit 3d79a10
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions substrate/frame/assets/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,10 @@ impl AccountStatus {

#[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, MaxEncodedLen, TypeInfo)]
pub struct AssetAccount<Balance, DepositBalance, Extra, AccountId> {
/// The `free` balance of an asset account, which can be potentially used for an account, if
/// certain constraints are met.
/// The account's balance.
///
/// This balance is not the same as the _reducible_/_spendable_ balance of the asset account
/// (calculated on [`Pallet::reducible_balance`], and depends on freezes, defined on
/// [`Config::Freezer`], if any), and it's not the same as the _balance on hold_ (which depends
/// on [`Config::Holder`], if any).
/// The part of the `balance` may be frozen by the [`Config::Freezer`]. The on-hold portion is
/// not included here and is tracked by the [`Config::Holder`].
pub(super) balance: Balance,
/// The status of the account.
pub(super) status: AccountStatus,
Expand Down

0 comments on commit 3d79a10

Please sign in to comment.