Skip to content

[Feature] Liquidity Pool (LP) Token Staking & Yield Farming Contract #173

Description

@AlAfiz

Description: We need a dedicated Staking contract where LPs can deposit their TradeFlow LP tokens to earn a secondary governance/reward token (FLOW) over time.
Context / Motivation: To bootstrap and retain deep liquidity, we must incentivize early adopters. A robust staking mechanism will lock in Total Value Locked (TVL) and distribute governance tokens fairly based on time and amount staked.
Acceptance Criteria: - [ ] Implement deposit and withdrawal mechanisms for LP tokens using the Soroban Token interface.

  • Create a time-based reward distribution math model (e.g., reward per token staked).
  • Allow users to harvest their rewards without withdrawing their principal.
  • Ensure the contract owner can fund the reward pool and update emission rates.
    Technical Pointers: Look into standard staking math (e.g., Synthetix's rewardPerTokenStored model). Use Env::authorize_as_client() to ensure safe token transfers from the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaignhelp wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions