1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00

nem_mosaics: Add DIM TOKEN

This commit is contained in:
Saleem Rashid 2017-07-21 10:54:58 +01:00
parent 9f41ee39ba
commit 3a303087ae
3 changed files with 20 additions and 1 deletions

View File

@ -27,6 +27,18 @@ const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT] =
.levy = NEMMosaicLevy_MosaicLevy_Percentile,
.has_fee = true,
.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;

View File

@ -5,7 +5,7 @@
#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_DEFINITION_XEM;

View File

@ -13,5 +13,12 @@
"divisibility": 6,
"levy": "MosaicLevy_Percentile",
"fee": 10
},
{
"name": "DIM TOKEN",
"ticker": " DIMTOK",
"namespace": "dim",
"mosaic": "token",
"divisibility": 6
}
]