-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Copy link
Labels
ensanalyticsENSAnalytics relatedENSAnalytics relatedensapiENSApi relatedENSApi relatedensdbENSDb relatedENSDb related
Description
Background:
- ENS Holiday Awards needs a "Referrer Detail" page, that will display the referrals statistics for a given address.
- Follows feat: introduce ENSAnalytics API into ENSApi #1239
- It is now unblocked with feat(ensindex): introduce
registrarsplugin #1249 already merged into main.
Subtasks:
- Implement API powering the header section of "Referrer Detail" page:
- What is the sum total count of referrals made by the user?
- What is the sum total incremental duration (in seconds) of all the referrals they made (use our type alias
Duration)? - What is their "Referrer Score"? Please note the definition of this term here.
- What is the total sum "Referrer Score" for ALL referrers (not just the user).
- What is their "Referrer Contribution"? Please note the definition of this term here.
- What is their "Referrer Award Pool Share" in USD? This is measured as their "Referrer Contribution" * $10,000 USD. Use type alias
PriceUsdcfor this. Note that it is abigintand 1 represents a fraction of a coin.
Metadata
Metadata
Assignees
Labels
ensanalyticsENSAnalytics relatedENSAnalytics relatedensapiENSApi relatedENSApi relatedensdbENSDb relatedENSDb related
Type
Projects
Status
Done