blob: 8e2638991de9967158dca857b05bfdf71dd07da4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2020 RBEI and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v. 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Adhith Gopal - Initial API and Implementation
* Pavithra Krishna Reddy
*******************************************************************************/
package org.eclipse.blockchain.core;
/**
* Preference constants class
*/
public class SecoBlocksPreferenceConstants {
public enum EnvironmentType {
GETH_CLIENT, EMBEDDED_EVM
}
public static final String SECOBLOCKS_PREF_NODE = "org.eclipse.blockchain.ui";
public static final String SOLIDITY_COMPILER_PREF_KEY = "soliditypreference";
public static final String SOLIDITY_GIT_URL = "https://github.com/ethereum/solidity/releases";
public static final String ENVIRONMENT_PREF_KEY = "environmentpreference";
public static final String[] versionList = {"v0.5.17", "v0.6.4", "v0.6.3",
"v0.6.2", "v0.6.1", "v0.5.16", "v0.6.0"};
public static final String PREF_KEY_VersionList = "versionList";
public static final String PREF_KEY_SelectedList = "selectedList";
/**
* This setting of currently selected embedded address is required because
* this address will be used in Web3jHandler to retrieve appropriate web3j
* and Admin EmbeddedEVM instance
*/
// public static final String EMBEDDED_EVM_SELECTED_ADDRESS =
// "embeddedevmaddress";
}