// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/crisis/v1beta1/tx.proto (package cosmos.crisis.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../base/v1beta1/coin_pb.js"; /** * MsgVerifyInvariant represents a message to verify a particular invariance. * * @generated from message cosmos.crisis.v1beta1.MsgVerifyInvariant */ export class MsgVerifyInvariant extends Message { /** * sender is the account address of private key to send coins to fee collector account. * * @generated from field: string sender = 1; */ sender = ""; /** * name of the invariant module. * * @generated from field: string invariant_module_name = 2; */ invariantModuleName = ""; /** * invariant_route is the msg's invariant route. * * @generated from field: string invariant_route = 3; */ invariantRoute = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.crisis.v1beta1.MsgVerifyInvariant"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "invariant_module_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "invariant_route", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgVerifyInvariant { return new MsgVerifyInvariant().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgVerifyInvariant { return new MsgVerifyInvariant().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgVerifyInvariant { return new MsgVerifyInvariant().fromJsonString(jsonString, options); } static equals(a: MsgVerifyInvariant | PlainMessage | undefined, b: MsgVerifyInvariant | PlainMessage | undefined): boolean { return proto3.util.equals(MsgVerifyInvariant, a, b); } } /** * MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. * * @generated from message cosmos.crisis.v1beta1.MsgVerifyInvariantResponse */ export class MsgVerifyInvariantResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.crisis.v1beta1.MsgVerifyInvariantResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgVerifyInvariantResponse { return new MsgVerifyInvariantResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgVerifyInvariantResponse { return new MsgVerifyInvariantResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgVerifyInvariantResponse { return new MsgVerifyInvariantResponse().fromJsonString(jsonString, options); } static equals(a: MsgVerifyInvariantResponse | PlainMessage | undefined, b: MsgVerifyInvariantResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgVerifyInvariantResponse, a, b); } } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.crisis.v1beta1.MsgUpdateParams */ export class MsgUpdateParams extends Message { /** * authority is the address that controls the module (defaults to x/gov unless overwritten). * * @generated from field: string authority = 1; */ authority = ""; /** * constant_fee defines the x/crisis parameter. * * @generated from field: cosmos.base.v1beta1.Coin constant_fee = 2; */ constantFee?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.crisis.v1beta1.MsgUpdateParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "constant_fee", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParams, a, b); } } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.crisis.v1beta1.MsgUpdateParamsResponse */ export class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.crisis.v1beta1.MsgUpdateParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParamsResponse, a, b); } }