MetroLogic / MetroLogic/yieldforge_contract

SC: Implement Yield Distribution Smart Contract

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
difficulty: medium enhancement good first issue onlydust-wave rust
Dominant language
No language data
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are named. Start by locating the Soroban contract structure and the testnet payment and Horizon integration points, then define how stake, pool performance, and the fixed test APY are represented. Done means sample distributions work, yields are paid to staked users on testnet, and the resulting events can be verified through Horizon API.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.