@clober/v2-sdk 0.0.2 → 0.0.3-a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/apis/market.js +10 -16
- package/dist/cjs/apis/market.js.map +1 -1
- package/dist/cjs/apis/open-order.js +12 -12
- package/dist/cjs/apis/open-order.js.map +1 -1
- package/dist/cjs/apis/subgraph.js +26 -0
- package/dist/cjs/apis/subgraph.js.map +1 -0
- package/dist/cjs/approval.js +0 -26
- package/dist/cjs/approval.js.map +1 -1
- package/dist/cjs/call.js +0 -208
- package/dist/cjs/call.js.map +1 -1
- package/dist/cjs/constants/fee.js +2 -2
- package/dist/cjs/constants/fee.js.map +1 -1
- package/dist/cjs/index.js +6 -19
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/book.js +145 -112
- package/dist/cjs/model/book.js.map +1 -1
- package/dist/cjs/model/fee-policy.js +71 -21
- package/dist/cjs/model/fee-policy.js.map +1 -1
- package/dist/cjs/model/market.js +235 -171
- package/dist/cjs/model/market.js.map +1 -1
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/signature.js +0 -33
- package/dist/cjs/signature.js.map +1 -1
- package/dist/cjs/utils/market.js +0 -3
- package/dist/cjs/utils/market.js.map +1 -1
- package/dist/cjs/utils/math.js +1 -28
- package/dist/cjs/utils/math.js.map +1 -1
- package/dist/cjs/view.js +0 -92
- package/dist/cjs/view.js.map +1 -1
- package/dist/esm/apis/market.js +10 -16
- package/dist/esm/apis/market.js.map +1 -1
- package/dist/esm/apis/open-order.js +12 -12
- package/dist/esm/apis/open-order.js.map +1 -1
- package/dist/esm/apis/subgraph.js +22 -0
- package/dist/esm/apis/subgraph.js.map +1 -0
- package/dist/esm/model/book.js +147 -112
- package/dist/esm/model/book.js.map +1 -1
- package/dist/esm/model/fee-policy.js +71 -21
- package/dist/esm/model/fee-policy.js.map +1 -1
- package/dist/esm/model/market.js +241 -171
- package/dist/esm/model/market.js.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/apis/market.d.ts.map +1 -1
- package/dist/types/apis/open-order.d.ts.map +1 -1
- package/dist/types/apis/subgraph.d.ts +3 -0
- package/dist/types/apis/subgraph.d.ts.map +1 -0
- package/dist/types/model/book.d.ts +21 -0
- package/dist/types/model/book.d.ts.map +1 -1
- package/dist/types/model/open-order.d.ts +26 -0
- package/dist/types/model/open-order.d.ts.map +1 -1
- package/package.json +7 -21
- package/dist/cjs/.graphclient/index.js +0 -243
- package/dist/cjs/.graphclient/index.js.map +0 -1
- package/dist/cjs/.graphclient/sources/clober-v2/introspectionSchema.js +0 -14485
- package/dist/cjs/.graphclient/sources/clober-v2/introspectionSchema.js.map +0 -1
- package/dist/cjs/.graphclient/sources/clober-v2/types.js +0 -4
- package/dist/cjs/.graphclient/sources/clober-v2/types.js.map +0 -1
- package/dist/cjs/tsconfig.build.tsbuildinfo +0 -1
- package/dist/esm/.graphclient/index.js +0 -233
- package/dist/esm/.graphclient/index.js.map +0 -1
- package/dist/esm/.graphclient/sources/clober-v2/introspectionSchema.js +0 -14483
- package/dist/esm/.graphclient/sources/clober-v2/introspectionSchema.js.map +0 -1
- package/dist/esm/.graphclient/sources/clober-v2/types.js +0 -3
- package/dist/esm/.graphclient/sources/clober-v2/types.js.map +0 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +0 -1
- package/dist/types/.graphclient/index.d.ts +0 -1281
- package/dist/types/.graphclient/index.d.ts.map +0 -1
- package/dist/types/.graphclient/sources/clober-v2/introspectionSchema.d.ts +0 -3
- package/dist/types/.graphclient/sources/clober-v2/introspectionSchema.d.ts.map +0 -1
- package/dist/types/.graphclient/sources/clober-v2/types.d.ts +0 -984
- package/dist/types/.graphclient/sources/clober-v2/types.d.ts.map +0 -1
|
@@ -1,1281 +0,0 @@
|
|
|
1
|
-
import { GraphQLResolveInfo, SelectionSetNode, FieldNode, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
|
2
|
-
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
3
|
-
import type { GetMeshOptions } from '@graphql-mesh/runtime';
|
|
4
|
-
import type { YamlConfig } from '@graphql-mesh/types';
|
|
5
|
-
import { MeshHTTPHandler } from '@graphql-mesh/http';
|
|
6
|
-
import { ExecuteMeshFn, SubscribeMeshFn, MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime';
|
|
7
|
-
import type { CloberV2Types } from './sources/clober-v2/types';
|
|
8
|
-
export type Maybe<T> = T | null;
|
|
9
|
-
export type InputMaybe<T> = Maybe<T>;
|
|
10
|
-
export type Exact<T extends {
|
|
11
|
-
[key: string]: unknown;
|
|
12
|
-
}> = {
|
|
13
|
-
[K in keyof T]: T[K];
|
|
14
|
-
};
|
|
15
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
16
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
17
|
-
};
|
|
18
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
19
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
20
|
-
};
|
|
21
|
-
export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
|
|
22
|
-
[P in K]-?: NonNullable<T[P]>;
|
|
23
|
-
};
|
|
24
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
-
export type Scalars = {
|
|
26
|
-
ID: string;
|
|
27
|
-
String: string;
|
|
28
|
-
Boolean: boolean;
|
|
29
|
-
Int: number;
|
|
30
|
-
Float: number;
|
|
31
|
-
BigDecimal: any;
|
|
32
|
-
BigInt: any;
|
|
33
|
-
Bytes: any;
|
|
34
|
-
Int8: any;
|
|
35
|
-
};
|
|
36
|
-
export type BlockChangedFilter = {
|
|
37
|
-
number_gte: Scalars['Int'];
|
|
38
|
-
};
|
|
39
|
-
export type Block_height = {
|
|
40
|
-
hash?: InputMaybe<Scalars['Bytes']>;
|
|
41
|
-
number?: InputMaybe<Scalars['Int']>;
|
|
42
|
-
number_gte?: InputMaybe<Scalars['Int']>;
|
|
43
|
-
};
|
|
44
|
-
export type Book = {
|
|
45
|
-
id: Scalars['ID'];
|
|
46
|
-
base: Token;
|
|
47
|
-
quote: Token;
|
|
48
|
-
unit: Scalars['BigInt'];
|
|
49
|
-
makerPolicy: Scalars['BigInt'];
|
|
50
|
-
takerPolicy: Scalars['BigInt'];
|
|
51
|
-
hooks: Scalars['String'];
|
|
52
|
-
depths: Array<Depth>;
|
|
53
|
-
openOrders: Array<OpenOrder>;
|
|
54
|
-
latestTick: Scalars['BigInt'];
|
|
55
|
-
latestPrice: Scalars['BigInt'];
|
|
56
|
-
latestTimestamp: Scalars['BigInt'];
|
|
57
|
-
};
|
|
58
|
-
export type BookdepthsArgs = {
|
|
59
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
60
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
61
|
-
orderBy?: InputMaybe<Depth_orderBy>;
|
|
62
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
63
|
-
where?: InputMaybe<Depth_filter>;
|
|
64
|
-
};
|
|
65
|
-
export type BookopenOrdersArgs = {
|
|
66
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
67
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
68
|
-
orderBy?: InputMaybe<OpenOrder_orderBy>;
|
|
69
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
70
|
-
where?: InputMaybe<OpenOrder_filter>;
|
|
71
|
-
};
|
|
72
|
-
export type Book_filter = {
|
|
73
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
74
|
-
id_not?: InputMaybe<Scalars['ID']>;
|
|
75
|
-
id_gt?: InputMaybe<Scalars['ID']>;
|
|
76
|
-
id_lt?: InputMaybe<Scalars['ID']>;
|
|
77
|
-
id_gte?: InputMaybe<Scalars['ID']>;
|
|
78
|
-
id_lte?: InputMaybe<Scalars['ID']>;
|
|
79
|
-
id_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
80
|
-
id_not_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
81
|
-
base?: InputMaybe<Scalars['String']>;
|
|
82
|
-
base_not?: InputMaybe<Scalars['String']>;
|
|
83
|
-
base_gt?: InputMaybe<Scalars['String']>;
|
|
84
|
-
base_lt?: InputMaybe<Scalars['String']>;
|
|
85
|
-
base_gte?: InputMaybe<Scalars['String']>;
|
|
86
|
-
base_lte?: InputMaybe<Scalars['String']>;
|
|
87
|
-
base_in?: InputMaybe<Array<Scalars['String']>>;
|
|
88
|
-
base_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
89
|
-
base_contains?: InputMaybe<Scalars['String']>;
|
|
90
|
-
base_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
91
|
-
base_not_contains?: InputMaybe<Scalars['String']>;
|
|
92
|
-
base_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
93
|
-
base_starts_with?: InputMaybe<Scalars['String']>;
|
|
94
|
-
base_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
95
|
-
base_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
96
|
-
base_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
97
|
-
base_ends_with?: InputMaybe<Scalars['String']>;
|
|
98
|
-
base_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
99
|
-
base_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
100
|
-
base_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
101
|
-
base_?: InputMaybe<Token_filter>;
|
|
102
|
-
quote?: InputMaybe<Scalars['String']>;
|
|
103
|
-
quote_not?: InputMaybe<Scalars['String']>;
|
|
104
|
-
quote_gt?: InputMaybe<Scalars['String']>;
|
|
105
|
-
quote_lt?: InputMaybe<Scalars['String']>;
|
|
106
|
-
quote_gte?: InputMaybe<Scalars['String']>;
|
|
107
|
-
quote_lte?: InputMaybe<Scalars['String']>;
|
|
108
|
-
quote_in?: InputMaybe<Array<Scalars['String']>>;
|
|
109
|
-
quote_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
110
|
-
quote_contains?: InputMaybe<Scalars['String']>;
|
|
111
|
-
quote_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
112
|
-
quote_not_contains?: InputMaybe<Scalars['String']>;
|
|
113
|
-
quote_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
114
|
-
quote_starts_with?: InputMaybe<Scalars['String']>;
|
|
115
|
-
quote_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
116
|
-
quote_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
117
|
-
quote_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
118
|
-
quote_ends_with?: InputMaybe<Scalars['String']>;
|
|
119
|
-
quote_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
120
|
-
quote_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
121
|
-
quote_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
122
|
-
quote_?: InputMaybe<Token_filter>;
|
|
123
|
-
unit?: InputMaybe<Scalars['BigInt']>;
|
|
124
|
-
unit_not?: InputMaybe<Scalars['BigInt']>;
|
|
125
|
-
unit_gt?: InputMaybe<Scalars['BigInt']>;
|
|
126
|
-
unit_lt?: InputMaybe<Scalars['BigInt']>;
|
|
127
|
-
unit_gte?: InputMaybe<Scalars['BigInt']>;
|
|
128
|
-
unit_lte?: InputMaybe<Scalars['BigInt']>;
|
|
129
|
-
unit_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
130
|
-
unit_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
131
|
-
makerPolicy?: InputMaybe<Scalars['BigInt']>;
|
|
132
|
-
makerPolicy_not?: InputMaybe<Scalars['BigInt']>;
|
|
133
|
-
makerPolicy_gt?: InputMaybe<Scalars['BigInt']>;
|
|
134
|
-
makerPolicy_lt?: InputMaybe<Scalars['BigInt']>;
|
|
135
|
-
makerPolicy_gte?: InputMaybe<Scalars['BigInt']>;
|
|
136
|
-
makerPolicy_lte?: InputMaybe<Scalars['BigInt']>;
|
|
137
|
-
makerPolicy_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
138
|
-
makerPolicy_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
139
|
-
takerPolicy?: InputMaybe<Scalars['BigInt']>;
|
|
140
|
-
takerPolicy_not?: InputMaybe<Scalars['BigInt']>;
|
|
141
|
-
takerPolicy_gt?: InputMaybe<Scalars['BigInt']>;
|
|
142
|
-
takerPolicy_lt?: InputMaybe<Scalars['BigInt']>;
|
|
143
|
-
takerPolicy_gte?: InputMaybe<Scalars['BigInt']>;
|
|
144
|
-
takerPolicy_lte?: InputMaybe<Scalars['BigInt']>;
|
|
145
|
-
takerPolicy_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
146
|
-
takerPolicy_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
147
|
-
hooks?: InputMaybe<Scalars['String']>;
|
|
148
|
-
hooks_not?: InputMaybe<Scalars['String']>;
|
|
149
|
-
hooks_gt?: InputMaybe<Scalars['String']>;
|
|
150
|
-
hooks_lt?: InputMaybe<Scalars['String']>;
|
|
151
|
-
hooks_gte?: InputMaybe<Scalars['String']>;
|
|
152
|
-
hooks_lte?: InputMaybe<Scalars['String']>;
|
|
153
|
-
hooks_in?: InputMaybe<Array<Scalars['String']>>;
|
|
154
|
-
hooks_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
155
|
-
hooks_contains?: InputMaybe<Scalars['String']>;
|
|
156
|
-
hooks_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
157
|
-
hooks_not_contains?: InputMaybe<Scalars['String']>;
|
|
158
|
-
hooks_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
159
|
-
hooks_starts_with?: InputMaybe<Scalars['String']>;
|
|
160
|
-
hooks_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
161
|
-
hooks_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
162
|
-
hooks_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
163
|
-
hooks_ends_with?: InputMaybe<Scalars['String']>;
|
|
164
|
-
hooks_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
165
|
-
hooks_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
166
|
-
hooks_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
167
|
-
depths_?: InputMaybe<Depth_filter>;
|
|
168
|
-
openOrders_?: InputMaybe<OpenOrder_filter>;
|
|
169
|
-
latestTick?: InputMaybe<Scalars['BigInt']>;
|
|
170
|
-
latestTick_not?: InputMaybe<Scalars['BigInt']>;
|
|
171
|
-
latestTick_gt?: InputMaybe<Scalars['BigInt']>;
|
|
172
|
-
latestTick_lt?: InputMaybe<Scalars['BigInt']>;
|
|
173
|
-
latestTick_gte?: InputMaybe<Scalars['BigInt']>;
|
|
174
|
-
latestTick_lte?: InputMaybe<Scalars['BigInt']>;
|
|
175
|
-
latestTick_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
176
|
-
latestTick_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
177
|
-
latestPrice?: InputMaybe<Scalars['BigInt']>;
|
|
178
|
-
latestPrice_not?: InputMaybe<Scalars['BigInt']>;
|
|
179
|
-
latestPrice_gt?: InputMaybe<Scalars['BigInt']>;
|
|
180
|
-
latestPrice_lt?: InputMaybe<Scalars['BigInt']>;
|
|
181
|
-
latestPrice_gte?: InputMaybe<Scalars['BigInt']>;
|
|
182
|
-
latestPrice_lte?: InputMaybe<Scalars['BigInt']>;
|
|
183
|
-
latestPrice_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
184
|
-
latestPrice_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
185
|
-
latestTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
186
|
-
latestTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
187
|
-
latestTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
188
|
-
latestTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
189
|
-
latestTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
190
|
-
latestTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
191
|
-
latestTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
192
|
-
latestTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
193
|
-
/** Filter for the block changed event. */
|
|
194
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
195
|
-
and?: InputMaybe<Array<InputMaybe<Book_filter>>>;
|
|
196
|
-
or?: InputMaybe<Array<InputMaybe<Book_filter>>>;
|
|
197
|
-
};
|
|
198
|
-
export type Book_orderBy = 'id' | 'base' | 'base__id' | 'base__symbol' | 'base__name' | 'base__decimals' | 'quote' | 'quote__id' | 'quote__symbol' | 'quote__name' | 'quote__decimals' | 'unit' | 'makerPolicy' | 'takerPolicy' | 'hooks' | 'depths' | 'openOrders' | 'latestTick' | 'latestPrice' | 'latestTimestamp';
|
|
199
|
-
export type ChartLog = {
|
|
200
|
-
id: Scalars['ID'];
|
|
201
|
-
marketCode: Scalars['String'];
|
|
202
|
-
intervalType: Scalars['String'];
|
|
203
|
-
timestamp: Scalars['BigInt'];
|
|
204
|
-
open: Scalars['BigDecimal'];
|
|
205
|
-
high: Scalars['BigDecimal'];
|
|
206
|
-
low: Scalars['BigDecimal'];
|
|
207
|
-
close: Scalars['BigDecimal'];
|
|
208
|
-
baseVolume: Scalars['BigDecimal'];
|
|
209
|
-
};
|
|
210
|
-
export type ChartLog_filter = {
|
|
211
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
212
|
-
id_not?: InputMaybe<Scalars['ID']>;
|
|
213
|
-
id_gt?: InputMaybe<Scalars['ID']>;
|
|
214
|
-
id_lt?: InputMaybe<Scalars['ID']>;
|
|
215
|
-
id_gte?: InputMaybe<Scalars['ID']>;
|
|
216
|
-
id_lte?: InputMaybe<Scalars['ID']>;
|
|
217
|
-
id_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
218
|
-
id_not_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
219
|
-
marketCode?: InputMaybe<Scalars['String']>;
|
|
220
|
-
marketCode_not?: InputMaybe<Scalars['String']>;
|
|
221
|
-
marketCode_gt?: InputMaybe<Scalars['String']>;
|
|
222
|
-
marketCode_lt?: InputMaybe<Scalars['String']>;
|
|
223
|
-
marketCode_gte?: InputMaybe<Scalars['String']>;
|
|
224
|
-
marketCode_lte?: InputMaybe<Scalars['String']>;
|
|
225
|
-
marketCode_in?: InputMaybe<Array<Scalars['String']>>;
|
|
226
|
-
marketCode_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
227
|
-
marketCode_contains?: InputMaybe<Scalars['String']>;
|
|
228
|
-
marketCode_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
229
|
-
marketCode_not_contains?: InputMaybe<Scalars['String']>;
|
|
230
|
-
marketCode_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
231
|
-
marketCode_starts_with?: InputMaybe<Scalars['String']>;
|
|
232
|
-
marketCode_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
233
|
-
marketCode_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
234
|
-
marketCode_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
235
|
-
marketCode_ends_with?: InputMaybe<Scalars['String']>;
|
|
236
|
-
marketCode_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
237
|
-
marketCode_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
238
|
-
marketCode_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
239
|
-
intervalType?: InputMaybe<Scalars['String']>;
|
|
240
|
-
intervalType_not?: InputMaybe<Scalars['String']>;
|
|
241
|
-
intervalType_gt?: InputMaybe<Scalars['String']>;
|
|
242
|
-
intervalType_lt?: InputMaybe<Scalars['String']>;
|
|
243
|
-
intervalType_gte?: InputMaybe<Scalars['String']>;
|
|
244
|
-
intervalType_lte?: InputMaybe<Scalars['String']>;
|
|
245
|
-
intervalType_in?: InputMaybe<Array<Scalars['String']>>;
|
|
246
|
-
intervalType_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
247
|
-
intervalType_contains?: InputMaybe<Scalars['String']>;
|
|
248
|
-
intervalType_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
249
|
-
intervalType_not_contains?: InputMaybe<Scalars['String']>;
|
|
250
|
-
intervalType_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
251
|
-
intervalType_starts_with?: InputMaybe<Scalars['String']>;
|
|
252
|
-
intervalType_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
253
|
-
intervalType_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
254
|
-
intervalType_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
255
|
-
intervalType_ends_with?: InputMaybe<Scalars['String']>;
|
|
256
|
-
intervalType_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
257
|
-
intervalType_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
258
|
-
intervalType_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
259
|
-
timestamp?: InputMaybe<Scalars['BigInt']>;
|
|
260
|
-
timestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
261
|
-
timestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
262
|
-
timestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
263
|
-
timestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
264
|
-
timestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
265
|
-
timestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
266
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
267
|
-
open?: InputMaybe<Scalars['BigDecimal']>;
|
|
268
|
-
open_not?: InputMaybe<Scalars['BigDecimal']>;
|
|
269
|
-
open_gt?: InputMaybe<Scalars['BigDecimal']>;
|
|
270
|
-
open_lt?: InputMaybe<Scalars['BigDecimal']>;
|
|
271
|
-
open_gte?: InputMaybe<Scalars['BigDecimal']>;
|
|
272
|
-
open_lte?: InputMaybe<Scalars['BigDecimal']>;
|
|
273
|
-
open_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
274
|
-
open_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
275
|
-
high?: InputMaybe<Scalars['BigDecimal']>;
|
|
276
|
-
high_not?: InputMaybe<Scalars['BigDecimal']>;
|
|
277
|
-
high_gt?: InputMaybe<Scalars['BigDecimal']>;
|
|
278
|
-
high_lt?: InputMaybe<Scalars['BigDecimal']>;
|
|
279
|
-
high_gte?: InputMaybe<Scalars['BigDecimal']>;
|
|
280
|
-
high_lte?: InputMaybe<Scalars['BigDecimal']>;
|
|
281
|
-
high_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
282
|
-
high_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
283
|
-
low?: InputMaybe<Scalars['BigDecimal']>;
|
|
284
|
-
low_not?: InputMaybe<Scalars['BigDecimal']>;
|
|
285
|
-
low_gt?: InputMaybe<Scalars['BigDecimal']>;
|
|
286
|
-
low_lt?: InputMaybe<Scalars['BigDecimal']>;
|
|
287
|
-
low_gte?: InputMaybe<Scalars['BigDecimal']>;
|
|
288
|
-
low_lte?: InputMaybe<Scalars['BigDecimal']>;
|
|
289
|
-
low_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
290
|
-
low_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
291
|
-
close?: InputMaybe<Scalars['BigDecimal']>;
|
|
292
|
-
close_not?: InputMaybe<Scalars['BigDecimal']>;
|
|
293
|
-
close_gt?: InputMaybe<Scalars['BigDecimal']>;
|
|
294
|
-
close_lt?: InputMaybe<Scalars['BigDecimal']>;
|
|
295
|
-
close_gte?: InputMaybe<Scalars['BigDecimal']>;
|
|
296
|
-
close_lte?: InputMaybe<Scalars['BigDecimal']>;
|
|
297
|
-
close_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
298
|
-
close_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
299
|
-
baseVolume?: InputMaybe<Scalars['BigDecimal']>;
|
|
300
|
-
baseVolume_not?: InputMaybe<Scalars['BigDecimal']>;
|
|
301
|
-
baseVolume_gt?: InputMaybe<Scalars['BigDecimal']>;
|
|
302
|
-
baseVolume_lt?: InputMaybe<Scalars['BigDecimal']>;
|
|
303
|
-
baseVolume_gte?: InputMaybe<Scalars['BigDecimal']>;
|
|
304
|
-
baseVolume_lte?: InputMaybe<Scalars['BigDecimal']>;
|
|
305
|
-
baseVolume_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
306
|
-
baseVolume_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
|
|
307
|
-
/** Filter for the block changed event. */
|
|
308
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
309
|
-
and?: InputMaybe<Array<InputMaybe<ChartLog_filter>>>;
|
|
310
|
-
or?: InputMaybe<Array<InputMaybe<ChartLog_filter>>>;
|
|
311
|
-
};
|
|
312
|
-
export type ChartLog_orderBy = 'id' | 'marketCode' | 'intervalType' | 'timestamp' | 'open' | 'high' | 'low' | 'close' | 'baseVolume';
|
|
313
|
-
export type Depth = {
|
|
314
|
-
id: Scalars['ID'];
|
|
315
|
-
book: Book;
|
|
316
|
-
tick: Scalars['BigInt'];
|
|
317
|
-
price: Scalars['BigInt'];
|
|
318
|
-
rawAmount: Scalars['BigInt'];
|
|
319
|
-
baseAmount: Scalars['BigInt'];
|
|
320
|
-
quoteAmount: Scalars['BigInt'];
|
|
321
|
-
latestTakenOrderIndex: Scalars['BigInt'];
|
|
322
|
-
};
|
|
323
|
-
export type Depth_filter = {
|
|
324
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
325
|
-
id_not?: InputMaybe<Scalars['ID']>;
|
|
326
|
-
id_gt?: InputMaybe<Scalars['ID']>;
|
|
327
|
-
id_lt?: InputMaybe<Scalars['ID']>;
|
|
328
|
-
id_gte?: InputMaybe<Scalars['ID']>;
|
|
329
|
-
id_lte?: InputMaybe<Scalars['ID']>;
|
|
330
|
-
id_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
331
|
-
id_not_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
332
|
-
book?: InputMaybe<Scalars['String']>;
|
|
333
|
-
book_not?: InputMaybe<Scalars['String']>;
|
|
334
|
-
book_gt?: InputMaybe<Scalars['String']>;
|
|
335
|
-
book_lt?: InputMaybe<Scalars['String']>;
|
|
336
|
-
book_gte?: InputMaybe<Scalars['String']>;
|
|
337
|
-
book_lte?: InputMaybe<Scalars['String']>;
|
|
338
|
-
book_in?: InputMaybe<Array<Scalars['String']>>;
|
|
339
|
-
book_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
340
|
-
book_contains?: InputMaybe<Scalars['String']>;
|
|
341
|
-
book_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
342
|
-
book_not_contains?: InputMaybe<Scalars['String']>;
|
|
343
|
-
book_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
344
|
-
book_starts_with?: InputMaybe<Scalars['String']>;
|
|
345
|
-
book_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
346
|
-
book_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
347
|
-
book_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
348
|
-
book_ends_with?: InputMaybe<Scalars['String']>;
|
|
349
|
-
book_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
350
|
-
book_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
351
|
-
book_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
352
|
-
book_?: InputMaybe<Book_filter>;
|
|
353
|
-
tick?: InputMaybe<Scalars['BigInt']>;
|
|
354
|
-
tick_not?: InputMaybe<Scalars['BigInt']>;
|
|
355
|
-
tick_gt?: InputMaybe<Scalars['BigInt']>;
|
|
356
|
-
tick_lt?: InputMaybe<Scalars['BigInt']>;
|
|
357
|
-
tick_gte?: InputMaybe<Scalars['BigInt']>;
|
|
358
|
-
tick_lte?: InputMaybe<Scalars['BigInt']>;
|
|
359
|
-
tick_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
360
|
-
tick_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
361
|
-
price?: InputMaybe<Scalars['BigInt']>;
|
|
362
|
-
price_not?: InputMaybe<Scalars['BigInt']>;
|
|
363
|
-
price_gt?: InputMaybe<Scalars['BigInt']>;
|
|
364
|
-
price_lt?: InputMaybe<Scalars['BigInt']>;
|
|
365
|
-
price_gte?: InputMaybe<Scalars['BigInt']>;
|
|
366
|
-
price_lte?: InputMaybe<Scalars['BigInt']>;
|
|
367
|
-
price_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
368
|
-
price_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
369
|
-
rawAmount?: InputMaybe<Scalars['BigInt']>;
|
|
370
|
-
rawAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
371
|
-
rawAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
372
|
-
rawAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
373
|
-
rawAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
374
|
-
rawAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
375
|
-
rawAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
376
|
-
rawAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
377
|
-
baseAmount?: InputMaybe<Scalars['BigInt']>;
|
|
378
|
-
baseAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
379
|
-
baseAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
380
|
-
baseAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
381
|
-
baseAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
382
|
-
baseAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
383
|
-
baseAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
384
|
-
baseAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
385
|
-
quoteAmount?: InputMaybe<Scalars['BigInt']>;
|
|
386
|
-
quoteAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
387
|
-
quoteAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
388
|
-
quoteAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
389
|
-
quoteAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
390
|
-
quoteAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
391
|
-
quoteAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
392
|
-
quoteAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
393
|
-
latestTakenOrderIndex?: InputMaybe<Scalars['BigInt']>;
|
|
394
|
-
latestTakenOrderIndex_not?: InputMaybe<Scalars['BigInt']>;
|
|
395
|
-
latestTakenOrderIndex_gt?: InputMaybe<Scalars['BigInt']>;
|
|
396
|
-
latestTakenOrderIndex_lt?: InputMaybe<Scalars['BigInt']>;
|
|
397
|
-
latestTakenOrderIndex_gte?: InputMaybe<Scalars['BigInt']>;
|
|
398
|
-
latestTakenOrderIndex_lte?: InputMaybe<Scalars['BigInt']>;
|
|
399
|
-
latestTakenOrderIndex_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
400
|
-
latestTakenOrderIndex_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
401
|
-
/** Filter for the block changed event. */
|
|
402
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
403
|
-
and?: InputMaybe<Array<InputMaybe<Depth_filter>>>;
|
|
404
|
-
or?: InputMaybe<Array<InputMaybe<Depth_filter>>>;
|
|
405
|
-
};
|
|
406
|
-
export type Depth_orderBy = 'id' | 'book' | 'book__id' | 'book__unit' | 'book__makerPolicy' | 'book__takerPolicy' | 'book__hooks' | 'book__latestTick' | 'book__latestPrice' | 'book__latestTimestamp' | 'tick' | 'price' | 'rawAmount' | 'baseAmount' | 'quoteAmount' | 'latestTakenOrderIndex';
|
|
407
|
-
export type OpenOrder = {
|
|
408
|
-
id: Scalars['ID'];
|
|
409
|
-
book: Book;
|
|
410
|
-
tick: Scalars['BigInt'];
|
|
411
|
-
orderIndex: Scalars['BigInt'];
|
|
412
|
-
price: Scalars['BigInt'];
|
|
413
|
-
user: Scalars['String'];
|
|
414
|
-
txHash: Scalars['String'];
|
|
415
|
-
createdAt: Scalars['BigInt'];
|
|
416
|
-
rawAmount: Scalars['BigInt'];
|
|
417
|
-
baseAmount: Scalars['BigInt'];
|
|
418
|
-
quoteAmount: Scalars['BigInt'];
|
|
419
|
-
rawFilledAmount: Scalars['BigInt'];
|
|
420
|
-
baseFilledAmount: Scalars['BigInt'];
|
|
421
|
-
quoteFilledAmount: Scalars['BigInt'];
|
|
422
|
-
rawClaimedAmount: Scalars['BigInt'];
|
|
423
|
-
baseClaimedAmount: Scalars['BigInt'];
|
|
424
|
-
quoteClaimedAmount: Scalars['BigInt'];
|
|
425
|
-
rawClaimableAmount: Scalars['BigInt'];
|
|
426
|
-
baseClaimableAmount: Scalars['BigInt'];
|
|
427
|
-
quoteClaimableAmount: Scalars['BigInt'];
|
|
428
|
-
rawOpenAmount: Scalars['BigInt'];
|
|
429
|
-
baseOpenAmount: Scalars['BigInt'];
|
|
430
|
-
quoteOpenAmount: Scalars['BigInt'];
|
|
431
|
-
};
|
|
432
|
-
export type OpenOrder_filter = {
|
|
433
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
434
|
-
id_not?: InputMaybe<Scalars['ID']>;
|
|
435
|
-
id_gt?: InputMaybe<Scalars['ID']>;
|
|
436
|
-
id_lt?: InputMaybe<Scalars['ID']>;
|
|
437
|
-
id_gte?: InputMaybe<Scalars['ID']>;
|
|
438
|
-
id_lte?: InputMaybe<Scalars['ID']>;
|
|
439
|
-
id_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
440
|
-
id_not_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
441
|
-
book?: InputMaybe<Scalars['String']>;
|
|
442
|
-
book_not?: InputMaybe<Scalars['String']>;
|
|
443
|
-
book_gt?: InputMaybe<Scalars['String']>;
|
|
444
|
-
book_lt?: InputMaybe<Scalars['String']>;
|
|
445
|
-
book_gte?: InputMaybe<Scalars['String']>;
|
|
446
|
-
book_lte?: InputMaybe<Scalars['String']>;
|
|
447
|
-
book_in?: InputMaybe<Array<Scalars['String']>>;
|
|
448
|
-
book_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
449
|
-
book_contains?: InputMaybe<Scalars['String']>;
|
|
450
|
-
book_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
451
|
-
book_not_contains?: InputMaybe<Scalars['String']>;
|
|
452
|
-
book_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
453
|
-
book_starts_with?: InputMaybe<Scalars['String']>;
|
|
454
|
-
book_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
455
|
-
book_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
456
|
-
book_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
457
|
-
book_ends_with?: InputMaybe<Scalars['String']>;
|
|
458
|
-
book_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
459
|
-
book_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
460
|
-
book_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
461
|
-
book_?: InputMaybe<Book_filter>;
|
|
462
|
-
tick?: InputMaybe<Scalars['BigInt']>;
|
|
463
|
-
tick_not?: InputMaybe<Scalars['BigInt']>;
|
|
464
|
-
tick_gt?: InputMaybe<Scalars['BigInt']>;
|
|
465
|
-
tick_lt?: InputMaybe<Scalars['BigInt']>;
|
|
466
|
-
tick_gte?: InputMaybe<Scalars['BigInt']>;
|
|
467
|
-
tick_lte?: InputMaybe<Scalars['BigInt']>;
|
|
468
|
-
tick_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
469
|
-
tick_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
470
|
-
orderIndex?: InputMaybe<Scalars['BigInt']>;
|
|
471
|
-
orderIndex_not?: InputMaybe<Scalars['BigInt']>;
|
|
472
|
-
orderIndex_gt?: InputMaybe<Scalars['BigInt']>;
|
|
473
|
-
orderIndex_lt?: InputMaybe<Scalars['BigInt']>;
|
|
474
|
-
orderIndex_gte?: InputMaybe<Scalars['BigInt']>;
|
|
475
|
-
orderIndex_lte?: InputMaybe<Scalars['BigInt']>;
|
|
476
|
-
orderIndex_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
477
|
-
orderIndex_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
478
|
-
price?: InputMaybe<Scalars['BigInt']>;
|
|
479
|
-
price_not?: InputMaybe<Scalars['BigInt']>;
|
|
480
|
-
price_gt?: InputMaybe<Scalars['BigInt']>;
|
|
481
|
-
price_lt?: InputMaybe<Scalars['BigInt']>;
|
|
482
|
-
price_gte?: InputMaybe<Scalars['BigInt']>;
|
|
483
|
-
price_lte?: InputMaybe<Scalars['BigInt']>;
|
|
484
|
-
price_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
485
|
-
price_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
486
|
-
user?: InputMaybe<Scalars['String']>;
|
|
487
|
-
user_not?: InputMaybe<Scalars['String']>;
|
|
488
|
-
user_gt?: InputMaybe<Scalars['String']>;
|
|
489
|
-
user_lt?: InputMaybe<Scalars['String']>;
|
|
490
|
-
user_gte?: InputMaybe<Scalars['String']>;
|
|
491
|
-
user_lte?: InputMaybe<Scalars['String']>;
|
|
492
|
-
user_in?: InputMaybe<Array<Scalars['String']>>;
|
|
493
|
-
user_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
494
|
-
user_contains?: InputMaybe<Scalars['String']>;
|
|
495
|
-
user_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
496
|
-
user_not_contains?: InputMaybe<Scalars['String']>;
|
|
497
|
-
user_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
498
|
-
user_starts_with?: InputMaybe<Scalars['String']>;
|
|
499
|
-
user_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
500
|
-
user_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
501
|
-
user_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
502
|
-
user_ends_with?: InputMaybe<Scalars['String']>;
|
|
503
|
-
user_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
504
|
-
user_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
505
|
-
user_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
506
|
-
txHash?: InputMaybe<Scalars['String']>;
|
|
507
|
-
txHash_not?: InputMaybe<Scalars['String']>;
|
|
508
|
-
txHash_gt?: InputMaybe<Scalars['String']>;
|
|
509
|
-
txHash_lt?: InputMaybe<Scalars['String']>;
|
|
510
|
-
txHash_gte?: InputMaybe<Scalars['String']>;
|
|
511
|
-
txHash_lte?: InputMaybe<Scalars['String']>;
|
|
512
|
-
txHash_in?: InputMaybe<Array<Scalars['String']>>;
|
|
513
|
-
txHash_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
514
|
-
txHash_contains?: InputMaybe<Scalars['String']>;
|
|
515
|
-
txHash_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
516
|
-
txHash_not_contains?: InputMaybe<Scalars['String']>;
|
|
517
|
-
txHash_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
518
|
-
txHash_starts_with?: InputMaybe<Scalars['String']>;
|
|
519
|
-
txHash_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
520
|
-
txHash_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
521
|
-
txHash_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
522
|
-
txHash_ends_with?: InputMaybe<Scalars['String']>;
|
|
523
|
-
txHash_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
524
|
-
txHash_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
525
|
-
txHash_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
526
|
-
createdAt?: InputMaybe<Scalars['BigInt']>;
|
|
527
|
-
createdAt_not?: InputMaybe<Scalars['BigInt']>;
|
|
528
|
-
createdAt_gt?: InputMaybe<Scalars['BigInt']>;
|
|
529
|
-
createdAt_lt?: InputMaybe<Scalars['BigInt']>;
|
|
530
|
-
createdAt_gte?: InputMaybe<Scalars['BigInt']>;
|
|
531
|
-
createdAt_lte?: InputMaybe<Scalars['BigInt']>;
|
|
532
|
-
createdAt_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
533
|
-
createdAt_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
534
|
-
rawAmount?: InputMaybe<Scalars['BigInt']>;
|
|
535
|
-
rawAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
536
|
-
rawAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
537
|
-
rawAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
538
|
-
rawAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
539
|
-
rawAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
540
|
-
rawAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
541
|
-
rawAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
542
|
-
baseAmount?: InputMaybe<Scalars['BigInt']>;
|
|
543
|
-
baseAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
544
|
-
baseAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
545
|
-
baseAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
546
|
-
baseAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
547
|
-
baseAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
548
|
-
baseAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
549
|
-
baseAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
550
|
-
quoteAmount?: InputMaybe<Scalars['BigInt']>;
|
|
551
|
-
quoteAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
552
|
-
quoteAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
553
|
-
quoteAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
554
|
-
quoteAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
555
|
-
quoteAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
556
|
-
quoteAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
557
|
-
quoteAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
558
|
-
rawFilledAmount?: InputMaybe<Scalars['BigInt']>;
|
|
559
|
-
rawFilledAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
560
|
-
rawFilledAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
561
|
-
rawFilledAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
562
|
-
rawFilledAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
563
|
-
rawFilledAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
564
|
-
rawFilledAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
565
|
-
rawFilledAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
566
|
-
baseFilledAmount?: InputMaybe<Scalars['BigInt']>;
|
|
567
|
-
baseFilledAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
568
|
-
baseFilledAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
569
|
-
baseFilledAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
570
|
-
baseFilledAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
571
|
-
baseFilledAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
572
|
-
baseFilledAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
573
|
-
baseFilledAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
574
|
-
quoteFilledAmount?: InputMaybe<Scalars['BigInt']>;
|
|
575
|
-
quoteFilledAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
576
|
-
quoteFilledAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
577
|
-
quoteFilledAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
578
|
-
quoteFilledAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
579
|
-
quoteFilledAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
580
|
-
quoteFilledAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
581
|
-
quoteFilledAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
582
|
-
rawClaimedAmount?: InputMaybe<Scalars['BigInt']>;
|
|
583
|
-
rawClaimedAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
584
|
-
rawClaimedAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
585
|
-
rawClaimedAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
586
|
-
rawClaimedAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
587
|
-
rawClaimedAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
588
|
-
rawClaimedAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
589
|
-
rawClaimedAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
590
|
-
baseClaimedAmount?: InputMaybe<Scalars['BigInt']>;
|
|
591
|
-
baseClaimedAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
592
|
-
baseClaimedAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
593
|
-
baseClaimedAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
594
|
-
baseClaimedAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
595
|
-
baseClaimedAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
596
|
-
baseClaimedAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
597
|
-
baseClaimedAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
598
|
-
quoteClaimedAmount?: InputMaybe<Scalars['BigInt']>;
|
|
599
|
-
quoteClaimedAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
600
|
-
quoteClaimedAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
601
|
-
quoteClaimedAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
602
|
-
quoteClaimedAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
603
|
-
quoteClaimedAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
604
|
-
quoteClaimedAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
605
|
-
quoteClaimedAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
606
|
-
rawClaimableAmount?: InputMaybe<Scalars['BigInt']>;
|
|
607
|
-
rawClaimableAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
608
|
-
rawClaimableAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
609
|
-
rawClaimableAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
610
|
-
rawClaimableAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
611
|
-
rawClaimableAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
612
|
-
rawClaimableAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
613
|
-
rawClaimableAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
614
|
-
baseClaimableAmount?: InputMaybe<Scalars['BigInt']>;
|
|
615
|
-
baseClaimableAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
616
|
-
baseClaimableAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
617
|
-
baseClaimableAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
618
|
-
baseClaimableAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
619
|
-
baseClaimableAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
620
|
-
baseClaimableAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
621
|
-
baseClaimableAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
622
|
-
quoteClaimableAmount?: InputMaybe<Scalars['BigInt']>;
|
|
623
|
-
quoteClaimableAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
624
|
-
quoteClaimableAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
625
|
-
quoteClaimableAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
626
|
-
quoteClaimableAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
627
|
-
quoteClaimableAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
628
|
-
quoteClaimableAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
629
|
-
quoteClaimableAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
630
|
-
rawOpenAmount?: InputMaybe<Scalars['BigInt']>;
|
|
631
|
-
rawOpenAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
632
|
-
rawOpenAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
633
|
-
rawOpenAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
634
|
-
rawOpenAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
635
|
-
rawOpenAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
636
|
-
rawOpenAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
637
|
-
rawOpenAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
638
|
-
baseOpenAmount?: InputMaybe<Scalars['BigInt']>;
|
|
639
|
-
baseOpenAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
640
|
-
baseOpenAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
641
|
-
baseOpenAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
642
|
-
baseOpenAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
643
|
-
baseOpenAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
644
|
-
baseOpenAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
645
|
-
baseOpenAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
646
|
-
quoteOpenAmount?: InputMaybe<Scalars['BigInt']>;
|
|
647
|
-
quoteOpenAmount_not?: InputMaybe<Scalars['BigInt']>;
|
|
648
|
-
quoteOpenAmount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
649
|
-
quoteOpenAmount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
650
|
-
quoteOpenAmount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
651
|
-
quoteOpenAmount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
652
|
-
quoteOpenAmount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
653
|
-
quoteOpenAmount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
654
|
-
/** Filter for the block changed event. */
|
|
655
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
656
|
-
and?: InputMaybe<Array<InputMaybe<OpenOrder_filter>>>;
|
|
657
|
-
or?: InputMaybe<Array<InputMaybe<OpenOrder_filter>>>;
|
|
658
|
-
};
|
|
659
|
-
export type OpenOrder_orderBy = 'id' | 'book' | 'book__id' | 'book__unit' | 'book__makerPolicy' | 'book__takerPolicy' | 'book__hooks' | 'book__latestTick' | 'book__latestPrice' | 'book__latestTimestamp' | 'tick' | 'orderIndex' | 'price' | 'user' | 'txHash' | 'createdAt' | 'rawAmount' | 'baseAmount' | 'quoteAmount' | 'rawFilledAmount' | 'baseFilledAmount' | 'quoteFilledAmount' | 'rawClaimedAmount' | 'baseClaimedAmount' | 'quoteClaimedAmount' | 'rawClaimableAmount' | 'baseClaimableAmount' | 'quoteClaimableAmount' | 'rawOpenAmount' | 'baseOpenAmount' | 'quoteOpenAmount';
|
|
660
|
-
/** Defines the order direction, either ascending or descending */
|
|
661
|
-
export type OrderDirection = 'asc' | 'desc';
|
|
662
|
-
export type Query = {
|
|
663
|
-
token?: Maybe<Token>;
|
|
664
|
-
tokens: Array<Token>;
|
|
665
|
-
book?: Maybe<Book>;
|
|
666
|
-
books: Array<Book>;
|
|
667
|
-
depth?: Maybe<Depth>;
|
|
668
|
-
depths: Array<Depth>;
|
|
669
|
-
openOrder?: Maybe<OpenOrder>;
|
|
670
|
-
openOrders: Array<OpenOrder>;
|
|
671
|
-
chartLog?: Maybe<ChartLog>;
|
|
672
|
-
chartLogs: Array<ChartLog>;
|
|
673
|
-
/** Access to subgraph metadata */
|
|
674
|
-
_meta?: Maybe<_Meta_>;
|
|
675
|
-
};
|
|
676
|
-
export type QuerytokenArgs = {
|
|
677
|
-
id: Scalars['ID'];
|
|
678
|
-
block?: InputMaybe<Block_height>;
|
|
679
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
680
|
-
};
|
|
681
|
-
export type QuerytokensArgs = {
|
|
682
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
683
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
684
|
-
orderBy?: InputMaybe<Token_orderBy>;
|
|
685
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
686
|
-
where?: InputMaybe<Token_filter>;
|
|
687
|
-
block?: InputMaybe<Block_height>;
|
|
688
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
689
|
-
};
|
|
690
|
-
export type QuerybookArgs = {
|
|
691
|
-
id: Scalars['ID'];
|
|
692
|
-
block?: InputMaybe<Block_height>;
|
|
693
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
694
|
-
};
|
|
695
|
-
export type QuerybooksArgs = {
|
|
696
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
697
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
698
|
-
orderBy?: InputMaybe<Book_orderBy>;
|
|
699
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
700
|
-
where?: InputMaybe<Book_filter>;
|
|
701
|
-
block?: InputMaybe<Block_height>;
|
|
702
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
703
|
-
};
|
|
704
|
-
export type QuerydepthArgs = {
|
|
705
|
-
id: Scalars['ID'];
|
|
706
|
-
block?: InputMaybe<Block_height>;
|
|
707
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
708
|
-
};
|
|
709
|
-
export type QuerydepthsArgs = {
|
|
710
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
711
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
712
|
-
orderBy?: InputMaybe<Depth_orderBy>;
|
|
713
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
714
|
-
where?: InputMaybe<Depth_filter>;
|
|
715
|
-
block?: InputMaybe<Block_height>;
|
|
716
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
717
|
-
};
|
|
718
|
-
export type QueryopenOrderArgs = {
|
|
719
|
-
id: Scalars['ID'];
|
|
720
|
-
block?: InputMaybe<Block_height>;
|
|
721
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
722
|
-
};
|
|
723
|
-
export type QueryopenOrdersArgs = {
|
|
724
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
725
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
726
|
-
orderBy?: InputMaybe<OpenOrder_orderBy>;
|
|
727
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
728
|
-
where?: InputMaybe<OpenOrder_filter>;
|
|
729
|
-
block?: InputMaybe<Block_height>;
|
|
730
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
731
|
-
};
|
|
732
|
-
export type QuerychartLogArgs = {
|
|
733
|
-
id: Scalars['ID'];
|
|
734
|
-
block?: InputMaybe<Block_height>;
|
|
735
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
736
|
-
};
|
|
737
|
-
export type QuerychartLogsArgs = {
|
|
738
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
739
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
740
|
-
orderBy?: InputMaybe<ChartLog_orderBy>;
|
|
741
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
742
|
-
where?: InputMaybe<ChartLog_filter>;
|
|
743
|
-
block?: InputMaybe<Block_height>;
|
|
744
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
745
|
-
};
|
|
746
|
-
export type Query_metaArgs = {
|
|
747
|
-
block?: InputMaybe<Block_height>;
|
|
748
|
-
};
|
|
749
|
-
export type Subscription = {
|
|
750
|
-
token?: Maybe<Token>;
|
|
751
|
-
tokens: Array<Token>;
|
|
752
|
-
book?: Maybe<Book>;
|
|
753
|
-
books: Array<Book>;
|
|
754
|
-
depth?: Maybe<Depth>;
|
|
755
|
-
depths: Array<Depth>;
|
|
756
|
-
openOrder?: Maybe<OpenOrder>;
|
|
757
|
-
openOrders: Array<OpenOrder>;
|
|
758
|
-
chartLog?: Maybe<ChartLog>;
|
|
759
|
-
chartLogs: Array<ChartLog>;
|
|
760
|
-
/** Access to subgraph metadata */
|
|
761
|
-
_meta?: Maybe<_Meta_>;
|
|
762
|
-
};
|
|
763
|
-
export type SubscriptiontokenArgs = {
|
|
764
|
-
id: Scalars['ID'];
|
|
765
|
-
block?: InputMaybe<Block_height>;
|
|
766
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
767
|
-
};
|
|
768
|
-
export type SubscriptiontokensArgs = {
|
|
769
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
770
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
771
|
-
orderBy?: InputMaybe<Token_orderBy>;
|
|
772
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
773
|
-
where?: InputMaybe<Token_filter>;
|
|
774
|
-
block?: InputMaybe<Block_height>;
|
|
775
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
776
|
-
};
|
|
777
|
-
export type SubscriptionbookArgs = {
|
|
778
|
-
id: Scalars['ID'];
|
|
779
|
-
block?: InputMaybe<Block_height>;
|
|
780
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
781
|
-
};
|
|
782
|
-
export type SubscriptionbooksArgs = {
|
|
783
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
784
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
785
|
-
orderBy?: InputMaybe<Book_orderBy>;
|
|
786
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
787
|
-
where?: InputMaybe<Book_filter>;
|
|
788
|
-
block?: InputMaybe<Block_height>;
|
|
789
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
790
|
-
};
|
|
791
|
-
export type SubscriptiondepthArgs = {
|
|
792
|
-
id: Scalars['ID'];
|
|
793
|
-
block?: InputMaybe<Block_height>;
|
|
794
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
795
|
-
};
|
|
796
|
-
export type SubscriptiondepthsArgs = {
|
|
797
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
798
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
799
|
-
orderBy?: InputMaybe<Depth_orderBy>;
|
|
800
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
801
|
-
where?: InputMaybe<Depth_filter>;
|
|
802
|
-
block?: InputMaybe<Block_height>;
|
|
803
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
804
|
-
};
|
|
805
|
-
export type SubscriptionopenOrderArgs = {
|
|
806
|
-
id: Scalars['ID'];
|
|
807
|
-
block?: InputMaybe<Block_height>;
|
|
808
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
809
|
-
};
|
|
810
|
-
export type SubscriptionopenOrdersArgs = {
|
|
811
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
812
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
813
|
-
orderBy?: InputMaybe<OpenOrder_orderBy>;
|
|
814
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
815
|
-
where?: InputMaybe<OpenOrder_filter>;
|
|
816
|
-
block?: InputMaybe<Block_height>;
|
|
817
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
818
|
-
};
|
|
819
|
-
export type SubscriptionchartLogArgs = {
|
|
820
|
-
id: Scalars['ID'];
|
|
821
|
-
block?: InputMaybe<Block_height>;
|
|
822
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
823
|
-
};
|
|
824
|
-
export type SubscriptionchartLogsArgs = {
|
|
825
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
826
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
827
|
-
orderBy?: InputMaybe<ChartLog_orderBy>;
|
|
828
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
829
|
-
where?: InputMaybe<ChartLog_filter>;
|
|
830
|
-
block?: InputMaybe<Block_height>;
|
|
831
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
832
|
-
};
|
|
833
|
-
export type Subscription_metaArgs = {
|
|
834
|
-
block?: InputMaybe<Block_height>;
|
|
835
|
-
};
|
|
836
|
-
export type Token = {
|
|
837
|
-
id: Scalars['ID'];
|
|
838
|
-
symbol: Scalars['String'];
|
|
839
|
-
name: Scalars['String'];
|
|
840
|
-
decimals: Scalars['BigInt'];
|
|
841
|
-
};
|
|
842
|
-
export type Token_filter = {
|
|
843
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
844
|
-
id_not?: InputMaybe<Scalars['ID']>;
|
|
845
|
-
id_gt?: InputMaybe<Scalars['ID']>;
|
|
846
|
-
id_lt?: InputMaybe<Scalars['ID']>;
|
|
847
|
-
id_gte?: InputMaybe<Scalars['ID']>;
|
|
848
|
-
id_lte?: InputMaybe<Scalars['ID']>;
|
|
849
|
-
id_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
850
|
-
id_not_in?: InputMaybe<Array<Scalars['ID']>>;
|
|
851
|
-
symbol?: InputMaybe<Scalars['String']>;
|
|
852
|
-
symbol_not?: InputMaybe<Scalars['String']>;
|
|
853
|
-
symbol_gt?: InputMaybe<Scalars['String']>;
|
|
854
|
-
symbol_lt?: InputMaybe<Scalars['String']>;
|
|
855
|
-
symbol_gte?: InputMaybe<Scalars['String']>;
|
|
856
|
-
symbol_lte?: InputMaybe<Scalars['String']>;
|
|
857
|
-
symbol_in?: InputMaybe<Array<Scalars['String']>>;
|
|
858
|
-
symbol_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
859
|
-
symbol_contains?: InputMaybe<Scalars['String']>;
|
|
860
|
-
symbol_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
861
|
-
symbol_not_contains?: InputMaybe<Scalars['String']>;
|
|
862
|
-
symbol_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
863
|
-
symbol_starts_with?: InputMaybe<Scalars['String']>;
|
|
864
|
-
symbol_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
865
|
-
symbol_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
866
|
-
symbol_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
867
|
-
symbol_ends_with?: InputMaybe<Scalars['String']>;
|
|
868
|
-
symbol_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
869
|
-
symbol_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
870
|
-
symbol_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
871
|
-
name?: InputMaybe<Scalars['String']>;
|
|
872
|
-
name_not?: InputMaybe<Scalars['String']>;
|
|
873
|
-
name_gt?: InputMaybe<Scalars['String']>;
|
|
874
|
-
name_lt?: InputMaybe<Scalars['String']>;
|
|
875
|
-
name_gte?: InputMaybe<Scalars['String']>;
|
|
876
|
-
name_lte?: InputMaybe<Scalars['String']>;
|
|
877
|
-
name_in?: InputMaybe<Array<Scalars['String']>>;
|
|
878
|
-
name_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
879
|
-
name_contains?: InputMaybe<Scalars['String']>;
|
|
880
|
-
name_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
881
|
-
name_not_contains?: InputMaybe<Scalars['String']>;
|
|
882
|
-
name_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
883
|
-
name_starts_with?: InputMaybe<Scalars['String']>;
|
|
884
|
-
name_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
885
|
-
name_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
886
|
-
name_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
887
|
-
name_ends_with?: InputMaybe<Scalars['String']>;
|
|
888
|
-
name_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
889
|
-
name_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
890
|
-
name_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
891
|
-
decimals?: InputMaybe<Scalars['BigInt']>;
|
|
892
|
-
decimals_not?: InputMaybe<Scalars['BigInt']>;
|
|
893
|
-
decimals_gt?: InputMaybe<Scalars['BigInt']>;
|
|
894
|
-
decimals_lt?: InputMaybe<Scalars['BigInt']>;
|
|
895
|
-
decimals_gte?: InputMaybe<Scalars['BigInt']>;
|
|
896
|
-
decimals_lte?: InputMaybe<Scalars['BigInt']>;
|
|
897
|
-
decimals_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
898
|
-
decimals_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
899
|
-
/** Filter for the block changed event. */
|
|
900
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
901
|
-
and?: InputMaybe<Array<InputMaybe<Token_filter>>>;
|
|
902
|
-
or?: InputMaybe<Array<InputMaybe<Token_filter>>>;
|
|
903
|
-
};
|
|
904
|
-
export type Token_orderBy = 'id' | 'symbol' | 'name' | 'decimals';
|
|
905
|
-
export type _Block_ = {
|
|
906
|
-
/** The hash of the block */
|
|
907
|
-
hash?: Maybe<Scalars['Bytes']>;
|
|
908
|
-
/** The block number */
|
|
909
|
-
number: Scalars['Int'];
|
|
910
|
-
/** Integer representation of the timestamp stored in blocks for the chain */
|
|
911
|
-
timestamp?: Maybe<Scalars['Int']>;
|
|
912
|
-
};
|
|
913
|
-
/** The type for the top-level _meta field */
|
|
914
|
-
export type _Meta_ = {
|
|
915
|
-
/**
|
|
916
|
-
* Information about a specific subgraph block. The hash of the block
|
|
917
|
-
* will be null if the _meta field has a block constraint that asks for
|
|
918
|
-
* a block number. It will be filled if the _meta field has no block constraint
|
|
919
|
-
* and therefore asks for the latest block
|
|
920
|
-
*
|
|
921
|
-
*/
|
|
922
|
-
block: _Block_;
|
|
923
|
-
/** The deployment ID */
|
|
924
|
-
deployment: Scalars['String'];
|
|
925
|
-
/** If `true`, the subgraph encountered indexing errors at some past block */
|
|
926
|
-
hasIndexingErrors: Scalars['Boolean'];
|
|
927
|
-
};
|
|
928
|
-
export type _SubgraphErrorPolicy_ =
|
|
929
|
-
/** Data will be returned even if the subgraph has indexing errors */
|
|
930
|
-
'allow'
|
|
931
|
-
/** If the subgraph has indexing errors, data will be omitted. The default. */
|
|
932
|
-
| 'deny';
|
|
933
|
-
export type WithIndex<TObject> = TObject & Record<string, any>;
|
|
934
|
-
export type ResolversObject<TObject> = WithIndex<TObject>;
|
|
935
|
-
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
936
|
-
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
937
|
-
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
938
|
-
};
|
|
939
|
-
export type LegacyStitchingResolver<TResult, TParent, TContext, TArgs> = {
|
|
940
|
-
fragment: string;
|
|
941
|
-
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
942
|
-
};
|
|
943
|
-
export type NewStitchingResolver<TResult, TParent, TContext, TArgs> = {
|
|
944
|
-
selectionSet: string | ((fieldNode: FieldNode) => SelectionSetNode);
|
|
945
|
-
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
946
|
-
};
|
|
947
|
-
export type StitchingResolver<TResult, TParent, TContext, TArgs> = LegacyStitchingResolver<TResult, TParent, TContext, TArgs> | NewStitchingResolver<TResult, TParent, TContext, TArgs>;
|
|
948
|
-
export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs> | StitchingResolver<TResult, TParent, TContext, TArgs>;
|
|
949
|
-
export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
|
950
|
-
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
951
|
-
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
952
|
-
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
953
|
-
subscribe: SubscriptionSubscribeFn<{
|
|
954
|
-
[key in TKey]: TResult;
|
|
955
|
-
}, TParent, TContext, TArgs>;
|
|
956
|
-
resolve?: SubscriptionResolveFn<TResult, {
|
|
957
|
-
[key in TKey]: TResult;
|
|
958
|
-
}, TContext, TArgs>;
|
|
959
|
-
}
|
|
960
|
-
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
961
|
-
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
962
|
-
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
963
|
-
}
|
|
964
|
-
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
965
|
-
export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
966
|
-
export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
967
|
-
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
968
|
-
export type NextResolverFn<T> = () => Promise<T>;
|
|
969
|
-
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
970
|
-
/** Mapping between all available schema types and the resolvers types */
|
|
971
|
-
export type ResolversTypes = ResolversObject<{
|
|
972
|
-
BigDecimal: ResolverTypeWrapper<Scalars['BigDecimal']>;
|
|
973
|
-
BigInt: ResolverTypeWrapper<Scalars['BigInt']>;
|
|
974
|
-
BlockChangedFilter: BlockChangedFilter;
|
|
975
|
-
Block_height: Block_height;
|
|
976
|
-
Book: ResolverTypeWrapper<Book>;
|
|
977
|
-
Book_filter: Book_filter;
|
|
978
|
-
Book_orderBy: Book_orderBy;
|
|
979
|
-
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
980
|
-
Bytes: ResolverTypeWrapper<Scalars['Bytes']>;
|
|
981
|
-
ChartLog: ResolverTypeWrapper<ChartLog>;
|
|
982
|
-
ChartLog_filter: ChartLog_filter;
|
|
983
|
-
ChartLog_orderBy: ChartLog_orderBy;
|
|
984
|
-
Depth: ResolverTypeWrapper<Depth>;
|
|
985
|
-
Depth_filter: Depth_filter;
|
|
986
|
-
Depth_orderBy: Depth_orderBy;
|
|
987
|
-
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
988
|
-
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
989
|
-
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
990
|
-
Int8: ResolverTypeWrapper<Scalars['Int8']>;
|
|
991
|
-
OpenOrder: ResolverTypeWrapper<OpenOrder>;
|
|
992
|
-
OpenOrder_filter: OpenOrder_filter;
|
|
993
|
-
OpenOrder_orderBy: OpenOrder_orderBy;
|
|
994
|
-
OrderDirection: OrderDirection;
|
|
995
|
-
Query: ResolverTypeWrapper<{}>;
|
|
996
|
-
String: ResolverTypeWrapper<Scalars['String']>;
|
|
997
|
-
Subscription: ResolverTypeWrapper<{}>;
|
|
998
|
-
Token: ResolverTypeWrapper<Token>;
|
|
999
|
-
Token_filter: Token_filter;
|
|
1000
|
-
Token_orderBy: Token_orderBy;
|
|
1001
|
-
_Block_: ResolverTypeWrapper<_Block_>;
|
|
1002
|
-
_Meta_: ResolverTypeWrapper<_Meta_>;
|
|
1003
|
-
_SubgraphErrorPolicy_: _SubgraphErrorPolicy_;
|
|
1004
|
-
}>;
|
|
1005
|
-
/** Mapping between all available schema types and the resolvers parents */
|
|
1006
|
-
export type ResolversParentTypes = ResolversObject<{
|
|
1007
|
-
BigDecimal: Scalars['BigDecimal'];
|
|
1008
|
-
BigInt: Scalars['BigInt'];
|
|
1009
|
-
BlockChangedFilter: BlockChangedFilter;
|
|
1010
|
-
Block_height: Block_height;
|
|
1011
|
-
Book: Book;
|
|
1012
|
-
Book_filter: Book_filter;
|
|
1013
|
-
Boolean: Scalars['Boolean'];
|
|
1014
|
-
Bytes: Scalars['Bytes'];
|
|
1015
|
-
ChartLog: ChartLog;
|
|
1016
|
-
ChartLog_filter: ChartLog_filter;
|
|
1017
|
-
Depth: Depth;
|
|
1018
|
-
Depth_filter: Depth_filter;
|
|
1019
|
-
Float: Scalars['Float'];
|
|
1020
|
-
ID: Scalars['ID'];
|
|
1021
|
-
Int: Scalars['Int'];
|
|
1022
|
-
Int8: Scalars['Int8'];
|
|
1023
|
-
OpenOrder: OpenOrder;
|
|
1024
|
-
OpenOrder_filter: OpenOrder_filter;
|
|
1025
|
-
Query: {};
|
|
1026
|
-
String: Scalars['String'];
|
|
1027
|
-
Subscription: {};
|
|
1028
|
-
Token: Token;
|
|
1029
|
-
Token_filter: Token_filter;
|
|
1030
|
-
_Block_: _Block_;
|
|
1031
|
-
_Meta_: _Meta_;
|
|
1032
|
-
}>;
|
|
1033
|
-
export type entityDirectiveArgs = {};
|
|
1034
|
-
export type entityDirectiveResolver<Result, Parent, ContextType = MeshContext & {
|
|
1035
|
-
url: string;
|
|
1036
|
-
}, Args = entityDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1037
|
-
export type subgraphIdDirectiveArgs = {
|
|
1038
|
-
id: Scalars['String'];
|
|
1039
|
-
};
|
|
1040
|
-
export type subgraphIdDirectiveResolver<Result, Parent, ContextType = MeshContext & {
|
|
1041
|
-
url: string;
|
|
1042
|
-
}, Args = subgraphIdDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1043
|
-
export type derivedFromDirectiveArgs = {
|
|
1044
|
-
field: Scalars['String'];
|
|
1045
|
-
};
|
|
1046
|
-
export type derivedFromDirectiveResolver<Result, Parent, ContextType = MeshContext & {
|
|
1047
|
-
url: string;
|
|
1048
|
-
}, Args = derivedFromDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1049
|
-
export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['BigDecimal'], any> {
|
|
1050
|
-
name: 'BigDecimal';
|
|
1051
|
-
}
|
|
1052
|
-
export interface BigIntScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['BigInt'], any> {
|
|
1053
|
-
name: 'BigInt';
|
|
1054
|
-
}
|
|
1055
|
-
export type BookResolvers<ContextType = MeshContext & {
|
|
1056
|
-
url: string;
|
|
1057
|
-
}, ParentType extends ResolversParentTypes['Book'] = ResolversParentTypes['Book']> = ResolversObject<{
|
|
1058
|
-
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
1059
|
-
base?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
|
|
1060
|
-
quote?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
|
|
1061
|
-
unit?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1062
|
-
makerPolicy?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1063
|
-
takerPolicy?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1064
|
-
hooks?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1065
|
-
depths?: Resolver<Array<ResolversTypes['Depth']>, ParentType, ContextType, RequireFields<BookdepthsArgs, 'skip' | 'first'>>;
|
|
1066
|
-
openOrders?: Resolver<Array<ResolversTypes['OpenOrder']>, ParentType, ContextType, RequireFields<BookopenOrdersArgs, 'skip' | 'first'>>;
|
|
1067
|
-
latestTick?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1068
|
-
latestPrice?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1069
|
-
latestTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1070
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1071
|
-
}>;
|
|
1072
|
-
export interface BytesScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['Bytes'], any> {
|
|
1073
|
-
name: 'Bytes';
|
|
1074
|
-
}
|
|
1075
|
-
export type ChartLogResolvers<ContextType = MeshContext & {
|
|
1076
|
-
url: string;
|
|
1077
|
-
}, ParentType extends ResolversParentTypes['ChartLog'] = ResolversParentTypes['ChartLog']> = ResolversObject<{
|
|
1078
|
-
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
1079
|
-
marketCode?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1080
|
-
intervalType?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1081
|
-
timestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1082
|
-
open?: Resolver<ResolversTypes['BigDecimal'], ParentType, ContextType>;
|
|
1083
|
-
high?: Resolver<ResolversTypes['BigDecimal'], ParentType, ContextType>;
|
|
1084
|
-
low?: Resolver<ResolversTypes['BigDecimal'], ParentType, ContextType>;
|
|
1085
|
-
close?: Resolver<ResolversTypes['BigDecimal'], ParentType, ContextType>;
|
|
1086
|
-
baseVolume?: Resolver<ResolversTypes['BigDecimal'], ParentType, ContextType>;
|
|
1087
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1088
|
-
}>;
|
|
1089
|
-
export type DepthResolvers<ContextType = MeshContext & {
|
|
1090
|
-
url: string;
|
|
1091
|
-
}, ParentType extends ResolversParentTypes['Depth'] = ResolversParentTypes['Depth']> = ResolversObject<{
|
|
1092
|
-
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
1093
|
-
book?: Resolver<ResolversTypes['Book'], ParentType, ContextType>;
|
|
1094
|
-
tick?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1095
|
-
price?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1096
|
-
rawAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1097
|
-
baseAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1098
|
-
quoteAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1099
|
-
latestTakenOrderIndex?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1100
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1101
|
-
}>;
|
|
1102
|
-
export interface Int8ScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['Int8'], any> {
|
|
1103
|
-
name: 'Int8';
|
|
1104
|
-
}
|
|
1105
|
-
export type OpenOrderResolvers<ContextType = MeshContext & {
|
|
1106
|
-
url: string;
|
|
1107
|
-
}, ParentType extends ResolversParentTypes['OpenOrder'] = ResolversParentTypes['OpenOrder']> = ResolversObject<{
|
|
1108
|
-
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
1109
|
-
book?: Resolver<ResolversTypes['Book'], ParentType, ContextType>;
|
|
1110
|
-
tick?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1111
|
-
orderIndex?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1112
|
-
price?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1113
|
-
user?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1114
|
-
txHash?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1115
|
-
createdAt?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1116
|
-
rawAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1117
|
-
baseAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1118
|
-
quoteAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1119
|
-
rawFilledAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1120
|
-
baseFilledAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1121
|
-
quoteFilledAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1122
|
-
rawClaimedAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1123
|
-
baseClaimedAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1124
|
-
quoteClaimedAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1125
|
-
rawClaimableAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1126
|
-
baseClaimableAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1127
|
-
quoteClaimableAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1128
|
-
rawOpenAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1129
|
-
baseOpenAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1130
|
-
quoteOpenAmount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1131
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1132
|
-
}>;
|
|
1133
|
-
export type QueryResolvers<ContextType = MeshContext & {
|
|
1134
|
-
url: string;
|
|
1135
|
-
}, ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']> = ResolversObject<{
|
|
1136
|
-
token?: Resolver<Maybe<ResolversTypes['Token']>, ParentType, ContextType, RequireFields<QuerytokenArgs, 'id' | 'subgraphError'>>;
|
|
1137
|
-
tokens?: Resolver<Array<ResolversTypes['Token']>, ParentType, ContextType, RequireFields<QuerytokensArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1138
|
-
book?: Resolver<Maybe<ResolversTypes['Book']>, ParentType, ContextType, RequireFields<QuerybookArgs, 'id' | 'subgraphError'>>;
|
|
1139
|
-
books?: Resolver<Array<ResolversTypes['Book']>, ParentType, ContextType, RequireFields<QuerybooksArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1140
|
-
depth?: Resolver<Maybe<ResolversTypes['Depth']>, ParentType, ContextType, RequireFields<QuerydepthArgs, 'id' | 'subgraphError'>>;
|
|
1141
|
-
depths?: Resolver<Array<ResolversTypes['Depth']>, ParentType, ContextType, RequireFields<QuerydepthsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1142
|
-
openOrder?: Resolver<Maybe<ResolversTypes['OpenOrder']>, ParentType, ContextType, RequireFields<QueryopenOrderArgs, 'id' | 'subgraphError'>>;
|
|
1143
|
-
openOrders?: Resolver<Array<ResolversTypes['OpenOrder']>, ParentType, ContextType, RequireFields<QueryopenOrdersArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1144
|
-
chartLog?: Resolver<Maybe<ResolversTypes['ChartLog']>, ParentType, ContextType, RequireFields<QuerychartLogArgs, 'id' | 'subgraphError'>>;
|
|
1145
|
-
chartLogs?: Resolver<Array<ResolversTypes['ChartLog']>, ParentType, ContextType, RequireFields<QuerychartLogsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1146
|
-
_meta?: Resolver<Maybe<ResolversTypes['_Meta_']>, ParentType, ContextType, Partial<Query_metaArgs>>;
|
|
1147
|
-
}>;
|
|
1148
|
-
export type SubscriptionResolvers<ContextType = MeshContext & {
|
|
1149
|
-
url: string;
|
|
1150
|
-
}, ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription']> = ResolversObject<{
|
|
1151
|
-
token?: SubscriptionResolver<Maybe<ResolversTypes['Token']>, "token", ParentType, ContextType, RequireFields<SubscriptiontokenArgs, 'id' | 'subgraphError'>>;
|
|
1152
|
-
tokens?: SubscriptionResolver<Array<ResolversTypes['Token']>, "tokens", ParentType, ContextType, RequireFields<SubscriptiontokensArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1153
|
-
book?: SubscriptionResolver<Maybe<ResolversTypes['Book']>, "book", ParentType, ContextType, RequireFields<SubscriptionbookArgs, 'id' | 'subgraphError'>>;
|
|
1154
|
-
books?: SubscriptionResolver<Array<ResolversTypes['Book']>, "books", ParentType, ContextType, RequireFields<SubscriptionbooksArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1155
|
-
depth?: SubscriptionResolver<Maybe<ResolversTypes['Depth']>, "depth", ParentType, ContextType, RequireFields<SubscriptiondepthArgs, 'id' | 'subgraphError'>>;
|
|
1156
|
-
depths?: SubscriptionResolver<Array<ResolversTypes['Depth']>, "depths", ParentType, ContextType, RequireFields<SubscriptiondepthsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1157
|
-
openOrder?: SubscriptionResolver<Maybe<ResolversTypes['OpenOrder']>, "openOrder", ParentType, ContextType, RequireFields<SubscriptionopenOrderArgs, 'id' | 'subgraphError'>>;
|
|
1158
|
-
openOrders?: SubscriptionResolver<Array<ResolversTypes['OpenOrder']>, "openOrders", ParentType, ContextType, RequireFields<SubscriptionopenOrdersArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1159
|
-
chartLog?: SubscriptionResolver<Maybe<ResolversTypes['ChartLog']>, "chartLog", ParentType, ContextType, RequireFields<SubscriptionchartLogArgs, 'id' | 'subgraphError'>>;
|
|
1160
|
-
chartLogs?: SubscriptionResolver<Array<ResolversTypes['ChartLog']>, "chartLogs", ParentType, ContextType, RequireFields<SubscriptionchartLogsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1161
|
-
_meta?: SubscriptionResolver<Maybe<ResolversTypes['_Meta_']>, "_meta", ParentType, ContextType, Partial<Subscription_metaArgs>>;
|
|
1162
|
-
}>;
|
|
1163
|
-
export type TokenResolvers<ContextType = MeshContext & {
|
|
1164
|
-
url: string;
|
|
1165
|
-
}, ParentType extends ResolversParentTypes['Token'] = ResolversParentTypes['Token']> = ResolversObject<{
|
|
1166
|
-
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
|
1167
|
-
symbol?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1168
|
-
name?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1169
|
-
decimals?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1170
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1171
|
-
}>;
|
|
1172
|
-
export type _Block_Resolvers<ContextType = MeshContext & {
|
|
1173
|
-
url: string;
|
|
1174
|
-
}, ParentType extends ResolversParentTypes['_Block_'] = ResolversParentTypes['_Block_']> = ResolversObject<{
|
|
1175
|
-
hash?: Resolver<Maybe<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1176
|
-
number?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1177
|
-
timestamp?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1178
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1179
|
-
}>;
|
|
1180
|
-
export type _Meta_Resolvers<ContextType = MeshContext & {
|
|
1181
|
-
url: string;
|
|
1182
|
-
}, ParentType extends ResolversParentTypes['_Meta_'] = ResolversParentTypes['_Meta_']> = ResolversObject<{
|
|
1183
|
-
block?: Resolver<ResolversTypes['_Block_'], ParentType, ContextType>;
|
|
1184
|
-
deployment?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1185
|
-
hasIndexingErrors?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1186
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1187
|
-
}>;
|
|
1188
|
-
export type Resolvers<ContextType = MeshContext & {
|
|
1189
|
-
url: string;
|
|
1190
|
-
}> = ResolversObject<{
|
|
1191
|
-
BigDecimal?: GraphQLScalarType;
|
|
1192
|
-
BigInt?: GraphQLScalarType;
|
|
1193
|
-
Book?: BookResolvers<ContextType>;
|
|
1194
|
-
Bytes?: GraphQLScalarType;
|
|
1195
|
-
ChartLog?: ChartLogResolvers<ContextType>;
|
|
1196
|
-
Depth?: DepthResolvers<ContextType>;
|
|
1197
|
-
Int8?: GraphQLScalarType;
|
|
1198
|
-
OpenOrder?: OpenOrderResolvers<ContextType>;
|
|
1199
|
-
Query?: QueryResolvers<ContextType>;
|
|
1200
|
-
Subscription?: SubscriptionResolvers<ContextType>;
|
|
1201
|
-
Token?: TokenResolvers<ContextType>;
|
|
1202
|
-
_Block_?: _Block_Resolvers<ContextType>;
|
|
1203
|
-
_Meta_?: _Meta_Resolvers<ContextType>;
|
|
1204
|
-
}>;
|
|
1205
|
-
export type DirectiveResolvers<ContextType = MeshContext & {
|
|
1206
|
-
url: string;
|
|
1207
|
-
}> = ResolversObject<{
|
|
1208
|
-
entity?: entityDirectiveResolver<any, any, ContextType>;
|
|
1209
|
-
subgraphId?: subgraphIdDirectiveResolver<any, any, ContextType>;
|
|
1210
|
-
derivedFrom?: derivedFromDirectiveResolver<any, any, ContextType>;
|
|
1211
|
-
}>;
|
|
1212
|
-
export type MeshContext = CloberV2Types.Context & BaseMeshContext;
|
|
1213
|
-
export declare const rawServeConfig: YamlConfig.Config['serve'];
|
|
1214
|
-
export declare function getMeshOptions(): Promise<GetMeshOptions>;
|
|
1215
|
-
export declare function createBuiltMeshHTTPHandler<TServerContext = {}>(): MeshHTTPHandler<TServerContext>;
|
|
1216
|
-
export declare function getBuiltGraphClient(): Promise<MeshInstance>;
|
|
1217
|
-
export declare const execute: ExecuteMeshFn;
|
|
1218
|
-
export declare const subscribe: SubscribeMeshFn;
|
|
1219
|
-
export declare function getBuiltGraphSDK<TGlobalContext = any, TOperationContext = any>(globalContext?: TGlobalContext): {
|
|
1220
|
-
getBooks(variables: Exact<{
|
|
1221
|
-
baseTokenAddress: string;
|
|
1222
|
-
quoteTokenAddress: string;
|
|
1223
|
-
}>, options?: TOperationContext | undefined): Promise<getBooksQuery>;
|
|
1224
|
-
getOpenOrder(variables: Exact<{
|
|
1225
|
-
orderId: string;
|
|
1226
|
-
}>, options?: TOperationContext | undefined): Promise<getOpenOrderQuery>;
|
|
1227
|
-
getOpenOrders(variables: Exact<{
|
|
1228
|
-
userAddress: string;
|
|
1229
|
-
}>, options?: TOperationContext | undefined): Promise<getOpenOrdersQuery>;
|
|
1230
|
-
};
|
|
1231
|
-
export type getBooksQueryVariables = Exact<{
|
|
1232
|
-
baseTokenAddress: Scalars['String'];
|
|
1233
|
-
quoteTokenAddress: Scalars['String'];
|
|
1234
|
-
}>;
|
|
1235
|
-
export type getBooksQuery = {
|
|
1236
|
-
books: Array<(Pick<Book, 'id' | 'unit'> & {
|
|
1237
|
-
base: Pick<Token, 'id' | 'name' | 'symbol' | 'decimals'>;
|
|
1238
|
-
quote: Pick<Token, 'id' | 'name' | 'symbol' | 'decimals'>;
|
|
1239
|
-
depths: Array<Pick<Depth, 'tick' | 'price' | 'rawAmount'>>;
|
|
1240
|
-
})>;
|
|
1241
|
-
};
|
|
1242
|
-
export type getOpenOrderQueryVariables = Exact<{
|
|
1243
|
-
orderId: Scalars['ID'];
|
|
1244
|
-
}>;
|
|
1245
|
-
export type getOpenOrderQuery = {
|
|
1246
|
-
openOrder?: Maybe<(Pick<OpenOrder, 'id' | 'tick' | 'txHash' | 'createdAt' | 'rawAmount' | 'rawFilledAmount' | 'rawClaimedAmount' | 'rawClaimableAmount'> & {
|
|
1247
|
-
book: (Pick<Book, 'id' | 'unit'> & {
|
|
1248
|
-
base: Pick<Token, 'id' | 'name' | 'symbol' | 'decimals'>;
|
|
1249
|
-
quote: Pick<Token, 'id' | 'name' | 'symbol' | 'decimals'>;
|
|
1250
|
-
});
|
|
1251
|
-
})>;
|
|
1252
|
-
};
|
|
1253
|
-
export type getOpenOrdersQueryVariables = Exact<{
|
|
1254
|
-
userAddress: Scalars['String'];
|
|
1255
|
-
}>;
|
|
1256
|
-
export type getOpenOrdersQuery = {
|
|
1257
|
-
openOrders: Array<(Pick<OpenOrder, 'id' | 'tick' | 'txHash' | 'createdAt' | 'rawAmount' | 'rawFilledAmount' | 'rawClaimedAmount' | 'rawClaimableAmount'> & {
|
|
1258
|
-
book: (Pick<Book, 'id' | 'unit'> & {
|
|
1259
|
-
base: Pick<Token, 'id' | 'name' | 'symbol' | 'decimals'>;
|
|
1260
|
-
quote: Pick<Token, 'id' | 'name' | 'symbol' | 'decimals'>;
|
|
1261
|
-
});
|
|
1262
|
-
})>;
|
|
1263
|
-
};
|
|
1264
|
-
export declare const getBooksDocument: DocumentNode<getBooksQuery, Exact<{
|
|
1265
|
-
baseTokenAddress: Scalars['String'];
|
|
1266
|
-
quoteTokenAddress: Scalars['String'];
|
|
1267
|
-
}>>;
|
|
1268
|
-
export declare const getOpenOrderDocument: DocumentNode<getOpenOrderQuery, Exact<{
|
|
1269
|
-
orderId: Scalars['ID'];
|
|
1270
|
-
}>>;
|
|
1271
|
-
export declare const getOpenOrdersDocument: DocumentNode<getOpenOrdersQuery, Exact<{
|
|
1272
|
-
userAddress: Scalars['String'];
|
|
1273
|
-
}>>;
|
|
1274
|
-
export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
1275
|
-
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
1276
|
-
getBooks(variables: getBooksQueryVariables, options?: C): Promise<getBooksQuery>;
|
|
1277
|
-
getOpenOrder(variables: getOpenOrderQueryVariables, options?: C): Promise<getOpenOrderQuery>;
|
|
1278
|
-
getOpenOrders(variables: getOpenOrdersQueryVariables, options?: C): Promise<getOpenOrdersQuery>;
|
|
1279
|
-
};
|
|
1280
|
-
export type Sdk = ReturnType<typeof getSdk>;
|
|
1281
|
-
//# sourceMappingURL=index.d.ts.map
|