Ubeswap
Search
K

Creating a farm

Prerequisite(s)

  • A deployed single rewards or multi-rewards farm
  • A reward token for your new farm

Setup

  • Pick StakingRewards
  • Specify a wallet or multi-sig in your control as the owner
    • Owners have admin privileges like updating RewardsDistribution and RescueERC20
  • Specify a wallet or multi-sig in your control as the rewardsDistribution
  • Specify the reward token for this new farm as the rewardsToken
    • If you want a XX + UBE rewards farm, this is the XX token address
  • Specify the deployed single rewards or multi-rewards farm as the externalStakingRewards
    • If you want a XX + UBE rewards farm, this is the UBE rewards farm address
  • Specify every external reward token in externalRewardsTokens
    • If you want a XX + YY + UBE rewards farm, this is the XX and YY reward tokens

Refreshing rewards

  • Send the number of reward tokens to this farm that you'd like to reward for a week
  • Notify the same number of reward tokens to this farm that you'd like to reward for this week
NOTE: It's ok if you send more than you need. However, be careful about notifying more than once in a single week as the rewards will stack up.