From 080acaa2420cbed05706b56c01c7034024700610 Mon Sep 17 00:00:00 2001 From: Bellabuks Date: Sat, 16 May 2026 08:13:05 +0100 Subject: [PATCH] docs: add doc comment to Harvester struct --- contracts/harvester/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contracts/harvester/src/lib.rs b/contracts/harvester/src/lib.rs index ebae6ef..377f370 100644 --- a/contracts/harvester/src/lib.rs +++ b/contracts/harvester/src/lib.rs @@ -1,6 +1,12 @@ #![no_std] use soroban_sdk::{contract, contractimpl, Env}; +/// Permissionless yield harvester that claims AMM trading fees and compounds +/// them into [`StrategyVault`]. +/// +/// Any caller may invoke `harvest()` at any time; the contract trustlessly +/// distributes a 10 bps bounty on the harvested yield to the caller as an +/// incentive, with the remainder forwarded to `StrategyVault`. #[contract] pub struct Harvester;