🚜Farms

Farms allow users to earn SCADS and Bond tokens while supporting Scads by staking LP Tokens.

Check out our How to Use Farms guide to get started with farming.

Learn how to find Farm smart contracts

How to different with the standard Farm?

Multiple Rewards in Farm

Users can claim multiple tokens as rewards in SCADS-BUSD Farm

Users can claim multiple tokens as rewards in SCADS-BUSD Farm.

There are as following:

Fee Sharing to provide rewards in Farm

There are several fees to provide rewards in Scads. It generates when SCADS Inflation happened or users buy/buyback bond tokens.

Please check details of farm rewards here

Update the pool status by Z-Service

Z-Service update the pool status for reward distribution automatically by calling function in Master Contract.

How to provide rewards in Farm

Differently with the standard Farm base on reward per block, The reward will be provided from SCADS Inflation & SNACKS buy/buyback in SCADS-BUSD Farm.

In SCADS-BUSD Farm, reward is not calculated based on reward per block. When SCADS Inflation happened, SCADS will be distributed to Farm pool as rewards. When users buy/buyback SNACKS, fee will be transferred as rewards to Farm pool.

How to distribute rewards in Farm

As mentioned above, Scads has unique reward generating mechanism. It's different with static reward deposit calculated by reward per block in standard Farm. It's impossible to guess correct reward amount in advance because rewards will be generated when user's operations(Buy/BuyBack) and SCADS Inflation.

So it's necessary to build the process to detect reward balance in runtime

Scads has the reward distribution system by Z-Service. Z-Service detect current reward balance and distribute it to users according their holding LP amount every 12 hours. So users can check their balance of reward tokens every 12 hours, not in real time.

Please check below to discover more details of how to work Z-Service.

⏳Service

What happen in update function

In Farm pool, there are 2 containers to save and distribute rewards generated irregularly. First one is for saving rewards generated when SCADS Inflation and SNACKS buy/buyback. Second one is to distribute current reward balance to farmers according their held LP amount. When calls the update function, First container will be initialize as 0 and Second container will be updated by the balance transfer of the first container at the same time.

Please check below to discover source code related with Farm.

MasterChef Contract

Last updated