Skip to content

Price oracle for OM. #701

@cyber-pc

Description

@cyber-pc

The current price oracle implementation in OM relies on a basic API query to a third-party provider (CoinGecko). To improve reliability, data historical accuracy, we need to transition to a more robust way.

  • Query price data at a specific timestamp rather than just fetching "current/simple" data
  • Precision of price should be on the OM control, this decoupling ensures that core business logic remains consistent
  • Consolidate the design of price oracle, the goal is to create a "Pluggable" design that allows for easier maintenance

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions