mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-24 15:10:19 +00:00
The calm before updating angular and material
This commit is contained in:
49
web/src/app/shared/classes/wallet.ts
Normal file
49
web/src/app/shared/classes/wallet.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
|
||||
export interface CoinTotal {
|
||||
coin: string;
|
||||
balance: number;
|
||||
}
|
||||
|
||||
export interface CoinsOffline {
|
||||
coin: string;
|
||||
balance: number;
|
||||
percentage: number;
|
||||
}
|
||||
|
||||
export interface BTC {
|
||||
address: string;
|
||||
balance: number;
|
||||
percentage: number;
|
||||
}
|
||||
|
||||
export interface ETH {
|
||||
address: string;
|
||||
balance: number;
|
||||
percentage: number;
|
||||
}
|
||||
|
||||
export interface LTC {
|
||||
address: string;
|
||||
balance: number;
|
||||
percentage: number;
|
||||
}
|
||||
|
||||
export interface OfflineSummary {
|
||||
BTC: BTC[];
|
||||
ETH: ETH[];
|
||||
LTC: LTC[];
|
||||
}
|
||||
|
||||
export interface OnlineSummary {
|
||||
BTC: BTC[];
|
||||
ETH: ETH[];
|
||||
LTC: LTC[];
|
||||
}
|
||||
|
||||
export interface Wallet {
|
||||
coin_totals: CoinTotal[];
|
||||
coins_offline: CoinsOffline[];
|
||||
offline_summary: OfflineSummary;
|
||||
coins_online?: any;
|
||||
online_summary: OnlineSummary;
|
||||
}
|
||||
Reference in New Issue
Block a user