Pizza Farm
  • PizzaFarm
    • Roadmap
    • $Pizzacow
  • Stake / Mining
  • Liquidity providers (LPs)
  • LP Launchpad
  • Official Links
    • X
    • Pizza Farm
    • Pizza Swap
Powered by GitBook
On this page
  • Pizza Farm
  • How does PizzaFarm work?
  • Staking Mechanism
  • Linear Vesting
  • Staking Index

PizzaFarm

NextRoadmap

Last updated 8 months ago

Within the Fractal Network, the BRC-20 swap module is already active. Liquidity providers can earn additional token rewards through PizzaFarm, a process commonly known as LP mining. We are currently developing a non-custodial BRC-20 module within the Fractal Network to further support this.

Pizza Farm

PizzaFarm will serve as the frontend interface for this module, allowing liquidity providers on PizzaSwap to earn additional rewards through the platform.

How does PizzaFarm work?

In version 1 (V1), we have completed the development of the staking chain index, primarily used to calculate LP shares and distribute reward tokens to liquidity providers.

Staking Mechanism

Linear Vesting

Token linear vesting usually means releasing a certain amount of tokens at a constant rate over a period of time. This linear vesting mechanism ensures transparency and fairness in token distribution, commonly used for token lock-up schedules, team rewards, or liquidity mining rewards.

Basic Formula for Linear Vesting

Reward Formula

Ru(t)=(LuLtotal)×(TtotalTend−Tstart)×(t−Tstart)R_u(t) = (\frac{L_u}{L_{total}})\times(\frac{T_{total}}{T_{end} - T_{start}})\times(t-T_{start})Ru​(t)=(Ltotal​Lu​​)×(Tend​−Tstart​Ttotal​​)×(t−Tstart​)

Staking Index

The index code references Uniswap's staking standards, which are the foundational framework for calculating LP shares and distributing rewards. You can learn more and explore the details here:

liquidity-staker/contracts/StakingRewards.sol at 3edce550aeeb7b0c17a10701ff4484d6967e345f · Uniswap/liquidity-stakerGitHub
Logo