Skip to content

feat: expose campaign metadata through API DTOs#988

Open
Topmatrixmor2014 wants to merge 2 commits into
Arena1X:mainfrom
Topmatrixmor2014:feat/expose-campaign-metadata-dto
Open

feat: expose campaign metadata through API DTOs#988
Topmatrixmor2014 wants to merge 2 commits into
Arena1X:mainfrom
Topmatrixmor2014:feat/expose-campaign-metadata-dto

Conversation

@Topmatrixmor2014

Copy link
Copy Markdown
Contributor
  • Add prizePool, entryFee, category, bannerUrl, rewardDistribution to ContractEvent interface
  • Add RewardDistributionDto and extend EventResponseDto with new metadata fields
  • Extend EventByCodeResponseDto with prizePool, entryFee, category, bannerUrl, rewardDistribution
  • Add category filter to SearchEventsQueryDto and SearchEventResultDto
  • Extend EventStatsResponseDto with prizePool and rewardDistribution
  • Add reward distribution validation utility functions
  • Update service methods to map new fields to response DTOs

This addresses issue #957 - expose campaign metadata (prize pool, duration, branding, entry fee) through the API DTOs.

closes #957

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Jun 18, 2026 1:03am

- Add prizePool, entryFee, category, bannerUrl, rewardDistribution to ContractEvent interface
- Add RewardDistributionDto and extend EventResponseDto with new metadata fields
- Extend EventByCodeResponseDto with prizePool, entryFee, category, bannerUrl, rewardDistribution
- Add category filter to SearchEventsQueryDto and SearchEventResultDto
- Extend EventStatsResponseDto with prizePool and rewardDistribution
- Add reward distribution validation utility functions
- Update service methods to map new fields to response DTOs

This addresses issue Arena1X#957 - expose campaign metadata (prize pool, duration, branding, entry fee) through the API DTOs.
@Olowodarey

Copy link
Copy Markdown
Collaborator

@Topmatrixmor2014 pls fix conflict and build

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.

[Backend] — Expose campaign metadata (prize pool, duration, branding, entry fee) through the API DTOs

2 participants