// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/protorev/v1beta1/query.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, protoInt64 } from "@bufbuild/protobuf"; import { Params } from "./params_pb.js"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; import { AllProtocolRevenue, BaseDenom, InfoByPoolType, RouteStatistics, TokenPairArbRoutes } from "./protorev_pb.js"; /** * QueryParamsRequest is request type for the Query/Params RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsRequest, a, b); } } /** * QueryParamsResponse is response type for the Query/Params RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params holds all the parameters of this module. * * @generated from field: osmosis.protorev.v1beta1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsResponse, a, b); } } /** * QueryGetProtoRevNumberOfTradesRequest is request type for the * Query/GetProtoRevNumberOfTrades RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevNumberOfTradesRequest */ export class QueryGetProtoRevNumberOfTradesRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevNumberOfTradesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevNumberOfTradesRequest { return new QueryGetProtoRevNumberOfTradesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevNumberOfTradesRequest { return new QueryGetProtoRevNumberOfTradesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevNumberOfTradesRequest { return new QueryGetProtoRevNumberOfTradesRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevNumberOfTradesRequest | PlainMessage | undefined, b: QueryGetProtoRevNumberOfTradesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevNumberOfTradesRequest, a, b); } } /** * QueryGetProtoRevNumberOfTradesResponse is response type for the * Query/GetProtoRevNumberOfTrades RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevNumberOfTradesResponse */ export class QueryGetProtoRevNumberOfTradesResponse extends Message { /** * number_of_trades is the number of trades the module has executed * * @generated from field: string number_of_trades = 1; */ numberOfTrades = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevNumberOfTradesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "number_of_trades", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevNumberOfTradesResponse { return new QueryGetProtoRevNumberOfTradesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevNumberOfTradesResponse { return new QueryGetProtoRevNumberOfTradesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevNumberOfTradesResponse { return new QueryGetProtoRevNumberOfTradesResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevNumberOfTradesResponse | PlainMessage | undefined, b: QueryGetProtoRevNumberOfTradesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevNumberOfTradesResponse, a, b); } } /** * QueryGetProtoRevProfitsByDenomRequest is request type for the * Query/GetProtoRevProfitsByDenom RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevProfitsByDenomRequest */ export class QueryGetProtoRevProfitsByDenomRequest extends Message { /** * denom is the denom to query profits by * * @generated from field: string denom = 1; */ denom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevProfitsByDenomRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevProfitsByDenomRequest { return new QueryGetProtoRevProfitsByDenomRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevProfitsByDenomRequest { return new QueryGetProtoRevProfitsByDenomRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevProfitsByDenomRequest { return new QueryGetProtoRevProfitsByDenomRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevProfitsByDenomRequest | PlainMessage | undefined, b: QueryGetProtoRevProfitsByDenomRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevProfitsByDenomRequest, a, b); } } /** * QueryGetProtoRevProfitsByDenomResponse is response type for the * Query/GetProtoRevProfitsByDenom RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevProfitsByDenomResponse */ export class QueryGetProtoRevProfitsByDenomResponse extends Message { /** * profit is the profits of the module by the selected denom * * @generated from field: cosmos.base.v1beta1.Coin profit = 1; */ profit?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevProfitsByDenomResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "profit", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevProfitsByDenomResponse { return new QueryGetProtoRevProfitsByDenomResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevProfitsByDenomResponse { return new QueryGetProtoRevProfitsByDenomResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevProfitsByDenomResponse { return new QueryGetProtoRevProfitsByDenomResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevProfitsByDenomResponse | PlainMessage | undefined, b: QueryGetProtoRevProfitsByDenomResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevProfitsByDenomResponse, a, b); } } /** * QueryGetProtoRevAllProfitsRequest is request type for the * Query/GetProtoRevAllProfits RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevAllProfitsRequest */ export class QueryGetProtoRevAllProfitsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevAllProfitsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevAllProfitsRequest { return new QueryGetProtoRevAllProfitsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevAllProfitsRequest { return new QueryGetProtoRevAllProfitsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevAllProfitsRequest { return new QueryGetProtoRevAllProfitsRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevAllProfitsRequest | PlainMessage | undefined, b: QueryGetProtoRevAllProfitsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevAllProfitsRequest, a, b); } } /** * QueryGetProtoRevAllProfitsResponse is response type for the * Query/GetProtoRevAllProfits RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevAllProfitsResponse */ export class QueryGetProtoRevAllProfitsResponse extends Message { /** * profits is a list of all of the profits from the module * * @generated from field: repeated cosmos.base.v1beta1.Coin profits = 1; */ profits: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevAllProfitsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "profits", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevAllProfitsResponse { return new QueryGetProtoRevAllProfitsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevAllProfitsResponse { return new QueryGetProtoRevAllProfitsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevAllProfitsResponse { return new QueryGetProtoRevAllProfitsResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevAllProfitsResponse | PlainMessage | undefined, b: QueryGetProtoRevAllProfitsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevAllProfitsResponse, a, b); } } /** * QueryGetProtoRevStatisticsByPoolRequest is request type for the * Query/GetProtoRevStatisticsByRoute RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevStatisticsByRouteRequest */ export class QueryGetProtoRevStatisticsByRouteRequest extends Message { /** * route is the set of pool ids to query statistics by i.e. 1,2,3 * * @generated from field: repeated uint64 route = 1; */ route: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevStatisticsByRouteRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "route", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevStatisticsByRouteRequest { return new QueryGetProtoRevStatisticsByRouteRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevStatisticsByRouteRequest { return new QueryGetProtoRevStatisticsByRouteRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevStatisticsByRouteRequest { return new QueryGetProtoRevStatisticsByRouteRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevStatisticsByRouteRequest | PlainMessage | undefined, b: QueryGetProtoRevStatisticsByRouteRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevStatisticsByRouteRequest, a, b); } } /** * QueryGetProtoRevStatisticsByRouteResponse is response type for the * Query/GetProtoRevStatisticsByRoute RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevStatisticsByRouteResponse */ export class QueryGetProtoRevStatisticsByRouteResponse extends Message { /** * statistics contains the number of trades the module has executed after a * swap on a given pool and the profits from the trades * * @generated from field: osmosis.protorev.v1beta1.RouteStatistics statistics = 1; */ statistics?: RouteStatistics; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevStatisticsByRouteResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "statistics", kind: "message", T: RouteStatistics }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevStatisticsByRouteResponse { return new QueryGetProtoRevStatisticsByRouteResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevStatisticsByRouteResponse { return new QueryGetProtoRevStatisticsByRouteResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevStatisticsByRouteResponse { return new QueryGetProtoRevStatisticsByRouteResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevStatisticsByRouteResponse | PlainMessage | undefined, b: QueryGetProtoRevStatisticsByRouteResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevStatisticsByRouteResponse, a, b); } } /** * QueryGetProtoRevAllRouteStatisticsRequest is request type for the * Query/GetProtoRevAllRouteStatistics RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevAllRouteStatisticsRequest */ export class QueryGetProtoRevAllRouteStatisticsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevAllRouteStatisticsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevAllRouteStatisticsRequest { return new QueryGetProtoRevAllRouteStatisticsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevAllRouteStatisticsRequest { return new QueryGetProtoRevAllRouteStatisticsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevAllRouteStatisticsRequest { return new QueryGetProtoRevAllRouteStatisticsRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevAllRouteStatisticsRequest | PlainMessage | undefined, b: QueryGetProtoRevAllRouteStatisticsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevAllRouteStatisticsRequest, a, b); } } /** * QueryGetProtoRevAllRouteStatisticsResponse is response type for the * Query/GetProtoRevAllRouteStatistics RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevAllRouteStatisticsResponse */ export class QueryGetProtoRevAllRouteStatisticsResponse extends Message { /** * statistics contains the number of trades/profits the module has executed on * all routes it has successfully executed a trade on * * @generated from field: repeated osmosis.protorev.v1beta1.RouteStatistics statistics = 1; */ statistics: RouteStatistics[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevAllRouteStatisticsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "statistics", kind: "message", T: RouteStatistics, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevAllRouteStatisticsResponse { return new QueryGetProtoRevAllRouteStatisticsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevAllRouteStatisticsResponse { return new QueryGetProtoRevAllRouteStatisticsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevAllRouteStatisticsResponse { return new QueryGetProtoRevAllRouteStatisticsResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevAllRouteStatisticsResponse | PlainMessage | undefined, b: QueryGetProtoRevAllRouteStatisticsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevAllRouteStatisticsResponse, a, b); } } /** * QueryGetProtoRevTokenPairArbRoutesRequest is request type for the * Query/GetProtoRevTokenPairArbRoutes RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevTokenPairArbRoutesRequest */ export class QueryGetProtoRevTokenPairArbRoutesRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevTokenPairArbRoutesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevTokenPairArbRoutesRequest { return new QueryGetProtoRevTokenPairArbRoutesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevTokenPairArbRoutesRequest { return new QueryGetProtoRevTokenPairArbRoutesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevTokenPairArbRoutesRequest { return new QueryGetProtoRevTokenPairArbRoutesRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevTokenPairArbRoutesRequest | PlainMessage | undefined, b: QueryGetProtoRevTokenPairArbRoutesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevTokenPairArbRoutesRequest, a, b); } } /** * QueryGetProtoRevTokenPairArbRoutesResponse is response type for the * Query/GetProtoRevTokenPairArbRoutes RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevTokenPairArbRoutesResponse */ export class QueryGetProtoRevTokenPairArbRoutesResponse extends Message { /** * routes is a list of all of the hot routes that the module is currently * arbitraging * * @generated from field: repeated osmosis.protorev.v1beta1.TokenPairArbRoutes routes = 1; */ routes: TokenPairArbRoutes[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevTokenPairArbRoutesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "routes", kind: "message", T: TokenPairArbRoutes, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevTokenPairArbRoutesResponse { return new QueryGetProtoRevTokenPairArbRoutesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevTokenPairArbRoutesResponse { return new QueryGetProtoRevTokenPairArbRoutesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevTokenPairArbRoutesResponse { return new QueryGetProtoRevTokenPairArbRoutesResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevTokenPairArbRoutesResponse | PlainMessage | undefined, b: QueryGetProtoRevTokenPairArbRoutesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevTokenPairArbRoutesResponse, a, b); } } /** * QueryGetProtoRevAdminAccountRequest is request type for the * Query/GetProtoRevAdminAccount RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevAdminAccountRequest */ export class QueryGetProtoRevAdminAccountRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevAdminAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevAdminAccountRequest { return new QueryGetProtoRevAdminAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevAdminAccountRequest { return new QueryGetProtoRevAdminAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevAdminAccountRequest { return new QueryGetProtoRevAdminAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevAdminAccountRequest | PlainMessage | undefined, b: QueryGetProtoRevAdminAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevAdminAccountRequest, a, b); } } /** * QueryGetProtoRevAdminAccountResponse is response type for the * Query/GetProtoRevAdminAccount RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevAdminAccountResponse */ export class QueryGetProtoRevAdminAccountResponse extends Message { /** * admin_account is the admin account of the module * * @generated from field: string admin_account = 1; */ adminAccount = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevAdminAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "admin_account", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevAdminAccountResponse { return new QueryGetProtoRevAdminAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevAdminAccountResponse { return new QueryGetProtoRevAdminAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevAdminAccountResponse { return new QueryGetProtoRevAdminAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevAdminAccountResponse | PlainMessage | undefined, b: QueryGetProtoRevAdminAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevAdminAccountResponse, a, b); } } /** * QueryGetProtoRevDeveloperAccountRequest is request type for the * Query/GetProtoRevDeveloperAccount RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevDeveloperAccountRequest */ export class QueryGetProtoRevDeveloperAccountRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevDeveloperAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevDeveloperAccountRequest { return new QueryGetProtoRevDeveloperAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevDeveloperAccountRequest { return new QueryGetProtoRevDeveloperAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevDeveloperAccountRequest { return new QueryGetProtoRevDeveloperAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevDeveloperAccountRequest | PlainMessage | undefined, b: QueryGetProtoRevDeveloperAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevDeveloperAccountRequest, a, b); } } /** * QueryGetProtoRevDeveloperAccountResponse is response type for the * Query/GetProtoRevDeveloperAccount RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevDeveloperAccountResponse */ export class QueryGetProtoRevDeveloperAccountResponse extends Message { /** * developer_account is the developer account of the module * * @generated from field: string developer_account = 1; */ developerAccount = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevDeveloperAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "developer_account", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevDeveloperAccountResponse { return new QueryGetProtoRevDeveloperAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevDeveloperAccountResponse { return new QueryGetProtoRevDeveloperAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevDeveloperAccountResponse { return new QueryGetProtoRevDeveloperAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevDeveloperAccountResponse | PlainMessage | undefined, b: QueryGetProtoRevDeveloperAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevDeveloperAccountResponse, a, b); } } /** * QueryGetProtoRevInfoByPoolTypeRequest is request type for the * Query/GetProtoRevInfoByPoolType RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevInfoByPoolTypeRequest */ export class QueryGetProtoRevInfoByPoolTypeRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevInfoByPoolTypeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevInfoByPoolTypeRequest { return new QueryGetProtoRevInfoByPoolTypeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevInfoByPoolTypeRequest { return new QueryGetProtoRevInfoByPoolTypeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevInfoByPoolTypeRequest { return new QueryGetProtoRevInfoByPoolTypeRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevInfoByPoolTypeRequest | PlainMessage | undefined, b: QueryGetProtoRevInfoByPoolTypeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevInfoByPoolTypeRequest, a, b); } } /** * QueryGetProtoRevInfoByPoolTypeResponse is response type for the * Query/GetProtoRevInfoByPoolType RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevInfoByPoolTypeResponse */ export class QueryGetProtoRevInfoByPoolTypeResponse extends Message { /** * InfoByPoolType contains all information pertaining to how different * pool types are handled by the module. * * @generated from field: osmosis.protorev.v1beta1.InfoByPoolType info_by_pool_type = 1; */ infoByPoolType?: InfoByPoolType; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevInfoByPoolTypeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "info_by_pool_type", kind: "message", T: InfoByPoolType }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevInfoByPoolTypeResponse { return new QueryGetProtoRevInfoByPoolTypeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevInfoByPoolTypeResponse { return new QueryGetProtoRevInfoByPoolTypeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevInfoByPoolTypeResponse { return new QueryGetProtoRevInfoByPoolTypeResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevInfoByPoolTypeResponse | PlainMessage | undefined, b: QueryGetProtoRevInfoByPoolTypeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevInfoByPoolTypeResponse, a, b); } } /** * QueryGetProtoRevMaxPoolPointsPerBlockRequest is request type for the * Query/GetProtoRevMaxPoolPointsPerBlock RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerBlockRequest */ export class QueryGetProtoRevMaxPoolPointsPerBlockRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerBlockRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevMaxPoolPointsPerBlockRequest { return new QueryGetProtoRevMaxPoolPointsPerBlockRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevMaxPoolPointsPerBlockRequest { return new QueryGetProtoRevMaxPoolPointsPerBlockRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevMaxPoolPointsPerBlockRequest { return new QueryGetProtoRevMaxPoolPointsPerBlockRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevMaxPoolPointsPerBlockRequest | PlainMessage | undefined, b: QueryGetProtoRevMaxPoolPointsPerBlockRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevMaxPoolPointsPerBlockRequest, a, b); } } /** * QueryGetProtoRevMaxPoolPointsPerBlockResponse is response type for the * Query/GetProtoRevMaxPoolPointsPerBlock RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerBlockResponse */ export class QueryGetProtoRevMaxPoolPointsPerBlockResponse extends Message { /** * max_pool_points_per_block is the maximum number of pool points that can be * consumed per block * * @generated from field: uint64 max_pool_points_per_block = 1; */ maxPoolPointsPerBlock = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerBlockResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "max_pool_points_per_block", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevMaxPoolPointsPerBlockResponse { return new QueryGetProtoRevMaxPoolPointsPerBlockResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevMaxPoolPointsPerBlockResponse { return new QueryGetProtoRevMaxPoolPointsPerBlockResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevMaxPoolPointsPerBlockResponse { return new QueryGetProtoRevMaxPoolPointsPerBlockResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevMaxPoolPointsPerBlockResponse | PlainMessage | undefined, b: QueryGetProtoRevMaxPoolPointsPerBlockResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevMaxPoolPointsPerBlockResponse, a, b); } } /** * QueryGetProtoRevMaxPoolPointsPerTxRequest is request type for the * Query/GetProtoRevMaxPoolPointsPerTx RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerTxRequest */ export class QueryGetProtoRevMaxPoolPointsPerTxRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerTxRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevMaxPoolPointsPerTxRequest { return new QueryGetProtoRevMaxPoolPointsPerTxRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevMaxPoolPointsPerTxRequest { return new QueryGetProtoRevMaxPoolPointsPerTxRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevMaxPoolPointsPerTxRequest { return new QueryGetProtoRevMaxPoolPointsPerTxRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevMaxPoolPointsPerTxRequest | PlainMessage | undefined, b: QueryGetProtoRevMaxPoolPointsPerTxRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevMaxPoolPointsPerTxRequest, a, b); } } /** * QueryGetProtoRevMaxPoolPointsPerTxResponse is response type for the * Query/GetProtoRevMaxPoolPointsPerTx RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerTxResponse */ export class QueryGetProtoRevMaxPoolPointsPerTxResponse extends Message { /** * max_pool_points_per_tx is the maximum number of pool points that can be * consumed per transaction * * @generated from field: uint64 max_pool_points_per_tx = 1; */ maxPoolPointsPerTx = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevMaxPoolPointsPerTxResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "max_pool_points_per_tx", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevMaxPoolPointsPerTxResponse { return new QueryGetProtoRevMaxPoolPointsPerTxResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevMaxPoolPointsPerTxResponse { return new QueryGetProtoRevMaxPoolPointsPerTxResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevMaxPoolPointsPerTxResponse { return new QueryGetProtoRevMaxPoolPointsPerTxResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevMaxPoolPointsPerTxResponse | PlainMessage | undefined, b: QueryGetProtoRevMaxPoolPointsPerTxResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevMaxPoolPointsPerTxResponse, a, b); } } /** * QueryGetProtoRevBaseDenomsRequest is request type for the * Query/GetProtoRevBaseDenoms RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevBaseDenomsRequest */ export class QueryGetProtoRevBaseDenomsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevBaseDenomsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevBaseDenomsRequest { return new QueryGetProtoRevBaseDenomsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevBaseDenomsRequest { return new QueryGetProtoRevBaseDenomsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevBaseDenomsRequest { return new QueryGetProtoRevBaseDenomsRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevBaseDenomsRequest | PlainMessage | undefined, b: QueryGetProtoRevBaseDenomsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevBaseDenomsRequest, a, b); } } /** * QueryGetProtoRevBaseDenomsResponse is response type for the * Query/GetProtoRevBaseDenoms RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevBaseDenomsResponse */ export class QueryGetProtoRevBaseDenomsResponse extends Message { /** * base_denoms is a list of all of the base denoms and step sizes * * @generated from field: repeated osmosis.protorev.v1beta1.BaseDenom base_denoms = 1; */ baseDenoms: BaseDenom[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevBaseDenomsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "base_denoms", kind: "message", T: BaseDenom, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevBaseDenomsResponse { return new QueryGetProtoRevBaseDenomsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevBaseDenomsResponse { return new QueryGetProtoRevBaseDenomsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevBaseDenomsResponse { return new QueryGetProtoRevBaseDenomsResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevBaseDenomsResponse | PlainMessage | undefined, b: QueryGetProtoRevBaseDenomsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevBaseDenomsResponse, a, b); } } /** * QueryGetProtoRevEnabledRequest is request type for the * Query/GetProtoRevEnabled RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevEnabledRequest */ export class QueryGetProtoRevEnabledRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevEnabledRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevEnabledRequest { return new QueryGetProtoRevEnabledRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevEnabledRequest { return new QueryGetProtoRevEnabledRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevEnabledRequest { return new QueryGetProtoRevEnabledRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevEnabledRequest | PlainMessage | undefined, b: QueryGetProtoRevEnabledRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevEnabledRequest, a, b); } } /** * QueryGetProtoRevEnabledResponse is response type for the * Query/GetProtoRevEnabled RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevEnabledResponse */ export class QueryGetProtoRevEnabledResponse extends Message { /** * enabled is whether the module is enabled * * @generated from field: bool enabled = 1; */ enabled = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevEnabledResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevEnabledResponse { return new QueryGetProtoRevEnabledResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevEnabledResponse { return new QueryGetProtoRevEnabledResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevEnabledResponse { return new QueryGetProtoRevEnabledResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevEnabledResponse | PlainMessage | undefined, b: QueryGetProtoRevEnabledResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevEnabledResponse, a, b); } } /** * QueryGetProtoRevPoolRequest is request type for the * Query/GetProtoRevPool RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevPoolRequest */ export class QueryGetProtoRevPoolRequest extends Message { /** * base_denom is the base denom set in protorev for the denom pair to pool * mapping * * @generated from field: string base_denom = 1; */ baseDenom = ""; /** * other_denom is the other denom for the denom pair to pool mapping * * @generated from field: string other_denom = 2; */ otherDenom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevPoolRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "base_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "other_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevPoolRequest { return new QueryGetProtoRevPoolRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevPoolRequest { return new QueryGetProtoRevPoolRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevPoolRequest { return new QueryGetProtoRevPoolRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevPoolRequest | PlainMessage | undefined, b: QueryGetProtoRevPoolRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevPoolRequest, a, b); } } /** * QueryGetProtoRevPoolResponse is response type for the * Query/GetProtoRevPool RPC method. * * @generated from message osmosis.protorev.v1beta1.QueryGetProtoRevPoolResponse */ export class QueryGetProtoRevPoolResponse extends Message { /** * pool_id is the pool_id stored for the denom pair * * @generated from field: uint64 pool_id = 1; */ poolId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetProtoRevPoolResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pool_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetProtoRevPoolResponse { return new QueryGetProtoRevPoolResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetProtoRevPoolResponse { return new QueryGetProtoRevPoolResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetProtoRevPoolResponse { return new QueryGetProtoRevPoolResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetProtoRevPoolResponse | PlainMessage | undefined, b: QueryGetProtoRevPoolResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetProtoRevPoolResponse, a, b); } } /** * @generated from message osmosis.protorev.v1beta1.QueryGetAllProtocolRevenueRequest */ export class QueryGetAllProtocolRevenueRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetAllProtocolRevenueRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetAllProtocolRevenueRequest { return new QueryGetAllProtocolRevenueRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetAllProtocolRevenueRequest { return new QueryGetAllProtocolRevenueRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetAllProtocolRevenueRequest { return new QueryGetAllProtocolRevenueRequest().fromJsonString(jsonString, options); } static equals(a: QueryGetAllProtocolRevenueRequest | PlainMessage | undefined, b: QueryGetAllProtocolRevenueRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetAllProtocolRevenueRequest, a, b); } } /** * @generated from message osmosis.protorev.v1beta1.QueryGetAllProtocolRevenueResponse */ export class QueryGetAllProtocolRevenueResponse extends Message { /** * @generated from field: osmosis.protorev.v1beta1.AllProtocolRevenue all_protocol_revenue = 1; */ allProtocolRevenue?: AllProtocolRevenue; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "osmosis.protorev.v1beta1.QueryGetAllProtocolRevenueResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "all_protocol_revenue", kind: "message", T: AllProtocolRevenue }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryGetAllProtocolRevenueResponse { return new QueryGetAllProtocolRevenueResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryGetAllProtocolRevenueResponse { return new QueryGetAllProtocolRevenueResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryGetAllProtocolRevenueResponse { return new QueryGetAllProtocolRevenueResponse().fromJsonString(jsonString, options); } static equals(a: QueryGetAllProtocolRevenueResponse | PlainMessage | undefined, b: QueryGetAllProtocolRevenueResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryGetAllProtocolRevenueResponse, a, b); } }