// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/peggy/v1/pool.proto (package injective.peggy.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * IDSet represents a set of IDs * * @generated from message injective.peggy.v1.IDSet */ export class IDSet extends Message { /** * @generated from field: repeated uint64 ids = 1; */ ids: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.IDSet"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): IDSet { return new IDSet().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): IDSet { return new IDSet().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): IDSet { return new IDSet().fromJsonString(jsonString, options); } static equals(a: IDSet | PlainMessage | undefined, b: IDSet | PlainMessage | undefined): boolean { return proto3.util.equals(IDSet, a, b); } } /** * @generated from message injective.peggy.v1.BatchFees */ export class BatchFees extends Message { /** * @generated from field: string token = 1; */ token = ""; /** * @generated from field: string total_fees = 2; */ totalFees = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.BatchFees"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "total_fees", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): BatchFees { return new BatchFees().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): BatchFees { return new BatchFees().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): BatchFees { return new BatchFees().fromJsonString(jsonString, options); } static equals(a: BatchFees | PlainMessage | undefined, b: BatchFees | PlainMessage | undefined): boolean { return proto3.util.equals(BatchFees, a, b); } }