Liquidity Farming Factory
FarmFactory
FarmPoolFactory contract is used to create and manage farm pools
allPools
public array to store deployed farming pool addresses
addPool
admin function to add farm pool
Parameters
Name
Type
Description
_lpToken
address
address of LP token
_rewardToken
address
address of reward token
_rewardPerSec
uint256
startPool
admin function to start farming
Parameters
Name
Type
Description
_pool
address
address of the farming pool
_warmUpPeriod
uint256
_reward
uint256
farming reward in tokens
transferPoolLP
admin function to transfer LP tokens from farming contract to user's wallet
Parameters
Name
Type
Description
_pool
address
address of farm pool contract
_recipient
address
user's wallet address
allPoolsLength
Returns the number of Farming Pools deployed
Last updated