import { Coin, CoinAmino } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; export declare const protobufPackage = "cosmos.vesting.v1beta1"; /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. */ export interface MsgCreateVestingAccount { fromAddress: string; toAddress: string; amount: Coin[]; endTime: bigint; delayed: boolean; } export interface MsgCreateVestingAccountProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount"; value: Uint8Array; } /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. */ export interface MsgCreateVestingAccountAmino { from_address?: string; to_address?: string; amount?: CoinAmino[]; end_time?: string; delayed?: boolean; } export interface MsgCreateVestingAccountAminoMsg { type: "cosmos-sdk/MsgCreateVestingAccount"; value: MsgCreateVestingAccountAmino; } /** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ export interface MsgCreateVestingAccountResponse { } export interface MsgCreateVestingAccountResponseProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse"; value: Uint8Array; } /** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ export interface MsgCreateVestingAccountResponseAmino { } export interface MsgCreateVestingAccountResponseAminoMsg { type: "cosmos-sdk/MsgCreateVestingAccountResponse"; value: MsgCreateVestingAccountResponseAmino; } export declare const MsgCreateVestingAccount: { typeUrl: string; aminoType: string; is(o: any): o is MsgCreateVestingAccount; isAmino(o: any): o is MsgCreateVestingAccountAmino; encode(message: MsgCreateVestingAccount, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateVestingAccount; fromJSON(object: any): MsgCreateVestingAccount; toJSON(message: MsgCreateVestingAccount): unknown; fromPartial(object: Partial): MsgCreateVestingAccount; fromAmino(object: MsgCreateVestingAccountAmino): MsgCreateVestingAccount; toAmino(message: MsgCreateVestingAccount): MsgCreateVestingAccountAmino; fromAminoMsg(object: MsgCreateVestingAccountAminoMsg): MsgCreateVestingAccount; toAminoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountAminoMsg; fromProtoMsg(message: MsgCreateVestingAccountProtoMsg): MsgCreateVestingAccount; toProto(message: MsgCreateVestingAccount): Uint8Array; toProtoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountProtoMsg; }; export declare const MsgCreateVestingAccountResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgCreateVestingAccountResponse; isAmino(o: any): o is MsgCreateVestingAccountResponseAmino; encode(_: MsgCreateVestingAccountResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateVestingAccountResponse; fromJSON(_: any): MsgCreateVestingAccountResponse; toJSON(_: MsgCreateVestingAccountResponse): unknown; fromPartial(_: Partial): MsgCreateVestingAccountResponse; fromAmino(_: MsgCreateVestingAccountResponseAmino): MsgCreateVestingAccountResponse; toAmino(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAmino; fromAminoMsg(object: MsgCreateVestingAccountResponseAminoMsg): MsgCreateVestingAccountResponse; toAminoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAminoMsg; fromProtoMsg(message: MsgCreateVestingAccountResponseProtoMsg): MsgCreateVestingAccountResponse; toProto(message: MsgCreateVestingAccountResponse): Uint8Array; toProtoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseProtoMsg; }; /** Msg defines the bank Msg service. */ export interface Msg { /** * CreateVestingAccount defines a method that enables creating a vesting * account. */ CreateVestingAccount(request: MsgCreateVestingAccount): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: TxRpc); CreateVestingAccount(request: MsgCreateVestingAccount): Promise; }