@azuro-org/toolkit 4.4.1 → 4.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/config.d.ts +28 -23
- package/dist/docs/live/types.d.ts +10 -0
- package/dist/docs/prematch/fragments/liveBet.d.ts +3 -2
- package/dist/docs/prematch/fragments/prematchBet.d.ts +3 -2
- package/dist/docs/prematch/liveBets.d.ts +3 -2
- package/dist/docs/prematch/prematchBets.d.ts +3 -2
- package/dist/docs/prematch/types.d.ts +706 -0
- package/dist/global.d.ts +23 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +266 -16
- package/dist/utils/cashout/createCashout.d.ts +22 -0
- package/dist/utils/cashout/getCalculatedCashout.d.ts +22 -0
- package/dist/utils/cashout/getCashout.d.ts +11 -0
- package/dist/utils/cashout/getCashoutTypedData.d.ts +13 -0
- package/dist/utils/cashout/getPrecalculatedCashouts.d.ts +18 -0
- package/dist/utils/getEndpoints.d.ts +1 -1
- package/dist/utils/getLiveBetTypedData.d.ts +2 -2
- package/dist/utils/getProviderFromId.d.ts +1 -0
- package/dist/utils/setupContracts.d.ts +11 -2
- package/package.json +4 -4
|
@@ -57,7 +57,99 @@ export type Scalars = {
|
|
|
57
57
|
input: any;
|
|
58
58
|
output: any;
|
|
59
59
|
};
|
|
60
|
+
Timestamp: {
|
|
61
|
+
input: any;
|
|
62
|
+
output: any;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export type AffiliateMonthly = {
|
|
66
|
+
__typename?: 'AffiliateMonthly';
|
|
67
|
+
affiliate: Scalars['String']['output'];
|
|
68
|
+
betsCount: Scalars['Int']['output'];
|
|
69
|
+
/** Affiliate address + year + month number */
|
|
70
|
+
id: Scalars['ID']['output'];
|
|
71
|
+
lastAnyBetCreatedTimestamp: Scalars['BigInt']['output'];
|
|
72
|
+
month: Scalars['Int']['output'];
|
|
73
|
+
year: Scalars['Int']['output'];
|
|
60
74
|
};
|
|
75
|
+
export type AffiliateMonthly_Filter = {
|
|
76
|
+
/** Filter for the block changed event. */
|
|
77
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
78
|
+
affiliate?: InputMaybe<Scalars['String']['input']>;
|
|
79
|
+
affiliate_contains?: InputMaybe<Scalars['String']['input']>;
|
|
80
|
+
affiliate_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
81
|
+
affiliate_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
82
|
+
affiliate_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
83
|
+
affiliate_gt?: InputMaybe<Scalars['String']['input']>;
|
|
84
|
+
affiliate_gte?: InputMaybe<Scalars['String']['input']>;
|
|
85
|
+
affiliate_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
86
|
+
affiliate_lt?: InputMaybe<Scalars['String']['input']>;
|
|
87
|
+
affiliate_lte?: InputMaybe<Scalars['String']['input']>;
|
|
88
|
+
affiliate_not?: InputMaybe<Scalars['String']['input']>;
|
|
89
|
+
affiliate_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
90
|
+
affiliate_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
91
|
+
affiliate_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
92
|
+
affiliate_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
93
|
+
affiliate_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
94
|
+
affiliate_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
95
|
+
affiliate_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
96
|
+
affiliate_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
97
|
+
affiliate_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
98
|
+
and?: InputMaybe<Array<InputMaybe<AffiliateMonthly_Filter>>>;
|
|
99
|
+
betsCount?: InputMaybe<Scalars['Int']['input']>;
|
|
100
|
+
betsCount_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
101
|
+
betsCount_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
102
|
+
betsCount_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
103
|
+
betsCount_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
104
|
+
betsCount_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
105
|
+
betsCount_not?: InputMaybe<Scalars['Int']['input']>;
|
|
106
|
+
betsCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
107
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
108
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
109
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
110
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
111
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
112
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
113
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
114
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
115
|
+
lastAnyBetCreatedTimestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
116
|
+
lastAnyBetCreatedTimestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
117
|
+
lastAnyBetCreatedTimestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
118
|
+
lastAnyBetCreatedTimestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
119
|
+
lastAnyBetCreatedTimestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
120
|
+
lastAnyBetCreatedTimestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
121
|
+
lastAnyBetCreatedTimestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
122
|
+
lastAnyBetCreatedTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
123
|
+
month?: InputMaybe<Scalars['Int']['input']>;
|
|
124
|
+
month_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
125
|
+
month_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
126
|
+
month_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
127
|
+
month_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
128
|
+
month_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
129
|
+
month_not?: InputMaybe<Scalars['Int']['input']>;
|
|
130
|
+
month_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
131
|
+
or?: InputMaybe<Array<InputMaybe<AffiliateMonthly_Filter>>>;
|
|
132
|
+
year?: InputMaybe<Scalars['Int']['input']>;
|
|
133
|
+
year_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
134
|
+
year_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
135
|
+
year_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
136
|
+
year_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
137
|
+
year_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
138
|
+
year_not?: InputMaybe<Scalars['Int']['input']>;
|
|
139
|
+
year_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
140
|
+
};
|
|
141
|
+
export declare enum AffiliateMonthly_OrderBy {
|
|
142
|
+
Affiliate = "affiliate",
|
|
143
|
+
BetsCount = "betsCount",
|
|
144
|
+
Id = "id",
|
|
145
|
+
LastAnyBetCreatedTimestamp = "lastAnyBetCreatedTimestamp",
|
|
146
|
+
Month = "month",
|
|
147
|
+
Year = "year"
|
|
148
|
+
}
|
|
149
|
+
export declare enum Aggregation_Interval {
|
|
150
|
+
Day = "day",
|
|
151
|
+
Hour = "hour"
|
|
152
|
+
}
|
|
61
153
|
export type AzuroBetContract = {
|
|
62
154
|
__typename?: 'AzuroBetContract';
|
|
63
155
|
address: Scalars['String']['output'];
|
|
@@ -145,6 +237,7 @@ export type Bet = {
|
|
|
145
237
|
approxSettledAt: Scalars['BigInt']['output'];
|
|
146
238
|
betId: Scalars['BigInt']['output'];
|
|
147
239
|
bettor: Scalars['String']['output'];
|
|
240
|
+
cashout?: Maybe<Cashout>;
|
|
148
241
|
core: CoreContract;
|
|
149
242
|
createdBlockNumber: Scalars['BigInt']['output'];
|
|
150
243
|
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
@@ -152,6 +245,7 @@ export type Bet = {
|
|
|
152
245
|
freebet?: Maybe<Freebet>;
|
|
153
246
|
/** Core contract address + Bet Id */
|
|
154
247
|
id: Scalars['ID']['output'];
|
|
248
|
+
isCashedOut: Scalars['Boolean']['output'];
|
|
155
249
|
isRedeemable: Scalars['Boolean']['output'];
|
|
156
250
|
isRedeemed: Scalars['Boolean']['output'];
|
|
157
251
|
odds: Scalars['BigDecimal']['output'];
|
|
@@ -442,6 +536,27 @@ export type Bet_Filter = {
|
|
|
442
536
|
bettor_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
443
537
|
bettor_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
444
538
|
bettor_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
539
|
+
cashout?: InputMaybe<Scalars['String']['input']>;
|
|
540
|
+
cashout_?: InputMaybe<Cashout_Filter>;
|
|
541
|
+
cashout_contains?: InputMaybe<Scalars['String']['input']>;
|
|
542
|
+
cashout_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
543
|
+
cashout_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
544
|
+
cashout_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
545
|
+
cashout_gt?: InputMaybe<Scalars['String']['input']>;
|
|
546
|
+
cashout_gte?: InputMaybe<Scalars['String']['input']>;
|
|
547
|
+
cashout_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
548
|
+
cashout_lt?: InputMaybe<Scalars['String']['input']>;
|
|
549
|
+
cashout_lte?: InputMaybe<Scalars['String']['input']>;
|
|
550
|
+
cashout_not?: InputMaybe<Scalars['String']['input']>;
|
|
551
|
+
cashout_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
552
|
+
cashout_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
553
|
+
cashout_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
554
|
+
cashout_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
555
|
+
cashout_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
556
|
+
cashout_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
557
|
+
cashout_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
558
|
+
cashout_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
559
|
+
cashout_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
445
560
|
core?: InputMaybe<Scalars['String']['input']>;
|
|
446
561
|
core_?: InputMaybe<CoreContract_Filter>;
|
|
447
562
|
core_contains?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -528,6 +643,10 @@ export type Bet_Filter = {
|
|
|
528
643
|
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
529
644
|
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
530
645
|
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
646
|
+
isCashedOut?: InputMaybe<Scalars['Boolean']['input']>;
|
|
647
|
+
isCashedOut_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
648
|
+
isCashedOut_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
649
|
+
isCashedOut_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
531
650
|
isRedeemable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
532
651
|
isRedeemable_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
533
652
|
isRedeemable_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -750,12 +869,14 @@ export declare enum Bet_OrderBy {
|
|
|
750
869
|
ApproxSettledAt = "approxSettledAt",
|
|
751
870
|
BetId = "betId",
|
|
752
871
|
Bettor = "bettor",
|
|
872
|
+
Cashout = "cashout",
|
|
753
873
|
Core = "core",
|
|
754
874
|
CreatedBlockNumber = "createdBlockNumber",
|
|
755
875
|
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
756
876
|
CreatedTxHash = "createdTxHash",
|
|
757
877
|
Freebet = "freebet",
|
|
758
878
|
Id = "id",
|
|
879
|
+
IsCashedOut = "isCashedOut",
|
|
759
880
|
IsRedeemable = "isRedeemable",
|
|
760
881
|
IsRedeemed = "isRedeemed",
|
|
761
882
|
Odds = "odds",
|
|
@@ -810,6 +931,9 @@ export type Bettor = {
|
|
|
810
931
|
rawTotalProfit: Scalars['BigInt']['output'];
|
|
811
932
|
rawTurnover: Scalars['BigInt']['output'];
|
|
812
933
|
redeemedBetsCount: Scalars['Int']['output'];
|
|
934
|
+
redeemedCanceledBetsCount: Scalars['Int']['output'];
|
|
935
|
+
redeemedLostBetsCount: Scalars['Int']['output'];
|
|
936
|
+
redeemedWonBetsCount: Scalars['Int']['output'];
|
|
813
937
|
settledBetsCount: Scalars['Int']['output'];
|
|
814
938
|
toPayout: Scalars['BigDecimal']['output'];
|
|
815
939
|
totalPayout: Scalars['BigDecimal']['output'];
|
|
@@ -1054,6 +1178,30 @@ export type Bettor_Filter = {
|
|
|
1054
1178
|
redeemedBetsCount_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1055
1179
|
redeemedBetsCount_not?: InputMaybe<Scalars['Int']['input']>;
|
|
1056
1180
|
redeemedBetsCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1181
|
+
redeemedCanceledBetsCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1182
|
+
redeemedCanceledBetsCount_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1183
|
+
redeemedCanceledBetsCount_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1184
|
+
redeemedCanceledBetsCount_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1185
|
+
redeemedCanceledBetsCount_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1186
|
+
redeemedCanceledBetsCount_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1187
|
+
redeemedCanceledBetsCount_not?: InputMaybe<Scalars['Int']['input']>;
|
|
1188
|
+
redeemedCanceledBetsCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1189
|
+
redeemedLostBetsCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1190
|
+
redeemedLostBetsCount_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1191
|
+
redeemedLostBetsCount_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1192
|
+
redeemedLostBetsCount_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1193
|
+
redeemedLostBetsCount_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1194
|
+
redeemedLostBetsCount_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1195
|
+
redeemedLostBetsCount_not?: InputMaybe<Scalars['Int']['input']>;
|
|
1196
|
+
redeemedLostBetsCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1197
|
+
redeemedWonBetsCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1198
|
+
redeemedWonBetsCount_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1199
|
+
redeemedWonBetsCount_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1200
|
+
redeemedWonBetsCount_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1201
|
+
redeemedWonBetsCount_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1202
|
+
redeemedWonBetsCount_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1203
|
+
redeemedWonBetsCount_not?: InputMaybe<Scalars['Int']['input']>;
|
|
1204
|
+
redeemedWonBetsCount_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1057
1205
|
settledBetsCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1058
1206
|
settledBetsCount_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1059
1207
|
settledBetsCount_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1130,6 +1278,9 @@ export declare enum Bettor_OrderBy {
|
|
|
1130
1278
|
RawTotalProfit = "rawTotalProfit",
|
|
1131
1279
|
RawTurnover = "rawTurnover",
|
|
1132
1280
|
RedeemedBetsCount = "redeemedBetsCount",
|
|
1281
|
+
RedeemedCanceledBetsCount = "redeemedCanceledBetsCount",
|
|
1282
|
+
RedeemedLostBetsCount = "redeemedLostBetsCount",
|
|
1283
|
+
RedeemedWonBetsCount = "redeemedWonBetsCount",
|
|
1133
1284
|
SettledBetsCount = "settledBetsCount",
|
|
1134
1285
|
ToPayout = "toPayout",
|
|
1135
1286
|
TotalPayout = "totalPayout",
|
|
@@ -1145,8 +1296,242 @@ export type Block_Height = {
|
|
|
1145
1296
|
number?: InputMaybe<Scalars['Int']['input']>;
|
|
1146
1297
|
number_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1147
1298
|
};
|
|
1299
|
+
export type Cashout = {
|
|
1300
|
+
__typename?: 'Cashout';
|
|
1301
|
+
_oddsDecimals: Scalars['Int']['output'];
|
|
1302
|
+
_tokenDecimals: Scalars['Int']['output'];
|
|
1303
|
+
_updatedAt: Scalars['BigInt']['output'];
|
|
1304
|
+
betContractAddress: Scalars['String']['output'];
|
|
1305
|
+
betId: Scalars['BigInt']['output'];
|
|
1306
|
+
cashoutContractAddress: Scalars['String']['output'];
|
|
1307
|
+
core: CoreContract;
|
|
1308
|
+
createdBlockNumber: Scalars['BigInt']['output'];
|
|
1309
|
+
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
1310
|
+
createdTxHash: Scalars['String']['output'];
|
|
1311
|
+
/** Bet Contract address + Bet Id */
|
|
1312
|
+
id: Scalars['ID']['output'];
|
|
1313
|
+
odds: Scalars['BigDecimal']['output'];
|
|
1314
|
+
owner: Scalars['String']['output'];
|
|
1315
|
+
payout: Scalars['BigDecimal']['output'];
|
|
1316
|
+
rawOdds: Scalars['BigInt']['output'];
|
|
1317
|
+
rawPayout: Scalars['BigInt']['output'];
|
|
1318
|
+
};
|
|
1319
|
+
export type Cashout_Filter = {
|
|
1320
|
+
/** Filter for the block changed event. */
|
|
1321
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1322
|
+
_oddsDecimals?: InputMaybe<Scalars['Int']['input']>;
|
|
1323
|
+
_oddsDecimals_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1324
|
+
_oddsDecimals_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1325
|
+
_oddsDecimals_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1326
|
+
_oddsDecimals_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1327
|
+
_oddsDecimals_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1328
|
+
_oddsDecimals_not?: InputMaybe<Scalars['Int']['input']>;
|
|
1329
|
+
_oddsDecimals_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1330
|
+
_tokenDecimals?: InputMaybe<Scalars['Int']['input']>;
|
|
1331
|
+
_tokenDecimals_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1332
|
+
_tokenDecimals_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
1333
|
+
_tokenDecimals_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1334
|
+
_tokenDecimals_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1335
|
+
_tokenDecimals_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
1336
|
+
_tokenDecimals_not?: InputMaybe<Scalars['Int']['input']>;
|
|
1337
|
+
_tokenDecimals_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1338
|
+
_updatedAt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1339
|
+
_updatedAt_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1340
|
+
_updatedAt_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1341
|
+
_updatedAt_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1342
|
+
_updatedAt_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1343
|
+
_updatedAt_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1344
|
+
_updatedAt_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1345
|
+
_updatedAt_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1346
|
+
and?: InputMaybe<Array<InputMaybe<Cashout_Filter>>>;
|
|
1347
|
+
betContractAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1348
|
+
betContractAddress_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1349
|
+
betContractAddress_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1350
|
+
betContractAddress_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1351
|
+
betContractAddress_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1352
|
+
betContractAddress_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1353
|
+
betContractAddress_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1354
|
+
betContractAddress_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1355
|
+
betContractAddress_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1356
|
+
betContractAddress_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1357
|
+
betContractAddress_not?: InputMaybe<Scalars['String']['input']>;
|
|
1358
|
+
betContractAddress_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1359
|
+
betContractAddress_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1360
|
+
betContractAddress_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1361
|
+
betContractAddress_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1362
|
+
betContractAddress_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1363
|
+
betContractAddress_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1364
|
+
betContractAddress_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1365
|
+
betContractAddress_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1366
|
+
betContractAddress_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1367
|
+
betId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1368
|
+
betId_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1369
|
+
betId_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1370
|
+
betId_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1371
|
+
betId_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1372
|
+
betId_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1373
|
+
betId_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1374
|
+
betId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1375
|
+
cashoutContractAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1376
|
+
cashoutContractAddress_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1377
|
+
cashoutContractAddress_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1378
|
+
cashoutContractAddress_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1379
|
+
cashoutContractAddress_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1380
|
+
cashoutContractAddress_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1381
|
+
cashoutContractAddress_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1382
|
+
cashoutContractAddress_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1383
|
+
cashoutContractAddress_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1384
|
+
cashoutContractAddress_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1385
|
+
cashoutContractAddress_not?: InputMaybe<Scalars['String']['input']>;
|
|
1386
|
+
cashoutContractAddress_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1387
|
+
cashoutContractAddress_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1388
|
+
cashoutContractAddress_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1389
|
+
cashoutContractAddress_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1390
|
+
cashoutContractAddress_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1391
|
+
cashoutContractAddress_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1392
|
+
cashoutContractAddress_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1393
|
+
cashoutContractAddress_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1394
|
+
cashoutContractAddress_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1395
|
+
core?: InputMaybe<Scalars['String']['input']>;
|
|
1396
|
+
core_?: InputMaybe<CoreContract_Filter>;
|
|
1397
|
+
core_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1398
|
+
core_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1399
|
+
core_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1400
|
+
core_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1401
|
+
core_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1402
|
+
core_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1403
|
+
core_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1404
|
+
core_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1405
|
+
core_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1406
|
+
core_not?: InputMaybe<Scalars['String']['input']>;
|
|
1407
|
+
core_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1408
|
+
core_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1409
|
+
core_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1410
|
+
core_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1411
|
+
core_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1412
|
+
core_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1413
|
+
core_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1414
|
+
core_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1415
|
+
core_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1416
|
+
createdBlockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1417
|
+
createdBlockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1418
|
+
createdBlockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1419
|
+
createdBlockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1420
|
+
createdBlockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1421
|
+
createdBlockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1422
|
+
createdBlockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1423
|
+
createdBlockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1424
|
+
createdBlockTimestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1425
|
+
createdBlockTimestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1426
|
+
createdBlockTimestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1427
|
+
createdBlockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1428
|
+
createdBlockTimestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1429
|
+
createdBlockTimestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1430
|
+
createdBlockTimestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1431
|
+
createdBlockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1432
|
+
createdTxHash?: InputMaybe<Scalars['String']['input']>;
|
|
1433
|
+
createdTxHash_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1434
|
+
createdTxHash_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1435
|
+
createdTxHash_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1436
|
+
createdTxHash_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1437
|
+
createdTxHash_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1438
|
+
createdTxHash_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1439
|
+
createdTxHash_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1440
|
+
createdTxHash_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1441
|
+
createdTxHash_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1442
|
+
createdTxHash_not?: InputMaybe<Scalars['String']['input']>;
|
|
1443
|
+
createdTxHash_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1444
|
+
createdTxHash_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1445
|
+
createdTxHash_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1446
|
+
createdTxHash_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1447
|
+
createdTxHash_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1448
|
+
createdTxHash_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1449
|
+
createdTxHash_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1450
|
+
createdTxHash_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1451
|
+
createdTxHash_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1452
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1453
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1454
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
1455
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1456
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
1457
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
1458
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
1459
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1460
|
+
odds?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1461
|
+
odds_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1462
|
+
odds_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1463
|
+
odds_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
1464
|
+
odds_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1465
|
+
odds_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1466
|
+
odds_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1467
|
+
odds_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
1468
|
+
or?: InputMaybe<Array<InputMaybe<Cashout_Filter>>>;
|
|
1469
|
+
owner?: InputMaybe<Scalars['String']['input']>;
|
|
1470
|
+
owner_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1471
|
+
owner_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1472
|
+
owner_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1473
|
+
owner_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1474
|
+
owner_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1475
|
+
owner_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1476
|
+
owner_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1477
|
+
owner_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1478
|
+
owner_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1479
|
+
owner_not?: InputMaybe<Scalars['String']['input']>;
|
|
1480
|
+
owner_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1481
|
+
owner_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1482
|
+
owner_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1483
|
+
owner_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1484
|
+
owner_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1485
|
+
owner_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1486
|
+
owner_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1487
|
+
owner_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1488
|
+
owner_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1489
|
+
payout?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1490
|
+
payout_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1491
|
+
payout_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1492
|
+
payout_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
1493
|
+
payout_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1494
|
+
payout_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1495
|
+
payout_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
1496
|
+
payout_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
1497
|
+
rawOdds?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1498
|
+
rawOdds_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1499
|
+
rawOdds_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1500
|
+
rawOdds_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1501
|
+
rawOdds_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1502
|
+
rawOdds_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1503
|
+
rawOdds_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1504
|
+
rawOdds_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1505
|
+
rawPayout?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1506
|
+
rawPayout_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1507
|
+
rawPayout_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1508
|
+
rawPayout_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1509
|
+
rawPayout_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1510
|
+
rawPayout_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1511
|
+
rawPayout_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1512
|
+
rawPayout_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1513
|
+
};
|
|
1514
|
+
export declare enum Cashout_OrderBy {
|
|
1515
|
+
OddsDecimals = "_oddsDecimals",
|
|
1516
|
+
TokenDecimals = "_tokenDecimals",
|
|
1517
|
+
UpdatedAt = "_updatedAt",
|
|
1518
|
+
BetContractAddress = "betContractAddress",
|
|
1519
|
+
BetId = "betId",
|
|
1520
|
+
CashoutContractAddress = "cashoutContractAddress",
|
|
1521
|
+
Core = "core",
|
|
1522
|
+
CreatedBlockNumber = "createdBlockNumber",
|
|
1523
|
+
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
1524
|
+
CreatedTxHash = "createdTxHash",
|
|
1525
|
+
Id = "id",
|
|
1526
|
+
Odds = "odds",
|
|
1527
|
+
Owner = "owner",
|
|
1528
|
+
Payout = "payout",
|
|
1529
|
+
RawOdds = "rawOdds",
|
|
1530
|
+
RawPayout = "rawPayout"
|
|
1531
|
+
}
|
|
1148
1532
|
export type Condition = {
|
|
1149
1533
|
__typename?: 'Condition';
|
|
1534
|
+
_outcomesKey?: Maybe<Scalars['String']['output']>;
|
|
1150
1535
|
_updatedAt: Scalars['BigInt']['output'];
|
|
1151
1536
|
_winningOutcomesCount: Scalars['Int']['output'];
|
|
1152
1537
|
conditionId: Scalars['BigInt']['output'];
|
|
@@ -1156,6 +1541,7 @@ export type Condition = {
|
|
|
1156
1541
|
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
1157
1542
|
createdTxHash: Scalars['String']['output'];
|
|
1158
1543
|
game: Game;
|
|
1544
|
+
hidden: Scalars['Boolean']['output'];
|
|
1159
1545
|
/** Core Contract address + Condition Id */
|
|
1160
1546
|
id: Scalars['ID']['output'];
|
|
1161
1547
|
internalStartsAt?: Maybe<Scalars['BigInt']['output']>;
|
|
@@ -1188,6 +1574,67 @@ export type ConditionWonOutcomesArgs = {
|
|
|
1188
1574
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1189
1575
|
where?: InputMaybe<Outcome_Filter>;
|
|
1190
1576
|
};
|
|
1577
|
+
export type ConditionLog = {
|
|
1578
|
+
__typename?: 'ConditionLog';
|
|
1579
|
+
conditionId: Scalars['BigInt']['output'];
|
|
1580
|
+
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
1581
|
+
/** Core Contract address + Condition Id */
|
|
1582
|
+
id: Scalars['ID']['output'];
|
|
1583
|
+
isLive: Scalars['Boolean']['output'];
|
|
1584
|
+
status: ConditionLogStatus;
|
|
1585
|
+
};
|
|
1586
|
+
export declare enum ConditionLogStatus {
|
|
1587
|
+
Canceled = "Canceled",
|
|
1588
|
+
Created = "Created",
|
|
1589
|
+
Paused = "Paused",
|
|
1590
|
+
Resolved = "Resolved",
|
|
1591
|
+
Unpaused = "Unpaused"
|
|
1592
|
+
}
|
|
1593
|
+
export type ConditionLog_Filter = {
|
|
1594
|
+
/** Filter for the block changed event. */
|
|
1595
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1596
|
+
and?: InputMaybe<Array<InputMaybe<ConditionLog_Filter>>>;
|
|
1597
|
+
conditionId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1598
|
+
conditionId_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1599
|
+
conditionId_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1600
|
+
conditionId_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1601
|
+
conditionId_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1602
|
+
conditionId_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1603
|
+
conditionId_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1604
|
+
conditionId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1605
|
+
createdBlockTimestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1606
|
+
createdBlockTimestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1607
|
+
createdBlockTimestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1608
|
+
createdBlockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1609
|
+
createdBlockTimestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1610
|
+
createdBlockTimestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1611
|
+
createdBlockTimestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1612
|
+
createdBlockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1613
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1614
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1615
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
1616
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1617
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
1618
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
1619
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
1620
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1621
|
+
isLive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1622
|
+
isLive_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1623
|
+
isLive_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1624
|
+
isLive_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1625
|
+
or?: InputMaybe<Array<InputMaybe<ConditionLog_Filter>>>;
|
|
1626
|
+
status?: InputMaybe<ConditionLogStatus>;
|
|
1627
|
+
status_in?: InputMaybe<Array<ConditionLogStatus>>;
|
|
1628
|
+
status_not?: InputMaybe<ConditionLogStatus>;
|
|
1629
|
+
status_not_in?: InputMaybe<Array<ConditionLogStatus>>;
|
|
1630
|
+
};
|
|
1631
|
+
export declare enum ConditionLog_OrderBy {
|
|
1632
|
+
ConditionId = "conditionId",
|
|
1633
|
+
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
1634
|
+
Id = "id",
|
|
1635
|
+
IsLive = "isLive",
|
|
1636
|
+
Status = "status"
|
|
1637
|
+
}
|
|
1191
1638
|
export declare enum ConditionStatus {
|
|
1192
1639
|
Canceled = "Canceled",
|
|
1193
1640
|
Created = "Created",
|
|
@@ -1197,6 +1644,26 @@ export declare enum ConditionStatus {
|
|
|
1197
1644
|
export type Condition_Filter = {
|
|
1198
1645
|
/** Filter for the block changed event. */
|
|
1199
1646
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1647
|
+
_outcomesKey?: InputMaybe<Scalars['String']['input']>;
|
|
1648
|
+
_outcomesKey_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1649
|
+
_outcomesKey_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1650
|
+
_outcomesKey_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1651
|
+
_outcomesKey_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1652
|
+
_outcomesKey_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1653
|
+
_outcomesKey_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1654
|
+
_outcomesKey_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1655
|
+
_outcomesKey_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1656
|
+
_outcomesKey_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1657
|
+
_outcomesKey_not?: InputMaybe<Scalars['String']['input']>;
|
|
1658
|
+
_outcomesKey_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1659
|
+
_outcomesKey_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1660
|
+
_outcomesKey_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1661
|
+
_outcomesKey_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1662
|
+
_outcomesKey_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1663
|
+
_outcomesKey_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1664
|
+
_outcomesKey_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1665
|
+
_outcomesKey_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1666
|
+
_outcomesKey_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1200
1667
|
_updatedAt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1201
1668
|
_updatedAt_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1202
1669
|
_updatedAt_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1320,6 +1787,10 @@ export type Condition_Filter = {
|
|
|
1320
1787
|
game_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1321
1788
|
game_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1322
1789
|
game_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1790
|
+
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1791
|
+
hidden_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1792
|
+
hidden_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1793
|
+
hidden_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1323
1794
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1324
1795
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1325
1796
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1455,6 +1926,7 @@ export type Condition_Filter = {
|
|
|
1455
1926
|
wonOutcomes_not_contains_nocase?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1456
1927
|
};
|
|
1457
1928
|
export declare enum Condition_OrderBy {
|
|
1929
|
+
OutcomesKey = "_outcomesKey",
|
|
1458
1930
|
UpdatedAt = "_updatedAt",
|
|
1459
1931
|
WinningOutcomesCount = "_winningOutcomesCount",
|
|
1460
1932
|
ConditionId = "conditionId",
|
|
@@ -1464,6 +1936,7 @@ export declare enum Condition_OrderBy {
|
|
|
1464
1936
|
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
1465
1937
|
CreatedTxHash = "createdTxHash",
|
|
1466
1938
|
Game = "game",
|
|
1939
|
+
Hidden = "hidden",
|
|
1467
1940
|
Id = "id",
|
|
1468
1941
|
InternalStartsAt = "internalStartsAt",
|
|
1469
1942
|
IsExpressForbidden = "isExpressForbidden",
|
|
@@ -1713,6 +2186,7 @@ export type Event = {
|
|
|
1713
2186
|
};
|
|
1714
2187
|
export declare enum EventName {
|
|
1715
2188
|
AzuroBetTransfer = "AzuroBetTransfer",
|
|
2189
|
+
BetCashedOut = "BetCashedOut",
|
|
1716
2190
|
BetSettled = "BetSettled",
|
|
1717
2191
|
BettorWin = "BettorWin",
|
|
1718
2192
|
ConditionCreated = "ConditionCreated",
|
|
@@ -1724,6 +2198,7 @@ export declare enum EventName {
|
|
|
1724
2198
|
FreeBetRedeemed = "FreeBetRedeemed",
|
|
1725
2199
|
FreeBetReissued = "FreeBetReissued",
|
|
1726
2200
|
FreeBetTransfer = "FreeBetTransfer",
|
|
2201
|
+
GameCanceled = "GameCanceled",
|
|
1727
2202
|
GameShifted = "GameShifted",
|
|
1728
2203
|
LiquidityAdded = "LiquidityAdded",
|
|
1729
2204
|
LiquidityRemoved = "LiquidityRemoved",
|
|
@@ -2491,6 +2966,7 @@ export type Game = {
|
|
|
2491
2966
|
_activeConditionsEntityIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
2492
2967
|
_canceledConditionsEntityIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
2493
2968
|
_pausedConditionsEntityIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
2969
|
+
_providerTitle?: Maybe<Scalars['String']['output']>;
|
|
2494
2970
|
_resolvedConditionsEntityIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
2495
2971
|
_updatedAt: Scalars['BigInt']['output'];
|
|
2496
2972
|
conditions: Array<Condition>;
|
|
@@ -2559,6 +3035,26 @@ export type Game_Filter = {
|
|
|
2559
3035
|
_pausedConditionsEntityIds_not?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2560
3036
|
_pausedConditionsEntityIds_not_contains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2561
3037
|
_pausedConditionsEntityIds_not_contains_nocase?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3038
|
+
_providerTitle?: InputMaybe<Scalars['String']['input']>;
|
|
3039
|
+
_providerTitle_contains?: InputMaybe<Scalars['String']['input']>;
|
|
3040
|
+
_providerTitle_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3041
|
+
_providerTitle_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
3042
|
+
_providerTitle_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3043
|
+
_providerTitle_gt?: InputMaybe<Scalars['String']['input']>;
|
|
3044
|
+
_providerTitle_gte?: InputMaybe<Scalars['String']['input']>;
|
|
3045
|
+
_providerTitle_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3046
|
+
_providerTitle_lt?: InputMaybe<Scalars['String']['input']>;
|
|
3047
|
+
_providerTitle_lte?: InputMaybe<Scalars['String']['input']>;
|
|
3048
|
+
_providerTitle_not?: InputMaybe<Scalars['String']['input']>;
|
|
3049
|
+
_providerTitle_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
3050
|
+
_providerTitle_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3051
|
+
_providerTitle_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
3052
|
+
_providerTitle_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3053
|
+
_providerTitle_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3054
|
+
_providerTitle_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
3055
|
+
_providerTitle_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3056
|
+
_providerTitle_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
3057
|
+
_providerTitle_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2562
3058
|
_resolvedConditionsEntityIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2563
3059
|
_resolvedConditionsEntityIds_contains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2564
3060
|
_resolvedConditionsEntityIds_contains_nocase?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -2841,6 +3337,7 @@ export declare enum Game_OrderBy {
|
|
|
2841
3337
|
ActiveConditionsEntityIds = "_activeConditionsEntityIds",
|
|
2842
3338
|
CanceledConditionsEntityIds = "_canceledConditionsEntityIds",
|
|
2843
3339
|
PausedConditionsEntityIds = "_pausedConditionsEntityIds",
|
|
3340
|
+
ProviderTitle = "_providerTitle",
|
|
2844
3341
|
ResolvedConditionsEntityIds = "_resolvedConditionsEntityIds",
|
|
2845
3342
|
UpdatedAt = "_updatedAt",
|
|
2846
3343
|
Conditions = "conditions",
|
|
@@ -3710,6 +4207,7 @@ export type LiveBet = {
|
|
|
3710
4207
|
amount: Scalars['BigDecimal']['output'];
|
|
3711
4208
|
betId: Scalars['BigInt']['output'];
|
|
3712
4209
|
bettor: Scalars['String']['output'];
|
|
4210
|
+
cashout?: Maybe<Cashout>;
|
|
3713
4211
|
core: CoreContract;
|
|
3714
4212
|
createdBlockNumber: Scalars['BigInt']['output'];
|
|
3715
4213
|
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
@@ -3717,6 +4215,7 @@ export type LiveBet = {
|
|
|
3717
4215
|
freebet?: Maybe<Freebet>;
|
|
3718
4216
|
/** Core contract address + Bet Id */
|
|
3719
4217
|
id: Scalars['ID']['output'];
|
|
4218
|
+
isCashedOut: Scalars['Boolean']['output'];
|
|
3720
4219
|
isRedeemable: Scalars['Boolean']['output'];
|
|
3721
4220
|
isRedeemed: Scalars['Boolean']['output'];
|
|
3722
4221
|
nonce?: Maybe<Scalars['BigInt']['output']>;
|
|
@@ -3938,6 +4437,27 @@ export type LiveBet_Filter = {
|
|
|
3938
4437
|
bettor_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3939
4438
|
bettor_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
3940
4439
|
bettor_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
4440
|
+
cashout?: InputMaybe<Scalars['String']['input']>;
|
|
4441
|
+
cashout_?: InputMaybe<Cashout_Filter>;
|
|
4442
|
+
cashout_contains?: InputMaybe<Scalars['String']['input']>;
|
|
4443
|
+
cashout_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
4444
|
+
cashout_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
4445
|
+
cashout_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
4446
|
+
cashout_gt?: InputMaybe<Scalars['String']['input']>;
|
|
4447
|
+
cashout_gte?: InputMaybe<Scalars['String']['input']>;
|
|
4448
|
+
cashout_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4449
|
+
cashout_lt?: InputMaybe<Scalars['String']['input']>;
|
|
4450
|
+
cashout_lte?: InputMaybe<Scalars['String']['input']>;
|
|
4451
|
+
cashout_not?: InputMaybe<Scalars['String']['input']>;
|
|
4452
|
+
cashout_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
4453
|
+
cashout_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
4454
|
+
cashout_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
4455
|
+
cashout_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
4456
|
+
cashout_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4457
|
+
cashout_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
4458
|
+
cashout_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
4459
|
+
cashout_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
4460
|
+
cashout_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
3941
4461
|
core?: InputMaybe<Scalars['String']['input']>;
|
|
3942
4462
|
core_?: InputMaybe<CoreContract_Filter>;
|
|
3943
4463
|
core_contains?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4024,6 +4544,10 @@ export type LiveBet_Filter = {
|
|
|
4024
4544
|
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
4025
4545
|
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
4026
4546
|
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4547
|
+
isCashedOut?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4548
|
+
isCashedOut_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
4549
|
+
isCashedOut_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4550
|
+
isCashedOut_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
4027
4551
|
isRedeemable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4028
4552
|
isRedeemable_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
4029
4553
|
isRedeemable_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -4265,12 +4789,14 @@ export declare enum LiveBet_OrderBy {
|
|
|
4265
4789
|
Amount = "amount",
|
|
4266
4790
|
BetId = "betId",
|
|
4267
4791
|
Bettor = "bettor",
|
|
4792
|
+
Cashout = "cashout",
|
|
4268
4793
|
Core = "core",
|
|
4269
4794
|
CreatedBlockNumber = "createdBlockNumber",
|
|
4270
4795
|
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
4271
4796
|
CreatedTxHash = "createdTxHash",
|
|
4272
4797
|
Freebet = "freebet",
|
|
4273
4798
|
Id = "id",
|
|
4799
|
+
IsCashedOut = "isCashedOut",
|
|
4274
4800
|
IsRedeemable = "isRedeemable",
|
|
4275
4801
|
IsRedeemed = "isRedeemed",
|
|
4276
4802
|
Nonce = "nonce",
|
|
@@ -4309,6 +4835,7 @@ export type LiveCondition = {
|
|
|
4309
4835
|
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
4310
4836
|
createdTxHash: Scalars['String']['output'];
|
|
4311
4837
|
gameId: Scalars['BigInt']['output'];
|
|
4838
|
+
hidden: Scalars['Boolean']['output'];
|
|
4312
4839
|
/** Core Contract address + Condition Id */
|
|
4313
4840
|
id: Scalars['ID']['output'];
|
|
4314
4841
|
outcomes: Array<LiveOutcome>;
|
|
@@ -4449,6 +4976,10 @@ export type LiveCondition_Filter = {
|
|
|
4449
4976
|
gameId_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4450
4977
|
gameId_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
4451
4978
|
gameId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
4979
|
+
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4980
|
+
hidden_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
4981
|
+
hidden_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4982
|
+
hidden_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
4452
4983
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
4453
4984
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
4454
4985
|
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -4557,6 +5088,7 @@ export declare enum LiveCondition_OrderBy {
|
|
|
4557
5088
|
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
4558
5089
|
CreatedTxHash = "createdTxHash",
|
|
4559
5090
|
GameId = "gameId",
|
|
5091
|
+
Hidden = "hidden",
|
|
4560
5092
|
Id = "id",
|
|
4561
5093
|
Outcomes = "outcomes",
|
|
4562
5094
|
OutcomesIds = "outcomesIds",
|
|
@@ -5029,6 +5561,50 @@ export declare enum Outcome_OrderBy {
|
|
|
5029
5561
|
SortOrder = "sortOrder",
|
|
5030
5562
|
Title = "title"
|
|
5031
5563
|
}
|
|
5564
|
+
export type OutcomesKeyConditionRelation = {
|
|
5565
|
+
__typename?: 'OutcomesKeyConditionRelation';
|
|
5566
|
+
conditionEntityId: Scalars['String']['output'];
|
|
5567
|
+
/** Core Contract address + Joined outcome keys */
|
|
5568
|
+
id: Scalars['ID']['output'];
|
|
5569
|
+
};
|
|
5570
|
+
export type OutcomesKeyConditionRelation_Filter = {
|
|
5571
|
+
/** Filter for the block changed event. */
|
|
5572
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
5573
|
+
and?: InputMaybe<Array<InputMaybe<OutcomesKeyConditionRelation_Filter>>>;
|
|
5574
|
+
conditionEntityId?: InputMaybe<Scalars['String']['input']>;
|
|
5575
|
+
conditionEntityId_contains?: InputMaybe<Scalars['String']['input']>;
|
|
5576
|
+
conditionEntityId_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5577
|
+
conditionEntityId_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
5578
|
+
conditionEntityId_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5579
|
+
conditionEntityId_gt?: InputMaybe<Scalars['String']['input']>;
|
|
5580
|
+
conditionEntityId_gte?: InputMaybe<Scalars['String']['input']>;
|
|
5581
|
+
conditionEntityId_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5582
|
+
conditionEntityId_lt?: InputMaybe<Scalars['String']['input']>;
|
|
5583
|
+
conditionEntityId_lte?: InputMaybe<Scalars['String']['input']>;
|
|
5584
|
+
conditionEntityId_not?: InputMaybe<Scalars['String']['input']>;
|
|
5585
|
+
conditionEntityId_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
5586
|
+
conditionEntityId_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5587
|
+
conditionEntityId_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
5588
|
+
conditionEntityId_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5589
|
+
conditionEntityId_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5590
|
+
conditionEntityId_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
5591
|
+
conditionEntityId_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5592
|
+
conditionEntityId_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
5593
|
+
conditionEntityId_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
5594
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
5595
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
5596
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
5597
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5598
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
5599
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
5600
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
5601
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5602
|
+
or?: InputMaybe<Array<InputMaybe<OutcomesKeyConditionRelation_Filter>>>;
|
|
5603
|
+
};
|
|
5604
|
+
export declare enum OutcomesKeyConditionRelation_OrderBy {
|
|
5605
|
+
ConditionEntityId = "conditionEntityId",
|
|
5606
|
+
Id = "id"
|
|
5607
|
+
}
|
|
5032
5608
|
export type Participant = {
|
|
5033
5609
|
__typename?: 'Participant';
|
|
5034
5610
|
game: Game;
|
|
@@ -5132,6 +5708,8 @@ export type Query = {
|
|
|
5132
5708
|
__typename?: 'Query';
|
|
5133
5709
|
/** Access to subgraph metadata */
|
|
5134
5710
|
_meta?: Maybe<_Meta_>;
|
|
5711
|
+
affiliateMonthlies: Array<AffiliateMonthly>;
|
|
5712
|
+
affiliateMonthly?: Maybe<AffiliateMonthly>;
|
|
5135
5713
|
azuroBetContract?: Maybe<AzuroBetContract>;
|
|
5136
5714
|
azuroBetContracts: Array<AzuroBetContract>;
|
|
5137
5715
|
bet?: Maybe<Bet>;
|
|
@@ -5140,7 +5718,11 @@ export type Query = {
|
|
|
5140
5718
|
bets: Array<Bet>;
|
|
5141
5719
|
bettor?: Maybe<Bettor>;
|
|
5142
5720
|
bettors: Array<Bettor>;
|
|
5721
|
+
cashout?: Maybe<Cashout>;
|
|
5722
|
+
cashouts: Array<Cashout>;
|
|
5143
5723
|
condition?: Maybe<Condition>;
|
|
5724
|
+
conditionLog?: Maybe<ConditionLog>;
|
|
5725
|
+
conditionLogs: Array<ConditionLog>;
|
|
5144
5726
|
conditions: Array<Condition>;
|
|
5145
5727
|
coreContract?: Maybe<CoreContract>;
|
|
5146
5728
|
coreContracts: Array<CoreContract>;
|
|
@@ -5174,6 +5756,8 @@ export type Query = {
|
|
|
5174
5756
|
liveSelections: Array<LiveSelection>;
|
|
5175
5757
|
outcome?: Maybe<Outcome>;
|
|
5176
5758
|
outcomes: Array<Outcome>;
|
|
5759
|
+
outcomesKeyConditionRelation?: Maybe<OutcomesKeyConditionRelation>;
|
|
5760
|
+
outcomesKeyConditionRelations: Array<OutcomesKeyConditionRelation>;
|
|
5177
5761
|
participant?: Maybe<Participant>;
|
|
5178
5762
|
participants: Array<Participant>;
|
|
5179
5763
|
selection?: Maybe<Selection>;
|
|
@@ -5186,6 +5770,20 @@ export type Query = {
|
|
|
5186
5770
|
export type Query_MetaArgs = {
|
|
5187
5771
|
block?: InputMaybe<Block_Height>;
|
|
5188
5772
|
};
|
|
5773
|
+
export type QueryAffiliateMonthliesArgs = {
|
|
5774
|
+
block?: InputMaybe<Block_Height>;
|
|
5775
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5776
|
+
orderBy?: InputMaybe<AffiliateMonthly_OrderBy>;
|
|
5777
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
5778
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
5779
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
5780
|
+
where?: InputMaybe<AffiliateMonthly_Filter>;
|
|
5781
|
+
};
|
|
5782
|
+
export type QueryAffiliateMonthlyArgs = {
|
|
5783
|
+
block?: InputMaybe<Block_Height>;
|
|
5784
|
+
id: Scalars['ID']['input'];
|
|
5785
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
5786
|
+
};
|
|
5189
5787
|
export type QueryAzuroBetContractArgs = {
|
|
5190
5788
|
block?: InputMaybe<Block_Height>;
|
|
5191
5789
|
id: Scalars['ID']['input'];
|
|
@@ -5242,11 +5840,39 @@ export type QueryBettorsArgs = {
|
|
|
5242
5840
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
5243
5841
|
where?: InputMaybe<Bettor_Filter>;
|
|
5244
5842
|
};
|
|
5843
|
+
export type QueryCashoutArgs = {
|
|
5844
|
+
block?: InputMaybe<Block_Height>;
|
|
5845
|
+
id: Scalars['ID']['input'];
|
|
5846
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
5847
|
+
};
|
|
5848
|
+
export type QueryCashoutsArgs = {
|
|
5849
|
+
block?: InputMaybe<Block_Height>;
|
|
5850
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5851
|
+
orderBy?: InputMaybe<Cashout_OrderBy>;
|
|
5852
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
5853
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
5854
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
5855
|
+
where?: InputMaybe<Cashout_Filter>;
|
|
5856
|
+
};
|
|
5245
5857
|
export type QueryConditionArgs = {
|
|
5246
5858
|
block?: InputMaybe<Block_Height>;
|
|
5247
5859
|
id: Scalars['ID']['input'];
|
|
5248
5860
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
5249
5861
|
};
|
|
5862
|
+
export type QueryConditionLogArgs = {
|
|
5863
|
+
block?: InputMaybe<Block_Height>;
|
|
5864
|
+
id: Scalars['ID']['input'];
|
|
5865
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
5866
|
+
};
|
|
5867
|
+
export type QueryConditionLogsArgs = {
|
|
5868
|
+
block?: InputMaybe<Block_Height>;
|
|
5869
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5870
|
+
orderBy?: InputMaybe<ConditionLog_OrderBy>;
|
|
5871
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
5872
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
5873
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
5874
|
+
where?: InputMaybe<ConditionLog_Filter>;
|
|
5875
|
+
};
|
|
5250
5876
|
export type QueryConditionsArgs = {
|
|
5251
5877
|
block?: InputMaybe<Block_Height>;
|
|
5252
5878
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5480,6 +6106,20 @@ export type QueryOutcomesArgs = {
|
|
|
5480
6106
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
5481
6107
|
where?: InputMaybe<Outcome_Filter>;
|
|
5482
6108
|
};
|
|
6109
|
+
export type QueryOutcomesKeyConditionRelationArgs = {
|
|
6110
|
+
block?: InputMaybe<Block_Height>;
|
|
6111
|
+
id: Scalars['ID']['input'];
|
|
6112
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6113
|
+
};
|
|
6114
|
+
export type QueryOutcomesKeyConditionRelationsArgs = {
|
|
6115
|
+
block?: InputMaybe<Block_Height>;
|
|
6116
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6117
|
+
orderBy?: InputMaybe<OutcomesKeyConditionRelation_OrderBy>;
|
|
6118
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
6119
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
6120
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6121
|
+
where?: InputMaybe<OutcomesKeyConditionRelation_Filter>;
|
|
6122
|
+
};
|
|
5483
6123
|
export type QueryParticipantArgs = {
|
|
5484
6124
|
block?: InputMaybe<Block_Height>;
|
|
5485
6125
|
id: Scalars['ID']['input'];
|
|
@@ -5870,6 +6510,8 @@ export type Subscription = {
|
|
|
5870
6510
|
__typename?: 'Subscription';
|
|
5871
6511
|
/** Access to subgraph metadata */
|
|
5872
6512
|
_meta?: Maybe<_Meta_>;
|
|
6513
|
+
affiliateMonthlies: Array<AffiliateMonthly>;
|
|
6514
|
+
affiliateMonthly?: Maybe<AffiliateMonthly>;
|
|
5873
6515
|
azuroBetContract?: Maybe<AzuroBetContract>;
|
|
5874
6516
|
azuroBetContracts: Array<AzuroBetContract>;
|
|
5875
6517
|
bet?: Maybe<Bet>;
|
|
@@ -5878,7 +6520,11 @@ export type Subscription = {
|
|
|
5878
6520
|
bets: Array<Bet>;
|
|
5879
6521
|
bettor?: Maybe<Bettor>;
|
|
5880
6522
|
bettors: Array<Bettor>;
|
|
6523
|
+
cashout?: Maybe<Cashout>;
|
|
6524
|
+
cashouts: Array<Cashout>;
|
|
5881
6525
|
condition?: Maybe<Condition>;
|
|
6526
|
+
conditionLog?: Maybe<ConditionLog>;
|
|
6527
|
+
conditionLogs: Array<ConditionLog>;
|
|
5882
6528
|
conditions: Array<Condition>;
|
|
5883
6529
|
coreContract?: Maybe<CoreContract>;
|
|
5884
6530
|
coreContracts: Array<CoreContract>;
|
|
@@ -5912,6 +6558,8 @@ export type Subscription = {
|
|
|
5912
6558
|
liveSelections: Array<LiveSelection>;
|
|
5913
6559
|
outcome?: Maybe<Outcome>;
|
|
5914
6560
|
outcomes: Array<Outcome>;
|
|
6561
|
+
outcomesKeyConditionRelation?: Maybe<OutcomesKeyConditionRelation>;
|
|
6562
|
+
outcomesKeyConditionRelations: Array<OutcomesKeyConditionRelation>;
|
|
5915
6563
|
participant?: Maybe<Participant>;
|
|
5916
6564
|
participants: Array<Participant>;
|
|
5917
6565
|
selection?: Maybe<Selection>;
|
|
@@ -5924,6 +6572,20 @@ export type Subscription = {
|
|
|
5924
6572
|
export type Subscription_MetaArgs = {
|
|
5925
6573
|
block?: InputMaybe<Block_Height>;
|
|
5926
6574
|
};
|
|
6575
|
+
export type SubscriptionAffiliateMonthliesArgs = {
|
|
6576
|
+
block?: InputMaybe<Block_Height>;
|
|
6577
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6578
|
+
orderBy?: InputMaybe<AffiliateMonthly_OrderBy>;
|
|
6579
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
6580
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
6581
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6582
|
+
where?: InputMaybe<AffiliateMonthly_Filter>;
|
|
6583
|
+
};
|
|
6584
|
+
export type SubscriptionAffiliateMonthlyArgs = {
|
|
6585
|
+
block?: InputMaybe<Block_Height>;
|
|
6586
|
+
id: Scalars['ID']['input'];
|
|
6587
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6588
|
+
};
|
|
5927
6589
|
export type SubscriptionAzuroBetContractArgs = {
|
|
5928
6590
|
block?: InputMaybe<Block_Height>;
|
|
5929
6591
|
id: Scalars['ID']['input'];
|
|
@@ -5980,11 +6642,39 @@ export type SubscriptionBettorsArgs = {
|
|
|
5980
6642
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
5981
6643
|
where?: InputMaybe<Bettor_Filter>;
|
|
5982
6644
|
};
|
|
6645
|
+
export type SubscriptionCashoutArgs = {
|
|
6646
|
+
block?: InputMaybe<Block_Height>;
|
|
6647
|
+
id: Scalars['ID']['input'];
|
|
6648
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6649
|
+
};
|
|
6650
|
+
export type SubscriptionCashoutsArgs = {
|
|
6651
|
+
block?: InputMaybe<Block_Height>;
|
|
6652
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6653
|
+
orderBy?: InputMaybe<Cashout_OrderBy>;
|
|
6654
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
6655
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
6656
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6657
|
+
where?: InputMaybe<Cashout_Filter>;
|
|
6658
|
+
};
|
|
5983
6659
|
export type SubscriptionConditionArgs = {
|
|
5984
6660
|
block?: InputMaybe<Block_Height>;
|
|
5985
6661
|
id: Scalars['ID']['input'];
|
|
5986
6662
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
5987
6663
|
};
|
|
6664
|
+
export type SubscriptionConditionLogArgs = {
|
|
6665
|
+
block?: InputMaybe<Block_Height>;
|
|
6666
|
+
id: Scalars['ID']['input'];
|
|
6667
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6668
|
+
};
|
|
6669
|
+
export type SubscriptionConditionLogsArgs = {
|
|
6670
|
+
block?: InputMaybe<Block_Height>;
|
|
6671
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6672
|
+
orderBy?: InputMaybe<ConditionLog_OrderBy>;
|
|
6673
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
6674
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
6675
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6676
|
+
where?: InputMaybe<ConditionLog_Filter>;
|
|
6677
|
+
};
|
|
5988
6678
|
export type SubscriptionConditionsArgs = {
|
|
5989
6679
|
block?: InputMaybe<Block_Height>;
|
|
5990
6680
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -6218,6 +6908,20 @@ export type SubscriptionOutcomesArgs = {
|
|
|
6218
6908
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
6219
6909
|
where?: InputMaybe<Outcome_Filter>;
|
|
6220
6910
|
};
|
|
6911
|
+
export type SubscriptionOutcomesKeyConditionRelationArgs = {
|
|
6912
|
+
block?: InputMaybe<Block_Height>;
|
|
6913
|
+
id: Scalars['ID']['input'];
|
|
6914
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6915
|
+
};
|
|
6916
|
+
export type SubscriptionOutcomesKeyConditionRelationsArgs = {
|
|
6917
|
+
block?: InputMaybe<Block_Height>;
|
|
6918
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6919
|
+
orderBy?: InputMaybe<OutcomesKeyConditionRelation_OrderBy>;
|
|
6920
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
6921
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
6922
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6923
|
+
where?: InputMaybe<OutcomesKeyConditionRelation_Filter>;
|
|
6924
|
+
};
|
|
6221
6925
|
export type SubscriptionParticipantArgs = {
|
|
6222
6926
|
block?: InputMaybe<Block_Height>;
|
|
6223
6927
|
id: Scalars['ID']['input'];
|
|
@@ -6280,6 +6984,8 @@ export type _Block_ = {
|
|
|
6280
6984
|
hash?: Maybe<Scalars['Bytes']['output']>;
|
|
6281
6985
|
/** The block number */
|
|
6282
6986
|
number: Scalars['Int']['output'];
|
|
6987
|
+
/** The hash of the parent block */
|
|
6988
|
+
parentHash?: Maybe<Scalars['Bytes']['output']>;
|
|
6283
6989
|
/** Integer representation of the timestamp stored in blocks for the chain */
|
|
6284
6990
|
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
6285
6991
|
};
|