mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-26 15:20:58 +00:00
nem_mosaics: Add DIMCOIN
This commit is contained in:
parent
8dbd6182fb
commit
9f41ee39ba
@ -11,6 +11,22 @@ const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT] =
|
|||||||
.mosaic = "xem",
|
.mosaic = "xem",
|
||||||
.has_divisibility = true,
|
.has_divisibility = true,
|
||||||
.divisibility = 6,
|
.divisibility = 6,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.has_name = true,
|
||||||
|
.name = "DIMCOIN",
|
||||||
|
.has_ticker = true,
|
||||||
|
.ticker = " DIM",
|
||||||
|
.has_namespace = true,
|
||||||
|
.namespace = "dim",
|
||||||
|
.has_mosaic = true,
|
||||||
|
.mosaic = "coin",
|
||||||
|
.has_divisibility = true,
|
||||||
|
.divisibility = 6,
|
||||||
|
.has_levy = true,
|
||||||
|
.levy = NEMMosaicLevy_MosaicLevy_Percentile,
|
||||||
|
.has_fee = true,
|
||||||
|
.fee = 10,
|
||||||
}};
|
}};
|
||||||
|
|
||||||
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 (1)
|
#define NEM_MOSAIC_DEFINITIONS_COUNT (2)
|
||||||
|
|
||||||
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;
|
||||||
|
@ -4,5 +4,14 @@
|
|||||||
"namespace": "nem",
|
"namespace": "nem",
|
||||||
"mosaic": "xem",
|
"mosaic": "xem",
|
||||||
"divisibility": 6
|
"divisibility": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "DIMCOIN",
|
||||||
|
"ticker": " DIM",
|
||||||
|
"namespace": "dim",
|
||||||
|
"mosaic": "coin",
|
||||||
|
"divisibility": 6,
|
||||||
|
"levy": "MosaicLevy_Percentile",
|
||||||
|
"fee": 10
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user