More app-friendly event description (#6684)

* More app-friendly event description

* change origin -> owner

* checked all decl_event! and changed decriptions.

* annotated parameter names for remaining events
This commit is contained in:
warfollowsme | ryabina.io
2020-07-20 14:13:20 +03:00
committed by GitHub
parent 8ae4faba51
commit bbabb17426
30 changed files with 167 additions and 141 deletions
+8 -7
View File
@@ -243,23 +243,24 @@ decl_event!(
<T as frame_system::Trait>::AccountId,
<T as Trait<I>>::Balance
{
/// An account was created with some free balance.
/// An account was created with some free balance. [account, free_balance]
Endowed(AccountId, Balance),
/// An account was removed whose balance was non-zero but below ExistentialDeposit,
/// resulting in an outright loss.
/// resulting in an outright loss. [account, balance]
DustLost(AccountId, Balance),
/// Transfer succeeded (from, to, value).
/// Transfer succeeded. [from, to, value]
Transfer(AccountId, AccountId, Balance),
/// A balance was set by root (who, free, reserved).
/// A balance was set by root. [who, free, reserved]
BalanceSet(AccountId, Balance, Balance),
/// Some amount was deposited (e.g. for transaction fees).
/// Some amount was deposited (e.g. for transaction fees). [who, deposit]
Deposit(AccountId, Balance),
/// Some balance was reserved (moved from free to reserved).
/// Some balance was reserved (moved from free to reserved). [who, value]
Reserved(AccountId, Balance),
/// Some balance was unreserved (moved from reserved to free).
/// Some balance was unreserved (moved from reserved to free). [who, value]
Unreserved(AccountId, Balance),
/// Some balance was moved from the reserve of the first account to the second account.
/// Final argument indicates the destination balance type.
/// [from, to, balance, destination_status]
ReserveRepatriated(AccountId, AccountId, Balance, Status),
}
);