Snapshot breaks out, with new query docs added
May 6, 2022
- Snapshot results now return true/false — Snapshot proposal results now come back as a boolean instead of an array, so any integration that reads this response will need to be updated. The docs also now clarify that proposal IDs are IPFS hashes.
- New Filecoin Deal Status query docs — Added documentation for checking whether a Filecoin storage deal is still active, including inputs, response format, example usage, and suggested data sources.
- New TellorRNG query docs — Added documentation for the TellorRNG query, including how the result is derived and how to encode and decode the response.
Breaking Changes
- Snapshot proposal results now return a single boolean value (`true`/`false`) instead of `uint256[]`. Update any integrations that read this response.
- DIVAProtocolPolygon now returns two USD prices: one for the reference asset and one for the collateral token.
New Features
- Added documentation for the new Filecoin Deal Status query, including inputs, response format, example usage, and suggested data sources.
- Added documentation for the new TellorRNG query, including its parameters, encoding details, and an example response.
Documentation
- Updated Snapshot docs and examples to show the new boolean response format and clarify that proposal IDs are IPFS hashes.
- Refreshed Snapshot links to point to the current website and reference page.
Improvements
- Clarified gas price reporting guidance so EIP-1559 gas prices should be reported as a single full value.
- Improved the new query template guidance with clearer naming and setup instructions.