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
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-03-02 20:51:19 +00:00
|
|
|
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;
|
|
|
|
}
|