• Preparing search index...
  • The search index is not available
musd-kit API reference
  • musd-kit API reference
  • core/src
  • evaluateBorrow

Function evaluateBorrow

  • evaluateBorrow(input: EvaluateBorrowInput): BorrowPreview
  • The decision itself, as a pure function of values already read from the chain.

    Delegates to evaluateAdjust rather than deciding (MK-058, MK-059, MK-060, MK-065). The input shape is unchanged, so an existing caller is unaffected; what changed is that the rules behind it are now the adjust path's rules, which are the contract's.

    Parameters

    • input: EvaluateBorrowInput

    Returns BorrowPreview

    • Defined in packages/core/src/math/previewBorrow.ts:240

Settings

Member Visibility
musd-kit API reference
  • Loading...