stack_wallet/lib/utilities/default_epicboxes.dart
2024-02-27 14:45:13 -06:00

53 lines
1.4 KiB
Dart

/*
* 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.stackwallet.com',
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;
}