// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/poolmanager/v1beta1/gov.proto (package osmosis.poolmanager.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 { DenomPairTakerFee } from "./tx_pb.js"; /** * DenomPairTakerFeeProposal is a type for adding/removing a custom taker fee(s) * for one or more denom pairs. * * @generated from message osmosis.poolmanager.v1beta1.DenomPairTakerFeeProposal */ export class DenomPairTakerFeeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: repeated osmosis.poolmanager.v1beta1.DenomPairTakerFee denom_pair_taker_fee = 3; */ denomPairTakerFee: DenomPairTakerFee[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.poolmanager.v1beta1.DenomPairTakerFeeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "denom_pair_taker_fee", kind: "message", T: DenomPairTakerFee, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DenomPairTakerFeeProposal { return new DenomPairTakerFeeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DenomPairTakerFeeProposal { return new DenomPairTakerFeeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DenomPairTakerFeeProposal { return new DenomPairTakerFeeProposal().fromJsonString(jsonString, options); } static equals(a: DenomPairTakerFeeProposal | PlainMessage | undefined, b: DenomPairTakerFeeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(DenomPairTakerFeeProposal, a, b); } }