mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-10 16:21:36 +00:00
227610c84a
commita5b63aed93
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Sun Oct 30 10:46:05 2022 -0700 Small fixes commitd64adfc2bf
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Sun Oct 30 06:02:06 2022 -0700 wip work on federation settings commitca35d6b3d2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Sun Oct 30 04:05:33 2022 -0700 Refactor confirmation Dialogs commitc660a5b0d1
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Sat Oct 29 13:36:59 2022 -0700 refactor login (clean separation robot/info. Style navbar. commitb9dc7f7c95
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Fri Oct 28 09:54:38 2022 -0700 Add size slider and settings widget commit20b2b3dcd6
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Fri Oct 28 05:41:48 2022 -0700 Add show more and Dialogs commitda8b70091b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Thu Oct 27 16:26:07 2022 -0700 Add sliding pages commit6dd90aa118
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Thu Oct 27 06:34:58 2022 -0700 Add settings forms commitd3d0f3ee1a
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com> Date: Wed Oct 26 04:16:06 2022 -0700 Refactor utils
55 lines
1.6 KiB
TypeScript
55 lines
1.6 KiB
TypeScript
export interface Info {
|
|
num_public_buy_orders: number;
|
|
num_public_sell_orders: number;
|
|
book_liquidity: number;
|
|
active_robots_today: number;
|
|
last_day_nonkyc_btc_premium: number;
|
|
last_day_volume: number;
|
|
lifetime_volume: number;
|
|
lnd_version: string;
|
|
robosats_running_commit_hash: string;
|
|
alternative_site: string;
|
|
alternative_name: string;
|
|
node_alias: string;
|
|
node_id: string;
|
|
version: { major: number | null; minor: number | null; patch: number | null };
|
|
maker_fee: number;
|
|
taker_fee: number;
|
|
bond_size: number;
|
|
current_swap_fee_rate: number;
|
|
network: 'mainnet' | 'testnet' | undefined;
|
|
coordinatorVersion: string;
|
|
clientVersion: string;
|
|
openUpdateClient: boolean;
|
|
}
|
|
|
|
import packageJson from '../../package.json';
|
|
const semver = packageJson.version.split('.');
|
|
|
|
export const defaultInfo: Info = {
|
|
num_public_buy_orders: 0,
|
|
num_public_sell_orders: 0,
|
|
book_liquidity: 0,
|
|
active_robots_today: 0,
|
|
last_day_nonkyc_btc_premium: 0,
|
|
last_day_volume: 0,
|
|
lifetime_volume: 0,
|
|
lnd_version: 'v0.0.0-beta',
|
|
robosats_running_commit_hash: '000000000000000',
|
|
alternative_site: 'RoboSats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion',
|
|
alternative_name: 'RoboSats Mainnet',
|
|
node_alias: '🤖RoboSats⚡(RoboDevs)',
|
|
node_id: '033b58d7681fe5dd2fb21fd741996cda5449616f77317dd1156b80128d6a71b807',
|
|
version: { major: null, minor: null, patch: null },
|
|
maker_fee: 0,
|
|
taker_fee: 0,
|
|
bond_size: 0,
|
|
current_swap_fee_rate: 0,
|
|
network: undefined,
|
|
coordinatorVersion: 'v?.?.?',
|
|
clientVersion: `v${semver[0]}.${semver[1]}.${semver[2]}`,
|
|
openUpdateClient: false,
|
|
};
|
|
|
|
export default Info;
|