import { BlockParams, BlockParamsAmino, BlockParamsSDKType, EvidenceParams, EvidenceParamsAmino, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsAmino, ValidatorParamsSDKType } from "../../../tendermint/types/params";
import { BinaryReader, BinaryWriter } from "../../../binary";
/** 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;
evidence?: EvidenceParams;
validator?: ValidatorParams;
}
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;
evidence?: EvidenceParamsAmino;
validator?: ValidatorParamsAmino;
}
export interface MsgUpdateParamsAminoMsg {
type: "cosmos-sdk/MsgUpdateParams";
value: MsgUpdateParamsAmino;
}
/** MsgUpdateParams is the Msg/UpdateParams request type. */
export interface MsgUpdateParamsSDKType {
authority: string;
block?: BlockParamsSDKType;
evidence?: EvidenceParamsSDKType;
validator?: ValidatorParamsSDKType;
}
/**
* 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;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*/
export interface MsgUpdateParamsResponseSDKType {
}
export declare const MsgUpdateParams: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateParams;
isSDK(o: any): o is MsgUpdateParamsSDKType;
isAmino(o: any): o is MsgUpdateParamsAmino;
encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams;
fromPartial(object: Partial<MsgUpdateParams>): 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;
aminoType: string;
is(o: any): o is MsgUpdateParamsResponse;
isSDK(o: any): o is MsgUpdateParamsResponseSDKType;
isAmino(o: any): o is MsgUpdateParamsResponseAmino;
encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse;
fromPartial(_: Partial<MsgUpdateParamsResponse>): 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;
};