Type alias InitTickArrayParams

InitTickArrayParams: {
    funder: PublicKey;
    startTick: number;
    tickArrayPda: PDA;
    whirlpool: PublicKey;

Parameters to initialize a TickArray account.

Type declaration

  • funder: PublicKey
  • startTick: number
  • tickArrayPda: PDA
  • whirlpool: PublicKey

Param: whirlpool

PublicKey for the whirlpool that the initialized tick-array will host ticks for.

Param: tickArrayPda

PDA for the tick array account that will be initialized

Param: startTick

The starting tick index for this tick-array. Has to be a multiple of TickArray size & the tick spacing of this pool.

Param: funder

The account that would fund the creation of this account

Generated using TypeDoc