Skip to content

veCRV oracle with delegation #4

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

Merged
merged 12 commits into from
May 5, 2025
Merged

veCRV oracle with delegation #4

merged 12 commits into from
May 5, 2025

Conversation

romanagureev
Copy link
Collaborator

Reopening PR from #1 (it got borked)

About

Feed veCRV balance on L2s for boosting using Ethereum storage proofs.
This solution works for all networks as long as they have block hash provider

Features

  • Provide balance of the user by anyone
  • Provide totalSupply parameters for a period up to 6 months (needed for boosting)
  • Delegate veCRV balance to another address on each network
    More can be read in contracts/vecrv/README.md

Tests

pytest [--forked] tests/vecrv

@romanagureev romanagureev merged commit 8815b36 into main May 5, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant