mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
nem_mosaics: Add DIM TOKEN
This commit is contained in:
parent
9f41ee39ba
commit
3a303087ae
@ -27,6 +27,18 @@ const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT] =
|
|||||||
.levy = NEMMosaicLevy_MosaicLevy_Percentile,
|
.levy = NEMMosaicLevy_MosaicLevy_Percentile,
|
||||||
.has_fee = true,
|
.has_fee = true,
|
||||||
.fee = 10,
|
.fee = 10,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.has_name = true,
|
||||||
|
.name = "DIM TOKEN",
|
||||||
|
.has_ticker = true,
|
||||||
|
.ticker = " DIMTOK",
|
||||||
|
.has_namespace = true,
|
||||||
|
.namespace = "dim",
|
||||||
|
.has_mosaic = true,
|
||||||
|
.mosaic = "token",
|
||||||
|
.has_divisibility = true,
|
||||||
|
.divisibility = 6,
|
||||||
}};
|
}};
|
||||||
|
|
||||||
const NEMMosaicDefinition *NEM_MOSAIC_DEFINITION_XEM = NEM_MOSAIC_DEFINITIONS;
|
const NEMMosaicDefinition *NEM_MOSAIC_DEFINITION_XEM = NEM_MOSAIC_DEFINITIONS;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "types.pb.h"
|
#include "types.pb.h"
|
||||||
|
|
||||||
#define NEM_MOSAIC_DEFINITIONS_COUNT (2)
|
#define NEM_MOSAIC_DEFINITIONS_COUNT (3)
|
||||||
|
|
||||||
extern const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT];
|
extern const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT];
|
||||||
extern const NEMMosaicDefinition *NEM_MOSAIC_DEFINITION_XEM;
|
extern const NEMMosaicDefinition *NEM_MOSAIC_DEFINITION_XEM;
|
||||||
|
@ -13,5 +13,12 @@
|
|||||||
"divisibility": 6,
|
"divisibility": 6,
|
||||||
"levy": "MosaicLevy_Percentile",
|
"levy": "MosaicLevy_Percentile",
|
||||||
"fee": 10
|
"fee": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "DIM TOKEN",
|
||||||
|
"ticker": " DIMTOK",
|
||||||
|
"namespace": "dim",
|
||||||
|
"mosaic": "token",
|
||||||
|
"divisibility": 6
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user