EternalVirtualPool

Variables

uint128 rewardRate0

uint128 rewardRate1

uint256 rewardReserve0

uint256 rewardReserve1

uint256 totalRewardGrowth0

uint256 totalRewardGrowth1

Functions

constructor

AlgebraVirtualPoolBase

constructor(address,address,address) public

NameTypeDescription

_farmingCenterAddress

address

_farmingAddress

address

_pool

address

addRewards

onlyFarming

addRewards(uint256,uint256) external

NameTypeDescription

token0Amount

uint256

token1Amount

uint256

setRates

onlyFarming

setRates(uint128,uint128) external

NameTypeDescription

rate0

uint128

rate1

uint128

getInnerRewardsGrowth

getInnerRewardsGrowth(int24,int24) view external

NameTypeDescription

bottomTick

int24

topTick

int24

Returns:

NameTypeDescription

rewardGrowthInside0

uint256

rewardGrowthInside1

uint256