Skip to content

Release v0.0.2

Compare
Choose a tag to compare
@PaulZhemanov PaulZhemanov released this 19 Aug 11:50
· 150 commits to main since this release

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
  • Removed Redundant Information:

    • The sentence referring to rebuilding the project with Envio (Rebuild the https://github.com/compolabs/orderbook-indexer with Envio.) was removed.
  • 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
          }
        }

Full Changelog: v0.0.1...v0.0.2