@marinade.finance/kamino-sdk
Version:
31 lines (30 loc) • 1.39 kB
TypeScript
import { PublicKey } from '@solana/web3.js';
import Decimal from 'decimal.js';
import { Dex } from './utils';
export declare const FullBPS = 10000;
export declare const FullBPSDecimal: Decimal;
export declare const FullPercentage = 100;
export declare const DefaultLowerPercentageBPS: number;
export declare const DefaultLowerPercentageBPSDecimal: Decimal;
export declare const DefaultUpperPercentageBPS: number;
export declare const DefaultUpperPercentageBPSDecimal: Decimal;
export declare const DefaultLowerPriceDifferenceBPS: number;
export declare const DefaultUpperPriceDifferenceBPS: number;
export declare const DefaultMintTokenA: PublicKey;
export declare const DefaultMintTokenB: PublicKey;
export declare const DefaultFeeTierOrca: Decimal;
export declare const DefaultDex: Dex;
export interface RebalanceMethod {
label: String;
value: number;
enabled: boolean;
descriptionShort?: string;
description?: string;
}
export declare const ManualRebalanceMethod: RebalanceMethod;
export declare const PricePercentageRebalanceMethod: RebalanceMethod;
export declare const PricePercentageWithResetRangeRebalanceMethod: RebalanceMethod;
export declare const DriftRebalanceMethod: RebalanceMethod;
export declare const TakeProfitMethod: RebalanceMethod;
export declare const PeriodicRebalanceMethod: RebalanceMethod;
export declare const ExpanderMethod: RebalanceMethod;