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