Skip to content

Commit 9e3db0c

Browse files
committed
0x58959d086d8a6ee8cf8eeb572b111edb21661266be4b4885383748d11b72d0aa contract
1 parent 7c2b078 commit 9e3db0c

File tree

5 files changed

+31
-3
lines changed

5 files changed

+31
-3
lines changed

.DS_Store

0 Bytes
Binary file not shown.

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
## [v0.0.4] - 2024-08-26
4+
### Changes in GraphQL Schema (schema.graphql)
5+
6+
- **Removal of `asset_type` field**:
7+
- The `asset_type` field has been removed from the following types:
8+
- `OpenOrderEvent`
9+
- `Order`
10+
- `ActiveSellOrder`
11+
- `ActiveBuyOrder`
12+
13+
This change may impact API integrations that use these types, as the asset type (`AssetType`) data is no longer transmitted.
14+
15+
- **Updated Types**:
16+
- The types `Order`, `ActiveSellOrder`, and `ActiveBuyOrder` now contain only the following fields:
17+
- `id`
18+
- `asset`
19+
- `amount`
20+
- `order_type`
21+
- `price`
22+
- `user`
23+
24+
- **General Improvements**:
25+
- Structural data optimizations have been made to simplify the model and improve query performance.
26+
27+
## [v0.0.3] - 2024-08-20
28+
### Additions and Fixes

config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ networks:
66
url: https://fuel-testnet.hypersync.xyz
77
contracts:
88
- name: OrderBook
9-
address: 0x06a72bdbd965497e89e29f630d1967134ff39462e7149c53f81a930f0d1db6bf
9+
address: 0x58959d086d8a6ee8cf8eeb572b111edb21661266be4b4885383748d11b72d0aa
1010
abi_file_path: ./abis/spark-orderbook.json
1111
handler: ./src/OrderBookHandlers.ts
1212
events:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spark-order-book",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"scripts": {
55
"clean": "tsc --clean",
66
"build": "tsc --build",

tests/harness.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use dotenv::dotenv;
1111
use serde::Serialize;
1212

1313

14-
const ORDER_ID: &str = "0x6ca75490c080bc85ec99c842813b4c81fd8d9eae0574a6be17404aa800297606";
14+
const ORDER_ID: &str = "0x40128061cf5338219fdb3e23e768ed1e2b73066004a1a478f05da3795bd5ae83";
1515

1616

1717
#[derive(Debug, Serialize)]

0 commit comments

Comments
 (0)