@@ -268,8 +268,8 @@ func (t *TickInfo) init() {
268268}
269269
270270type (
271- Ticks map[int32]TickInfo // tick => TickInfo
272- TickBitmaps map[int16]*u256.Uint // tick(wordPos) => bitmap(tickWord ^ mask)
271+ Ticks map[int32]TickInfo // tick => TickInfo
272+ TickBitmaps map[int16]*u256.Uint // tick(wordPos) => bitmap(tickWord ^ mask)
273273 Positions map[string]PositionInfo // positionKey => PositionInfo
274274)
275275
@@ -327,71 +327,71 @@ func newPool(poolInfo *createPoolParams) *Pool {
327327 }
328328}
329329
330- func (p *Pool) PoolGetToken0Path () string {
330+ func (p *Pool) GetToken0Path () string {
331331 return p.token0Path
332332}
333333
334- func (p *Pool) PoolGetToken1Path () string {
334+ func (p *Pool) GetToken1Path () string {
335335 return p.token1Path
336336}
337337
338- func (p *Pool) PoolGetFee () uint32 {
338+ func (p *Pool) GetFee () uint32 {
339339 return p.fee
340340}
341341
342- func (p *Pool) PoolGetBalanceToken0 () *u256.Uint {
342+ func (p *Pool) GetBalanceToken0 () *u256.Uint {
343343 return p.balances.token0
344344}
345345
346- func (p *Pool) PoolGetBalanceToken1 () *u256.Uint {
346+ func (p *Pool) GetBalanceToken1 () *u256.Uint {
347347 return p.balances.token1
348348}
349349
350- func (p *Pool) PoolGetTickSpacing () int32 {
350+ func (p *Pool) GetTickSpacing () int32 {
351351 return p.tickSpacing
352352}
353353
354- func (p *Pool) PoolGetMaxLiquidityPerTick () *u256.Uint {
354+ func (p *Pool) GetMaxLiquidityPerTick () *u256.Uint {
355355 return p.maxLiquidityPerTick
356356}
357357
358- func (p *Pool) PoolGetSlot0 () Slot0 {
358+ func (p *Pool) GetSlot0 () Slot0 {
359359 return p.slot0
360360}
361361
362- func (p *Pool) PoolGetSlot0SqrtPriceX96 () *u256.Uint {
362+ func (p *Pool) GetSlot0SqrtPriceX96 () *u256.Uint {
363363 return p.slot0.sqrtPriceX96
364364}
365365
366- func (p *Pool) PoolGetSlot0Tick () int32 {
366+ func (p *Pool) GetSlot0Tick () int32 {
367367 return p.slot0.tick
368368}
369369
370- func (p *Pool) PoolGetSlot0FeeProtocol () uint8 {
370+ func (p *Pool) GetSlot0FeeProtocol () uint8 {
371371 return p.slot0.feeProtocol
372372}
373373
374- func (p *Pool) PoolGetSlot0Unlocked () bool {
374+ func (p *Pool) GetSlot0Unlocked () bool {
375375 return p.slot0.unlocked
376376}
377377
378- func (p *Pool) PoolGetFeeGrowthGlobal0X128 () *u256.Uint {
378+ func (p *Pool) GetFeeGrowthGlobal0X128 () *u256.Uint {
379379 return p.feeGrowthGlobal0X128
380380}
381381
382- func (p *Pool) PoolGetFeeGrowthGlobal1X128 () *u256.Uint {
382+ func (p *Pool) GetFeeGrowthGlobal1X128 () *u256.Uint {
383383 return p.feeGrowthGlobal1X128
384384}
385385
386- func (p *Pool) PoolGetProtocolFeesToken0 () *u256.Uint {
386+ func (p *Pool) GetProtocolFeesToken0 () *u256.Uint {
387387 return p.protocolFees.token0
388388}
389389
390- func (p *Pool) PoolGetProtocolFeesToken1 () *u256.Uint {
390+ func (p *Pool) GetProtocolFeesToken1 () *u256.Uint {
391391 return p.protocolFees.token1
392392}
393393
394- func (p *Pool) PoolGetLiquidity () *u256.Uint {
394+ func (p *Pool) GetLiquidity () *u256.Uint {
395395 return p.liquidity
396396}
397397
0 commit comments