Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions contracts/harvester/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Loading