///
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import { Period, PeriodSDKType } from "./vesting";
import { Long, Rpc } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
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: Long;
delayed: boolean;
}
/**
* MsgCreateVestingAccount defines a message that enables creating a vesting
* account.
*/
export interface MsgCreateVestingAccountSDKType {
from_address: string;
to_address: string;
amount: CoinSDKType[];
end_time: Long;
delayed: boolean;
}
/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */
export interface MsgCreateVestingAccountResponse {
}
/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */
export interface MsgCreateVestingAccountResponseSDKType {
}
/**
* MsgCreatePermanentLockedAccount defines a message that enables creating a permanent
* locked account.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePermanentLockedAccount {
fromAddress: string;
toAddress: string;
amount: Coin[];
}
/**
* MsgCreatePermanentLockedAccount defines a message that enables creating a permanent
* locked account.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePermanentLockedAccountSDKType {
from_address: string;
to_address: string;
amount: CoinSDKType[];
}
/**
* MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePermanentLockedAccountResponse {
}
/**
* MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePermanentLockedAccountResponseSDKType {
}
/**
* MsgCreateVestingAccount defines a message that enables creating a vesting
* account.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePeriodicVestingAccount {
fromAddress: string;
toAddress: string;
startTime: Long;
vestingPeriods: Period[];
}
/**
* MsgCreateVestingAccount defines a message that enables creating a vesting
* account.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePeriodicVestingAccountSDKType {
from_address: string;
to_address: string;
start_time: Long;
vesting_periods: PeriodSDKType[];
}
/**
* MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount
* response type.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePeriodicVestingAccountResponse {
}
/**
* MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount
* response type.
*
* Since: cosmos-sdk 0.46
*/
export interface MsgCreatePeriodicVestingAccountResponseSDKType {
}
export declare const MsgCreateVestingAccount: {
encode(message: MsgCreateVestingAccount, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount;
fromJSON(object: any): MsgCreateVestingAccount;
toJSON(message: MsgCreateVestingAccount): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
endTime?: string | number | (Long.Long & {
high: number;
low: number;
unsigned: boolean;
add: (addend: string | number | Long.Long) => Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
delayed?: boolean | undefined;
} & Record, never>>(object: I): MsgCreateVestingAccount;
fromSDK(object: MsgCreateVestingAccountSDKType): MsgCreateVestingAccount;
toSDK(message: MsgCreateVestingAccount): MsgCreateVestingAccountSDKType;
};
export declare const MsgCreateVestingAccountResponse: {
encode(_: MsgCreateVestingAccountResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse;
fromJSON(_: any): MsgCreateVestingAccountResponse;
toJSON(_: MsgCreateVestingAccountResponse): unknown;
fromPartial, never>>(_: I): MsgCreateVestingAccountResponse;
fromSDK(_: MsgCreateVestingAccountResponseSDKType): MsgCreateVestingAccountResponse;
toSDK(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseSDKType;
};
export declare const MsgCreatePermanentLockedAccount: {
encode(message: MsgCreatePermanentLockedAccount, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount;
fromJSON(object: any): MsgCreatePermanentLockedAccount;
toJSON(message: MsgCreatePermanentLockedAccount): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>>(object: I): MsgCreatePermanentLockedAccount;
fromSDK(object: MsgCreatePermanentLockedAccountSDKType): MsgCreatePermanentLockedAccount;
toSDK(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountSDKType;
};
export declare const MsgCreatePermanentLockedAccountResponse: {
encode(_: MsgCreatePermanentLockedAccountResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse;
fromJSON(_: any): MsgCreatePermanentLockedAccountResponse;
toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown;
fromPartial, never>>(_: I): MsgCreatePermanentLockedAccountResponse;
fromSDK(_: MsgCreatePermanentLockedAccountResponseSDKType): MsgCreatePermanentLockedAccountResponse;
toSDK(_: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseSDKType;
};
export declare const MsgCreatePeriodicVestingAccount: {
encode(message: MsgCreatePeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount;
fromJSON(object: any): MsgCreatePeriodicVestingAccount;
toJSON(message: MsgCreatePeriodicVestingAccount): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
vestingPeriods?: ({
length?: string | number | Long.Long | undefined;
amount?: {
denom?: string | undefined;
amount?: string | undefined;
}[] | undefined;
}[] & ({
length?: string | number | Long.Long | undefined;
amount?: {
denom?: string | undefined;
amount?: string | undefined;
}[] | undefined;
} & {
length?: string | number | (Long.Long & {
high: number;
low: number;
unsigned: boolean;
add: (addend: string | number | Long.Long) => Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
amount?: ({
denom?: string | undefined;
amount?: string | undefined;
}[] & ({
denom?: string | undefined;
amount?: string | undefined;
} & {
denom?: string | undefined;
amount?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>>(object: I): MsgCreatePeriodicVestingAccount;
fromSDK(object: MsgCreatePeriodicVestingAccountSDKType): MsgCreatePeriodicVestingAccount;
toSDK(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountSDKType;
};
export declare const MsgCreatePeriodicVestingAccountResponse: {
encode(_: MsgCreatePeriodicVestingAccountResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse;
fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse;
toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown;
fromPartial, never>>(_: I): MsgCreatePeriodicVestingAccountResponse;
fromSDK(_: MsgCreatePeriodicVestingAccountResponseSDKType): MsgCreatePeriodicVestingAccountResponse;
toSDK(_: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseSDKType;
};
/** Msg defines the bank Msg service. */
export interface Msg {
/**
* CreateVestingAccount defines a method that enables creating a vesting
* account.
*/
CreateVestingAccount(request: MsgCreateVestingAccount): Promise;
/**
* CreatePermanentLockedAccount defines a method that enables creating a permanent
* locked account.
*
* Since: cosmos-sdk 0.46
*/
CreatePermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise;
/**
* CreatePeriodicVestingAccount defines a method that enables creating a
* periodic vesting account.
*
* Since: cosmos-sdk 0.46
*/
CreatePeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
CreateVestingAccount(request: MsgCreateVestingAccount): Promise;
CreatePermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise;
CreatePeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise;
}