interface ICreateVestingParams {
    amount: BN;
    amountPerPeriod?: BN;
    automaticWithdrawal?: boolean;
    cancelableBySender?: boolean;
    canTopup?: boolean;
    cliffAmount?: BN;
    duration?: number;
    endDate?: number;
    initialAllocation?: { amount: BN };
    name: string;
    partner?: string;
    period: number;
    recipient: string;
    start: number;
    tokenId: string;
    tokenProgramId?: string | PublicKey;
    transferableByRecipient?: boolean;
    transferableBySender?: boolean;
    withdrawalFrequency?: number;
}

Properties

amount: BN
amountPerPeriod?: BN
automaticWithdrawal?: boolean
cancelableBySender?: boolean
canTopup?: boolean
cliffAmount?: BN
duration?: number
endDate?: number
initialAllocation?: { amount: BN }
name: string
partner?: string
period: number
recipient: string
start: number
tokenId: string
tokenProgramId?: string | PublicKey
transferableByRecipient?: boolean
transferableBySender?: boolean
withdrawalFrequency?: number