Release v0.0.2
Changelog
[v0.0.2] - 2024-08-27
Changes in Documentation (README.md)
-
Updated Contract Link:
- The link to the contract in the
README.md
file has been updated:- Old Link:
https://github.com/compolabs/orderbook-contract/blob/cfd0ca883b95f7ebcaf638b2e98fd3c001e6a9b7/src/constants.rs#L3
- New Link:
https://github.com/compolabs/orderbook-contract/tree/master/market-contract
- Old Link:
- The link to the contract in the
-
Removed Redundant Information:
- The sentence referring to rebuilding the project with Envio (
Rebuild the https://github.com/compolabs/orderbook-indexer with Envio.
) was removed.
- The sentence referring to rebuilding the project with Envio (
-
Added Query Examples:
- Added a section demonstrating how to query the indexer, including examples of GraphQL queries to fetch active orders and filter orders by user:
- Example query to fetch active orders:
query MyQuery { Order(where: {status: {_eq: "Active"}}) { id initial_amount status price amount order_type } }
- Example query to fetch orders filtered by user:
query MyQuery { Order(where: {user: {_eq: ""}}) { id initial_amount status price amount order_type asset_type } }
- Example query to fetch active orders:
- Added a section demonstrating how to query the indexer, including examples of GraphQL queries to fetch active orders and filter orders by user:
Full Changelog: v0.0.1...v0.0.2