tellor-io / datafeed Goto Github PK
View Code? Open in Web Editor NEWA frontend interface for viewing all data reports currently happening inside the Tellor ecosystem.
License: MIT License
A frontend interface for viewing all data reports currently happening inside the Tellor ecosystem.
License: MIT License
Tips for Snapshot query type don't seem to show up. Reports do show, however.
tip tx: https://polygonscan.com/tx/0x8d1147a77f2f22ce5911b8589ed8830d74cea9c04a2175cbdeade14672c4ebba
setupDataFeed
works, but you cannot click the button to call approve
functionshow historical tips and display them
"Symbol, chain, tip amount, recurring (bool), frequency (if recurring), Datetime (time added)"
The front-end may be having trouble decoding EVM calls because contract functions can return different types. (Boolean, uint256, array, etc).
To get the values to decode properly may require detecting the type somehow? Here's an example report and what the data-feed shows now:
data reported:
queryData: 0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000745564d43616c6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a663b02cf0a4b149d2ad41910cb81e23e1c41c320000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000499530b0600000000000000000000000000000000000000000000000000000000
query ID: 0xc5b03b89242a5a72c29e03284d7ae9f58943e0fe4c15c7985e88faacfbf9b02e
The decoded value should be a uint256 with 18 decimals. It's function 27. pricePerShare
at the sFRAX contract here: https://etherscan.io/address/0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32#readContract
the value that was reported should decode to: 1021647436621648324
(uint256)
moving the decimal place it's 1.02
single tips not showing on table
Currently the tips feed on the data feed site only shows feeds that have been created, but no way to know if they have actually been funded, and how much is left of the balance that was funded.
currently non spots show up as NumericApiResponse. Example query type showing up as NumericApiResponse, DailyVolatility:
https://mumbai.polygonscan.com/tx/0xbfaa75682fafdbd3edad42e724730048a62827d9dbc289b778e61f1d67ac08d0.
One of the main purposes of the data-feed is for community monitoring, but it may be difficult for people to evaluate reported values without more precision.
Currently the data-feed shows all prices to the nearest penny, which is great for spot price pairs like ETH/USD with values well over 1 USD. But, this doesn't work well for many coins that are valued at or under 10 cents like DOGE or even SHIB/USD which has a value much less than a penny.
The accurate reported value for SHIB/USD here was 0.00001286.
Proposed Changes:
Simply show more decimals for all the feeds. Something like 6 decimals of precision would be great, but 8 decimals would be even better! Thanks for reading ๐
Currently, The Data Feed shows the "tip amount" the same as the "remaining balance" for one-time tips. Would be better if the remaining balance showed 0 after the qualifying submission was made! Can assist with testing as needed, let me know.
see eur/usd on mumbai. Just putting it at zero value even though it's not and not even trying to decode: https://mumbai.polygonscan.com/tx/0x2cfd90a9b49f9437cea1ea3ba0d1d45041e24dddc4ac34567cbdfc7f32f950ce
We are working on integrating Commodities feeds for LandX. Currently the data-feed shows these as CustomPrice
with a 9 digit integer value like 229724409
(which is how Telliot submits them). It would be great if these could be shown in a way that describes the data better.
Suggest showing the symbol
for these in a way that describes the asset being reported for. There are 4 Commodities being reported. Here are the queryId's with an example submitValue transaction:
CORN/USD PER KG: 0x6972aeebf15f6c9543b2cb717b9f0340e9a71ad9d07642db7f7a8992088b25e8
https://goerli.etherscan.io/tx/0x5a121d1ac03a14b319651a6f4d4f5c5614fbe7975fb91d4ba4abfdcf8e376177
Example submitted value in USD: 0.227755906
WHEAT/USD PER KG: 0xb477aff555dca49d512f8a0bafbc1767dbabf6b28cab82a8962762cf847e3525
https://goerli.etherscan.io/tx/0xca00464c8d55b28bd651ffa85fab5a2fefbffb575c8fef3a1267db68e84f5342
Example submitted value in USD: 0.252416000
RICE/USD PER KG: 0x34f22d65ed147ed798bd6f5a35c990db225b5e44fb8581186bff5bf2464cf0a7
https://goerli.etherscan.io/tx/0x1a8c23aedc1e0d859c9a1a673d851ec92a43abc4af86dc15b7f1d9366312fbf4
Example submitted value in USD: 0.344669434
SOYBEANS/USD PER KG: 0x2bd9ca10f21f1deaebc768da5936a5ad5ea28253e950a44da40662998adc057a
https://goerli.etherscan.io/tx/0x6b8754b0d84987f79d3201ed445e38be52b363e80c76e72f705b8ca84eafdcd5
Example submitted value in USD: 0.538296192
Since these are submitted in a highly custom way unique to LandX protocol, it may make sense to use symbols like LandXCorn
, LandXWheat
LandXRice
and LandXSoy
. What do you think @RaynHarr ?
Let me know if there's any more information needed for these!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.