大改变
This commit is contained in:
101
data/fundMarket.ts
Normal file
101
data/fundMarket.ts
Normal file
@@ -0,0 +1,101 @@
|
||||
// Fund Market Page Data
|
||||
// This file contains static data for the Fund Market page
|
||||
// TODO: Replace with API calls in production
|
||||
|
||||
export interface StatsData {
|
||||
label: string;
|
||||
value: string;
|
||||
change: string;
|
||||
isPositive: boolean;
|
||||
}
|
||||
|
||||
export interface Product {
|
||||
id: number;
|
||||
name: string;
|
||||
category: string;
|
||||
categoryColor: "blue" | "green" | "orange" | "purple" | "red";
|
||||
iconType: "us-flag-1" | "us-flag-2" | "hk-flag" | "sg-flag" | "uk-flag";
|
||||
yieldAPY: string;
|
||||
poolCap: string;
|
||||
maturity: string;
|
||||
risk: string;
|
||||
riskLevel: 1 | 2 | 3;
|
||||
lockUp: string;
|
||||
circulatingSupply: string;
|
||||
poolCapacityPercent: number;
|
||||
}
|
||||
|
||||
export const fundMarketStats: StatsData[] = [
|
||||
{
|
||||
label: "Total Value Locked",
|
||||
value: "$465.0M",
|
||||
change: "+2.4%",
|
||||
isPositive: true,
|
||||
},
|
||||
{
|
||||
label: "Cumulative Yield",
|
||||
value: "$505,232",
|
||||
change: "+2.4%",
|
||||
isPositive: true,
|
||||
},
|
||||
{
|
||||
label: "Your Total Balance",
|
||||
value: "$10,000",
|
||||
change: "+2.4%",
|
||||
isPositive: true,
|
||||
},
|
||||
{
|
||||
label: "Your Total Earning",
|
||||
value: "--",
|
||||
change: "+2.4%",
|
||||
isPositive: true,
|
||||
},
|
||||
];
|
||||
|
||||
export const fundMarketProducts: Product[] = [
|
||||
{
|
||||
id: 1,
|
||||
name: "High-Yield US Equity",
|
||||
category: "Quant Strategy",
|
||||
categoryColor: "blue",
|
||||
iconType: "us-flag-1",
|
||||
yieldAPY: "22.0%",
|
||||
poolCap: "10M",
|
||||
maturity: "05 Feb 2026",
|
||||
risk: "Medium",
|
||||
riskLevel: 2,
|
||||
lockUp: "12 Months",
|
||||
circulatingSupply: "$2.5M",
|
||||
poolCapacityPercent: 75,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "HK Commercial RE",
|
||||
category: "Real Estate",
|
||||
categoryColor: "green",
|
||||
iconType: "hk-flag",
|
||||
yieldAPY: "22.0%",
|
||||
poolCap: "10M",
|
||||
maturity: "05 Feb 2026",
|
||||
risk: "LOW",
|
||||
riskLevel: 1,
|
||||
lockUp: "12 Months",
|
||||
circulatingSupply: "$2.5M",
|
||||
poolCapacityPercent: 75,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "High-Yield European Bonds",
|
||||
category: "Fixed Income",
|
||||
categoryColor: "orange",
|
||||
iconType: "us-flag-2",
|
||||
yieldAPY: "22.0%",
|
||||
poolCap: "10M",
|
||||
maturity: "05 Feb 2026",
|
||||
risk: "High",
|
||||
riskLevel: 3,
|
||||
lockUp: "12 Months",
|
||||
circulatingSupply: "$2.5M",
|
||||
poolCapacityPercent: 75,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user