UNPKG

@marinade.finance/kamino-sdk

Version:
5 lines (4 loc) 402 B
import Decimal from 'decimal.js'; import { PositionRange } from '../utils'; export declare function getPriceRangeFromPriceAndDiffBPS(price: Decimal, lowerDiffBPS: Decimal, upperDiffBPS: Decimal): PositionRange; export declare function getResetRangeFromPriceAndDiffBPS(price: Decimal, lowerDiffBPS: Decimal, upperDiffBPS: Decimal, resetLowerDiffBPS: Decimal, resetUpperDiffBPS: Decimal): PositionRange;