"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Module = void 0;
var _binary = require("../../../../binary");
/** Module is the module config object for the cosmos.app v1 app module. */

/** Module is the module config object for the cosmos.app v1 app module. */

/** Module is the module config object for the cosmos.app v1 app module. */

function createBaseModule() {
  return {};
}
var Module = exports.Module = {
  typeUrl: "/cosmos.app.module.v1alpha1.Module",
  encode: function encode(_) {
    var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _binary.BinaryWriter.create();
    return writer;
  },
  fromJSON: function fromJSON(_) {
    return {};
  },
  fromPartial: function fromPartial(_) {
    var message = createBaseModule();
    return message;
  },
  fromAmino: function fromAmino(_) {
    var message = createBaseModule();
    return message;
  },
  toAmino: function toAmino(_) {
    var obj = {};
    return obj;
  },
  fromAminoMsg: function fromAminoMsg(object) {
    return Module.fromAmino(object.value);
  },
  toAminoMsg: function toAminoMsg(message) {
    return {
      type: "cosmos-sdk/Module",
      value: Module.toAmino(message)
    };
  },
  fromProtoMsg: function fromProtoMsg(message) {
    return Module.decode(message.value);
  },
  toProto: function toProto(message) {
    return Module.encode(message).finish();
  },
  toProtoMsg: function toProtoMsg(message) {
    return {
      typeUrl: "/cosmos.app.module.v1alpha1.Module",
      value: Module.encode(message).finish()
    };
  }
};