28 lines
1.5 KiB
TypeScript
28 lines
1.5 KiB
TypeScript
import { Rpc } from "../../../helpers";
|
|
import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx";
|
|
/** Msg defines the bank Msg service. */
|
|
export interface Msg {
|
|
/**
|
|
* CreateVestingAccount defines a method that enables creating a vesting
|
|
* account.
|
|
*/
|
|
createVestingAccount(request: MsgCreateVestingAccount): Promise<MsgCreateVestingAccountResponse>;
|
|
/**
|
|
* CreatePermanentLockedAccount defines a method that enables creating a permanent
|
|
* locked account.
|
|
*/
|
|
createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise<MsgCreatePermanentLockedAccountResponse>;
|
|
/**
|
|
* CreatePeriodicVestingAccount defines a method that enables creating a
|
|
* periodic vesting account.
|
|
*/
|
|
createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise<MsgCreatePeriodicVestingAccountResponse>;
|
|
}
|
|
export declare class MsgClientImpl implements Msg {
|
|
private readonly rpc;
|
|
constructor(rpc: Rpc);
|
|
createVestingAccount(request: MsgCreateVestingAccount): Promise<MsgCreateVestingAccountResponse>;
|
|
createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise<MsgCreatePermanentLockedAccountResponse>;
|
|
createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise<MsgCreatePeriodicVestingAccountResponse>;
|
|
}
|