addNotification
addNotification: ( notification: Omit<Notification, "id" | "timestamp" | "read">,) => void clearNotifications
clearNotifications: () => void
currency
currency: "USD" | "EUR" | "CNY"
language
language: "en" | "zh" | "ja"
markNotificationRead
markNotificationRead: (id: string) => void
networkType
networkType: "mainnet" | "testnet" | "private"
removeNetwork
removeNetwork: (networkName: string) => void
removeNotification
removeNotification: (id: string) => void
removeWallet
removeWallet: (walletId: string) => void
setCurrency
setCurrency: (currency: "USD" | "EUR" | "CNY") => void
setCurrentWallet
setCurrentWallet: (wallet: null | WalletInfo) => void setLanguage
setLanguage: (language: "en" | "zh" | "ja") => void
setLoading
setLoading: (loading: boolean) => void
setNetworkType
setNetworkType: (type: "mainnet" | "testnet" | "private") => void
setSidebarCollapsed: (collapsed: boolean) => void
setTheme
setTheme: (theme: "light" | "dark") => void
setWalletConnected
setWalletConnected: (connected: boolean) => void
sidebarCollapsed: boolean
theme
theme: "light" | "dark"
updateWalletBalance
updateWalletBalance: (
walletId: string,
balance: { gas: string; neo: string; tokens: Record<string, string> },
) => void
walletConnected
walletConnected: boolean