interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
58 lines (57 loc) • 4.04 kB
TypeScript
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour, MsgRecoverClient, MsgIBCSoftwareUpgrade, MsgUpdateParams, MsgDeleteClientCreator } from "./tx";
/**
* CreateClient defines a rpc handler method for MsgCreateClient.
* @name createClient
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.CreateClient
*/
export declare const createClient: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgCreateClient | MsgCreateClient[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* UpdateClient defines a rpc handler method for MsgUpdateClient.
* @name updateClient
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.UpdateClient
*/
export declare const updateClient: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateClient | MsgUpdateClient[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* UpgradeClient defines a rpc handler method for MsgUpgradeClient.
* @name upgradeClient
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.UpgradeClient
*/
export declare const upgradeClient: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpgradeClient | MsgUpgradeClient[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.
* @name submitMisbehaviour
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.SubmitMisbehaviour
*/
export declare const submitMisbehaviour: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSubmitMisbehaviour | MsgSubmitMisbehaviour[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* RecoverClient defines a rpc handler method for MsgRecoverClient.
* @name recoverClient
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.RecoverClient
*/
export declare const recoverClient: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgRecoverClient | MsgRecoverClient[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.
* @name iBCSoftwareUpgrade
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.IBCSoftwareUpgrade
*/
export declare const iBCSoftwareUpgrade: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgIBCSoftwareUpgrade | MsgIBCSoftwareUpgrade[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* UpdateClientParams defines a rpc handler method for MsgUpdateParams.
* @name updateClientParams
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.UpdateClientParams
*/
export declare const updateClientParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* DeleteClientCreator defines a rpc handler method for MsgDeleteClientCreator.
* @name deleteClientCreator
* @package ibc.core.client.v1
* @see proto service: ibc.core.client.v1.DeleteClientCreator
*/
export declare const deleteClientCreator: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgDeleteClientCreator | MsgDeleteClientCreator[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;