19 lines
502 B
TypeScript
19 lines
502 B
TypeScript
import { ViewData } from '@/lib/contracts/view-data/ViewData';
|
|
import type { WalletTransactionViewData } from './WalletTransactionViewData';
|
|
|
|
/**
|
|
* ViewData for Wallet
|
|
* This is the JSON-serializable input for the Template.
|
|
*/
|
|
export interface WalletViewData extends ViewData {
|
|
id: string;
|
|
leagueId: string;
|
|
balance: number;
|
|
totalRevenue: number;
|
|
totalPlatformFees: number;
|
|
totalWithdrawn: number;
|
|
createdAt: string;
|
|
currency: string;
|
|
transactions?: WalletTransactionViewData[];
|
|
}
|