Summary
Implement a liquidity provider reward contract that distributes a share of trading fees to wallets that provide liquidity for key pairs, proportional to their liquidity contribution.
Scope
- add_liquidity(key_id, amount) — locks tokens as liquidity and records LP share
- remove_liquidity(lp_id) — returns tokens plus accrued fee rewards
- claim_lp_rewards(lp_id) — claims rewards without removing liquidity
- get_lp_position(lp_id) — returns contribution, share, and pending rewards
- LPAdded and LPRewardClaimed events emitted
Acceptance Criteria
ETA
24 hours
Summary
Implement a liquidity provider reward contract that distributes a share of trading fees to wallets that provide liquidity for key pairs, proportional to their liquidity contribution.
Scope
Acceptance Criteria
ETA
24 hours