Skip to content

User earnings are calculated from total bounty amount not payout amount #8214

@connoroday

Description

@connoroday

Describe the bug

User earnings are calculated from the total bounty amount not the amount actually paid out. If I post a contest bounty for $20,000 with 4 prizes worth $5,000 each, and award the 4 winners $5,000, each of their profiles will show add $20,000 to their earnings. This data may also be used elsewhere on the site (GMV? Total hackathon prizes?)

To Reproduce

Post a contest bounty for $20,000 with 4 prizes worth $5,000 each, award the 4 winners $5,000, and each of their profiles will show add $20,000 to their earnings. This works the same way if you pay out part of the listed amount, pay out via tips, or split payments between teammates.

Expected behavior

The platform should track and count the actual amount of money transferred when a payment is made. In the example shared above, each user's profile would add $5,000 each to their earnings.

Screenshots

For an example, check out this $60,000 Binance bounty, with ~25 different prizes distributed between $3,000 and $100, and every profile shows $60,000 earned this year or more:
https://gitcoin.co/issue/binancex/Grant-projects/8/100024334
Desktop (please complete the following information):

  • OS: N/A
  • Browser:
  • Browser Version:

Smartphone (please complete the following information):

  • Device: N/A
  • OS:
  • Browser:
  • Version:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions