• Calculate rewards owed for a position

    Paramters

    • whirlpool: The whirlpool state
    • position: The position state
    • tick_lower: The lower tick state
    • tick_upper: The upper tick state
    • current_timestamp: The current timestamp
    • transfer_fee_1: The transfer fee for token 1
    • transfer_fee_2: The transfer fee for token 2
    • transfer_fee_3: The transfer fee for token 3

    Returns

    • CollectRewardsQuote: The rewards owed for the 3 reward tokens.

    Parameters

    Returns CollectRewardsQuote