Code Monkey home page Code Monkey logo

datafeed's People

Contributors

0xspuddy avatar akremstudy avatar brendaloya avatar cryptobanjo avatar joshuasamaniego avatar oraclown avatar raynharr avatar seroxdesign avatar themandalore avatar tkernell avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

datafeed's Issues

Add table at bottom for tips

show historical tips and display them

"Symbol, chain, tip amount, recurring (bool), frequency (if recurring), Datetime (time added)"

Better Decoding for EVM call

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

data-feed shows:
Screenshot 2024-03-14 at 1 53 41โ€ฏPM

the value that was reported should decode to: 1021647436621648324 (uint256)
moving the decimal place it's 1.02

Tips Feed to show Funding balance?

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.

Add More Precision (decimals) on Price Values

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.

Screenshot 2023-02-22 at 9 32 26 AM

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 ๐Ÿ™

Human Readable LandX Commodity Values

Screenshot 2023-06-29 at 11 39 55 AM

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.