send / received transactions in live trades

This commit is contained in:
Face 2025-06-08 21:58:40 +03:00
parent e4ba0c71ca
commit 6539eb2f4f
4 changed files with 82 additions and 27 deletions

View file

@ -3,7 +3,7 @@ import { browser } from '$app/environment';
import { PUBLIC_WEBSOCKET_URL } from '$env/static/public';
export interface LiveTrade {
type: 'BUY' | 'SELL';
type: 'BUY' | 'SELL' | 'TRANSFER_IN' | 'TRANSFER_OUT';
username: string;
amount: number;
coinSymbol: string;