interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
235 lines (234 loc) • 9.18 kB
TypeScript
import { Coin, CoinAmino } from "../../base/v1beta1/coin";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* MsgVerifyInvariant represents a message to verify a particular invariance.
* @name MsgVerifyInvariant
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgVerifyInvariant
*/
export interface MsgVerifyInvariant {
/**
* sender is the account address of private key to send coins to fee collector account.
*/
sender: string;
/**
* name of the invariant module.
*/
invariantModuleName: string;
/**
* invariant_route is the msg's invariant route.
*/
invariantRoute: string;
}
export interface MsgVerifyInvariantProtoMsg {
typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant";
value: Uint8Array;
}
/**
* MsgVerifyInvariant represents a message to verify a particular invariance.
* @name MsgVerifyInvariantAmino
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgVerifyInvariant
*/
export interface MsgVerifyInvariantAmino {
/**
* sender is the account address of private key to send coins to fee collector account.
*/
sender: string;
/**
* name of the invariant module.
*/
invariant_module_name: string;
/**
* invariant_route is the msg's invariant route.
*/
invariant_route: string;
}
export interface MsgVerifyInvariantAminoMsg {
type: "cosmos-sdk/MsgVerifyInvariant";
value: MsgVerifyInvariantAmino;
}
/**
* MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
* @name MsgVerifyInvariantResponse
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgVerifyInvariantResponse
*/
export interface MsgVerifyInvariantResponse {
}
export interface MsgVerifyInvariantResponseProtoMsg {
typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse";
value: Uint8Array;
}
/**
* MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
* @name MsgVerifyInvariantResponseAmino
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgVerifyInvariantResponse
*/
export interface MsgVerifyInvariantResponseAmino {
}
export interface MsgVerifyInvariantResponseAminoMsg {
type: "cosmos-sdk/MsgVerifyInvariantResponse";
value: MsgVerifyInvariantResponseAmino;
}
/**
* MsgUpdateParams is the Msg/UpdateParams request type.
* @name MsgUpdateParams
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgUpdateParams
*/
export interface MsgUpdateParams {
/**
* authority is the address that controls the module (defaults to x/gov unless overwritten).
*/
authority: string;
/**
* constant_fee defines the x/crisis parameter.
*/
constantFee: Coin;
}
export interface MsgUpdateParamsProtoMsg {
typeUrl: "/cosmos.crisis.v1beta1.MsgUpdateParams";
value: Uint8Array;
}
/**
* MsgUpdateParams is the Msg/UpdateParams request type.
* @name MsgUpdateParamsAmino
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgUpdateParams
*/
export interface MsgUpdateParamsAmino {
/**
* authority is the address that controls the module (defaults to x/gov unless overwritten).
*/
authority: string;
/**
* constant_fee defines the x/crisis parameter.
*/
constant_fee: CoinAmino;
}
export interface MsgUpdateParamsAminoMsg {
type: "cosmos-sdk/x/crisis/MsgUpdateParams";
value: MsgUpdateParamsAmino;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
* @name MsgUpdateParamsResponse
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponse {
}
export interface MsgUpdateParamsResponseProtoMsg {
typeUrl: "/cosmos.crisis.v1beta1.MsgUpdateParamsResponse";
value: Uint8Array;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
* @name MsgUpdateParamsResponseAmino
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponseAmino {
}
export interface MsgUpdateParamsResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateParamsResponse";
value: MsgUpdateParamsResponseAmino;
}
/**
* MsgVerifyInvariant represents a message to verify a particular invariance.
* @name MsgVerifyInvariant
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgVerifyInvariant
*/
export declare const MsgVerifyInvariant: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgVerifyInvariant;
isAmino(o: any): o is MsgVerifyInvariantAmino;
encode(message: MsgVerifyInvariant, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgVerifyInvariant;
fromPartial(object: DeepPartial<MsgVerifyInvariant>): MsgVerifyInvariant;
fromAmino(object: MsgVerifyInvariantAmino): MsgVerifyInvariant;
toAmino(message: MsgVerifyInvariant): MsgVerifyInvariantAmino;
fromAminoMsg(object: MsgVerifyInvariantAminoMsg): MsgVerifyInvariant;
toAminoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantAminoMsg;
fromProtoMsg(message: MsgVerifyInvariantProtoMsg): MsgVerifyInvariant;
toProto(message: MsgVerifyInvariant): Uint8Array;
toProtoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
* @name MsgVerifyInvariantResponse
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.v1beta1.MsgVerifyInvariantResponse
*/
export declare const MsgVerifyInvariantResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgVerifyInvariantResponse;
isAmino(o: any): o is MsgVerifyInvariantResponseAmino;
encode(_: MsgVerifyInvariantResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgVerifyInvariantResponse;
fromPartial(_: DeepPartial<MsgVerifyInvariantResponse>): MsgVerifyInvariantResponse;
fromAmino(_: MsgVerifyInvariantResponseAmino): MsgVerifyInvariantResponse;
toAmino(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAmino;
fromAminoMsg(object: MsgVerifyInvariantResponseAminoMsg): MsgVerifyInvariantResponse;
toAminoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAminoMsg;
fromProtoMsg(message: MsgVerifyInvariantResponseProtoMsg): MsgVerifyInvariantResponse;
toProto(message: MsgVerifyInvariantResponse): Uint8Array;
toProtoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateParams is the Msg/UpdateParams request type.
* @name MsgUpdateParams
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.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.
* @name MsgUpdateParamsResponse
* @package cosmos.crisis.v1beta1
* @see proto type: cosmos.crisis.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;
};