Skip to content

Add new strategy fields#127

Open
engn33r wants to merge 5 commits intoyearn:mainfrom
engn33r:add-new-strategy-fields
Open

Add new strategy fields#127
engn33r wants to merge 5 commits intoyearn:mainfrom
engn33r:add-new-strategy-fields

Conversation

@engn33r
Copy link
Copy Markdown

@engn33r engn33r commented Apr 20, 2026

  • Add 2 new data fields for strategies: githubCode (link to github source code) and strategyType (for categorizing the type of each strategy)
  • Use consistent imports for zod and cn. Before, multiple import types were used, so this is not a functional change, just for consistency
  • Delete dead routes. Specifically, the files in src/routes/ (Vaults.tsx, Vault.tsx, Strategies.tsx, Strategy.tsx, Tokens.tsx) were routes that were not registered in the router and have been superseded by the generic SchemaForm/Finder UI.
  • Delete unused hooks. The files under src/hooks/ (useVaultsMeta.ts, useStrategyMeta.ts) were data-fetching hooks only used by the delete routes in the prior point, so when the route was deleted, these are unused.
  • Delete duplicate cn.ts file. The file at src/components/eg/cn.ts was a duplicate file, so any file importing it was updated to import the other file already in this repo.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

@engn33r is attempting to deploy a commit to the yearn Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant