Contracts
The reference map of the protocol's smart contracts — one line each, with the source.
This is the reference surface for developers. The code is the truth; everything here is a pointer to it.
Core
Connectors (stateless)
Aave V3 · Uniswap V3 · PancakeSwap V3 (+ MasterChef) · KyberSwap (+ Zap) · Zap V3 · Curve V2/V3 · Balancer V2 · Compound V3 · Morpho Blue · Yearn V3 · Aerodrome (+ Slipstream) · NFT Transfer. Each is a stateless adapter that runs inside your account's context.
Strategies
- User-callable: Aave V3 Lending, Morpho Lending, Compound V3, Curve, Yearn V3, Balancer V2, Aerodrome V2, PancakeSwap V3, Orchestrated Multicall, Aave Migration.
- Bot-only automations: Auto Compound, Auto Harvest, Auto Rebalance, Auto Repay, Auto Collateralize, Auto Hedge, Auto Stop-Loss, Auto Take-Profit, Auto Sweep & Deposit, Auto Refinance, Auto Migrate Yearn, Aerodrome Auto-Stake.
Fee & approval libraries
FeeSchedule.sol (the seeded fee table), FeesLib.sol (charging), TransferLib.sol (token movement between wallet, account and protocols), RouterGuard.sol (router allowlist).
Deployments
The protocol is deployed per chain, and the app reads those addresses at runtime. Today:
The canonical, always-current address list (factory, directory, connectors, strategies, position reader) is the deployment output in hedgehogs-contracts — script/Deploy/NetworkConfig.sol for the config, and the per-chain deployment JSON the deploy scripts emit.
Always verify
In DeFi you interact with what the app points at. For anything you verify by hand, check the address against the contract deployment output for that chain — never against a screenshot or a forum post.
Source
Everything above lives in HedgeHogsApp/hedgehogs-contracts — src/strategies/, src/connectors/, src/core/. Read the contracts for details; this page links, it does not re-print.