Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit cdf0064

Browse files
authored
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
1 parent 0c68ba4 commit cdf0064

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -201,17 +201,17 @@ decl_event! {
201201
{
202202
/// Ethereum events from contracts.
203203
Log(Log),
204-
/// A contract has been created at given address.
204+
/// A contract has been created at given [address].
205205
Created(H160),
206-
/// A contract was attempted to be created, but the execution failed.
206+
/// A [contract] was attempted to be created, but the execution failed.
207207
CreatedFailed(H160),
208-
/// A contract has been executed successfully with states applied.
208+
/// A [contract] has been executed successfully with states applied.
209209
Executed(H160),
210-
/// A contract has been executed with errors. States are reverted with only gas fees applied.
210+
/// A [contract] has been executed with errors. States are reverted with only gas fees applied.
211211
ExecutedFailed(H160),
212-
/// A deposit has been made at a given address.
212+
/// A deposit has been made at a given address. [sender, address, value]
213213
BalanceDeposit(AccountId, H160, U256),
214-
/// A withdrawal has been made from a given address.
214+
/// A withdrawal has been made from a given address. [sender, address, value]
215215
BalanceWithdraw(AccountId, H160, U256),
216216
}
217217
}

0 commit comments

Comments
 (0)