@azuro-org/toolkit 5.0.0-beta.1 → 5.0.0-beta.10

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.
@@ -20,7 +20,7 @@ declare const _default: readonly [{
20
20
  readonly type: "error";
21
21
  }, {
22
22
  readonly inputs: readonly [];
23
- readonly name: "CobmoBetResolving";
23
+ readonly name: "ComboBetResolving";
24
24
  readonly type: "error";
25
25
  }, {
26
26
  readonly inputs: readonly [];
@@ -134,14 +134,6 @@ declare const _default: readonly [{
134
134
  readonly inputs: readonly [];
135
135
  readonly name: "OddsTooSmall";
136
136
  readonly type: "error";
137
- }, {
138
- readonly inputs: readonly [{
139
- readonly internalType: "uint256";
140
- readonly name: "conditionId";
141
- readonly type: "uint256";
142
- }];
143
- readonly name: "OneOfConditionsInComboNotFinished";
144
- readonly type: "error";
145
137
  }, {
146
138
  readonly inputs: readonly [];
147
139
  readonly name: "OnlyLp";
@@ -172,7 +164,7 @@ declare const _default: readonly [{
172
164
  readonly type: "error";
173
165
  }, {
174
166
  readonly inputs: readonly [];
175
- readonly name: "PayoutLimit";
167
+ readonly name: "PotentialLossLimit";
176
168
  readonly type: "error";
177
169
  }, {
178
170
  readonly inputs: readonly [{
@@ -352,7 +344,7 @@ declare const _default: readonly [{
352
344
  }, {
353
345
  readonly indexed: false;
354
346
  readonly internalType: "uint128";
355
- readonly name: "payoutLimit";
347
+ readonly name: "potentialLossLimit";
356
348
  readonly type: "uint128";
357
349
  }];
358
350
  readonly name: "NewLiveBet";
@@ -527,7 +519,7 @@ declare const _default: readonly [{
527
519
  readonly type: "uint128[]";
528
520
  }, {
529
521
  readonly internalType: "uint128";
530
- readonly name: "payoutLimit";
522
+ readonly name: "potentialLossLimit";
531
523
  readonly type: "uint128";
532
524
  }, {
533
525
  readonly internalType: "uint8";
@@ -588,6 +580,18 @@ declare const _default: readonly [{
588
580
  readonly internalType: "uint256";
589
581
  readonly name: "relayerFeeAmount";
590
582
  readonly type: "uint256";
583
+ }, {
584
+ readonly internalType: "bool";
585
+ readonly name: "isFeeSponsored";
586
+ readonly type: "bool";
587
+ }, {
588
+ readonly internalType: "bool";
589
+ readonly name: "isBetSponsored";
590
+ readonly type: "bool";
591
+ }, {
592
+ readonly internalType: "bool";
593
+ readonly name: "isSponsoredBetReturnable";
594
+ readonly type: "bool";
591
595
  }];
592
596
  readonly internalType: "struct IOrder.ClientData";
593
597
  readonly name: "clientData";
@@ -680,7 +684,7 @@ declare const _default: readonly [{
680
684
  readonly type: "uint128[]";
681
685
  }, {
682
686
  readonly internalType: "uint128";
683
- readonly name: "payoutLimit";
687
+ readonly name: "potentialLossLimit";
684
688
  readonly type: "uint128";
685
689
  }, {
686
690
  readonly internalType: "uint8";
@@ -720,6 +724,10 @@ declare const _default: readonly [{
720
724
  readonly internalType: "uint128";
721
725
  readonly name: "totalAmount";
722
726
  readonly type: "uint128";
727
+ }, {
728
+ readonly internalType: "uint128[]";
729
+ readonly name: "amounts";
730
+ readonly type: "uint128[]";
723
731
  }];
724
732
  readonly stateMutability: "pure";
725
733
  readonly type: "function";
@@ -854,7 +862,7 @@ declare const _default: readonly [{
854
862
  readonly type: "uint128[]";
855
863
  }, {
856
864
  readonly internalType: "uint128";
857
- readonly name: "payoutLimit";
865
+ readonly name: "potentialLossLimit";
858
866
  readonly type: "uint128";
859
867
  }, {
860
868
  readonly internalType: "uint8";
@@ -902,7 +910,11 @@ declare const _default: readonly [{
902
910
  readonly type: "bytes";
903
911
  }];
904
912
  readonly name: "putOrder";
905
- readonly outputs: readonly [];
913
+ readonly outputs: readonly [{
914
+ readonly internalType: "uint256[]";
915
+ readonly name: "";
916
+ readonly type: "uint256[]";
917
+ }];
906
918
  readonly stateMutability: "nonpayable";
907
919
  readonly type: "function";
908
920
  }, {
package/dist/abis/LP.d.ts CHANGED
@@ -50,6 +50,14 @@ declare const _default: readonly [{
50
50
  readonly inputs: readonly [];
51
51
  readonly name: "LiquidityNotOwned";
52
52
  readonly type: "error";
53
+ }, {
54
+ readonly inputs: readonly [{
55
+ readonly internalType: "uint256";
56
+ readonly name: "tokenId";
57
+ readonly type: "uint256";
58
+ }];
59
+ readonly name: "LockedBetToken";
60
+ readonly type: "error";
53
61
  }, {
54
62
  readonly inputs: readonly [];
55
63
  readonly name: "LockedLiquidityComboLimitReached";
@@ -453,7 +461,7 @@ declare const _default: readonly [{
453
461
  readonly type: "uint128[]";
454
462
  }, {
455
463
  readonly internalType: "uint128";
456
- readonly name: "payoutLimit";
464
+ readonly name: "potentialLossLimit";
457
465
  readonly type: "uint128";
458
466
  }, {
459
467
  readonly internalType: "uint8";
@@ -497,7 +505,11 @@ declare const _default: readonly [{
497
505
  readonly type: "bytes";
498
506
  }];
499
507
  readonly name: "betOrder";
500
- readonly outputs: readonly [];
508
+ readonly outputs: readonly [{
509
+ readonly internalType: "uint256[]";
510
+ readonly name: "";
511
+ readonly type: "uint256[]";
512
+ }];
501
513
  readonly stateMutability: "nonpayable";
502
514
  readonly type: "function";
503
515
  }, {
@@ -2,6 +2,10 @@ declare const _default: readonly [{
2
2
  readonly inputs: readonly [];
3
3
  readonly stateMutability: "nonpayable";
4
4
  readonly type: "constructor";
5
+ }, {
6
+ readonly inputs: readonly [];
7
+ readonly name: "IncorrectAddress";
8
+ readonly type: "error";
5
9
  }, {
6
10
  readonly inputs: readonly [];
7
11
  readonly name: "InvalidInitialization";
@@ -10,6 +14,10 @@ declare const _default: readonly [{
10
14
  readonly inputs: readonly [];
11
15
  readonly name: "NotInitializing";
12
16
  readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "OnlyPaymaster";
20
+ readonly type: "error";
13
21
  }, {
14
22
  readonly inputs: readonly [{
15
23
  readonly internalType: "address";
@@ -26,6 +34,36 @@ declare const _default: readonly [{
26
34
  }];
27
35
  readonly name: "OwnableUnauthorizedAccount";
28
36
  readonly type: "error";
37
+ }, {
38
+ readonly anonymous: false;
39
+ readonly inputs: readonly [{
40
+ readonly indexed: true;
41
+ readonly internalType: "address";
42
+ readonly name: "relayer";
43
+ readonly type: "address";
44
+ }, {
45
+ readonly indexed: true;
46
+ readonly internalType: "address";
47
+ readonly name: "affiliate";
48
+ readonly type: "address";
49
+ }, {
50
+ readonly indexed: true;
51
+ readonly internalType: "address";
52
+ readonly name: "bettor";
53
+ readonly type: "address";
54
+ }, {
55
+ readonly indexed: false;
56
+ readonly internalType: "uint256[]";
57
+ readonly name: "tokenIds";
58
+ readonly type: "uint256[]";
59
+ }, {
60
+ readonly indexed: false;
61
+ readonly internalType: "uint256";
62
+ readonly name: "amount";
63
+ readonly type: "uint256";
64
+ }];
65
+ readonly name: "FeeSponsored";
66
+ readonly type: "event";
29
67
  }, {
30
68
  readonly anonymous: false;
31
69
  readonly inputs: readonly [{
@@ -51,6 +89,16 @@ declare const _default: readonly [{
51
89
  }];
52
90
  readonly name: "OwnershipTransferred";
53
91
  readonly type: "event";
92
+ }, {
93
+ readonly anonymous: false;
94
+ readonly inputs: readonly [{
95
+ readonly indexed: true;
96
+ readonly internalType: "address";
97
+ readonly name: "payMaster";
98
+ readonly type: "address";
99
+ }];
100
+ readonly name: "PayMasterChanged";
101
+ readonly type: "event";
54
102
  }, {
55
103
  readonly anonymous: false;
56
104
  readonly inputs: readonly [{
@@ -135,7 +183,7 @@ declare const _default: readonly [{
135
183
  readonly type: "uint128[]";
136
184
  }, {
137
185
  readonly internalType: "uint128";
138
- readonly name: "payoutLimit";
186
+ readonly name: "potentialLossLimit";
139
187
  readonly type: "uint128";
140
188
  }, {
141
189
  readonly internalType: "uint8";
@@ -174,6 +222,141 @@ declare const _default: readonly [{
174
222
  readonly outputs: readonly [];
175
223
  readonly stateMutability: "nonpayable";
176
224
  readonly type: "function";
225
+ }, {
226
+ readonly inputs: readonly [{
227
+ readonly internalType: "address";
228
+ readonly name: "relayExecutor";
229
+ readonly type: "address";
230
+ }, {
231
+ readonly components: readonly [{
232
+ readonly internalType: "string";
233
+ readonly name: "attention";
234
+ readonly type: "string";
235
+ }, {
236
+ readonly internalType: "address";
237
+ readonly name: "affiliate";
238
+ readonly type: "address";
239
+ }, {
240
+ readonly internalType: "address";
241
+ readonly name: "core";
242
+ readonly type: "address";
243
+ }, {
244
+ readonly internalType: "uint256";
245
+ readonly name: "expiresAt";
246
+ readonly type: "uint256";
247
+ }, {
248
+ readonly internalType: "uint256";
249
+ readonly name: "chainId";
250
+ readonly type: "uint256";
251
+ }, {
252
+ readonly internalType: "uint256";
253
+ readonly name: "relayerFeeAmount";
254
+ readonly type: "uint256";
255
+ }, {
256
+ readonly internalType: "bool";
257
+ readonly name: "isFeeSponsored";
258
+ readonly type: "bool";
259
+ }, {
260
+ readonly internalType: "bool";
261
+ readonly name: "isBetSponsored";
262
+ readonly type: "bool";
263
+ }, {
264
+ readonly internalType: "bool";
265
+ readonly name: "isSponsoredBetReturnable";
266
+ readonly type: "bool";
267
+ }];
268
+ readonly internalType: "struct IOrder.ClientData";
269
+ readonly name: "data";
270
+ readonly type: "tuple";
271
+ }, {
272
+ readonly components: readonly [{
273
+ readonly internalType: "address";
274
+ readonly name: "betOwner";
275
+ readonly type: "address";
276
+ }, {
277
+ readonly components: readonly [{
278
+ readonly internalType: "uint256";
279
+ readonly name: "gameId";
280
+ readonly type: "uint256";
281
+ }, {
282
+ readonly internalType: "uint256";
283
+ readonly name: "conditionId";
284
+ readonly type: "uint256";
285
+ }, {
286
+ readonly internalType: "enum IOrder.ConditionKind";
287
+ readonly name: "conditionKind";
288
+ readonly type: "uint8";
289
+ }, {
290
+ readonly internalType: "uint64[]";
291
+ readonly name: "odds";
292
+ readonly type: "uint64[]";
293
+ }, {
294
+ readonly internalType: "uint128[]";
295
+ readonly name: "outcomes";
296
+ readonly type: "uint128[]";
297
+ }, {
298
+ readonly internalType: "uint128";
299
+ readonly name: "potentialLossLimit";
300
+ readonly type: "uint128";
301
+ }, {
302
+ readonly internalType: "uint8";
303
+ readonly name: "winningOutcomesCount";
304
+ readonly type: "uint8";
305
+ }];
306
+ readonly internalType: "struct IOrder.ConditionData[]";
307
+ readonly name: "conditionDatas";
308
+ readonly type: "tuple[]";
309
+ }, {
310
+ readonly internalType: "enum IOrder.BetType";
311
+ readonly name: "betType";
312
+ readonly type: "uint8";
313
+ }, {
314
+ readonly internalType: "address";
315
+ readonly name: "oracle";
316
+ readonly type: "address";
317
+ }, {
318
+ readonly internalType: "bytes";
319
+ readonly name: "clientBetData";
320
+ readonly type: "bytes";
321
+ }, {
322
+ readonly internalType: "bytes";
323
+ readonly name: "bettorSignature";
324
+ readonly type: "bytes";
325
+ }, {
326
+ readonly internalType: "bytes";
327
+ readonly name: "oracleSignature";
328
+ readonly type: "bytes";
329
+ }];
330
+ readonly internalType: "struct IOrder.OrderData";
331
+ readonly name: "order";
332
+ readonly type: "tuple";
333
+ }, {
334
+ readonly internalType: "address";
335
+ readonly name: "betOwner";
336
+ readonly type: "address";
337
+ }, {
338
+ readonly internalType: "bytes";
339
+ readonly name: "hashes";
340
+ readonly type: "bytes";
341
+ }];
342
+ readonly name: "betOrder";
343
+ readonly outputs: readonly [{
344
+ readonly internalType: "uint256[]";
345
+ readonly name: "tokenIds";
346
+ readonly type: "uint256[]";
347
+ }];
348
+ readonly stateMutability: "nonpayable";
349
+ readonly type: "function";
350
+ }, {
351
+ readonly inputs: readonly [{
352
+ readonly internalType: "address";
353
+ readonly name: "payMaster_";
354
+ readonly type: "address";
355
+ }];
356
+ readonly name: "changePayMaster";
357
+ readonly outputs: readonly [];
358
+ readonly stateMutability: "nonpayable";
359
+ readonly type: "function";
177
360
  }, {
178
361
  readonly inputs: readonly [{
179
362
  readonly components: readonly [{
@@ -203,7 +386,7 @@ declare const _default: readonly [{
203
386
  readonly type: "uint128[]";
204
387
  }, {
205
388
  readonly internalType: "uint128";
206
- readonly name: "payoutLimit";
389
+ readonly name: "potentialLossLimit";
207
390
  readonly type: "uint128";
208
391
  }, {
209
392
  readonly internalType: "uint8";
@@ -264,6 +447,18 @@ declare const _default: readonly [{
264
447
  readonly internalType: "uint256";
265
448
  readonly name: "relayerFeeAmount";
266
449
  readonly type: "uint256";
450
+ }, {
451
+ readonly internalType: "bool";
452
+ readonly name: "isFeeSponsored";
453
+ readonly type: "bool";
454
+ }, {
455
+ readonly internalType: "bool";
456
+ readonly name: "isBetSponsored";
457
+ readonly type: "bool";
458
+ }, {
459
+ readonly internalType: "bool";
460
+ readonly name: "isSponsoredBetReturnable";
461
+ readonly type: "bool";
267
462
  }];
268
463
  readonly internalType: "struct IOrder.ClientData";
269
464
  readonly name: "clientData";
@@ -300,7 +495,7 @@ declare const _default: readonly [{
300
495
  readonly type: "uint128[]";
301
496
  }, {
302
497
  readonly internalType: "uint128";
303
- readonly name: "payoutLimit";
498
+ readonly name: "potentialLossLimit";
304
499
  readonly type: "uint128";
305
500
  }, {
306
501
  readonly internalType: "uint8";
@@ -340,6 +535,10 @@ declare const _default: readonly [{
340
535
  readonly internalType: "uint128";
341
536
  readonly name: "totalAmount";
342
537
  readonly type: "uint128";
538
+ }, {
539
+ readonly internalType: "uint128[]";
540
+ readonly name: "amounts";
541
+ readonly type: "uint128[]";
343
542
  }];
344
543
  readonly stateMutability: "pure";
345
544
  readonly type: "function";
@@ -348,6 +547,10 @@ declare const _default: readonly [{
348
547
  readonly internalType: "address";
349
548
  readonly name: "lp_";
350
549
  readonly type: "address";
550
+ }, {
551
+ readonly internalType: "address";
552
+ readonly name: "payMaster_";
553
+ readonly type: "address";
351
554
  }];
352
555
  readonly name: "initialize";
353
556
  readonly outputs: readonly [];
@@ -373,6 +576,16 @@ declare const _default: readonly [{
373
576
  }];
374
577
  readonly stateMutability: "view";
375
578
  readonly type: "function";
579
+ }, {
580
+ readonly inputs: readonly [];
581
+ readonly name: "payMaster";
582
+ readonly outputs: readonly [{
583
+ readonly internalType: "contract IPayMaster";
584
+ readonly name: "";
585
+ readonly type: "address";
586
+ }];
587
+ readonly stateMutability: "view";
588
+ readonly type: "function";
376
589
  }, {
377
590
  readonly inputs: readonly [];
378
591
  readonly name: "renounceOwnership";
package/dist/config.d.ts CHANGED
@@ -20,6 +20,15 @@ export declare const CLIENT_DATA_TYPES: readonly [{
20
20
  }, {
21
21
  readonly name: "relayerFeeAmount";
22
22
  readonly type: "uint256";
23
+ }, {
24
+ readonly name: "isFeeSponsored";
25
+ readonly type: "bool";
26
+ }, {
27
+ readonly name: "isBetSponsored";
28
+ readonly type: "bool";
29
+ }, {
30
+ readonly name: "isSponsoredBetReturnable";
31
+ readonly type: "bool";
23
32
  }];
24
33
  export declare const BET_DATA_TYPES: {
25
34
  readonly ClientBetData: readonly [{
@@ -47,6 +56,15 @@ export declare const BET_DATA_TYPES: {
47
56
  }, {
48
57
  readonly name: "relayerFeeAmount";
49
58
  readonly type: "uint256";
59
+ }, {
60
+ readonly name: "isFeeSponsored";
61
+ readonly type: "bool";
62
+ }, {
63
+ readonly name: "isBetSponsored";
64
+ readonly type: "bool";
65
+ }, {
66
+ readonly name: "isSponsoredBetReturnable";
67
+ readonly type: "bool";
50
68
  }];
51
69
  readonly SubBet: readonly [{
52
70
  readonly name: "conditionId";
@@ -100,6 +118,15 @@ export declare const COMBO_BET_DATA_TYPES: {
100
118
  }, {
101
119
  readonly name: "relayerFeeAmount";
102
120
  readonly type: "uint256";
121
+ }, {
122
+ readonly name: "isFeeSponsored";
123
+ readonly type: "bool";
124
+ }, {
125
+ readonly name: "isBetSponsored";
126
+ readonly type: "bool";
127
+ }, {
128
+ readonly name: "isSponsoredBetReturnable";
129
+ readonly type: "bool";
103
130
  }];
104
131
  readonly ComboPart: readonly [{
105
132
  readonly name: "conditionId";
@@ -138,6 +165,14 @@ export declare const CASHOUT_DATA_TYPES: {
138
165
  };
139
166
  export declare const CASHOUT_TYPED_DATA_DOMAIN_NAME = "Cash Out";
140
167
  export declare const CASHOUT_TYPED_DATA_DOMAIN_VERSION = "1.0.0";
168
+ export declare const gnosisData: ChainData;
169
+ export declare const gnosisDevData: ChainData;
170
+ export declare const polygonData: ChainData;
171
+ export declare const polygonAmoyData: ChainData;
172
+ export declare const chilizData: ChainData;
173
+ export declare const spicyData: ChainData;
174
+ export declare const baseSepoliaData: ChainData;
175
+ export declare const baseData: ChainData;
141
176
  export declare const chainsData: {
142
177
  100: ChainData;
143
178
  137: ChainData;
@@ -11,6 +11,7 @@ export type BetsQuery = {
11
11
  v3Bets: Array<{
12
12
  __typename?: 'V3_Bet';
13
13
  id: string;
14
+ actor: string;
14
15
  amount: string;
15
16
  status: Types.BetStatus;
16
17
  potentialPayout: string;
@@ -18,12 +19,14 @@ export type BetsQuery = {
18
19
  result?: Types.BetResult | null;
19
20
  odds: string;
20
21
  settledOdds?: string | null;
22
+ redeemedTxHash?: string | null;
21
23
  affiliate: string;
22
24
  isRedeemed: boolean;
23
25
  isRedeemable: boolean;
24
26
  isCashedOut: boolean;
25
27
  tokenId: string;
26
28
  createdAt: string;
29
+ resolvedAt?: string | null;
27
30
  txHash: string;
28
31
  core: {
29
32
  __typename?: 'CoreContract';
@@ -37,6 +40,7 @@ export type BetsQuery = {
37
40
  __typename?: 'V3_Selection';
38
41
  odds: string;
39
42
  result?: Types.SelectionResult | null;
43
+ conditionKind: Types.V3_SelectionConditionKind;
40
44
  outcome: {
41
45
  __typename?: 'V3_Outcome';
42
46
  outcomeId: string;
@@ -47,6 +51,7 @@ export type BetsQuery = {
47
51
  title?: string | null;
48
52
  status: Types.ConditionStatus;
49
53
  gameId: string;
54
+ wonOutcomeIds?: Array<string> | null;
50
55
  };
51
56
  };
52
57
  }>;
@@ -2,6 +2,7 @@ import * as Types from '../types';
2
2
  export type BetFragment = {
3
3
  __typename?: 'V3_Bet';
4
4
  id: string;
5
+ actor: string;
5
6
  amount: string;
6
7
  status: Types.BetStatus;
7
8
  potentialPayout: string;
@@ -9,12 +10,14 @@ export type BetFragment = {
9
10
  result?: Types.BetResult | null;
10
11
  odds: string;
11
12
  settledOdds?: string | null;
13
+ redeemedTxHash?: string | null;
12
14
  affiliate: string;
13
15
  isRedeemed: boolean;
14
16
  isRedeemable: boolean;
15
17
  isCashedOut: boolean;
16
18
  tokenId: string;
17
19
  createdAt: string;
20
+ resolvedAt?: string | null;
18
21
  txHash: string;
19
22
  core: {
20
23
  __typename?: 'CoreContract';
@@ -28,6 +31,7 @@ export type BetFragment = {
28
31
  __typename?: 'V3_Selection';
29
32
  odds: string;
30
33
  result?: Types.SelectionResult | null;
34
+ conditionKind: Types.V3_SelectionConditionKind;
31
35
  outcome: {
32
36
  __typename?: 'V3_Outcome';
33
37
  outcomeId: string;
@@ -38,6 +42,7 @@ export type BetFragment = {
38
42
  title?: string | null;
39
43
  status: Types.ConditionStatus;
40
44
  gameId: string;
45
+ wonOutcomeIds?: Array<string> | null;
41
46
  };
42
47
  };
43
48
  }>;
@@ -2,6 +2,7 @@ import * as Types from '../types';
2
2
  export type LegacyLiveBetFragment = {
3
3
  __typename?: 'LiveBet';
4
4
  id: string;
5
+ actor: string;
5
6
  amount: string;
6
7
  status: Types.BetStatus;
7
8
  potentialPayout: string;
@@ -9,12 +10,14 @@ export type LegacyLiveBetFragment = {
9
10
  result?: Types.BetResult | null;
10
11
  odds: string;
11
12
  settledOdds?: string | null;
13
+ redeemedTxHash?: string | null;
12
14
  affiliate?: string | null;
13
15
  isRedeemed: boolean;
14
16
  isRedeemable: boolean;
15
17
  isCashedOut: boolean;
16
18
  tokenId: string;
17
19
  createdAt: string;
20
+ resolvedAt?: string | null;
18
21
  txHash: string;
19
22
  core: {
20
23
  __typename?: 'CoreContract';
@@ -36,6 +39,7 @@ export type LegacyLiveBetFragment = {
36
39
  conditionId: string;
37
40
  status: Types.ConditionStatus;
38
41
  gameId: string;
42
+ wonOutcomeIds?: Array<string> | null;
39
43
  };
40
44
  };
41
45
  }>;
@@ -2,6 +2,7 @@ import * as Types from '../types';
2
2
  export type LegacyPrematchBetFragment = {
3
3
  __typename?: 'Bet';
4
4
  id: string;
5
+ actor: string;
5
6
  amount: string;
6
7
  status: Types.BetStatus;
7
8
  potentialPayout: string;
@@ -9,12 +10,14 @@ export type LegacyPrematchBetFragment = {
9
10
  result?: Types.BetResult | null;
10
11
  odds: string;
11
12
  settledOdds?: string | null;
13
+ redeemedTxHash?: string | null;
12
14
  affiliate?: string | null;
13
15
  isRedeemed: boolean;
14
16
  isRedeemable: boolean;
15
17
  isCashedOut: boolean;
16
18
  tokenId: string;
17
19
  createdAt: string;
20
+ resolvedAt?: string | null;
18
21
  txHash: string;
19
22
  core: {
20
23
  __typename?: 'CoreContract';
@@ -37,6 +40,7 @@ export type LegacyPrematchBetFragment = {
37
40
  conditionId: string;
38
41
  status: Types.ConditionStatus;
39
42
  title?: string | null;
43
+ wonOutcomeIds?: Array<string> | null;
40
44
  game: {
41
45
  __typename?: 'Game';
42
46
  id: string;
@@ -44,11 +48,17 @@ export type LegacyPrematchBetFragment = {
44
48
  title?: string | null;
45
49
  startsAt: string;
46
50
  status: Types.GameStatus;
51
+ slug?: string | null;
47
52
  sport: {
48
53
  __typename?: 'Sport';
49
54
  sportId: string;
50
55
  slug: string;
51
56
  name: string;
57
+ sporthub: {
58
+ __typename?: 'SportHub';
59
+ id: string;
60
+ slug: string;
61
+ };
52
62
  };
53
63
  league: {
54
64
  __typename?: 'League';
@@ -50,5 +50,29 @@ export type GameBetsQuery = {
50
50
  };
51
51
  }>;
52
52
  }>;
53
+ v3Bets: Array<{
54
+ __typename?: 'V3_Bet';
55
+ rawAmount: string;
56
+ rawPotentialPayout: string;
57
+ result?: Types.BetResult | null;
58
+ isCashedOut: boolean;
59
+ selections: Array<{
60
+ __typename?: 'V3_Selection';
61
+ rawOdds: string;
62
+ outcome: {
63
+ __typename?: 'V3_Outcome';
64
+ outcomeId: string;
65
+ condition: {
66
+ __typename?: 'V3_Condition';
67
+ conditionId: string;
68
+ gameId: string;
69
+ };
70
+ };
71
+ }>;
72
+ freebet?: {
73
+ __typename?: 'Freebet';
74
+ id: string;
75
+ } | null;
76
+ }>;
53
77
  };
54
78
  export declare const GameBetsDocument: import("graphql/language/ast").DocumentNode;