@stryke-xyz/premarket-sdk 1.0.0

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.
Files changed (189) hide show
  1. package/dist/abi/AggregationRouterV6.abi.json +1186 -0
  2. package/dist/abi/NativeOrderFactory.abi.json +291 -0
  3. package/dist/abi/NativeOrderImpl.abi.json +381 -0
  4. package/dist/abi/limitOrderProtocol.json +63 -0
  5. package/dist/address.d.ts +13 -0
  6. package/dist/address.js +32 -0
  7. package/dist/api/filler.d.ts +109 -0
  8. package/dist/api/filler.js +289 -0
  9. package/dist/api/index.d.ts +3 -0
  10. package/dist/api/index.js +3 -0
  11. package/dist/api/order-helper.d.ts +59 -0
  12. package/dist/api/order-helper.js +112 -0
  13. package/dist/api/orderbook-api.d.ts +36 -0
  14. package/dist/api/orderbook-api.js +69 -0
  15. package/dist/bps.d.ts +35 -0
  16. package/dist/bps.js +52 -0
  17. package/dist/config/chains.d.ts +50 -0
  18. package/dist/config/chains.js +21 -0
  19. package/dist/config/index.d.ts +25 -0
  20. package/dist/config/index.js +103 -0
  21. package/dist/config/markets.d.ts +53 -0
  22. package/dist/config/markets.js +125 -0
  23. package/dist/constants.d.ts +4 -0
  24. package/dist/constants.js +30 -0
  25. package/dist/index.d.ts +19 -0
  26. package/dist/index.js +21 -0
  27. package/dist/limit-order/amounts.d.ts +14 -0
  28. package/dist/limit-order/amounts.js +19 -0
  29. package/dist/limit-order/eip712/domain.d.ts +10 -0
  30. package/dist/limit-order/eip712/domain.js +18 -0
  31. package/dist/limit-order/eip712/eip712.types.d.ts +23 -0
  32. package/dist/limit-order/eip712/eip712.types.js +1 -0
  33. package/dist/limit-order/eip712/index.d.ts +3 -0
  34. package/dist/limit-order/eip712/index.js +3 -0
  35. package/dist/limit-order/eip712/order-typed-data-builder.d.ts +6 -0
  36. package/dist/limit-order/eip712/order-typed-data-builder.js +25 -0
  37. package/dist/limit-order/extensions/extension-builder.d.ts +35 -0
  38. package/dist/limit-order/extensions/extension-builder.js +83 -0
  39. package/dist/limit-order/extensions/extension.d.ts +45 -0
  40. package/dist/limit-order/extensions/extension.js +108 -0
  41. package/dist/limit-order/extensions/extension.spec.d.ts +1 -0
  42. package/dist/limit-order/extensions/extension.spec.js +17 -0
  43. package/dist/limit-order/extensions/fee-taker/errors.d.ts +2 -0
  44. package/dist/limit-order/extensions/fee-taker/errors.js +2 -0
  45. package/dist/limit-order/extensions/fee-taker/fee-calculator.d.ts +40 -0
  46. package/dist/limit-order/extensions/fee-taker/fee-calculator.js +83 -0
  47. package/dist/limit-order/extensions/fee-taker/fee-calculator.spec.d.ts +1 -0
  48. package/dist/limit-order/extensions/fee-taker/fee-calculator.spec.js +14 -0
  49. package/dist/limit-order/extensions/fee-taker/fee-taker.extension.d.ts +130 -0
  50. package/dist/limit-order/extensions/fee-taker/fee-taker.extension.js +249 -0
  51. package/dist/limit-order/extensions/fee-taker/fee-taker.extension.spec.d.ts +1 -0
  52. package/dist/limit-order/extensions/fee-taker/fee-taker.extension.spec.js +72 -0
  53. package/dist/limit-order/extensions/fee-taker/fees.d.ts +19 -0
  54. package/dist/limit-order/extensions/fee-taker/fees.js +36 -0
  55. package/dist/limit-order/extensions/fee-taker/index.d.ts +7 -0
  56. package/dist/limit-order/extensions/fee-taker/index.js +7 -0
  57. package/dist/limit-order/extensions/fee-taker/integrator-fee.d.ts +13 -0
  58. package/dist/limit-order/extensions/fee-taker/integrator-fee.js +28 -0
  59. package/dist/limit-order/extensions/fee-taker/resolver-fee.d.ts +19 -0
  60. package/dist/limit-order/extensions/fee-taker/resolver-fee.js +28 -0
  61. package/dist/limit-order/extensions/fee-taker/types.d.ts +4 -0
  62. package/dist/limit-order/extensions/fee-taker/types.js +1 -0
  63. package/dist/limit-order/extensions/fee-taker/whitelist-half-address.d.ts +18 -0
  64. package/dist/limit-order/extensions/fee-taker/whitelist-half-address.js +26 -0
  65. package/dist/limit-order/extensions/index.d.ts +3 -0
  66. package/dist/limit-order/extensions/index.js +3 -0
  67. package/dist/limit-order/index.d.ts +10 -0
  68. package/dist/limit-order/index.js +10 -0
  69. package/dist/limit-order/interaction.d.ts +16 -0
  70. package/dist/limit-order/interaction.js +25 -0
  71. package/dist/limit-order/interaction.spec.d.ts +1 -0
  72. package/dist/limit-order/interaction.spec.js +8 -0
  73. package/dist/limit-order/limit-order-with-fee.d.ts +59 -0
  74. package/dist/limit-order/limit-order-with-fee.js +94 -0
  75. package/dist/limit-order/limit-order-with-fee.spec.d.ts +1 -0
  76. package/dist/limit-order/limit-order-with-fee.spec.js +31 -0
  77. package/dist/limit-order/limit-order.d.ts +63 -0
  78. package/dist/limit-order/limit-order.js +211 -0
  79. package/dist/limit-order/limit-order.spec.d.ts +1 -0
  80. package/dist/limit-order/limit-order.spec.js +103 -0
  81. package/dist/limit-order/maker-traits.d.ts +200 -0
  82. package/dist/limit-order/maker-traits.js +309 -0
  83. package/dist/limit-order/maker-traits.spec.d.ts +1 -0
  84. package/dist/limit-order/maker-traits.spec.js +102 -0
  85. package/dist/limit-order/source-track.d.ts +1 -0
  86. package/dist/limit-order/source-track.js +22 -0
  87. package/dist/limit-order/taker-traits.d.ts +141 -0
  88. package/dist/limit-order/taker-traits.js +207 -0
  89. package/dist/limit-order/types.d.ts +24 -0
  90. package/dist/limit-order/types.js +1 -0
  91. package/dist/limit-order/verification.d.ts +16 -0
  92. package/dist/limit-order/verification.js +108 -0
  93. package/dist/limit-order-contract/index.d.ts +4 -0
  94. package/dist/limit-order-contract/index.js +4 -0
  95. package/dist/limit-order-contract/limit-order-contract.d.ts +34 -0
  96. package/dist/limit-order-contract/limit-order-contract.js +79 -0
  97. package/dist/limit-order-contract/native-order-factory.d.ts +10 -0
  98. package/dist/limit-order-contract/native-order-factory.js +22 -0
  99. package/dist/limit-order-contract/native-order-impl.d.ts +10 -0
  100. package/dist/limit-order-contract/native-order-impl.js +24 -0
  101. package/dist/limit-order-contract/proxy-factory.d.ts +20 -0
  102. package/dist/limit-order-contract/proxy-factory.js +32 -0
  103. package/dist/limit-order-contract/proxy-factory.spec.d.ts +1 -0
  104. package/dist/limit-order-contract/proxy-factory.spec.js +16 -0
  105. package/dist/limit-order-contract/types.d.ts +6 -0
  106. package/dist/limit-order-contract/types.js +1 -0
  107. package/dist/ponder/client/index.d.ts +23 -0
  108. package/dist/ponder/client/index.js +44 -0
  109. package/dist/ponder/client/queries/markets.d.ts +30 -0
  110. package/dist/ponder/client/queries/markets.js +200 -0
  111. package/dist/ponder/client/queries/positions.d.ts +13 -0
  112. package/dist/ponder/client/queries/positions.js +406 -0
  113. package/dist/ponder/client/types/history.d.ts +94 -0
  114. package/dist/ponder/client/types/history.js +1 -0
  115. package/dist/ponder/client/types/index.d.ts +5 -0
  116. package/dist/ponder/client/types/index.js +5 -0
  117. package/dist/ponder/client/types/market.d.ts +45 -0
  118. package/dist/ponder/client/types/market.js +1 -0
  119. package/dist/ponder/client/types/position.d.ts +32 -0
  120. package/dist/ponder/client/types/position.js +1 -0
  121. package/dist/ponder/client/types/serializers.d.ts +57 -0
  122. package/dist/ponder/client/types/serializers.js +248 -0
  123. package/dist/ponder/client/types/user.d.ts +5 -0
  124. package/dist/ponder/client/types/user.js +1 -0
  125. package/dist/ponder/client/utils.d.ts +1 -0
  126. package/dist/ponder/client/utils.js +32 -0
  127. package/dist/ponder/generated/index.d.ts +18 -0
  128. package/dist/ponder/generated/index.js +20 -0
  129. package/dist/ponder/generated/runtime/batcher.d.ts +105 -0
  130. package/dist/ponder/generated/runtime/batcher.js +188 -0
  131. package/dist/ponder/generated/runtime/createClient.d.ts +17 -0
  132. package/dist/ponder/generated/runtime/createClient.js +24 -0
  133. package/dist/ponder/generated/runtime/error.d.ts +18 -0
  134. package/dist/ponder/generated/runtime/error.js +15 -0
  135. package/dist/ponder/generated/runtime/fetcher.d.ts +10 -0
  136. package/dist/ponder/generated/runtime/fetcher.js +67 -0
  137. package/dist/ponder/generated/runtime/generateGraphqlOperation.d.ts +30 -0
  138. package/dist/ponder/generated/runtime/generateGraphqlOperation.js +128 -0
  139. package/dist/ponder/generated/runtime/index.d.ts +11 -0
  140. package/dist/ponder/generated/runtime/index.js +10 -0
  141. package/dist/ponder/generated/runtime/linkTypeMap.d.ts +9 -0
  142. package/dist/ponder/generated/runtime/linkTypeMap.js +83 -0
  143. package/dist/ponder/generated/runtime/typeSelection.d.ts +28 -0
  144. package/dist/ponder/generated/runtime/typeSelection.js +3 -0
  145. package/dist/ponder/generated/runtime/types.d.ts +55 -0
  146. package/dist/ponder/generated/runtime/types.js +2 -0
  147. package/dist/ponder/generated/schema.d.ts +3026 -0
  148. package/dist/ponder/generated/schema.js +222 -0
  149. package/dist/ponder/generated/types.d.ts +2393 -0
  150. package/dist/ponder/generated/types.js +6915 -0
  151. package/dist/ponder/index.d.ts +2 -0
  152. package/dist/ponder/index.js +2 -0
  153. package/dist/ponder/types.d.ts +3 -0
  154. package/dist/ponder/types.js +1 -0
  155. package/dist/rfq-order/index.d.ts +1 -0
  156. package/dist/rfq-order/index.js +1 -0
  157. package/dist/rfq-order/rfq-order.d.ts +21 -0
  158. package/dist/rfq-order/rfq-order.js +22 -0
  159. package/dist/rfq-order/rfq-order.spec.d.ts +1 -0
  160. package/dist/rfq-order/rfq-order.spec.js +27 -0
  161. package/dist/shared/index.d.ts +2 -0
  162. package/dist/shared/index.js +2 -0
  163. package/dist/shared/types.d.ts +79 -0
  164. package/dist/shared/types.js +12 -0
  165. package/dist/shared/utils.d.ts +7 -0
  166. package/dist/shared/utils.js +19 -0
  167. package/dist/sync/clients/balance-client.d.ts +41 -0
  168. package/dist/sync/clients/balance-client.js +139 -0
  169. package/dist/sync/clients/base-client.d.ts +47 -0
  170. package/dist/sync/clients/base-client.js +154 -0
  171. package/dist/sync/clients/order-client.d.ts +18 -0
  172. package/dist/sync/clients/order-client.js +151 -0
  173. package/dist/sync/index.d.ts +5 -0
  174. package/dist/sync/index.js +3 -0
  175. package/dist/sync/redis-ws-client.d.ts +18 -0
  176. package/dist/sync/redis-ws-client.js +88 -0
  177. package/dist/sync/types.d.ts +20 -0
  178. package/dist/sync/types.js +1 -0
  179. package/dist/utils/mul-div.d.ts +5 -0
  180. package/dist/utils/mul-div.js +13 -0
  181. package/dist/utils/orderUtils.d.ts +19 -0
  182. package/dist/utils/orderUtils.js +51 -0
  183. package/dist/utils/rand-bigint.d.ts +1 -0
  184. package/dist/utils/rand-bigint.js +13 -0
  185. package/dist/utils/rand-bigint.spec.d.ts +1 -0
  186. package/dist/utils/rand-bigint.spec.js +11 -0
  187. package/dist/validations.d.ts +1 -0
  188. package/dist/validations.js +3 -0
  189. package/package.json +60 -0
