Skip to content
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

The latest witnet-solidity-bridge does not have the IWitnetPriceRouter interface #131

Open
jackleeio opened this issue Jul 11, 2024 · 4 comments

Comments

@jackleeio
Copy link

The latest witnet-solidity-bridge does not include the IWitnetPriceRouter interface. Please update the Witnet Price Feeds documentation to reflect this.

@jackleeio jackleeio changed the title The latest witness-solidity-bridge does not have the IWitnetPriceRouter interface The latest witnet-solidity-bridge does not have the IWitnetPriceRouter interface Jul 15, 2024
@guidiaz
Copy link
Contributor

guidiaz commented Jul 15, 2024

Indeed, we're currently working on new docs, including description of the new WitnetPriceFeeds contract (replaces WitnetPriceRouter), and its interfaces:

  • IERC2362
  • IFeeds
  • IWitnetFeeds
  • IWitnetFeedsAdmin
  • IWitnetOracleEvents
  • IWitnetPriceFeeds
  • IWitnetPriceSolverDeployer

WPF provides same functionality as the legacy WPR, and more.

@guidiaz
Copy link
Contributor

guidiaz commented Jul 15, 2024

This issue will be closed as soon as the new docs get published.

@jackleeio
Copy link
Author

image image

I wonder if this still applies. I see that the data has not been updated for a long time, and getting the data from the contract also failed.
Price-CFX/USDT-6

@guidiaz
Copy link
Contributor

guidiaz commented Aug 6, 2024

Unfortunately, the price feed poller bot on Conflux eSpace Testnet run out of funds, unnoticed. Not so the poller bot on Conflux eSpace Mainnet, which is monitored 24x7, as you can check here. The testnet poller bot was just refilled with 1,000 CFX, getting all supported price feeds updated soon after: https://feeds.witnet.io/conflux.

Note: pulling price updates on the WitnetPriceFeeds contract is permissionless, so anyone can actually force a fresh update by calling to the requestUpdate(..) method, anytime.

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

No branches or pull requests

2 participants