harvest
Last updated
Last updated
An entrypoint that harvests (claims) user's rewards. Rewards are minted to the user and to the referrer (harvest_fee).
Field | Type | Description |
---|---|---|
QSystem/farm-not-set
- farming with fid
parameter doesn't exist.
QFarm/timelock-is-not-finished
- timelock after last user's deposit (stake) is not finished.
fid
fid_type (nat)
Farm's ID
rewards_receiver
address
Receiver of earned tokens