Files
app-ethereum/src/chainConfig.h

33 lines
1.0 KiB
C
Raw Normal View History

2019-01-03 17:00:20 +01:00
/*******************************************************************************
2020-12-01 16:20:13 +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
#include <stdint.h>
2019-01-03 17:00:20 +01:00
#include "os.h"
2018-07-27 21:02:24 +02:00
typedef struct chain_config_s {
2020-12-01 16:20:13 +01:00
char coinName[10]; // ticker
2021-08-26 13:02:07 +02:00
uint64_t chainId;
2018-07-27 21:02:24 +02:00
} chain_config_t;
#define ETHEREUM_MAINNET_CHAINID 1
#endif // _CHAIN_CONFIG_H_