@levrbet/shared 0.3.16 → 0.3.17
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.
|
@@ -1,1341 +1,1321 @@
|
|
|
1
1
|
declare const _default: readonly [{
|
|
2
|
-
readonly type: "constructor";
|
|
3
2
|
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
4
|
readonly name: "_levrConfig";
|
|
5
5
|
readonly type: "address";
|
|
6
|
-
readonly internalType: "address";
|
|
7
6
|
}];
|
|
8
7
|
readonly stateMutability: "nonpayable";
|
|
8
|
+
readonly type: "constructor";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly name: "LB_CONFIG_INVALID_INTERFACE";
|
|
12
|
+
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly name: "LB_CONFIG_PROVIDER_NOT_CONTRACT";
|
|
16
|
+
readonly type: "error";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [];
|
|
19
|
+
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "LM_CANNOT_CANCEL_POST_GAME_MARKET";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "LM_CANNOT_OVERRIDE_WINNER_IN_PRE_GAME";
|
|
28
|
+
readonly type: "error";
|
|
9
29
|
}, {
|
|
10
|
-
readonly type: "function";
|
|
11
|
-
readonly name: "addLevrLeague";
|
|
12
30
|
readonly inputs: readonly [{
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
}, {
|
|
17
|
-
readonly name: "location";
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly internalType: "string";
|
|
20
|
-
}, {
|
|
21
|
-
readonly name: "levrSportId";
|
|
22
|
-
readonly type: "bytes12";
|
|
23
|
-
readonly internalType: "bytes12";
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
readonly name: "marketContract";
|
|
33
|
+
readonly type: "address";
|
|
24
34
|
}];
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
35
|
+
readonly name: "LM_DEPRECATED_MARKET_CONTRACT";
|
|
36
|
+
readonly type: "error";
|
|
27
37
|
}, {
|
|
28
|
-
readonly type: "function";
|
|
29
|
-
readonly name: "addLevrMarket";
|
|
30
38
|
readonly inputs: readonly [{
|
|
39
|
+
readonly internalType: "address";
|
|
31
40
|
readonly name: "marketContract";
|
|
32
41
|
readonly type: "address";
|
|
33
|
-
|
|
34
|
-
|
|
42
|
+
}];
|
|
43
|
+
readonly name: "LM_DUPLICATE_MARKET_CONTRACT";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly internalType: "string";
|
|
35
48
|
readonly name: "marketName";
|
|
36
49
|
readonly type: "string";
|
|
37
|
-
readonly internalType: "string";
|
|
38
|
-
}, {
|
|
39
|
-
readonly name: "allowedSideGroup";
|
|
40
|
-
readonly type: "uint8";
|
|
41
|
-
readonly internalType: "uint8";
|
|
42
50
|
}];
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
51
|
+
readonly name: "LM_DUPLICATE_MARKET_NAME";
|
|
52
|
+
readonly type: "error";
|
|
45
53
|
}, {
|
|
46
|
-
readonly type: "function";
|
|
47
|
-
readonly name: "addLevrSport";
|
|
48
54
|
readonly inputs: readonly [{
|
|
49
|
-
readonly name: "sportsName";
|
|
50
|
-
readonly type: "string";
|
|
51
55
|
readonly internalType: "string";
|
|
52
|
-
|
|
53
|
-
readonly name: "scoringType";
|
|
56
|
+
readonly name: "sportName";
|
|
54
57
|
readonly type: "string";
|
|
55
|
-
readonly internalType: "string";
|
|
56
|
-
}, {
|
|
57
|
-
readonly name: "hasDrawMarket";
|
|
58
|
-
readonly type: "bool";
|
|
59
|
-
readonly internalType: "bool";
|
|
60
58
|
}];
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
59
|
+
readonly name: "LM_DUPLICATE_SPORT_NAME";
|
|
60
|
+
readonly type: "error";
|
|
63
61
|
}, {
|
|
64
|
-
readonly type: "function";
|
|
65
|
-
readonly name: "addLevrTournament";
|
|
66
62
|
readonly inputs: readonly [{
|
|
67
|
-
readonly name: "name";
|
|
68
|
-
readonly type: "string";
|
|
69
63
|
readonly internalType: "string";
|
|
70
|
-
|
|
71
|
-
readonly name: "description";
|
|
64
|
+
readonly name: "tournamentName";
|
|
72
65
|
readonly type: "string";
|
|
73
|
-
readonly internalType: "string";
|
|
74
|
-
}, {
|
|
75
|
-
readonly name: "exclusive";
|
|
76
|
-
readonly type: "bool";
|
|
77
|
-
readonly internalType: "bool";
|
|
78
66
|
}];
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
67
|
+
readonly name: "LM_DUPLICATE_TOURNAMENT_NAME";
|
|
68
|
+
readonly type: "error";
|
|
81
69
|
}, {
|
|
82
|
-
readonly type: "function";
|
|
83
|
-
readonly name: "cancelLevrGame";
|
|
84
70
|
readonly inputs: readonly [{
|
|
71
|
+
readonly internalType: "uint256";
|
|
85
72
|
readonly name: "gameId";
|
|
86
73
|
readonly type: "uint256";
|
|
87
|
-
readonly internalType: "uint256";
|
|
88
74
|
}, {
|
|
89
|
-
readonly name: "winnerOverride";
|
|
90
|
-
readonly type: "uint8";
|
|
91
75
|
readonly internalType: "enum Side";
|
|
92
|
-
|
|
93
|
-
readonly
|
|
94
|
-
readonly type: "bool";
|
|
95
|
-
readonly internalType: "bool";
|
|
76
|
+
readonly name: "winner";
|
|
77
|
+
readonly type: "uint8";
|
|
96
78
|
}];
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
79
|
+
readonly name: "LM_GAME_ALREADY_SETTLED";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly internalType: "bytes32";
|
|
84
|
+
readonly name: "gameMarketId";
|
|
85
|
+
readonly type: "bytes32";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "LM_GAME_MARKET_NOT_ACTIVE";
|
|
88
|
+
readonly type: "error";
|
|
99
89
|
}, {
|
|
100
|
-
readonly type: "function";
|
|
101
|
-
readonly name: "cancelLevrGameMarket";
|
|
102
90
|
readonly inputs: readonly [{
|
|
91
|
+
readonly internalType: "uint256";
|
|
103
92
|
readonly name: "gameId";
|
|
104
93
|
readonly type: "uint256";
|
|
105
|
-
readonly internalType: "uint256";
|
|
106
|
-
}, {
|
|
107
|
-
readonly name: "marketWinnerOverride";
|
|
108
|
-
readonly type: "uint8";
|
|
109
|
-
readonly internalType: "enum Side";
|
|
110
|
-
}, {
|
|
111
|
-
readonly name: "levrMarketId";
|
|
112
|
-
readonly type: "bytes16";
|
|
113
|
-
readonly internalType: "bytes16";
|
|
114
94
|
}];
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
95
|
+
readonly name: "LM_GAME_NOT_ENDED";
|
|
96
|
+
readonly type: "error";
|
|
117
97
|
}, {
|
|
118
|
-
readonly type: "function";
|
|
119
|
-
readonly name: "changeGameTournamentId";
|
|
120
98
|
readonly inputs: readonly [{
|
|
99
|
+
readonly internalType: "uint256";
|
|
121
100
|
readonly name: "gameId";
|
|
122
101
|
readonly type: "uint256";
|
|
123
|
-
readonly internalType: "uint256";
|
|
124
|
-
}, {
|
|
125
|
-
readonly name: "tournamentId";
|
|
126
|
-
readonly type: "bytes6";
|
|
127
|
-
readonly internalType: "bytes6";
|
|
128
102
|
}];
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
103
|
+
readonly name: "LM_GAME_NOT_LIVE";
|
|
104
|
+
readonly type: "error";
|
|
105
|
+
}, {
|
|
106
|
+
readonly inputs: readonly [];
|
|
107
|
+
readonly name: "LM_INVALID_ADDRESS";
|
|
108
|
+
readonly type: "error";
|
|
131
109
|
}, {
|
|
132
|
-
readonly type: "function";
|
|
133
|
-
readonly name: "createGameMarket";
|
|
134
110
|
readonly inputs: readonly [{
|
|
111
|
+
readonly internalType: "uint256";
|
|
135
112
|
readonly name: "gameId";
|
|
136
113
|
readonly type: "uint256";
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
114
|
+
}];
|
|
115
|
+
readonly name: "LM_INVALID_GAME_ID";
|
|
116
|
+
readonly type: "error";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly internalType: "enum GameStatus";
|
|
120
|
+
readonly name: "prevStatus";
|
|
121
|
+
readonly type: "uint8";
|
|
142
122
|
}, {
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
123
|
+
readonly internalType: "enum GameStatus";
|
|
124
|
+
readonly name: "newStatus";
|
|
125
|
+
readonly type: "uint8";
|
|
146
126
|
}];
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
127
|
+
readonly name: "LM_INVALID_GAME_STATUS_SWITCH";
|
|
128
|
+
readonly type: "error";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "LM_INVALID_GAME_WINNER";
|
|
132
|
+
readonly type: "error";
|
|
149
133
|
}, {
|
|
150
|
-
readonly type: "function";
|
|
151
|
-
readonly name: "createLevrGame";
|
|
152
134
|
readonly inputs: readonly [{
|
|
153
|
-
readonly name: "teamH";
|
|
154
|
-
readonly type: "string";
|
|
155
135
|
readonly internalType: "string";
|
|
156
|
-
|
|
157
|
-
readonly name: "teamV";
|
|
136
|
+
readonly name: "leagueName";
|
|
158
137
|
readonly type: "string";
|
|
159
|
-
readonly internalType: "string";
|
|
160
|
-
}, {
|
|
161
|
-
readonly name: "levrSportId";
|
|
162
|
-
readonly type: "bytes12";
|
|
163
|
-
readonly internalType: "bytes12";
|
|
164
|
-
}, {
|
|
165
|
-
readonly name: "levrLeagueId";
|
|
166
|
-
readonly type: "bytes8";
|
|
167
|
-
readonly internalType: "bytes8";
|
|
168
|
-
}, {
|
|
169
|
-
readonly name: "tournamentId";
|
|
170
|
-
readonly type: "bytes6";
|
|
171
|
-
readonly internalType: "bytes6";
|
|
172
|
-
}, {
|
|
173
|
-
readonly name: "initLevrMarkets";
|
|
174
|
-
readonly type: "bytes16[]";
|
|
175
|
-
readonly internalType: "bytes16[]";
|
|
176
|
-
}, {
|
|
177
|
-
readonly name: "initMarketData";
|
|
178
|
-
readonly type: "bytes[]";
|
|
179
|
-
readonly internalType: "bytes[]";
|
|
180
138
|
}, {
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
139
|
+
readonly internalType: "string";
|
|
140
|
+
readonly name: "location";
|
|
141
|
+
readonly type: "string";
|
|
184
142
|
}];
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
143
|
+
readonly name: "LM_INVALID_LEAGUE";
|
|
144
|
+
readonly type: "error";
|
|
187
145
|
}, {
|
|
188
|
-
readonly
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
readonly name: "";
|
|
193
|
-
readonly type: "uint256";
|
|
194
|
-
readonly internalType: "uint256";
|
|
146
|
+
readonly inputs: readonly [{
|
|
147
|
+
readonly internalType: "bytes8";
|
|
148
|
+
readonly name: "leagueId";
|
|
149
|
+
readonly type: "bytes8";
|
|
195
150
|
}];
|
|
196
|
-
readonly
|
|
151
|
+
readonly name: "LM_INVALID_LEVR_LEAGUE";
|
|
152
|
+
readonly type: "error";
|
|
197
153
|
}, {
|
|
198
|
-
readonly type: "function";
|
|
199
|
-
readonly name: "getActiveLevrMarketsForGame";
|
|
200
154
|
readonly inputs: readonly [{
|
|
201
|
-
readonly
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
204
|
-
}];
|
|
205
|
-
readonly outputs: readonly [{
|
|
206
|
-
readonly name: "";
|
|
207
|
-
readonly type: "bytes32[]";
|
|
208
|
-
readonly internalType: "bytes32[]";
|
|
155
|
+
readonly internalType: "bytes16";
|
|
156
|
+
readonly name: "marketId";
|
|
157
|
+
readonly type: "bytes16";
|
|
209
158
|
}];
|
|
210
|
-
readonly
|
|
159
|
+
readonly name: "LM_INVALID_LEVR_MARKET_ID";
|
|
160
|
+
readonly type: "error";
|
|
211
161
|
}, {
|
|
212
|
-
readonly type: "function";
|
|
213
|
-
readonly name: "getDeprecatedMarketContracts";
|
|
214
162
|
readonly inputs: readonly [];
|
|
215
|
-
readonly
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
163
|
+
readonly name: "LM_INVALID_PARAMS_LENGTH";
|
|
164
|
+
readonly type: "error";
|
|
165
|
+
}, {
|
|
166
|
+
readonly inputs: readonly [];
|
|
167
|
+
readonly name: "LM_INVALID_PROGRESS_BPS";
|
|
168
|
+
readonly type: "error";
|
|
169
|
+
}, {
|
|
170
|
+
readonly inputs: readonly [{
|
|
171
|
+
readonly internalType: "enum Side";
|
|
172
|
+
readonly name: "side";
|
|
173
|
+
readonly type: "uint8";
|
|
219
174
|
}];
|
|
220
|
-
readonly
|
|
175
|
+
readonly name: "LM_INVALID_SIDE";
|
|
176
|
+
readonly type: "error";
|
|
177
|
+
}, {
|
|
178
|
+
readonly inputs: readonly [];
|
|
179
|
+
readonly name: "LM_INVALID_SIDE_GROUP";
|
|
180
|
+
readonly type: "error";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [];
|
|
183
|
+
readonly name: "LM_INVALID_SPORT_ID";
|
|
184
|
+
readonly type: "error";
|
|
185
|
+
}, {
|
|
186
|
+
readonly inputs: readonly [];
|
|
187
|
+
readonly name: "LM_INVALID_STRING";
|
|
188
|
+
readonly type: "error";
|
|
221
189
|
}, {
|
|
222
|
-
readonly type: "function";
|
|
223
|
-
readonly name: "getGameActiveMarketIds";
|
|
224
190
|
readonly inputs: readonly [{
|
|
225
|
-
readonly
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
191
|
+
readonly internalType: "bytes6";
|
|
192
|
+
readonly name: "tournamentId";
|
|
193
|
+
readonly type: "bytes6";
|
|
228
194
|
}];
|
|
229
|
-
readonly
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
195
|
+
readonly name: "LM_INVALID_TOURNAMENT_ID";
|
|
196
|
+
readonly type: "error";
|
|
197
|
+
}, {
|
|
198
|
+
readonly inputs: readonly [];
|
|
199
|
+
readonly name: "LM_MARKET_CONTRACT_HAS_ACTIVE_MARKETS";
|
|
200
|
+
readonly type: "error";
|
|
201
|
+
}, {
|
|
202
|
+
readonly inputs: readonly [];
|
|
203
|
+
readonly name: "LM_NOT_FEED_PROVIDER_OR_MARKET_FEED_CONTRACT";
|
|
204
|
+
readonly type: "error";
|
|
205
|
+
}, {
|
|
206
|
+
readonly inputs: readonly [];
|
|
207
|
+
readonly name: "LM_NOT_GAME_ADMIN";
|
|
208
|
+
readonly type: "error";
|
|
209
|
+
}, {
|
|
210
|
+
readonly inputs: readonly [];
|
|
211
|
+
readonly name: "LM_NOT_LEVR_ADMIN";
|
|
212
|
+
readonly type: "error";
|
|
213
|
+
}, {
|
|
214
|
+
readonly anonymous: false;
|
|
215
|
+
readonly inputs: readonly [{
|
|
216
|
+
readonly indexed: true;
|
|
217
|
+
readonly internalType: "address";
|
|
218
|
+
readonly name: "prevProvider";
|
|
219
|
+
readonly type: "address";
|
|
220
|
+
}, {
|
|
221
|
+
readonly indexed: true;
|
|
222
|
+
readonly internalType: "address";
|
|
223
|
+
readonly name: "newProvider";
|
|
224
|
+
readonly type: "address";
|
|
233
225
|
}];
|
|
234
|
-
readonly
|
|
226
|
+
readonly name: "LevrConfigProviderUpdated";
|
|
227
|
+
readonly type: "event";
|
|
235
228
|
}, {
|
|
236
|
-
readonly
|
|
237
|
-
readonly name: "getGameProgressBps";
|
|
229
|
+
readonly anonymous: false;
|
|
238
230
|
readonly inputs: readonly [{
|
|
231
|
+
readonly indexed: true;
|
|
232
|
+
readonly internalType: "uint256";
|
|
239
233
|
readonly name: "gameId";
|
|
240
234
|
readonly type: "uint256";
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
readonly name: "";
|
|
245
|
-
readonly type: "
|
|
246
|
-
|
|
235
|
+
}, {
|
|
236
|
+
readonly indexed: false;
|
|
237
|
+
readonly internalType: "string";
|
|
238
|
+
readonly name: "teamH";
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
}, {
|
|
241
|
+
readonly indexed: false;
|
|
242
|
+
readonly internalType: "string";
|
|
243
|
+
readonly name: "teamV";
|
|
244
|
+
readonly type: "string";
|
|
245
|
+
}, {
|
|
246
|
+
readonly indexed: true;
|
|
247
|
+
readonly internalType: "bytes12";
|
|
248
|
+
readonly name: "levrSportId";
|
|
249
|
+
readonly type: "bytes12";
|
|
250
|
+
}, {
|
|
251
|
+
readonly indexed: true;
|
|
252
|
+
readonly internalType: "bytes8";
|
|
253
|
+
readonly name: "levrLeagueId";
|
|
254
|
+
readonly type: "bytes8";
|
|
247
255
|
}];
|
|
248
|
-
readonly
|
|
256
|
+
readonly name: "LevrGameCreated";
|
|
257
|
+
readonly type: "event";
|
|
249
258
|
}, {
|
|
250
|
-
readonly
|
|
251
|
-
readonly name: "getGameStatusAndProgress";
|
|
259
|
+
readonly anonymous: false;
|
|
252
260
|
readonly inputs: readonly [{
|
|
261
|
+
readonly indexed: true;
|
|
262
|
+
readonly internalType: "uint256";
|
|
253
263
|
readonly name: "gameId";
|
|
254
264
|
readonly type: "uint256";
|
|
255
|
-
|
|
265
|
+
}, {
|
|
266
|
+
readonly indexed: false;
|
|
267
|
+
readonly internalType: "bool";
|
|
268
|
+
readonly name: "paused";
|
|
269
|
+
readonly type: "bool";
|
|
256
270
|
}];
|
|
257
|
-
readonly
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
271
|
+
readonly name: "LevrGamePaused";
|
|
272
|
+
readonly type: "event";
|
|
273
|
+
}, {
|
|
274
|
+
readonly anonymous: false;
|
|
275
|
+
readonly inputs: readonly [{
|
|
276
|
+
readonly indexed: true;
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "gameId";
|
|
279
|
+
readonly type: "uint256";
|
|
261
280
|
}, {
|
|
281
|
+
readonly indexed: false;
|
|
282
|
+
readonly internalType: "uint16";
|
|
262
283
|
readonly name: "progressBps";
|
|
263
284
|
readonly type: "uint16";
|
|
264
|
-
readonly internalType: "uint16";
|
|
265
285
|
}];
|
|
266
|
-
readonly
|
|
286
|
+
readonly name: "LevrGameProgressUpdated";
|
|
287
|
+
readonly type: "event";
|
|
267
288
|
}, {
|
|
268
|
-
readonly
|
|
269
|
-
readonly name: "getLevrGame";
|
|
289
|
+
readonly anonymous: false;
|
|
270
290
|
readonly inputs: readonly [{
|
|
291
|
+
readonly indexed: true;
|
|
292
|
+
readonly internalType: "uint256";
|
|
271
293
|
readonly name: "gameId";
|
|
272
294
|
readonly type: "uint256";
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
readonly name: "";
|
|
277
|
-
readonly type: "
|
|
278
|
-
|
|
279
|
-
readonly
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}, {
|
|
284
|
-
readonly name: "teamV";
|
|
285
|
-
readonly type: "string";
|
|
286
|
-
readonly internalType: "string";
|
|
287
|
-
}, {
|
|
288
|
-
readonly name: "gameId";
|
|
289
|
-
readonly type: "uint256";
|
|
290
|
-
readonly internalType: "uint256";
|
|
291
|
-
}, {
|
|
292
|
-
readonly name: "status";
|
|
293
|
-
readonly type: "uint8";
|
|
294
|
-
readonly internalType: "enum GameStatus";
|
|
295
|
-
}, {
|
|
296
|
-
readonly name: "winner";
|
|
297
|
-
readonly type: "uint8";
|
|
298
|
-
readonly internalType: "enum Side";
|
|
299
|
-
}, {
|
|
300
|
-
readonly name: "registeredAt";
|
|
301
|
-
readonly type: "uint48";
|
|
302
|
-
readonly internalType: "uint48";
|
|
303
|
-
}, {
|
|
304
|
-
readonly name: "startedAt";
|
|
305
|
-
readonly type: "uint48";
|
|
306
|
-
readonly internalType: "uint48";
|
|
307
|
-
}, {
|
|
308
|
-
readonly name: "endedAt";
|
|
309
|
-
readonly type: "uint48";
|
|
310
|
-
readonly internalType: "uint48";
|
|
311
|
-
}, {
|
|
312
|
-
readonly name: "progressBps";
|
|
313
|
-
readonly type: "uint16";
|
|
314
|
-
readonly internalType: "uint16";
|
|
315
|
-
}, {
|
|
316
|
-
readonly name: "paused";
|
|
317
|
-
readonly type: "bool";
|
|
318
|
-
readonly internalType: "bool";
|
|
319
|
-
}, {
|
|
320
|
-
readonly name: "levrSportId";
|
|
321
|
-
readonly type: "bytes12";
|
|
322
|
-
readonly internalType: "bytes12";
|
|
323
|
-
}, {
|
|
324
|
-
readonly name: "levrLeagueId";
|
|
325
|
-
readonly type: "bytes8";
|
|
326
|
-
readonly internalType: "bytes8";
|
|
327
|
-
}, {
|
|
328
|
-
readonly name: "tournamentId";
|
|
329
|
-
readonly type: "bytes6";
|
|
330
|
-
readonly internalType: "bytes6";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "customData";
|
|
333
|
-
readonly type: "bytes";
|
|
334
|
-
readonly internalType: "bytes";
|
|
335
|
-
}];
|
|
295
|
+
}, {
|
|
296
|
+
readonly indexed: false;
|
|
297
|
+
readonly internalType: "enum Side";
|
|
298
|
+
readonly name: "winner";
|
|
299
|
+
readonly type: "uint8";
|
|
300
|
+
}, {
|
|
301
|
+
readonly indexed: false;
|
|
302
|
+
readonly internalType: "uint48";
|
|
303
|
+
readonly name: "settledAt";
|
|
304
|
+
readonly type: "uint48";
|
|
336
305
|
}];
|
|
337
|
-
readonly
|
|
306
|
+
readonly name: "LevrGameSettled";
|
|
307
|
+
readonly type: "event";
|
|
338
308
|
}, {
|
|
339
|
-
readonly
|
|
340
|
-
readonly name: "getLevrGameStatus";
|
|
309
|
+
readonly anonymous: false;
|
|
341
310
|
readonly inputs: readonly [{
|
|
311
|
+
readonly indexed: true;
|
|
312
|
+
readonly internalType: "uint256";
|
|
342
313
|
readonly name: "gameId";
|
|
343
314
|
readonly type: "uint256";
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
readonly outputs: readonly [{
|
|
347
|
-
readonly name: "";
|
|
348
|
-
readonly type: "uint8";
|
|
315
|
+
}, {
|
|
316
|
+
readonly indexed: false;
|
|
349
317
|
readonly internalType: "enum GameStatus";
|
|
318
|
+
readonly name: "status";
|
|
319
|
+
readonly type: "uint8";
|
|
320
|
+
}, {
|
|
321
|
+
readonly indexed: false;
|
|
322
|
+
readonly internalType: "uint48";
|
|
323
|
+
readonly name: "updatedAt";
|
|
324
|
+
readonly type: "uint48";
|
|
350
325
|
}];
|
|
351
|
-
readonly
|
|
352
|
-
|
|
353
|
-
readonly type: "function";
|
|
354
|
-
readonly name: "getLevrLeagueIds";
|
|
355
|
-
readonly inputs: readonly [];
|
|
356
|
-
readonly outputs: readonly [{
|
|
357
|
-
readonly name: "";
|
|
358
|
-
readonly type: "bytes32[]";
|
|
359
|
-
readonly internalType: "bytes32[]";
|
|
360
|
-
}];
|
|
361
|
-
readonly stateMutability: "view";
|
|
326
|
+
readonly name: "LevrGameStatusUpdated";
|
|
327
|
+
readonly type: "event";
|
|
362
328
|
}, {
|
|
363
|
-
readonly
|
|
364
|
-
readonly name: "getLevrLeagueMetadata";
|
|
329
|
+
readonly anonymous: false;
|
|
365
330
|
readonly inputs: readonly [{
|
|
366
|
-
readonly
|
|
367
|
-
readonly
|
|
368
|
-
readonly
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
readonly
|
|
372
|
-
readonly
|
|
373
|
-
readonly
|
|
374
|
-
readonly
|
|
375
|
-
readonly name: "name";
|
|
376
|
-
readonly type: "string";
|
|
377
|
-
readonly internalType: "string";
|
|
378
|
-
}, {
|
|
379
|
-
readonly name: "location";
|
|
380
|
-
readonly type: "string";
|
|
381
|
-
readonly internalType: "string";
|
|
382
|
-
}, {
|
|
383
|
-
readonly name: "levrSportId";
|
|
384
|
-
readonly type: "bytes12";
|
|
385
|
-
readonly internalType: "bytes12";
|
|
386
|
-
}, {
|
|
387
|
-
readonly name: "leagueId";
|
|
388
|
-
readonly type: "bytes8";
|
|
389
|
-
readonly internalType: "bytes8";
|
|
390
|
-
}];
|
|
331
|
+
readonly indexed: true;
|
|
332
|
+
readonly internalType: "uint256";
|
|
333
|
+
readonly name: "gameId";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
}, {
|
|
336
|
+
readonly indexed: true;
|
|
337
|
+
readonly internalType: "bytes6";
|
|
338
|
+
readonly name: "tournamentId";
|
|
339
|
+
readonly type: "bytes6";
|
|
391
340
|
}];
|
|
392
|
-
readonly
|
|
341
|
+
readonly name: "LevrGameTournamentUpdated";
|
|
342
|
+
readonly type: "event";
|
|
393
343
|
}, {
|
|
394
|
-
readonly
|
|
395
|
-
readonly name: "getLevrMarketContractAddress";
|
|
344
|
+
readonly anonymous: false;
|
|
396
345
|
readonly inputs: readonly [{
|
|
346
|
+
readonly indexed: true;
|
|
347
|
+
readonly internalType: "uint256";
|
|
348
|
+
readonly name: "gameId";
|
|
349
|
+
readonly type: "uint256";
|
|
350
|
+
}, {
|
|
351
|
+
readonly indexed: false;
|
|
352
|
+
readonly internalType: "uint48";
|
|
353
|
+
readonly name: "unpausedAt";
|
|
354
|
+
readonly type: "uint48";
|
|
355
|
+
}];
|
|
356
|
+
readonly name: "LevrGameUnpaused";
|
|
357
|
+
readonly type: "event";
|
|
358
|
+
}, {
|
|
359
|
+
readonly anonymous: false;
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly indexed: true;
|
|
362
|
+
readonly internalType: "bytes16";
|
|
397
363
|
readonly name: "levrMarketId";
|
|
398
364
|
readonly type: "bytes16";
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
readonly name: "";
|
|
365
|
+
}, {
|
|
366
|
+
readonly indexed: true;
|
|
367
|
+
readonly internalType: "address";
|
|
368
|
+
readonly name: "prevMarketAddress";
|
|
403
369
|
readonly type: "address";
|
|
370
|
+
}, {
|
|
371
|
+
readonly indexed: true;
|
|
404
372
|
readonly internalType: "address";
|
|
373
|
+
readonly name: "newMarketAddress";
|
|
374
|
+
readonly type: "address";
|
|
405
375
|
}];
|
|
406
|
-
readonly
|
|
376
|
+
readonly name: "LevrMarketContractUpdated";
|
|
377
|
+
readonly type: "event";
|
|
407
378
|
}, {
|
|
408
|
-
readonly
|
|
409
|
-
readonly name: "getLevrMarketContracts";
|
|
379
|
+
readonly anonymous: false;
|
|
410
380
|
readonly inputs: readonly [{
|
|
411
|
-
readonly
|
|
412
|
-
readonly
|
|
413
|
-
readonly
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
readonly
|
|
417
|
-
readonly
|
|
418
|
-
readonly
|
|
381
|
+
readonly indexed: true;
|
|
382
|
+
readonly internalType: "bytes32";
|
|
383
|
+
readonly name: "gameMarketId";
|
|
384
|
+
readonly type: "bytes32";
|
|
385
|
+
}, {
|
|
386
|
+
readonly indexed: true;
|
|
387
|
+
readonly internalType: "enum Side";
|
|
388
|
+
readonly name: "winner";
|
|
389
|
+
readonly type: "uint8";
|
|
390
|
+
}, {
|
|
391
|
+
readonly indexed: false;
|
|
392
|
+
readonly internalType: "enum Side";
|
|
393
|
+
readonly name: "winnerOverride";
|
|
394
|
+
readonly type: "uint8";
|
|
419
395
|
}];
|
|
420
|
-
readonly
|
|
396
|
+
readonly name: "MarketSettledWithOverride";
|
|
397
|
+
readonly type: "event";
|
|
421
398
|
}, {
|
|
422
|
-
readonly
|
|
423
|
-
readonly
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
readonly name: "";
|
|
427
|
-
readonly type: "
|
|
428
|
-
|
|
399
|
+
readonly anonymous: false;
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly indexed: true;
|
|
402
|
+
readonly internalType: "bytes8";
|
|
403
|
+
readonly name: "leagueId";
|
|
404
|
+
readonly type: "bytes8";
|
|
405
|
+
}, {
|
|
406
|
+
readonly indexed: true;
|
|
407
|
+
readonly internalType: "bytes12";
|
|
408
|
+
readonly name: "levrSportId";
|
|
409
|
+
readonly type: "bytes12";
|
|
410
|
+
}, {
|
|
411
|
+
readonly indexed: false;
|
|
412
|
+
readonly internalType: "string";
|
|
413
|
+
readonly name: "leagueName";
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
}, {
|
|
416
|
+
readonly indexed: false;
|
|
417
|
+
readonly internalType: "string";
|
|
418
|
+
readonly name: "location";
|
|
419
|
+
readonly type: "string";
|
|
429
420
|
}];
|
|
430
|
-
readonly
|
|
421
|
+
readonly name: "NewLevrLeague";
|
|
422
|
+
readonly type: "event";
|
|
431
423
|
}, {
|
|
432
|
-
readonly
|
|
433
|
-
readonly name: "getLevrMarketMetadata";
|
|
424
|
+
readonly anonymous: false;
|
|
434
425
|
readonly inputs: readonly [{
|
|
426
|
+
readonly indexed: true;
|
|
427
|
+
readonly internalType: "bytes16";
|
|
435
428
|
readonly name: "levrMarketId";
|
|
436
429
|
readonly type: "bytes16";
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
readonly name: "";
|
|
441
|
-
readonly type: "
|
|
442
|
-
readonly internalType: "struct LevrMarketMetadata";
|
|
443
|
-
readonly components: readonly [{
|
|
444
|
-
readonly name: "marketAddress";
|
|
445
|
-
readonly type: "address";
|
|
446
|
-
readonly internalType: "address";
|
|
447
|
-
}, {
|
|
448
|
-
readonly name: "allowedSideGroup";
|
|
449
|
-
readonly type: "uint8";
|
|
450
|
-
readonly internalType: "uint8";
|
|
451
|
-
}, {
|
|
452
|
-
readonly name: "marketId";
|
|
453
|
-
readonly type: "bytes16";
|
|
454
|
-
readonly internalType: "bytes16";
|
|
455
|
-
}, {
|
|
456
|
-
readonly name: "marketName";
|
|
457
|
-
readonly type: "string";
|
|
458
|
-
readonly internalType: "string";
|
|
459
|
-
}];
|
|
460
|
-
}];
|
|
461
|
-
readonly stateMutability: "view";
|
|
462
|
-
}, {
|
|
463
|
-
readonly type: "function";
|
|
464
|
-
readonly name: "getLevrSportIds";
|
|
465
|
-
readonly inputs: readonly [];
|
|
466
|
-
readonly outputs: readonly [{
|
|
467
|
-
readonly name: "";
|
|
468
|
-
readonly type: "bytes32[]";
|
|
469
|
-
readonly internalType: "bytes32[]";
|
|
430
|
+
}, {
|
|
431
|
+
readonly indexed: false;
|
|
432
|
+
readonly internalType: "string";
|
|
433
|
+
readonly name: "name";
|
|
434
|
+
readonly type: "string";
|
|
470
435
|
}];
|
|
471
|
-
readonly
|
|
436
|
+
readonly name: "NewLevrMarket";
|
|
437
|
+
readonly type: "event";
|
|
472
438
|
}, {
|
|
473
|
-
readonly
|
|
474
|
-
readonly name: "getLevrSportsMetadata";
|
|
439
|
+
readonly anonymous: false;
|
|
475
440
|
readonly inputs: readonly [{
|
|
441
|
+
readonly indexed: true;
|
|
442
|
+
readonly internalType: "bytes12";
|
|
476
443
|
readonly name: "levrSportId";
|
|
477
444
|
readonly type: "bytes12";
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
readonly name: "";
|
|
482
|
-
readonly type: "
|
|
483
|
-
readonly internalType: "struct LevrSportMetadata";
|
|
484
|
-
readonly components: readonly [{
|
|
485
|
-
readonly name: "name";
|
|
486
|
-
readonly type: "string";
|
|
487
|
-
readonly internalType: "string";
|
|
488
|
-
}, {
|
|
489
|
-
readonly name: "scoreType";
|
|
490
|
-
readonly type: "string";
|
|
491
|
-
readonly internalType: "string";
|
|
492
|
-
}, {
|
|
493
|
-
readonly name: "levrSportId";
|
|
494
|
-
readonly type: "bytes12";
|
|
495
|
-
readonly internalType: "bytes12";
|
|
496
|
-
}, {
|
|
497
|
-
readonly name: "hasDraw";
|
|
498
|
-
readonly type: "bool";
|
|
499
|
-
readonly internalType: "bool";
|
|
500
|
-
}];
|
|
501
|
-
}];
|
|
502
|
-
readonly stateMutability: "view";
|
|
503
|
-
}, {
|
|
504
|
-
readonly type: "function";
|
|
505
|
-
readonly name: "getLevrTournamentIds";
|
|
506
|
-
readonly inputs: readonly [];
|
|
507
|
-
readonly outputs: readonly [{
|
|
508
|
-
readonly name: "";
|
|
509
|
-
readonly type: "bytes32[]";
|
|
510
|
-
readonly internalType: "bytes32[]";
|
|
445
|
+
}, {
|
|
446
|
+
readonly indexed: false;
|
|
447
|
+
readonly internalType: "string";
|
|
448
|
+
readonly name: "name";
|
|
449
|
+
readonly type: "string";
|
|
511
450
|
}];
|
|
512
|
-
readonly
|
|
451
|
+
readonly name: "NewLevrSport";
|
|
452
|
+
readonly type: "event";
|
|
513
453
|
}, {
|
|
514
|
-
readonly
|
|
515
|
-
readonly name: "getLevrTournamentMetadata";
|
|
454
|
+
readonly anonymous: false;
|
|
516
455
|
readonly inputs: readonly [{
|
|
456
|
+
readonly indexed: true;
|
|
457
|
+
readonly internalType: "bytes6";
|
|
517
458
|
readonly name: "tournamentId";
|
|
518
459
|
readonly type: "bytes6";
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
readonly name: "";
|
|
523
|
-
readonly type: "
|
|
524
|
-
|
|
525
|
-
readonly
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
readonly name: "tournamentId";
|
|
535
|
-
readonly type: "bytes6";
|
|
536
|
-
readonly internalType: "bytes6";
|
|
537
|
-
}, {
|
|
538
|
-
readonly name: "exclusive";
|
|
539
|
-
readonly type: "bool";
|
|
540
|
-
readonly internalType: "bool";
|
|
541
|
-
}];
|
|
460
|
+
}, {
|
|
461
|
+
readonly indexed: false;
|
|
462
|
+
readonly internalType: "string";
|
|
463
|
+
readonly name: "tournamentName";
|
|
464
|
+
readonly type: "string";
|
|
465
|
+
}, {
|
|
466
|
+
readonly indexed: false;
|
|
467
|
+
readonly internalType: "string";
|
|
468
|
+
readonly name: "description";
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
}, {
|
|
471
|
+
readonly indexed: false;
|
|
472
|
+
readonly internalType: "bool";
|
|
473
|
+
readonly name: "exclusive";
|
|
474
|
+
readonly type: "bool";
|
|
542
475
|
}];
|
|
543
|
-
readonly
|
|
476
|
+
readonly name: "NewLevrTournament";
|
|
477
|
+
readonly type: "event";
|
|
544
478
|
}, {
|
|
545
|
-
readonly
|
|
546
|
-
readonly name: "isActiveLevrMarketForGame";
|
|
479
|
+
readonly anonymous: false;
|
|
547
480
|
readonly inputs: readonly [{
|
|
548
|
-
readonly
|
|
549
|
-
readonly
|
|
550
|
-
readonly
|
|
481
|
+
readonly indexed: true;
|
|
482
|
+
readonly internalType: "bytes6";
|
|
483
|
+
readonly name: "tournamentId";
|
|
484
|
+
readonly type: "bytes6";
|
|
551
485
|
}, {
|
|
552
|
-
readonly
|
|
553
|
-
readonly type: "bytes16";
|
|
554
|
-
readonly internalType: "bytes16";
|
|
555
|
-
}];
|
|
556
|
-
readonly outputs: readonly [{
|
|
557
|
-
readonly name: "";
|
|
558
|
-
readonly type: "bool";
|
|
486
|
+
readonly indexed: false;
|
|
559
487
|
readonly internalType: "bool";
|
|
488
|
+
readonly name: "exclusive";
|
|
489
|
+
readonly type: "bool";
|
|
560
490
|
}];
|
|
561
|
-
readonly
|
|
491
|
+
readonly name: "TournamentExclusivityUpdated";
|
|
492
|
+
readonly type: "event";
|
|
562
493
|
}, {
|
|
494
|
+
readonly inputs: readonly [{
|
|
495
|
+
readonly internalType: "string";
|
|
496
|
+
readonly name: "leagueName";
|
|
497
|
+
readonly type: "string";
|
|
498
|
+
}, {
|
|
499
|
+
readonly internalType: "string";
|
|
500
|
+
readonly name: "location";
|
|
501
|
+
readonly type: "string";
|
|
502
|
+
}, {
|
|
503
|
+
readonly internalType: "bytes12";
|
|
504
|
+
readonly name: "levrSportId";
|
|
505
|
+
readonly type: "bytes12";
|
|
506
|
+
}];
|
|
507
|
+
readonly name: "addLevrLeague";
|
|
508
|
+
readonly outputs: readonly [];
|
|
509
|
+
readonly stateMutability: "nonpayable";
|
|
563
510
|
readonly type: "function";
|
|
564
|
-
|
|
511
|
+
}, {
|
|
565
512
|
readonly inputs: readonly [{
|
|
513
|
+
readonly internalType: "address";
|
|
566
514
|
readonly name: "marketContract";
|
|
567
515
|
readonly type: "address";
|
|
568
|
-
|
|
516
|
+
}, {
|
|
517
|
+
readonly internalType: "string";
|
|
518
|
+
readonly name: "marketName";
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
}, {
|
|
521
|
+
readonly internalType: "uint8";
|
|
522
|
+
readonly name: "allowedSideGroup";
|
|
523
|
+
readonly type: "uint8";
|
|
569
524
|
}];
|
|
570
|
-
readonly
|
|
571
|
-
|
|
572
|
-
|
|
525
|
+
readonly name: "addLevrMarket";
|
|
526
|
+
readonly outputs: readonly [];
|
|
527
|
+
readonly stateMutability: "nonpayable";
|
|
528
|
+
readonly type: "function";
|
|
529
|
+
}, {
|
|
530
|
+
readonly inputs: readonly [{
|
|
531
|
+
readonly internalType: "string";
|
|
532
|
+
readonly name: "sportsName";
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
}, {
|
|
535
|
+
readonly internalType: "string";
|
|
536
|
+
readonly name: "scoringType";
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
}, {
|
|
573
539
|
readonly internalType: "bool";
|
|
540
|
+
readonly name: "hasDrawMarket";
|
|
541
|
+
readonly type: "bool";
|
|
574
542
|
}];
|
|
575
|
-
readonly
|
|
543
|
+
readonly name: "addLevrSport";
|
|
544
|
+
readonly outputs: readonly [];
|
|
545
|
+
readonly stateMutability: "nonpayable";
|
|
546
|
+
readonly type: "function";
|
|
576
547
|
}, {
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly internalType: "string";
|
|
550
|
+
readonly name: "name";
|
|
551
|
+
readonly type: "string";
|
|
552
|
+
}, {
|
|
553
|
+
readonly internalType: "string";
|
|
554
|
+
readonly name: "description";
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
}, {
|
|
557
|
+
readonly internalType: "bool";
|
|
558
|
+
readonly name: "exclusive";
|
|
559
|
+
readonly type: "bool";
|
|
560
|
+
}];
|
|
561
|
+
readonly name: "addLevrTournament";
|
|
562
|
+
readonly outputs: readonly [];
|
|
563
|
+
readonly stateMutability: "nonpayable";
|
|
577
564
|
readonly type: "function";
|
|
578
|
-
|
|
565
|
+
}, {
|
|
579
566
|
readonly inputs: readonly [{
|
|
567
|
+
readonly internalType: "uint256";
|
|
580
568
|
readonly name: "gameId";
|
|
581
569
|
readonly type: "uint256";
|
|
570
|
+
}, {
|
|
571
|
+
readonly internalType: "enum Side";
|
|
572
|
+
readonly name: "winnerOverride";
|
|
573
|
+
readonly type: "uint8";
|
|
574
|
+
}, {
|
|
575
|
+
readonly internalType: "bool";
|
|
576
|
+
readonly name: "autoResolveMarkets";
|
|
577
|
+
readonly type: "bool";
|
|
578
|
+
}];
|
|
579
|
+
readonly name: "cancelLevrGame";
|
|
580
|
+
readonly outputs: readonly [];
|
|
581
|
+
readonly stateMutability: "nonpayable";
|
|
582
|
+
readonly type: "function";
|
|
583
|
+
}, {
|
|
584
|
+
readonly inputs: readonly [{
|
|
582
585
|
readonly internalType: "uint256";
|
|
586
|
+
readonly name: "gameId";
|
|
587
|
+
readonly type: "uint256";
|
|
583
588
|
}, {
|
|
584
|
-
readonly
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
589
|
+
readonly internalType: "enum Side";
|
|
590
|
+
readonly name: "marketWinnerOverride";
|
|
591
|
+
readonly type: "uint8";
|
|
592
|
+
}, {
|
|
593
|
+
readonly internalType: "bytes16";
|
|
594
|
+
readonly name: "levrMarketId";
|
|
595
|
+
readonly type: "bytes16";
|
|
587
596
|
}];
|
|
588
|
-
readonly
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
597
|
+
readonly name: "cancelLevrGameMarket";
|
|
598
|
+
readonly outputs: readonly [];
|
|
599
|
+
readonly stateMutability: "nonpayable";
|
|
600
|
+
readonly type: "function";
|
|
601
|
+
}, {
|
|
602
|
+
readonly inputs: readonly [{
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "gameId";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "bytes6";
|
|
608
|
+
readonly name: "tournamentId";
|
|
609
|
+
readonly type: "bytes6";
|
|
592
610
|
}];
|
|
593
|
-
readonly
|
|
611
|
+
readonly name: "changeGameTournamentId";
|
|
612
|
+
readonly outputs: readonly [];
|
|
613
|
+
readonly stateMutability: "nonpayable";
|
|
614
|
+
readonly type: "function";
|
|
594
615
|
}, {
|
|
616
|
+
readonly inputs: readonly [{
|
|
617
|
+
readonly internalType: "uint256";
|
|
618
|
+
readonly name: "gameId";
|
|
619
|
+
readonly type: "uint256";
|
|
620
|
+
}, {
|
|
621
|
+
readonly internalType: "bytes16[]";
|
|
622
|
+
readonly name: "_levrMarketIds";
|
|
623
|
+
readonly type: "bytes16[]";
|
|
624
|
+
}, {
|
|
625
|
+
readonly internalType: "bytes[]";
|
|
626
|
+
readonly name: "params";
|
|
627
|
+
readonly type: "bytes[]";
|
|
628
|
+
}];
|
|
629
|
+
readonly name: "createGameMarket";
|
|
630
|
+
readonly outputs: readonly [];
|
|
631
|
+
readonly stateMutability: "nonpayable";
|
|
595
632
|
readonly type: "function";
|
|
596
|
-
|
|
633
|
+
}, {
|
|
597
634
|
readonly inputs: readonly [{
|
|
598
|
-
readonly
|
|
599
|
-
readonly
|
|
635
|
+
readonly internalType: "string";
|
|
636
|
+
readonly name: "teamH";
|
|
637
|
+
readonly type: "string";
|
|
638
|
+
}, {
|
|
639
|
+
readonly internalType: "string";
|
|
640
|
+
readonly name: "teamV";
|
|
641
|
+
readonly type: "string";
|
|
642
|
+
}, {
|
|
643
|
+
readonly internalType: "bytes12";
|
|
644
|
+
readonly name: "levrSportId";
|
|
645
|
+
readonly type: "bytes12";
|
|
646
|
+
}, {
|
|
600
647
|
readonly internalType: "bytes8";
|
|
648
|
+
readonly name: "levrLeagueId";
|
|
649
|
+
readonly type: "bytes8";
|
|
650
|
+
}, {
|
|
651
|
+
readonly internalType: "bytes6";
|
|
652
|
+
readonly name: "tournamentId";
|
|
653
|
+
readonly type: "bytes6";
|
|
654
|
+
}, {
|
|
655
|
+
readonly internalType: "bytes16[]";
|
|
656
|
+
readonly name: "initLevrMarkets";
|
|
657
|
+
readonly type: "bytes16[]";
|
|
658
|
+
}, {
|
|
659
|
+
readonly internalType: "bytes[]";
|
|
660
|
+
readonly name: "initMarketData";
|
|
661
|
+
readonly type: "bytes[]";
|
|
662
|
+
}, {
|
|
663
|
+
readonly internalType: "bytes";
|
|
664
|
+
readonly name: "customGameData";
|
|
665
|
+
readonly type: "bytes";
|
|
601
666
|
}];
|
|
667
|
+
readonly name: "createLevrGame";
|
|
668
|
+
readonly outputs: readonly [];
|
|
669
|
+
readonly stateMutability: "nonpayable";
|
|
670
|
+
readonly type: "function";
|
|
671
|
+
}, {
|
|
672
|
+
readonly inputs: readonly [];
|
|
673
|
+
readonly name: "gameCount";
|
|
602
674
|
readonly outputs: readonly [{
|
|
675
|
+
readonly internalType: "uint256";
|
|
603
676
|
readonly name: "";
|
|
604
|
-
readonly type: "
|
|
605
|
-
readonly internalType: "bool";
|
|
677
|
+
readonly type: "uint256";
|
|
606
678
|
}];
|
|
607
679
|
readonly stateMutability: "view";
|
|
608
|
-
}, {
|
|
609
680
|
readonly type: "function";
|
|
610
|
-
|
|
681
|
+
}, {
|
|
611
682
|
readonly inputs: readonly [{
|
|
612
|
-
readonly
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
683
|
+
readonly internalType: "uint256";
|
|
684
|
+
readonly name: "gameId";
|
|
685
|
+
readonly type: "uint256";
|
|
615
686
|
}];
|
|
687
|
+
readonly name: "getActiveLevrMarketsForGame";
|
|
616
688
|
readonly outputs: readonly [{
|
|
689
|
+
readonly internalType: "bytes32[]";
|
|
617
690
|
readonly name: "";
|
|
618
|
-
readonly type: "
|
|
619
|
-
readonly internalType: "bool";
|
|
691
|
+
readonly type: "bytes32[]";
|
|
620
692
|
}];
|
|
621
693
|
readonly stateMutability: "view";
|
|
622
|
-
}, {
|
|
623
694
|
readonly type: "function";
|
|
624
|
-
|
|
625
|
-
readonly inputs: readonly [
|
|
626
|
-
|
|
627
|
-
readonly type: "bytes12";
|
|
628
|
-
readonly internalType: "bytes12";
|
|
629
|
-
}];
|
|
695
|
+
}, {
|
|
696
|
+
readonly inputs: readonly [];
|
|
697
|
+
readonly name: "getDeprecatedMarketContracts";
|
|
630
698
|
readonly outputs: readonly [{
|
|
699
|
+
readonly internalType: "address[]";
|
|
631
700
|
readonly name: "";
|
|
632
|
-
readonly type: "
|
|
633
|
-
readonly internalType: "bool";
|
|
701
|
+
readonly type: "address[]";
|
|
634
702
|
}];
|
|
635
703
|
readonly stateMutability: "view";
|
|
636
|
-
}, {
|
|
637
704
|
readonly type: "function";
|
|
638
|
-
|
|
705
|
+
}, {
|
|
639
706
|
readonly inputs: readonly [{
|
|
640
|
-
readonly
|
|
641
|
-
readonly
|
|
642
|
-
readonly
|
|
707
|
+
readonly internalType: "uint256";
|
|
708
|
+
readonly name: "gameId";
|
|
709
|
+
readonly type: "uint256";
|
|
643
710
|
}];
|
|
711
|
+
readonly name: "getGameActiveMarketIds";
|
|
644
712
|
readonly outputs: readonly [{
|
|
713
|
+
readonly internalType: "bytes32[]";
|
|
645
714
|
readonly name: "";
|
|
646
|
-
readonly type: "
|
|
647
|
-
readonly internalType: "bool";
|
|
715
|
+
readonly type: "bytes32[]";
|
|
648
716
|
}];
|
|
649
717
|
readonly stateMutability: "view";
|
|
650
|
-
}, {
|
|
651
718
|
readonly type: "function";
|
|
652
|
-
readonly name: "levrConfigProvider";
|
|
653
|
-
readonly inputs: readonly [];
|
|
654
|
-
readonly outputs: readonly [{
|
|
655
|
-
readonly name: "";
|
|
656
|
-
readonly type: "address";
|
|
657
|
-
readonly internalType: "address";
|
|
658
|
-
}];
|
|
659
|
-
readonly stateMutability: "view";
|
|
660
719
|
}, {
|
|
661
|
-
readonly type: "function";
|
|
662
|
-
readonly name: "levrMarketIdByAddress";
|
|
663
720
|
readonly inputs: readonly [{
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
666
|
-
readonly
|
|
721
|
+
readonly internalType: "uint256";
|
|
722
|
+
readonly name: "gameId";
|
|
723
|
+
readonly type: "uint256";
|
|
667
724
|
}];
|
|
725
|
+
readonly name: "getGameProgressBps";
|
|
668
726
|
readonly outputs: readonly [{
|
|
669
|
-
readonly
|
|
670
|
-
readonly
|
|
671
|
-
readonly
|
|
727
|
+
readonly internalType: "uint16";
|
|
728
|
+
readonly name: "";
|
|
729
|
+
readonly type: "uint16";
|
|
672
730
|
}];
|
|
673
731
|
readonly stateMutability: "view";
|
|
674
|
-
}, {
|
|
675
732
|
readonly type: "function";
|
|
676
|
-
readonly name: "openOrCloseGameMarket";
|
|
677
|
-
readonly inputs: readonly [{
|
|
678
|
-
readonly name: "gameMarketId";
|
|
679
|
-
readonly type: "bytes32";
|
|
680
|
-
readonly internalType: "bytes32";
|
|
681
|
-
}, {
|
|
682
|
-
readonly name: "levrMarketId";
|
|
683
|
-
readonly type: "bytes16";
|
|
684
|
-
readonly internalType: "bytes16";
|
|
685
|
-
}, {
|
|
686
|
-
readonly name: "open";
|
|
687
|
-
readonly type: "bool";
|
|
688
|
-
readonly internalType: "bool";
|
|
689
|
-
}];
|
|
690
|
-
readonly outputs: readonly [];
|
|
691
|
-
readonly stateMutability: "nonpayable";
|
|
692
733
|
}, {
|
|
693
|
-
readonly type: "function";
|
|
694
|
-
readonly name: "pauseOrUnpauseGame";
|
|
695
734
|
readonly inputs: readonly [{
|
|
735
|
+
readonly internalType: "uint256";
|
|
696
736
|
readonly name: "gameId";
|
|
697
737
|
readonly type: "uint256";
|
|
698
|
-
|
|
738
|
+
}];
|
|
739
|
+
readonly name: "getGameStatusAndProgress";
|
|
740
|
+
readonly outputs: readonly [{
|
|
741
|
+
readonly internalType: "enum GameStatus";
|
|
742
|
+
readonly name: "status";
|
|
743
|
+
readonly type: "uint8";
|
|
699
744
|
}, {
|
|
700
|
-
readonly
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
745
|
+
readonly internalType: "uint16";
|
|
746
|
+
readonly name: "progressBps";
|
|
747
|
+
readonly type: "uint16";
|
|
703
748
|
}];
|
|
704
|
-
readonly
|
|
705
|
-
readonly stateMutability: "nonpayable";
|
|
706
|
-
}, {
|
|
749
|
+
readonly stateMutability: "view";
|
|
707
750
|
readonly type: "function";
|
|
708
|
-
|
|
751
|
+
}, {
|
|
709
752
|
readonly inputs: readonly [{
|
|
753
|
+
readonly internalType: "uint256";
|
|
710
754
|
readonly name: "gameId";
|
|
711
755
|
readonly type: "uint256";
|
|
712
|
-
readonly internalType: "uint256";
|
|
713
756
|
}];
|
|
714
|
-
readonly
|
|
715
|
-
readonly
|
|
716
|
-
|
|
757
|
+
readonly name: "getLevrGame";
|
|
758
|
+
readonly outputs: readonly [{
|
|
759
|
+
readonly components: readonly [{
|
|
760
|
+
readonly internalType: "string";
|
|
761
|
+
readonly name: "teamH";
|
|
762
|
+
readonly type: "string";
|
|
763
|
+
}, {
|
|
764
|
+
readonly internalType: "string";
|
|
765
|
+
readonly name: "teamV";
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
}, {
|
|
768
|
+
readonly internalType: "uint256";
|
|
769
|
+
readonly name: "gameId";
|
|
770
|
+
readonly type: "uint256";
|
|
771
|
+
}, {
|
|
772
|
+
readonly internalType: "enum GameStatus";
|
|
773
|
+
readonly name: "status";
|
|
774
|
+
readonly type: "uint8";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "enum Side";
|
|
777
|
+
readonly name: "winner";
|
|
778
|
+
readonly type: "uint8";
|
|
779
|
+
}, {
|
|
780
|
+
readonly internalType: "uint48";
|
|
781
|
+
readonly name: "registeredAt";
|
|
782
|
+
readonly type: "uint48";
|
|
783
|
+
}, {
|
|
784
|
+
readonly internalType: "uint48";
|
|
785
|
+
readonly name: "startedAt";
|
|
786
|
+
readonly type: "uint48";
|
|
787
|
+
}, {
|
|
788
|
+
readonly internalType: "uint48";
|
|
789
|
+
readonly name: "endedAt";
|
|
790
|
+
readonly type: "uint48";
|
|
791
|
+
}, {
|
|
792
|
+
readonly internalType: "uint16";
|
|
793
|
+
readonly name: "progressBps";
|
|
794
|
+
readonly type: "uint16";
|
|
795
|
+
}, {
|
|
796
|
+
readonly internalType: "bool";
|
|
797
|
+
readonly name: "paused";
|
|
798
|
+
readonly type: "bool";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "bytes12";
|
|
801
|
+
readonly name: "levrSportId";
|
|
802
|
+
readonly type: "bytes12";
|
|
803
|
+
}, {
|
|
804
|
+
readonly internalType: "bytes8";
|
|
805
|
+
readonly name: "levrLeagueId";
|
|
806
|
+
readonly type: "bytes8";
|
|
807
|
+
}, {
|
|
808
|
+
readonly internalType: "bytes6";
|
|
809
|
+
readonly name: "tournamentId";
|
|
810
|
+
readonly type: "bytes6";
|
|
811
|
+
}, {
|
|
812
|
+
readonly internalType: "bytes";
|
|
813
|
+
readonly name: "customData";
|
|
814
|
+
readonly type: "bytes";
|
|
815
|
+
}];
|
|
816
|
+
readonly internalType: "struct LevrGame";
|
|
817
|
+
readonly name: "";
|
|
818
|
+
readonly type: "tuple";
|
|
819
|
+
}];
|
|
820
|
+
readonly stateMutability: "view";
|
|
717
821
|
readonly type: "function";
|
|
718
|
-
|
|
822
|
+
}, {
|
|
719
823
|
readonly inputs: readonly [{
|
|
824
|
+
readonly internalType: "uint256";
|
|
720
825
|
readonly name: "gameId";
|
|
721
826
|
readonly type: "uint256";
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
827
|
+
}];
|
|
828
|
+
readonly name: "getLevrGameStatus";
|
|
829
|
+
readonly outputs: readonly [{
|
|
830
|
+
readonly internalType: "enum GameStatus";
|
|
831
|
+
readonly name: "";
|
|
725
832
|
readonly type: "uint8";
|
|
726
|
-
readonly internalType: "enum Side";
|
|
727
|
-
}, {
|
|
728
|
-
readonly name: "autoResolveMarkets";
|
|
729
|
-
readonly type: "bool";
|
|
730
|
-
readonly internalType: "bool";
|
|
731
833
|
}];
|
|
732
|
-
readonly
|
|
733
|
-
readonly
|
|
834
|
+
readonly stateMutability: "view";
|
|
835
|
+
readonly type: "function";
|
|
734
836
|
}, {
|
|
837
|
+
readonly inputs: readonly [];
|
|
838
|
+
readonly name: "getLevrLeagueIds";
|
|
839
|
+
readonly outputs: readonly [{
|
|
840
|
+
readonly internalType: "bytes32[]";
|
|
841
|
+
readonly name: "";
|
|
842
|
+
readonly type: "bytes32[]";
|
|
843
|
+
}];
|
|
844
|
+
readonly stateMutability: "view";
|
|
735
845
|
readonly type: "function";
|
|
736
|
-
|
|
846
|
+
}, {
|
|
737
847
|
readonly inputs: readonly [{
|
|
738
|
-
readonly
|
|
739
|
-
readonly
|
|
740
|
-
readonly
|
|
741
|
-
}, {
|
|
742
|
-
readonly name: "levrMarketId";
|
|
743
|
-
readonly type: "bytes16";
|
|
744
|
-
readonly internalType: "bytes16";
|
|
745
|
-
}, {
|
|
746
|
-
readonly name: "winnerOverride";
|
|
747
|
-
readonly type: "uint8";
|
|
748
|
-
readonly internalType: "enum Side";
|
|
848
|
+
readonly internalType: "bytes8";
|
|
849
|
+
readonly name: "leagueId";
|
|
850
|
+
readonly type: "bytes8";
|
|
749
851
|
}];
|
|
750
|
-
readonly
|
|
751
|
-
readonly
|
|
752
|
-
|
|
852
|
+
readonly name: "getLevrLeagueMetadata";
|
|
853
|
+
readonly outputs: readonly [{
|
|
854
|
+
readonly components: readonly [{
|
|
855
|
+
readonly internalType: "string";
|
|
856
|
+
readonly name: "name";
|
|
857
|
+
readonly type: "string";
|
|
858
|
+
}, {
|
|
859
|
+
readonly internalType: "string";
|
|
860
|
+
readonly name: "location";
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
}, {
|
|
863
|
+
readonly internalType: "bytes12";
|
|
864
|
+
readonly name: "levrSportId";
|
|
865
|
+
readonly type: "bytes12";
|
|
866
|
+
}, {
|
|
867
|
+
readonly internalType: "bytes8";
|
|
868
|
+
readonly name: "leagueId";
|
|
869
|
+
readonly type: "bytes8";
|
|
870
|
+
}];
|
|
871
|
+
readonly internalType: "struct LevrLeagueMetadata";
|
|
872
|
+
readonly name: "";
|
|
873
|
+
readonly type: "tuple";
|
|
874
|
+
}];
|
|
875
|
+
readonly stateMutability: "view";
|
|
753
876
|
readonly type: "function";
|
|
754
|
-
|
|
877
|
+
}, {
|
|
755
878
|
readonly inputs: readonly [{
|
|
756
|
-
readonly
|
|
757
|
-
readonly
|
|
758
|
-
readonly
|
|
879
|
+
readonly internalType: "bytes16";
|
|
880
|
+
readonly name: "levrMarketId";
|
|
881
|
+
readonly type: "bytes16";
|
|
759
882
|
}];
|
|
883
|
+
readonly name: "getLevrMarketContractAddress";
|
|
760
884
|
readonly outputs: readonly [{
|
|
885
|
+
readonly internalType: "address";
|
|
761
886
|
readonly name: "";
|
|
762
|
-
readonly type: "
|
|
763
|
-
readonly internalType: "bool";
|
|
887
|
+
readonly type: "address";
|
|
764
888
|
}];
|
|
765
889
|
readonly stateMutability: "view";
|
|
766
|
-
}, {
|
|
767
890
|
readonly type: "function";
|
|
768
|
-
|
|
891
|
+
}, {
|
|
769
892
|
readonly inputs: readonly [{
|
|
770
|
-
readonly
|
|
771
|
-
readonly
|
|
772
|
-
readonly
|
|
773
|
-
}, {
|
|
774
|
-
readonly name: "progressBps";
|
|
775
|
-
readonly type: "uint16";
|
|
776
|
-
readonly internalType: "uint16";
|
|
893
|
+
readonly internalType: "bool";
|
|
894
|
+
readonly name: "includeDeprecated";
|
|
895
|
+
readonly type: "bool";
|
|
777
896
|
}];
|
|
897
|
+
readonly name: "getLevrMarketContracts";
|
|
778
898
|
readonly outputs: readonly [{
|
|
779
|
-
readonly
|
|
780
|
-
readonly
|
|
781
|
-
readonly
|
|
899
|
+
readonly internalType: "address[]";
|
|
900
|
+
readonly name: "marketContracts";
|
|
901
|
+
readonly type: "address[]";
|
|
782
902
|
}];
|
|
783
|
-
readonly stateMutability: "
|
|
784
|
-
}, {
|
|
903
|
+
readonly stateMutability: "view";
|
|
785
904
|
readonly type: "function";
|
|
786
|
-
readonly name: "updateGameStatus";
|
|
787
|
-
readonly inputs: readonly [{
|
|
788
|
-
readonly name: "gameId";
|
|
789
|
-
readonly type: "uint256";
|
|
790
|
-
readonly internalType: "uint256";
|
|
791
|
-
}, {
|
|
792
|
-
readonly name: "status";
|
|
793
|
-
readonly type: "uint8";
|
|
794
|
-
readonly internalType: "enum GameStatus";
|
|
795
|
-
}];
|
|
796
|
-
readonly outputs: readonly [];
|
|
797
|
-
readonly stateMutability: "nonpayable";
|
|
798
905
|
}, {
|
|
799
|
-
readonly
|
|
800
|
-
readonly name: "
|
|
801
|
-
readonly
|
|
802
|
-
readonly
|
|
803
|
-
readonly
|
|
804
|
-
readonly
|
|
906
|
+
readonly inputs: readonly [];
|
|
907
|
+
readonly name: "getLevrMarketIds";
|
|
908
|
+
readonly outputs: readonly [{
|
|
909
|
+
readonly internalType: "bytes32[]";
|
|
910
|
+
readonly name: "";
|
|
911
|
+
readonly type: "bytes32[]";
|
|
805
912
|
}];
|
|
806
|
-
readonly
|
|
807
|
-
readonly stateMutability: "nonpayable";
|
|
808
|
-
}, {
|
|
913
|
+
readonly stateMutability: "view";
|
|
809
914
|
readonly type: "function";
|
|
810
|
-
|
|
915
|
+
}, {
|
|
811
916
|
readonly inputs: readonly [{
|
|
917
|
+
readonly internalType: "bytes16";
|
|
812
918
|
readonly name: "levrMarketId";
|
|
813
919
|
readonly type: "bytes16";
|
|
814
|
-
readonly internalType: "bytes16";
|
|
815
|
-
}, {
|
|
816
|
-
readonly name: "newMarketAddress";
|
|
817
|
-
readonly type: "address";
|
|
818
|
-
readonly internalType: "address";
|
|
819
920
|
}];
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
921
|
+
readonly name: "getLevrMarketMetadata";
|
|
922
|
+
readonly outputs: readonly [{
|
|
923
|
+
readonly components: readonly [{
|
|
924
|
+
readonly internalType: "address";
|
|
925
|
+
readonly name: "marketAddress";
|
|
926
|
+
readonly type: "address";
|
|
927
|
+
}, {
|
|
928
|
+
readonly internalType: "uint8";
|
|
929
|
+
readonly name: "allowedSideGroup";
|
|
930
|
+
readonly type: "uint8";
|
|
931
|
+
}, {
|
|
932
|
+
readonly internalType: "bytes16";
|
|
933
|
+
readonly name: "marketId";
|
|
934
|
+
readonly type: "bytes16";
|
|
935
|
+
}, {
|
|
936
|
+
readonly internalType: "string";
|
|
937
|
+
readonly name: "marketName";
|
|
938
|
+
readonly type: "string";
|
|
939
|
+
}];
|
|
940
|
+
readonly internalType: "struct LevrMarketMetadata";
|
|
941
|
+
readonly name: "";
|
|
942
|
+
readonly type: "tuple";
|
|
833
943
|
}];
|
|
834
|
-
readonly
|
|
835
|
-
readonly
|
|
944
|
+
readonly stateMutability: "view";
|
|
945
|
+
readonly type: "function";
|
|
836
946
|
}, {
|
|
837
|
-
readonly
|
|
838
|
-
readonly name: "
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
readonly
|
|
842
|
-
readonly
|
|
843
|
-
readonly internalType: "address";
|
|
844
|
-
}, {
|
|
845
|
-
readonly name: "newProvider";
|
|
846
|
-
readonly type: "address";
|
|
847
|
-
readonly indexed: true;
|
|
848
|
-
readonly internalType: "address";
|
|
947
|
+
readonly inputs: readonly [];
|
|
948
|
+
readonly name: "getLevrSportIds";
|
|
949
|
+
readonly outputs: readonly [{
|
|
950
|
+
readonly internalType: "bytes32[]";
|
|
951
|
+
readonly name: "";
|
|
952
|
+
readonly type: "bytes32[]";
|
|
849
953
|
}];
|
|
850
|
-
readonly
|
|
954
|
+
readonly stateMutability: "view";
|
|
955
|
+
readonly type: "function";
|
|
851
956
|
}, {
|
|
852
|
-
readonly type: "event";
|
|
853
|
-
readonly name: "LevrGameCreated";
|
|
854
957
|
readonly inputs: readonly [{
|
|
855
|
-
readonly
|
|
856
|
-
readonly type: "uint256";
|
|
857
|
-
readonly indexed: true;
|
|
858
|
-
readonly internalType: "uint256";
|
|
859
|
-
}, {
|
|
860
|
-
readonly name: "teamH";
|
|
861
|
-
readonly type: "string";
|
|
862
|
-
readonly indexed: false;
|
|
863
|
-
readonly internalType: "string";
|
|
864
|
-
}, {
|
|
865
|
-
readonly name: "teamV";
|
|
866
|
-
readonly type: "string";
|
|
867
|
-
readonly indexed: false;
|
|
868
|
-
readonly internalType: "string";
|
|
869
|
-
}, {
|
|
958
|
+
readonly internalType: "bytes12";
|
|
870
959
|
readonly name: "levrSportId";
|
|
871
960
|
readonly type: "bytes12";
|
|
872
|
-
readonly indexed: true;
|
|
873
|
-
readonly internalType: "bytes12";
|
|
874
|
-
}, {
|
|
875
|
-
readonly name: "levrLeagueId";
|
|
876
|
-
readonly type: "bytes8";
|
|
877
|
-
readonly indexed: true;
|
|
878
|
-
readonly internalType: "bytes8";
|
|
879
|
-
}];
|
|
880
|
-
readonly anonymous: false;
|
|
881
|
-
}, {
|
|
882
|
-
readonly type: "event";
|
|
883
|
-
readonly name: "LevrGamePaused";
|
|
884
|
-
readonly inputs: readonly [{
|
|
885
|
-
readonly name: "gameId";
|
|
886
|
-
readonly type: "uint256";
|
|
887
|
-
readonly indexed: true;
|
|
888
|
-
readonly internalType: "uint256";
|
|
889
|
-
}, {
|
|
890
|
-
readonly name: "paused";
|
|
891
|
-
readonly type: "bool";
|
|
892
|
-
readonly indexed: false;
|
|
893
|
-
readonly internalType: "bool";
|
|
894
|
-
}];
|
|
895
|
-
readonly anonymous: false;
|
|
896
|
-
}, {
|
|
897
|
-
readonly type: "event";
|
|
898
|
-
readonly name: "LevrGameProgressUpdated";
|
|
899
|
-
readonly inputs: readonly [{
|
|
900
|
-
readonly name: "gameId";
|
|
901
|
-
readonly type: "uint256";
|
|
902
|
-
readonly indexed: true;
|
|
903
|
-
readonly internalType: "uint256";
|
|
904
|
-
}, {
|
|
905
|
-
readonly name: "progressBps";
|
|
906
|
-
readonly type: "uint16";
|
|
907
|
-
readonly indexed: false;
|
|
908
|
-
readonly internalType: "uint16";
|
|
909
961
|
}];
|
|
910
|
-
readonly
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
962
|
+
readonly name: "getLevrSportsMetadata";
|
|
963
|
+
readonly outputs: readonly [{
|
|
964
|
+
readonly components: readonly [{
|
|
965
|
+
readonly internalType: "string";
|
|
966
|
+
readonly name: "name";
|
|
967
|
+
readonly type: "string";
|
|
968
|
+
}, {
|
|
969
|
+
readonly internalType: "string";
|
|
970
|
+
readonly name: "scoreType";
|
|
971
|
+
readonly type: "string";
|
|
972
|
+
}, {
|
|
973
|
+
readonly internalType: "bytes12";
|
|
974
|
+
readonly name: "levrSportId";
|
|
975
|
+
readonly type: "bytes12";
|
|
976
|
+
}, {
|
|
977
|
+
readonly internalType: "bool";
|
|
978
|
+
readonly name: "hasDraw";
|
|
979
|
+
readonly type: "bool";
|
|
980
|
+
}];
|
|
981
|
+
readonly internalType: "struct LevrSportMetadata";
|
|
982
|
+
readonly name: "";
|
|
983
|
+
readonly type: "tuple";
|
|
929
984
|
}];
|
|
930
|
-
readonly
|
|
985
|
+
readonly stateMutability: "view";
|
|
986
|
+
readonly type: "function";
|
|
931
987
|
}, {
|
|
932
|
-
readonly
|
|
933
|
-
readonly name: "
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
938
|
-
readonly internalType: "uint256";
|
|
939
|
-
}, {
|
|
940
|
-
readonly name: "status";
|
|
941
|
-
readonly type: "uint8";
|
|
942
|
-
readonly indexed: false;
|
|
943
|
-
readonly internalType: "enum GameStatus";
|
|
944
|
-
}, {
|
|
945
|
-
readonly name: "updatedAt";
|
|
946
|
-
readonly type: "uint48";
|
|
947
|
-
readonly indexed: false;
|
|
948
|
-
readonly internalType: "uint48";
|
|
988
|
+
readonly inputs: readonly [];
|
|
989
|
+
readonly name: "getLevrTournamentIds";
|
|
990
|
+
readonly outputs: readonly [{
|
|
991
|
+
readonly internalType: "bytes32[]";
|
|
992
|
+
readonly name: "";
|
|
993
|
+
readonly type: "bytes32[]";
|
|
949
994
|
}];
|
|
950
|
-
readonly
|
|
995
|
+
readonly stateMutability: "view";
|
|
996
|
+
readonly type: "function";
|
|
951
997
|
}, {
|
|
952
|
-
readonly type: "event";
|
|
953
|
-
readonly name: "LevrGameTournamentUpdated";
|
|
954
998
|
readonly inputs: readonly [{
|
|
955
|
-
readonly
|
|
956
|
-
readonly type: "uint256";
|
|
957
|
-
readonly indexed: true;
|
|
958
|
-
readonly internalType: "uint256";
|
|
959
|
-
}, {
|
|
999
|
+
readonly internalType: "bytes6";
|
|
960
1000
|
readonly name: "tournamentId";
|
|
961
1001
|
readonly type: "bytes6";
|
|
962
|
-
readonly indexed: true;
|
|
963
|
-
readonly internalType: "bytes6";
|
|
964
1002
|
}];
|
|
965
|
-
readonly
|
|
1003
|
+
readonly name: "getLevrTournamentMetadata";
|
|
1004
|
+
readonly outputs: readonly [{
|
|
1005
|
+
readonly components: readonly [{
|
|
1006
|
+
readonly internalType: "string";
|
|
1007
|
+
readonly name: "name";
|
|
1008
|
+
readonly type: "string";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly internalType: "string";
|
|
1011
|
+
readonly name: "description";
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly internalType: "bytes6";
|
|
1015
|
+
readonly name: "tournamentId";
|
|
1016
|
+
readonly type: "bytes6";
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly internalType: "bool";
|
|
1019
|
+
readonly name: "exclusive";
|
|
1020
|
+
readonly type: "bool";
|
|
1021
|
+
}];
|
|
1022
|
+
readonly internalType: "struct LevrTournamentMetadata";
|
|
1023
|
+
readonly name: "";
|
|
1024
|
+
readonly type: "tuple";
|
|
1025
|
+
}];
|
|
1026
|
+
readonly stateMutability: "view";
|
|
1027
|
+
readonly type: "function";
|
|
966
1028
|
}, {
|
|
967
|
-
readonly type: "event";
|
|
968
|
-
readonly name: "LevrGameUnpaused";
|
|
969
1029
|
readonly inputs: readonly [{
|
|
1030
|
+
readonly internalType: "uint256";
|
|
970
1031
|
readonly name: "gameId";
|
|
971
1032
|
readonly type: "uint256";
|
|
972
|
-
readonly indexed: true;
|
|
973
|
-
readonly internalType: "uint256";
|
|
974
1033
|
}, {
|
|
975
|
-
readonly
|
|
976
|
-
readonly
|
|
977
|
-
readonly
|
|
978
|
-
readonly internalType: "uint48";
|
|
1034
|
+
readonly internalType: "bytes16";
|
|
1035
|
+
readonly name: "levrMarketId";
|
|
1036
|
+
readonly type: "bytes16";
|
|
979
1037
|
}];
|
|
980
|
-
readonly
|
|
1038
|
+
readonly name: "isActiveLevrMarketForGame";
|
|
1039
|
+
readonly outputs: readonly [{
|
|
1040
|
+
readonly internalType: "bool";
|
|
1041
|
+
readonly name: "";
|
|
1042
|
+
readonly type: "bool";
|
|
1043
|
+
}];
|
|
1044
|
+
readonly stateMutability: "view";
|
|
1045
|
+
readonly type: "function";
|
|
981
1046
|
}, {
|
|
982
|
-
readonly type: "event";
|
|
983
|
-
readonly name: "LevrMarketContractUpdated";
|
|
984
1047
|
readonly inputs: readonly [{
|
|
985
|
-
readonly name: "levrMarketId";
|
|
986
|
-
readonly type: "bytes16";
|
|
987
|
-
readonly indexed: true;
|
|
988
|
-
readonly internalType: "bytes16";
|
|
989
|
-
}, {
|
|
990
|
-
readonly name: "prevMarketAddress";
|
|
991
|
-
readonly type: "address";
|
|
992
|
-
readonly indexed: true;
|
|
993
1048
|
readonly internalType: "address";
|
|
994
|
-
|
|
995
|
-
readonly name: "newMarketAddress";
|
|
1049
|
+
readonly name: "marketContract";
|
|
996
1050
|
readonly type: "address";
|
|
997
|
-
readonly indexed: true;
|
|
998
|
-
readonly internalType: "address";
|
|
999
1051
|
}];
|
|
1000
|
-
readonly
|
|
1052
|
+
readonly name: "isDeprecatedMarketContract";
|
|
1053
|
+
readonly outputs: readonly [{
|
|
1054
|
+
readonly internalType: "bool";
|
|
1055
|
+
readonly name: "";
|
|
1056
|
+
readonly type: "bool";
|
|
1057
|
+
}];
|
|
1058
|
+
readonly stateMutability: "view";
|
|
1059
|
+
readonly type: "function";
|
|
1001
1060
|
}, {
|
|
1002
|
-
readonly type: "event";
|
|
1003
|
-
readonly name: "MarketSettledWithOverride";
|
|
1004
1061
|
readonly inputs: readonly [{
|
|
1062
|
+
readonly internalType: "uint256";
|
|
1063
|
+
readonly name: "gameId";
|
|
1064
|
+
readonly type: "uint256";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly internalType: "bytes32";
|
|
1005
1067
|
readonly name: "gameMarketId";
|
|
1006
1068
|
readonly type: "bytes32";
|
|
1007
|
-
readonly indexed: true;
|
|
1008
|
-
readonly internalType: "bytes32";
|
|
1009
|
-
}, {
|
|
1010
|
-
readonly name: "winner";
|
|
1011
|
-
readonly type: "uint8";
|
|
1012
|
-
readonly indexed: true;
|
|
1013
|
-
readonly internalType: "enum Side";
|
|
1014
|
-
}, {
|
|
1015
|
-
readonly name: "winnerOverride";
|
|
1016
|
-
readonly type: "uint8";
|
|
1017
|
-
readonly indexed: false;
|
|
1018
|
-
readonly internalType: "enum Side";
|
|
1019
1069
|
}];
|
|
1020
|
-
readonly
|
|
1070
|
+
readonly name: "isGameActiveMarket";
|
|
1071
|
+
readonly outputs: readonly [{
|
|
1072
|
+
readonly internalType: "bool";
|
|
1073
|
+
readonly name: "";
|
|
1074
|
+
readonly type: "bool";
|
|
1075
|
+
}];
|
|
1076
|
+
readonly stateMutability: "view";
|
|
1077
|
+
readonly type: "function";
|
|
1021
1078
|
}, {
|
|
1022
|
-
readonly type: "event";
|
|
1023
|
-
readonly name: "NewLevrLeague";
|
|
1024
1079
|
readonly inputs: readonly [{
|
|
1080
|
+
readonly internalType: "bytes8";
|
|
1025
1081
|
readonly name: "leagueId";
|
|
1026
1082
|
readonly type: "bytes8";
|
|
1027
|
-
readonly indexed: true;
|
|
1028
|
-
readonly internalType: "bytes8";
|
|
1029
|
-
}, {
|
|
1030
|
-
readonly name: "levrSportId";
|
|
1031
|
-
readonly type: "bytes12";
|
|
1032
|
-
readonly indexed: true;
|
|
1033
|
-
readonly internalType: "bytes12";
|
|
1034
|
-
}, {
|
|
1035
|
-
readonly name: "leagueName";
|
|
1036
|
-
readonly type: "string";
|
|
1037
|
-
readonly indexed: false;
|
|
1038
|
-
readonly internalType: "string";
|
|
1039
|
-
}, {
|
|
1040
|
-
readonly name: "location";
|
|
1041
|
-
readonly type: "string";
|
|
1042
|
-
readonly indexed: false;
|
|
1043
|
-
readonly internalType: "string";
|
|
1044
1083
|
}];
|
|
1045
|
-
readonly
|
|
1084
|
+
readonly name: "isLevrLeagueId";
|
|
1085
|
+
readonly outputs: readonly [{
|
|
1086
|
+
readonly internalType: "bool";
|
|
1087
|
+
readonly name: "";
|
|
1088
|
+
readonly type: "bool";
|
|
1089
|
+
}];
|
|
1090
|
+
readonly stateMutability: "view";
|
|
1091
|
+
readonly type: "function";
|
|
1046
1092
|
}, {
|
|
1047
|
-
readonly type: "event";
|
|
1048
|
-
readonly name: "NewLevrMarket";
|
|
1049
1093
|
readonly inputs: readonly [{
|
|
1094
|
+
readonly internalType: "bytes16";
|
|
1050
1095
|
readonly name: "levrMarketId";
|
|
1051
1096
|
readonly type: "bytes16";
|
|
1052
|
-
readonly indexed: true;
|
|
1053
|
-
readonly internalType: "bytes16";
|
|
1054
|
-
}, {
|
|
1055
|
-
readonly name: "name";
|
|
1056
|
-
readonly type: "string";
|
|
1057
|
-
readonly indexed: false;
|
|
1058
|
-
readonly internalType: "string";
|
|
1059
1097
|
}];
|
|
1060
|
-
readonly
|
|
1098
|
+
readonly name: "isLevrMarketId";
|
|
1099
|
+
readonly outputs: readonly [{
|
|
1100
|
+
readonly internalType: "bool";
|
|
1101
|
+
readonly name: "";
|
|
1102
|
+
readonly type: "bool";
|
|
1103
|
+
}];
|
|
1104
|
+
readonly stateMutability: "view";
|
|
1105
|
+
readonly type: "function";
|
|
1061
1106
|
}, {
|
|
1062
|
-
readonly type: "event";
|
|
1063
|
-
readonly name: "NewLevrSport";
|
|
1064
1107
|
readonly inputs: readonly [{
|
|
1108
|
+
readonly internalType: "bytes12";
|
|
1065
1109
|
readonly name: "levrSportId";
|
|
1066
1110
|
readonly type: "bytes12";
|
|
1067
|
-
readonly indexed: true;
|
|
1068
|
-
readonly internalType: "bytes12";
|
|
1069
|
-
}, {
|
|
1070
|
-
readonly name: "name";
|
|
1071
|
-
readonly type: "string";
|
|
1072
|
-
readonly indexed: false;
|
|
1073
|
-
readonly internalType: "string";
|
|
1074
1111
|
}];
|
|
1075
|
-
readonly
|
|
1076
|
-
|
|
1077
|
-
readonly type: "event";
|
|
1078
|
-
readonly name: "NewLevrTournament";
|
|
1079
|
-
readonly inputs: readonly [{
|
|
1080
|
-
readonly name: "tournamentId";
|
|
1081
|
-
readonly type: "bytes6";
|
|
1082
|
-
readonly indexed: true;
|
|
1083
|
-
readonly internalType: "bytes6";
|
|
1084
|
-
}, {
|
|
1085
|
-
readonly name: "tournamentName";
|
|
1086
|
-
readonly type: "string";
|
|
1087
|
-
readonly indexed: false;
|
|
1088
|
-
readonly internalType: "string";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly name: "description";
|
|
1091
|
-
readonly type: "string";
|
|
1092
|
-
readonly indexed: false;
|
|
1093
|
-
readonly internalType: "string";
|
|
1094
|
-
}, {
|
|
1095
|
-
readonly name: "exclusive";
|
|
1096
|
-
readonly type: "bool";
|
|
1097
|
-
readonly indexed: false;
|
|
1112
|
+
readonly name: "isLevrSportId";
|
|
1113
|
+
readonly outputs: readonly [{
|
|
1098
1114
|
readonly internalType: "bool";
|
|
1115
|
+
readonly name: "";
|
|
1116
|
+
readonly type: "bool";
|
|
1099
1117
|
}];
|
|
1100
|
-
readonly
|
|
1118
|
+
readonly stateMutability: "view";
|
|
1119
|
+
readonly type: "function";
|
|
1101
1120
|
}, {
|
|
1102
|
-
readonly type: "event";
|
|
1103
|
-
readonly name: "TournamentExclusivityUpdated";
|
|
1104
1121
|
readonly inputs: readonly [{
|
|
1122
|
+
readonly internalType: "bytes6";
|
|
1105
1123
|
readonly name: "tournamentId";
|
|
1106
1124
|
readonly type: "bytes6";
|
|
1107
|
-
readonly indexed: true;
|
|
1108
|
-
readonly internalType: "bytes6";
|
|
1109
|
-
}, {
|
|
1110
|
-
readonly name: "exclusive";
|
|
1111
|
-
readonly type: "bool";
|
|
1112
|
-
readonly indexed: false;
|
|
1113
|
-
readonly internalType: "bool";
|
|
1114
|
-
}];
|
|
1115
|
-
readonly anonymous: false;
|
|
1116
|
-
}, {
|
|
1117
|
-
readonly type: "error";
|
|
1118
|
-
readonly name: "LB_CONFIG_INVALID_INTERFACE";
|
|
1119
|
-
readonly inputs: readonly [];
|
|
1120
|
-
}, {
|
|
1121
|
-
readonly type: "error";
|
|
1122
|
-
readonly name: "LB_CONFIG_PROVIDER_NOT_CONTRACT";
|
|
1123
|
-
readonly inputs: readonly [];
|
|
1124
|
-
}, {
|
|
1125
|
-
readonly type: "error";
|
|
1126
|
-
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
1127
|
-
readonly inputs: readonly [];
|
|
1128
|
-
}, {
|
|
1129
|
-
readonly type: "error";
|
|
1130
|
-
readonly name: "LM_CANNOT_CANCEL_POST_GAME_MARKET";
|
|
1131
|
-
readonly inputs: readonly [];
|
|
1132
|
-
}, {
|
|
1133
|
-
readonly type: "error";
|
|
1134
|
-
readonly name: "LM_CANNOT_OVERRIDE_WINNER_IN_PRE_GAME";
|
|
1135
|
-
readonly inputs: readonly [];
|
|
1136
|
-
}, {
|
|
1137
|
-
readonly type: "error";
|
|
1138
|
-
readonly name: "LM_DEPRECATED_MARKET_CONTRACT";
|
|
1139
|
-
readonly inputs: readonly [{
|
|
1140
|
-
readonly name: "marketContract";
|
|
1141
|
-
readonly type: "address";
|
|
1142
|
-
readonly internalType: "address";
|
|
1143
|
-
}];
|
|
1144
|
-
}, {
|
|
1145
|
-
readonly type: "error";
|
|
1146
|
-
readonly name: "LM_DUPLICATE_MARKET_CONTRACT";
|
|
1147
|
-
readonly inputs: readonly [{
|
|
1148
|
-
readonly name: "marketContract";
|
|
1149
|
-
readonly type: "address";
|
|
1150
|
-
readonly internalType: "address";
|
|
1151
1125
|
}];
|
|
1152
|
-
|
|
1153
|
-
readonly
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
readonly
|
|
1157
|
-
readonly type: "string";
|
|
1158
|
-
readonly internalType: "string";
|
|
1126
|
+
readonly name: "isLevrTournamentId";
|
|
1127
|
+
readonly outputs: readonly [{
|
|
1128
|
+
readonly internalType: "bool";
|
|
1129
|
+
readonly name: "";
|
|
1130
|
+
readonly type: "bool";
|
|
1159
1131
|
}];
|
|
1132
|
+
readonly stateMutability: "view";
|
|
1133
|
+
readonly type: "function";
|
|
1160
1134
|
}, {
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly name: "
|
|
1163
|
-
readonly
|
|
1164
|
-
readonly
|
|
1165
|
-
readonly
|
|
1166
|
-
readonly
|
|
1135
|
+
readonly inputs: readonly [];
|
|
1136
|
+
readonly name: "levrConfigProvider";
|
|
1137
|
+
readonly outputs: readonly [{
|
|
1138
|
+
readonly internalType: "address";
|
|
1139
|
+
readonly name: "";
|
|
1140
|
+
readonly type: "address";
|
|
1167
1141
|
}];
|
|
1142
|
+
readonly stateMutability: "view";
|
|
1143
|
+
readonly type: "function";
|
|
1168
1144
|
}, {
|
|
1169
|
-
readonly type: "error";
|
|
1170
|
-
readonly name: "LM_DUPLICATE_TOURNAMENT_NAME";
|
|
1171
1145
|
readonly inputs: readonly [{
|
|
1172
|
-
readonly
|
|
1173
|
-
readonly
|
|
1174
|
-
readonly
|
|
1146
|
+
readonly internalType: "address";
|
|
1147
|
+
readonly name: "";
|
|
1148
|
+
readonly type: "address";
|
|
1175
1149
|
}];
|
|
1176
|
-
|
|
1177
|
-
readonly
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
readonly
|
|
1181
|
-
readonly type: "uint256";
|
|
1182
|
-
readonly internalType: "uint256";
|
|
1183
|
-
}, {
|
|
1184
|
-
readonly name: "winner";
|
|
1185
|
-
readonly type: "uint8";
|
|
1186
|
-
readonly internalType: "enum Side";
|
|
1150
|
+
readonly name: "levrMarketIdByAddress";
|
|
1151
|
+
readonly outputs: readonly [{
|
|
1152
|
+
readonly internalType: "bytes16";
|
|
1153
|
+
readonly name: "levrMarketId";
|
|
1154
|
+
readonly type: "bytes16";
|
|
1187
1155
|
}];
|
|
1156
|
+
readonly stateMutability: "view";
|
|
1157
|
+
readonly type: "function";
|
|
1188
1158
|
}, {
|
|
1189
|
-
readonly type: "error";
|
|
1190
|
-
readonly name: "LM_GAME_MARKET_NOT_ACTIVE";
|
|
1191
1159
|
readonly inputs: readonly [{
|
|
1160
|
+
readonly internalType: "bytes32";
|
|
1192
1161
|
readonly name: "gameMarketId";
|
|
1193
1162
|
readonly type: "bytes32";
|
|
1194
|
-
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly internalType: "bytes16";
|
|
1165
|
+
readonly name: "levrMarketId";
|
|
1166
|
+
readonly type: "bytes16";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "bool";
|
|
1169
|
+
readonly name: "open";
|
|
1170
|
+
readonly type: "bool";
|
|
1195
1171
|
}];
|
|
1172
|
+
readonly name: "openOrCloseGameMarket";
|
|
1173
|
+
readonly outputs: readonly [];
|
|
1174
|
+
readonly stateMutability: "nonpayable";
|
|
1175
|
+
readonly type: "function";
|
|
1196
1176
|
}, {
|
|
1197
|
-
readonly type: "error";
|
|
1198
|
-
readonly name: "LM_GAME_NOT_ENDED";
|
|
1199
1177
|
readonly inputs: readonly [{
|
|
1178
|
+
readonly internalType: "uint256";
|
|
1200
1179
|
readonly name: "gameId";
|
|
1201
1180
|
readonly type: "uint256";
|
|
1202
|
-
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly internalType: "bool";
|
|
1183
|
+
readonly name: "pause";
|
|
1184
|
+
readonly type: "bool";
|
|
1203
1185
|
}];
|
|
1186
|
+
readonly name: "pauseOrUnpauseGame";
|
|
1187
|
+
readonly outputs: readonly [];
|
|
1188
|
+
readonly stateMutability: "nonpayable";
|
|
1189
|
+
readonly type: "function";
|
|
1204
1190
|
}, {
|
|
1205
|
-
readonly type: "error";
|
|
1206
|
-
readonly name: "LM_GAME_NOT_LIVE";
|
|
1207
1191
|
readonly inputs: readonly [{
|
|
1192
|
+
readonly internalType: "uint256";
|
|
1208
1193
|
readonly name: "gameId";
|
|
1209
1194
|
readonly type: "uint256";
|
|
1210
|
-
readonly internalType: "uint256";
|
|
1211
1195
|
}];
|
|
1196
|
+
readonly name: "settleAllGameMarkets";
|
|
1197
|
+
readonly outputs: readonly [];
|
|
1198
|
+
readonly stateMutability: "nonpayable";
|
|
1199
|
+
readonly type: "function";
|
|
1212
1200
|
}, {
|
|
1213
|
-
readonly type: "error";
|
|
1214
|
-
readonly name: "LM_GAME_STARTED_OR_ENDED";
|
|
1215
|
-
readonly inputs: readonly [];
|
|
1216
|
-
}, {
|
|
1217
|
-
readonly type: "error";
|
|
1218
|
-
readonly name: "LM_INVALID_ADDRESS";
|
|
1219
|
-
readonly inputs: readonly [];
|
|
1220
|
-
}, {
|
|
1221
|
-
readonly type: "error";
|
|
1222
|
-
readonly name: "LM_INVALID_DRAW_OUTCOME_FOR_GAME";
|
|
1223
1201
|
readonly inputs: readonly [{
|
|
1202
|
+
readonly internalType: "uint256";
|
|
1224
1203
|
readonly name: "gameId";
|
|
1225
1204
|
readonly type: "uint256";
|
|
1226
|
-
readonly internalType: "uint256";
|
|
1227
|
-
}, {
|
|
1228
|
-
readonly name: "levrSportId";
|
|
1229
|
-
readonly type: "bytes12";
|
|
1230
|
-
readonly internalType: "bytes12";
|
|
1231
1205
|
}, {
|
|
1206
|
+
readonly internalType: "enum Side";
|
|
1232
1207
|
readonly name: "winner";
|
|
1233
1208
|
readonly type: "uint8";
|
|
1234
|
-
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly internalType: "bool";
|
|
1211
|
+
readonly name: "autoResolveMarkets";
|
|
1212
|
+
readonly type: "bool";
|
|
1235
1213
|
}];
|
|
1214
|
+
readonly name: "settleGame";
|
|
1215
|
+
readonly outputs: readonly [];
|
|
1216
|
+
readonly stateMutability: "nonpayable";
|
|
1217
|
+
readonly type: "function";
|
|
1236
1218
|
}, {
|
|
1237
|
-
readonly type: "error";
|
|
1238
|
-
readonly name: "LM_INVALID_GAME_ID";
|
|
1239
1219
|
readonly inputs: readonly [{
|
|
1220
|
+
readonly internalType: "uint256";
|
|
1240
1221
|
readonly name: "gameId";
|
|
1241
1222
|
readonly type: "uint256";
|
|
1242
|
-
readonly internalType: "uint256";
|
|
1243
|
-
}];
|
|
1244
|
-
}, {
|
|
1245
|
-
readonly type: "error";
|
|
1246
|
-
readonly name: "LM_INVALID_GAME_STATUS_SWITCH";
|
|
1247
|
-
readonly inputs: readonly [{
|
|
1248
|
-
readonly name: "prevStatus";
|
|
1249
|
-
readonly type: "uint8";
|
|
1250
|
-
readonly internalType: "enum GameStatus";
|
|
1251
1223
|
}, {
|
|
1252
|
-
readonly
|
|
1224
|
+
readonly internalType: "bytes16";
|
|
1225
|
+
readonly name: "levrMarketId";
|
|
1226
|
+
readonly type: "bytes16";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly internalType: "enum Side";
|
|
1229
|
+
readonly name: "winnerOverride";
|
|
1253
1230
|
readonly type: "uint8";
|
|
1254
|
-
readonly internalType: "enum GameStatus";
|
|
1255
1231
|
}];
|
|
1232
|
+
readonly name: "settleGameMarket";
|
|
1233
|
+
readonly outputs: readonly [];
|
|
1234
|
+
readonly stateMutability: "nonpayable";
|
|
1235
|
+
readonly type: "function";
|
|
1256
1236
|
}, {
|
|
1257
|
-
readonly
|
|
1258
|
-
|
|
1259
|
-
|
|
1237
|
+
readonly inputs: readonly [{
|
|
1238
|
+
readonly internalType: "bytes4";
|
|
1239
|
+
readonly name: "interfaceId";
|
|
1240
|
+
readonly type: "bytes4";
|
|
1241
|
+
}];
|
|
1242
|
+
readonly name: "supportsInterface";
|
|
1243
|
+
readonly outputs: readonly [{
|
|
1244
|
+
readonly internalType: "bool";
|
|
1245
|
+
readonly name: "";
|
|
1246
|
+
readonly type: "bool";
|
|
1247
|
+
}];
|
|
1248
|
+
readonly stateMutability: "view";
|
|
1249
|
+
readonly type: "function";
|
|
1260
1250
|
}, {
|
|
1261
|
-
readonly type: "error";
|
|
1262
|
-
readonly name: "LM_INVALID_LEAGUE";
|
|
1263
1251
|
readonly inputs: readonly [{
|
|
1264
|
-
readonly
|
|
1265
|
-
readonly
|
|
1266
|
-
readonly
|
|
1252
|
+
readonly internalType: "uint256";
|
|
1253
|
+
readonly name: "gameId";
|
|
1254
|
+
readonly type: "uint256";
|
|
1267
1255
|
}, {
|
|
1268
|
-
readonly
|
|
1269
|
-
readonly
|
|
1270
|
-
readonly
|
|
1256
|
+
readonly internalType: "uint16";
|
|
1257
|
+
readonly name: "progressBps";
|
|
1258
|
+
readonly type: "uint16";
|
|
1259
|
+
}];
|
|
1260
|
+
readonly name: "updateGameProgress";
|
|
1261
|
+
readonly outputs: readonly [{
|
|
1262
|
+
readonly internalType: "uint16";
|
|
1263
|
+
readonly name: "updatedProgressBps";
|
|
1264
|
+
readonly type: "uint16";
|
|
1271
1265
|
}];
|
|
1266
|
+
readonly stateMutability: "nonpayable";
|
|
1267
|
+
readonly type: "function";
|
|
1272
1268
|
}, {
|
|
1273
|
-
readonly type: "error";
|
|
1274
|
-
readonly name: "LM_INVALID_LEVR_LEAGUE";
|
|
1275
1269
|
readonly inputs: readonly [{
|
|
1276
|
-
readonly
|
|
1277
|
-
readonly
|
|
1278
|
-
readonly
|
|
1270
|
+
readonly internalType: "uint256";
|
|
1271
|
+
readonly name: "gameId";
|
|
1272
|
+
readonly type: "uint256";
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly internalType: "enum GameStatus";
|
|
1275
|
+
readonly name: "status";
|
|
1276
|
+
readonly type: "uint8";
|
|
1279
1277
|
}];
|
|
1278
|
+
readonly name: "updateGameStatus";
|
|
1279
|
+
readonly outputs: readonly [];
|
|
1280
|
+
readonly stateMutability: "nonpayable";
|
|
1281
|
+
readonly type: "function";
|
|
1280
1282
|
}, {
|
|
1281
|
-
readonly type: "error";
|
|
1282
|
-
readonly name: "LM_INVALID_LEVR_MARKET_ID";
|
|
1283
1283
|
readonly inputs: readonly [{
|
|
1284
|
-
readonly
|
|
1285
|
-
readonly
|
|
1286
|
-
readonly
|
|
1284
|
+
readonly internalType: "address";
|
|
1285
|
+
readonly name: "newLevrConfigProvider";
|
|
1286
|
+
readonly type: "address";
|
|
1287
1287
|
}];
|
|
1288
|
+
readonly name: "updateLevrConfigProvider";
|
|
1289
|
+
readonly outputs: readonly [];
|
|
1290
|
+
readonly stateMutability: "nonpayable";
|
|
1291
|
+
readonly type: "function";
|
|
1288
1292
|
}, {
|
|
1289
|
-
readonly type: "error";
|
|
1290
|
-
readonly name: "LM_INVALID_PARAMS_LENGTH";
|
|
1291
|
-
readonly inputs: readonly [];
|
|
1292
|
-
}, {
|
|
1293
|
-
readonly type: "error";
|
|
1294
|
-
readonly name: "LM_INVALID_PROGRESS_BPS";
|
|
1295
|
-
readonly inputs: readonly [];
|
|
1296
|
-
}, {
|
|
1297
|
-
readonly type: "error";
|
|
1298
|
-
readonly name: "LM_INVALID_SIDE";
|
|
1299
1293
|
readonly inputs: readonly [{
|
|
1300
|
-
readonly
|
|
1301
|
-
readonly
|
|
1302
|
-
readonly
|
|
1294
|
+
readonly internalType: "bytes16";
|
|
1295
|
+
readonly name: "levrMarketId";
|
|
1296
|
+
readonly type: "bytes16";
|
|
1297
|
+
}, {
|
|
1298
|
+
readonly internalType: "address";
|
|
1299
|
+
readonly name: "newMarketAddress";
|
|
1300
|
+
readonly type: "address";
|
|
1303
1301
|
}];
|
|
1302
|
+
readonly name: "updateLevrMarketAddress";
|
|
1303
|
+
readonly outputs: readonly [];
|
|
1304
|
+
readonly stateMutability: "nonpayable";
|
|
1305
|
+
readonly type: "function";
|
|
1304
1306
|
}, {
|
|
1305
|
-
readonly type: "error";
|
|
1306
|
-
readonly name: "LM_INVALID_SIDE_GROUP";
|
|
1307
|
-
readonly inputs: readonly [];
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly type: "error";
|
|
1310
|
-
readonly name: "LM_INVALID_SPORT_ID";
|
|
1311
|
-
readonly inputs: readonly [];
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly type: "error";
|
|
1314
|
-
readonly name: "LM_INVALID_STRING";
|
|
1315
|
-
readonly inputs: readonly [];
|
|
1316
|
-
}, {
|
|
1317
|
-
readonly type: "error";
|
|
1318
|
-
readonly name: "LM_INVALID_TOURNAMENT_ID";
|
|
1319
1307
|
readonly inputs: readonly [{
|
|
1308
|
+
readonly internalType: "bytes6";
|
|
1320
1309
|
readonly name: "tournamentId";
|
|
1321
1310
|
readonly type: "bytes6";
|
|
1322
|
-
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly internalType: "bool";
|
|
1313
|
+
readonly name: "exclusive";
|
|
1314
|
+
readonly type: "bool";
|
|
1323
1315
|
}];
|
|
1324
|
-
|
|
1325
|
-
readonly
|
|
1326
|
-
readonly
|
|
1327
|
-
readonly
|
|
1328
|
-
}, {
|
|
1329
|
-
readonly type: "error";
|
|
1330
|
-
readonly name: "LM_NOT_FEED_PROVIDER_OR_MARKET_FEED_CONTRACT";
|
|
1331
|
-
readonly inputs: readonly [];
|
|
1332
|
-
}, {
|
|
1333
|
-
readonly type: "error";
|
|
1334
|
-
readonly name: "LM_NOT_GAME_ADMIN";
|
|
1335
|
-
readonly inputs: readonly [];
|
|
1336
|
-
}, {
|
|
1337
|
-
readonly type: "error";
|
|
1338
|
-
readonly name: "LM_NOT_LEVR_ADMIN";
|
|
1339
|
-
readonly inputs: readonly [];
|
|
1316
|
+
readonly name: "updateTournamentExclusivity";
|
|
1317
|
+
readonly outputs: readonly [];
|
|
1318
|
+
readonly stateMutability: "nonpayable";
|
|
1319
|
+
readonly type: "function";
|
|
1340
1320
|
}];
|
|
1341
1321
|
export default _default;
|