Skip to content

SC: Implement Yield Distribution Smart Contract #4

Description

@Pvsaint

Description: Build a Soroban contract for YieldForge to calculate and distribute yields (e.g., from trading fees or lending interest) to staked users based on their pool share.

Tasks:

Write a Rust contract to track pool performance and distribute yields.
Implement yield calculation (e.g., proportional to stake, fixed 5% APY for testing).
Test distribution with sample data (e.g., 100 USDC stake).

Acceptance Criteria:

Contract calculates yields based on user stake and pool performance.
Yields are distributed to users on testnet (e.g., via stablecoin payments).
Distribution events are verifiable via Horizon API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions