👨🌾Multea Farm Setup
1. Creating the LP pair
Create the LP pair if it hasn't been created at https://oolongswap.com/#/add/
2. Send the LP address to the team
Wait for the team to add it to the main farm contract and provide you with a
pid
before proceeding to step 3
3. Deploy the Multea farm contract
Call
createBonusFarm
on the factory 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
3. Starting the farm
Approve the desired reward token amount to the
BonusFarm
deployed in step 2Call
notifyRewardAmount
on theBonusFarm
, and tokens will be transferred into the contract frommsg.sender
Rewards will start immediately
Rewards will be distributed evenly over
rewardDuration
on a per second basis
Last updated