import { BlockParams, BlockParamsAmino, EvidenceParams, EvidenceParamsAmino, ValidatorParams, ValidatorParamsAmino, ABCIParams, ABCIParamsAmino } from "../../../tendermint/types/params"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; export declare const protobufPackage = "cosmos.consensus.v1"; /** MsgUpdateParams is the Msg/UpdateParams request type. */ export interface MsgUpdateParams { /** authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority: string; /** * params defines the x/consensus parameters to update. * VersionsParams is not included in this Msg because it is tracked * separarately in x/upgrade. * * NOTE: All parameters must be supplied. */ block?: BlockParams | undefined; evidence?: EvidenceParams | undefined; validator?: ValidatorParams | undefined; /** Since: cosmos-sdk 0.50 */ abci?: ABCIParams | undefined; } export interface MsgUpdateParamsProtoMsg { typeUrl: "/cosmos.consensus.v1.MsgUpdateParams"; value: Uint8Array; } /** MsgUpdateParams is the Msg/UpdateParams request type. */ export interface MsgUpdateParamsAmino { /** authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority?: string; /** * params defines the x/consensus parameters to update. * VersionsParams is not included in this Msg because it is tracked * separarately in x/upgrade. * * NOTE: All parameters must be supplied. */ block?: BlockParamsAmino | undefined; evidence?: EvidenceParamsAmino | undefined; validator?: ValidatorParamsAmino | undefined; /** Since: cosmos-sdk 0.50 */ abci?: ABCIParamsAmino | undefined; } export interface MsgUpdateParamsAminoMsg { type: "cosmos-sdk/x/consensus/MsgUpdateParams"; value: MsgUpdateParamsAmino; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: "/cosmos.consensus.v1.MsgUpdateParamsResponse"; value: Uint8Array; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponseAmino { } export interface MsgUpdateParamsResponseAminoMsg { type: "cosmos-sdk/MsgUpdateParamsResponse"; value: MsgUpdateParamsResponseAmino; } export declare const MsgUpdateParams: { typeUrl: string; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): unknown; fromPartial(object: Partial): MsgUpdateParams; fromAmino(object: MsgUpdateParamsAmino): MsgUpdateParams; toAmino(message: MsgUpdateParams): MsgUpdateParamsAmino; fromAminoMsg(object: MsgUpdateParamsAminoMsg): MsgUpdateParams; toAminoMsg(message: MsgUpdateParams): MsgUpdateParamsAminoMsg; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: string; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): unknown; fromPartial(_: Partial): MsgUpdateParamsResponse; fromAmino(_: MsgUpdateParamsResponseAmino): MsgUpdateParamsResponse; toAmino(_: MsgUpdateParamsResponse): MsgUpdateParamsResponseAmino; fromAminoMsg(object: MsgUpdateParamsResponseAminoMsg): MsgUpdateParamsResponse; toAminoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseAminoMsg; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; /** Msg defines the consensus Msg service. */ export interface Msg { /** * UpdateParams defines a governance operation for updating the x/consensus module parameters. * The authority is defined in the keeper. * * Since: cosmos-sdk 0.47 */ UpdateParams(request: MsgUpdateParams): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: TxRpc); UpdateParams(request: MsgUpdateParams): Promise; }