Resolve a relative tick range into an absolute, spacing-aligned, in-bounds
range. Mirrors the on-chain resolve_relative_range in the Genesis program
exactly — clients use this to derive the tick array / protocol position
accounts for openRaydiumClmmPositionV2.
Parameters
anchorTick: number
The graduation anchor tick recorded on the bucket.
lowerOffset: number
Configured lower tick offset (pool space).
upperOffset: number
Configured upper tick offset (pool space).
spacing: number
The pool's tick spacing (from the bucket / amm config).
Resolve a relative tick range into an absolute, spacing-aligned, in-bounds range. Mirrors the on-chain
resolve_relative_rangein the Genesis program exactly — clients use this to derive the tick array / protocol position accounts foropenRaydiumClmmPositionV2.