Function calculateAdjustKCost

  • Helper function calculating adjust k cost

    Returns

    cost : Precision QUOTE_ASSET_PRECISION

    Parameters

    • amm: AMM
    • numerator: BN
    • denomenator: BN

    Returns BN

Generated using TypeDoc