Commit c6c9ce2
feat: add public getters to BaselinePoolState and BaselineLiquidity
Adds accessor methods needed by downstream consumers (cefi) to
decompose pool state for ring buffer transport:
- BaselinePoolState::liquidity() -> &BaselineLiquidity
- BaselineLiquidity::tick_spacing(), start_tick(), start_sqrt_price(), start_liquidity()
Co-Authored-By: Frankenstein <[email protected]>1 parent a3a1f80 commit c6c9ce2
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
332 | 340 | | |
333 | 341 | | |
334 | 342 | | |
| |||
0 commit comments