Skip to content

Refine ReferrerRaceState #1901

@lightwalker-eth

Description

@lightwalker-eth
Image
  1. totalRevenueContributionAmount
    1. Suggest renaming this to totalRevenueContribution
    2. It would be cool if we changed this from a bigint to a PriceEth. Goal: make it more self-documenting what this value is.
  2. cappedAwardAmount
    1. Suggest renaming this to cappedAward
    2. It would be cool if we changed this from a bigint to a PriceUsdc. Goal: make it more self-documenting what this value is.
  3. wasQualified
    1. Suggest renaming this to achievedMinBaseRevenueContribution. Goals include: (i) "was..." can be confusing to interpret in relation to time; (ii) I think it's best not to use the word "qualified" here since that might cause confusion as "qualification" requires both achieving the min base revenue contribution AND not being disqualified. But in the relevant layer of logic we're talking about here, am I correct to understand there's no checking if they are disqualified or not?

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions