@@ -161,55 +161,55 @@ impl<A, I> From<RawEvent<A, I>> for () {
161161
162162decl_storage ! {
163163 trait Store for Module <T : Trait > as Balances {
164- // The total amount of stake on the system.
164+ /// The total amount of stake on the system.
165165 pub TotalIssuance get( total_stake) : required T :: Balance ;
166- // The minimum amount allowed to keep an account open.
166+ /// The minimum amount allowed to keep an account open.
167167 pub ExistentialDeposit get( existential_deposit) : required T :: Balance ;
168- // The amount credited to a destination's account whose index was reclaimed.
168+ /// The amount credited to a destination's account whose index was reclaimed.
169169 pub ReclaimRebate get( reclaim_rebate) : required T :: Balance ;
170- // The fee required to make a transfer.
170+ /// The fee required to make a transfer.
171171 pub TransferFee get( transfer_fee) : required T :: Balance ;
172- // The fee required to create an account. At least as big as ReclaimRebate.
172+ /// The fee required to create an account. At least as big as ReclaimRebate.
173173 pub CreationFee get( creation_fee) : required T :: Balance ;
174174
175- // The next free enumeration set.
175+ /// The next free enumeration set.
176176 pub NextEnumSet get( next_enum_set) : required T :: AccountIndex ;
177- // The enumeration sets.
177+ /// The enumeration sets.
178178 pub EnumSet get( enum_set) : default map [ T :: AccountIndex => Vec <T :: AccountId > ] ;
179179
180- // The " free" balance of a given account.
181- //
182- // This is the only balance that matters in terms of most operations on tokens. It is
183- // alone used to determine the balance when in the contract execution environment. When this
184- // balance falls below the value of `ExistentialDeposit`, then the " current account" is
185- // deleted: specifically `FreeBalance`. Furthermore, `OnFreeBalanceZero` callback
186- // is invoked, giving a chance to external modules to cleanup data associated with
187- // the deleted account.
188- //
189- // `system::AccountNonce` is also deleted if `ReservedBalance` is also zero (it also gets
190- // collapsed to zero if it ever becomes less than `ExistentialDeposit`.
180+ /// The ' free' balance of a given account.
181+ ///
182+ /// This is the only balance that matters in terms of most operations on tokens. It is
183+ /// alone used to determine the balance when in the contract execution environment. When this
184+ /// balance falls below the value of `ExistentialDeposit`, then the ' current account' is
185+ /// deleted: specifically `FreeBalance`. Furthermore, `OnFreeBalanceZero` callback
186+ /// is invoked, giving a chance to external modules to cleanup data associated with
187+ /// the deleted account.
188+ ///
189+ /// `system::AccountNonce` is also deleted if `ReservedBalance` is also zero (it also gets
190+ /// collapsed to zero if it ever becomes less than `ExistentialDeposit`.
191191 pub FreeBalance get( free_balance) : default map [ T :: AccountId => T :: Balance ] ;
192192
193- // The amount of the balance of a given account that is exterally reserved; this can still get
194- // slashed, but gets slashed last of all.
195- //
196- // This balance is a " reserve" balance that other subsystems use in order to set aside tokens
197- // that are still " owned" by the account holder, but which are unspendable. (This is different
198- // and wholly unrelated to the `Bondage` system used in the staking module.)
199- //
200- // When this balance falls below the value of `ExistentialDeposit`, then this " reserve account"
201- // is deleted: specifically, `ReservedBalance`.
202- //
203- // `system::AccountNonce` is also deleted if `FreeBalance` is also zero (it also gets
204- // collapsed to zero if it ever becomes less than `ExistentialDeposit`.
193+ /// The amount of the balance of a given account that is exterally reserved; this can still get
194+ /// slashed, but gets slashed last of all.
195+ ///
196+ /// This balance is a ' reserve' balance that other subsystems use in order to set aside tokens
197+ /// that are still ' owned' by the account holder, but which are unspendable. (This is different
198+ /// and wholly unrelated to the `Bondage` system used in the staking module.)
199+ ///
200+ /// When this balance falls below the value of `ExistentialDeposit`, then this ' reserve account'
201+ /// is deleted: specifically, `ReservedBalance`.
202+ ///
203+ /// `system::AccountNonce` is also deleted if `FreeBalance` is also zero (it also gets
204+ /// collapsed to zero if it ever becomes less than `ExistentialDeposit`.
205205 pub ReservedBalance get( reserved_balance) : default map [ T :: AccountId => T :: Balance ] ;
206206
207207
208208 // Payment stuff.
209209
210- // The fee to be paid for making a transaction; the base.
210+ /// The fee to be paid for making a transaction; the base.
211211 pub TransactionBaseFee get( transaction_base_fee) : required T :: Balance ;
212- // The fee to be paid for making a transaction; the per-byte portion.
212+ /// The fee to be paid for making a transaction; the per-byte portion.
213213 pub TransactionByteFee get( transaction_byte_fee) : required T :: Balance ;
214214 }
215215}
0 commit comments