stack_wallet/lib/utilities/default_epicboxes.dart

54 lines
1.3 KiB
Dart
Raw Normal View History

2023-05-26 21:21:16 +00:00
/*
* This file is part of Stack Wallet.
*
* Copyright (c) 2023 Cypher Stack
* All Rights Reserved.
* The code is distributed under GPLv3 license, see LICENSE file for details.
* Generated by Cypher Stack on 2023-05-26
*
*/
import 'package:stackwallet/models/epicbox_server_model.dart';
abstract class DefaultEpicBoxes {
static const String defaultName = "Default";
static List<EpicBoxServerModel> get all => [americas, asia, europe];
static List<String> get defaultIds => ['americas', 'asia', 'europe'];
static EpicBoxServerModel get americas => EpicBoxServerModel(
host: 'epicbox.epic.tech',
port: 443,
name: 'Americas',
id: 'americas',
useSSL: true,
enabled: true,
isFailover: true,
isDown: false,
);
static EpicBoxServerModel get asia => EpicBoxServerModel(
host: 'epicbox.hyperbig.com',
port: 443,
name: 'Asia',
id: 'asia',
useSSL: true,
enabled: true,
isFailover: true,
isDown: false,
);
static EpicBoxServerModel get europe => EpicBoxServerModel(
host: 'epicbox.fastepic.eu',
port: 443,
name: 'Europe',
id: 'europe',
useSSL: true,
enabled: true,
isFailover: true,
isDown: false,
);
static final defaultEpicBoxServer = americas;
}