-
Notifications
You must be signed in to change notification settings - Fork 50
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
Check for presence of v1 delegate address #959
Conversation
…l-v2 into check-delegate-v1
* Add byteron link * PBG and UPMaker
Check v1 delegate first
Add vigilant v2 contract
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
const v1VoteDelegateAddress = await contracts.voteDelegateFactoryOld.delegates(address); | ||
return v1VoteDelegateAddress !== ZERO_ADDRESS | ||
? v1VoteDelegateAddress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small thing, but can we call this voteDelegateAddressOld
instead of v1VoteDelegateAddress
to keep it consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
No description provided.