interface OrgOverview {
/** Wallet profile ID */
walletProfileId: number;
/** Wallet profile name */
walletProfileName: string;
/** Total number of wallets */
totalWallets: number;
/** Wallets with active allocations */
activeWallets: number;
/** Total value across all wallets (USD) */
totalValueUsd: string;
/** Total yield earned across all wallets (USD) */
totalYieldEarnedUsd: string;
/** Weighted average APY as decimal (e.g., 0.065 for 6.5%) */
averageApyDecimal: number;
/** Breakdown by protocol */
protocolDistribution: DistributionEntry[];
/** Breakdown by token */
assetDistribution: DistributionEntry[];
/** Breakdown by blockchain */
blockchainDistribution: DistributionEntry[];
}
interface DistributionEntry {
/** Protocol name, token symbol, or blockchain name */
name: string;
/** Total value in USD */
valueUsd: string;
/** Percentage of total value (0-100) */
percentage: number;
/** Number of wallets in this category */
walletCount: number;
}