-
Notifications
You must be signed in to change notification settings - Fork 266
feat(pyth-lazer) Add support for FundingRateInterval in lazer protos #2891
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
enum FundingRateInterval { | ||
INTERVAL_1H = 0; | ||
INTERVAL_4H = 1; | ||
INTERVAL_8H = 2; | ||
} |
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.
Doesn't seem like a good idea to restrict the possible set of values here. Why not use a Duration?
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.
yeah, maybe in the future people have half an hour too :D
Summary
Add a new field to represent funding rate interval to funding rate update messages in protobuf objects and jrpc domain.
Rationale
We're adding support for variable funding rate updates in lazer as part of PF-278
How has this been tested?