Open p0mvn opened 7 months ago
Long term, those should be the only place pool types are used. Once we have the prices query, and once the pool detail page is migrated to tRPC, we won't need the existing pools package and it and all other pools queries should be deleted.
@p0mvn @jonator prices are migrated now right? Do we still need this issue?
Currently, we hardcode pool types as strings: https://github.com/osmosis-labs/osmosis-frontend/blob/71528ee78a8396561d070338c9a3462de82661fd/packages/web/server/queries/complex/pools/index.ts#L10-L17
Instead, these should be enum values imported from a single file rather than hardcoded in various locations
Acceptance Criteria