constantProduct constant

SPLTokenSwapCurveType const constantProduct

Uniswap-style constant product curve, invariant = token_a_amount * token_b_amount

Implementation

static const SPLTokenSwapCurveType constantProduct =
    SPLTokenSwapCurveType._("ConstantProduct", 0);