// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/slashing/module/v1/module.proto (package cosmos.slashing.module.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Module is the config object of the slashing module. * * @generated from message cosmos.slashing.module.v1.Module */ export class Module extends Message { /** * authority defines the custom module authority. If not set, defaults to the governance module. * * @generated from field: string authority = 1; */ authority = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.slashing.module.v1.Module"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Module { return new Module().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Module { return new Module().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Module { return new Module().fromJsonString(jsonString, options); } static equals(a: Module | PlainMessage | undefined, b: Module | PlainMessage | undefined): boolean { return proto3.util.equals(Module, a, b); } }