18 lines
456 B
TypeScript
18 lines
456 B
TypeScript
import type { WalletTransactionViewData } from './WalletTransactionViewData';
|
|
|
|
/**
|
|
* ViewData for LeagueWallet
|
|
* This is the JSON-serializable input for the Template.
|
|
*/
|
|
export interface LeagueWalletViewData {
|
|
balance: number;
|
|
currency: string;
|
|
totalRevenue: number;
|
|
totalFees: number;
|
|
totalWithdrawals: number;
|
|
pendingPayouts: number;
|
|
transactions: WalletTransactionViewData[];
|
|
canWithdraw: boolean;
|
|
withdrawalBlockReason?: string;
|
|
}
|