@bandprotocol/bandchain.js
Version:
Library for interacting with BandChain in browser and Node.js environments
744 lines (700 loc) • 23.9 kB
JavaScript
// source: cosmos/crisis/v1beta1/tx.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf')
var goog = jspb
var global = Function('return this')()
var gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js')
goog.object.extend(proto, gogoproto_gogo_pb)
var cosmos_proto_cosmos_pb = require('../../../cosmos_proto/cosmos_pb.js')
goog.object.extend(proto, cosmos_proto_cosmos_pb)
var cosmos_msg_v1_msg_pb = require('../../../cosmos/msg/v1/msg_pb.js')
goog.object.extend(proto, cosmos_msg_v1_msg_pb)
var amino_amino_pb = require('../../../amino/amino_pb.js')
goog.object.extend(proto, amino_amino_pb)
var cosmos_base_v1beta1_coin_pb = require('../../../cosmos/base/v1beta1/coin_pb.js')
goog.object.extend(proto, cosmos_base_v1beta1_coin_pb)
goog.exportSymbol('proto.cosmos.crisis.v1beta1.MsgUpdateParams', null, global)
goog.exportSymbol(
'proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.crisis.v1beta1.MsgVerifyInvariant',
null,
global,
)
goog.exportSymbol(
'proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse',
null,
global,
)
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.cosmos.crisis.v1beta1.MsgVerifyInvariant, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.displayName =
'proto.cosmos.crisis.v1beta1.MsgVerifyInvariant'
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse,
jspb.Message,
)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.displayName =
'proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse'
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.cosmos.crisis.v1beta1.MsgUpdateParams, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.displayName =
'proto.cosmos.crisis.v1beta1.MsgUpdateParams'
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.displayName =
'proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse'
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.toObject = function (
opt_includeInstance,
) {
return proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.toObject(
opt_includeInstance,
this,
)
}
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
sender: jspb.Message.getFieldWithDefault(msg, 1, ''),
invariantModuleName: jspb.Message.getFieldWithDefault(msg, 2, ''),
invariantRoute: jspb.Message.getFieldWithDefault(msg, 3, ''),
}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.deserializeBinary = function (
bytes,
) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.cosmos.crisis.v1beta1.MsgVerifyInvariant()
return proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString())
msg.setSender(value)
break
case 2:
var value = /** @type {string} */ (reader.readString())
msg.setInvariantModuleName(value)
break
case 3:
var value = /** @type {string} */ (reader.readString())
msg.setInvariantRoute(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter()
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.serializeBinaryToWriter(
this,
writer,
)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.serializeBinaryToWriter =
function (message, writer) {
var f = undefined
f = message.getSender()
if (f.length > 0) {
writer.writeString(1, f)
}
f = message.getInvariantModuleName()
if (f.length > 0) {
writer.writeString(2, f)
}
f = message.getInvariantRoute()
if (f.length > 0) {
writer.writeString(3, f)
}
}
/**
* optional string sender = 1;
* @return {string}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.getSender =
function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''))
}
/**
* @param {string} value
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant} returns this
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.setSender = function (
value,
) {
return jspb.Message.setProto3StringField(this, 1, value)
}
/**
* optional string invariant_module_name = 2;
* @return {string}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.getInvariantModuleName =
function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''))
}
/**
* @param {string} value
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant} returns this
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.setInvariantModuleName =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value)
}
/**
* optional string invariant_route = 3;
* @return {string}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.getInvariantRoute =
function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''))
}
/**
* @param {string} value
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariant} returns this
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariant.prototype.setInvariantRoute =
function (value) {
return jspb.Message.setProto3StringField(this, 3, value)
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.toObject(
opt_includeInstance,
this,
)
}
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse()
return proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter()
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.serializeBinaryToWriter(
this,
writer,
)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgVerifyInvariantResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.toObject = function (
opt_includeInstance,
) {
return proto.cosmos.crisis.v1beta1.MsgUpdateParams.toObject(
opt_includeInstance,
this,
)
}
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.cosmos.crisis.v1beta1.MsgUpdateParams} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
authority: jspb.Message.getFieldWithDefault(msg, 1, ''),
constantFee:
(f = msg.getConstantFee()) &&
cosmos_base_v1beta1_coin_pb.Coin.toObject(includeInstance, f),
}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParams}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.deserializeBinary = function (
bytes,
) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.cosmos.crisis.v1beta1.MsgUpdateParams()
return proto.cosmos.crisis.v1beta1.MsgUpdateParams.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.cosmos.crisis.v1beta1.MsgUpdateParams} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParams}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString())
msg.setAuthority(value)
break
case 2:
var value = new cosmos_base_v1beta1_coin_pb.Coin()
reader.readMessage(
value,
cosmos_base_v1beta1_coin_pb.Coin.deserializeBinaryFromReader,
)
msg.setConstantFee(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter()
proto.cosmos.crisis.v1beta1.MsgUpdateParams.serializeBinaryToWriter(
this,
writer,
)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.cosmos.crisis.v1beta1.MsgUpdateParams} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.serializeBinaryToWriter = function (
message,
writer,
) {
var f = undefined
f = message.getAuthority()
if (f.length > 0) {
writer.writeString(1, f)
}
f = message.getConstantFee()
if (f != null) {
writer.writeMessage(
2,
f,
cosmos_base_v1beta1_coin_pb.Coin.serializeBinaryToWriter,
)
}
}
/**
* optional string authority = 1;
* @return {string}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.getAuthority =
function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''))
}
/**
* @param {string} value
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParams} returns this
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.setAuthority = function (
value,
) {
return jspb.Message.setProto3StringField(this, 1, value)
}
/**
* optional cosmos.base.v1beta1.Coin constant_fee = 2;
* @return {?proto.cosmos.base.v1beta1.Coin}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.getConstantFee =
function () {
return /** @type{?proto.cosmos.base.v1beta1.Coin} */ (
jspb.Message.getWrapperField(this, cosmos_base_v1beta1_coin_pb.Coin, 2)
)
}
/**
* @param {?proto.cosmos.base.v1beta1.Coin|undefined} value
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParams} returns this
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.setConstantFee =
function (value) {
return jspb.Message.setWrapperField(this, 2, value)
}
/**
* Clears the message field making it undefined.
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParams} returns this
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.clearConstantFee =
function () {
return this.setConstantFee(undefined)
}
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParams.prototype.hasConstantFee =
function () {
return jspb.Message.getField(this, 2) != null
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.toObject(
opt_includeInstance,
this,
)
}
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse()
return proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter()
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.serializeBinaryToWriter(
this,
writer,
)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.cosmos.crisis.v1beta1.MsgUpdateParamsResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined
}
goog.object.extend(exports, proto.cosmos.crisis.v1beta1)