Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /v1/chains/:chainId/safes/:safeAddress/portfolio route #2261

Draft
wants to merge 12 commits into
base: portfolio-domain
Choose a base branch
from

Conversation

iamacook
Copy link
Member

⚠️ Branches off #2260

Summary

This adds the route layer for the forthcoming portfolio feature.

A new feature flag (features.portfolio) enabled RoutesController has been added with the following route:

  • /v1/chains/:chainId/safes/:safeAddress/portfolio

The return type of which is a newly chain-specific mapped routes list, mapped by the PortfolioMapper.

Changes

  • Add test covered PortfolioMapper with mapped entities
  • Add test covered PortfolioController, with associated service
  • Include controller and service in a PortfolioModule behind a feature flag

@iamacook iamacook self-assigned this Jan 15, 2025
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