2019-01-03 17:00:20 +01:00
|
|
|
/*******************************************************************************
|
|
|
|
|
* Ledger Ethereum App
|
|
|
|
|
* (c) 2016-2019 Ledger
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
********************************************************************************/
|
2018-07-27 21:02:24 +02:00
|
|
|
|
2019-01-03 17:00:20 +01:00
|
|
|
#ifndef _CHAIN_CONFIG_H_
|
|
|
|
|
#define _CHAIN_CONFIG_H_
|
2018-07-27 21:02:24 +02:00
|
|
|
|
2019-01-04 10:31:57 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
2019-01-03 17:00:20 +01:00
|
|
|
#include "os.h"
|
2018-07-27 21:02:24 +02:00
|
|
|
|
|
|
|
|
typedef enum chain_kind_e {
|
|
|
|
|
CHAIN_KIND_ETHEREUM,
|
|
|
|
|
CHAIN_KIND_ETHEREUM_CLASSIC,
|
|
|
|
|
CHAIN_KIND_EXPANSE,
|
|
|
|
|
CHAIN_KIND_POA,
|
|
|
|
|
CHAIN_KIND_RSK,
|
|
|
|
|
CHAIN_KIND_UBIQ,
|
|
|
|
|
CHAIN_KIND_WANCHAIN,
|
2018-07-29 12:43:18 +02:00
|
|
|
CHAIN_KIND_KUSD,
|
|
|
|
|
CHAIN_KIND_PIRL,
|
2018-07-28 22:52:09 -04:00
|
|
|
CHAIN_KIND_AKROMA,
|
2018-07-30 18:12:20 -04:00
|
|
|
CHAIN_KIND_MUSICOIN,
|
2018-07-30 09:43:11 +09:00
|
|
|
CHAIN_KIND_CALLISTO,
|
2018-08-02 10:23:20 +02:00
|
|
|
CHAIN_KIND_ETHERSOCIAL,
|
2018-08-05 02:19:44 -04:00
|
|
|
CHAIN_KIND_ELLAISM,
|
2018-08-10 14:54:56 -04:00
|
|
|
CHAIN_KIND_ETHER1,
|
2018-08-23 11:06:12 -04:00
|
|
|
CHAIN_KIND_ETHERGEM,
|
2018-08-26 00:10:49 -04:00
|
|
|
CHAIN_KIND_ATHEIOS,
|
2018-09-08 11:40:14 -04:00
|
|
|
CHAIN_KIND_GOCHAIN,
|
2018-12-10 08:46:32 -05:00
|
|
|
CHAIN_KIND_MIX,
|
2018-11-09 00:25:04 +01:00
|
|
|
CHAIN_KIND_REOSC,
|
2019-02-06 08:03:49 +00:00
|
|
|
CHAIN_KIND_HPB,
|
2019-02-06 15:06:22 +07:00
|
|
|
CHAIN_KIND_TOMOCHAIN
|
2018-07-27 21:02:24 +02:00
|
|
|
} chain_kind_t;
|
|
|
|
|
|
|
|
|
|
typedef struct chain_config_s {
|
|
|
|
|
const char* coinName; // ticker
|
|
|
|
|
uint32_t chainId;
|
|
|
|
|
chain_kind_t kind;
|
|
|
|
|
#ifdef TARGET_BLUE
|
|
|
|
|
const char* header_text;
|
|
|
|
|
unsigned int color_header;
|
|
|
|
|
unsigned int color_dashboard;
|
|
|
|
|
#endif // TARGET_BLUE
|
|
|
|
|
|
|
|
|
|
} chain_config_t;
|
|
|
|
|
|
2019-01-03 17:00:20 +01:00
|
|
|
#endif /* _CHAIN_CONFIG_H_ */
|