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

Function evaluateRedeem

  • evaluateRedeem(input: EvaluateRedeemInput): RedemptionPreview
  • The verdict, as a pure function of values already read from the chain.

    Split out for the same reason every other evaluator is: the decision is the part worth testing exhaustively, and as a pure function it can be, chain free, across the whole gap rather than only the amounts a fork happens to produce.

    Parameters

    • input: EvaluateRedeemInput

    Returns RedemptionPreview

    • Defined in packages/core/src/math/previewRedeem.ts:470

Settings

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