@@ -0,0 +1,3026 @@
1
+ export type Scalars = {
2
+ JSON: any;
3
+ BigInt: any;
4
+ Boolean: boolean;
5
+ String: string;
6
+ Int: number;
7
+ };
8
+ export interface PageInfo {
9
+ hasNextPage: Scalars['Boolean'];
10
+ hasPreviousPage: Scalars['Boolean'];
11
+ startCursor?: Scalars['String'];
12
+ endCursor?: Scalars['String'];
13
+ __typename: 'PageInfo';
14
+ }
15
+ export interface Meta {
16
+ status?: Scalars['JSON'];
17
+ __typename: 'Meta';
18
+ }
19
+ export interface Query {
20
+ global?: Global;
21
+ globals: GlobalPage;
22
+ user?: User;
23
+ users: UserPage;
24
+ optionMarket?: OptionMarket;
25
+ optionMarkets: OptionMarketPage;
26
+ marketStrategy?: MarketStrategy;
27
+ marketStrategys: MarketStrategyPage;
28
+ optionParams?: OptionParams;
29
+ optionParamss: OptionParamsPage;
30
+ collateralPosition?: CollateralPosition;
31
+ collateralPositions: CollateralPositionPage;
32
+ optionPosition?: OptionPosition;
33
+ optionPositions: OptionPositionPage;
34
+ depositHistory?: DepositHistory;
35
+ depositHistorys: DepositHistoryPage;
36
+ transferDepositHistory?: TransferDepositHistory;
37
+ transferDepositHistorys: TransferDepositHistoryPage;
38
+ purchaseHistory?: PurchaseHistory;
39
+ purchaseHistorys: PurchaseHistoryPage;
40
+ transferPositionHistory?: TransferPositionHistory;
41
+ transferPositionHistorys: TransferPositionHistoryPage;
42
+ exerciseHistory?: ExerciseHistory;
43
+ exerciseHistorys: ExerciseHistoryPage;
44
+ unwindHistory?: UnwindHistory;
45
+ unwindHistorys: UnwindHistoryPage;
46
+ orderFillHistory?: OrderFillHistory;
47
+ orderFillHistorys: OrderFillHistoryPage;
48
+ orderCancelHistory?: OrderCancelHistory;
49
+ orderCancelHistorys: OrderCancelHistoryPage;
50
+ settlementHistory?: SettlementHistory;
51
+ settlementHistorys: SettlementHistoryPage;
52
+ hourlyVolume?: HourlyVolume;
53
+ hourlyVolumes: HourlyVolumePage;
54
+ _meta?: Meta;
55
+ __typename: 'Query';
56
+ }
57
+ export interface Global {
58
+ id: Scalars['String'];
59
+ feeReceiver: Scalars['String'];
60
+ collateralTokenFactory: Scalars['String'];
61
+ optionTokenFactory: Scalars['String'];
62
+ totalMarkets: Scalars['BigInt'];
63
+ updatedAt: Scalars['BigInt'];
64
+ updatedAtBlock: Scalars['BigInt'];
65
+ markets?: OptionMarketPage;
66
+ __typename: 'Global';
67
+ }
68
+ export interface OptionMarketPage {
69
+ items: OptionMarket[];
70
+ pageInfo: PageInfo;
71
+ totalCount: Scalars['Int'];
72
+ __typename: 'OptionMarketPage';
73
+ }
74
+ export interface OptionMarket {
75
+ id: Scalars['String'];
76
+ globalId: Scalars['String'];
77
+ marketId: Scalars['BigInt'];
78
+ callToken: Scalars['String'];
79
+ putToken: Scalars['String'];
80
+ expiry: Scalars['BigInt'];
81
+ maxTTL: Scalars['BigInt'];
82
+ strategy?: MarketStrategy;
83
+ collateralToken: Scalars['String'];
84
+ totalCollateral: Scalars['BigInt'];
85
+ totalCollateralAmount: Scalars['BigInt'];
86
+ protocolFees: Scalars['BigInt'];
87
+ createdAt: Scalars['BigInt'];
88
+ createdAtBlock: Scalars['BigInt'];
89
+ updatedAt: Scalars['BigInt'];
90
+ updatedAtBlock: Scalars['BigInt'];
91
+ global?: Global;
92
+ collateralPositions?: CollateralPositionPage;
93
+ optionPositions?: OptionPositionPage;
94
+ __typename: 'OptionMarket';
95
+ }
96
+ export interface MarketStrategy {
97
+ id: Scalars['String'];
98
+ finalFDV: Scalars['BigInt'];
99
+ deadline: Scalars['BigInt'];
100
+ bandPrecision: Scalars['BigInt'];
101
+ collateralPerBandPrecision: Scalars['BigInt'];
102
+ premiumRate: Scalars['BigInt'];
103
+ depositFeeRate: Scalars['BigInt'];
104
+ purchaseFeeRate: Scalars['BigInt'];
105
+ settlementFeeRate: Scalars['BigInt'];
106
+ collateralToken: Scalars['String'];
107
+ createdAt: Scalars['BigInt'];
108
+ createdAtBlock: Scalars['BigInt'];
109
+ updatedAt: Scalars['BigInt'];
110
+ updatedAtBlock: Scalars['BigInt'];
111
+ __typename: 'MarketStrategy';
112
+ }
113
+ export interface CollateralPositionPage {
114
+ items: CollateralPosition[];
115
+ pageInfo: PageInfo;
116
+ totalCount: Scalars['Int'];
117
+ __typename: 'CollateralPositionPage';
118
+ }
119
+ export interface CollateralPosition {
120
+ id: Scalars['String'];
121
+ optionId: Scalars['String'];
122
+ optionMarketId: Scalars['String'];
123
+ user?: User;
124
+ totalCollateral: Scalars['BigInt'];
125
+ optionsMinted: Scalars['BigInt'];
126
+ optionsExercised: Scalars['BigInt'];
127
+ premiumEarned: Scalars['BigInt'];
128
+ fee: Scalars['BigInt'];
129
+ settled: Scalars['Boolean'];
130
+ updatedAt: Scalars['BigInt'];
131
+ updatedAtBlock: Scalars['BigInt'];
132
+ optionParams?: OptionParams;
133
+ optionMarket?: OptionMarket;
134
+ __typename: 'CollateralPosition';
135
+ }
136
+ export interface User {
137
+ id: Scalars['String'];
138
+ updatedAt: Scalars['BigInt'];
139
+ updatedAtBlock: Scalars['BigInt'];
140
+ optionsPositions?: OptionPositionPage;
141
+ collateralPositions?: CollateralPositionPage;
142
+ depositHistory?: DepositHistoryPage;
143
+ transferDepositHistory?: TransferDepositHistoryPage;
144
+ purchaseHistory?: PurchaseHistoryPage;
145
+ exerciseHistory?: ExerciseHistoryPage;
146
+ unwindHistory?: UnwindHistoryPage;
147
+ transferPositionHistory?: TransferPositionHistoryPage;
148
+ settlementHistory?: SettlementHistoryPage;
149
+ __typename: 'User';
150
+ }
151
+ export interface OptionPositionPage {
152
+ items: OptionPosition[];
153
+ pageInfo: PageInfo;
154
+ totalCount: Scalars['Int'];
155
+ __typename: 'OptionPositionPage';
156
+ }
157
+ export interface OptionPosition {
158
+ id: Scalars['String'];
159
+ tokenId: Scalars['BigInt'];
160
+ address: Scalars['String'];
161
+ optionId: Scalars['String'];
162
+ optionMarketId: Scalars['String'];
163
+ user?: User;
164
+ premium: Scalars['BigInt'];
165
+ fee: Scalars['BigInt'];
166
+ profit: Scalars['BigInt'];
167
+ amount: Scalars['BigInt'];
168
+ averagePrice: Scalars['BigInt'];
169
+ updatedAt: Scalars['BigInt'];
170
+ updatedAtBlock: Scalars['BigInt'];
171
+ optionParams?: OptionParams;
172
+ optionMarket?: OptionMarket;
173
+ __typename: 'OptionPosition';
174
+ }
175
+ export interface OptionParams {
176
+ id: Scalars['String'];
177
+ marketId: Scalars['BigInt'];
178
+ strikeLowerLimit: Scalars['BigInt'];
179
+ strikeUpperLimit: Scalars['BigInt'];
180
+ isPut: Scalars['Boolean'];
181
+ collateralPerShare?: Scalars['BigInt'];
182
+ createdAt: Scalars['BigInt'];
183
+ createdAtBlock: Scalars['BigInt'];
184
+ collateralPositions?: CollateralPositionPage;
185
+ optionPositions?: OptionPositionPage;
186
+ __typename: 'OptionParams';
187
+ }
188
+ export interface DepositHistoryPage {
189
+ items: DepositHistory[];
190
+ pageInfo: PageInfo;
191
+ totalCount: Scalars['Int'];
192
+ __typename: 'DepositHistoryPage';
193
+ }
194
+ export interface DepositHistory {
195
+ id: Scalars['String'];
196
+ optionId: Scalars['String'];
197
+ marketId: Scalars['BigInt'];
198
+ user?: User;
199
+ receiver: Scalars['String'];
200
+ amount: Scalars['BigInt'];
201
+ collateralAmount: Scalars['BigInt'];
202
+ fee: Scalars['BigInt'];
203
+ transactionHash: Scalars['String'];
204
+ blockNumber: Scalars['BigInt'];
205
+ timestamp: Scalars['BigInt'];
206
+ __typename: 'DepositHistory';
207
+ }
208
+ export interface TransferDepositHistoryPage {
209
+ items: TransferDepositHistory[];
210
+ pageInfo: PageInfo;
211
+ totalCount: Scalars['Int'];
212
+ __typename: 'TransferDepositHistoryPage';
213
+ }
214
+ export interface TransferDepositHistory {
215
+ id: Scalars['String'];
216
+ optionId: Scalars['String'];
217
+ marketId: Scalars['BigInt'];
218
+ user?: User;
219
+ receiver?: User;
220
+ amount: Scalars['BigInt'];
221
+ collateralAmount: Scalars['BigInt'];
222
+ fee: Scalars['BigInt'];
223
+ transactionHash: Scalars['String'];
224
+ blockNumber: Scalars['BigInt'];
225
+ timestamp: Scalars['BigInt'];
226
+ __typename: 'TransferDepositHistory';
227
+ }
228
+ export interface PurchaseHistoryPage {
229
+ items: PurchaseHistory[];
230
+ pageInfo: PageInfo;
231
+ totalCount: Scalars['Int'];
232
+ __typename: 'PurchaseHistoryPage';
233
+ }
234
+ export interface PurchaseHistory {
235
+ id: Scalars['String'];
236
+ optionId: Scalars['String'];
237
+ marketId: Scalars['BigInt'];
238
+ maker?: User;
239
+ receiver?: User;
240
+ purchaser: Scalars['String'];
241
+ amount: Scalars['BigInt'];
242
+ premiumAmount: Scalars['BigInt'];
243
+ fee: Scalars['BigInt'];
244
+ optionShares: Scalars['BigInt'];
245
+ sharesUtilized: Scalars['BigInt'];
246
+ transactionHash: Scalars['String'];
247
+ blockNumber: Scalars['BigInt'];
248
+ timestamp: Scalars['BigInt'];
249
+ __typename: 'PurchaseHistory';
250
+ }
251
+ export interface ExerciseHistoryPage {
252
+ items: ExerciseHistory[];
253
+ pageInfo: PageInfo;
254
+ totalCount: Scalars['Int'];
255
+ __typename: 'ExerciseHistoryPage';
256
+ }
257
+ export interface ExerciseHistory {
258
+ id: Scalars['String'];
259
+ optionId: Scalars['String'];
260
+ marketId: Scalars['BigInt'];
261
+ maker?: User;
262
+ receiver?: User;
263
+ exerciser: Scalars['String'];
264
+ amount: Scalars['BigInt'];
265
+ profitAmount: Scalars['BigInt'];
266
+ fee: Scalars['BigInt'];
267
+ optionTokensBurnt: Scalars['BigInt'];
268
+ sharesUnutilized: Scalars['BigInt'];
269
+ makerLoss?: Scalars['BigInt'];
270
+ purchaserProfit?: Scalars['BigInt'];
271
+ transactionHash: Scalars['String'];
272
+ blockNumber: Scalars['BigInt'];
273
+ timestamp: Scalars['BigInt'];
274
+ __typename: 'ExerciseHistory';
275
+ }
276
+ export interface UnwindHistoryPage {
277
+ items: UnwindHistory[];
278
+ pageInfo: PageInfo;
279
+ totalCount: Scalars['Int'];
280
+ __typename: 'UnwindHistoryPage';
281
+ }
282
+ export interface UnwindHistory {
283
+ id: Scalars['String'];
284
+ optionId: Scalars['String'];
285
+ marketId: Scalars['BigInt'];
286
+ user?: User;
287
+ receiver?: User;
288
+ amount: Scalars['BigInt'];
289
+ collateralTokensToReturn: Scalars['BigInt'];
290
+ collateralSharesToBurn: Scalars['BigInt'];
291
+ optionSharesToBurn: Scalars['BigInt'];
292
+ transactionHash: Scalars['String'];
293
+ blockNumber: Scalars['BigInt'];
294
+ timestamp: Scalars['BigInt'];
295
+ __typename: 'UnwindHistory';
296
+ }
297
+ export interface TransferPositionHistoryPage {
298
+ items: TransferPositionHistory[];
299
+ pageInfo: PageInfo;
300
+ totalCount: Scalars['Int'];
301
+ __typename: 'TransferPositionHistoryPage';
302
+ }
303
+ export interface TransferPositionHistory {
304
+ id: Scalars['String'];
305
+ optionId: Scalars['String'];
306
+ marketId: Scalars['BigInt'];
307
+ maker?: User;
308
+ receiver?: User;
309
+ purchaser: Scalars['String'];
310
+ amount: Scalars['BigInt'];
311
+ premiumAmount: Scalars['BigInt'];
312
+ fee: Scalars['BigInt'];
313
+ optionShares: Scalars['BigInt'];
314
+ sharesUtilized: Scalars['BigInt'];
315
+ transactionHash: Scalars['String'];
316
+ blockNumber: Scalars['BigInt'];
317
+ timestamp: Scalars['BigInt'];
318
+ __typename: 'TransferPositionHistory';
319
+ }
320
+ export interface SettlementHistoryPage {
321
+ items: SettlementHistory[];
322
+ pageInfo: PageInfo;
323
+ totalCount: Scalars['Int'];
324
+ __typename: 'SettlementHistoryPage';
325
+ }
326
+ export interface SettlementHistory {
327
+ id: Scalars['String'];
328
+ optionId: Scalars['String'];
329
+ marketId: Scalars['BigInt'];
330
+ user?: User;
331
+ totalCollateralSettled: Scalars['BigInt'];
332
+ transactionHash: Scalars['String'];
333
+ blockNumber: Scalars['BigInt'];
334
+ timestamp: Scalars['BigInt'];
335
+ __typename: 'SettlementHistory';
336
+ }
337
+ export interface GlobalPage {
338
+ items: Global[];
339
+ pageInfo: PageInfo;
340
+ totalCount: Scalars['Int'];
341
+ __typename: 'GlobalPage';
342
+ }
343
+ export interface UserPage {
344
+ items: User[];
345
+ pageInfo: PageInfo;
346
+ totalCount: Scalars['Int'];
347
+ __typename: 'UserPage';
348
+ }
349
+ export interface MarketStrategyPage {
350
+ items: MarketStrategy[];
351
+ pageInfo: PageInfo;
352
+ totalCount: Scalars['Int'];
353
+ __typename: 'MarketStrategyPage';
354
+ }
355
+ export interface OptionParamsPage {
356
+ items: OptionParams[];
357
+ pageInfo: PageInfo;
358
+ totalCount: Scalars['Int'];
359
+ __typename: 'OptionParamsPage';
360
+ }
361
+ export interface OrderFillHistory {
362
+ id: Scalars['String'];
363
+ orderHash: Scalars['String'];
364
+ maker: Scalars['String'];
365
+ taker: Scalars['String'];
366
+ optionTokenId?: Scalars['BigInt'];
367
+ makingAmount: Scalars['BigInt'];
368
+ takingAmount: Scalars['BigInt'];
369
+ remainingAmount: Scalars['BigInt'];
370
+ transactionHash: Scalars['String'];
371
+ blockNumber: Scalars['BigInt'];
372
+ timestamp: Scalars['BigInt'];
373
+ __typename: 'OrderFillHistory';
374
+ }
375
+ export interface OrderFillHistoryPage {
376
+ items: OrderFillHistory[];
377
+ pageInfo: PageInfo;
378
+ totalCount: Scalars['Int'];
379
+ __typename: 'OrderFillHistoryPage';
380
+ }
381
+ export interface OrderCancelHistory {
382
+ id: Scalars['String'];
383
+ orderHash: Scalars['String'];
384
+ transactionHash: Scalars['String'];
385
+ blockNumber: Scalars['BigInt'];
386
+ timestamp: Scalars['BigInt'];
387
+ __typename: 'OrderCancelHistory';
388
+ }
389
+ export interface OrderCancelHistoryPage {
390
+ items: OrderCancelHistory[];
391
+ pageInfo: PageInfo;
392
+ totalCount: Scalars['Int'];
393
+ __typename: 'OrderCancelHistoryPage';
394
+ }
395
+ export interface HourlyVolume {
396
+ id: Scalars['String'];
397
+ marketId: Scalars['BigInt'];
398
+ optionId: Scalars['String'];
399
+ hourTimestamp: Scalars['BigInt'];
400
+ depositVolume: Scalars['BigInt'];
401
+ tradeVolume: Scalars['BigInt'];
402
+ unwindVolume: Scalars['BigInt'];
403
+ withdrawVolume: Scalars['BigInt'];
404
+ exerciseVolume: Scalars['BigInt'];
405
+ totalVolume: Scalars['BigInt'];
406
+ tradeCount: Scalars['Int'];
407
+ updatedAt: Scalars['BigInt'];
408
+ updatedAtBlock: Scalars['BigInt'];
409
+ optionParams?: OptionParams;
410
+ __typename: 'HourlyVolume';
411
+ }
412
+ export interface HourlyVolumePage {
413
+ items: HourlyVolume[];
414
+ pageInfo: PageInfo;
415
+ totalCount: Scalars['Int'];
416
+ __typename: 'HourlyVolumePage';
417
+ }
418
+ export interface PageInfoGenqlSelection {
419
+ hasNextPage?: boolean | number;
420
+ hasPreviousPage?: boolean | number;
421
+ startCursor?: boolean | number;
422
+ endCursor?: boolean | number;
423
+ __typename?: boolean | number;
424
+ __scalar?: boolean | number;
425
+ }
426
+ export interface MetaGenqlSelection {
427
+ status?: boolean | number;
428
+ __typename?: boolean | number;
429
+ __scalar?: boolean | number;
430
+ }
431
+ export interface QueryGenqlSelection {
432
+ global?: (GlobalGenqlSelection & {
433
+ __args: {
434
+ id: Scalars['String'];
435
+ };
436
+ });
437
+ globals?: (GlobalPageGenqlSelection & {
438
+ __args?: {
439
+ where?: (GlobalFilter | null);
440
+ orderBy?: (Scalars['String'] | null);
441
+ orderDirection?: (Scalars['String'] | null);
442
+ before?: (Scalars['String'] | null);
443
+ after?: (Scalars['String'] | null);
444
+ limit?: (Scalars['Int'] | null);
445
+ };
446
+ });
447
+ user?: (UserGenqlSelection & {
448
+ __args: {
449
+ id: Scalars['String'];
450
+ };
451
+ });
452
+ users?: (UserPageGenqlSelection & {
453
+ __args?: {
454
+ where?: (UserFilter | null);
455
+ orderBy?: (Scalars['String'] | null);
456
+ orderDirection?: (Scalars['String'] | null);
457
+ before?: (Scalars['String'] | null);
458
+ after?: (Scalars['String'] | null);
459
+ limit?: (Scalars['Int'] | null);
460
+ };
461
+ });
462
+ optionMarket?: (OptionMarketGenqlSelection & {
463
+ __args: {
464
+ id: Scalars['String'];
465
+ };
466
+ });
467
+ optionMarkets?: (OptionMarketPageGenqlSelection & {
468
+ __args?: {
469
+ where?: (OptionMarketFilter | null);
470
+ orderBy?: (Scalars['String'] | null);
471
+ orderDirection?: (Scalars['String'] | null);
472
+ before?: (Scalars['String'] | null);
473
+ after?: (Scalars['String'] | null);
474
+ limit?: (Scalars['Int'] | null);
475
+ };
476
+ });
477
+ marketStrategy?: (MarketStrategyGenqlSelection & {
478
+ __args: {
479
+ id: Scalars['String'];
480
+ };
481
+ });
482
+ marketStrategys?: (MarketStrategyPageGenqlSelection & {
483
+ __args?: {
484
+ where?: (MarketStrategyFilter | null);
485
+ orderBy?: (Scalars['String'] | null);
486
+ orderDirection?: (Scalars['String'] | null);
487
+ before?: (Scalars['String'] | null);
488
+ after?: (Scalars['String'] | null);
489
+ limit?: (Scalars['Int'] | null);
490
+ };
491
+ });
492
+ optionParams?: (OptionParamsGenqlSelection & {
493
+ __args: {
494
+ id: Scalars['String'];
495
+ };
496
+ });
497
+ optionParamss?: (OptionParamsPageGenqlSelection & {
498
+ __args?: {
499
+ where?: (OptionParamsFilter | null);
500
+ orderBy?: (Scalars['String'] | null);
501
+ orderDirection?: (Scalars['String'] | null);
502
+ before?: (Scalars['String'] | null);
503
+ after?: (Scalars['String'] | null);
504
+ limit?: (Scalars['Int'] | null);
505
+ };
506
+ });
507
+ collateralPosition?: (CollateralPositionGenqlSelection & {
508
+ __args: {
509
+ id: Scalars['String'];
510
+ };
511
+ });
512
+ collateralPositions?: (CollateralPositionPageGenqlSelection & {
513
+ __args?: {
514
+ where?: (CollateralPositionFilter | null);
515
+ orderBy?: (Scalars['String'] | null);
516
+ orderDirection?: (Scalars['String'] | null);
517
+ before?: (Scalars['String'] | null);
518
+ after?: (Scalars['String'] | null);
519
+ limit?: (Scalars['Int'] | null);
520
+ };
521
+ });
522
+ optionPosition?: (OptionPositionGenqlSelection & {
523
+ __args: {
524
+ id: Scalars['String'];
525
+ };
526
+ });
527
+ optionPositions?: (OptionPositionPageGenqlSelection & {
528
+ __args?: {
529
+ where?: (OptionPositionFilter | null);
530
+ orderBy?: (Scalars['String'] | null);
531
+ orderDirection?: (Scalars['String'] | null);
532
+ before?: (Scalars['String'] | null);
533
+ after?: (Scalars['String'] | null);
534
+ limit?: (Scalars['Int'] | null);
535
+ };
536
+ });
537
+ depositHistory?: (DepositHistoryGenqlSelection & {
538
+ __args: {
539
+ id: Scalars['String'];
540
+ };
541
+ });
542
+ depositHistorys?: (DepositHistoryPageGenqlSelection & {
543
+ __args?: {
544
+ where?: (DepositHistoryFilter | null);
545
+ orderBy?: (Scalars['String'] | null);
546
+ orderDirection?: (Scalars['String'] | null);
547
+ before?: (Scalars['String'] | null);
548
+ after?: (Scalars['String'] | null);
549
+ limit?: (Scalars['Int'] | null);
550
+ };
551
+ });
552
+ transferDepositHistory?: (TransferDepositHistoryGenqlSelection & {
553
+ __args: {
554
+ id: Scalars['String'];
555
+ };
556
+ });
557
+ transferDepositHistorys?: (TransferDepositHistoryPageGenqlSelection & {
558
+ __args?: {
559
+ where?: (TransferDepositHistoryFilter | null);
560
+ orderBy?: (Scalars['String'] | null);
561
+ orderDirection?: (Scalars['String'] | null);
562
+ before?: (Scalars['String'] | null);
563
+ after?: (Scalars['String'] | null);
564
+ limit?: (Scalars['Int'] | null);
565
+ };
566
+ });
567
+ purchaseHistory?: (PurchaseHistoryGenqlSelection & {
568
+ __args: {
569
+ id: Scalars['String'];
570
+ };
571
+ });
572
+ purchaseHistorys?: (PurchaseHistoryPageGenqlSelection & {
573
+ __args?: {
574
+ where?: (PurchaseHistoryFilter | null);
575
+ orderBy?: (Scalars['String'] | null);
576
+ orderDirection?: (Scalars['String'] | null);
577
+ before?: (Scalars['String'] | null);
578
+ after?: (Scalars['String'] | null);
579
+ limit?: (Scalars['Int'] | null);
580
+ };
581
+ });
582
+ transferPositionHistory?: (TransferPositionHistoryGenqlSelection & {
583
+ __args: {
584
+ id: Scalars['String'];
585
+ };
586
+ });
587
+ transferPositionHistorys?: (TransferPositionHistoryPageGenqlSelection & {
588
+ __args?: {
589
+ where?: (TransferPositionHistoryFilter | null);
590
+ orderBy?: (Scalars['String'] | null);
591
+ orderDirection?: (Scalars['String'] | null);
592
+ before?: (Scalars['String'] | null);
593
+ after?: (Scalars['String'] | null);
594
+ limit?: (Scalars['Int'] | null);
595
+ };
596
+ });
597
+ exerciseHistory?: (ExerciseHistoryGenqlSelection & {
598
+ __args: {
599
+ id: Scalars['String'];
600
+ };
601
+ });
602
+ exerciseHistorys?: (ExerciseHistoryPageGenqlSelection & {
603
+ __args?: {
604
+ where?: (ExerciseHistoryFilter | null);
605
+ orderBy?: (Scalars['String'] | null);
606
+ orderDirection?: (Scalars['String'] | null);
607
+ before?: (Scalars['String'] | null);
608
+ after?: (Scalars['String'] | null);
609
+ limit?: (Scalars['Int'] | null);
610
+ };
611
+ });
612
+ unwindHistory?: (UnwindHistoryGenqlSelection & {
613
+ __args: {
614
+ id: Scalars['String'];
615
+ };
616
+ });
617
+ unwindHistorys?: (UnwindHistoryPageGenqlSelection & {
618
+ __args?: {
619
+ where?: (UnwindHistoryFilter | null);
620
+ orderBy?: (Scalars['String'] | null);
621
+ orderDirection?: (Scalars['String'] | null);
622
+ before?: (Scalars['String'] | null);
623
+ after?: (Scalars['String'] | null);
624
+ limit?: (Scalars['Int'] | null);
625
+ };
626
+ });
627
+ orderFillHistory?: (OrderFillHistoryGenqlSelection & {
628
+ __args: {
629
+ id: Scalars['String'];
630
+ };
631
+ });
632
+ orderFillHistorys?: (OrderFillHistoryPageGenqlSelection & {
633
+ __args?: {
634
+ where?: (OrderFillHistoryFilter | null);
635
+ orderBy?: (Scalars['String'] | null);
636
+ orderDirection?: (Scalars['String'] | null);
637
+ before?: (Scalars['String'] | null);
638
+ after?: (Scalars['String'] | null);
639
+ limit?: (Scalars['Int'] | null);
640
+ };
641
+ });
642
+ orderCancelHistory?: (OrderCancelHistoryGenqlSelection & {
643
+ __args: {
644
+ id: Scalars['String'];
645
+ };
646
+ });
647
+ orderCancelHistorys?: (OrderCancelHistoryPageGenqlSelection & {
648
+ __args?: {
649
+ where?: (OrderCancelHistoryFilter | null);
650
+ orderBy?: (Scalars['String'] | null);
651
+ orderDirection?: (Scalars['String'] | null);
652
+ before?: (Scalars['String'] | null);
653
+ after?: (Scalars['String'] | null);
654
+ limit?: (Scalars['Int'] | null);
655
+ };
656
+ });
657
+ settlementHistory?: (SettlementHistoryGenqlSelection & {
658
+ __args: {
659
+ id: Scalars['String'];
660
+ };
661
+ });
662
+ settlementHistorys?: (SettlementHistoryPageGenqlSelection & {
663
+ __args?: {
664
+ where?: (SettlementHistoryFilter | null);
665
+ orderBy?: (Scalars['String'] | null);
666
+ orderDirection?: (Scalars['String'] | null);
667
+ before?: (Scalars['String'] | null);
668
+ after?: (Scalars['String'] | null);
669
+ limit?: (Scalars['Int'] | null);
670
+ };
671
+ });
672
+ hourlyVolume?: (HourlyVolumeGenqlSelection & {
673
+ __args: {
674
+ id: Scalars['String'];
675
+ };
676
+ });
677
+ hourlyVolumes?: (HourlyVolumePageGenqlSelection & {
678
+ __args?: {
679
+ where?: (HourlyVolumeFilter | null);
680
+ orderBy?: (Scalars['String'] | null);
681
+ orderDirection?: (Scalars['String'] | null);
682
+ before?: (Scalars['String'] | null);
683
+ after?: (Scalars['String'] | null);
684
+ limit?: (Scalars['Int'] | null);
685
+ };
686
+ });
687
+ _meta?: MetaGenqlSelection;
688
+ __typename?: boolean | number;
689
+ __scalar?: boolean | number;
690
+ }
691
+ export interface GlobalGenqlSelection {
692
+ id?: boolean | number;
693
+ feeReceiver?: boolean | number;
694
+ collateralTokenFactory?: boolean | number;
695
+ optionTokenFactory?: boolean | number;
696
+ totalMarkets?: boolean | number;
697
+ updatedAt?: boolean | number;
698
+ updatedAtBlock?: boolean | number;
699
+ markets?: (OptionMarketPageGenqlSelection & {
700
+ __args?: {
701
+ where?: (OptionMarketFilter | null);
702
+ orderBy?: (Scalars['String'] | null);
703
+ orderDirection?: (Scalars['String'] | null);
704
+ before?: (Scalars['String'] | null);
705
+ after?: (Scalars['String'] | null);
706
+ limit?: (Scalars['Int'] | null);
707
+ };
708
+ });
709
+ __typename?: boolean | number;
710
+ __scalar?: boolean | number;
711
+ }
712
+ export interface OptionMarketPageGenqlSelection {
713
+ items?: OptionMarketGenqlSelection;
714
+ pageInfo?: PageInfoGenqlSelection;
715
+ totalCount?: boolean | number;
716
+ __typename?: boolean | number;
717
+ __scalar?: boolean | number;
718
+ }
719
+ export interface OptionMarketGenqlSelection {
720
+ id?: boolean | number;
721
+ globalId?: boolean | number;
722
+ marketId?: boolean | number;
723
+ callToken?: boolean | number;
724
+ putToken?: boolean | number;
725
+ expiry?: boolean | number;
726
+ maxTTL?: boolean | number;
727
+ strategy?: MarketStrategyGenqlSelection;
728
+ collateralToken?: boolean | number;
729
+ totalCollateral?: boolean | number;
730
+ totalCollateralAmount?: boolean | number;
731
+ protocolFees?: boolean | number;
732
+ createdAt?: boolean | number;
733
+ createdAtBlock?: boolean | number;
734
+ updatedAt?: boolean | number;
735
+ updatedAtBlock?: boolean | number;
736
+ global?: GlobalGenqlSelection;
737
+ collateralPositions?: (CollateralPositionPageGenqlSelection & {
738
+ __args?: {
739
+ where?: (CollateralPositionFilter | null);
740
+ orderBy?: (Scalars['String'] | null);
741
+ orderDirection?: (Scalars['String'] | null);
742
+ before?: (Scalars['String'] | null);
743
+ after?: (Scalars['String'] | null);
744
+ limit?: (Scalars['Int'] | null);
745
+ };
746
+ });
747
+ optionPositions?: (OptionPositionPageGenqlSelection & {
748
+ __args?: {
749
+ where?: (OptionPositionFilter | null);
750
+ orderBy?: (Scalars['String'] | null);
751
+ orderDirection?: (Scalars['String'] | null);
752
+ before?: (Scalars['String'] | null);
753
+ after?: (Scalars['String'] | null);
754
+ limit?: (Scalars['Int'] | null);
755
+ };
756
+ });
757
+ __typename?: boolean | number;
758
+ __scalar?: boolean | number;
759
+ }
760
+ export interface MarketStrategyGenqlSelection {
761
+ id?: boolean | number;
762
+ finalFDV?: boolean | number;
763
+ deadline?: boolean | number;
764
+ bandPrecision?: boolean | number;
765
+ collateralPerBandPrecision?: boolean | number;
766
+ premiumRate?: boolean | number;
767
+ depositFeeRate?: boolean | number;
768
+ purchaseFeeRate?: boolean | number;
769
+ settlementFeeRate?: boolean | number;
770
+ collateralToken?: boolean | number;
771
+ createdAt?: boolean | number;
772
+ createdAtBlock?: boolean | number;
773
+ updatedAt?: boolean | number;
774
+ updatedAtBlock?: boolean | number;
775
+ __typename?: boolean | number;
776
+ __scalar?: boolean | number;
777
+ }
778
+ export interface CollateralPositionPageGenqlSelection {
779
+ items?: CollateralPositionGenqlSelection;
780
+ pageInfo?: PageInfoGenqlSelection;
781
+ totalCount?: boolean | number;
782
+ __typename?: boolean | number;
783
+ __scalar?: boolean | number;
784
+ }
785
+ export interface CollateralPositionGenqlSelection {
786
+ id?: boolean | number;
787
+ optionId?: boolean | number;
788
+ optionMarketId?: boolean | number;
789
+ user?: UserGenqlSelection;
790
+ totalCollateral?: boolean | number;
791
+ optionsMinted?: boolean | number;
792
+ optionsExercised?: boolean | number;
793
+ premiumEarned?: boolean | number;
794
+ fee?: boolean | number;
795
+ settled?: boolean | number;
796
+ updatedAt?: boolean | number;
797
+ updatedAtBlock?: boolean | number;
798
+ optionParams?: OptionParamsGenqlSelection;
799
+ optionMarket?: OptionMarketGenqlSelection;
800
+ __typename?: boolean | number;
801
+ __scalar?: boolean | number;
802
+ }
803
+ export interface UserGenqlSelection {
804
+ id?: boolean | number;
805
+ updatedAt?: boolean | number;
806
+ updatedAtBlock?: boolean | number;
807
+ optionsPositions?: (OptionPositionPageGenqlSelection & {
808
+ __args?: {
809
+ where?: (OptionPositionFilter | null);
810
+ orderBy?: (Scalars['String'] | null);
811
+ orderDirection?: (Scalars['String'] | null);
812
+ before?: (Scalars['String'] | null);
813
+ after?: (Scalars['String'] | null);
814
+ limit?: (Scalars['Int'] | null);
815
+ };
816
+ });
817
+ collateralPositions?: (CollateralPositionPageGenqlSelection & {
818
+ __args?: {
819
+ where?: (CollateralPositionFilter | null);
820
+ orderBy?: (Scalars['String'] | null);
821
+ orderDirection?: (Scalars['String'] | null);
822
+ before?: (Scalars['String'] | null);
823
+ after?: (Scalars['String'] | null);
824
+ limit?: (Scalars['Int'] | null);
825
+ };
826
+ });
827
+ depositHistory?: (DepositHistoryPageGenqlSelection & {
828
+ __args?: {
829
+ where?: (DepositHistoryFilter | null);
830
+ orderBy?: (Scalars['String'] | null);
831
+ orderDirection?: (Scalars['String'] | null);
832
+ before?: (Scalars['String'] | null);
833
+ after?: (Scalars['String'] | null);
834
+ limit?: (Scalars['Int'] | null);
835
+ };
836
+ });
837
+ transferDepositHistory?: (TransferDepositHistoryPageGenqlSelection & {
838
+ __args?: {
839
+ where?: (TransferDepositHistoryFilter | null);
840
+ orderBy?: (Scalars['String'] | null);
841
+ orderDirection?: (Scalars['String'] | null);
842
+ before?: (Scalars['String'] | null);
843
+ after?: (Scalars['String'] | null);
844
+ limit?: (Scalars['Int'] | null);
845
+ };
846
+ });
847
+ purchaseHistory?: (PurchaseHistoryPageGenqlSelection & {
848
+ __args?: {
849
+ where?: (PurchaseHistoryFilter | null);
850
+ orderBy?: (Scalars['String'] | null);
851
+ orderDirection?: (Scalars['String'] | null);
852
+ before?: (Scalars['String'] | null);
853
+ after?: (Scalars['String'] | null);
854
+ limit?: (Scalars['Int'] | null);
855
+ };
856
+ });
857
+ exerciseHistory?: (ExerciseHistoryPageGenqlSelection & {
858
+ __args?: {
859
+ where?: (ExerciseHistoryFilter | null);
860
+ orderBy?: (Scalars['String'] | null);
861
+ orderDirection?: (Scalars['String'] | null);
862
+ before?: (Scalars['String'] | null);
863
+ after?: (Scalars['String'] | null);
864
+ limit?: (Scalars['Int'] | null);
865
+ };
866
+ });
867
+ unwindHistory?: (UnwindHistoryPageGenqlSelection & {
868
+ __args?: {
869
+ where?: (UnwindHistoryFilter | null);
870
+ orderBy?: (Scalars['String'] | null);
871
+ orderDirection?: (Scalars['String'] | null);
872
+ before?: (Scalars['String'] | null);
873
+ after?: (Scalars['String'] | null);
874
+ limit?: (Scalars['Int'] | null);
875
+ };
876
+ });
877
+ transferPositionHistory?: (TransferPositionHistoryPageGenqlSelection & {
878
+ __args?: {
879
+ where?: (TransferPositionHistoryFilter | null);
880
+ orderBy?: (Scalars['String'] | null);
881
+ orderDirection?: (Scalars['String'] | null);
882
+ before?: (Scalars['String'] | null);
883
+ after?: (Scalars['String'] | null);
884
+ limit?: (Scalars['Int'] | null);
885
+ };
886
+ });
887
+ settlementHistory?: (SettlementHistoryPageGenqlSelection & {
888
+ __args?: {
889
+ where?: (SettlementHistoryFilter | null);
890
+ orderBy?: (Scalars['String'] | null);
891
+ orderDirection?: (Scalars['String'] | null);
892
+ before?: (Scalars['String'] | null);
893
+ after?: (Scalars['String'] | null);
894
+ limit?: (Scalars['Int'] | null);
895
+ };
896
+ });
897
+ __typename?: boolean | number;
898
+ __scalar?: boolean | number;
899
+ }
900
+ export interface OptionPositionPageGenqlSelection {
901
+ items?: OptionPositionGenqlSelection;
902
+ pageInfo?: PageInfoGenqlSelection;
903
+ totalCount?: boolean | number;
904
+ __typename?: boolean | number;
905
+ __scalar?: boolean | number;
906
+ }
907
+ export interface OptionPositionGenqlSelection {
908
+ id?: boolean | number;
909
+ tokenId?: boolean | number;
910
+ address?: boolean | number;
911
+ optionId?: boolean | number;
912
+ optionMarketId?: boolean | number;
913
+ user?: UserGenqlSelection;
914
+ premium?: boolean | number;
915
+ fee?: boolean | number;
916
+ profit?: boolean | number;
917
+ amount?: boolean | number;
918
+ averagePrice?: boolean | number;
919
+ updatedAt?: boolean | number;
920
+ updatedAtBlock?: boolean | number;
921
+ optionParams?: OptionParamsGenqlSelection;
922
+ optionMarket?: OptionMarketGenqlSelection;
923
+ __typename?: boolean | number;
924
+ __scalar?: boolean | number;
925
+ }
926
+ export interface OptionParamsGenqlSelection {
927
+ id?: boolean | number;
928
+ marketId?: boolean | number;
929
+ strikeLowerLimit?: boolean | number;
930
+ strikeUpperLimit?: boolean | number;
931
+ isPut?: boolean | number;
932
+ collateralPerShare?: boolean | number;
933
+ createdAt?: boolean | number;
934
+ createdAtBlock?: boolean | number;
935
+ collateralPositions?: (CollateralPositionPageGenqlSelection & {
936
+ __args?: {
937
+ where?: (CollateralPositionFilter | null);
938
+ orderBy?: (Scalars['String'] | null);
939
+ orderDirection?: (Scalars['String'] | null);
940
+ before?: (Scalars['String'] | null);
941
+ after?: (Scalars['String'] | null);
942
+ limit?: (Scalars['Int'] | null);
943
+ };
944
+ });
945
+ optionPositions?: (OptionPositionPageGenqlSelection & {
946
+ __args?: {
947
+ where?: (OptionPositionFilter | null);
948
+ orderBy?: (Scalars['String'] | null);
949
+ orderDirection?: (Scalars['String'] | null);
950
+ before?: (Scalars['String'] | null);
951
+ after?: (Scalars['String'] | null);
952
+ limit?: (Scalars['Int'] | null);
953
+ };
954
+ });
955
+ __typename?: boolean | number;
956
+ __scalar?: boolean | number;
957
+ }
958
+ export interface CollateralPositionFilter {
959
+ AND?: ((CollateralPositionFilter | null)[] | null);
960
+ OR?: ((CollateralPositionFilter | null)[] | null);
961
+ id?: (Scalars['String'] | null);
962
+ id_not?: (Scalars['String'] | null);
963
+ id_in?: ((Scalars['String'] | null)[] | null);
964
+ id_not_in?: ((Scalars['String'] | null)[] | null);
965
+ id_contains?: (Scalars['String'] | null);
966
+ id_not_contains?: (Scalars['String'] | null);
967
+ id_starts_with?: (Scalars['String'] | null);
968
+ id_ends_with?: (Scalars['String'] | null);
969
+ id_not_starts_with?: (Scalars['String'] | null);
970
+ id_not_ends_with?: (Scalars['String'] | null);
971
+ optionId?: (Scalars['String'] | null);
972
+ optionId_not?: (Scalars['String'] | null);
973
+ optionId_in?: ((Scalars['String'] | null)[] | null);
974
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
975
+ optionId_contains?: (Scalars['String'] | null);
976
+ optionId_not_contains?: (Scalars['String'] | null);
977
+ optionId_starts_with?: (Scalars['String'] | null);
978
+ optionId_ends_with?: (Scalars['String'] | null);
979
+ optionId_not_starts_with?: (Scalars['String'] | null);
980
+ optionId_not_ends_with?: (Scalars['String'] | null);
981
+ optionMarketId?: (Scalars['String'] | null);
982
+ optionMarketId_not?: (Scalars['String'] | null);
983
+ optionMarketId_in?: ((Scalars['String'] | null)[] | null);
984
+ optionMarketId_not_in?: ((Scalars['String'] | null)[] | null);
985
+ optionMarketId_contains?: (Scalars['String'] | null);
986
+ optionMarketId_not_contains?: (Scalars['String'] | null);
987
+ optionMarketId_starts_with?: (Scalars['String'] | null);
988
+ optionMarketId_ends_with?: (Scalars['String'] | null);
989
+ optionMarketId_not_starts_with?: (Scalars['String'] | null);
990
+ optionMarketId_not_ends_with?: (Scalars['String'] | null);
991
+ user?: (Scalars['String'] | null);
992
+ user_not?: (Scalars['String'] | null);
993
+ user_in?: ((Scalars['String'] | null)[] | null);
994
+ user_not_in?: ((Scalars['String'] | null)[] | null);
995
+ user_contains?: (Scalars['String'] | null);
996
+ user_not_contains?: (Scalars['String'] | null);
997
+ user_starts_with?: (Scalars['String'] | null);
998
+ user_ends_with?: (Scalars['String'] | null);
999
+ user_not_starts_with?: (Scalars['String'] | null);
1000
+ user_not_ends_with?: (Scalars['String'] | null);
1001
+ totalCollateral?: (Scalars['BigInt'] | null);
1002
+ totalCollateral_not?: (Scalars['BigInt'] | null);
1003
+ totalCollateral_in?: ((Scalars['BigInt'] | null)[] | null);
1004
+ totalCollateral_not_in?: ((Scalars['BigInt'] | null)[] | null);
1005
+ totalCollateral_gt?: (Scalars['BigInt'] | null);
1006
+ totalCollateral_lt?: (Scalars['BigInt'] | null);
1007
+ totalCollateral_gte?: (Scalars['BigInt'] | null);
1008
+ totalCollateral_lte?: (Scalars['BigInt'] | null);
1009
+ optionsMinted?: (Scalars['BigInt'] | null);
1010
+ optionsMinted_not?: (Scalars['BigInt'] | null);
1011
+ optionsMinted_in?: ((Scalars['BigInt'] | null)[] | null);
1012
+ optionsMinted_not_in?: ((Scalars['BigInt'] | null)[] | null);
1013
+ optionsMinted_gt?: (Scalars['BigInt'] | null);
1014
+ optionsMinted_lt?: (Scalars['BigInt'] | null);
1015
+ optionsMinted_gte?: (Scalars['BigInt'] | null);
1016
+ optionsMinted_lte?: (Scalars['BigInt'] | null);
1017
+ optionsExercised?: (Scalars['BigInt'] | null);
1018
+ optionsExercised_not?: (Scalars['BigInt'] | null);
1019
+ optionsExercised_in?: ((Scalars['BigInt'] | null)[] | null);
1020
+ optionsExercised_not_in?: ((Scalars['BigInt'] | null)[] | null);
1021
+ optionsExercised_gt?: (Scalars['BigInt'] | null);
1022
+ optionsExercised_lt?: (Scalars['BigInt'] | null);
1023
+ optionsExercised_gte?: (Scalars['BigInt'] | null);
1024
+ optionsExercised_lte?: (Scalars['BigInt'] | null);
1025
+ premiumEarned?: (Scalars['BigInt'] | null);
1026
+ premiumEarned_not?: (Scalars['BigInt'] | null);
1027
+ premiumEarned_in?: ((Scalars['BigInt'] | null)[] | null);
1028
+ premiumEarned_not_in?: ((Scalars['BigInt'] | null)[] | null);
1029
+ premiumEarned_gt?: (Scalars['BigInt'] | null);
1030
+ premiumEarned_lt?: (Scalars['BigInt'] | null);
1031
+ premiumEarned_gte?: (Scalars['BigInt'] | null);
1032
+ premiumEarned_lte?: (Scalars['BigInt'] | null);
1033
+ fee?: (Scalars['BigInt'] | null);
1034
+ fee_not?: (Scalars['BigInt'] | null);
1035
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1036
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1037
+ fee_gt?: (Scalars['BigInt'] | null);
1038
+ fee_lt?: (Scalars['BigInt'] | null);
1039
+ fee_gte?: (Scalars['BigInt'] | null);
1040
+ fee_lte?: (Scalars['BigInt'] | null);
1041
+ settled?: (Scalars['Boolean'] | null);
1042
+ settled_not?: (Scalars['Boolean'] | null);
1043
+ settled_in?: ((Scalars['Boolean'] | null)[] | null);
1044
+ settled_not_in?: ((Scalars['Boolean'] | null)[] | null);
1045
+ updatedAt?: (Scalars['BigInt'] | null);
1046
+ updatedAt_not?: (Scalars['BigInt'] | null);
1047
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
1048
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
1049
+ updatedAt_gt?: (Scalars['BigInt'] | null);
1050
+ updatedAt_lt?: (Scalars['BigInt'] | null);
1051
+ updatedAt_gte?: (Scalars['BigInt'] | null);
1052
+ updatedAt_lte?: (Scalars['BigInt'] | null);
1053
+ updatedAtBlock?: (Scalars['BigInt'] | null);
1054
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
1055
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
1056
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
1057
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
1058
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
1059
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
1060
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
1061
+ }
1062
+ export interface OptionPositionFilter {
1063
+ AND?: ((OptionPositionFilter | null)[] | null);
1064
+ OR?: ((OptionPositionFilter | null)[] | null);
1065
+ id?: (Scalars['String'] | null);
1066
+ id_not?: (Scalars['String'] | null);
1067
+ id_in?: ((Scalars['String'] | null)[] | null);
1068
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1069
+ id_contains?: (Scalars['String'] | null);
1070
+ id_not_contains?: (Scalars['String'] | null);
1071
+ id_starts_with?: (Scalars['String'] | null);
1072
+ id_ends_with?: (Scalars['String'] | null);
1073
+ id_not_starts_with?: (Scalars['String'] | null);
1074
+ id_not_ends_with?: (Scalars['String'] | null);
1075
+ tokenId?: (Scalars['BigInt'] | null);
1076
+ tokenId_not?: (Scalars['BigInt'] | null);
1077
+ tokenId_in?: ((Scalars['BigInt'] | null)[] | null);
1078
+ tokenId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1079
+ tokenId_gt?: (Scalars['BigInt'] | null);
1080
+ tokenId_lt?: (Scalars['BigInt'] | null);
1081
+ tokenId_gte?: (Scalars['BigInt'] | null);
1082
+ tokenId_lte?: (Scalars['BigInt'] | null);
1083
+ address?: (Scalars['String'] | null);
1084
+ address_not?: (Scalars['String'] | null);
1085
+ address_in?: ((Scalars['String'] | null)[] | null);
1086
+ address_not_in?: ((Scalars['String'] | null)[] | null);
1087
+ address_contains?: (Scalars['String'] | null);
1088
+ address_not_contains?: (Scalars['String'] | null);
1089
+ address_starts_with?: (Scalars['String'] | null);
1090
+ address_ends_with?: (Scalars['String'] | null);
1091
+ address_not_starts_with?: (Scalars['String'] | null);
1092
+ address_not_ends_with?: (Scalars['String'] | null);
1093
+ optionId?: (Scalars['String'] | null);
1094
+ optionId_not?: (Scalars['String'] | null);
1095
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1096
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1097
+ optionId_contains?: (Scalars['String'] | null);
1098
+ optionId_not_contains?: (Scalars['String'] | null);
1099
+ optionId_starts_with?: (Scalars['String'] | null);
1100
+ optionId_ends_with?: (Scalars['String'] | null);
1101
+ optionId_not_starts_with?: (Scalars['String'] | null);
1102
+ optionId_not_ends_with?: (Scalars['String'] | null);
1103
+ optionMarketId?: (Scalars['String'] | null);
1104
+ optionMarketId_not?: (Scalars['String'] | null);
1105
+ optionMarketId_in?: ((Scalars['String'] | null)[] | null);
1106
+ optionMarketId_not_in?: ((Scalars['String'] | null)[] | null);
1107
+ optionMarketId_contains?: (Scalars['String'] | null);
1108
+ optionMarketId_not_contains?: (Scalars['String'] | null);
1109
+ optionMarketId_starts_with?: (Scalars['String'] | null);
1110
+ optionMarketId_ends_with?: (Scalars['String'] | null);
1111
+ optionMarketId_not_starts_with?: (Scalars['String'] | null);
1112
+ optionMarketId_not_ends_with?: (Scalars['String'] | null);
1113
+ user?: (Scalars['String'] | null);
1114
+ user_not?: (Scalars['String'] | null);
1115
+ user_in?: ((Scalars['String'] | null)[] | null);
1116
+ user_not_in?: ((Scalars['String'] | null)[] | null);
1117
+ user_contains?: (Scalars['String'] | null);
1118
+ user_not_contains?: (Scalars['String'] | null);
1119
+ user_starts_with?: (Scalars['String'] | null);
1120
+ user_ends_with?: (Scalars['String'] | null);
1121
+ user_not_starts_with?: (Scalars['String'] | null);
1122
+ user_not_ends_with?: (Scalars['String'] | null);
1123
+ premium?: (Scalars['BigInt'] | null);
1124
+ premium_not?: (Scalars['BigInt'] | null);
1125
+ premium_in?: ((Scalars['BigInt'] | null)[] | null);
1126
+ premium_not_in?: ((Scalars['BigInt'] | null)[] | null);
1127
+ premium_gt?: (Scalars['BigInt'] | null);
1128
+ premium_lt?: (Scalars['BigInt'] | null);
1129
+ premium_gte?: (Scalars['BigInt'] | null);
1130
+ premium_lte?: (Scalars['BigInt'] | null);
1131
+ fee?: (Scalars['BigInt'] | null);
1132
+ fee_not?: (Scalars['BigInt'] | null);
1133
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1134
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1135
+ fee_gt?: (Scalars['BigInt'] | null);
1136
+ fee_lt?: (Scalars['BigInt'] | null);
1137
+ fee_gte?: (Scalars['BigInt'] | null);
1138
+ fee_lte?: (Scalars['BigInt'] | null);
1139
+ profit?: (Scalars['BigInt'] | null);
1140
+ profit_not?: (Scalars['BigInt'] | null);
1141
+ profit_in?: ((Scalars['BigInt'] | null)[] | null);
1142
+ profit_not_in?: ((Scalars['BigInt'] | null)[] | null);
1143
+ profit_gt?: (Scalars['BigInt'] | null);
1144
+ profit_lt?: (Scalars['BigInt'] | null);
1145
+ profit_gte?: (Scalars['BigInt'] | null);
1146
+ profit_lte?: (Scalars['BigInt'] | null);
1147
+ amount?: (Scalars['BigInt'] | null);
1148
+ amount_not?: (Scalars['BigInt'] | null);
1149
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1150
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1151
+ amount_gt?: (Scalars['BigInt'] | null);
1152
+ amount_lt?: (Scalars['BigInt'] | null);
1153
+ amount_gte?: (Scalars['BigInt'] | null);
1154
+ amount_lte?: (Scalars['BigInt'] | null);
1155
+ averagePrice?: (Scalars['BigInt'] | null);
1156
+ averagePrice_not?: (Scalars['BigInt'] | null);
1157
+ averagePrice_in?: ((Scalars['BigInt'] | null)[] | null);
1158
+ averagePrice_not_in?: ((Scalars['BigInt'] | null)[] | null);
1159
+ averagePrice_gt?: (Scalars['BigInt'] | null);
1160
+ averagePrice_lt?: (Scalars['BigInt'] | null);
1161
+ averagePrice_gte?: (Scalars['BigInt'] | null);
1162
+ averagePrice_lte?: (Scalars['BigInt'] | null);
1163
+ updatedAt?: (Scalars['BigInt'] | null);
1164
+ updatedAt_not?: (Scalars['BigInt'] | null);
1165
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
1166
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
1167
+ updatedAt_gt?: (Scalars['BigInt'] | null);
1168
+ updatedAt_lt?: (Scalars['BigInt'] | null);
1169
+ updatedAt_gte?: (Scalars['BigInt'] | null);
1170
+ updatedAt_lte?: (Scalars['BigInt'] | null);
1171
+ updatedAtBlock?: (Scalars['BigInt'] | null);
1172
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
1173
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
1174
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
1175
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
1176
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
1177
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
1178
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
1179
+ }
1180
+ export interface DepositHistoryPageGenqlSelection {
1181
+ items?: DepositHistoryGenqlSelection;
1182
+ pageInfo?: PageInfoGenqlSelection;
1183
+ totalCount?: boolean | number;
1184
+ __typename?: boolean | number;
1185
+ __scalar?: boolean | number;
1186
+ }
1187
+ export interface DepositHistoryGenqlSelection {
1188
+ id?: boolean | number;
1189
+ optionId?: boolean | number;
1190
+ marketId?: boolean | number;
1191
+ user?: UserGenqlSelection;
1192
+ receiver?: boolean | number;
1193
+ amount?: boolean | number;
1194
+ collateralAmount?: boolean | number;
1195
+ fee?: boolean | number;
1196
+ transactionHash?: boolean | number;
1197
+ blockNumber?: boolean | number;
1198
+ timestamp?: boolean | number;
1199
+ __typename?: boolean | number;
1200
+ __scalar?: boolean | number;
1201
+ }
1202
+ export interface DepositHistoryFilter {
1203
+ AND?: ((DepositHistoryFilter | null)[] | null);
1204
+ OR?: ((DepositHistoryFilter | null)[] | null);
1205
+ id?: (Scalars['String'] | null);
1206
+ id_not?: (Scalars['String'] | null);
1207
+ id_in?: ((Scalars['String'] | null)[] | null);
1208
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1209
+ id_contains?: (Scalars['String'] | null);
1210
+ id_not_contains?: (Scalars['String'] | null);
1211
+ id_starts_with?: (Scalars['String'] | null);
1212
+ id_ends_with?: (Scalars['String'] | null);
1213
+ id_not_starts_with?: (Scalars['String'] | null);
1214
+ id_not_ends_with?: (Scalars['String'] | null);
1215
+ optionId?: (Scalars['String'] | null);
1216
+ optionId_not?: (Scalars['String'] | null);
1217
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1218
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1219
+ optionId_contains?: (Scalars['String'] | null);
1220
+ optionId_not_contains?: (Scalars['String'] | null);
1221
+ optionId_starts_with?: (Scalars['String'] | null);
1222
+ optionId_ends_with?: (Scalars['String'] | null);
1223
+ optionId_not_starts_with?: (Scalars['String'] | null);
1224
+ optionId_not_ends_with?: (Scalars['String'] | null);
1225
+ marketId?: (Scalars['BigInt'] | null);
1226
+ marketId_not?: (Scalars['BigInt'] | null);
1227
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
1228
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1229
+ marketId_gt?: (Scalars['BigInt'] | null);
1230
+ marketId_lt?: (Scalars['BigInt'] | null);
1231
+ marketId_gte?: (Scalars['BigInt'] | null);
1232
+ marketId_lte?: (Scalars['BigInt'] | null);
1233
+ user?: (Scalars['String'] | null);
1234
+ user_not?: (Scalars['String'] | null);
1235
+ user_in?: ((Scalars['String'] | null)[] | null);
1236
+ user_not_in?: ((Scalars['String'] | null)[] | null);
1237
+ user_contains?: (Scalars['String'] | null);
1238
+ user_not_contains?: (Scalars['String'] | null);
1239
+ user_starts_with?: (Scalars['String'] | null);
1240
+ user_ends_with?: (Scalars['String'] | null);
1241
+ user_not_starts_with?: (Scalars['String'] | null);
1242
+ user_not_ends_with?: (Scalars['String'] | null);
1243
+ receiver?: (Scalars['String'] | null);
1244
+ receiver_not?: (Scalars['String'] | null);
1245
+ receiver_in?: ((Scalars['String'] | null)[] | null);
1246
+ receiver_not_in?: ((Scalars['String'] | null)[] | null);
1247
+ receiver_contains?: (Scalars['String'] | null);
1248
+ receiver_not_contains?: (Scalars['String'] | null);
1249
+ receiver_starts_with?: (Scalars['String'] | null);
1250
+ receiver_ends_with?: (Scalars['String'] | null);
1251
+ receiver_not_starts_with?: (Scalars['String'] | null);
1252
+ receiver_not_ends_with?: (Scalars['String'] | null);
1253
+ amount?: (Scalars['BigInt'] | null);
1254
+ amount_not?: (Scalars['BigInt'] | null);
1255
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1256
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1257
+ amount_gt?: (Scalars['BigInt'] | null);
1258
+ amount_lt?: (Scalars['BigInt'] | null);
1259
+ amount_gte?: (Scalars['BigInt'] | null);
1260
+ amount_lte?: (Scalars['BigInt'] | null);
1261
+ collateralAmount?: (Scalars['BigInt'] | null);
1262
+ collateralAmount_not?: (Scalars['BigInt'] | null);
1263
+ collateralAmount_in?: ((Scalars['BigInt'] | null)[] | null);
1264
+ collateralAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1265
+ collateralAmount_gt?: (Scalars['BigInt'] | null);
1266
+ collateralAmount_lt?: (Scalars['BigInt'] | null);
1267
+ collateralAmount_gte?: (Scalars['BigInt'] | null);
1268
+ collateralAmount_lte?: (Scalars['BigInt'] | null);
1269
+ fee?: (Scalars['BigInt'] | null);
1270
+ fee_not?: (Scalars['BigInt'] | null);
1271
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1272
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1273
+ fee_gt?: (Scalars['BigInt'] | null);
1274
+ fee_lt?: (Scalars['BigInt'] | null);
1275
+ fee_gte?: (Scalars['BigInt'] | null);
1276
+ fee_lte?: (Scalars['BigInt'] | null);
1277
+ transactionHash?: (Scalars['String'] | null);
1278
+ transactionHash_not?: (Scalars['String'] | null);
1279
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
1280
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
1281
+ transactionHash_contains?: (Scalars['String'] | null);
1282
+ transactionHash_not_contains?: (Scalars['String'] | null);
1283
+ transactionHash_starts_with?: (Scalars['String'] | null);
1284
+ transactionHash_ends_with?: (Scalars['String'] | null);
1285
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
1286
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
1287
+ blockNumber?: (Scalars['BigInt'] | null);
1288
+ blockNumber_not?: (Scalars['BigInt'] | null);
1289
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
1290
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
1291
+ blockNumber_gt?: (Scalars['BigInt'] | null);
1292
+ blockNumber_lt?: (Scalars['BigInt'] | null);
1293
+ blockNumber_gte?: (Scalars['BigInt'] | null);
1294
+ blockNumber_lte?: (Scalars['BigInt'] | null);
1295
+ timestamp?: (Scalars['BigInt'] | null);
1296
+ timestamp_not?: (Scalars['BigInt'] | null);
1297
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
1298
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
1299
+ timestamp_gt?: (Scalars['BigInt'] | null);
1300
+ timestamp_lt?: (Scalars['BigInt'] | null);
1301
+ timestamp_gte?: (Scalars['BigInt'] | null);
1302
+ timestamp_lte?: (Scalars['BigInt'] | null);
1303
+ }
1304
+ export interface TransferDepositHistoryPageGenqlSelection {
1305
+ items?: TransferDepositHistoryGenqlSelection;
1306
+ pageInfo?: PageInfoGenqlSelection;
1307
+ totalCount?: boolean | number;
1308
+ __typename?: boolean | number;
1309
+ __scalar?: boolean | number;
1310
+ }
1311
+ export interface TransferDepositHistoryGenqlSelection {
1312
+ id?: boolean | number;
1313
+ optionId?: boolean | number;
1314
+ marketId?: boolean | number;
1315
+ user?: UserGenqlSelection;
1316
+ receiver?: UserGenqlSelection;
1317
+ amount?: boolean | number;
1318
+ collateralAmount?: boolean | number;
1319
+ fee?: boolean | number;
1320
+ transactionHash?: boolean | number;
1321
+ blockNumber?: boolean | number;
1322
+ timestamp?: boolean | number;
1323
+ __typename?: boolean | number;
1324
+ __scalar?: boolean | number;
1325
+ }
1326
+ export interface TransferDepositHistoryFilter {
1327
+ AND?: ((TransferDepositHistoryFilter | null)[] | null);
1328
+ OR?: ((TransferDepositHistoryFilter | null)[] | null);
1329
+ id?: (Scalars['String'] | null);
1330
+ id_not?: (Scalars['String'] | null);
1331
+ id_in?: ((Scalars['String'] | null)[] | null);
1332
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1333
+ id_contains?: (Scalars['String'] | null);
1334
+ id_not_contains?: (Scalars['String'] | null);
1335
+ id_starts_with?: (Scalars['String'] | null);
1336
+ id_ends_with?: (Scalars['String'] | null);
1337
+ id_not_starts_with?: (Scalars['String'] | null);
1338
+ id_not_ends_with?: (Scalars['String'] | null);
1339
+ optionId?: (Scalars['String'] | null);
1340
+ optionId_not?: (Scalars['String'] | null);
1341
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1342
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1343
+ optionId_contains?: (Scalars['String'] | null);
1344
+ optionId_not_contains?: (Scalars['String'] | null);
1345
+ optionId_starts_with?: (Scalars['String'] | null);
1346
+ optionId_ends_with?: (Scalars['String'] | null);
1347
+ optionId_not_starts_with?: (Scalars['String'] | null);
1348
+ optionId_not_ends_with?: (Scalars['String'] | null);
1349
+ marketId?: (Scalars['BigInt'] | null);
1350
+ marketId_not?: (Scalars['BigInt'] | null);
1351
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
1352
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1353
+ marketId_gt?: (Scalars['BigInt'] | null);
1354
+ marketId_lt?: (Scalars['BigInt'] | null);
1355
+ marketId_gte?: (Scalars['BigInt'] | null);
1356
+ marketId_lte?: (Scalars['BigInt'] | null);
1357
+ user?: (Scalars['String'] | null);
1358
+ user_not?: (Scalars['String'] | null);
1359
+ user_in?: ((Scalars['String'] | null)[] | null);
1360
+ user_not_in?: ((Scalars['String'] | null)[] | null);
1361
+ user_contains?: (Scalars['String'] | null);
1362
+ user_not_contains?: (Scalars['String'] | null);
1363
+ user_starts_with?: (Scalars['String'] | null);
1364
+ user_ends_with?: (Scalars['String'] | null);
1365
+ user_not_starts_with?: (Scalars['String'] | null);
1366
+ user_not_ends_with?: (Scalars['String'] | null);
1367
+ receiver?: (Scalars['String'] | null);
1368
+ receiver_not?: (Scalars['String'] | null);
1369
+ receiver_in?: ((Scalars['String'] | null)[] | null);
1370
+ receiver_not_in?: ((Scalars['String'] | null)[] | null);
1371
+ receiver_contains?: (Scalars['String'] | null);
1372
+ receiver_not_contains?: (Scalars['String'] | null);
1373
+ receiver_starts_with?: (Scalars['String'] | null);
1374
+ receiver_ends_with?: (Scalars['String'] | null);
1375
+ receiver_not_starts_with?: (Scalars['String'] | null);
1376
+ receiver_not_ends_with?: (Scalars['String'] | null);
1377
+ amount?: (Scalars['BigInt'] | null);
1378
+ amount_not?: (Scalars['BigInt'] | null);
1379
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1380
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1381
+ amount_gt?: (Scalars['BigInt'] | null);
1382
+ amount_lt?: (Scalars['BigInt'] | null);
1383
+ amount_gte?: (Scalars['BigInt'] | null);
1384
+ amount_lte?: (Scalars['BigInt'] | null);
1385
+ collateralAmount?: (Scalars['BigInt'] | null);
1386
+ collateralAmount_not?: (Scalars['BigInt'] | null);
1387
+ collateralAmount_in?: ((Scalars['BigInt'] | null)[] | null);
1388
+ collateralAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1389
+ collateralAmount_gt?: (Scalars['BigInt'] | null);
1390
+ collateralAmount_lt?: (Scalars['BigInt'] | null);
1391
+ collateralAmount_gte?: (Scalars['BigInt'] | null);
1392
+ collateralAmount_lte?: (Scalars['BigInt'] | null);
1393
+ fee?: (Scalars['BigInt'] | null);
1394
+ fee_not?: (Scalars['BigInt'] | null);
1395
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1396
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1397
+ fee_gt?: (Scalars['BigInt'] | null);
1398
+ fee_lt?: (Scalars['BigInt'] | null);
1399
+ fee_gte?: (Scalars['BigInt'] | null);
1400
+ fee_lte?: (Scalars['BigInt'] | null);
1401
+ transactionHash?: (Scalars['String'] | null);
1402
+ transactionHash_not?: (Scalars['String'] | null);
1403
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
1404
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
1405
+ transactionHash_contains?: (Scalars['String'] | null);
1406
+ transactionHash_not_contains?: (Scalars['String'] | null);
1407
+ transactionHash_starts_with?: (Scalars['String'] | null);
1408
+ transactionHash_ends_with?: (Scalars['String'] | null);
1409
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
1410
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
1411
+ blockNumber?: (Scalars['BigInt'] | null);
1412
+ blockNumber_not?: (Scalars['BigInt'] | null);
1413
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
1414
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
1415
+ blockNumber_gt?: (Scalars['BigInt'] | null);
1416
+ blockNumber_lt?: (Scalars['BigInt'] | null);
1417
+ blockNumber_gte?: (Scalars['BigInt'] | null);
1418
+ blockNumber_lte?: (Scalars['BigInt'] | null);
1419
+ timestamp?: (Scalars['BigInt'] | null);
1420
+ timestamp_not?: (Scalars['BigInt'] | null);
1421
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
1422
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
1423
+ timestamp_gt?: (Scalars['BigInt'] | null);
1424
+ timestamp_lt?: (Scalars['BigInt'] | null);
1425
+ timestamp_gte?: (Scalars['BigInt'] | null);
1426
+ timestamp_lte?: (Scalars['BigInt'] | null);
1427
+ }
1428
+ export interface PurchaseHistoryPageGenqlSelection {
1429
+ items?: PurchaseHistoryGenqlSelection;
1430
+ pageInfo?: PageInfoGenqlSelection;
1431
+ totalCount?: boolean | number;
1432
+ __typename?: boolean | number;
1433
+ __scalar?: boolean | number;
1434
+ }
1435
+ export interface PurchaseHistoryGenqlSelection {
1436
+ id?: boolean | number;
1437
+ optionId?: boolean | number;
1438
+ marketId?: boolean | number;
1439
+ maker?: UserGenqlSelection;
1440
+ receiver?: UserGenqlSelection;
1441
+ purchaser?: boolean | number;
1442
+ amount?: boolean | number;
1443
+ premiumAmount?: boolean | number;
1444
+ fee?: boolean | number;
1445
+ optionShares?: boolean | number;
1446
+ sharesUtilized?: boolean | number;
1447
+ transactionHash?: boolean | number;
1448
+ blockNumber?: boolean | number;
1449
+ timestamp?: boolean | number;
1450
+ __typename?: boolean | number;
1451
+ __scalar?: boolean | number;
1452
+ }
1453
+ export interface PurchaseHistoryFilter {
1454
+ AND?: ((PurchaseHistoryFilter | null)[] | null);
1455
+ OR?: ((PurchaseHistoryFilter | null)[] | null);
1456
+ id?: (Scalars['String'] | null);
1457
+ id_not?: (Scalars['String'] | null);
1458
+ id_in?: ((Scalars['String'] | null)[] | null);
1459
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1460
+ id_contains?: (Scalars['String'] | null);
1461
+ id_not_contains?: (Scalars['String'] | null);
1462
+ id_starts_with?: (Scalars['String'] | null);
1463
+ id_ends_with?: (Scalars['String'] | null);
1464
+ id_not_starts_with?: (Scalars['String'] | null);
1465
+ id_not_ends_with?: (Scalars['String'] | null);
1466
+ optionId?: (Scalars['String'] | null);
1467
+ optionId_not?: (Scalars['String'] | null);
1468
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1469
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1470
+ optionId_contains?: (Scalars['String'] | null);
1471
+ optionId_not_contains?: (Scalars['String'] | null);
1472
+ optionId_starts_with?: (Scalars['String'] | null);
1473
+ optionId_ends_with?: (Scalars['String'] | null);
1474
+ optionId_not_starts_with?: (Scalars['String'] | null);
1475
+ optionId_not_ends_with?: (Scalars['String'] | null);
1476
+ marketId?: (Scalars['BigInt'] | null);
1477
+ marketId_not?: (Scalars['BigInt'] | null);
1478
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
1479
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1480
+ marketId_gt?: (Scalars['BigInt'] | null);
1481
+ marketId_lt?: (Scalars['BigInt'] | null);
1482
+ marketId_gte?: (Scalars['BigInt'] | null);
1483
+ marketId_lte?: (Scalars['BigInt'] | null);
1484
+ maker?: (Scalars['String'] | null);
1485
+ maker_not?: (Scalars['String'] | null);
1486
+ maker_in?: ((Scalars['String'] | null)[] | null);
1487
+ maker_not_in?: ((Scalars['String'] | null)[] | null);
1488
+ maker_contains?: (Scalars['String'] | null);
1489
+ maker_not_contains?: (Scalars['String'] | null);
1490
+ maker_starts_with?: (Scalars['String'] | null);
1491
+ maker_ends_with?: (Scalars['String'] | null);
1492
+ maker_not_starts_with?: (Scalars['String'] | null);
1493
+ maker_not_ends_with?: (Scalars['String'] | null);
1494
+ receiver?: (Scalars['String'] | null);
1495
+ receiver_not?: (Scalars['String'] | null);
1496
+ receiver_in?: ((Scalars['String'] | null)[] | null);
1497
+ receiver_not_in?: ((Scalars['String'] | null)[] | null);
1498
+ receiver_contains?: (Scalars['String'] | null);
1499
+ receiver_not_contains?: (Scalars['String'] | null);
1500
+ receiver_starts_with?: (Scalars['String'] | null);
1501
+ receiver_ends_with?: (Scalars['String'] | null);
1502
+ receiver_not_starts_with?: (Scalars['String'] | null);
1503
+ receiver_not_ends_with?: (Scalars['String'] | null);
1504
+ purchaser?: (Scalars['String'] | null);
1505
+ purchaser_not?: (Scalars['String'] | null);
1506
+ purchaser_in?: ((Scalars['String'] | null)[] | null);
1507
+ purchaser_not_in?: ((Scalars['String'] | null)[] | null);
1508
+ purchaser_contains?: (Scalars['String'] | null);
1509
+ purchaser_not_contains?: (Scalars['String'] | null);
1510
+ purchaser_starts_with?: (Scalars['String'] | null);
1511
+ purchaser_ends_with?: (Scalars['String'] | null);
1512
+ purchaser_not_starts_with?: (Scalars['String'] | null);
1513
+ purchaser_not_ends_with?: (Scalars['String'] | null);
1514
+ amount?: (Scalars['BigInt'] | null);
1515
+ amount_not?: (Scalars['BigInt'] | null);
1516
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1517
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1518
+ amount_gt?: (Scalars['BigInt'] | null);
1519
+ amount_lt?: (Scalars['BigInt'] | null);
1520
+ amount_gte?: (Scalars['BigInt'] | null);
1521
+ amount_lte?: (Scalars['BigInt'] | null);
1522
+ premiumAmount?: (Scalars['BigInt'] | null);
1523
+ premiumAmount_not?: (Scalars['BigInt'] | null);
1524
+ premiumAmount_in?: ((Scalars['BigInt'] | null)[] | null);
1525
+ premiumAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1526
+ premiumAmount_gt?: (Scalars['BigInt'] | null);
1527
+ premiumAmount_lt?: (Scalars['BigInt'] | null);
1528
+ premiumAmount_gte?: (Scalars['BigInt'] | null);
1529
+ premiumAmount_lte?: (Scalars['BigInt'] | null);
1530
+ fee?: (Scalars['BigInt'] | null);
1531
+ fee_not?: (Scalars['BigInt'] | null);
1532
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1533
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1534
+ fee_gt?: (Scalars['BigInt'] | null);
1535
+ fee_lt?: (Scalars['BigInt'] | null);
1536
+ fee_gte?: (Scalars['BigInt'] | null);
1537
+ fee_lte?: (Scalars['BigInt'] | null);
1538
+ optionShares?: (Scalars['BigInt'] | null);
1539
+ optionShares_not?: (Scalars['BigInt'] | null);
1540
+ optionShares_in?: ((Scalars['BigInt'] | null)[] | null);
1541
+ optionShares_not_in?: ((Scalars['BigInt'] | null)[] | null);
1542
+ optionShares_gt?: (Scalars['BigInt'] | null);
1543
+ optionShares_lt?: (Scalars['BigInt'] | null);
1544
+ optionShares_gte?: (Scalars['BigInt'] | null);
1545
+ optionShares_lte?: (Scalars['BigInt'] | null);
1546
+ sharesUtilized?: (Scalars['BigInt'] | null);
1547
+ sharesUtilized_not?: (Scalars['BigInt'] | null);
1548
+ sharesUtilized_in?: ((Scalars['BigInt'] | null)[] | null);
1549
+ sharesUtilized_not_in?: ((Scalars['BigInt'] | null)[] | null);
1550
+ sharesUtilized_gt?: (Scalars['BigInt'] | null);
1551
+ sharesUtilized_lt?: (Scalars['BigInt'] | null);
1552
+ sharesUtilized_gte?: (Scalars['BigInt'] | null);
1553
+ sharesUtilized_lte?: (Scalars['BigInt'] | null);
1554
+ transactionHash?: (Scalars['String'] | null);
1555
+ transactionHash_not?: (Scalars['String'] | null);
1556
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
1557
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
1558
+ transactionHash_contains?: (Scalars['String'] | null);
1559
+ transactionHash_not_contains?: (Scalars['String'] | null);
1560
+ transactionHash_starts_with?: (Scalars['String'] | null);
1561
+ transactionHash_ends_with?: (Scalars['String'] | null);
1562
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
1563
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
1564
+ blockNumber?: (Scalars['BigInt'] | null);
1565
+ blockNumber_not?: (Scalars['BigInt'] | null);
1566
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
1567
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
1568
+ blockNumber_gt?: (Scalars['BigInt'] | null);
1569
+ blockNumber_lt?: (Scalars['BigInt'] | null);
1570
+ blockNumber_gte?: (Scalars['BigInt'] | null);
1571
+ blockNumber_lte?: (Scalars['BigInt'] | null);
1572
+ timestamp?: (Scalars['BigInt'] | null);
1573
+ timestamp_not?: (Scalars['BigInt'] | null);
1574
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
1575
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
1576
+ timestamp_gt?: (Scalars['BigInt'] | null);
1577
+ timestamp_lt?: (Scalars['BigInt'] | null);
1578
+ timestamp_gte?: (Scalars['BigInt'] | null);
1579
+ timestamp_lte?: (Scalars['BigInt'] | null);
1580
+ }
1581
+ export interface ExerciseHistoryPageGenqlSelection {
1582
+ items?: ExerciseHistoryGenqlSelection;
1583
+ pageInfo?: PageInfoGenqlSelection;
1584
+ totalCount?: boolean | number;
1585
+ __typename?: boolean | number;
1586
+ __scalar?: boolean | number;
1587
+ }
1588
+ export interface ExerciseHistoryGenqlSelection {
1589
+ id?: boolean | number;
1590
+ optionId?: boolean | number;
1591
+ marketId?: boolean | number;
1592
+ maker?: UserGenqlSelection;
1593
+ receiver?: UserGenqlSelection;
1594
+ exerciser?: boolean | number;
1595
+ amount?: boolean | number;
1596
+ profitAmount?: boolean | number;
1597
+ fee?: boolean | number;
1598
+ optionTokensBurnt?: boolean | number;
1599
+ sharesUnutilized?: boolean | number;
1600
+ makerLoss?: boolean | number;
1601
+ purchaserProfit?: boolean | number;
1602
+ transactionHash?: boolean | number;
1603
+ blockNumber?: boolean | number;
1604
+ timestamp?: boolean | number;
1605
+ __typename?: boolean | number;
1606
+ __scalar?: boolean | number;
1607
+ }
1608
+ export interface ExerciseHistoryFilter {
1609
+ AND?: ((ExerciseHistoryFilter | null)[] | null);
1610
+ OR?: ((ExerciseHistoryFilter | null)[] | null);
1611
+ id?: (Scalars['String'] | null);
1612
+ id_not?: (Scalars['String'] | null);
1613
+ id_in?: ((Scalars['String'] | null)[] | null);
1614
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1615
+ id_contains?: (Scalars['String'] | null);
1616
+ id_not_contains?: (Scalars['String'] | null);
1617
+ id_starts_with?: (Scalars['String'] | null);
1618
+ id_ends_with?: (Scalars['String'] | null);
1619
+ id_not_starts_with?: (Scalars['String'] | null);
1620
+ id_not_ends_with?: (Scalars['String'] | null);
1621
+ optionId?: (Scalars['String'] | null);
1622
+ optionId_not?: (Scalars['String'] | null);
1623
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1624
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1625
+ optionId_contains?: (Scalars['String'] | null);
1626
+ optionId_not_contains?: (Scalars['String'] | null);
1627
+ optionId_starts_with?: (Scalars['String'] | null);
1628
+ optionId_ends_with?: (Scalars['String'] | null);
1629
+ optionId_not_starts_with?: (Scalars['String'] | null);
1630
+ optionId_not_ends_with?: (Scalars['String'] | null);
1631
+ marketId?: (Scalars['BigInt'] | null);
1632
+ marketId_not?: (Scalars['BigInt'] | null);
1633
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
1634
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1635
+ marketId_gt?: (Scalars['BigInt'] | null);
1636
+ marketId_lt?: (Scalars['BigInt'] | null);
1637
+ marketId_gte?: (Scalars['BigInt'] | null);
1638
+ marketId_lte?: (Scalars['BigInt'] | null);
1639
+ maker?: (Scalars['String'] | null);
1640
+ maker_not?: (Scalars['String'] | null);
1641
+ maker_in?: ((Scalars['String'] | null)[] | null);
1642
+ maker_not_in?: ((Scalars['String'] | null)[] | null);
1643
+ maker_contains?: (Scalars['String'] | null);
1644
+ maker_not_contains?: (Scalars['String'] | null);
1645
+ maker_starts_with?: (Scalars['String'] | null);
1646
+ maker_ends_with?: (Scalars['String'] | null);
1647
+ maker_not_starts_with?: (Scalars['String'] | null);
1648
+ maker_not_ends_with?: (Scalars['String'] | null);
1649
+ receiver?: (Scalars['String'] | null);
1650
+ receiver_not?: (Scalars['String'] | null);
1651
+ receiver_in?: ((Scalars['String'] | null)[] | null);
1652
+ receiver_not_in?: ((Scalars['String'] | null)[] | null);
1653
+ receiver_contains?: (Scalars['String'] | null);
1654
+ receiver_not_contains?: (Scalars['String'] | null);
1655
+ receiver_starts_with?: (Scalars['String'] | null);
1656
+ receiver_ends_with?: (Scalars['String'] | null);
1657
+ receiver_not_starts_with?: (Scalars['String'] | null);
1658
+ receiver_not_ends_with?: (Scalars['String'] | null);
1659
+ exerciser?: (Scalars['String'] | null);
1660
+ exerciser_not?: (Scalars['String'] | null);
1661
+ exerciser_in?: ((Scalars['String'] | null)[] | null);
1662
+ exerciser_not_in?: ((Scalars['String'] | null)[] | null);
1663
+ exerciser_contains?: (Scalars['String'] | null);
1664
+ exerciser_not_contains?: (Scalars['String'] | null);
1665
+ exerciser_starts_with?: (Scalars['String'] | null);
1666
+ exerciser_ends_with?: (Scalars['String'] | null);
1667
+ exerciser_not_starts_with?: (Scalars['String'] | null);
1668
+ exerciser_not_ends_with?: (Scalars['String'] | null);
1669
+ amount?: (Scalars['BigInt'] | null);
1670
+ amount_not?: (Scalars['BigInt'] | null);
1671
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1672
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1673
+ amount_gt?: (Scalars['BigInt'] | null);
1674
+ amount_lt?: (Scalars['BigInt'] | null);
1675
+ amount_gte?: (Scalars['BigInt'] | null);
1676
+ amount_lte?: (Scalars['BigInt'] | null);
1677
+ profitAmount?: (Scalars['BigInt'] | null);
1678
+ profitAmount_not?: (Scalars['BigInt'] | null);
1679
+ profitAmount_in?: ((Scalars['BigInt'] | null)[] | null);
1680
+ profitAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1681
+ profitAmount_gt?: (Scalars['BigInt'] | null);
1682
+ profitAmount_lt?: (Scalars['BigInt'] | null);
1683
+ profitAmount_gte?: (Scalars['BigInt'] | null);
1684
+ profitAmount_lte?: (Scalars['BigInt'] | null);
1685
+ fee?: (Scalars['BigInt'] | null);
1686
+ fee_not?: (Scalars['BigInt'] | null);
1687
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1688
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1689
+ fee_gt?: (Scalars['BigInt'] | null);
1690
+ fee_lt?: (Scalars['BigInt'] | null);
1691
+ fee_gte?: (Scalars['BigInt'] | null);
1692
+ fee_lte?: (Scalars['BigInt'] | null);
1693
+ optionTokensBurnt?: (Scalars['BigInt'] | null);
1694
+ optionTokensBurnt_not?: (Scalars['BigInt'] | null);
1695
+ optionTokensBurnt_in?: ((Scalars['BigInt'] | null)[] | null);
1696
+ optionTokensBurnt_not_in?: ((Scalars['BigInt'] | null)[] | null);
1697
+ optionTokensBurnt_gt?: (Scalars['BigInt'] | null);
1698
+ optionTokensBurnt_lt?: (Scalars['BigInt'] | null);
1699
+ optionTokensBurnt_gte?: (Scalars['BigInt'] | null);
1700
+ optionTokensBurnt_lte?: (Scalars['BigInt'] | null);
1701
+ sharesUnutilized?: (Scalars['BigInt'] | null);
1702
+ sharesUnutilized_not?: (Scalars['BigInt'] | null);
1703
+ sharesUnutilized_in?: ((Scalars['BigInt'] | null)[] | null);
1704
+ sharesUnutilized_not_in?: ((Scalars['BigInt'] | null)[] | null);
1705
+ sharesUnutilized_gt?: (Scalars['BigInt'] | null);
1706
+ sharesUnutilized_lt?: (Scalars['BigInt'] | null);
1707
+ sharesUnutilized_gte?: (Scalars['BigInt'] | null);
1708
+ sharesUnutilized_lte?: (Scalars['BigInt'] | null);
1709
+ makerLoss?: (Scalars['BigInt'] | null);
1710
+ makerLoss_not?: (Scalars['BigInt'] | null);
1711
+ makerLoss_in?: ((Scalars['BigInt'] | null)[] | null);
1712
+ makerLoss_not_in?: ((Scalars['BigInt'] | null)[] | null);
1713
+ makerLoss_gt?: (Scalars['BigInt'] | null);
1714
+ makerLoss_lt?: (Scalars['BigInt'] | null);
1715
+ makerLoss_gte?: (Scalars['BigInt'] | null);
1716
+ makerLoss_lte?: (Scalars['BigInt'] | null);
1717
+ purchaserProfit?: (Scalars['BigInt'] | null);
1718
+ purchaserProfit_not?: (Scalars['BigInt'] | null);
1719
+ purchaserProfit_in?: ((Scalars['BigInt'] | null)[] | null);
1720
+ purchaserProfit_not_in?: ((Scalars['BigInt'] | null)[] | null);
1721
+ purchaserProfit_gt?: (Scalars['BigInt'] | null);
1722
+ purchaserProfit_lt?: (Scalars['BigInt'] | null);
1723
+ purchaserProfit_gte?: (Scalars['BigInt'] | null);
1724
+ purchaserProfit_lte?: (Scalars['BigInt'] | null);
1725
+ transactionHash?: (Scalars['String'] | null);
1726
+ transactionHash_not?: (Scalars['String'] | null);
1727
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
1728
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
1729
+ transactionHash_contains?: (Scalars['String'] | null);
1730
+ transactionHash_not_contains?: (Scalars['String'] | null);
1731
+ transactionHash_starts_with?: (Scalars['String'] | null);
1732
+ transactionHash_ends_with?: (Scalars['String'] | null);
1733
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
1734
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
1735
+ blockNumber?: (Scalars['BigInt'] | null);
1736
+ blockNumber_not?: (Scalars['BigInt'] | null);
1737
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
1738
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
1739
+ blockNumber_gt?: (Scalars['BigInt'] | null);
1740
+ blockNumber_lt?: (Scalars['BigInt'] | null);
1741
+ blockNumber_gte?: (Scalars['BigInt'] | null);
1742
+ blockNumber_lte?: (Scalars['BigInt'] | null);
1743
+ timestamp?: (Scalars['BigInt'] | null);
1744
+ timestamp_not?: (Scalars['BigInt'] | null);
1745
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
1746
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
1747
+ timestamp_gt?: (Scalars['BigInt'] | null);
1748
+ timestamp_lt?: (Scalars['BigInt'] | null);
1749
+ timestamp_gte?: (Scalars['BigInt'] | null);
1750
+ timestamp_lte?: (Scalars['BigInt'] | null);
1751
+ }
1752
+ export interface UnwindHistoryPageGenqlSelection {
1753
+ items?: UnwindHistoryGenqlSelection;
1754
+ pageInfo?: PageInfoGenqlSelection;
1755
+ totalCount?: boolean | number;
1756
+ __typename?: boolean | number;
1757
+ __scalar?: boolean | number;
1758
+ }
1759
+ export interface UnwindHistoryGenqlSelection {
1760
+ id?: boolean | number;
1761
+ optionId?: boolean | number;
1762
+ marketId?: boolean | number;
1763
+ user?: UserGenqlSelection;
1764
+ receiver?: UserGenqlSelection;
1765
+ amount?: boolean | number;
1766
+ collateralTokensToReturn?: boolean | number;
1767
+ collateralSharesToBurn?: boolean | number;
1768
+ optionSharesToBurn?: boolean | number;
1769
+ transactionHash?: boolean | number;
1770
+ blockNumber?: boolean | number;
1771
+ timestamp?: boolean | number;
1772
+ __typename?: boolean | number;
1773
+ __scalar?: boolean | number;
1774
+ }
1775
+ export interface UnwindHistoryFilter {
1776
+ AND?: ((UnwindHistoryFilter | null)[] | null);
1777
+ OR?: ((UnwindHistoryFilter | null)[] | null);
1778
+ id?: (Scalars['String'] | null);
1779
+ id_not?: (Scalars['String'] | null);
1780
+ id_in?: ((Scalars['String'] | null)[] | null);
1781
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1782
+ id_contains?: (Scalars['String'] | null);
1783
+ id_not_contains?: (Scalars['String'] | null);
1784
+ id_starts_with?: (Scalars['String'] | null);
1785
+ id_ends_with?: (Scalars['String'] | null);
1786
+ id_not_starts_with?: (Scalars['String'] | null);
1787
+ id_not_ends_with?: (Scalars['String'] | null);
1788
+ optionId?: (Scalars['String'] | null);
1789
+ optionId_not?: (Scalars['String'] | null);
1790
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1791
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1792
+ optionId_contains?: (Scalars['String'] | null);
1793
+ optionId_not_contains?: (Scalars['String'] | null);
1794
+ optionId_starts_with?: (Scalars['String'] | null);
1795
+ optionId_ends_with?: (Scalars['String'] | null);
1796
+ optionId_not_starts_with?: (Scalars['String'] | null);
1797
+ optionId_not_ends_with?: (Scalars['String'] | null);
1798
+ marketId?: (Scalars['BigInt'] | null);
1799
+ marketId_not?: (Scalars['BigInt'] | null);
1800
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
1801
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1802
+ marketId_gt?: (Scalars['BigInt'] | null);
1803
+ marketId_lt?: (Scalars['BigInt'] | null);
1804
+ marketId_gte?: (Scalars['BigInt'] | null);
1805
+ marketId_lte?: (Scalars['BigInt'] | null);
1806
+ user?: (Scalars['String'] | null);
1807
+ user_not?: (Scalars['String'] | null);
1808
+ user_in?: ((Scalars['String'] | null)[] | null);
1809
+ user_not_in?: ((Scalars['String'] | null)[] | null);
1810
+ user_contains?: (Scalars['String'] | null);
1811
+ user_not_contains?: (Scalars['String'] | null);
1812
+ user_starts_with?: (Scalars['String'] | null);
1813
+ user_ends_with?: (Scalars['String'] | null);
1814
+ user_not_starts_with?: (Scalars['String'] | null);
1815
+ user_not_ends_with?: (Scalars['String'] | null);
1816
+ receiver?: (Scalars['String'] | null);
1817
+ receiver_not?: (Scalars['String'] | null);
1818
+ receiver_in?: ((Scalars['String'] | null)[] | null);
1819
+ receiver_not_in?: ((Scalars['String'] | null)[] | null);
1820
+ receiver_contains?: (Scalars['String'] | null);
1821
+ receiver_not_contains?: (Scalars['String'] | null);
1822
+ receiver_starts_with?: (Scalars['String'] | null);
1823
+ receiver_ends_with?: (Scalars['String'] | null);
1824
+ receiver_not_starts_with?: (Scalars['String'] | null);
1825
+ receiver_not_ends_with?: (Scalars['String'] | null);
1826
+ amount?: (Scalars['BigInt'] | null);
1827
+ amount_not?: (Scalars['BigInt'] | null);
1828
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1829
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1830
+ amount_gt?: (Scalars['BigInt'] | null);
1831
+ amount_lt?: (Scalars['BigInt'] | null);
1832
+ amount_gte?: (Scalars['BigInt'] | null);
1833
+ amount_lte?: (Scalars['BigInt'] | null);
1834
+ collateralTokensToReturn?: (Scalars['BigInt'] | null);
1835
+ collateralTokensToReturn_not?: (Scalars['BigInt'] | null);
1836
+ collateralTokensToReturn_in?: ((Scalars['BigInt'] | null)[] | null);
1837
+ collateralTokensToReturn_not_in?: ((Scalars['BigInt'] | null)[] | null);
1838
+ collateralTokensToReturn_gt?: (Scalars['BigInt'] | null);
1839
+ collateralTokensToReturn_lt?: (Scalars['BigInt'] | null);
1840
+ collateralTokensToReturn_gte?: (Scalars['BigInt'] | null);
1841
+ collateralTokensToReturn_lte?: (Scalars['BigInt'] | null);
1842
+ collateralSharesToBurn?: (Scalars['BigInt'] | null);
1843
+ collateralSharesToBurn_not?: (Scalars['BigInt'] | null);
1844
+ collateralSharesToBurn_in?: ((Scalars['BigInt'] | null)[] | null);
1845
+ collateralSharesToBurn_not_in?: ((Scalars['BigInt'] | null)[] | null);
1846
+ collateralSharesToBurn_gt?: (Scalars['BigInt'] | null);
1847
+ collateralSharesToBurn_lt?: (Scalars['BigInt'] | null);
1848
+ collateralSharesToBurn_gte?: (Scalars['BigInt'] | null);
1849
+ collateralSharesToBurn_lte?: (Scalars['BigInt'] | null);
1850
+ optionSharesToBurn?: (Scalars['BigInt'] | null);
1851
+ optionSharesToBurn_not?: (Scalars['BigInt'] | null);
1852
+ optionSharesToBurn_in?: ((Scalars['BigInt'] | null)[] | null);
1853
+ optionSharesToBurn_not_in?: ((Scalars['BigInt'] | null)[] | null);
1854
+ optionSharesToBurn_gt?: (Scalars['BigInt'] | null);
1855
+ optionSharesToBurn_lt?: (Scalars['BigInt'] | null);
1856
+ optionSharesToBurn_gte?: (Scalars['BigInt'] | null);
1857
+ optionSharesToBurn_lte?: (Scalars['BigInt'] | null);
1858
+ transactionHash?: (Scalars['String'] | null);
1859
+ transactionHash_not?: (Scalars['String'] | null);
1860
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
1861
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
1862
+ transactionHash_contains?: (Scalars['String'] | null);
1863
+ transactionHash_not_contains?: (Scalars['String'] | null);
1864
+ transactionHash_starts_with?: (Scalars['String'] | null);
1865
+ transactionHash_ends_with?: (Scalars['String'] | null);
1866
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
1867
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
1868
+ blockNumber?: (Scalars['BigInt'] | null);
1869
+ blockNumber_not?: (Scalars['BigInt'] | null);
1870
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
1871
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
1872
+ blockNumber_gt?: (Scalars['BigInt'] | null);
1873
+ blockNumber_lt?: (Scalars['BigInt'] | null);
1874
+ blockNumber_gte?: (Scalars['BigInt'] | null);
1875
+ blockNumber_lte?: (Scalars['BigInt'] | null);
1876
+ timestamp?: (Scalars['BigInt'] | null);
1877
+ timestamp_not?: (Scalars['BigInt'] | null);
1878
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
1879
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
1880
+ timestamp_gt?: (Scalars['BigInt'] | null);
1881
+ timestamp_lt?: (Scalars['BigInt'] | null);
1882
+ timestamp_gte?: (Scalars['BigInt'] | null);
1883
+ timestamp_lte?: (Scalars['BigInt'] | null);
1884
+ }
1885
+ export interface TransferPositionHistoryPageGenqlSelection {
1886
+ items?: TransferPositionHistoryGenqlSelection;
1887
+ pageInfo?: PageInfoGenqlSelection;
1888
+ totalCount?: boolean | number;
1889
+ __typename?: boolean | number;
1890
+ __scalar?: boolean | number;
1891
+ }
1892
+ export interface TransferPositionHistoryGenqlSelection {
1893
+ id?: boolean | number;
1894
+ optionId?: boolean | number;
1895
+ marketId?: boolean | number;
1896
+ maker?: UserGenqlSelection;
1897
+ receiver?: UserGenqlSelection;
1898
+ purchaser?: boolean | number;
1899
+ amount?: boolean | number;
1900
+ premiumAmount?: boolean | number;
1901
+ fee?: boolean | number;
1902
+ optionShares?: boolean | number;
1903
+ sharesUtilized?: boolean | number;
1904
+ transactionHash?: boolean | number;
1905
+ blockNumber?: boolean | number;
1906
+ timestamp?: boolean | number;
1907
+ __typename?: boolean | number;
1908
+ __scalar?: boolean | number;
1909
+ }
1910
+ export interface TransferPositionHistoryFilter {
1911
+ AND?: ((TransferPositionHistoryFilter | null)[] | null);
1912
+ OR?: ((TransferPositionHistoryFilter | null)[] | null);
1913
+ id?: (Scalars['String'] | null);
1914
+ id_not?: (Scalars['String'] | null);
1915
+ id_in?: ((Scalars['String'] | null)[] | null);
1916
+ id_not_in?: ((Scalars['String'] | null)[] | null);
1917
+ id_contains?: (Scalars['String'] | null);
1918
+ id_not_contains?: (Scalars['String'] | null);
1919
+ id_starts_with?: (Scalars['String'] | null);
1920
+ id_ends_with?: (Scalars['String'] | null);
1921
+ id_not_starts_with?: (Scalars['String'] | null);
1922
+ id_not_ends_with?: (Scalars['String'] | null);
1923
+ optionId?: (Scalars['String'] | null);
1924
+ optionId_not?: (Scalars['String'] | null);
1925
+ optionId_in?: ((Scalars['String'] | null)[] | null);
1926
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
1927
+ optionId_contains?: (Scalars['String'] | null);
1928
+ optionId_not_contains?: (Scalars['String'] | null);
1929
+ optionId_starts_with?: (Scalars['String'] | null);
1930
+ optionId_ends_with?: (Scalars['String'] | null);
1931
+ optionId_not_starts_with?: (Scalars['String'] | null);
1932
+ optionId_not_ends_with?: (Scalars['String'] | null);
1933
+ marketId?: (Scalars['BigInt'] | null);
1934
+ marketId_not?: (Scalars['BigInt'] | null);
1935
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
1936
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
1937
+ marketId_gt?: (Scalars['BigInt'] | null);
1938
+ marketId_lt?: (Scalars['BigInt'] | null);
1939
+ marketId_gte?: (Scalars['BigInt'] | null);
1940
+ marketId_lte?: (Scalars['BigInt'] | null);
1941
+ maker?: (Scalars['String'] | null);
1942
+ maker_not?: (Scalars['String'] | null);
1943
+ maker_in?: ((Scalars['String'] | null)[] | null);
1944
+ maker_not_in?: ((Scalars['String'] | null)[] | null);
1945
+ maker_contains?: (Scalars['String'] | null);
1946
+ maker_not_contains?: (Scalars['String'] | null);
1947
+ maker_starts_with?: (Scalars['String'] | null);
1948
+ maker_ends_with?: (Scalars['String'] | null);
1949
+ maker_not_starts_with?: (Scalars['String'] | null);
1950
+ maker_not_ends_with?: (Scalars['String'] | null);
1951
+ receiver?: (Scalars['String'] | null);
1952
+ receiver_not?: (Scalars['String'] | null);
1953
+ receiver_in?: ((Scalars['String'] | null)[] | null);
1954
+ receiver_not_in?: ((Scalars['String'] | null)[] | null);
1955
+ receiver_contains?: (Scalars['String'] | null);
1956
+ receiver_not_contains?: (Scalars['String'] | null);
1957
+ receiver_starts_with?: (Scalars['String'] | null);
1958
+ receiver_ends_with?: (Scalars['String'] | null);
1959
+ receiver_not_starts_with?: (Scalars['String'] | null);
1960
+ receiver_not_ends_with?: (Scalars['String'] | null);
1961
+ purchaser?: (Scalars['String'] | null);
1962
+ purchaser_not?: (Scalars['String'] | null);
1963
+ purchaser_in?: ((Scalars['String'] | null)[] | null);
1964
+ purchaser_not_in?: ((Scalars['String'] | null)[] | null);
1965
+ purchaser_contains?: (Scalars['String'] | null);
1966
+ purchaser_not_contains?: (Scalars['String'] | null);
1967
+ purchaser_starts_with?: (Scalars['String'] | null);
1968
+ purchaser_ends_with?: (Scalars['String'] | null);
1969
+ purchaser_not_starts_with?: (Scalars['String'] | null);
1970
+ purchaser_not_ends_with?: (Scalars['String'] | null);
1971
+ amount?: (Scalars['BigInt'] | null);
1972
+ amount_not?: (Scalars['BigInt'] | null);
1973
+ amount_in?: ((Scalars['BigInt'] | null)[] | null);
1974
+ amount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1975
+ amount_gt?: (Scalars['BigInt'] | null);
1976
+ amount_lt?: (Scalars['BigInt'] | null);
1977
+ amount_gte?: (Scalars['BigInt'] | null);
1978
+ amount_lte?: (Scalars['BigInt'] | null);
1979
+ premiumAmount?: (Scalars['BigInt'] | null);
1980
+ premiumAmount_not?: (Scalars['BigInt'] | null);
1981
+ premiumAmount_in?: ((Scalars['BigInt'] | null)[] | null);
1982
+ premiumAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
1983
+ premiumAmount_gt?: (Scalars['BigInt'] | null);
1984
+ premiumAmount_lt?: (Scalars['BigInt'] | null);
1985
+ premiumAmount_gte?: (Scalars['BigInt'] | null);
1986
+ premiumAmount_lte?: (Scalars['BigInt'] | null);
1987
+ fee?: (Scalars['BigInt'] | null);
1988
+ fee_not?: (Scalars['BigInt'] | null);
1989
+ fee_in?: ((Scalars['BigInt'] | null)[] | null);
1990
+ fee_not_in?: ((Scalars['BigInt'] | null)[] | null);
1991
+ fee_gt?: (Scalars['BigInt'] | null);
1992
+ fee_lt?: (Scalars['BigInt'] | null);
1993
+ fee_gte?: (Scalars['BigInt'] | null);
1994
+ fee_lte?: (Scalars['BigInt'] | null);
1995
+ optionShares?: (Scalars['BigInt'] | null);
1996
+ optionShares_not?: (Scalars['BigInt'] | null);
1997
+ optionShares_in?: ((Scalars['BigInt'] | null)[] | null);
1998
+ optionShares_not_in?: ((Scalars['BigInt'] | null)[] | null);
1999
+ optionShares_gt?: (Scalars['BigInt'] | null);
2000
+ optionShares_lt?: (Scalars['BigInt'] | null);
2001
+ optionShares_gte?: (Scalars['BigInt'] | null);
2002
+ optionShares_lte?: (Scalars['BigInt'] | null);
2003
+ sharesUtilized?: (Scalars['BigInt'] | null);
2004
+ sharesUtilized_not?: (Scalars['BigInt'] | null);
2005
+ sharesUtilized_in?: ((Scalars['BigInt'] | null)[] | null);
2006
+ sharesUtilized_not_in?: ((Scalars['BigInt'] | null)[] | null);
2007
+ sharesUtilized_gt?: (Scalars['BigInt'] | null);
2008
+ sharesUtilized_lt?: (Scalars['BigInt'] | null);
2009
+ sharesUtilized_gte?: (Scalars['BigInt'] | null);
2010
+ sharesUtilized_lte?: (Scalars['BigInt'] | null);
2011
+ transactionHash?: (Scalars['String'] | null);
2012
+ transactionHash_not?: (Scalars['String'] | null);
2013
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
2014
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
2015
+ transactionHash_contains?: (Scalars['String'] | null);
2016
+ transactionHash_not_contains?: (Scalars['String'] | null);
2017
+ transactionHash_starts_with?: (Scalars['String'] | null);
2018
+ transactionHash_ends_with?: (Scalars['String'] | null);
2019
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
2020
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
2021
+ blockNumber?: (Scalars['BigInt'] | null);
2022
+ blockNumber_not?: (Scalars['BigInt'] | null);
2023
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
2024
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
2025
+ blockNumber_gt?: (Scalars['BigInt'] | null);
2026
+ blockNumber_lt?: (Scalars['BigInt'] | null);
2027
+ blockNumber_gte?: (Scalars['BigInt'] | null);
2028
+ blockNumber_lte?: (Scalars['BigInt'] | null);
2029
+ timestamp?: (Scalars['BigInt'] | null);
2030
+ timestamp_not?: (Scalars['BigInt'] | null);
2031
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
2032
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
2033
+ timestamp_gt?: (Scalars['BigInt'] | null);
2034
+ timestamp_lt?: (Scalars['BigInt'] | null);
2035
+ timestamp_gte?: (Scalars['BigInt'] | null);
2036
+ timestamp_lte?: (Scalars['BigInt'] | null);
2037
+ }
2038
+ export interface SettlementHistoryPageGenqlSelection {
2039
+ items?: SettlementHistoryGenqlSelection;
2040
+ pageInfo?: PageInfoGenqlSelection;
2041
+ totalCount?: boolean | number;
2042
+ __typename?: boolean | number;
2043
+ __scalar?: boolean | number;
2044
+ }
2045
+ export interface SettlementHistoryGenqlSelection {
2046
+ id?: boolean | number;
2047
+ optionId?: boolean | number;
2048
+ marketId?: boolean | number;
2049
+ user?: UserGenqlSelection;
2050
+ totalCollateralSettled?: boolean | number;
2051
+ transactionHash?: boolean | number;
2052
+ blockNumber?: boolean | number;
2053
+ timestamp?: boolean | number;
2054
+ __typename?: boolean | number;
2055
+ __scalar?: boolean | number;
2056
+ }
2057
+ export interface SettlementHistoryFilter {
2058
+ AND?: ((SettlementHistoryFilter | null)[] | null);
2059
+ OR?: ((SettlementHistoryFilter | null)[] | null);
2060
+ id?: (Scalars['String'] | null);
2061
+ id_not?: (Scalars['String'] | null);
2062
+ id_in?: ((Scalars['String'] | null)[] | null);
2063
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2064
+ id_contains?: (Scalars['String'] | null);
2065
+ id_not_contains?: (Scalars['String'] | null);
2066
+ id_starts_with?: (Scalars['String'] | null);
2067
+ id_ends_with?: (Scalars['String'] | null);
2068
+ id_not_starts_with?: (Scalars['String'] | null);
2069
+ id_not_ends_with?: (Scalars['String'] | null);
2070
+ optionId?: (Scalars['String'] | null);
2071
+ optionId_not?: (Scalars['String'] | null);
2072
+ optionId_in?: ((Scalars['String'] | null)[] | null);
2073
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
2074
+ optionId_contains?: (Scalars['String'] | null);
2075
+ optionId_not_contains?: (Scalars['String'] | null);
2076
+ optionId_starts_with?: (Scalars['String'] | null);
2077
+ optionId_ends_with?: (Scalars['String'] | null);
2078
+ optionId_not_starts_with?: (Scalars['String'] | null);
2079
+ optionId_not_ends_with?: (Scalars['String'] | null);
2080
+ marketId?: (Scalars['BigInt'] | null);
2081
+ marketId_not?: (Scalars['BigInt'] | null);
2082
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
2083
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
2084
+ marketId_gt?: (Scalars['BigInt'] | null);
2085
+ marketId_lt?: (Scalars['BigInt'] | null);
2086
+ marketId_gte?: (Scalars['BigInt'] | null);
2087
+ marketId_lte?: (Scalars['BigInt'] | null);
2088
+ user?: (Scalars['String'] | null);
2089
+ user_not?: (Scalars['String'] | null);
2090
+ user_in?: ((Scalars['String'] | null)[] | null);
2091
+ user_not_in?: ((Scalars['String'] | null)[] | null);
2092
+ user_contains?: (Scalars['String'] | null);
2093
+ user_not_contains?: (Scalars['String'] | null);
2094
+ user_starts_with?: (Scalars['String'] | null);
2095
+ user_ends_with?: (Scalars['String'] | null);
2096
+ user_not_starts_with?: (Scalars['String'] | null);
2097
+ user_not_ends_with?: (Scalars['String'] | null);
2098
+ totalCollateralSettled?: (Scalars['BigInt'] | null);
2099
+ totalCollateralSettled_not?: (Scalars['BigInt'] | null);
2100
+ totalCollateralSettled_in?: ((Scalars['BigInt'] | null)[] | null);
2101
+ totalCollateralSettled_not_in?: ((Scalars['BigInt'] | null)[] | null);
2102
+ totalCollateralSettled_gt?: (Scalars['BigInt'] | null);
2103
+ totalCollateralSettled_lt?: (Scalars['BigInt'] | null);
2104
+ totalCollateralSettled_gte?: (Scalars['BigInt'] | null);
2105
+ totalCollateralSettled_lte?: (Scalars['BigInt'] | null);
2106
+ transactionHash?: (Scalars['String'] | null);
2107
+ transactionHash_not?: (Scalars['String'] | null);
2108
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
2109
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
2110
+ transactionHash_contains?: (Scalars['String'] | null);
2111
+ transactionHash_not_contains?: (Scalars['String'] | null);
2112
+ transactionHash_starts_with?: (Scalars['String'] | null);
2113
+ transactionHash_ends_with?: (Scalars['String'] | null);
2114
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
2115
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
2116
+ blockNumber?: (Scalars['BigInt'] | null);
2117
+ blockNumber_not?: (Scalars['BigInt'] | null);
2118
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
2119
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
2120
+ blockNumber_gt?: (Scalars['BigInt'] | null);
2121
+ blockNumber_lt?: (Scalars['BigInt'] | null);
2122
+ blockNumber_gte?: (Scalars['BigInt'] | null);
2123
+ blockNumber_lte?: (Scalars['BigInt'] | null);
2124
+ timestamp?: (Scalars['BigInt'] | null);
2125
+ timestamp_not?: (Scalars['BigInt'] | null);
2126
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
2127
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
2128
+ timestamp_gt?: (Scalars['BigInt'] | null);
2129
+ timestamp_lt?: (Scalars['BigInt'] | null);
2130
+ timestamp_gte?: (Scalars['BigInt'] | null);
2131
+ timestamp_lte?: (Scalars['BigInt'] | null);
2132
+ }
2133
+ export interface OptionMarketFilter {
2134
+ AND?: ((OptionMarketFilter | null)[] | null);
2135
+ OR?: ((OptionMarketFilter | null)[] | null);
2136
+ id?: (Scalars['String'] | null);
2137
+ id_not?: (Scalars['String'] | null);
2138
+ id_in?: ((Scalars['String'] | null)[] | null);
2139
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2140
+ id_contains?: (Scalars['String'] | null);
2141
+ id_not_contains?: (Scalars['String'] | null);
2142
+ id_starts_with?: (Scalars['String'] | null);
2143
+ id_ends_with?: (Scalars['String'] | null);
2144
+ id_not_starts_with?: (Scalars['String'] | null);
2145
+ id_not_ends_with?: (Scalars['String'] | null);
2146
+ globalId?: (Scalars['String'] | null);
2147
+ globalId_not?: (Scalars['String'] | null);
2148
+ globalId_in?: ((Scalars['String'] | null)[] | null);
2149
+ globalId_not_in?: ((Scalars['String'] | null)[] | null);
2150
+ globalId_contains?: (Scalars['String'] | null);
2151
+ globalId_not_contains?: (Scalars['String'] | null);
2152
+ globalId_starts_with?: (Scalars['String'] | null);
2153
+ globalId_ends_with?: (Scalars['String'] | null);
2154
+ globalId_not_starts_with?: (Scalars['String'] | null);
2155
+ globalId_not_ends_with?: (Scalars['String'] | null);
2156
+ marketId?: (Scalars['BigInt'] | null);
2157
+ marketId_not?: (Scalars['BigInt'] | null);
2158
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
2159
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
2160
+ marketId_gt?: (Scalars['BigInt'] | null);
2161
+ marketId_lt?: (Scalars['BigInt'] | null);
2162
+ marketId_gte?: (Scalars['BigInt'] | null);
2163
+ marketId_lte?: (Scalars['BigInt'] | null);
2164
+ callToken?: (Scalars['String'] | null);
2165
+ callToken_not?: (Scalars['String'] | null);
2166
+ callToken_in?: ((Scalars['String'] | null)[] | null);
2167
+ callToken_not_in?: ((Scalars['String'] | null)[] | null);
2168
+ callToken_contains?: (Scalars['String'] | null);
2169
+ callToken_not_contains?: (Scalars['String'] | null);
2170
+ callToken_starts_with?: (Scalars['String'] | null);
2171
+ callToken_ends_with?: (Scalars['String'] | null);
2172
+ callToken_not_starts_with?: (Scalars['String'] | null);
2173
+ callToken_not_ends_with?: (Scalars['String'] | null);
2174
+ putToken?: (Scalars['String'] | null);
2175
+ putToken_not?: (Scalars['String'] | null);
2176
+ putToken_in?: ((Scalars['String'] | null)[] | null);
2177
+ putToken_not_in?: ((Scalars['String'] | null)[] | null);
2178
+ putToken_contains?: (Scalars['String'] | null);
2179
+ putToken_not_contains?: (Scalars['String'] | null);
2180
+ putToken_starts_with?: (Scalars['String'] | null);
2181
+ putToken_ends_with?: (Scalars['String'] | null);
2182
+ putToken_not_starts_with?: (Scalars['String'] | null);
2183
+ putToken_not_ends_with?: (Scalars['String'] | null);
2184
+ expiry?: (Scalars['BigInt'] | null);
2185
+ expiry_not?: (Scalars['BigInt'] | null);
2186
+ expiry_in?: ((Scalars['BigInt'] | null)[] | null);
2187
+ expiry_not_in?: ((Scalars['BigInt'] | null)[] | null);
2188
+ expiry_gt?: (Scalars['BigInt'] | null);
2189
+ expiry_lt?: (Scalars['BigInt'] | null);
2190
+ expiry_gte?: (Scalars['BigInt'] | null);
2191
+ expiry_lte?: (Scalars['BigInt'] | null);
2192
+ maxTTL?: (Scalars['BigInt'] | null);
2193
+ maxTTL_not?: (Scalars['BigInt'] | null);
2194
+ maxTTL_in?: ((Scalars['BigInt'] | null)[] | null);
2195
+ maxTTL_not_in?: ((Scalars['BigInt'] | null)[] | null);
2196
+ maxTTL_gt?: (Scalars['BigInt'] | null);
2197
+ maxTTL_lt?: (Scalars['BigInt'] | null);
2198
+ maxTTL_gte?: (Scalars['BigInt'] | null);
2199
+ maxTTL_lte?: (Scalars['BigInt'] | null);
2200
+ strategy?: (Scalars['String'] | null);
2201
+ strategy_not?: (Scalars['String'] | null);
2202
+ strategy_in?: ((Scalars['String'] | null)[] | null);
2203
+ strategy_not_in?: ((Scalars['String'] | null)[] | null);
2204
+ strategy_contains?: (Scalars['String'] | null);
2205
+ strategy_not_contains?: (Scalars['String'] | null);
2206
+ strategy_starts_with?: (Scalars['String'] | null);
2207
+ strategy_ends_with?: (Scalars['String'] | null);
2208
+ strategy_not_starts_with?: (Scalars['String'] | null);
2209
+ strategy_not_ends_with?: (Scalars['String'] | null);
2210
+ collateralToken?: (Scalars['String'] | null);
2211
+ collateralToken_not?: (Scalars['String'] | null);
2212
+ collateralToken_in?: ((Scalars['String'] | null)[] | null);
2213
+ collateralToken_not_in?: ((Scalars['String'] | null)[] | null);
2214
+ collateralToken_contains?: (Scalars['String'] | null);
2215
+ collateralToken_not_contains?: (Scalars['String'] | null);
2216
+ collateralToken_starts_with?: (Scalars['String'] | null);
2217
+ collateralToken_ends_with?: (Scalars['String'] | null);
2218
+ collateralToken_not_starts_with?: (Scalars['String'] | null);
2219
+ collateralToken_not_ends_with?: (Scalars['String'] | null);
2220
+ totalCollateral?: (Scalars['BigInt'] | null);
2221
+ totalCollateral_not?: (Scalars['BigInt'] | null);
2222
+ totalCollateral_in?: ((Scalars['BigInt'] | null)[] | null);
2223
+ totalCollateral_not_in?: ((Scalars['BigInt'] | null)[] | null);
2224
+ totalCollateral_gt?: (Scalars['BigInt'] | null);
2225
+ totalCollateral_lt?: (Scalars['BigInt'] | null);
2226
+ totalCollateral_gte?: (Scalars['BigInt'] | null);
2227
+ totalCollateral_lte?: (Scalars['BigInt'] | null);
2228
+ totalCollateralAmount?: (Scalars['BigInt'] | null);
2229
+ totalCollateralAmount_not?: (Scalars['BigInt'] | null);
2230
+ totalCollateralAmount_in?: ((Scalars['BigInt'] | null)[] | null);
2231
+ totalCollateralAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
2232
+ totalCollateralAmount_gt?: (Scalars['BigInt'] | null);
2233
+ totalCollateralAmount_lt?: (Scalars['BigInt'] | null);
2234
+ totalCollateralAmount_gte?: (Scalars['BigInt'] | null);
2235
+ totalCollateralAmount_lte?: (Scalars['BigInt'] | null);
2236
+ protocolFees?: (Scalars['BigInt'] | null);
2237
+ protocolFees_not?: (Scalars['BigInt'] | null);
2238
+ protocolFees_in?: ((Scalars['BigInt'] | null)[] | null);
2239
+ protocolFees_not_in?: ((Scalars['BigInt'] | null)[] | null);
2240
+ protocolFees_gt?: (Scalars['BigInt'] | null);
2241
+ protocolFees_lt?: (Scalars['BigInt'] | null);
2242
+ protocolFees_gte?: (Scalars['BigInt'] | null);
2243
+ protocolFees_lte?: (Scalars['BigInt'] | null);
2244
+ createdAt?: (Scalars['BigInt'] | null);
2245
+ createdAt_not?: (Scalars['BigInt'] | null);
2246
+ createdAt_in?: ((Scalars['BigInt'] | null)[] | null);
2247
+ createdAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2248
+ createdAt_gt?: (Scalars['BigInt'] | null);
2249
+ createdAt_lt?: (Scalars['BigInt'] | null);
2250
+ createdAt_gte?: (Scalars['BigInt'] | null);
2251
+ createdAt_lte?: (Scalars['BigInt'] | null);
2252
+ createdAtBlock?: (Scalars['BigInt'] | null);
2253
+ createdAtBlock_not?: (Scalars['BigInt'] | null);
2254
+ createdAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2255
+ createdAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2256
+ createdAtBlock_gt?: (Scalars['BigInt'] | null);
2257
+ createdAtBlock_lt?: (Scalars['BigInt'] | null);
2258
+ createdAtBlock_gte?: (Scalars['BigInt'] | null);
2259
+ createdAtBlock_lte?: (Scalars['BigInt'] | null);
2260
+ updatedAt?: (Scalars['BigInt'] | null);
2261
+ updatedAt_not?: (Scalars['BigInt'] | null);
2262
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
2263
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2264
+ updatedAt_gt?: (Scalars['BigInt'] | null);
2265
+ updatedAt_lt?: (Scalars['BigInt'] | null);
2266
+ updatedAt_gte?: (Scalars['BigInt'] | null);
2267
+ updatedAt_lte?: (Scalars['BigInt'] | null);
2268
+ updatedAtBlock?: (Scalars['BigInt'] | null);
2269
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
2270
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2271
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2272
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
2273
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
2274
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
2275
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
2276
+ }
2277
+ export interface GlobalPageGenqlSelection {
2278
+ items?: GlobalGenqlSelection;
2279
+ pageInfo?: PageInfoGenqlSelection;
2280
+ totalCount?: boolean | number;
2281
+ __typename?: boolean | number;
2282
+ __scalar?: boolean | number;
2283
+ }
2284
+ export interface GlobalFilter {
2285
+ AND?: ((GlobalFilter | null)[] | null);
2286
+ OR?: ((GlobalFilter | null)[] | null);
2287
+ id?: (Scalars['String'] | null);
2288
+ id_not?: (Scalars['String'] | null);
2289
+ id_in?: ((Scalars['String'] | null)[] | null);
2290
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2291
+ id_contains?: (Scalars['String'] | null);
2292
+ id_not_contains?: (Scalars['String'] | null);
2293
+ id_starts_with?: (Scalars['String'] | null);
2294
+ id_ends_with?: (Scalars['String'] | null);
2295
+ id_not_starts_with?: (Scalars['String'] | null);
2296
+ id_not_ends_with?: (Scalars['String'] | null);
2297
+ feeReceiver?: (Scalars['String'] | null);
2298
+ feeReceiver_not?: (Scalars['String'] | null);
2299
+ feeReceiver_in?: ((Scalars['String'] | null)[] | null);
2300
+ feeReceiver_not_in?: ((Scalars['String'] | null)[] | null);
2301
+ feeReceiver_contains?: (Scalars['String'] | null);
2302
+ feeReceiver_not_contains?: (Scalars['String'] | null);
2303
+ feeReceiver_starts_with?: (Scalars['String'] | null);
2304
+ feeReceiver_ends_with?: (Scalars['String'] | null);
2305
+ feeReceiver_not_starts_with?: (Scalars['String'] | null);
2306
+ feeReceiver_not_ends_with?: (Scalars['String'] | null);
2307
+ collateralTokenFactory?: (Scalars['String'] | null);
2308
+ collateralTokenFactory_not?: (Scalars['String'] | null);
2309
+ collateralTokenFactory_in?: ((Scalars['String'] | null)[] | null);
2310
+ collateralTokenFactory_not_in?: ((Scalars['String'] | null)[] | null);
2311
+ collateralTokenFactory_contains?: (Scalars['String'] | null);
2312
+ collateralTokenFactory_not_contains?: (Scalars['String'] | null);
2313
+ collateralTokenFactory_starts_with?: (Scalars['String'] | null);
2314
+ collateralTokenFactory_ends_with?: (Scalars['String'] | null);
2315
+ collateralTokenFactory_not_starts_with?: (Scalars['String'] | null);
2316
+ collateralTokenFactory_not_ends_with?: (Scalars['String'] | null);
2317
+ optionTokenFactory?: (Scalars['String'] | null);
2318
+ optionTokenFactory_not?: (Scalars['String'] | null);
2319
+ optionTokenFactory_in?: ((Scalars['String'] | null)[] | null);
2320
+ optionTokenFactory_not_in?: ((Scalars['String'] | null)[] | null);
2321
+ optionTokenFactory_contains?: (Scalars['String'] | null);
2322
+ optionTokenFactory_not_contains?: (Scalars['String'] | null);
2323
+ optionTokenFactory_starts_with?: (Scalars['String'] | null);
2324
+ optionTokenFactory_ends_with?: (Scalars['String'] | null);
2325
+ optionTokenFactory_not_starts_with?: (Scalars['String'] | null);
2326
+ optionTokenFactory_not_ends_with?: (Scalars['String'] | null);
2327
+ totalMarkets?: (Scalars['BigInt'] | null);
2328
+ totalMarkets_not?: (Scalars['BigInt'] | null);
2329
+ totalMarkets_in?: ((Scalars['BigInt'] | null)[] | null);
2330
+ totalMarkets_not_in?: ((Scalars['BigInt'] | null)[] | null);
2331
+ totalMarkets_gt?: (Scalars['BigInt'] | null);
2332
+ totalMarkets_lt?: (Scalars['BigInt'] | null);
2333
+ totalMarkets_gte?: (Scalars['BigInt'] | null);
2334
+ totalMarkets_lte?: (Scalars['BigInt'] | null);
2335
+ updatedAt?: (Scalars['BigInt'] | null);
2336
+ updatedAt_not?: (Scalars['BigInt'] | null);
2337
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
2338
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2339
+ updatedAt_gt?: (Scalars['BigInt'] | null);
2340
+ updatedAt_lt?: (Scalars['BigInt'] | null);
2341
+ updatedAt_gte?: (Scalars['BigInt'] | null);
2342
+ updatedAt_lte?: (Scalars['BigInt'] | null);
2343
+ updatedAtBlock?: (Scalars['BigInt'] | null);
2344
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
2345
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2346
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2347
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
2348
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
2349
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
2350
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
2351
+ }
2352
+ export interface UserPageGenqlSelection {
2353
+ items?: UserGenqlSelection;
2354
+ pageInfo?: PageInfoGenqlSelection;
2355
+ totalCount?: boolean | number;
2356
+ __typename?: boolean | number;
2357
+ __scalar?: boolean | number;
2358
+ }
2359
+ export interface UserFilter {
2360
+ AND?: ((UserFilter | null)[] | null);
2361
+ OR?: ((UserFilter | null)[] | null);
2362
+ id?: (Scalars['String'] | null);
2363
+ id_not?: (Scalars['String'] | null);
2364
+ id_in?: ((Scalars['String'] | null)[] | null);
2365
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2366
+ id_contains?: (Scalars['String'] | null);
2367
+ id_not_contains?: (Scalars['String'] | null);
2368
+ id_starts_with?: (Scalars['String'] | null);
2369
+ id_ends_with?: (Scalars['String'] | null);
2370
+ id_not_starts_with?: (Scalars['String'] | null);
2371
+ id_not_ends_with?: (Scalars['String'] | null);
2372
+ updatedAt?: (Scalars['BigInt'] | null);
2373
+ updatedAt_not?: (Scalars['BigInt'] | null);
2374
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
2375
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2376
+ updatedAt_gt?: (Scalars['BigInt'] | null);
2377
+ updatedAt_lt?: (Scalars['BigInt'] | null);
2378
+ updatedAt_gte?: (Scalars['BigInt'] | null);
2379
+ updatedAt_lte?: (Scalars['BigInt'] | null);
2380
+ updatedAtBlock?: (Scalars['BigInt'] | null);
2381
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
2382
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2383
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2384
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
2385
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
2386
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
2387
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
2388
+ }
2389
+ export interface MarketStrategyPageGenqlSelection {
2390
+ items?: MarketStrategyGenqlSelection;
2391
+ pageInfo?: PageInfoGenqlSelection;
2392
+ totalCount?: boolean | number;
2393
+ __typename?: boolean | number;
2394
+ __scalar?: boolean | number;
2395
+ }
2396
+ export interface MarketStrategyFilter {
2397
+ AND?: ((MarketStrategyFilter | null)[] | null);
2398
+ OR?: ((MarketStrategyFilter | null)[] | null);
2399
+ id?: (Scalars['String'] | null);
2400
+ id_not?: (Scalars['String'] | null);
2401
+ id_in?: ((Scalars['String'] | null)[] | null);
2402
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2403
+ id_contains?: (Scalars['String'] | null);
2404
+ id_not_contains?: (Scalars['String'] | null);
2405
+ id_starts_with?: (Scalars['String'] | null);
2406
+ id_ends_with?: (Scalars['String'] | null);
2407
+ id_not_starts_with?: (Scalars['String'] | null);
2408
+ id_not_ends_with?: (Scalars['String'] | null);
2409
+ finalFDV?: (Scalars['BigInt'] | null);
2410
+ finalFDV_not?: (Scalars['BigInt'] | null);
2411
+ finalFDV_in?: ((Scalars['BigInt'] | null)[] | null);
2412
+ finalFDV_not_in?: ((Scalars['BigInt'] | null)[] | null);
2413
+ finalFDV_gt?: (Scalars['BigInt'] | null);
2414
+ finalFDV_lt?: (Scalars['BigInt'] | null);
2415
+ finalFDV_gte?: (Scalars['BigInt'] | null);
2416
+ finalFDV_lte?: (Scalars['BigInt'] | null);
2417
+ deadline?: (Scalars['BigInt'] | null);
2418
+ deadline_not?: (Scalars['BigInt'] | null);
2419
+ deadline_in?: ((Scalars['BigInt'] | null)[] | null);
2420
+ deadline_not_in?: ((Scalars['BigInt'] | null)[] | null);
2421
+ deadline_gt?: (Scalars['BigInt'] | null);
2422
+ deadline_lt?: (Scalars['BigInt'] | null);
2423
+ deadline_gte?: (Scalars['BigInt'] | null);
2424
+ deadline_lte?: (Scalars['BigInt'] | null);
2425
+ bandPrecision?: (Scalars['BigInt'] | null);
2426
+ bandPrecision_not?: (Scalars['BigInt'] | null);
2427
+ bandPrecision_in?: ((Scalars['BigInt'] | null)[] | null);
2428
+ bandPrecision_not_in?: ((Scalars['BigInt'] | null)[] | null);
2429
+ bandPrecision_gt?: (Scalars['BigInt'] | null);
2430
+ bandPrecision_lt?: (Scalars['BigInt'] | null);
2431
+ bandPrecision_gte?: (Scalars['BigInt'] | null);
2432
+ bandPrecision_lte?: (Scalars['BigInt'] | null);
2433
+ collateralPerBandPrecision?: (Scalars['BigInt'] | null);
2434
+ collateralPerBandPrecision_not?: (Scalars['BigInt'] | null);
2435
+ collateralPerBandPrecision_in?: ((Scalars['BigInt'] | null)[] | null);
2436
+ collateralPerBandPrecision_not_in?: ((Scalars['BigInt'] | null)[] | null);
2437
+ collateralPerBandPrecision_gt?: (Scalars['BigInt'] | null);
2438
+ collateralPerBandPrecision_lt?: (Scalars['BigInt'] | null);
2439
+ collateralPerBandPrecision_gte?: (Scalars['BigInt'] | null);
2440
+ collateralPerBandPrecision_lte?: (Scalars['BigInt'] | null);
2441
+ premiumRate?: (Scalars['BigInt'] | null);
2442
+ premiumRate_not?: (Scalars['BigInt'] | null);
2443
+ premiumRate_in?: ((Scalars['BigInt'] | null)[] | null);
2444
+ premiumRate_not_in?: ((Scalars['BigInt'] | null)[] | null);
2445
+ premiumRate_gt?: (Scalars['BigInt'] | null);
2446
+ premiumRate_lt?: (Scalars['BigInt'] | null);
2447
+ premiumRate_gte?: (Scalars['BigInt'] | null);
2448
+ premiumRate_lte?: (Scalars['BigInt'] | null);
2449
+ depositFeeRate?: (Scalars['BigInt'] | null);
2450
+ depositFeeRate_not?: (Scalars['BigInt'] | null);
2451
+ depositFeeRate_in?: ((Scalars['BigInt'] | null)[] | null);
2452
+ depositFeeRate_not_in?: ((Scalars['BigInt'] | null)[] | null);
2453
+ depositFeeRate_gt?: (Scalars['BigInt'] | null);
2454
+ depositFeeRate_lt?: (Scalars['BigInt'] | null);
2455
+ depositFeeRate_gte?: (Scalars['BigInt'] | null);
2456
+ depositFeeRate_lte?: (Scalars['BigInt'] | null);
2457
+ purchaseFeeRate?: (Scalars['BigInt'] | null);
2458
+ purchaseFeeRate_not?: (Scalars['BigInt'] | null);
2459
+ purchaseFeeRate_in?: ((Scalars['BigInt'] | null)[] | null);
2460
+ purchaseFeeRate_not_in?: ((Scalars['BigInt'] | null)[] | null);
2461
+ purchaseFeeRate_gt?: (Scalars['BigInt'] | null);
2462
+ purchaseFeeRate_lt?: (Scalars['BigInt'] | null);
2463
+ purchaseFeeRate_gte?: (Scalars['BigInt'] | null);
2464
+ purchaseFeeRate_lte?: (Scalars['BigInt'] | null);
2465
+ settlementFeeRate?: (Scalars['BigInt'] | null);
2466
+ settlementFeeRate_not?: (Scalars['BigInt'] | null);
2467
+ settlementFeeRate_in?: ((Scalars['BigInt'] | null)[] | null);
2468
+ settlementFeeRate_not_in?: ((Scalars['BigInt'] | null)[] | null);
2469
+ settlementFeeRate_gt?: (Scalars['BigInt'] | null);
2470
+ settlementFeeRate_lt?: (Scalars['BigInt'] | null);
2471
+ settlementFeeRate_gte?: (Scalars['BigInt'] | null);
2472
+ settlementFeeRate_lte?: (Scalars['BigInt'] | null);
2473
+ collateralToken?: (Scalars['String'] | null);
2474
+ collateralToken_not?: (Scalars['String'] | null);
2475
+ collateralToken_in?: ((Scalars['String'] | null)[] | null);
2476
+ collateralToken_not_in?: ((Scalars['String'] | null)[] | null);
2477
+ collateralToken_contains?: (Scalars['String'] | null);
2478
+ collateralToken_not_contains?: (Scalars['String'] | null);
2479
+ collateralToken_starts_with?: (Scalars['String'] | null);
2480
+ collateralToken_ends_with?: (Scalars['String'] | null);
2481
+ collateralToken_not_starts_with?: (Scalars['String'] | null);
2482
+ collateralToken_not_ends_with?: (Scalars['String'] | null);
2483
+ createdAt?: (Scalars['BigInt'] | null);
2484
+ createdAt_not?: (Scalars['BigInt'] | null);
2485
+ createdAt_in?: ((Scalars['BigInt'] | null)[] | null);
2486
+ createdAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2487
+ createdAt_gt?: (Scalars['BigInt'] | null);
2488
+ createdAt_lt?: (Scalars['BigInt'] | null);
2489
+ createdAt_gte?: (Scalars['BigInt'] | null);
2490
+ createdAt_lte?: (Scalars['BigInt'] | null);
2491
+ createdAtBlock?: (Scalars['BigInt'] | null);
2492
+ createdAtBlock_not?: (Scalars['BigInt'] | null);
2493
+ createdAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2494
+ createdAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2495
+ createdAtBlock_gt?: (Scalars['BigInt'] | null);
2496
+ createdAtBlock_lt?: (Scalars['BigInt'] | null);
2497
+ createdAtBlock_gte?: (Scalars['BigInt'] | null);
2498
+ createdAtBlock_lte?: (Scalars['BigInt'] | null);
2499
+ updatedAt?: (Scalars['BigInt'] | null);
2500
+ updatedAt_not?: (Scalars['BigInt'] | null);
2501
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
2502
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2503
+ updatedAt_gt?: (Scalars['BigInt'] | null);
2504
+ updatedAt_lt?: (Scalars['BigInt'] | null);
2505
+ updatedAt_gte?: (Scalars['BigInt'] | null);
2506
+ updatedAt_lte?: (Scalars['BigInt'] | null);
2507
+ updatedAtBlock?: (Scalars['BigInt'] | null);
2508
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
2509
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2510
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2511
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
2512
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
2513
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
2514
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
2515
+ }
2516
+ export interface OptionParamsPageGenqlSelection {
2517
+ items?: OptionParamsGenqlSelection;
2518
+ pageInfo?: PageInfoGenqlSelection;
2519
+ totalCount?: boolean | number;
2520
+ __typename?: boolean | number;
2521
+ __scalar?: boolean | number;
2522
+ }
2523
+ export interface OptionParamsFilter {
2524
+ AND?: ((OptionParamsFilter | null)[] | null);
2525
+ OR?: ((OptionParamsFilter | null)[] | null);
2526
+ id?: (Scalars['String'] | null);
2527
+ id_not?: (Scalars['String'] | null);
2528
+ id_in?: ((Scalars['String'] | null)[] | null);
2529
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2530
+ id_contains?: (Scalars['String'] | null);
2531
+ id_not_contains?: (Scalars['String'] | null);
2532
+ id_starts_with?: (Scalars['String'] | null);
2533
+ id_ends_with?: (Scalars['String'] | null);
2534
+ id_not_starts_with?: (Scalars['String'] | null);
2535
+ id_not_ends_with?: (Scalars['String'] | null);
2536
+ marketId?: (Scalars['BigInt'] | null);
2537
+ marketId_not?: (Scalars['BigInt'] | null);
2538
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
2539
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
2540
+ marketId_gt?: (Scalars['BigInt'] | null);
2541
+ marketId_lt?: (Scalars['BigInt'] | null);
2542
+ marketId_gte?: (Scalars['BigInt'] | null);
2543
+ marketId_lte?: (Scalars['BigInt'] | null);
2544
+ strikeLowerLimit?: (Scalars['BigInt'] | null);
2545
+ strikeLowerLimit_not?: (Scalars['BigInt'] | null);
2546
+ strikeLowerLimit_in?: ((Scalars['BigInt'] | null)[] | null);
2547
+ strikeLowerLimit_not_in?: ((Scalars['BigInt'] | null)[] | null);
2548
+ strikeLowerLimit_gt?: (Scalars['BigInt'] | null);
2549
+ strikeLowerLimit_lt?: (Scalars['BigInt'] | null);
2550
+ strikeLowerLimit_gte?: (Scalars['BigInt'] | null);
2551
+ strikeLowerLimit_lte?: (Scalars['BigInt'] | null);
2552
+ strikeUpperLimit?: (Scalars['BigInt'] | null);
2553
+ strikeUpperLimit_not?: (Scalars['BigInt'] | null);
2554
+ strikeUpperLimit_in?: ((Scalars['BigInt'] | null)[] | null);
2555
+ strikeUpperLimit_not_in?: ((Scalars['BigInt'] | null)[] | null);
2556
+ strikeUpperLimit_gt?: (Scalars['BigInt'] | null);
2557
+ strikeUpperLimit_lt?: (Scalars['BigInt'] | null);
2558
+ strikeUpperLimit_gte?: (Scalars['BigInt'] | null);
2559
+ strikeUpperLimit_lte?: (Scalars['BigInt'] | null);
2560
+ isPut?: (Scalars['Boolean'] | null);
2561
+ isPut_not?: (Scalars['Boolean'] | null);
2562
+ isPut_in?: ((Scalars['Boolean'] | null)[] | null);
2563
+ isPut_not_in?: ((Scalars['Boolean'] | null)[] | null);
2564
+ collateralPerShare?: (Scalars['BigInt'] | null);
2565
+ collateralPerShare_not?: (Scalars['BigInt'] | null);
2566
+ collateralPerShare_in?: ((Scalars['BigInt'] | null)[] | null);
2567
+ collateralPerShare_not_in?: ((Scalars['BigInt'] | null)[] | null);
2568
+ collateralPerShare_gt?: (Scalars['BigInt'] | null);
2569
+ collateralPerShare_lt?: (Scalars['BigInt'] | null);
2570
+ collateralPerShare_gte?: (Scalars['BigInt'] | null);
2571
+ collateralPerShare_lte?: (Scalars['BigInt'] | null);
2572
+ createdAt?: (Scalars['BigInt'] | null);
2573
+ createdAt_not?: (Scalars['BigInt'] | null);
2574
+ createdAt_in?: ((Scalars['BigInt'] | null)[] | null);
2575
+ createdAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2576
+ createdAt_gt?: (Scalars['BigInt'] | null);
2577
+ createdAt_lt?: (Scalars['BigInt'] | null);
2578
+ createdAt_gte?: (Scalars['BigInt'] | null);
2579
+ createdAt_lte?: (Scalars['BigInt'] | null);
2580
+ createdAtBlock?: (Scalars['BigInt'] | null);
2581
+ createdAtBlock_not?: (Scalars['BigInt'] | null);
2582
+ createdAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2583
+ createdAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2584
+ createdAtBlock_gt?: (Scalars['BigInt'] | null);
2585
+ createdAtBlock_lt?: (Scalars['BigInt'] | null);
2586
+ createdAtBlock_gte?: (Scalars['BigInt'] | null);
2587
+ createdAtBlock_lte?: (Scalars['BigInt'] | null);
2588
+ }
2589
+ export interface OrderFillHistoryGenqlSelection {
2590
+ id?: boolean | number;
2591
+ orderHash?: boolean | number;
2592
+ maker?: boolean | number;
2593
+ taker?: boolean | number;
2594
+ optionTokenId?: boolean | number;
2595
+ makingAmount?: boolean | number;
2596
+ takingAmount?: boolean | number;
2597
+ remainingAmount?: boolean | number;
2598
+ transactionHash?: boolean | number;
2599
+ blockNumber?: boolean | number;
2600
+ timestamp?: boolean | number;
2601
+ __typename?: boolean | number;
2602
+ __scalar?: boolean | number;
2603
+ }
2604
+ export interface OrderFillHistoryPageGenqlSelection {
2605
+ items?: OrderFillHistoryGenqlSelection;
2606
+ pageInfo?: PageInfoGenqlSelection;
2607
+ totalCount?: boolean | number;
2608
+ __typename?: boolean | number;
2609
+ __scalar?: boolean | number;
2610
+ }
2611
+ export interface OrderFillHistoryFilter {
2612
+ AND?: ((OrderFillHistoryFilter | null)[] | null);
2613
+ OR?: ((OrderFillHistoryFilter | null)[] | null);
2614
+ id?: (Scalars['String'] | null);
2615
+ id_not?: (Scalars['String'] | null);
2616
+ id_in?: ((Scalars['String'] | null)[] | null);
2617
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2618
+ id_contains?: (Scalars['String'] | null);
2619
+ id_not_contains?: (Scalars['String'] | null);
2620
+ id_starts_with?: (Scalars['String'] | null);
2621
+ id_ends_with?: (Scalars['String'] | null);
2622
+ id_not_starts_with?: (Scalars['String'] | null);
2623
+ id_not_ends_with?: (Scalars['String'] | null);
2624
+ orderHash?: (Scalars['String'] | null);
2625
+ orderHash_not?: (Scalars['String'] | null);
2626
+ orderHash_in?: ((Scalars['String'] | null)[] | null);
2627
+ orderHash_not_in?: ((Scalars['String'] | null)[] | null);
2628
+ orderHash_contains?: (Scalars['String'] | null);
2629
+ orderHash_not_contains?: (Scalars['String'] | null);
2630
+ orderHash_starts_with?: (Scalars['String'] | null);
2631
+ orderHash_ends_with?: (Scalars['String'] | null);
2632
+ orderHash_not_starts_with?: (Scalars['String'] | null);
2633
+ orderHash_not_ends_with?: (Scalars['String'] | null);
2634
+ maker?: (Scalars['String'] | null);
2635
+ maker_not?: (Scalars['String'] | null);
2636
+ maker_in?: ((Scalars['String'] | null)[] | null);
2637
+ maker_not_in?: ((Scalars['String'] | null)[] | null);
2638
+ maker_contains?: (Scalars['String'] | null);
2639
+ maker_not_contains?: (Scalars['String'] | null);
2640
+ maker_starts_with?: (Scalars['String'] | null);
2641
+ maker_ends_with?: (Scalars['String'] | null);
2642
+ maker_not_starts_with?: (Scalars['String'] | null);
2643
+ maker_not_ends_with?: (Scalars['String'] | null);
2644
+ taker?: (Scalars['String'] | null);
2645
+ taker_not?: (Scalars['String'] | null);
2646
+ taker_in?: ((Scalars['String'] | null)[] | null);
2647
+ taker_not_in?: ((Scalars['String'] | null)[] | null);
2648
+ taker_contains?: (Scalars['String'] | null);
2649
+ taker_not_contains?: (Scalars['String'] | null);
2650
+ taker_starts_with?: (Scalars['String'] | null);
2651
+ taker_ends_with?: (Scalars['String'] | null);
2652
+ taker_not_starts_with?: (Scalars['String'] | null);
2653
+ taker_not_ends_with?: (Scalars['String'] | null);
2654
+ optionTokenId?: (Scalars['BigInt'] | null);
2655
+ optionTokenId_not?: (Scalars['BigInt'] | null);
2656
+ optionTokenId_in?: ((Scalars['BigInt'] | null)[] | null);
2657
+ optionTokenId_not_in?: ((Scalars['BigInt'] | null)[] | null);
2658
+ optionTokenId_gt?: (Scalars['BigInt'] | null);
2659
+ optionTokenId_lt?: (Scalars['BigInt'] | null);
2660
+ optionTokenId_gte?: (Scalars['BigInt'] | null);
2661
+ optionTokenId_lte?: (Scalars['BigInt'] | null);
2662
+ makingAmount?: (Scalars['BigInt'] | null);
2663
+ makingAmount_not?: (Scalars['BigInt'] | null);
2664
+ makingAmount_in?: ((Scalars['BigInt'] | null)[] | null);
2665
+ makingAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
2666
+ makingAmount_gt?: (Scalars['BigInt'] | null);
2667
+ makingAmount_lt?: (Scalars['BigInt'] | null);
2668
+ makingAmount_gte?: (Scalars['BigInt'] | null);
2669
+ makingAmount_lte?: (Scalars['BigInt'] | null);
2670
+ takingAmount?: (Scalars['BigInt'] | null);
2671
+ takingAmount_not?: (Scalars['BigInt'] | null);
2672
+ takingAmount_in?: ((Scalars['BigInt'] | null)[] | null);
2673
+ takingAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
2674
+ takingAmount_gt?: (Scalars['BigInt'] | null);
2675
+ takingAmount_lt?: (Scalars['BigInt'] | null);
2676
+ takingAmount_gte?: (Scalars['BigInt'] | null);
2677
+ takingAmount_lte?: (Scalars['BigInt'] | null);
2678
+ remainingAmount?: (Scalars['BigInt'] | null);
2679
+ remainingAmount_not?: (Scalars['BigInt'] | null);
2680
+ remainingAmount_in?: ((Scalars['BigInt'] | null)[] | null);
2681
+ remainingAmount_not_in?: ((Scalars['BigInt'] | null)[] | null);
2682
+ remainingAmount_gt?: (Scalars['BigInt'] | null);
2683
+ remainingAmount_lt?: (Scalars['BigInt'] | null);
2684
+ remainingAmount_gte?: (Scalars['BigInt'] | null);
2685
+ remainingAmount_lte?: (Scalars['BigInt'] | null);
2686
+ transactionHash?: (Scalars['String'] | null);
2687
+ transactionHash_not?: (Scalars['String'] | null);
2688
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
2689
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
2690
+ transactionHash_contains?: (Scalars['String'] | null);
2691
+ transactionHash_not_contains?: (Scalars['String'] | null);
2692
+ transactionHash_starts_with?: (Scalars['String'] | null);
2693
+ transactionHash_ends_with?: (Scalars['String'] | null);
2694
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
2695
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
2696
+ blockNumber?: (Scalars['BigInt'] | null);
2697
+ blockNumber_not?: (Scalars['BigInt'] | null);
2698
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
2699
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
2700
+ blockNumber_gt?: (Scalars['BigInt'] | null);
2701
+ blockNumber_lt?: (Scalars['BigInt'] | null);
2702
+ blockNumber_gte?: (Scalars['BigInt'] | null);
2703
+ blockNumber_lte?: (Scalars['BigInt'] | null);
2704
+ timestamp?: (Scalars['BigInt'] | null);
2705
+ timestamp_not?: (Scalars['BigInt'] | null);
2706
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
2707
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
2708
+ timestamp_gt?: (Scalars['BigInt'] | null);
2709
+ timestamp_lt?: (Scalars['BigInt'] | null);
2710
+ timestamp_gte?: (Scalars['BigInt'] | null);
2711
+ timestamp_lte?: (Scalars['BigInt'] | null);
2712
+ }
2713
+ export interface OrderCancelHistoryGenqlSelection {
2714
+ id?: boolean | number;
2715
+ orderHash?: boolean | number;
2716
+ transactionHash?: boolean | number;
2717
+ blockNumber?: boolean | number;
2718
+ timestamp?: boolean | number;
2719
+ __typename?: boolean | number;
2720
+ __scalar?: boolean | number;
2721
+ }
2722
+ export interface OrderCancelHistoryPageGenqlSelection {
2723
+ items?: OrderCancelHistoryGenqlSelection;
2724
+ pageInfo?: PageInfoGenqlSelection;
2725
+ totalCount?: boolean | number;
2726
+ __typename?: boolean | number;
2727
+ __scalar?: boolean | number;
2728
+ }
2729
+ export interface OrderCancelHistoryFilter {
2730
+ AND?: ((OrderCancelHistoryFilter | null)[] | null);
2731
+ OR?: ((OrderCancelHistoryFilter | null)[] | null);
2732
+ id?: (Scalars['String'] | null);
2733
+ id_not?: (Scalars['String'] | null);
2734
+ id_in?: ((Scalars['String'] | null)[] | null);
2735
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2736
+ id_contains?: (Scalars['String'] | null);
2737
+ id_not_contains?: (Scalars['String'] | null);
2738
+ id_starts_with?: (Scalars['String'] | null);
2739
+ id_ends_with?: (Scalars['String'] | null);
2740
+ id_not_starts_with?: (Scalars['String'] | null);
2741
+ id_not_ends_with?: (Scalars['String'] | null);
2742
+ orderHash?: (Scalars['String'] | null);
2743
+ orderHash_not?: (Scalars['String'] | null);
2744
+ orderHash_in?: ((Scalars['String'] | null)[] | null);
2745
+ orderHash_not_in?: ((Scalars['String'] | null)[] | null);
2746
+ orderHash_contains?: (Scalars['String'] | null);
2747
+ orderHash_not_contains?: (Scalars['String'] | null);
2748
+ orderHash_starts_with?: (Scalars['String'] | null);
2749
+ orderHash_ends_with?: (Scalars['String'] | null);
2750
+ orderHash_not_starts_with?: (Scalars['String'] | null);
2751
+ orderHash_not_ends_with?: (Scalars['String'] | null);
2752
+ transactionHash?: (Scalars['String'] | null);
2753
+ transactionHash_not?: (Scalars['String'] | null);
2754
+ transactionHash_in?: ((Scalars['String'] | null)[] | null);
2755
+ transactionHash_not_in?: ((Scalars['String'] | null)[] | null);
2756
+ transactionHash_contains?: (Scalars['String'] | null);
2757
+ transactionHash_not_contains?: (Scalars['String'] | null);
2758
+ transactionHash_starts_with?: (Scalars['String'] | null);
2759
+ transactionHash_ends_with?: (Scalars['String'] | null);
2760
+ transactionHash_not_starts_with?: (Scalars['String'] | null);
2761
+ transactionHash_not_ends_with?: (Scalars['String'] | null);
2762
+ blockNumber?: (Scalars['BigInt'] | null);
2763
+ blockNumber_not?: (Scalars['BigInt'] | null);
2764
+ blockNumber_in?: ((Scalars['BigInt'] | null)[] | null);
2765
+ blockNumber_not_in?: ((Scalars['BigInt'] | null)[] | null);
2766
+ blockNumber_gt?: (Scalars['BigInt'] | null);
2767
+ blockNumber_lt?: (Scalars['BigInt'] | null);
2768
+ blockNumber_gte?: (Scalars['BigInt'] | null);
2769
+ blockNumber_lte?: (Scalars['BigInt'] | null);
2770
+ timestamp?: (Scalars['BigInt'] | null);
2771
+ timestamp_not?: (Scalars['BigInt'] | null);
2772
+ timestamp_in?: ((Scalars['BigInt'] | null)[] | null);
2773
+ timestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
2774
+ timestamp_gt?: (Scalars['BigInt'] | null);
2775
+ timestamp_lt?: (Scalars['BigInt'] | null);
2776
+ timestamp_gte?: (Scalars['BigInt'] | null);
2777
+ timestamp_lte?: (Scalars['BigInt'] | null);
2778
+ }
2779
+ export interface HourlyVolumeGenqlSelection {
2780
+ id?: boolean | number;
2781
+ marketId?: boolean | number;
2782
+ optionId?: boolean | number;
2783
+ hourTimestamp?: boolean | number;
2784
+ depositVolume?: boolean | number;
2785
+ tradeVolume?: boolean | number;
2786
+ unwindVolume?: boolean | number;
2787
+ withdrawVolume?: boolean | number;
2788
+ exerciseVolume?: boolean | number;
2789
+ totalVolume?: boolean | number;
2790
+ tradeCount?: boolean | number;
2791
+ updatedAt?: boolean | number;
2792
+ updatedAtBlock?: boolean | number;
2793
+ optionParams?: OptionParamsGenqlSelection;
2794
+ __typename?: boolean | number;
2795
+ __scalar?: boolean | number;
2796
+ }
2797
+ export interface HourlyVolumePageGenqlSelection {
2798
+ items?: HourlyVolumeGenqlSelection;
2799
+ pageInfo?: PageInfoGenqlSelection;
2800
+ totalCount?: boolean | number;
2801
+ __typename?: boolean | number;
2802
+ __scalar?: boolean | number;
2803
+ }
2804
+ export interface HourlyVolumeFilter {
2805
+ AND?: ((HourlyVolumeFilter | null)[] | null);
2806
+ OR?: ((HourlyVolumeFilter | null)[] | null);
2807
+ id?: (Scalars['String'] | null);
2808
+ id_not?: (Scalars['String'] | null);
2809
+ id_in?: ((Scalars['String'] | null)[] | null);
2810
+ id_not_in?: ((Scalars['String'] | null)[] | null);
2811
+ id_contains?: (Scalars['String'] | null);
2812
+ id_not_contains?: (Scalars['String'] | null);
2813
+ id_starts_with?: (Scalars['String'] | null);
2814
+ id_ends_with?: (Scalars['String'] | null);
2815
+ id_not_starts_with?: (Scalars['String'] | null);
2816
+ id_not_ends_with?: (Scalars['String'] | null);
2817
+ marketId?: (Scalars['BigInt'] | null);
2818
+ marketId_not?: (Scalars['BigInt'] | null);
2819
+ marketId_in?: ((Scalars['BigInt'] | null)[] | null);
2820
+ marketId_not_in?: ((Scalars['BigInt'] | null)[] | null);
2821
+ marketId_gt?: (Scalars['BigInt'] | null);
2822
+ marketId_lt?: (Scalars['BigInt'] | null);
2823
+ marketId_gte?: (Scalars['BigInt'] | null);
2824
+ marketId_lte?: (Scalars['BigInt'] | null);
2825
+ optionId?: (Scalars['String'] | null);
2826
+ optionId_not?: (Scalars['String'] | null);
2827
+ optionId_in?: ((Scalars['String'] | null)[] | null);
2828
+ optionId_not_in?: ((Scalars['String'] | null)[] | null);
2829
+ optionId_contains?: (Scalars['String'] | null);
2830
+ optionId_not_contains?: (Scalars['String'] | null);
2831
+ optionId_starts_with?: (Scalars['String'] | null);
2832
+ optionId_ends_with?: (Scalars['String'] | null);
2833
+ optionId_not_starts_with?: (Scalars['String'] | null);
2834
+ optionId_not_ends_with?: (Scalars['String'] | null);
2835
+ hourTimestamp?: (Scalars['BigInt'] | null);
2836
+ hourTimestamp_not?: (Scalars['BigInt'] | null);
2837
+ hourTimestamp_in?: ((Scalars['BigInt'] | null)[] | null);
2838
+ hourTimestamp_not_in?: ((Scalars['BigInt'] | null)[] | null);
2839
+ hourTimestamp_gt?: (Scalars['BigInt'] | null);
2840
+ hourTimestamp_lt?: (Scalars['BigInt'] | null);
2841
+ hourTimestamp_gte?: (Scalars['BigInt'] | null);
2842
+ hourTimestamp_lte?: (Scalars['BigInt'] | null);
2843
+ depositVolume?: (Scalars['BigInt'] | null);
2844
+ depositVolume_not?: (Scalars['BigInt'] | null);
2845
+ depositVolume_in?: ((Scalars['BigInt'] | null)[] | null);
2846
+ depositVolume_not_in?: ((Scalars['BigInt'] | null)[] | null);
2847
+ depositVolume_gt?: (Scalars['BigInt'] | null);
2848
+ depositVolume_lt?: (Scalars['BigInt'] | null);
2849
+ depositVolume_gte?: (Scalars['BigInt'] | null);
2850
+ depositVolume_lte?: (Scalars['BigInt'] | null);
2851
+ tradeVolume?: (Scalars['BigInt'] | null);
2852
+ tradeVolume_not?: (Scalars['BigInt'] | null);
2853
+ tradeVolume_in?: ((Scalars['BigInt'] | null)[] | null);
2854
+ tradeVolume_not_in?: ((Scalars['BigInt'] | null)[] | null);
2855
+ tradeVolume_gt?: (Scalars['BigInt'] | null);
2856
+ tradeVolume_lt?: (Scalars['BigInt'] | null);
2857
+ tradeVolume_gte?: (Scalars['BigInt'] | null);
2858
+ tradeVolume_lte?: (Scalars['BigInt'] | null);
2859
+ unwindVolume?: (Scalars['BigInt'] | null);
2860
+ unwindVolume_not?: (Scalars['BigInt'] | null);
2861
+ unwindVolume_in?: ((Scalars['BigInt'] | null)[] | null);
2862
+ unwindVolume_not_in?: ((Scalars['BigInt'] | null)[] | null);
2863
+ unwindVolume_gt?: (Scalars['BigInt'] | null);
2864
+ unwindVolume_lt?: (Scalars['BigInt'] | null);
2865
+ unwindVolume_gte?: (Scalars['BigInt'] | null);
2866
+ unwindVolume_lte?: (Scalars['BigInt'] | null);
2867
+ withdrawVolume?: (Scalars['BigInt'] | null);
2868
+ withdrawVolume_not?: (Scalars['BigInt'] | null);
2869
+ withdrawVolume_in?: ((Scalars['BigInt'] | null)[] | null);
2870
+ withdrawVolume_not_in?: ((Scalars['BigInt'] | null)[] | null);
2871
+ withdrawVolume_gt?: (Scalars['BigInt'] | null);
2872
+ withdrawVolume_lt?: (Scalars['BigInt'] | null);
2873
+ withdrawVolume_gte?: (Scalars['BigInt'] | null);
2874
+ withdrawVolume_lte?: (Scalars['BigInt'] | null);
2875
+ exerciseVolume?: (Scalars['BigInt'] | null);
2876
+ exerciseVolume_not?: (Scalars['BigInt'] | null);
2877
+ exerciseVolume_in?: ((Scalars['BigInt'] | null)[] | null);
2878
+ exerciseVolume_not_in?: ((Scalars['BigInt'] | null)[] | null);
2879
+ exerciseVolume_gt?: (Scalars['BigInt'] | null);
2880
+ exerciseVolume_lt?: (Scalars['BigInt'] | null);
2881
+ exerciseVolume_gte?: (Scalars['BigInt'] | null);
2882
+ exerciseVolume_lte?: (Scalars['BigInt'] | null);
2883
+ totalVolume?: (Scalars['BigInt'] | null);
2884
+ totalVolume_not?: (Scalars['BigInt'] | null);
2885
+ totalVolume_in?: ((Scalars['BigInt'] | null)[] | null);
2886
+ totalVolume_not_in?: ((Scalars['BigInt'] | null)[] | null);
2887
+ totalVolume_gt?: (Scalars['BigInt'] | null);
2888
+ totalVolume_lt?: (Scalars['BigInt'] | null);
2889
+ totalVolume_gte?: (Scalars['BigInt'] | null);
2890
+ totalVolume_lte?: (Scalars['BigInt'] | null);
2891
+ tradeCount?: (Scalars['Int'] | null);
2892
+ tradeCount_not?: (Scalars['Int'] | null);
2893
+ tradeCount_in?: ((Scalars['Int'] | null)[] | null);
2894
+ tradeCount_not_in?: ((Scalars['Int'] | null)[] | null);
2895
+ tradeCount_gt?: (Scalars['Int'] | null);
2896
+ tradeCount_lt?: (Scalars['Int'] | null);
2897
+ tradeCount_gte?: (Scalars['Int'] | null);
2898
+ tradeCount_lte?: (Scalars['Int'] | null);
2899
+ updatedAt?: (Scalars['BigInt'] | null);
2900
+ updatedAt_not?: (Scalars['BigInt'] | null);
2901
+ updatedAt_in?: ((Scalars['BigInt'] | null)[] | null);
2902
+ updatedAt_not_in?: ((Scalars['BigInt'] | null)[] | null);
2903
+ updatedAt_gt?: (Scalars['BigInt'] | null);
2904
+ updatedAt_lt?: (Scalars['BigInt'] | null);
2905
+ updatedAt_gte?: (Scalars['BigInt'] | null);
2906
+ updatedAt_lte?: (Scalars['BigInt'] | null);
2907
+ updatedAtBlock?: (Scalars['BigInt'] | null);
2908
+ updatedAtBlock_not?: (Scalars['BigInt'] | null);
2909
+ updatedAtBlock_in?: ((Scalars['BigInt'] | null)[] | null);
2910
+ updatedAtBlock_not_in?: ((Scalars['BigInt'] | null)[] | null);
2911
+ updatedAtBlock_gt?: (Scalars['BigInt'] | null);
2912
+ updatedAtBlock_lt?: (Scalars['BigInt'] | null);
2913
+ updatedAtBlock_gte?: (Scalars['BigInt'] | null);
2914
+ updatedAtBlock_lte?: (Scalars['BigInt'] | null);
2915
+ }
2916
+ export declare const isPageInfo: (obj?: {
2917
+ __typename?: any;
2918
+ } | null) => obj is PageInfo;
2919
+ export declare const isMeta: (obj?: {
2920
+ __typename?: any;
2921
+ } | null) => obj is Meta;
2922
+ export declare const isQuery: (obj?: {
2923
+ __typename?: any;
2924
+ } | null) => obj is Query;
2925
+ export declare const isGlobal: (obj?: {
2926
+ __typename?: any;
2927
+ } | null) => obj is Global;
2928
+ export declare const isOptionMarketPage: (obj?: {
2929
+ __typename?: any;
2930
+ } | null) => obj is OptionMarketPage;
2931
+ export declare const isOptionMarket: (obj?: {
2932
+ __typename?: any;
2933
+ } | null) => obj is OptionMarket;
2934
+ export declare const isMarketStrategy: (obj?: {
2935
+ __typename?: any;
2936
+ } | null) => obj is MarketStrategy;
2937
+ export declare const isCollateralPositionPage: (obj?: {
2938
+ __typename?: any;
2939
+ } | null) => obj is CollateralPositionPage;
2940
+ export declare const isCollateralPosition: (obj?: {
2941
+ __typename?: any;
2942
+ } | null) => obj is CollateralPosition;
2943
+ export declare const isUser: (obj?: {
2944
+ __typename?: any;
2945
+ } | null) => obj is User;
2946
+ export declare const isOptionPositionPage: (obj?: {
2947
+ __typename?: any;
2948
+ } | null) => obj is OptionPositionPage;
2949
+ export declare const isOptionPosition: (obj?: {
2950
+ __typename?: any;
2951
+ } | null) => obj is OptionPosition;
2952
+ export declare const isOptionParams: (obj?: {
2953
+ __typename?: any;
2954
+ } | null) => obj is OptionParams;
2955
+ export declare const isDepositHistoryPage: (obj?: {
2956
+ __typename?: any;
2957
+ } | null) => obj is DepositHistoryPage;
2958
+ export declare const isDepositHistory: (obj?: {
2959
+ __typename?: any;
2960
+ } | null) => obj is DepositHistory;
2961
+ export declare const isTransferDepositHistoryPage: (obj?: {
2962
+ __typename?: any;
2963
+ } | null) => obj is TransferDepositHistoryPage;
2964
+ export declare const isTransferDepositHistory: (obj?: {
2965
+ __typename?: any;
2966
+ } | null) => obj is TransferDepositHistory;
2967
+ export declare const isPurchaseHistoryPage: (obj?: {
2968
+ __typename?: any;
2969
+ } | null) => obj is PurchaseHistoryPage;
2970
+ export declare const isPurchaseHistory: (obj?: {
2971
+ __typename?: any;
2972
+ } | null) => obj is PurchaseHistory;
2973
+ export declare const isExerciseHistoryPage: (obj?: {
2974
+ __typename?: any;
2975
+ } | null) => obj is ExerciseHistoryPage;
2976
+ export declare const isExerciseHistory: (obj?: {
2977
+ __typename?: any;
2978
+ } | null) => obj is ExerciseHistory;
2979
+ export declare const isUnwindHistoryPage: (obj?: {
2980
+ __typename?: any;
2981
+ } | null) => obj is UnwindHistoryPage;
2982
+ export declare const isUnwindHistory: (obj?: {
2983
+ __typename?: any;
2984
+ } | null) => obj is UnwindHistory;
2985
+ export declare const isTransferPositionHistoryPage: (obj?: {
2986
+ __typename?: any;
2987
+ } | null) => obj is TransferPositionHistoryPage;
2988
+ export declare const isTransferPositionHistory: (obj?: {
2989
+ __typename?: any;
2990
+ } | null) => obj is TransferPositionHistory;
2991
+ export declare const isSettlementHistoryPage: (obj?: {
2992
+ __typename?: any;
2993
+ } | null) => obj is SettlementHistoryPage;
2994
+ export declare const isSettlementHistory: (obj?: {
2995
+ __typename?: any;
2996
+ } | null) => obj is SettlementHistory;
2997
+ export declare const isGlobalPage: (obj?: {
2998
+ __typename?: any;
2999
+ } | null) => obj is GlobalPage;
3000
+ export declare const isUserPage: (obj?: {
3001
+ __typename?: any;
3002
+ } | null) => obj is UserPage;
3003
+ export declare const isMarketStrategyPage: (obj?: {
3004
+ __typename?: any;
3005
+ } | null) => obj is MarketStrategyPage;
3006
+ export declare const isOptionParamsPage: (obj?: {
3007
+ __typename?: any;
3008
+ } | null) => obj is OptionParamsPage;
3009
+ export declare const isOrderFillHistory: (obj?: {
3010
+ __typename?: any;
3011
+ } | null) => obj is OrderFillHistory;
3012
+ export declare const isOrderFillHistoryPage: (obj?: {
3013
+ __typename?: any;
3014
+ } | null) => obj is OrderFillHistoryPage;
3015
+ export declare const isOrderCancelHistory: (obj?: {
3016
+ __typename?: any;
3017
+ } | null) => obj is OrderCancelHistory;
3018
+ export declare const isOrderCancelHistoryPage: (obj?: {
3019
+ __typename?: any;
3020
+ } | null) => obj is OrderCancelHistoryPage;
3021
+ export declare const isHourlyVolume: (obj?: {
3022
+ __typename?: any;
3023
+ } | null) => obj is HourlyVolume;
3024
+ export declare const isHourlyVolumePage: (obj?: {
3025
+ __typename?: any;
3026
+ } | null) => obj is HourlyVolumePage;