interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
70 lines (69 loc) • 2.33 kB
TypeScript
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* Config is the config object of the x/auth/tx package.
* @name Config
* @package cosmos.tx.config.v1
* @see proto type: cosmos.tx.config.v1.Config
*/
export interface Config {
/**
* skip_ante_handler defines whether the ante handler registration should be skipped in case an app wants to override
* this functionality.
*/
skipAnteHandler: boolean;
/**
* skip_post_handler defines whether the post handler registration should be skipped in case an app wants to override
* this functionality.
*/
skipPostHandler: boolean;
}
export interface ConfigProtoMsg {
typeUrl: "/cosmos.tx.config.v1.Config";
value: Uint8Array;
}
/**
* Config is the config object of the x/auth/tx package.
* @name ConfigAmino
* @package cosmos.tx.config.v1
* @see proto type: cosmos.tx.config.v1.Config
*/
export interface ConfigAmino {
/**
* skip_ante_handler defines whether the ante handler registration should be skipped in case an app wants to override
* this functionality.
*/
skip_ante_handler: boolean;
/**
* skip_post_handler defines whether the post handler registration should be skipped in case an app wants to override
* this functionality.
*/
skip_post_handler: boolean;
}
export interface ConfigAminoMsg {
type: "cosmos-sdk/Config";
value: ConfigAmino;
}
/**
* Config is the config object of the x/auth/tx package.
* @name Config
* @package cosmos.tx.config.v1
* @see proto type: cosmos.tx.config.v1.Config
*/
export declare const Config: {
typeUrl: string;
aminoType: string;
is(o: any): o is Config;
isAmino(o: any): o is ConfigAmino;
encode(message: Config, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Config;
fromPartial(object: DeepPartial<Config>): Config;
fromAmino(object: ConfigAmino): Config;
toAmino(message: Config): ConfigAmino;
fromAminoMsg(object: ConfigAminoMsg): Config;
toAminoMsg(message: Config): ConfigAminoMsg;
fromProtoMsg(message: ConfigProtoMsg): Config;
toProto(message: Config): Uint8Array;
toProtoMsg(message: Config): ConfigProtoMsg;
registerTypeUrl(): void;
};