add moonrriver
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
typedef enum chain_kind_e {
|
||||
CHAIN_KIND_ETHEREUM,
|
||||
CHAIN_KIND_MOONRIVER,
|
||||
CHAIN_KIND_ETHEREUM_CLASSIC,
|
||||
CHAIN_KIND_EXPANSE,
|
||||
CHAIN_KIND_POA,
|
||||
|
||||
@@ -229,6 +229,9 @@ tokenDefinition_t *getKnownToken(uint8_t *contractAddress) {
|
||||
case CHAIN_KIND_TOMOCHAIN:
|
||||
numTokens = NUM_TOKENS_TOMOCHAIN;
|
||||
break;
|
||||
case CHAIN_KIND_MOONRIVER:
|
||||
numTokens = NUM_TOKENS_MOONRIVER;
|
||||
break;
|
||||
case CHAIN_KIND_TOBALABA:
|
||||
numTokens = NUM_TOKENS_TOBALABA;
|
||||
break;
|
||||
@@ -331,6 +334,9 @@ tokenDefinition_t *getKnownToken(uint8_t *contractAddress) {
|
||||
case CHAIN_KIND_TOMOCHAIN:
|
||||
currentToken = (tokenDefinition_t *) PIC(&TOKENS_TOMOCHAIN[i]);
|
||||
break;
|
||||
case CHAIN_KIND_MOONRIVER:
|
||||
currentToken = (tokenDefinition_t *) PIC(&TOKENS_MOONRIVER[i]);
|
||||
break;
|
||||
case CHAIN_KIND_TOBALABA:
|
||||
currentToken = (tokenDefinition_t *) PIC(&TOKENS_TOBALABA[i]);
|
||||
break;
|
||||
|
||||
@@ -4564,4 +4564,6 @@ const tokenDefinition_t const TOKENS_BSC[NUM_TOKENS_BSC] = {};
|
||||
|
||||
const tokenDefinition_t const TOKENS_SONGBIRD[NUM_TOKENS_SONGBIRD] = {};
|
||||
|
||||
const tokenDefinition_t const TOKENS_MOONRIVER[NUM_TOKENS_MOONRIVER] = {};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -97,6 +97,7 @@ static const uint8_t LEDGER_SIGNATURE_PUBLIC_KEY[] = {
|
||||
#define NUM_TOKENS_FLARE 0
|
||||
#define NUM_TOKENS_BSC 0
|
||||
#define NUM_TOKENS_SONGBIRD 0
|
||||
#define NUM_TOKENS_MOONRIVER 0
|
||||
|
||||
extern tokenDefinition_t const TOKENS_AKROMA[NUM_TOKENS_AKROMA];
|
||||
extern tokenDefinition_t const TOKENS_ELLAISM[NUM_TOKENS_ELLAISM];
|
||||
@@ -131,6 +132,7 @@ extern tokenDefinition_t const TOKENS_THUNDERCORE[NUM_TOKENS_THUNDERCORE];
|
||||
extern tokenDefinition_t const TOKENS_FLARE[NUM_TOKENS_FLARE];
|
||||
extern tokenDefinition_t const TOKENS_BSC[NUM_TOKENS_BSC];
|
||||
extern tokenDefinition_t const TOKENS_SONGBIRD[NUM_TOKENS_SONGBIRD];
|
||||
extern tokenDefinition_t const TOKENS_MOONRIVER[NUM_TOKENS_MOONRIVER];
|
||||
|
||||
#endif /* HAVE_TOKENS_LIST */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user