forager
Try a plan
Verify

Check the contract, the tests and every fill

Everything below links to a source you can open yourself. Raw form: /proof.json.

ForagerRails · Robinhood Chain (4663)0x26Ae485109cECF9bfEF9770b041708897d52D413

What the code enforces

  • Only the keeper address can call buy and sell; only the plan's owner can pause, re-price or cancel it (anyone may cancel an expired one).
  • Per plan and per UTC day, buys and sells together stay under the daily cap. The cap above $100 follows the owner's current $FORAG balance.
  • A buy never pays more than the owner's max price; a sale never fills under the owner's floor, and is charged to the cap at whichever is higher, market value or floor value.
  • Every fill must beat max(spot, 30-minute TWAP) minus the plan's slippage (at most 2%, at least the pool fee plus 0.2%). Pools with fewer than 30 price observations are refused.
  • Proceeds go straight to the owner. The contract holds nothing between transactions, has no withdraw function and no proxy. The owner of the contract can only change the keeper and set the $FORAG address once.

Tests

  • 25 unit tests, including a 512-run fuzz test that the daily cap is never exceeded and the contract never keeps a balance.
  • 7 fork tests on Robinhood Chain mainnet state (ANT, NVDA, TSLA, GOOGL, QQQ, AMZN, MSFT): buy 5 USDG then sell it all back through the real pools and router; each fill matched Uniswap's QuoterV2 within 0.1%, and the contract kept no tokens and no allowance.

Separate review

A reviewer that saw only the code found no critical issue, one high, two medium and four low. All were fixed before deployment:

  • High: a keeper holding a pool down for 30 minutes could make a sale look small against the cap. Fixed with the owner's price limits and charging sales at the floor value.
  • Medium: pools with too few observations could block plans; now refused at creation. Slippage now capped at 2%.
  • Low: a failing $FORAG token falls back to the base cap; the remaining-cap view matches the trade rule; slippage must leave room above the pool fee; expired plans can be closed by anyone.
  • Accepted: the cap resets at 00:00 UTC; a $FORAG holding can be moved between wallets between trades. The contract has not had a paid audit.

Real fills

No fills on ForagerRails yet. Every fill will be listed here with its transaction.

What this page does not say

  • That a plan will make money. Tests replay past prices.
  • That the keeper never misses a step. If it is down, steps are skipped, not made later.
  • That Forager is linked to Anthropic, Robinhood or any company whose stock token it shows. It is not.

Read the docs