mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
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:
committed by
GitHub
parent
8ae4faba51
commit
bbabb17426
@@ -660,11 +660,12 @@ decl_event! {
|
||||
<T as frame_system::Trait>::AccountId,
|
||||
<T as frame_system::Trait>::Hash
|
||||
{
|
||||
/// Contract deployed by address at the specified address.
|
||||
/// Contract deployed by address at the specified address. [owner, contract]
|
||||
Instantiated(AccountId, AccountId),
|
||||
|
||||
/// Contract has been evicted and is now in tombstone state.
|
||||
///
|
||||
/// [contract, tombstone]
|
||||
///
|
||||
/// # Params
|
||||
///
|
||||
/// - `contract`: `AccountId`: The account ID of the evicted contract.
|
||||
@@ -672,7 +673,8 @@ decl_event! {
|
||||
Evicted(AccountId, bool),
|
||||
|
||||
/// Restoration for a contract has been successful.
|
||||
///
|
||||
/// [donor, dest, code_hash, rent_allowance]
|
||||
///
|
||||
/// # Params
|
||||
///
|
||||
/// - `donor`: `AccountId`: Account ID of the restoring contract
|
||||
@@ -682,12 +684,14 @@ decl_event! {
|
||||
Restored(AccountId, AccountId, Hash, Balance),
|
||||
|
||||
/// Code with the specified hash has been stored.
|
||||
/// [code_hash]
|
||||
CodeStored(Hash),
|
||||
|
||||
/// Triggered when the current schedule is updated.
|
||||
/// Triggered when the current [schedule] is updated.
|
||||
ScheduleUpdated(u32),
|
||||
|
||||
/// An event deposited upon execution of a contract from the account.
|
||||
/// [account, data]
|
||||
ContractExecution(AccountId, Vec<u8>),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user