Skip to content

points analysis: Etherfi #1173

@wakamex

Description

@wakamex
  • make our calculations match to the last wei
    • needed according to their instructions
    • "Step 3: If we add all the effective_balances from for each user from the endpoint, it must equal the sum of WEETH (or EETH ) of the provided contracts from step 2 (weethContract.balanceOf(address)). If at any point this invariant is not true, we will stop issuing points to your users"
  • create endpoint
  • fill out form: https://docs.google.com/forms/d/1UzzdQ6y7_LVFBig28FdVE99kp4WURr7P4yluiUl70Bs/edit?pli=1
  • speed up get_logs from 17s to 0.1s
  • speed up total query from 7s to 4s using s3 caching
  • implement custom DecimalEncoder to pass their verification without losing precision
  • make blockNumber do something
  • ensure no possible double counting with withdrawal shares

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions