From 7e4a5ce244676a3ea780944e6f9bcba283333ebd Mon Sep 17 00:00:00 2001 From: daeMOn Date: Thu, 21 Jul 2022 11:57:12 +0200 Subject: [PATCH] fix: denom metadata from internal feedback (#257) * fix: denom metadata from internal feedback * fix: MOBX / NOMX --- app/app.go | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/app/app.go b/app/app.go index eea67b5a..fd29e1b6 100644 --- a/app/app.go +++ b/app/app.go @@ -791,6 +791,12 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) { Description: "Fetch-ai Network testnet token", DenomUnits: []*banktypes.DenomUnit{ {Denom: "TESTFET", Exponent: 18}, + {Denom: "mtestfet", Exponent: 15}, + {Denom: "utestfet", Exponent: 12}, + {Denom: "ntestfet", Exponent: 9}, + {Denom: "ptestfet", Exponent: 6}, + {Denom: "ftestfet", Exponent: 3}, + {Denom: "atestfet", Exponent: 0}, }, Display: "TESTFET", Name: "TESTFET", @@ -814,22 +820,28 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) { }, "nanomobx": { Base: "nanomobx", - Description: "Mobix Token", + Description: "MOBIX Token", DenomUnits: []*banktypes.DenomUnit{ - {Denom: "mobx", Exponent: 9}, + {Denom: "MOBX", Exponent: 9}, + {Denom: "mmobx", Exponent: 6}, + {Denom: "umobx", Exponent: 3}, + {Denom: "nanomobx", Exponent: 0}, }, - Display: "mobx", - Name: "mobx", + Display: "MOBX", + Name: "MOBX", Symbol: "MOBX", }, "nanonomx": { Base: "nanonomx", - Description: "Nomix Token", + Description: "NOMIX Token", DenomUnits: []*banktypes.DenomUnit{ - {Denom: "nomx", Exponent: 9}, + {Denom: "NOMX", Exponent: 9}, + {Denom: "mnomx", Exponent: 6}, + {Denom: "unomx", Exponent: 3}, + {Denom: "nanonomx", Exponent: 0}, }, - Display: "nomx", - Name: "nomx", + Display: "NOMX", + Name: "NOMX", Symbol: "NOMX", }, "ulrn": { @@ -837,6 +849,8 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) { Description: "CoLearn Token", DenomUnits: []*banktypes.DenomUnit{ {Denom: "lrn", Exponent: 6}, + {Denom: "mlrn", Exponent: 3}, + {Denom: "ulrn", Exponent: 0}, }, Display: "lrn", Name: "lrn",