IAlgebraEternalVirtualPool
Functions
setRates
Name
Type
Description
addRewards
Name
Type
Description
getInnerRewardsGrowth
Name
Type
Description
Name
Type
Description
Last updated
function setRates(uint128 rate0, uint128 rate1) external external
Change reward rates
rate0
uint128
The new rate of main token distribution per sec
rate1
uint128
The new rate of bonus token distribution per sec
function addRewards(uint256 token0Amount, uint256 token1Amount) external external
token0Amount
uint256
token1Amount
uint256
function getInnerRewardsGrowth(int24 bottomTick, int24 topTick) external view returns (uint256 rewardGrowthInside0, uint256 rewardGrowthInside1) view external
bottomTick
int24
topTick
int24
Returns:
rewardGrowthInside0
uint256
rewardGrowthInside1
uint256
Last updated