From a90acf8b62682d880832bdf5aea8a7810956aac1 Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Mon, 9 Oct 2017 17:47:56 +0100 Subject: [PATCH] nem_mosaics: Remove generated files --- firmware/.gitignore | 2 + firmware/nem_mosaics.c | 104 ----------------------------------------- firmware/nem_mosaics.h | 13 ------ 3 files changed, 2 insertions(+), 117 deletions(-) delete mode 100644 firmware/nem_mosaics.c delete mode 100644 firmware/nem_mosaics.h diff --git a/firmware/.gitignore b/firmware/.gitignore index 248dabf294..be84b50dd3 100644 --- a/firmware/.gitignore +++ b/firmware/.gitignore @@ -1,2 +1,4 @@ coins_array.h coins_count.h + +nem_mosaics.[ch] diff --git a/firmware/nem_mosaics.c b/firmware/nem_mosaics.c deleted file mode 100644 index 7a9cecbe01..0000000000 --- a/firmware/nem_mosaics.c +++ /dev/null @@ -1,104 +0,0 @@ -// This file is automatically generated by nem_mosaics.py -- DO NOT EDIT! - -#include "nem_mosaics.h" - -const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT] = {{ - .has_name = true, - .name = "XEM", - .has_ticker = true, - .ticker = " XEM", - .has_namespace = true, - .namespace = "nem", - .has_mosaic = true, - .mosaic = "xem", - .has_divisibility = true, - .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, - .has_levy_namespace = true, - .levy_namespace = "dim", - .has_levy_mosaic = true, - .levy_mosaic = "coin", - .networks_count = 1, - .networks = { 104 }, -}, -{ - .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, - .networks_count = 1, - .networks = { 104 }, -}, -{ - .has_name = true, - .name = "Breeze Token", - .has_ticker = true, - .ticker = " BREEZE", - .has_namespace = true, - .namespace = "breeze", - .has_mosaic = true, - .mosaic = "breeze-token", - .has_divisibility = true, - .divisibility = 0, - .networks_count = 1, - .networks = { 104 }, -}, -{ - .has_name = true, - .name = "PacNEM Game Credits", - .has_ticker = true, - .ticker = " PAC:HRT", - .has_namespace = true, - .namespace = "pacnem", - .has_mosaic = true, - .mosaic = "heart", - .has_divisibility = true, - .divisibility = 0, - .networks_count = 1, - .networks = { 104 }, -}, -{ - .has_name = true, - .name = "PacNEM Score Tokens", - .has_ticker = true, - .ticker = " PAC:CHS", - .has_namespace = true, - .namespace = "pacnem", - .has_mosaic = true, - .mosaic = "cheese", - .has_divisibility = true, - .divisibility = 6, - .has_levy = true, - .levy = NEMMosaicLevy_MosaicLevy_Percentile, - .has_fee = true, - .fee = 100, - .has_levy_namespace = true, - .levy_namespace = "nem", - .has_levy_mosaic = true, - .levy_mosaic = "xem", - .networks_count = 1, - .networks = { 104 }, -}}; - -const NEMMosaicDefinition *NEM_MOSAIC_DEFINITION_XEM = NEM_MOSAIC_DEFINITIONS; diff --git a/firmware/nem_mosaics.h b/firmware/nem_mosaics.h deleted file mode 100644 index ae756f4319..0000000000 --- a/firmware/nem_mosaics.h +++ /dev/null @@ -1,13 +0,0 @@ -// This file is automatically generated by nem_mosaics.py -- DO NOT EDIT! - -#ifndef __NEM_MOSAICS_H__ -#define __NEM_MOSAICS_H__ - -#include "types.pb.h" - -#define NEM_MOSAIC_DEFINITIONS_COUNT (6) - -extern const NEMMosaicDefinition NEM_MOSAIC_DEFINITIONS[NEM_MOSAIC_DEFINITIONS_COUNT]; -extern const NEMMosaicDefinition *NEM_MOSAIC_DEFINITION_XEM; - -#endif