Multea Farm Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
Create the LP pair if it hasn't been created at
Wait for the team to add it to the main farm contract and provide you with a pid
before proceeding to step 3
Call createBonusFarm
on the contract
_rewardToken
: Address of the token to be rewarded in the Multea farm
_rewardDuration
: Duration of the farm in seconds
_pid
: Reference ID of the Multea farm (received in step 2)
Save the deployed BonusFarm
contract address
Approve the desired reward token amount to the BonusFarm
deployed in step 2
Call notifyRewardAmount
on the BonusFarm
, and tokens will be transferred into the contract from msg.sender
Rewards will start immediately
Rewards will be distributed evenly over rewardDuration
on a per second basis