IAlgebraEternalVirtualPool

Functions

setRates

setRates(uint128,uint128) external

Change reward rates

NameTypeDescription

rate0

uint128

The new rate of main token distribution per sec

rate1

uint128

The new rate of bonus token distribution per sec

addRewards

addRewards(uint256,uint256) external

NameTypeDescription

token0Amount

uint256

token1Amount

uint256

getInnerRewardsGrowth

getInnerRewardsGrowth(int24,int24) view external

NameTypeDescription

bottomTick

int24

topTick

int24

Returns:

NameTypeDescription

rewardGrowthInside0

uint256

rewardGrowthInside1

uint256