Open 4his2 opened 2 years ago
I will contribute the following modules:
Event Type:
#[pallet::event]
#[pallet::generate_deposit(pub (crate) fn deposit_event)]
pub enum Event<T: Config> {
AddPreparing(T::AccountId, CurrencyId, Balance, CurrencyId, Balance),
AddLiquidity(T::AccountId, CurrencyId, Balance, CurrencyId, Balance, Balance),
RemoveLiquidity(T::AccountId, CurrencyId, Balance, CurrencyId, Balance, Balance),
Swap(T::AccountId, CurrencyIds, Balance, Balance),
EnableTradingPair(TradingPair),
NewTradingPair(TradingPair),
DisableTradingPair(TradingPair),
PreparingToEnabled(TradingPair, Balance, Balance, Balance),
}
Enhancement