forked from LaconicNetwork/cosmos-explorer
110 lines
4.3 KiB
TypeScript
110 lines
4.3 KiB
TypeScript
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
|
|
import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing";
|
|
import * as _m0 from "protobufjs/minimal";
|
|
import { DeepPartial } from "../../../helpers";
|
|
/** QueryParamsRequest is the request type for the Query/Params RPC method */
|
|
export interface QueryParamsRequest {
|
|
}
|
|
/** QueryParamsRequest is the request type for the Query/Params RPC method */
|
|
export interface QueryParamsRequestSDKType {
|
|
}
|
|
/** QueryParamsResponse is the response type for the Query/Params RPC method */
|
|
export interface QueryParamsResponse {
|
|
params?: Params;
|
|
}
|
|
/** QueryParamsResponse is the response type for the Query/Params RPC method */
|
|
export interface QueryParamsResponseSDKType {
|
|
params?: ParamsSDKType;
|
|
}
|
|
/**
|
|
* QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfoRequest {
|
|
/** cons_address is the address to query signing info of */
|
|
consAddress: string;
|
|
}
|
|
/**
|
|
* QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfoRequestSDKType {
|
|
cons_address: string;
|
|
}
|
|
/**
|
|
* QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfoResponse {
|
|
/** val_signing_info is the signing info of requested val cons address */
|
|
valSigningInfo?: ValidatorSigningInfo;
|
|
}
|
|
/**
|
|
* QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfoResponseSDKType {
|
|
val_signing_info?: ValidatorSigningInfoSDKType;
|
|
}
|
|
/**
|
|
* QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfosRequest {
|
|
pagination?: PageRequest;
|
|
}
|
|
/**
|
|
* QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfosRequestSDKType {
|
|
pagination?: PageRequestSDKType;
|
|
}
|
|
/**
|
|
* QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfosResponse {
|
|
/** info is the signing info of all validators */
|
|
info: ValidatorSigningInfo[];
|
|
pagination?: PageResponse;
|
|
}
|
|
/**
|
|
* QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC
|
|
* method
|
|
*/
|
|
export interface QuerySigningInfosResponseSDKType {
|
|
info: ValidatorSigningInfoSDKType[];
|
|
pagination?: PageResponseSDKType;
|
|
}
|
|
export declare const QueryParamsRequest: {
|
|
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
|
|
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
|
|
};
|
|
export declare const QueryParamsResponse: {
|
|
encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
|
|
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
|
|
};
|
|
export declare const QuerySigningInfoRequest: {
|
|
encode(message: QuerySigningInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest;
|
|
fromPartial(object: DeepPartial<QuerySigningInfoRequest>): QuerySigningInfoRequest;
|
|
};
|
|
export declare const QuerySigningInfoResponse: {
|
|
encode(message: QuerySigningInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse;
|
|
fromPartial(object: DeepPartial<QuerySigningInfoResponse>): QuerySigningInfoResponse;
|
|
};
|
|
export declare const QuerySigningInfosRequest: {
|
|
encode(message: QuerySigningInfosRequest, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest;
|
|
fromPartial(object: DeepPartial<QuerySigningInfosRequest>): QuerySigningInfosRequest;
|
|
};
|
|
export declare const QuerySigningInfosResponse: {
|
|
encode(message: QuerySigningInfosResponse, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse;
|
|
fromPartial(object: DeepPartial<QuerySigningInfosResponse>): QuerySigningInfosResponse;
|
|
};
|