Tellor DataSpecs Changelog

All updates

Fantasy football example updated with clearer docs and signed integer support

Sep 9, 2022

Shipped9 commits+32343
  • New fantasy football example data specAdded an `ExampleFantasyFootball` spec for sports-related demos and hackathons, with query details, response formatting, and encoding examples.
  • ExampleFantasyFootball now uses signed integersThe example query and response fields changed from unsigned to signed integers. Existing integrations may need to update type handling before using the latest spec.
Documentation
  • Clarified how the fantasy football example is structured, including player IDs, game IDs, and rating values.
  • Added clearer Python examples for encoding and decoding the sample response data.
  • Added Solidity examples for building the query data, generating the query ID, and reading the returned value on-chain.
  • Included a link to the Tellor Solidity docs for additional help.
  • Added a clearer example for encoding and decoding `SportsData[]` arrays.
Breaking Changes
  • Changed the `ExampleFantasyFootball` query and response fields from unsigned integers to signed integers, which may require integration updates.
9 commits+323-43