Skip to content

feat(lazer-protocol): Add latest price api interface #2229

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 2 commits into from
Jan 8, 2025

Conversation

darunrs
Copy link
Contributor

@darunrs darunrs commented Jan 7, 2025

No description provided.

Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 8:22pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 8:22pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 8:22pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Jan 7, 2025 8:22pm
insights ⬜️ Ignored (Inspect) Visit Preview Jan 7, 2025 8:22pm

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(tag = "type")]
#[serde(rename_all = "camelCase")]
pub enum ApiRequest {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I should name this to something more specific like "RouterApiRequest" but I kinda figured the router would be the only consumer endpoint for Lazer, with history service defining its own req/res structs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah

@darunrs darunrs changed the title feat(lazer-protocol): Add latest price api feat(lazer-protocol): Add latest price api interface Jan 7, 2025
@darunrs darunrs merged commit 9b3c156 into main Jan 8, 2025
9 checks passed
@darunrs darunrs deleted the add-latest-price-api-lazer branch January 8, 2025 00:27
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.

2 participants