WhirlpoolRewardInfo: {
    authority: Address;
    emissionsPerSecondX64: bigint;
    growthGlobalX64: bigint;
    mint: Address;
    vault: Address;
}

Stores the state relevant for tracking liquidity mining rewards at the Whirlpool level. These values are used in conjunction with PositionRewardInfo, Tick.reward_growths_outside, and Whirlpool.reward_last_updated_timestamp to determine how many rewards are earned by open positions.

Type declaration

  • authority: Address

    Authority account that has permission to initialize the reward and set emissions.

  • emissionsPerSecondX64: bigint

    Q64.64 number that indicates how many tokens per second are earned per unit of liquidity.

  • growthGlobalX64: bigint

    Q64.64 number that tracks the total tokens earned per unit of liquidity since the reward emissions were turned on.

  • mint: Address

    Reward token mint.

  • vault: Address

    Reward vault token account.