From 027071419b8435f27321f3724ff588ce9ffbfca4 Mon Sep 17 00:00:00 2001 From: Lorenz Herzberger Date: Wed, 21 Jun 2023 11:12:31 +0200 Subject: [PATCH] added index store keys to app.go Signed-off-by: Lorenz Herzberger --- app/app.go | 2 +- docs/static/openapi.yml | 80 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index af08133..4f21164 100644 --- a/app/app.go +++ b/app/app.go @@ -291,7 +291,7 @@ func New( ibctransfertypes.StoreKey, icahosttypes.StoreKey, capabilitytypes.StoreKey, group.StoreKey, icacontrollertypes.StoreKey, assetmoduletypes.StoreKey, - machinemoduletypes.StoreKey, + machinemoduletypes.StoreKey, machinemoduletypes.TAIndexKey, machinemoduletypes.IssuerPlanetmintIndexKey, machinemoduletypes.IssuerLiquidIndexKey, // this line is used by starport scaffolding # stargate/app/storeKey ) tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey) diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index 8d142b0..bd5738a 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -43909,6 +43909,46 @@ paths: description: A successful response. schema: type: object + properties: + machine: + type: object + properties: + name: + type: string + ticker: + type: string + issued: + type: string + format: uint64 + amount: + type: string + format: uint64 + precision: + type: string + format: uint64 + issuerPlanetmint: + type: string + issuerLiquid: + type: string + machineId: + type: string + metadata: + type: object + properties: + gps: + type: object + additionalProperties: + type: string + device: + type: object + additionalProperties: + type: string + assetDefinition: + type: object + additionalProperties: + type: string + additionalDataCID: + type: string default: description: An unexpected error response. schema: @@ -71579,6 +71619,46 @@ definitions: description: Params defines the parameters for the module. planetmintgo.machine.QueryGetMachineByPublicKeyResponse: type: object + properties: + machine: + type: object + properties: + name: + type: string + ticker: + type: string + issued: + type: string + format: uint64 + amount: + type: string + format: uint64 + precision: + type: string + format: uint64 + issuerPlanetmint: + type: string + issuerLiquid: + type: string + machineId: + type: string + metadata: + type: object + properties: + gps: + type: object + additionalProperties: + type: string + device: + type: object + additionalProperties: + type: string + assetDefinition: + type: object + additionalProperties: + type: string + additionalDataCID: + type: string planetmintgo.machine.QueryParamsResponse: type: object properties: