UNPKG

interchainjs

Version:

InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.

133 lines (132 loc) 4.74 kB
import { Params, ParamsAmino } from "./auth"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * @name MsgUpdateParams * @package cosmos.auth.v1beta1 * @see proto type: cosmos.auth.v1beta1.MsgUpdateParams */ export interface MsgUpdateParams { /** * authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority: string; /** * params defines the x/auth parameters to update. * * NOTE: All parameters must be supplied. */ params: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams"; value: Uint8Array; } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * @name MsgUpdateParamsAmino * @package cosmos.auth.v1beta1 * @see proto type: cosmos.auth.v1beta1.MsgUpdateParams */ export interface MsgUpdateParamsAmino { /** * authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority: string; /** * params defines the x/auth parameters to update. * * NOTE: All parameters must be supplied. */ params: ParamsAmino; } export interface MsgUpdateParamsAminoMsg { type: "cosmos-sdk/x/auth/MsgUpdateParams"; value: MsgUpdateParamsAmino; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 * @name MsgUpdateParamsResponse * @package cosmos.auth.v1beta1 * @see proto type: cosmos.auth.v1beta1.MsgUpdateParamsResponse */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParamsResponse"; value: Uint8Array; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 * @name MsgUpdateParamsResponseAmino * @package cosmos.auth.v1beta1 * @see proto type: cosmos.auth.v1beta1.MsgUpdateParamsResponse */ export interface MsgUpdateParamsResponseAmino { } export interface MsgUpdateParamsResponseAminoMsg { type: "cosmos-sdk/MsgUpdateParamsResponse"; value: MsgUpdateParamsResponseAmino; } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * @name MsgUpdateParams * @package cosmos.auth.v1beta1 * @see proto type: cosmos.auth.v1beta1.MsgUpdateParams */ export declare const MsgUpdateParams: { typeUrl: string; aminoType: string; is(o: any): o is MsgUpdateParams; isAmino(o: any): o is MsgUpdateParamsAmino; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromPartial(object: DeepPartial<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; registerTypeUrl(): void; }; /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 * @name MsgUpdateParamsResponse * @package cosmos.auth.v1beta1 * @see proto type: cosmos.auth.v1beta1.MsgUpdateParamsResponse */ export declare const MsgUpdateParamsResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgUpdateParamsResponse; isAmino(o: any): o is MsgUpdateParamsResponseAmino; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromPartial(_: DeepPartial<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; registerTypeUrl(): void; };