view data fixes
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
import { ViewData } from "@/lib/contracts/view-data/ViewData";
|
||||
import type { WalletTransactionViewData } from './WalletTransactionViewData';
|
||||
|
||||
/**
|
||||
* ViewData for LeagueWallet
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface LeagueWalletViewData {
|
||||
export interface LeagueWalletViewData extends ViewData {
|
||||
leagueId: string;
|
||||
balance: number;
|
||||
currency: string;
|
||||
formattedBalance: string;
|
||||
totalRevenue: number;
|
||||
formattedTotalRevenue: string;
|
||||
totalFees: number;
|
||||
formattedTotalFees: string;
|
||||
totalWithdrawals: number;
|
||||
pendingPayouts: number;
|
||||
formattedPendingPayouts: string;
|
||||
currency: string;
|
||||
transactions: WalletTransactionViewData[];
|
||||
canWithdraw: boolean;
|
||||
withdrawalBlockReason?: string;
|
||||
|
||||
Reference in New Issue
Block a user