@leapwallet/buffer-boba
Version:
Buffer Boba is a library for decoding protocol buffers in the cosmos ecosystem.
50 lines (49 loc) • 1.81 kB
TypeScript
import { BinaryReader, BinaryWriter } from '../../../../../../binary';
/**
* Params defines the set of on-chain interchain accounts parameters.
* The following parameters may be used to disable the controller submodule.
*/
export interface Params {
/** controller_enabled enables or disables the controller submodule. */
controllerEnabled: boolean;
}
export interface ParamsProtoMsg {
typeUrl: '/ibc.applications.interchain_accounts.controller.v1.Params';
value: Uint8Array;
}
/**
* Params defines the set of on-chain interchain accounts parameters.
* The following parameters may be used to disable the controller submodule.
*/
export interface ParamsAmino {
/** controller_enabled enables or disables the controller submodule. */
controller_enabled?: boolean;
}
export interface ParamsAminoMsg {
type: 'cosmos-sdk/Params';
value: ParamsAmino;
}
/**
* Params defines the set of on-chain interchain accounts parameters.
* The following parameters may be used to disable the controller submodule.
*/
export interface ParamsSDKType {
controller_enabled: boolean;
}
export declare const Params: {
typeUrl: string;
aminoType: string;
is(o: any): o is Params;
isSDK(o: any): o is ParamsSDKType;
isAmino(o: any): o is ParamsAmino;
encode(message: Params, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Params;
fromPartial(object: Partial<Params>): Params;
fromAmino(object: ParamsAmino): Params;
toAmino(message: Params): ParamsAmino;
fromAminoMsg(object: ParamsAminoMsg): Params;
toAminoMsg(message: Params): ParamsAminoMsg;
fromProtoMsg(message: ParamsProtoMsg): Params;
toProto(message: Params): Uint8Array;
toProtoMsg(message: Params): ParamsProtoMsg;
};