// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/protorev/v1beta1/params.proto (package osmosis.protorev.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Params defines the parameters for the module. * * @generated from message osmosis.protorev.v1beta1.Params */ export class Params extends Message { /** * Boolean whether the protorev module is enabled. * * @generated from field: bool enabled = 1; */ enabled = false; /** * The admin account (settings manager) of the protorev module. * * @generated from field: string admin = 2; */ admin = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.Params"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 2, name: "admin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Params { return new Params().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Params { return new Params().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Params { return new Params().fromJsonString(jsonString, options); } static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean { return proto3.util.equals(Params, a, b); } }