@bandprotocol/bandchain.js
Version:
TypeScript library for Cosmos SDK and BandChain
106 lines (105 loc) • 3.61 kB
TypeScript
import { Params, ParamsAmino, ParamsSDKType } from "./genesis";
import { BinaryReader, BinaryWriter } from "../../../binary";
/**
* MsgUpdateParams is the Msg/UpdateParams request type.
*
* Since: cosmos-sdk 0.47
*/
export interface MsgUpdateParams {
/** authority is the address of the governance account. */
authority: string;
/**
* params defines the x/globalfee parameters to update.
*
* NOTE: All parameters must be supplied.
*/
params: Params;
}
export interface MsgUpdateParamsProtoMsg {
typeUrl: "/band.globalfee.v1beta1.MsgUpdateParams";
value: Uint8Array;
}
/**
* MsgUpdateParams is the Msg/UpdateParams request type.
*
* Since: cosmos-sdk 0.47
*/
export interface MsgUpdateParamsAmino {
/** authority is the address of the governance account. */
authority?: string;
/**
* params defines the x/globalfee parameters to update.
*
* NOTE: All parameters must be supplied.
*/
params?: ParamsAmino;
}
export interface MsgUpdateParamsAminoMsg {
type: "/band.globalfee.v1beta1.MsgUpdateParams";
value: MsgUpdateParamsAmino;
}
/**
* MsgUpdateParams is the Msg/UpdateParams request type.
*
* Since: cosmos-sdk 0.47
*/
export interface MsgUpdateParamsSDKType {
authority: string;
params: ParamsSDKType;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*
* Since: cosmos-sdk 0.47
*/
export interface MsgUpdateParamsResponse {
}
export interface MsgUpdateParamsResponseProtoMsg {
typeUrl: "/band.globalfee.v1beta1.MsgUpdateParamsResponse";
value: Uint8Array;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*
* Since: cosmos-sdk 0.47
*/
export interface MsgUpdateParamsResponseAmino {
}
export interface MsgUpdateParamsResponseAminoMsg {
type: "/band.globalfee.v1beta1.MsgUpdateParamsResponse";
value: MsgUpdateParamsResponseAmino;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*
* Since: cosmos-sdk 0.47
*/
export interface MsgUpdateParamsResponseSDKType {
}
export declare const MsgUpdateParams: {
typeUrl: string;
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;
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;
fromPartial(_: Partial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
fromAmino(_: MsgUpdateParamsResponseAmino): MsgUpdateParamsResponse;
toAmino(_: MsgUpdateParamsResponse): MsgUpdateParamsResponseAmino;
fromAminoMsg(object: MsgUpdateParamsResponseAminoMsg): MsgUpdateParamsResponse;
fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse;
toProto(message: MsgUpdateParamsResponse): Uint8Array;
toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg;
};