28 lines
704 B
TypeScript
28 lines
704 B
TypeScript
export interface LeagueWalletTransactionViewData {
|
|
id: string;
|
|
type: 'deposit' | 'withdrawal' | 'sponsorship' | 'prize';
|
|
amount: number;
|
|
formattedAmount: string;
|
|
amountColor: string;
|
|
description: string;
|
|
createdAt: string;
|
|
formattedDate: string;
|
|
status: 'completed' | 'pending' | 'failed';
|
|
statusColor: string;
|
|
typeColor: string;
|
|
}
|
|
|
|
export interface LeagueWalletViewData {
|
|
leagueId: string;
|
|
balance: number;
|
|
formattedBalance: string;
|
|
totalRevenue: number;
|
|
formattedTotalRevenue: string;
|
|
totalFees: number;
|
|
formattedTotalFees: string;
|
|
pendingPayouts: number;
|
|
formattedPendingPayouts: string;
|
|
currency: string;
|
|
transactions: LeagueWalletTransactionViewData[];
|
|
}
|