Externalize ERC 20 support

This commit is contained in:
BTChip github
2019-02-05 14:50:36 +01:00
parent 855d47b5af
commit b01c37e2ee
4 changed files with 149 additions and 17 deletions

View File

@@ -26,6 +26,8 @@ typedef struct tokenDefinition_t {
uint8_t decimals;
} tokenDefinition_t;
#ifdef HAVE_TOKENS_LIST
#define NUM_TOKENS_AKROMA 0
#define NUM_TOKENS_ELLAISM 1
#define NUM_TOKENS_ETHEREUM 1102
@@ -70,4 +72,6 @@ extern tokenDefinition_t const TOKENS_MIX[NUM_TOKENS_MIX];
extern tokenDefinition_t const TOKENS_REOSC[NUM_TOKENS_REOSC];
extern tokenDefinition_t const TOKENS_HPB[NUM_TOKENS_HPB];
#endif
#endif /* _TOKENS_H_ */