// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/peggy/v1/query.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, protoInt64 } from "@bufbuild/protobuf"; import { Params } from "./params_pb.js"; import { LastClaimEvent, Valset } from "./types_pb.js"; import { MsgConfirmBatch, MsgValsetConfirm } from "./msgs_pb.js"; import { BatchFees } from "./pool_pb.js"; import { OutgoingTransferTx, OutgoingTxBatch } from "./batch_pb.js"; import { GenesisState } from "./genesis_pb.js"; /** * @generated from message injective.peggy.v1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.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); } } /** * @generated from message injective.peggy.v1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * @generated from field: injective.peggy.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.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); } } /** * @generated from message injective.peggy.v1.QueryCurrentValsetRequest */ export class QueryCurrentValsetRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryCurrentValsetRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryCurrentValsetRequest { return new QueryCurrentValsetRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryCurrentValsetRequest { return new QueryCurrentValsetRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryCurrentValsetRequest { return new QueryCurrentValsetRequest().fromJsonString(jsonString, options); } static equals(a: QueryCurrentValsetRequest | PlainMessage | undefined, b: QueryCurrentValsetRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryCurrentValsetRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryCurrentValsetResponse */ export class QueryCurrentValsetResponse extends Message { /** * @generated from field: injective.peggy.v1.Valset valset = 1; */ valset?: Valset; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryCurrentValsetResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "valset", kind: "message", T: Valset }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryCurrentValsetResponse { return new QueryCurrentValsetResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryCurrentValsetResponse { return new QueryCurrentValsetResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryCurrentValsetResponse { return new QueryCurrentValsetResponse().fromJsonString(jsonString, options); } static equals(a: QueryCurrentValsetResponse | PlainMessage | undefined, b: QueryCurrentValsetResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryCurrentValsetResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryValsetRequestRequest */ export class QueryValsetRequestRequest extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryValsetRequestRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValsetRequestRequest { return new QueryValsetRequestRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValsetRequestRequest { return new QueryValsetRequestRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValsetRequestRequest { return new QueryValsetRequestRequest().fromJsonString(jsonString, options); } static equals(a: QueryValsetRequestRequest | PlainMessage | undefined, b: QueryValsetRequestRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValsetRequestRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryValsetRequestResponse */ export class QueryValsetRequestResponse extends Message { /** * @generated from field: injective.peggy.v1.Valset valset = 1; */ valset?: Valset; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryValsetRequestResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "valset", kind: "message", T: Valset }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValsetRequestResponse { return new QueryValsetRequestResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValsetRequestResponse { return new QueryValsetRequestResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValsetRequestResponse { return new QueryValsetRequestResponse().fromJsonString(jsonString, options); } static equals(a: QueryValsetRequestResponse | PlainMessage | undefined, b: QueryValsetRequestResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValsetRequestResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryValsetConfirmRequest */ export class QueryValsetConfirmRequest extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; /** * @generated from field: string address = 2; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryValsetConfirmRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValsetConfirmRequest { return new QueryValsetConfirmRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValsetConfirmRequest { return new QueryValsetConfirmRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValsetConfirmRequest { return new QueryValsetConfirmRequest().fromJsonString(jsonString, options); } static equals(a: QueryValsetConfirmRequest | PlainMessage | undefined, b: QueryValsetConfirmRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValsetConfirmRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryValsetConfirmResponse */ export class QueryValsetConfirmResponse extends Message { /** * @generated from field: injective.peggy.v1.MsgValsetConfirm confirm = 1; */ confirm?: MsgValsetConfirm; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryValsetConfirmResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "confirm", kind: "message", T: MsgValsetConfirm }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValsetConfirmResponse { return new QueryValsetConfirmResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValsetConfirmResponse { return new QueryValsetConfirmResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValsetConfirmResponse { return new QueryValsetConfirmResponse().fromJsonString(jsonString, options); } static equals(a: QueryValsetConfirmResponse | PlainMessage | undefined, b: QueryValsetConfirmResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValsetConfirmResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryValsetConfirmsByNonceRequest */ export class QueryValsetConfirmsByNonceRequest extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryValsetConfirmsByNonceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValsetConfirmsByNonceRequest { return new QueryValsetConfirmsByNonceRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValsetConfirmsByNonceRequest { return new QueryValsetConfirmsByNonceRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValsetConfirmsByNonceRequest { return new QueryValsetConfirmsByNonceRequest().fromJsonString(jsonString, options); } static equals(a: QueryValsetConfirmsByNonceRequest | PlainMessage | undefined, b: QueryValsetConfirmsByNonceRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValsetConfirmsByNonceRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryValsetConfirmsByNonceResponse */ export class QueryValsetConfirmsByNonceResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.MsgValsetConfirm confirms = 1; */ confirms: MsgValsetConfirm[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryValsetConfirmsByNonceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "confirms", kind: "message", T: MsgValsetConfirm, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValsetConfirmsByNonceResponse { return new QueryValsetConfirmsByNonceResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValsetConfirmsByNonceResponse { return new QueryValsetConfirmsByNonceResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValsetConfirmsByNonceResponse { return new QueryValsetConfirmsByNonceResponse().fromJsonString(jsonString, options); } static equals(a: QueryValsetConfirmsByNonceResponse | PlainMessage | undefined, b: QueryValsetConfirmsByNonceResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValsetConfirmsByNonceResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastValsetRequestsRequest */ export class QueryLastValsetRequestsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastValsetRequestsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastValsetRequestsRequest { return new QueryLastValsetRequestsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastValsetRequestsRequest { return new QueryLastValsetRequestsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastValsetRequestsRequest { return new QueryLastValsetRequestsRequest().fromJsonString(jsonString, options); } static equals(a: QueryLastValsetRequestsRequest | PlainMessage | undefined, b: QueryLastValsetRequestsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastValsetRequestsRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastValsetRequestsResponse */ export class QueryLastValsetRequestsResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.Valset valsets = 1; */ valsets: Valset[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastValsetRequestsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "valsets", kind: "message", T: Valset, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastValsetRequestsResponse { return new QueryLastValsetRequestsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastValsetRequestsResponse { return new QueryLastValsetRequestsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastValsetRequestsResponse { return new QueryLastValsetRequestsResponse().fromJsonString(jsonString, options); } static equals(a: QueryLastValsetRequestsResponse | PlainMessage | undefined, b: QueryLastValsetRequestsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastValsetRequestsResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest */ export class QueryLastPendingValsetRequestByAddrRequest extends Message { /** * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastPendingValsetRequestByAddrRequest { return new QueryLastPendingValsetRequestByAddrRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastPendingValsetRequestByAddrRequest { return new QueryLastPendingValsetRequestByAddrRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastPendingValsetRequestByAddrRequest { return new QueryLastPendingValsetRequestByAddrRequest().fromJsonString(jsonString, options); } static equals(a: QueryLastPendingValsetRequestByAddrRequest | PlainMessage | undefined, b: QueryLastPendingValsetRequestByAddrRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastPendingValsetRequestByAddrRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse */ export class QueryLastPendingValsetRequestByAddrResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.Valset valsets = 1; */ valsets: Valset[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "valsets", kind: "message", T: Valset, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastPendingValsetRequestByAddrResponse { return new QueryLastPendingValsetRequestByAddrResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastPendingValsetRequestByAddrResponse { return new QueryLastPendingValsetRequestByAddrResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastPendingValsetRequestByAddrResponse { return new QueryLastPendingValsetRequestByAddrResponse().fromJsonString(jsonString, options); } static equals(a: QueryLastPendingValsetRequestByAddrResponse | PlainMessage | undefined, b: QueryLastPendingValsetRequestByAddrResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastPendingValsetRequestByAddrResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryBatchFeeRequest */ export class QueryBatchFeeRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryBatchFeeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBatchFeeRequest { return new QueryBatchFeeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBatchFeeRequest { return new QueryBatchFeeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBatchFeeRequest { return new QueryBatchFeeRequest().fromJsonString(jsonString, options); } static equals(a: QueryBatchFeeRequest | PlainMessage | undefined, b: QueryBatchFeeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBatchFeeRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryBatchFeeResponse */ export class QueryBatchFeeResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.BatchFees batchFees = 1; */ batchFees: BatchFees[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryBatchFeeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "batchFees", kind: "message", T: BatchFees, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBatchFeeResponse { return new QueryBatchFeeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBatchFeeResponse { return new QueryBatchFeeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBatchFeeResponse { return new QueryBatchFeeResponse().fromJsonString(jsonString, options); } static equals(a: QueryBatchFeeResponse | PlainMessage | undefined, b: QueryBatchFeeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBatchFeeResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest */ export class QueryLastPendingBatchRequestByAddrRequest extends Message { /** * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastPendingBatchRequestByAddrRequest { return new QueryLastPendingBatchRequestByAddrRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastPendingBatchRequestByAddrRequest { return new QueryLastPendingBatchRequestByAddrRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastPendingBatchRequestByAddrRequest { return new QueryLastPendingBatchRequestByAddrRequest().fromJsonString(jsonString, options); } static equals(a: QueryLastPendingBatchRequestByAddrRequest | PlainMessage | undefined, b: QueryLastPendingBatchRequestByAddrRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastPendingBatchRequestByAddrRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse */ export class QueryLastPendingBatchRequestByAddrResponse extends Message { /** * @generated from field: injective.peggy.v1.OutgoingTxBatch batch = 1; */ batch?: OutgoingTxBatch; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "batch", kind: "message", T: OutgoingTxBatch }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastPendingBatchRequestByAddrResponse { return new QueryLastPendingBatchRequestByAddrResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastPendingBatchRequestByAddrResponse { return new QueryLastPendingBatchRequestByAddrResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastPendingBatchRequestByAddrResponse { return new QueryLastPendingBatchRequestByAddrResponse().fromJsonString(jsonString, options); } static equals(a: QueryLastPendingBatchRequestByAddrResponse | PlainMessage | undefined, b: QueryLastPendingBatchRequestByAddrResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastPendingBatchRequestByAddrResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryOutgoingTxBatchesRequest */ export class QueryOutgoingTxBatchesRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryOutgoingTxBatchesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryOutgoingTxBatchesRequest { return new QueryOutgoingTxBatchesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryOutgoingTxBatchesRequest { return new QueryOutgoingTxBatchesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryOutgoingTxBatchesRequest { return new QueryOutgoingTxBatchesRequest().fromJsonString(jsonString, options); } static equals(a: QueryOutgoingTxBatchesRequest | PlainMessage | undefined, b: QueryOutgoingTxBatchesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryOutgoingTxBatchesRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryOutgoingTxBatchesResponse */ export class QueryOutgoingTxBatchesResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.OutgoingTxBatch batches = 1; */ batches: OutgoingTxBatch[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryOutgoingTxBatchesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "batches", kind: "message", T: OutgoingTxBatch, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryOutgoingTxBatchesResponse { return new QueryOutgoingTxBatchesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryOutgoingTxBatchesResponse { return new QueryOutgoingTxBatchesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryOutgoingTxBatchesResponse { return new QueryOutgoingTxBatchesResponse().fromJsonString(jsonString, options); } static equals(a: QueryOutgoingTxBatchesResponse | PlainMessage | undefined, b: QueryOutgoingTxBatchesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryOutgoingTxBatchesResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryBatchRequestByNonceRequest */ export class QueryBatchRequestByNonceRequest extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; /** * @generated from field: string contract_address = 2; */ contractAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryBatchRequestByNonceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBatchRequestByNonceRequest { return new QueryBatchRequestByNonceRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBatchRequestByNonceRequest { return new QueryBatchRequestByNonceRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBatchRequestByNonceRequest { return new QueryBatchRequestByNonceRequest().fromJsonString(jsonString, options); } static equals(a: QueryBatchRequestByNonceRequest | PlainMessage | undefined, b: QueryBatchRequestByNonceRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBatchRequestByNonceRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryBatchRequestByNonceResponse */ export class QueryBatchRequestByNonceResponse extends Message { /** * @generated from field: injective.peggy.v1.OutgoingTxBatch batch = 1; */ batch?: OutgoingTxBatch; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryBatchRequestByNonceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "batch", kind: "message", T: OutgoingTxBatch }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBatchRequestByNonceResponse { return new QueryBatchRequestByNonceResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBatchRequestByNonceResponse { return new QueryBatchRequestByNonceResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBatchRequestByNonceResponse { return new QueryBatchRequestByNonceResponse().fromJsonString(jsonString, options); } static equals(a: QueryBatchRequestByNonceResponse | PlainMessage | undefined, b: QueryBatchRequestByNonceResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBatchRequestByNonceResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryBatchConfirmsRequest */ export class QueryBatchConfirmsRequest extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; /** * @generated from field: string contract_address = 2; */ contractAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryBatchConfirmsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBatchConfirmsRequest { return new QueryBatchConfirmsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBatchConfirmsRequest { return new QueryBatchConfirmsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBatchConfirmsRequest { return new QueryBatchConfirmsRequest().fromJsonString(jsonString, options); } static equals(a: QueryBatchConfirmsRequest | PlainMessage | undefined, b: QueryBatchConfirmsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBatchConfirmsRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryBatchConfirmsResponse */ export class QueryBatchConfirmsResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.MsgConfirmBatch confirms = 1; */ confirms: MsgConfirmBatch[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryBatchConfirmsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "confirms", kind: "message", T: MsgConfirmBatch, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBatchConfirmsResponse { return new QueryBatchConfirmsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBatchConfirmsResponse { return new QueryBatchConfirmsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBatchConfirmsResponse { return new QueryBatchConfirmsResponse().fromJsonString(jsonString, options); } static equals(a: QueryBatchConfirmsResponse | PlainMessage | undefined, b: QueryBatchConfirmsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBatchConfirmsResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastEventByAddrRequest */ export class QueryLastEventByAddrRequest extends Message { /** * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastEventByAddrRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastEventByAddrRequest { return new QueryLastEventByAddrRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastEventByAddrRequest { return new QueryLastEventByAddrRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastEventByAddrRequest { return new QueryLastEventByAddrRequest().fromJsonString(jsonString, options); } static equals(a: QueryLastEventByAddrRequest | PlainMessage | undefined, b: QueryLastEventByAddrRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastEventByAddrRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryLastEventByAddrResponse */ export class QueryLastEventByAddrResponse extends Message { /** * @generated from field: injective.peggy.v1.LastClaimEvent last_claim_event = 1; */ lastClaimEvent?: LastClaimEvent; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryLastEventByAddrResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "last_claim_event", kind: "message", T: LastClaimEvent }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryLastEventByAddrResponse { return new QueryLastEventByAddrResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryLastEventByAddrResponse { return new QueryLastEventByAddrResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryLastEventByAddrResponse { return new QueryLastEventByAddrResponse().fromJsonString(jsonString, options); } static equals(a: QueryLastEventByAddrResponse | PlainMessage | undefined, b: QueryLastEventByAddrResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryLastEventByAddrResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryERC20ToDenomRequest */ export class QueryERC20ToDenomRequest extends Message { /** * @generated from field: string erc20 = 1; */ erc20 = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryERC20ToDenomRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "erc20", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryERC20ToDenomRequest { return new QueryERC20ToDenomRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryERC20ToDenomRequest { return new QueryERC20ToDenomRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryERC20ToDenomRequest { return new QueryERC20ToDenomRequest().fromJsonString(jsonString, options); } static equals(a: QueryERC20ToDenomRequest | PlainMessage | undefined, b: QueryERC20ToDenomRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryERC20ToDenomRequest, a, b); } } /** * @generated from message injective.peggy.v1.QueryERC20ToDenomResponse */ export class QueryERC20ToDenomResponse extends Message { /** * @generated from field: string denom = 1; */ denom = ""; /** * @generated from field: bool cosmos_originated = 2; */ cosmosOriginated = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryERC20ToDenomResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "cosmos_originated", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryERC20ToDenomResponse { return new QueryERC20ToDenomResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryERC20ToDenomResponse { return new QueryERC20ToDenomResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryERC20ToDenomResponse { return new QueryERC20ToDenomResponse().fromJsonString(jsonString, options); } static equals(a: QueryERC20ToDenomResponse | PlainMessage | undefined, b: QueryERC20ToDenomResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryERC20ToDenomResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryDenomToERC20Request */ export class QueryDenomToERC20Request extends Message { /** * @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 = "injective.peggy.v1.QueryDenomToERC20Request"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomToERC20Request { return new QueryDenomToERC20Request().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomToERC20Request { return new QueryDenomToERC20Request().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomToERC20Request { return new QueryDenomToERC20Request().fromJsonString(jsonString, options); } static equals(a: QueryDenomToERC20Request | PlainMessage | undefined, b: QueryDenomToERC20Request | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomToERC20Request, a, b); } } /** * @generated from message injective.peggy.v1.QueryDenomToERC20Response */ export class QueryDenomToERC20Response extends Message { /** * @generated from field: string erc20 = 1; */ erc20 = ""; /** * @generated from field: bool cosmos_originated = 2; */ cosmosOriginated = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDenomToERC20Response"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "erc20", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "cosmos_originated", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomToERC20Response { return new QueryDenomToERC20Response().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomToERC20Response { return new QueryDenomToERC20Response().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDenomToERC20Response { return new QueryDenomToERC20Response().fromJsonString(jsonString, options); } static equals(a: QueryDenomToERC20Response | PlainMessage | undefined, b: QueryDenomToERC20Response | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDenomToERC20Response, a, b); } } /** * @generated from message injective.peggy.v1.QueryDelegateKeysByValidatorAddress */ export class QueryDelegateKeysByValidatorAddress extends Message { /** * @generated from field: string validator_address = 1; */ validatorAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDelegateKeysByValidatorAddress"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "validator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDelegateKeysByValidatorAddress { return new QueryDelegateKeysByValidatorAddress().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDelegateKeysByValidatorAddress { return new QueryDelegateKeysByValidatorAddress().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDelegateKeysByValidatorAddress { return new QueryDelegateKeysByValidatorAddress().fromJsonString(jsonString, options); } static equals(a: QueryDelegateKeysByValidatorAddress | PlainMessage | undefined, b: QueryDelegateKeysByValidatorAddress | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDelegateKeysByValidatorAddress, a, b); } } /** * @generated from message injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse */ export class QueryDelegateKeysByValidatorAddressResponse extends Message { /** * @generated from field: string eth_address = 1; */ ethAddress = ""; /** * @generated from field: string orchestrator_address = 2; */ orchestratorAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "eth_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "orchestrator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDelegateKeysByValidatorAddressResponse { return new QueryDelegateKeysByValidatorAddressResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDelegateKeysByValidatorAddressResponse { return new QueryDelegateKeysByValidatorAddressResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDelegateKeysByValidatorAddressResponse { return new QueryDelegateKeysByValidatorAddressResponse().fromJsonString(jsonString, options); } static equals(a: QueryDelegateKeysByValidatorAddressResponse | PlainMessage | undefined, b: QueryDelegateKeysByValidatorAddressResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDelegateKeysByValidatorAddressResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryDelegateKeysByEthAddress */ export class QueryDelegateKeysByEthAddress extends Message { /** * @generated from field: string eth_address = 1; */ ethAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDelegateKeysByEthAddress"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "eth_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDelegateKeysByEthAddress { return new QueryDelegateKeysByEthAddress().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDelegateKeysByEthAddress { return new QueryDelegateKeysByEthAddress().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDelegateKeysByEthAddress { return new QueryDelegateKeysByEthAddress().fromJsonString(jsonString, options); } static equals(a: QueryDelegateKeysByEthAddress | PlainMessage | undefined, b: QueryDelegateKeysByEthAddress | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDelegateKeysByEthAddress, a, b); } } /** * @generated from message injective.peggy.v1.QueryDelegateKeysByEthAddressResponse */ export class QueryDelegateKeysByEthAddressResponse extends Message { /** * @generated from field: string validator_address = 1; */ validatorAddress = ""; /** * @generated from field: string orchestrator_address = 2; */ orchestratorAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDelegateKeysByEthAddressResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "validator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "orchestrator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDelegateKeysByEthAddressResponse { return new QueryDelegateKeysByEthAddressResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDelegateKeysByEthAddressResponse { return new QueryDelegateKeysByEthAddressResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDelegateKeysByEthAddressResponse { return new QueryDelegateKeysByEthAddressResponse().fromJsonString(jsonString, options); } static equals(a: QueryDelegateKeysByEthAddressResponse | PlainMessage | undefined, b: QueryDelegateKeysByEthAddressResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDelegateKeysByEthAddressResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress */ export class QueryDelegateKeysByOrchestratorAddress extends Message { /** * @generated from field: string orchestrator_address = 1; */ orchestratorAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "orchestrator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDelegateKeysByOrchestratorAddress { return new QueryDelegateKeysByOrchestratorAddress().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDelegateKeysByOrchestratorAddress { return new QueryDelegateKeysByOrchestratorAddress().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDelegateKeysByOrchestratorAddress { return new QueryDelegateKeysByOrchestratorAddress().fromJsonString(jsonString, options); } static equals(a: QueryDelegateKeysByOrchestratorAddress | PlainMessage | undefined, b: QueryDelegateKeysByOrchestratorAddress | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDelegateKeysByOrchestratorAddress, a, b); } } /** * @generated from message injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse */ export class QueryDelegateKeysByOrchestratorAddressResponse extends Message { /** * @generated from field: string validator_address = 1; */ validatorAddress = ""; /** * @generated from field: string eth_address = 2; */ ethAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "validator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "eth_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryDelegateKeysByOrchestratorAddressResponse { return new QueryDelegateKeysByOrchestratorAddressResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryDelegateKeysByOrchestratorAddressResponse { return new QueryDelegateKeysByOrchestratorAddressResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryDelegateKeysByOrchestratorAddressResponse { return new QueryDelegateKeysByOrchestratorAddressResponse().fromJsonString(jsonString, options); } static equals(a: QueryDelegateKeysByOrchestratorAddressResponse | PlainMessage | undefined, b: QueryDelegateKeysByOrchestratorAddressResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryDelegateKeysByOrchestratorAddressResponse, a, b); } } /** * @generated from message injective.peggy.v1.QueryPendingSendToEth */ export class QueryPendingSendToEth extends Message { /** * @generated from field: string sender_address = 1; */ senderAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryPendingSendToEth"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPendingSendToEth { return new QueryPendingSendToEth().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPendingSendToEth { return new QueryPendingSendToEth().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPendingSendToEth { return new QueryPendingSendToEth().fromJsonString(jsonString, options); } static equals(a: QueryPendingSendToEth | PlainMessage | undefined, b: QueryPendingSendToEth | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPendingSendToEth, a, b); } } /** * @generated from message injective.peggy.v1.QueryPendingSendToEthResponse */ export class QueryPendingSendToEthResponse extends Message { /** * @generated from field: repeated injective.peggy.v1.OutgoingTransferTx transfers_in_batches = 1; */ transfersInBatches: OutgoingTransferTx[] = []; /** * @generated from field: repeated injective.peggy.v1.OutgoingTransferTx unbatched_transfers = 2; */ unbatchedTransfers: OutgoingTransferTx[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryPendingSendToEthResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "transfers_in_batches", kind: "message", T: OutgoingTransferTx, repeated: true }, { no: 2, name: "unbatched_transfers", kind: "message", T: OutgoingTransferTx, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryPendingSendToEthResponse { return new QueryPendingSendToEthResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryPendingSendToEthResponse { return new QueryPendingSendToEthResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryPendingSendToEthResponse { return new QueryPendingSendToEthResponse().fromJsonString(jsonString, options); } static equals(a: QueryPendingSendToEthResponse | PlainMessage | undefined, b: QueryPendingSendToEthResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryPendingSendToEthResponse, a, b); } } /** * QueryModuleStateRequest is the request type for the Query/PeggyModuleState * RPC method. * * @generated from message injective.peggy.v1.QueryModuleStateRequest */ export class QueryModuleStateRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryModuleStateRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleStateRequest { return new QueryModuleStateRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleStateRequest { return new QueryModuleStateRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleStateRequest { return new QueryModuleStateRequest().fromJsonString(jsonString, options); } static equals(a: QueryModuleStateRequest | PlainMessage | undefined, b: QueryModuleStateRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleStateRequest, a, b); } } /** * QueryModuleStateResponse is the response type for the Query/PeggyModuleState * RPC method. * * @generated from message injective.peggy.v1.QueryModuleStateResponse */ export class QueryModuleStateResponse extends Message { /** * @generated from field: injective.peggy.v1.GenesisState state = 1; */ state?: GenesisState; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.QueryModuleStateResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "state", kind: "message", T: GenesisState }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleStateResponse { return new QueryModuleStateResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleStateResponse { return new QueryModuleStateResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleStateResponse { return new QueryModuleStateResponse().fromJsonString(jsonString, options); } static equals(a: QueryModuleStateResponse | PlainMessage | undefined, b: QueryModuleStateResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleStateResponse, a, b); } } /** * @generated from message injective.peggy.v1.MissingNoncesRequest */ export class MissingNoncesRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MissingNoncesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MissingNoncesRequest { return new MissingNoncesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MissingNoncesRequest { return new MissingNoncesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MissingNoncesRequest { return new MissingNoncesRequest().fromJsonString(jsonString, options); } static equals(a: MissingNoncesRequest | PlainMessage | undefined, b: MissingNoncesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(MissingNoncesRequest, a, b); } } /** * @generated from message injective.peggy.v1.MissingNoncesResponse */ export class MissingNoncesResponse extends Message { /** * @generated from field: repeated string operator_addresses = 1; */ operatorAddresses: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MissingNoncesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "operator_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MissingNoncesResponse { return new MissingNoncesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MissingNoncesResponse { return new MissingNoncesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MissingNoncesResponse { return new MissingNoncesResponse().fromJsonString(jsonString, options); } static equals(a: MissingNoncesResponse | PlainMessage | undefined, b: MissingNoncesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MissingNoncesResponse, a, b); } }