MCPcopy Index your code
hub / github.com/beefyfinance/beefy-v2

github.com/beefyfinance/beefy-v2 @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3,402 symbols 11,394 edges 1,384 files 113 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

beefy-v2

Official frontend repo of Beefy, The Multichain Yield Optimizer - app.beefy.com

Quickstart

Dev

npm run start - start the app in development mode - you may have to disable adblock for 127.0.0.1 if you get a white screen due to ADX.png

npm run tsc:watch - checks types as you develop - you may not need this if your IDE does it for you

npm run lint - eslint checks

npm run lint:fix - eslint checks with fixes enabled

npm run prettier - prettier checks

npm run prettier:fix - prettier checks with fixes enabled

Prod

npm run validate - validates vault config files

npm run build - performs validate then build

npm run preview - start the app in production mode (after building)

Please ensure npm run build completes successfully before submitting a PR.

Contribute

Beefy.com exists thanks to its contributors. There are many ways you can participate and help build high quality software. Check out the contribution guide!

License

MIT

Extension points exported contracts — how you extend this code

IGasPricer (Interface)
(no doc) [8 implementers]
src/features/data/apis/gas-prices/gas-prices.ts
INumberMath (Interface)
(no doc) [2 implementers]
src/helpers/math.ts
PersistPartial (Interface)
(no doc)
src/types/redux-persist/index.d.ts
ContentComponents (Interface)
(no doc)
src/components/ScrollableDrawer/ScrollableDrawer.tsx
Platform (Interface)
(no doc)
scripts/updatePlatforms.ts
IPool (Interface)
(no doc) [8 implementers]
src/features/data/apis/amm/types.ts
Interpolator (Interface)
(no doc) [1 implementers]
src/helpers/math.ts
ScrollabeDrawerProps (Interface)
(no doc)
src/components/ScrollableDrawer/ScrollableDrawer.tsx

Core symbols most depended-on inside this repo

toString
called by 217
src/helpers/math.ts
selectVaultById
called by 211
src/features/data/selectors/vaults.ts
selectTokenByAddress
called by 145
src/features/data/selectors/tokens.ts
legacyMakeStyles
called by 127
src/helpers/mui.ts
fromWei
called by 123
src/helpers/big-number.ts
fetchContract
called by 101
src/features/data/apis/rpc-contract/viem-contract.ts
formatLargeUsd
called by 98
src/helpers/format.ts
isTokenEqual
called by 97
src/features/data/entities/token.ts

Shape

Function 1,826
Method 1,008
Interface 274
Class 269
Enum 25

Languages

TypeScript100%

Modules by API surface

src/features/data/apis/transact/transact-types.ts61 symbols
src/features/data/selectors/transact.ts56 symbols
src/features/data/selectors/historical.ts47 symbols
src/features/data/apis/transact/strategies/balancer/BalancerStrategy.ts43 symbols
src/features/data/apis/amm/solidly/SolidlyPool.ts43 symbols
scripts/zaps/curve.ts36 symbols
src/helpers/graph/timeseries.ts33 symbols
src/features/data/utils/feature-flags.ts33 symbols
src/features/data/selectors/vaults.ts33 symbols
src/features/data/apis/wallet/wallet-connection.ts32 symbols
src/helpers/http/errors.ts31 symbols
src/helpers/format.ts29 symbols

For agents

$ claude mcp add beefy-v2 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact