-
Notifications
You must be signed in to change notification settings - Fork 9
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
Make FlexVotingClient clock agnostic #77
Conversation
The client should expose this behavior so that child contracts don't have to know about details like `totalBalanceCheckpoint.latest()`, which feels like a mixing of concerns. This function is analogous to the helper function we expose for raw balances, namely: FlexVotingClient._checkpointRawBalanceOf
Coverage after merging clock-agnostic-flex-client into master will be
|
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.
I think this looks good, only question is on the need for the IVotingToken interface
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.
LGTM
Fixes #70