QueryModuleStateResponse.deserialize constructor
Implementation
factory QueryModuleStateResponse.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return QueryModuleStateResponse(
state: decode
.messageTo<injective_tokenfactory_v1beta1_genesis.GenesisState?>(
1,
(b) => injective_tokenfactory_v1beta1_genesis
.GenesisState.deserialize(b),
),
);
}