diff --git a/auction/src/lib.rs b/auction/src/lib.rs index 773db9f0a..4af79825b 100644 --- a/auction/src/lib.rs +++ b/auction/src/lib.rs @@ -44,7 +44,7 @@ decl_event!( ::Balance, ::AuctionId, { - /// A bid is placed (auction_id, bidder, bidding_amount) + /// A bid is placed. [auction_id, bidder, bidding_amount] Bid(AuctionId, AccountId, Balance), } ); diff --git a/currencies/src/lib.rs b/currencies/src/lib.rs index 10f55b250..d4fb5b2e4 100644 --- a/currencies/src/lib.rs +++ b/currencies/src/lib.rs @@ -92,13 +92,13 @@ decl_event!( Balance = BalanceOf, CurrencyId = CurrencyIdOf { - /// Currency transfer success (currency_id, from, to, amount) + /// Currency transfer success. [currency_id, from, to, amount] Transferred(CurrencyId, AccountId, AccountId, Balance), - /// Update balance success (currency_id, who, amount) + /// Update balance success. [currency_id, who, amount] BalanceUpdated(CurrencyId, AccountId, Amount), - /// Deposit success (currency_id, who, amount) + /// Deposit success. [currency_id, who, amount] Deposited(CurrencyId, AccountId, Balance), - /// Withdraw success (currency_id, who, amount) + /// Withdraw success. [currency_id, who, amount] Withdrawn(CurrencyId, AccountId, Balance), } ); diff --git a/gradually-update/src/lib.rs b/gradually-update/src/lib.rs index 883dfefc3..b9653b2f0 100644 --- a/gradually-update/src/lib.rs +++ b/gradually-update/src/lib.rs @@ -68,11 +68,11 @@ decl_event!( pub enum Event where ::BlockNumber, { - /// Gradually update added (key, per_block, target_value) + /// Gradually update added. [key, per_block, target_value] GraduallyUpdateAdded(StorageKey, StorageValue, StorageValue), - /// Gradually update cancelled (key) + /// Gradually update cancelled. [key] GraduallyUpdateCancelled(StorageKey), - /// Gradually update applied (block_number, key, target_value) + /// Gradually update applied. [block_number, key, target_value] Updated(BlockNumber, StorageKey, StorageValue), } ); diff --git a/oracle/src/lib.rs b/oracle/src/lib.rs index 1d6382953..8a89195ca 100644 --- a/oracle/src/lib.rs +++ b/oracle/src/lib.rs @@ -188,7 +188,7 @@ decl_event!( ::OracleKey, ::OracleValue, { - /// New feed data is submitted (sender, values) + /// New feed data is submitted. [sender, values] NewFeedData(AccountId, Vec<(OracleKey, OracleValue)>), } ); diff --git a/schedule-update/src/lib.rs b/schedule-update/src/lib.rs index 00804630b..a0ee47a67 100644 --- a/schedule-update/src/lib.rs +++ b/schedule-update/src/lib.rs @@ -34,13 +34,13 @@ decl_event!( pub enum Event where ::BlockNumber, { - /// Add schedule dispatch success (BlockNumber, DispatchId) + /// Add schedule dispatch success. [block_number, dispatch_id] ScheduleDispatch(BlockNumber, DispatchId), - /// Cancel delayed dispatch success (DispatchId) + /// Cancel delayed dispatch success. [dispatch_id] CancelDelayedDispatch(DispatchId), - /// Schedule dispatch success (BlockNumber, DispatchId) + /// Schedule dispatch success. [block_number, dispatch_id] ScheduleDispatchSuccess(BlockNumber, DispatchId), - /// Schedule dispatch failed (DispatchId, DispatchError) + /// Schedule dispatch failed. [dispatch_id, dispatch_error] ScheduleDispatchFail(DispatchId, DispatchError), } ); diff --git a/tokens/src/lib.rs b/tokens/src/lib.rs index 2b5001524..73617ef3b 100644 --- a/tokens/src/lib.rs +++ b/tokens/src/lib.rs @@ -176,7 +176,7 @@ decl_event!( ::CurrencyId, ::Balance { - /// Token transfer success (currency_id, from, to, amount) + /// Token transfer success. [currency_id, from, to, amount] Transferred(CurrencyId, AccountId, AccountId, Balance), } ); diff --git a/vesting/src/lib.rs b/vesting/src/lib.rs index c60185ba6..beda810b3 100644 --- a/vesting/src/lib.rs +++ b/vesting/src/lib.rs @@ -138,11 +138,11 @@ decl_event!( Balance = BalanceOf, VestingSchedule = VestingScheduleOf { - /// Added new vesting schedule (from, to, vesting_schedule) + /// Added new vesting schedule. [from, to, vesting_schedule] VestingScheduleAdded(AccountId, AccountId, VestingSchedule), - /// Claimed vesting (who, locked_amount) + /// Claimed vesting. [who, locked_amount] Claimed(AccountId, Balance), - /// Updated vesting schedules (who) + /// Updated vesting schedules. [who] VestingSchedulesUpdated(AccountId), } );