Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

points analysis: Etherfi #1173

Open
6 of 8 tasks
wakamex opened this issue Sep 23, 2024 · 0 comments
Open
6 of 8 tasks

points analysis: Etherfi #1173

wakamex opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@wakamex
Copy link
Contributor

wakamex commented Sep 23, 2024

  • 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
@wakamex wakamex self-assigned this Sep 23, 2024
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

No branches or pull requests

1 participant