import { BaseAccount, BaseAccountAmino } from "../../auth/v1beta1/auth"; import { Coin, CoinAmino } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ export interface BaseVestingAccount { baseAccount?: BaseAccount; originalVesting: Coin[]; delegatedFree: Coin[]; delegatedVesting: Coin[]; /** Vesting end time, as unix timestamp (in seconds). */ endTime: bigint; } export interface BaseVestingAccountProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount"; value: Uint8Array; } /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ export interface BaseVestingAccountAmino { base_account?: BaseAccountAmino; original_vesting: CoinAmino[]; delegated_free: CoinAmino[]; delegated_vesting: CoinAmino[]; /** Vesting end time, as unix timestamp (in seconds). */ end_time: string; } /** * ContinuousVestingAccount implements the VestingAccount interface. It * continuously vests by unlocking coins linearly with respect to time. */ export interface ContinuousVestingAccount { baseVestingAccount?: BaseVestingAccount; /** Vesting start time, as unix timestamp (in seconds). */ startTime: bigint; } export interface ContinuousVestingAccountProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.ContinuousVestingAccount"; value: Uint8Array; } /** * ContinuousVestingAccount implements the VestingAccount interface. It * continuously vests by unlocking coins linearly with respect to time. */ export interface ContinuousVestingAccountAmino { base_vesting_account?: BaseVestingAccountAmino; /** Vesting start time, as unix timestamp (in seconds). */ start_time: string; } /** * DelayedVestingAccount implements the VestingAccount interface. It vests all * coins after a specific time, but non prior. In other words, it keeps them * locked until a specified time. */ export interface DelayedVestingAccount { baseVestingAccount?: BaseVestingAccount; } export interface DelayedVestingAccountProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.DelayedVestingAccount"; value: Uint8Array; } /** * DelayedVestingAccount implements the VestingAccount interface. It vests all * coins after a specific time, but non prior. In other words, it keeps them * locked until a specified time. */ export interface DelayedVestingAccountAmino { base_vesting_account?: BaseVestingAccountAmino; } /** Period defines a length of time and amount of coins that will vest. */ export interface Period { /** Period duration in seconds. */ length: bigint; amount: Coin[]; } export interface PeriodProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.Period"; value: Uint8Array; } /** Period defines a length of time and amount of coins that will vest. */ export interface PeriodAmino { /** Period duration in seconds. */ length: string; amount: CoinAmino[]; } /** * PeriodicVestingAccount implements the VestingAccount interface. It * periodically vests by unlocking coins during each specified period. */ export interface PeriodicVestingAccount { baseVestingAccount?: BaseVestingAccount; startTime: bigint; vestingPeriods: Period[]; } export interface PeriodicVestingAccountProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.PeriodicVestingAccount"; value: Uint8Array; } /** * PeriodicVestingAccount implements the VestingAccount interface. It * periodically vests by unlocking coins during each specified period. */ export interface PeriodicVestingAccountAmino { base_vesting_account?: BaseVestingAccountAmino; start_time: string; vesting_periods: PeriodAmino[]; } /** * PermanentLockedAccount implements the VestingAccount interface. It does * not ever release coins, locking them indefinitely. Coins in this account can * still be used for delegating and for governance votes even while locked. * * Since: cosmos-sdk 0.43 */ export interface PermanentLockedAccount { baseVestingAccount?: BaseVestingAccount; } export interface PermanentLockedAccountProtoMsg { typeUrl: "/cosmos.vesting.v1beta1.PermanentLockedAccount"; value: Uint8Array; } /** * PermanentLockedAccount implements the VestingAccount interface. It does * not ever release coins, locking them indefinitely. Coins in this account can * still be used for delegating and for governance votes even while locked. * * Since: cosmos-sdk 0.43 */ export interface PermanentLockedAccountAmino { base_vesting_account?: BaseVestingAccountAmino; } export declare const BaseVestingAccount: { typeUrl: string; aminoType: string; encode(message: BaseVestingAccount, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BaseVestingAccount; fromJSON(object: any): BaseVestingAccount; toJSON(message: BaseVestingAccount): unknown; fromPartial(object: DeepPartial): BaseVestingAccount; fromAmino(object: BaseVestingAccountAmino): BaseVestingAccount; toAmino(message: BaseVestingAccount): BaseVestingAccountAmino; fromProtoMsg(message: BaseVestingAccountProtoMsg): BaseVestingAccount; toProto(message: BaseVestingAccount): Uint8Array; toProtoMsg(message: BaseVestingAccount): BaseVestingAccountProtoMsg; }; export declare const ContinuousVestingAccount: { typeUrl: string; aminoType: string; encode(message: ContinuousVestingAccount, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ContinuousVestingAccount; fromJSON(object: any): ContinuousVestingAccount; toJSON(message: ContinuousVestingAccount): unknown; fromPartial(object: DeepPartial): ContinuousVestingAccount; fromAmino(object: ContinuousVestingAccountAmino): ContinuousVestingAccount; toAmino(message: ContinuousVestingAccount): ContinuousVestingAccountAmino; fromProtoMsg(message: ContinuousVestingAccountProtoMsg): ContinuousVestingAccount; toProto(message: ContinuousVestingAccount): Uint8Array; toProtoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountProtoMsg; }; export declare const DelayedVestingAccount: { typeUrl: string; aminoType: string; encode(message: DelayedVestingAccount, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DelayedVestingAccount; fromJSON(object: any): DelayedVestingAccount; toJSON(message: DelayedVestingAccount): unknown; fromPartial(object: DeepPartial): DelayedVestingAccount; fromAmino(object: DelayedVestingAccountAmino): DelayedVestingAccount; toAmino(message: DelayedVestingAccount): DelayedVestingAccountAmino; fromProtoMsg(message: DelayedVestingAccountProtoMsg): DelayedVestingAccount; toProto(message: DelayedVestingAccount): Uint8Array; toProtoMsg(message: DelayedVestingAccount): DelayedVestingAccountProtoMsg; }; export declare const Period: { typeUrl: string; aminoType: string; encode(message: Period, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Period; fromJSON(object: any): Period; toJSON(message: Period): unknown; fromPartial(object: DeepPartial): Period; fromAmino(object: PeriodAmino): Period; toAmino(message: Period): PeriodAmino; fromProtoMsg(message: PeriodProtoMsg): Period; toProto(message: Period): Uint8Array; toProtoMsg(message: Period): PeriodProtoMsg; }; export declare const PeriodicVestingAccount: { typeUrl: string; aminoType: string; encode(message: PeriodicVestingAccount, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PeriodicVestingAccount; fromJSON(object: any): PeriodicVestingAccount; toJSON(message: PeriodicVestingAccount): unknown; fromPartial(object: DeepPartial): PeriodicVestingAccount; fromAmino(object: PeriodicVestingAccountAmino): PeriodicVestingAccount; toAmino(message: PeriodicVestingAccount): PeriodicVestingAccountAmino; fromProtoMsg(message: PeriodicVestingAccountProtoMsg): PeriodicVestingAccount; toProto(message: PeriodicVestingAccount): Uint8Array; toProtoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountProtoMsg; }; export declare const PermanentLockedAccount: { typeUrl: string; aminoType: string; encode(message: PermanentLockedAccount, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PermanentLockedAccount; fromJSON(object: any): PermanentLockedAccount; toJSON(message: PermanentLockedAccount): unknown; fromPartial(object: DeepPartial): PermanentLockedAccount; fromAmino(object: PermanentLockedAccountAmino): PermanentLockedAccount; toAmino(message: PermanentLockedAccount): PermanentLockedAccountAmino; fromProtoMsg(message: PermanentLockedAccountProtoMsg): PermanentLockedAccount; toProto(message: PermanentLockedAccount): Uint8Array; toProtoMsg(message: PermanentLockedAccount): PermanentLockedAccountProtoMsg; };