• Replicates the on-chain graduation math: the graduated base amount from the quote balance and the start-price ratio, and the initial pool price / anchor tick from the graduated amounts. Throws on the same conditions the program rejects (InvalidAmount), so a throw here means the graduation transaction would fail.

    Deterministic inputs (a capped, filled presale) let this run before the quote arrives; otherwise call it after the funding behaviors have run, with quoteTokenInSigner read from the bucket.

    Parameters

    Returns ClmmGraduationPrediction

Generated using TypeDoc