Pure dry-run of an entire CLMM deployment (graduation math + every
position open) for one raise scenario. No RPC — usable in a config UI
before the launch exists on-chain, and across a sweep of raise amounts.
Replicates the on-chain sequence exactly: bps-share budgets against the
graduated totals (the last position sweeps actual remaining balances),
relative range resolution against the predicted anchor, explicit
liquidity as the min over both budgets, and Raydium's round-up charging.
Throws when the deployment would fail on-chain (infeasible ranges). A
position whose budgets fund zero liquidity is not a failure: the program
records the open as a no-op and still advances its counter, so the
simulation reports it as skipped with nothing consumed — its budgets
fall through to the last position's balance sweep or the final residue.
The simulation assumes the pool price does not move between graduation
and the opens (exact for the atomic bundle; poolSqrtPriceX64 +
graduationTick allow re-simulating the remaining opens against a live
price after a partial deployment).
Pure dry-run of an entire CLMM deployment (graduation math + every position open) for one raise scenario. No RPC — usable in a config UI before the launch exists on-chain, and across a sweep of raise amounts.
Replicates the on-chain sequence exactly: bps-share budgets against the graduated totals (the last position sweeps actual remaining balances), relative range resolution against the predicted anchor, explicit liquidity as the min over both budgets, and Raydium's round-up charging.
Throws when the deployment would fail on-chain (infeasible ranges). A position whose budgets fund zero liquidity is not a failure: the program records the open as a no-op and still advances its counter, so the simulation reports it as
skippedwith nothing consumed — its budgets fall through to the last position's balance sweep or the final residue.The simulation assumes the pool price does not move between graduation and the opens (exact for the atomic bundle;
poolSqrtPriceX64+graduationTickallow re-simulating the remaining opens against a live price after a partial deployment).