constructor(address _farmingCenterAddress, address _farmingAddress, address _pool) public
public
Name | Type | Description |
---|---|---|
function rewardReserves() external view returns (uint256 reserve0, uint256 reserve1)
view external
Get reserves of rewards in one call
Returns:
function rewardRates() external view returns (uint128 rate0, uint128 rate1)
view external
Get rates of rewards in one call
Returns:
function distributeRewards() external
external
Developer note: This function is called from the farming contract to update rewards for users
function addRewards(uint256 token0Amount, uint256 token1Amount) external
external
function decreaseRewards(uint256 token0Amount, uint256 token1Amount) external
external
function setRates(uint128 rate0, uint128 rate1) external
external
Change reward rates
function getInnerRewardsGrowth(int24 bottomTick, int24 topTick) external view returns (uint256 rewardGrowthInside0, uint256 rewardGrowthInside1)
view external
Returns:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|