Token & fees

07 / 11

The Stocker

The inventory engine: accrues the ETH tax stream and converts it into stock lots in batched, oracle-bounded, permissionlessly-triggered purchases.

Rather than swapping on every trade, the PoolStocker batches accrued ETH and deploys it on an interval — amortizing gas and slippage across the whole stream. The trigger is public: anyone may call stockPools() once the interval has passed, and the caller earns a capped bounty for paying the gas. A keeper runs it on a timer, but the protocol never depends on the keeper existing.

  • Oracle-bounded swaps — every purchase computes its minimum output from Chainlink feeds (default tolerance 150 bps) and reverts if a feed is stale. Sandwiching the Stocker means beating the oracle, not the mempool.
  • Tier routing — each batch splits 70% to the Starter pool, 25% to Blue Chip, 5% to the whale accumulator. Basket weights within each pool are multisig-set from the supported stock list.
  • Solvency by construction — every deployable amount is derived from the contract's actual balance. The Stocker cannot spend ETH it does not hold, and bounty farming is bounded by the rate limit, a minimum deploy size, and the bounty cap.
  • Deposits, not custody — purchased lots move straight into the SpinEngine's staging queue, where they become prizes. The Stocker holds float, never prizes.

Note

Every purchase is public: the activity page streams StockPurchased events — "the 3% tax just bought 0.4 TSLA" — each linked to its transaction. The restocking flywheel is designed to be watched.