@levrbet/shared 0.2.103 → 0.3.3
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/config/urls.d.ts +0 -8
- package/dist/core/config/urls.js +12 -20
- package/dist/core/config/urls.js.map +1 -1
- package/dist/core/contracts/abis/LevrManager.d.ts +988 -1008
- package/dist/core/contracts/abis/LevrManager.js +497 -1536
- package/dist/core/contracts/abis/LevrManager.js.map +1 -1
- package/dist/core/contracts/abis/index.d.ts +988 -1008
- package/dist/core/contracts/addresses.d.ts +21 -21
- package/dist/core/contracts/addresses.js +19 -19
- package/dist/core/types/oracle/market/positions.types.d.ts +1 -7
- package/dist/react/hooks/contracts/useContracts.d.ts +19 -19
- package/dist/server/config/kms.js +1 -1
- package/dist/server/config/redis.d.ts +0 -5
- package/dist/server/config/redis.js +3 -13
- package/dist/server/config/redis.js.map +1 -1
- package/dist/server/config/urls.d.ts +0 -8
- package/dist/server/contracts/clients/ozRelayerService.d.ts +0 -1
- package/dist/server/contracts/clients/ozRelayerService.js +17 -110
- package/dist/server/contracts/clients/ozRelayerService.js.map +1 -1
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.d.ts +9 -9
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.js.map +1 -1
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.test.js +1 -1
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.test.js.map +1 -1
- package/dist/server/oracle/config/game-periods/providers/optic-odds.periods.d.ts +0 -4
- package/dist/server/oracle/config/game-periods/providers/optic-odds.periods.js +1 -5
- 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 +6 -56
- package/dist/server/oracle/config/game-periods/sports.config.js.map +1 -1
- package/dist/server/oracle/config/game-periods/types.d.ts +1 -9
- package/dist/server/oracle/config/game-periods/types.js +0 -5
- package/dist/server/oracle/config/game-periods/types.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.d.ts +45 -74
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.js +65 -120
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/channels.d.ts +2 -2
- package/dist/server/oracle/redis-cache-manager/channels.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/game.progress.d.ts +4 -4
- package/dist/server/oracle/redis-cache-manager/game.progress.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/game.query.engine.d.ts +90 -0
- package/dist/server/oracle/redis-cache-manager/game.query.engine.js +436 -0
- package/dist/server/oracle/redis-cache-manager/game.query.engine.js.map +1 -0
- package/dist/server/oracle/redis-cache-manager/index.d.ts +2 -2
- package/dist/server/oracle/redis-cache-manager/index.js +2 -2
- package/dist/server/oracle/redis-cache-manager/index.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/leagues.cache.service.d.ts +3 -3
- package/dist/server/oracle/redis-cache-manager/leagues.cache.service.js +1 -5
- package/dist/server/oracle/redis-cache-manager/leagues.cache.service.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/market.query.engine.d.ts +50 -97
- package/dist/server/oracle/redis-cache-manager/market.query.engine.js +310 -467
- package/dist/server/oracle/redis-cache-manager/market.query.engine.js.map +1 -1
- package/dist/server/oracle/rmq-manager/base.queue.manager.d.ts +1 -1
- package/dist/server/oracle/rmq-manager/base.queue.manager.js +1 -1
- package/dist/server/oracle/rmq-manager/base.queue.manager.js.map +1 -1
- package/dist/server/services/presigned.urls.js +1 -1
- package/dist/server/services/presigned.urls.js.map +1 -1
- package/dist/server/utils/game_progress/caclulate.game.progress.d.ts +4 -132
- package/dist/server/utils/game_progress/caclulate.game.progress.js +24 -195
- package/dist/server/utils/game_progress/caclulate.game.progress.js.map +1 -1
- package/dist/server/utils/game_progress/game.utils.d.ts +1 -6
- package/dist/server/utils/game_progress/game.utils.js +52 -71
- package/dist/server/utils/game_progress/game.utils.js.map +1 -1
- package/dist/server/utils/game_progress/parser.js +0 -6
- package/dist/server/utils/game_progress/parser.js.map +1 -1
- package/package.json +5 -5
- package/prisma/schema.prisma +3 -39
- package/scripts/setup-prisma.js +0 -0
- package/dist/server/oracle/redis-cache-manager/game.cache.service.d.ts +0 -186
- package/dist/server/oracle/redis-cache-manager/game.cache.service.js +0 -712
- package/dist/server/oracle/redis-cache-manager/game.cache.service.js.map +0 -1
- package/dist/server/oracle/redis-cache-manager/market.cache.service.d.ts +0 -87
- package/dist/server/oracle/redis-cache-manager/market.cache.service.js +0 -139
- package/dist/server/oracle/redis-cache-manager/market.cache.service.js.map +0 -1
|
@@ -2,1746 +2,707 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = [
|
|
4
4
|
{
|
|
5
|
+
inputs: [{ internalType: "address", name: "_levrConfig", type: "address" }],
|
|
6
|
+
stateMutability: "nonpayable",
|
|
5
7
|
type: "constructor",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
},
|
|
9
|
+
{ inputs: [], name: "LB_CONFIG_INVALID_INTERFACE", type: "error" },
|
|
10
|
+
{ inputs: [], name: "LB_CONFIG_PROVIDER_NOT_CONTRACT", type: "error" },
|
|
11
|
+
{ inputs: [], name: "LB_NOT_LEVR_ADMIN", type: "error" },
|
|
12
|
+
{ inputs: [], name: "LM_CANNOT_CANCEL_POST_GAME_MARKET", type: "error" },
|
|
13
|
+
{ inputs: [], name: "LM_CANNOT_OVERRIDE_WINNER_IN_PRE_GAME", type: "error" },
|
|
14
|
+
{
|
|
15
|
+
inputs: [{ internalType: "address", name: "marketContract", type: "address" }],
|
|
16
|
+
name: "LM_DEPRECATED_MARKET_CONTRACT",
|
|
17
|
+
type: "error",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
inputs: [{ internalType: "address", name: "marketContract", type: "address" }],
|
|
21
|
+
name: "LM_DUPLICATE_MARKET_CONTRACT",
|
|
22
|
+
type: "error",
|
|
23
|
+
},
|
|
24
|
+
{ inputs: [{ internalType: "string", name: "marketName", type: "string" }], name: "LM_DUPLICATE_MARKET_NAME", type: "error" },
|
|
25
|
+
{ inputs: [{ internalType: "string", name: "sportName", type: "string" }], name: "LM_DUPLICATE_SPORT_NAME", type: "error" },
|
|
26
|
+
{
|
|
27
|
+
inputs: [{ internalType: "string", name: "tournamentName", type: "string" }],
|
|
28
|
+
name: "LM_DUPLICATE_TOURNAMENT_NAME",
|
|
29
|
+
type: "error",
|
|
14
30
|
},
|
|
15
31
|
{
|
|
16
|
-
type: "function",
|
|
17
|
-
name: "addLevrLeague",
|
|
18
32
|
inputs: [
|
|
19
|
-
{
|
|
20
|
-
|
|
21
|
-
type: "string",
|
|
22
|
-
internalType: "string"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: "location",
|
|
26
|
-
type: "string",
|
|
27
|
-
internalType: "string"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: "levrSportId",
|
|
31
|
-
type: "bytes12",
|
|
32
|
-
internalType: "bytes12"
|
|
33
|
-
}
|
|
33
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
34
|
+
{ internalType: "enum Side", name: "winner", type: "uint8" },
|
|
34
35
|
],
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
name: "LM_GAME_ALREADY_SETTLED",
|
|
37
|
+
type: "error",
|
|
37
38
|
},
|
|
38
39
|
{
|
|
39
|
-
type: "
|
|
40
|
-
name: "
|
|
40
|
+
inputs: [{ internalType: "bytes32", name: "gameMarketId", type: "bytes32" }],
|
|
41
|
+
name: "LM_GAME_MARKET_NOT_ACTIVE",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{ inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }], name: "LM_GAME_NOT_ENDED", type: "error" },
|
|
45
|
+
{ inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }], name: "LM_GAME_NOT_LIVE", type: "error" },
|
|
46
|
+
{ inputs: [], name: "LM_INVALID_ADDRESS", type: "error" },
|
|
47
|
+
{ inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }], name: "LM_INVALID_GAME_ID", type: "error" },
|
|
48
|
+
{
|
|
41
49
|
inputs: [
|
|
42
|
-
{
|
|
43
|
-
|
|
44
|
-
type: "address",
|
|
45
|
-
internalType: "address"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "marketName",
|
|
49
|
-
type: "string",
|
|
50
|
-
internalType: "string"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
name: "allowedSideGroup",
|
|
54
|
-
type: "uint8",
|
|
55
|
-
internalType: "uint8"
|
|
56
|
-
}
|
|
50
|
+
{ internalType: "enum GameStatus", name: "prevStatus", type: "uint8" },
|
|
51
|
+
{ internalType: "enum GameStatus", name: "newStatus", type: "uint8" },
|
|
57
52
|
],
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
name: "LM_INVALID_GAME_STATUS_SWITCH",
|
|
54
|
+
type: "error",
|
|
60
55
|
},
|
|
56
|
+
{ inputs: [], name: "LM_INVALID_GAME_WINNER", type: "error" },
|
|
61
57
|
{
|
|
62
|
-
type: "function",
|
|
63
|
-
name: "addLevrSport",
|
|
64
58
|
inputs: [
|
|
65
|
-
{
|
|
66
|
-
|
|
67
|
-
type: "string",
|
|
68
|
-
internalType: "string"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: "scoringType",
|
|
72
|
-
type: "string",
|
|
73
|
-
internalType: "string"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
name: "hasDrawMarket",
|
|
77
|
-
type: "bool",
|
|
78
|
-
internalType: "bool"
|
|
79
|
-
}
|
|
59
|
+
{ internalType: "string", name: "leagueName", type: "string" },
|
|
60
|
+
{ internalType: "string", name: "location", type: "string" },
|
|
80
61
|
],
|
|
81
|
-
|
|
82
|
-
|
|
62
|
+
name: "LM_INVALID_LEAGUE",
|
|
63
|
+
type: "error",
|
|
83
64
|
},
|
|
65
|
+
{ inputs: [{ internalType: "bytes8", name: "leagueId", type: "bytes8" }], name: "LM_INVALID_LEVR_LEAGUE", type: "error" },
|
|
84
66
|
{
|
|
85
|
-
type: "
|
|
86
|
-
name: "
|
|
67
|
+
inputs: [{ internalType: "bytes16", name: "marketId", type: "bytes16" }],
|
|
68
|
+
name: "LM_INVALID_LEVR_MARKET_ID",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{ inputs: [], name: "LM_INVALID_PARAMS_LENGTH", type: "error" },
|
|
72
|
+
{ inputs: [], name: "LM_INVALID_PROGRESS_BPS", type: "error" },
|
|
73
|
+
{ inputs: [{ internalType: "enum Side", name: "side", type: "uint8" }], name: "LM_INVALID_SIDE", type: "error" },
|
|
74
|
+
{ inputs: [], name: "LM_INVALID_SIDE_GROUP", type: "error" },
|
|
75
|
+
{ inputs: [], name: "LM_INVALID_SPORT_ID", type: "error" },
|
|
76
|
+
{ inputs: [], name: "LM_INVALID_STRING", type: "error" },
|
|
77
|
+
{
|
|
78
|
+
inputs: [{ internalType: "bytes6", name: "tournamentId", type: "bytes6" }],
|
|
79
|
+
name: "LM_INVALID_TOURNAMENT_ID",
|
|
80
|
+
type: "error",
|
|
81
|
+
},
|
|
82
|
+
{ inputs: [], name: "LM_MARKET_CONTRACT_HAS_ACTIVE_MARKETS", type: "error" },
|
|
83
|
+
{ inputs: [], name: "LM_NOT_FEED_PROVIDER_OR_MARKET_FEED_CONTRACT", type: "error" },
|
|
84
|
+
{ inputs: [], name: "LM_NOT_GAME_ADMIN", type: "error" },
|
|
85
|
+
{ inputs: [], name: "LM_NOT_LEVR_ADMIN", type: "error" },
|
|
86
|
+
{
|
|
87
|
+
anonymous: false,
|
|
87
88
|
inputs: [
|
|
88
|
-
{
|
|
89
|
-
|
|
90
|
-
type: "string",
|
|
91
|
-
internalType: "string"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: "description",
|
|
95
|
-
type: "string",
|
|
96
|
-
internalType: "string"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: "exclusive",
|
|
100
|
-
type: "bool",
|
|
101
|
-
internalType: "bool"
|
|
102
|
-
}
|
|
89
|
+
{ indexed: true, internalType: "address", name: "prevProvider", type: "address" },
|
|
90
|
+
{ indexed: true, internalType: "address", name: "newProvider", type: "address" },
|
|
103
91
|
],
|
|
104
|
-
|
|
105
|
-
|
|
92
|
+
name: "LevrConfigProviderUpdated",
|
|
93
|
+
type: "event",
|
|
106
94
|
},
|
|
107
95
|
{
|
|
108
|
-
|
|
109
|
-
name: "cancelLevrGame",
|
|
96
|
+
anonymous: false,
|
|
110
97
|
inputs: [
|
|
111
|
-
{
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
name: "winnerOverride",
|
|
118
|
-
type: "uint8",
|
|
119
|
-
internalType: "enum Side"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: "autoResolveMarkets",
|
|
123
|
-
type: "bool",
|
|
124
|
-
internalType: "bool"
|
|
125
|
-
}
|
|
98
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
99
|
+
{ indexed: false, internalType: "string", name: "teamH", type: "string" },
|
|
100
|
+
{ indexed: false, internalType: "string", name: "teamV", type: "string" },
|
|
101
|
+
{ indexed: true, internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
102
|
+
{ indexed: true, internalType: "bytes8", name: "levrLeagueId", type: "bytes8" },
|
|
126
103
|
],
|
|
127
|
-
|
|
128
|
-
|
|
104
|
+
name: "LevrGameCreated",
|
|
105
|
+
type: "event",
|
|
129
106
|
},
|
|
130
107
|
{
|
|
131
|
-
|
|
132
|
-
name: "cancelLevrGameMarket",
|
|
108
|
+
anonymous: false,
|
|
133
109
|
inputs: [
|
|
134
|
-
{
|
|
135
|
-
|
|
136
|
-
type: "uint256",
|
|
137
|
-
internalType: "uint256"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
name: "marketWinnerOverride",
|
|
141
|
-
type: "uint8",
|
|
142
|
-
internalType: "enum Side"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
name: "levrMarketId",
|
|
146
|
-
type: "bytes16",
|
|
147
|
-
internalType: "bytes16"
|
|
148
|
-
}
|
|
110
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
111
|
+
{ indexed: false, internalType: "bool", name: "paused", type: "bool" },
|
|
149
112
|
],
|
|
150
|
-
|
|
151
|
-
|
|
113
|
+
name: "LevrGamePaused",
|
|
114
|
+
type: "event",
|
|
152
115
|
},
|
|
153
116
|
{
|
|
154
|
-
|
|
155
|
-
name: "changeGameTournamentId",
|
|
117
|
+
anonymous: false,
|
|
156
118
|
inputs: [
|
|
157
|
-
{
|
|
158
|
-
|
|
159
|
-
type: "uint256",
|
|
160
|
-
internalType: "uint256"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
name: "tournamentId",
|
|
164
|
-
type: "bytes6",
|
|
165
|
-
internalType: "bytes6"
|
|
166
|
-
}
|
|
119
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
120
|
+
{ indexed: false, internalType: "uint16", name: "progressBps", type: "uint16" },
|
|
167
121
|
],
|
|
168
|
-
|
|
169
|
-
|
|
122
|
+
name: "LevrGameProgressUpdated",
|
|
123
|
+
type: "event",
|
|
170
124
|
},
|
|
171
125
|
{
|
|
172
|
-
|
|
173
|
-
name: "createGameMarket",
|
|
126
|
+
anonymous: false,
|
|
174
127
|
inputs: [
|
|
175
|
-
{
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
internalType: "uint256"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
name: "_levrMarketIds",
|
|
182
|
-
type: "bytes16[]",
|
|
183
|
-
internalType: "bytes16[]"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: "params",
|
|
187
|
-
type: "bytes[]",
|
|
188
|
-
internalType: "bytes[]"
|
|
189
|
-
}
|
|
128
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
129
|
+
{ indexed: false, internalType: "enum Side", name: "winner", type: "uint8" },
|
|
130
|
+
{ indexed: false, internalType: "uint48", name: "settledAt", type: "uint48" },
|
|
190
131
|
],
|
|
191
|
-
|
|
192
|
-
|
|
132
|
+
name: "LevrGameSettled",
|
|
133
|
+
type: "event",
|
|
193
134
|
},
|
|
194
135
|
{
|
|
195
|
-
|
|
196
|
-
name: "createLevrGame",
|
|
136
|
+
anonymous: false,
|
|
197
137
|
inputs: [
|
|
198
|
-
{
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
internalType: "string"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
name: "teamV",
|
|
205
|
-
type: "string",
|
|
206
|
-
internalType: "string"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
name: "levrSportId",
|
|
210
|
-
type: "bytes12",
|
|
211
|
-
internalType: "bytes12"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
name: "levrLeagueId",
|
|
215
|
-
type: "bytes8",
|
|
216
|
-
internalType: "bytes8"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
name: "tournamentId",
|
|
220
|
-
type: "bytes6",
|
|
221
|
-
internalType: "bytes6"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
name: "initLevrMarkets",
|
|
225
|
-
type: "bytes16[]",
|
|
226
|
-
internalType: "bytes16[]"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
name: "initMarketData",
|
|
230
|
-
type: "bytes[]",
|
|
231
|
-
internalType: "bytes[]"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
name: "customGameData",
|
|
235
|
-
type: "bytes",
|
|
236
|
-
internalType: "bytes"
|
|
237
|
-
}
|
|
138
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
139
|
+
{ indexed: false, internalType: "enum GameStatus", name: "status", type: "uint8" },
|
|
140
|
+
{ indexed: false, internalType: "uint48", name: "updatedAt", type: "uint48" },
|
|
238
141
|
],
|
|
239
|
-
|
|
240
|
-
|
|
142
|
+
name: "LevrGameStatusUpdated",
|
|
143
|
+
type: "event",
|
|
241
144
|
},
|
|
242
145
|
{
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
{
|
|
248
|
-
name: "",
|
|
249
|
-
type: "uint256",
|
|
250
|
-
internalType: "uint256"
|
|
251
|
-
}
|
|
146
|
+
anonymous: false,
|
|
147
|
+
inputs: [
|
|
148
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
149
|
+
{ indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
252
150
|
],
|
|
253
|
-
|
|
151
|
+
name: "LevrGameTournamentUpdated",
|
|
152
|
+
type: "event",
|
|
254
153
|
},
|
|
255
154
|
{
|
|
256
|
-
|
|
257
|
-
name: "getActiveLevrMarketsForGame",
|
|
155
|
+
anonymous: false,
|
|
258
156
|
inputs: [
|
|
259
|
-
{
|
|
260
|
-
|
|
261
|
-
type: "uint256",
|
|
262
|
-
internalType: "uint256"
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
outputs: [
|
|
266
|
-
{
|
|
267
|
-
name: "",
|
|
268
|
-
type: "bytes32[]",
|
|
269
|
-
internalType: "bytes32[]"
|
|
270
|
-
}
|
|
157
|
+
{ indexed: true, internalType: "uint256", name: "gameId", type: "uint256" },
|
|
158
|
+
{ indexed: false, internalType: "uint48", name: "unpausedAt", type: "uint48" },
|
|
271
159
|
],
|
|
272
|
-
|
|
160
|
+
name: "LevrGameUnpaused",
|
|
161
|
+
type: "event",
|
|
273
162
|
},
|
|
274
163
|
{
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
{
|
|
280
|
-
name: "",
|
|
281
|
-
type: "address[]",
|
|
282
|
-
internalType: "address[]"
|
|
283
|
-
}
|
|
164
|
+
anonymous: false,
|
|
165
|
+
inputs: [
|
|
166
|
+
{ indexed: true, internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
167
|
+
{ indexed: true, internalType: "address", name: "prevMarketAddress", type: "address" },
|
|
168
|
+
{ indexed: true, internalType: "address", name: "newMarketAddress", type: "address" },
|
|
284
169
|
],
|
|
285
|
-
|
|
170
|
+
name: "LevrMarketContractUpdated",
|
|
171
|
+
type: "event",
|
|
286
172
|
},
|
|
287
173
|
{
|
|
288
|
-
|
|
289
|
-
name: "getGameActiveMarketIds",
|
|
174
|
+
anonymous: false,
|
|
290
175
|
inputs: [
|
|
291
|
-
{
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
internalType: "uint256"
|
|
295
|
-
}
|
|
296
|
-
],
|
|
297
|
-
outputs: [
|
|
298
|
-
{
|
|
299
|
-
name: "",
|
|
300
|
-
type: "bytes32[]",
|
|
301
|
-
internalType: "bytes32[]"
|
|
302
|
-
}
|
|
176
|
+
{ indexed: true, internalType: "bytes32", name: "gameMarketId", type: "bytes32" },
|
|
177
|
+
{ indexed: true, internalType: "enum Side", name: "winner", type: "uint8" },
|
|
178
|
+
{ indexed: false, internalType: "enum Side", name: "winnerOverride", type: "uint8" },
|
|
303
179
|
],
|
|
304
|
-
|
|
180
|
+
name: "MarketSettledWithOverride",
|
|
181
|
+
type: "event",
|
|
305
182
|
},
|
|
306
183
|
{
|
|
307
|
-
|
|
308
|
-
name: "getGameProgressBps",
|
|
184
|
+
anonymous: false,
|
|
309
185
|
inputs: [
|
|
310
|
-
{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
|
-
outputs: [
|
|
317
|
-
{
|
|
318
|
-
name: "",
|
|
319
|
-
type: "uint16",
|
|
320
|
-
internalType: "uint16"
|
|
321
|
-
}
|
|
186
|
+
{ indexed: true, internalType: "bytes8", name: "leagueId", type: "bytes8" },
|
|
187
|
+
{ indexed: true, internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
188
|
+
{ indexed: false, internalType: "string", name: "leagueName", type: "string" },
|
|
189
|
+
{ indexed: false, internalType: "string", name: "location", type: "string" },
|
|
322
190
|
],
|
|
323
|
-
|
|
191
|
+
name: "NewLevrLeague",
|
|
192
|
+
type: "event",
|
|
324
193
|
},
|
|
325
194
|
{
|
|
326
|
-
|
|
327
|
-
name: "getGameStatusAndProgress",
|
|
195
|
+
anonymous: false,
|
|
328
196
|
inputs: [
|
|
329
|
-
{
|
|
330
|
-
|
|
331
|
-
type: "uint256",
|
|
332
|
-
internalType: "uint256"
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
outputs: [
|
|
336
|
-
{
|
|
337
|
-
name: "status",
|
|
338
|
-
type: "uint8",
|
|
339
|
-
internalType: "enum GameStatus"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
name: "progressBps",
|
|
343
|
-
type: "uint16",
|
|
344
|
-
internalType: "uint16"
|
|
345
|
-
}
|
|
197
|
+
{ indexed: true, internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
198
|
+
{ indexed: false, internalType: "string", name: "name", type: "string" },
|
|
346
199
|
],
|
|
347
|
-
|
|
200
|
+
name: "NewLevrMarket",
|
|
201
|
+
type: "event",
|
|
348
202
|
},
|
|
349
203
|
{
|
|
350
|
-
|
|
351
|
-
name: "getLevrGame",
|
|
204
|
+
anonymous: false,
|
|
352
205
|
inputs: [
|
|
353
|
-
{
|
|
354
|
-
|
|
355
|
-
type: "uint256",
|
|
356
|
-
internalType: "uint256"
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
outputs: [
|
|
360
|
-
{
|
|
361
|
-
name: "",
|
|
362
|
-
type: "tuple",
|
|
363
|
-
internalType: "struct LevrGame",
|
|
364
|
-
components: [
|
|
365
|
-
{
|
|
366
|
-
name: "teamH",
|
|
367
|
-
type: "string",
|
|
368
|
-
internalType: "string"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
name: "teamV",
|
|
372
|
-
type: "string",
|
|
373
|
-
internalType: "string"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
name: "gameId",
|
|
377
|
-
type: "uint256",
|
|
378
|
-
internalType: "uint256"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
name: "status",
|
|
382
|
-
type: "uint8",
|
|
383
|
-
internalType: "enum GameStatus"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
name: "winner",
|
|
387
|
-
type: "uint8",
|
|
388
|
-
internalType: "enum Side"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
name: "registeredAt",
|
|
392
|
-
type: "uint48",
|
|
393
|
-
internalType: "uint48"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
name: "startedAt",
|
|
397
|
-
type: "uint48",
|
|
398
|
-
internalType: "uint48"
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
name: "endedAt",
|
|
402
|
-
type: "uint48",
|
|
403
|
-
internalType: "uint48"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
name: "progressBps",
|
|
407
|
-
type: "uint16",
|
|
408
|
-
internalType: "uint16"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
name: "paused",
|
|
412
|
-
type: "bool",
|
|
413
|
-
internalType: "bool"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
name: "levrSportId",
|
|
417
|
-
type: "bytes12",
|
|
418
|
-
internalType: "bytes12"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
name: "levrLeagueId",
|
|
422
|
-
type: "bytes8",
|
|
423
|
-
internalType: "bytes8"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
name: "tournamentId",
|
|
427
|
-
type: "bytes6",
|
|
428
|
-
internalType: "bytes6"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
name: "customData",
|
|
432
|
-
type: "bytes",
|
|
433
|
-
internalType: "bytes"
|
|
434
|
-
}
|
|
435
|
-
]
|
|
436
|
-
}
|
|
206
|
+
{ indexed: true, internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
207
|
+
{ indexed: false, internalType: "string", name: "name", type: "string" },
|
|
437
208
|
],
|
|
438
|
-
|
|
209
|
+
name: "NewLevrSport",
|
|
210
|
+
type: "event",
|
|
439
211
|
},
|
|
440
212
|
{
|
|
441
|
-
|
|
442
|
-
name: "getLevrGameStatus",
|
|
213
|
+
anonymous: false,
|
|
443
214
|
inputs: [
|
|
444
|
-
{
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
}
|
|
449
|
-
],
|
|
450
|
-
outputs: [
|
|
451
|
-
{
|
|
452
|
-
name: "",
|
|
453
|
-
type: "uint8",
|
|
454
|
-
internalType: "enum GameStatus"
|
|
455
|
-
}
|
|
215
|
+
{ indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
216
|
+
{ indexed: false, internalType: "string", name: "tournamentName", type: "string" },
|
|
217
|
+
{ indexed: false, internalType: "string", name: "description", type: "string" },
|
|
218
|
+
{ indexed: false, internalType: "bool", name: "exclusive", type: "bool" },
|
|
456
219
|
],
|
|
457
|
-
|
|
220
|
+
name: "NewLevrTournament",
|
|
221
|
+
type: "event",
|
|
458
222
|
},
|
|
459
223
|
{
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
{
|
|
465
|
-
name: "",
|
|
466
|
-
type: "bytes32[]",
|
|
467
|
-
internalType: "bytes32[]"
|
|
468
|
-
}
|
|
224
|
+
anonymous: false,
|
|
225
|
+
inputs: [
|
|
226
|
+
{ indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
227
|
+
{ indexed: false, internalType: "bool", name: "exclusive", type: "bool" },
|
|
469
228
|
],
|
|
470
|
-
|
|
229
|
+
name: "TournamentExclusivityUpdated",
|
|
230
|
+
type: "event",
|
|
471
231
|
},
|
|
472
232
|
{
|
|
473
|
-
type: "function",
|
|
474
|
-
name: "getLevrLeagueMetadata",
|
|
475
233
|
inputs: [
|
|
476
|
-
{
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
internalType: "bytes8"
|
|
480
|
-
}
|
|
481
|
-
],
|
|
482
|
-
outputs: [
|
|
483
|
-
{
|
|
484
|
-
name: "",
|
|
485
|
-
type: "tuple",
|
|
486
|
-
internalType: "struct LevrLeagueMetadata",
|
|
487
|
-
components: [
|
|
488
|
-
{
|
|
489
|
-
name: "name",
|
|
490
|
-
type: "string",
|
|
491
|
-
internalType: "string"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
name: "location",
|
|
495
|
-
type: "string",
|
|
496
|
-
internalType: "string"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
name: "levrSportId",
|
|
500
|
-
type: "bytes12",
|
|
501
|
-
internalType: "bytes12"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
name: "leagueId",
|
|
505
|
-
type: "bytes8",
|
|
506
|
-
internalType: "bytes8"
|
|
507
|
-
}
|
|
508
|
-
]
|
|
509
|
-
}
|
|
234
|
+
{ internalType: "string", name: "leagueName", type: "string" },
|
|
235
|
+
{ internalType: "string", name: "location", type: "string" },
|
|
236
|
+
{ internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
510
237
|
],
|
|
511
|
-
|
|
238
|
+
name: "addLevrLeague",
|
|
239
|
+
outputs: [],
|
|
240
|
+
stateMutability: "nonpayable",
|
|
241
|
+
type: "function",
|
|
512
242
|
},
|
|
513
243
|
{
|
|
514
|
-
type: "function",
|
|
515
|
-
name: "getLevrMarketContractAddress",
|
|
516
244
|
inputs: [
|
|
517
|
-
{
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
internalType: "bytes16"
|
|
521
|
-
}
|
|
522
|
-
],
|
|
523
|
-
outputs: [
|
|
524
|
-
{
|
|
525
|
-
name: "",
|
|
526
|
-
type: "address",
|
|
527
|
-
internalType: "address"
|
|
528
|
-
}
|
|
245
|
+
{ internalType: "address", name: "marketContract", type: "address" },
|
|
246
|
+
{ internalType: "string", name: "marketName", type: "string" },
|
|
247
|
+
{ internalType: "uint8", name: "allowedSideGroup", type: "uint8" },
|
|
529
248
|
],
|
|
530
|
-
|
|
249
|
+
name: "addLevrMarket",
|
|
250
|
+
outputs: [],
|
|
251
|
+
stateMutability: "nonpayable",
|
|
252
|
+
type: "function",
|
|
531
253
|
},
|
|
532
254
|
{
|
|
533
|
-
type: "function",
|
|
534
|
-
name: "getLevrMarketContracts",
|
|
535
255
|
inputs: [
|
|
536
|
-
{
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
internalType: "bool"
|
|
540
|
-
}
|
|
256
|
+
{ internalType: "string", name: "sportsName", type: "string" },
|
|
257
|
+
{ internalType: "string", name: "scoringType", type: "string" },
|
|
258
|
+
{ internalType: "bool", name: "hasDrawMarket", type: "bool" },
|
|
541
259
|
],
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
internalType: "address[]"
|
|
547
|
-
}
|
|
548
|
-
],
|
|
549
|
-
stateMutability: "view"
|
|
260
|
+
name: "addLevrSport",
|
|
261
|
+
outputs: [],
|
|
262
|
+
stateMutability: "nonpayable",
|
|
263
|
+
type: "function",
|
|
550
264
|
},
|
|
551
265
|
{
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
{
|
|
557
|
-
name: "",
|
|
558
|
-
type: "bytes32[]",
|
|
559
|
-
internalType: "bytes32[]"
|
|
560
|
-
}
|
|
266
|
+
inputs: [
|
|
267
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
268
|
+
{ internalType: "string", name: "description", type: "string" },
|
|
269
|
+
{ internalType: "bool", name: "exclusive", type: "bool" },
|
|
561
270
|
],
|
|
562
|
-
|
|
271
|
+
name: "addLevrTournament",
|
|
272
|
+
outputs: [],
|
|
273
|
+
stateMutability: "nonpayable",
|
|
274
|
+
type: "function",
|
|
563
275
|
},
|
|
564
276
|
{
|
|
565
|
-
type: "function",
|
|
566
|
-
name: "getLevrMarketMetadata",
|
|
567
277
|
inputs: [
|
|
568
|
-
{
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
internalType: "bytes16"
|
|
572
|
-
}
|
|
278
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
279
|
+
{ internalType: "enum Side", name: "winnerOverride", type: "uint8" },
|
|
280
|
+
{ internalType: "bool", name: "autoResolveMarkets", type: "bool" },
|
|
573
281
|
],
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
internalType: "struct LevrMarketMetadata",
|
|
579
|
-
components: [
|
|
580
|
-
{
|
|
581
|
-
name: "marketAddress",
|
|
582
|
-
type: "address",
|
|
583
|
-
internalType: "address"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
name: "allowedSideGroup",
|
|
587
|
-
type: "uint8",
|
|
588
|
-
internalType: "uint8"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
name: "marketId",
|
|
592
|
-
type: "bytes16",
|
|
593
|
-
internalType: "bytes16"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
name: "marketName",
|
|
597
|
-
type: "string",
|
|
598
|
-
internalType: "string"
|
|
599
|
-
}
|
|
600
|
-
]
|
|
601
|
-
}
|
|
602
|
-
],
|
|
603
|
-
stateMutability: "view"
|
|
282
|
+
name: "cancelLevrGame",
|
|
283
|
+
outputs: [],
|
|
284
|
+
stateMutability: "nonpayable",
|
|
285
|
+
type: "function",
|
|
604
286
|
},
|
|
605
287
|
{
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
{
|
|
611
|
-
name: "",
|
|
612
|
-
type: "bytes32[]",
|
|
613
|
-
internalType: "bytes32[]"
|
|
614
|
-
}
|
|
288
|
+
inputs: [
|
|
289
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
290
|
+
{ internalType: "enum Side", name: "marketWinnerOverride", type: "uint8" },
|
|
291
|
+
{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
615
292
|
],
|
|
616
|
-
|
|
293
|
+
name: "cancelLevrGameMarket",
|
|
294
|
+
outputs: [],
|
|
295
|
+
stateMutability: "nonpayable",
|
|
296
|
+
type: "function",
|
|
617
297
|
},
|
|
618
298
|
{
|
|
299
|
+
inputs: [
|
|
300
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
301
|
+
{ internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
302
|
+
],
|
|
303
|
+
name: "changeGameTournamentId",
|
|
304
|
+
outputs: [],
|
|
305
|
+
stateMutability: "nonpayable",
|
|
619
306
|
type: "function",
|
|
620
|
-
|
|
307
|
+
},
|
|
308
|
+
{
|
|
621
309
|
inputs: [
|
|
622
|
-
{
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
internalType: "bytes12"
|
|
626
|
-
}
|
|
310
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
311
|
+
{ internalType: "bytes16[]", name: "_levrMarketIds", type: "bytes16[]" },
|
|
312
|
+
{ internalType: "bytes[]", name: "params", type: "bytes[]" },
|
|
627
313
|
],
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
name: "levrSportId",
|
|
646
|
-
type: "bytes12",
|
|
647
|
-
internalType: "bytes12"
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
name: "hasDraw",
|
|
651
|
-
type: "bool",
|
|
652
|
-
internalType: "bool"
|
|
653
|
-
}
|
|
654
|
-
]
|
|
655
|
-
}
|
|
314
|
+
name: "createGameMarket",
|
|
315
|
+
outputs: [],
|
|
316
|
+
stateMutability: "nonpayable",
|
|
317
|
+
type: "function",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
inputs: [
|
|
321
|
+
{ internalType: "string", name: "teamH", type: "string" },
|
|
322
|
+
{ internalType: "string", name: "teamV", type: "string" },
|
|
323
|
+
{ internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
324
|
+
{ internalType: "bytes8", name: "levrLeagueId", type: "bytes8" },
|
|
325
|
+
{ internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
326
|
+
{ internalType: "bytes16[]", name: "initLevrMarkets", type: "bytes16[]" },
|
|
327
|
+
{ internalType: "bytes[]", name: "initMarketData", type: "bytes[]" },
|
|
328
|
+
{ internalType: "bytes", name: "customGameData", type: "bytes" },
|
|
656
329
|
],
|
|
657
|
-
|
|
330
|
+
name: "createLevrGame",
|
|
331
|
+
outputs: [],
|
|
332
|
+
stateMutability: "nonpayable",
|
|
333
|
+
type: "function",
|
|
658
334
|
},
|
|
659
335
|
{
|
|
336
|
+
inputs: [],
|
|
337
|
+
name: "gameCount",
|
|
338
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
339
|
+
stateMutability: "view",
|
|
660
340
|
type: "function",
|
|
661
|
-
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
344
|
+
name: "getActiveLevrMarketsForGame",
|
|
345
|
+
outputs: [{ internalType: "bytes32[]", name: "", type: "bytes32[]" }],
|
|
346
|
+
stateMutability: "view",
|
|
347
|
+
type: "function",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
662
350
|
inputs: [],
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
internalType: "bytes32[]"
|
|
668
|
-
}
|
|
669
|
-
],
|
|
670
|
-
stateMutability: "view"
|
|
351
|
+
name: "getDeprecatedMarketContracts",
|
|
352
|
+
outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
|
|
353
|
+
stateMutability: "view",
|
|
354
|
+
type: "function",
|
|
671
355
|
},
|
|
672
356
|
{
|
|
357
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
358
|
+
name: "getGameActiveMarketIds",
|
|
359
|
+
outputs: [{ internalType: "bytes32[]", name: "", type: "bytes32[]" }],
|
|
360
|
+
stateMutability: "view",
|
|
673
361
|
type: "function",
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
365
|
+
name: "getGameProgressBps",
|
|
366
|
+
outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
|
|
367
|
+
stateMutability: "view",
|
|
368
|
+
type: "function",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
372
|
+
name: "getGameStatusAndProgress",
|
|
373
|
+
outputs: [
|
|
374
|
+
{ internalType: "enum GameStatus", name: "status", type: "uint8" },
|
|
375
|
+
{ internalType: "uint16", name: "progressBps", type: "uint16" },
|
|
681
376
|
],
|
|
377
|
+
stateMutability: "view",
|
|
378
|
+
type: "function",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
382
|
+
name: "getLevrGame",
|
|
682
383
|
outputs: [
|
|
683
384
|
{
|
|
385
|
+
components: [
|
|
386
|
+
{ internalType: "string", name: "teamH", type: "string" },
|
|
387
|
+
{ internalType: "string", name: "teamV", type: "string" },
|
|
388
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
389
|
+
{ internalType: "enum GameStatus", name: "status", type: "uint8" },
|
|
390
|
+
{ internalType: "enum Side", name: "winner", type: "uint8" },
|
|
391
|
+
{ internalType: "uint48", name: "registeredAt", type: "uint48" },
|
|
392
|
+
{ internalType: "uint48", name: "startedAt", type: "uint48" },
|
|
393
|
+
{ internalType: "uint48", name: "endedAt", type: "uint48" },
|
|
394
|
+
{ internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
395
|
+
{ internalType: "bytes8", name: "levrLeagueId", type: "bytes8" },
|
|
396
|
+
{ internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
397
|
+
{ internalType: "uint16", name: "progressBps", type: "uint16" },
|
|
398
|
+
{ internalType: "bool", name: "paused", type: "bool" },
|
|
399
|
+
{ internalType: "bytes", name: "customData", type: "bytes" },
|
|
400
|
+
],
|
|
401
|
+
internalType: "struct LevrGame",
|
|
684
402
|
name: "",
|
|
685
403
|
type: "tuple",
|
|
686
|
-
|
|
687
|
-
components: [
|
|
688
|
-
{
|
|
689
|
-
name: "name",
|
|
690
|
-
type: "string",
|
|
691
|
-
internalType: "string"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
name: "description",
|
|
695
|
-
type: "string",
|
|
696
|
-
internalType: "string"
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
name: "tournamentId",
|
|
700
|
-
type: "bytes6",
|
|
701
|
-
internalType: "bytes6"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
name: "exclusive",
|
|
705
|
-
type: "bool",
|
|
706
|
-
internalType: "bool"
|
|
707
|
-
}
|
|
708
|
-
]
|
|
709
|
-
}
|
|
404
|
+
},
|
|
710
405
|
],
|
|
711
|
-
stateMutability: "view"
|
|
406
|
+
stateMutability: "view",
|
|
407
|
+
type: "function",
|
|
712
408
|
},
|
|
713
409
|
{
|
|
410
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
411
|
+
name: "getLevrGameStatus",
|
|
412
|
+
outputs: [{ internalType: "enum GameStatus", name: "", type: "uint8" }],
|
|
413
|
+
stateMutability: "view",
|
|
714
414
|
type: "function",
|
|
715
|
-
name: "isActiveLevrMarketForGame",
|
|
716
|
-
inputs: [
|
|
717
|
-
{
|
|
718
|
-
name: "gameId",
|
|
719
|
-
type: "uint256",
|
|
720
|
-
internalType: "uint256"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
name: "levrMarketId",
|
|
724
|
-
type: "bytes16",
|
|
725
|
-
internalType: "bytes16"
|
|
726
|
-
}
|
|
727
|
-
],
|
|
728
|
-
outputs: [
|
|
729
|
-
{
|
|
730
|
-
name: "",
|
|
731
|
-
type: "bool",
|
|
732
|
-
internalType: "bool"
|
|
733
|
-
}
|
|
734
|
-
],
|
|
735
|
-
stateMutability: "view"
|
|
736
415
|
},
|
|
737
416
|
{
|
|
417
|
+
inputs: [],
|
|
418
|
+
name: "getLevrLeagueIds",
|
|
419
|
+
outputs: [{ internalType: "bytes32[]", name: "", type: "bytes32[]" }],
|
|
420
|
+
stateMutability: "view",
|
|
738
421
|
type: "function",
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
type: "address",
|
|
744
|
-
internalType: "address"
|
|
745
|
-
}
|
|
746
|
-
],
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
inputs: [{ internalType: "bytes8", name: "leagueId", type: "bytes8" }],
|
|
425
|
+
name: "getLevrLeagueMetadata",
|
|
747
426
|
outputs: [
|
|
748
427
|
{
|
|
428
|
+
components: [
|
|
429
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
430
|
+
{ internalType: "string", name: "location", type: "string" },
|
|
431
|
+
{ internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
432
|
+
{ internalType: "bytes8", name: "leagueId", type: "bytes8" },
|
|
433
|
+
],
|
|
434
|
+
internalType: "struct LevrLeagueMetadata",
|
|
749
435
|
name: "",
|
|
750
|
-
type: "
|
|
751
|
-
|
|
752
|
-
}
|
|
436
|
+
type: "tuple",
|
|
437
|
+
},
|
|
753
438
|
],
|
|
754
|
-
stateMutability: "view"
|
|
439
|
+
stateMutability: "view",
|
|
440
|
+
type: "function",
|
|
755
441
|
},
|
|
756
442
|
{
|
|
443
|
+
inputs: [{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" }],
|
|
444
|
+
name: "getLevrMarketContractAddress",
|
|
445
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
446
|
+
stateMutability: "view",
|
|
757
447
|
type: "function",
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
inputs: [{ internalType: "bool", name: "includeDeprecated", type: "bool" }],
|
|
451
|
+
name: "getLevrMarketContracts",
|
|
452
|
+
outputs: [{ internalType: "address[]", name: "marketContracts", type: "address[]" }],
|
|
453
|
+
stateMutability: "view",
|
|
454
|
+
type: "function",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
inputs: [],
|
|
458
|
+
name: "getLevrMarketIds",
|
|
459
|
+
outputs: [{ internalType: "bytes32[]", name: "", type: "bytes32[]" }],
|
|
460
|
+
stateMutability: "view",
|
|
461
|
+
type: "function",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
inputs: [{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" }],
|
|
465
|
+
name: "getLevrMarketMetadata",
|
|
771
466
|
outputs: [
|
|
772
467
|
{
|
|
468
|
+
components: [
|
|
469
|
+
{ internalType: "string", name: "marketName", type: "string" },
|
|
470
|
+
{ internalType: "address", name: "marketAddress", type: "address" },
|
|
471
|
+
{ internalType: "bytes16", name: "marketId", type: "bytes16" },
|
|
472
|
+
{ internalType: "uint8", name: "allowedSideGroup", type: "uint8" },
|
|
473
|
+
],
|
|
474
|
+
internalType: "struct LevrMarketMetadata",
|
|
773
475
|
name: "",
|
|
774
|
-
type: "
|
|
775
|
-
|
|
776
|
-
}
|
|
476
|
+
type: "tuple",
|
|
477
|
+
},
|
|
777
478
|
],
|
|
778
|
-
stateMutability: "view"
|
|
479
|
+
stateMutability: "view",
|
|
480
|
+
type: "function",
|
|
779
481
|
},
|
|
780
482
|
{
|
|
483
|
+
inputs: [],
|
|
484
|
+
name: "getLevrSportIds",
|
|
485
|
+
outputs: [{ internalType: "bytes32[]", name: "", type: "bytes32[]" }],
|
|
486
|
+
stateMutability: "view",
|
|
781
487
|
type: "function",
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
type: "bytes8",
|
|
787
|
-
internalType: "bytes8"
|
|
788
|
-
}
|
|
789
|
-
],
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
inputs: [{ internalType: "bytes12", name: "levrSportId", type: "bytes12" }],
|
|
491
|
+
name: "getLevrSportsMetadata",
|
|
790
492
|
outputs: [
|
|
791
493
|
{
|
|
494
|
+
components: [
|
|
495
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
496
|
+
{ internalType: "string", name: "scoreType", type: "string" },
|
|
497
|
+
{ internalType: "bytes12", name: "levrSportId", type: "bytes12" },
|
|
498
|
+
{ internalType: "bool", name: "hasDraw", type: "bool" },
|
|
499
|
+
],
|
|
500
|
+
internalType: "struct LevrSportMetadata",
|
|
792
501
|
name: "",
|
|
793
|
-
type: "
|
|
794
|
-
|
|
795
|
-
}
|
|
502
|
+
type: "tuple",
|
|
503
|
+
},
|
|
796
504
|
],
|
|
797
|
-
stateMutability: "view"
|
|
505
|
+
stateMutability: "view",
|
|
506
|
+
type: "function",
|
|
798
507
|
},
|
|
799
508
|
{
|
|
509
|
+
inputs: [],
|
|
510
|
+
name: "getLevrTournamentIds",
|
|
511
|
+
outputs: [{ internalType: "bytes32[]", name: "", type: "bytes32[]" }],
|
|
512
|
+
stateMutability: "view",
|
|
800
513
|
type: "function",
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
type: "bytes16",
|
|
806
|
-
internalType: "bytes16"
|
|
807
|
-
}
|
|
808
|
-
],
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
inputs: [{ internalType: "bytes6", name: "tournamentId", type: "bytes6" }],
|
|
517
|
+
name: "getLevrTournamentMetadata",
|
|
809
518
|
outputs: [
|
|
810
519
|
{
|
|
520
|
+
components: [
|
|
521
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
522
|
+
{ internalType: "string", name: "description", type: "string" },
|
|
523
|
+
{ internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
524
|
+
{ internalType: "bool", name: "exclusive", type: "bool" },
|
|
525
|
+
],
|
|
526
|
+
internalType: "struct LevrTournamentMetadata",
|
|
811
527
|
name: "",
|
|
812
|
-
type: "
|
|
813
|
-
|
|
814
|
-
}
|
|
528
|
+
type: "tuple",
|
|
529
|
+
},
|
|
815
530
|
],
|
|
816
|
-
stateMutability: "view"
|
|
531
|
+
stateMutability: "view",
|
|
532
|
+
type: "function",
|
|
817
533
|
},
|
|
818
534
|
{
|
|
819
|
-
type: "function",
|
|
820
|
-
name: "isLevrSportId",
|
|
821
535
|
inputs: [
|
|
822
|
-
{
|
|
823
|
-
|
|
824
|
-
type: "bytes12",
|
|
825
|
-
internalType: "bytes12"
|
|
826
|
-
}
|
|
827
|
-
],
|
|
828
|
-
outputs: [
|
|
829
|
-
{
|
|
830
|
-
name: "",
|
|
831
|
-
type: "bool",
|
|
832
|
-
internalType: "bool"
|
|
833
|
-
}
|
|
536
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
537
|
+
{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
834
538
|
],
|
|
835
|
-
|
|
539
|
+
name: "isActiveLevrMarketForGame",
|
|
540
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
541
|
+
stateMutability: "view",
|
|
542
|
+
type: "function",
|
|
836
543
|
},
|
|
837
544
|
{
|
|
545
|
+
inputs: [{ internalType: "address", name: "marketContract", type: "address" }],
|
|
546
|
+
name: "isDeprecatedMarketContract",
|
|
547
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
548
|
+
stateMutability: "view",
|
|
838
549
|
type: "function",
|
|
839
|
-
|
|
550
|
+
},
|
|
551
|
+
{
|
|
840
552
|
inputs: [
|
|
841
|
-
{
|
|
842
|
-
|
|
843
|
-
type: "bytes6",
|
|
844
|
-
internalType: "bytes6"
|
|
845
|
-
}
|
|
846
|
-
],
|
|
847
|
-
outputs: [
|
|
848
|
-
{
|
|
849
|
-
name: "",
|
|
850
|
-
type: "bool",
|
|
851
|
-
internalType: "bool"
|
|
852
|
-
}
|
|
553
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
554
|
+
{ internalType: "bytes32", name: "gameMarketId", type: "bytes32" },
|
|
853
555
|
],
|
|
854
|
-
|
|
556
|
+
name: "isGameActiveMarket",
|
|
557
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
558
|
+
stateMutability: "view",
|
|
559
|
+
type: "function",
|
|
855
560
|
},
|
|
856
561
|
{
|
|
562
|
+
inputs: [{ internalType: "bytes8", name: "leagueId", type: "bytes8" }],
|
|
563
|
+
name: "isLevrLeagueId",
|
|
564
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
565
|
+
stateMutability: "view",
|
|
857
566
|
type: "function",
|
|
858
|
-
name: "levrConfigProvider",
|
|
859
|
-
inputs: [],
|
|
860
|
-
outputs: [
|
|
861
|
-
{
|
|
862
|
-
name: "",
|
|
863
|
-
type: "address",
|
|
864
|
-
internalType: "address"
|
|
865
|
-
}
|
|
866
|
-
],
|
|
867
|
-
stateMutability: "view"
|
|
868
567
|
},
|
|
869
568
|
{
|
|
569
|
+
inputs: [{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" }],
|
|
570
|
+
name: "isLevrMarketId",
|
|
571
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
572
|
+
stateMutability: "view",
|
|
870
573
|
type: "function",
|
|
871
|
-
name: "levrMarketIdByAddress",
|
|
872
|
-
inputs: [
|
|
873
|
-
{
|
|
874
|
-
name: "",
|
|
875
|
-
type: "address",
|
|
876
|
-
internalType: "address"
|
|
877
|
-
}
|
|
878
|
-
],
|
|
879
|
-
outputs: [
|
|
880
|
-
{
|
|
881
|
-
name: "levrMarketId",
|
|
882
|
-
type: "bytes16",
|
|
883
|
-
internalType: "bytes16"
|
|
884
|
-
}
|
|
885
|
-
],
|
|
886
|
-
stateMutability: "view"
|
|
887
574
|
},
|
|
888
575
|
{
|
|
576
|
+
inputs: [{ internalType: "bytes12", name: "levrSportId", type: "bytes12" }],
|
|
577
|
+
name: "isLevrSportId",
|
|
578
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
579
|
+
stateMutability: "view",
|
|
889
580
|
type: "function",
|
|
890
|
-
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
inputs: [{ internalType: "bytes6", name: "tournamentId", type: "bytes6" }],
|
|
584
|
+
name: "isLevrTournamentId",
|
|
585
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
586
|
+
stateMutability: "view",
|
|
587
|
+
type: "function",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
inputs: [],
|
|
591
|
+
name: "levrConfigProvider",
|
|
592
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
593
|
+
stateMutability: "view",
|
|
594
|
+
type: "function",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
598
|
+
name: "levrMarketIdByAddress",
|
|
599
|
+
outputs: [{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" }],
|
|
600
|
+
stateMutability: "view",
|
|
601
|
+
type: "function",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
891
604
|
inputs: [
|
|
892
|
-
{
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
internalType: "bytes32"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
name: "levrMarketId",
|
|
899
|
-
type: "bytes16",
|
|
900
|
-
internalType: "bytes16"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
name: "open",
|
|
904
|
-
type: "bool",
|
|
905
|
-
internalType: "bool"
|
|
906
|
-
}
|
|
605
|
+
{ internalType: "bytes32", name: "gameMarketId", type: "bytes32" },
|
|
606
|
+
{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
607
|
+
{ internalType: "bool", name: "open", type: "bool" },
|
|
907
608
|
],
|
|
609
|
+
name: "openOrCloseGameMarket",
|
|
908
610
|
outputs: [],
|
|
909
|
-
stateMutability: "nonpayable"
|
|
611
|
+
stateMutability: "nonpayable",
|
|
612
|
+
type: "function",
|
|
910
613
|
},
|
|
911
614
|
{
|
|
912
|
-
type: "function",
|
|
913
|
-
name: "pauseOrUnpauseGame",
|
|
914
615
|
inputs: [
|
|
915
|
-
{
|
|
916
|
-
|
|
917
|
-
type: "uint256",
|
|
918
|
-
internalType: "uint256"
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
name: "pause",
|
|
922
|
-
type: "bool",
|
|
923
|
-
internalType: "bool"
|
|
924
|
-
}
|
|
616
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
617
|
+
{ internalType: "bool", name: "pause", type: "bool" },
|
|
925
618
|
],
|
|
619
|
+
name: "pauseOrUnpauseGame",
|
|
926
620
|
outputs: [],
|
|
927
|
-
stateMutability: "nonpayable"
|
|
621
|
+
stateMutability: "nonpayable",
|
|
622
|
+
type: "function",
|
|
928
623
|
},
|
|
929
624
|
{
|
|
930
|
-
type: "
|
|
625
|
+
inputs: [{ internalType: "uint256", name: "gameId", type: "uint256" }],
|
|
931
626
|
name: "settleAllGameMarkets",
|
|
627
|
+
outputs: [],
|
|
628
|
+
stateMutability: "nonpayable",
|
|
629
|
+
type: "function",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
932
632
|
inputs: [
|
|
933
|
-
{
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
internalType: "uint256"
|
|
937
|
-
}
|
|
633
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
634
|
+
{ internalType: "enum Side", name: "winner", type: "uint8" },
|
|
635
|
+
{ internalType: "bool", name: "autoResolveMarkets", type: "bool" },
|
|
938
636
|
],
|
|
637
|
+
name: "settleGame",
|
|
939
638
|
outputs: [],
|
|
940
|
-
stateMutability: "nonpayable"
|
|
639
|
+
stateMutability: "nonpayable",
|
|
640
|
+
type: "function",
|
|
941
641
|
},
|
|
942
642
|
{
|
|
943
|
-
type: "function",
|
|
944
|
-
name: "settleGame",
|
|
945
643
|
inputs: [
|
|
946
|
-
{
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
internalType: "uint256"
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
name: "winner",
|
|
953
|
-
type: "uint8",
|
|
954
|
-
internalType: "enum Side"
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
name: "autoResolveMarkets",
|
|
958
|
-
type: "bool",
|
|
959
|
-
internalType: "bool"
|
|
960
|
-
}
|
|
644
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
645
|
+
{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
646
|
+
{ internalType: "enum Side", name: "winnerOverride", type: "uint8" },
|
|
961
647
|
],
|
|
648
|
+
name: "settleGameMarket",
|
|
962
649
|
outputs: [],
|
|
963
|
-
stateMutability: "nonpayable"
|
|
650
|
+
stateMutability: "nonpayable",
|
|
651
|
+
type: "function",
|
|
964
652
|
},
|
|
965
653
|
{
|
|
654
|
+
inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
|
|
655
|
+
name: "supportsInterface",
|
|
656
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
657
|
+
stateMutability: "view",
|
|
966
658
|
type: "function",
|
|
967
|
-
|
|
659
|
+
},
|
|
660
|
+
{
|
|
968
661
|
inputs: [
|
|
969
|
-
{
|
|
970
|
-
|
|
971
|
-
type: "uint256",
|
|
972
|
-
internalType: "uint256"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
name: "levrMarketId",
|
|
976
|
-
type: "bytes16",
|
|
977
|
-
internalType: "bytes16"
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
name: "winnerOverride",
|
|
981
|
-
type: "uint8",
|
|
982
|
-
internalType: "enum Side"
|
|
983
|
-
}
|
|
662
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
663
|
+
{ internalType: "uint16", name: "progressBps", type: "uint16" },
|
|
984
664
|
],
|
|
985
|
-
|
|
986
|
-
|
|
665
|
+
name: "updateGameProgress",
|
|
666
|
+
outputs: [{ internalType: "uint16", name: "updatedProgressBps", type: "uint16" }],
|
|
667
|
+
stateMutability: "nonpayable",
|
|
668
|
+
type: "function",
|
|
987
669
|
},
|
|
988
670
|
{
|
|
989
|
-
type: "function",
|
|
990
|
-
name: "supportsInterface",
|
|
991
671
|
inputs: [
|
|
992
|
-
{
|
|
993
|
-
|
|
994
|
-
type: "bytes4",
|
|
995
|
-
internalType: "bytes4"
|
|
996
|
-
}
|
|
672
|
+
{ internalType: "uint256", name: "gameId", type: "uint256" },
|
|
673
|
+
{ internalType: "enum GameStatus", name: "status", type: "uint8" },
|
|
997
674
|
],
|
|
998
|
-
outputs: [
|
|
999
|
-
{
|
|
1000
|
-
name: "",
|
|
1001
|
-
type: "bool",
|
|
1002
|
-
internalType: "bool"
|
|
1003
|
-
}
|
|
1004
|
-
],
|
|
1005
|
-
stateMutability: "view"
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
type: "function",
|
|
1009
|
-
name: "updateGameProgress",
|
|
1010
|
-
inputs: [
|
|
1011
|
-
{
|
|
1012
|
-
name: "gameId",
|
|
1013
|
-
type: "uint256",
|
|
1014
|
-
internalType: "uint256"
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
name: "progressBps",
|
|
1018
|
-
type: "uint16",
|
|
1019
|
-
internalType: "uint16"
|
|
1020
|
-
}
|
|
1021
|
-
],
|
|
1022
|
-
outputs: [
|
|
1023
|
-
{
|
|
1024
|
-
name: "updatedProgressBps",
|
|
1025
|
-
type: "uint16",
|
|
1026
|
-
internalType: "uint16"
|
|
1027
|
-
}
|
|
1028
|
-
],
|
|
1029
|
-
stateMutability: "nonpayable"
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
type: "function",
|
|
1033
675
|
name: "updateGameStatus",
|
|
1034
|
-
inputs: [
|
|
1035
|
-
{
|
|
1036
|
-
name: "gameId",
|
|
1037
|
-
type: "uint256",
|
|
1038
|
-
internalType: "uint256"
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
name: "status",
|
|
1042
|
-
type: "uint8",
|
|
1043
|
-
internalType: "enum GameStatus"
|
|
1044
|
-
}
|
|
1045
|
-
],
|
|
1046
676
|
outputs: [],
|
|
1047
|
-
stateMutability: "nonpayable"
|
|
677
|
+
stateMutability: "nonpayable",
|
|
678
|
+
type: "function",
|
|
1048
679
|
},
|
|
1049
680
|
{
|
|
1050
|
-
type: "
|
|
681
|
+
inputs: [{ internalType: "address", name: "newLevrConfigProvider", type: "address" }],
|
|
1051
682
|
name: "updateLevrConfigProvider",
|
|
1052
|
-
inputs: [
|
|
1053
|
-
{
|
|
1054
|
-
name: "newLevrConfigProvider",
|
|
1055
|
-
type: "address",
|
|
1056
|
-
internalType: "address"
|
|
1057
|
-
}
|
|
1058
|
-
],
|
|
1059
683
|
outputs: [],
|
|
1060
|
-
stateMutability: "nonpayable"
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
684
|
+
stateMutability: "nonpayable",
|
|
1063
685
|
type: "function",
|
|
1064
|
-
name: "updateLevrMarketAddress",
|
|
1065
|
-
inputs: [
|
|
1066
|
-
{
|
|
1067
|
-
name: "levrMarketId",
|
|
1068
|
-
type: "bytes16",
|
|
1069
|
-
internalType: "bytes16"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
name: "newMarketAddress",
|
|
1073
|
-
type: "address",
|
|
1074
|
-
internalType: "address"
|
|
1075
|
-
}
|
|
1076
|
-
],
|
|
1077
|
-
outputs: [],
|
|
1078
|
-
stateMutability: "nonpayable"
|
|
1079
686
|
},
|
|
1080
687
|
{
|
|
1081
|
-
type: "function",
|
|
1082
|
-
name: "updateTournamentExclusivity",
|
|
1083
688
|
inputs: [
|
|
1084
|
-
{
|
|
1085
|
-
|
|
1086
|
-
type: "bytes6",
|
|
1087
|
-
internalType: "bytes6"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
name: "exclusive",
|
|
1091
|
-
type: "bool",
|
|
1092
|
-
internalType: "bool"
|
|
1093
|
-
}
|
|
689
|
+
{ internalType: "bytes16", name: "levrMarketId", type: "bytes16" },
|
|
690
|
+
{ internalType: "address", name: "newMarketAddress", type: "address" },
|
|
1094
691
|
],
|
|
692
|
+
name: "updateLevrMarketAddress",
|
|
1095
693
|
outputs: [],
|
|
1096
|
-
stateMutability: "nonpayable"
|
|
1097
|
-
|
|
1098
|
-
{
|
|
1099
|
-
type: "event",
|
|
1100
|
-
name: "LevrConfigProviderUpdated",
|
|
1101
|
-
inputs: [
|
|
1102
|
-
{
|
|
1103
|
-
name: "prevProvider",
|
|
1104
|
-
type: "address",
|
|
1105
|
-
indexed: true,
|
|
1106
|
-
internalType: "address"
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
name: "newProvider",
|
|
1110
|
-
type: "address",
|
|
1111
|
-
indexed: true,
|
|
1112
|
-
internalType: "address"
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1115
|
-
anonymous: false
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
type: "event",
|
|
1119
|
-
name: "LevrGameCreated",
|
|
1120
|
-
inputs: [
|
|
1121
|
-
{
|
|
1122
|
-
name: "gameId",
|
|
1123
|
-
type: "uint256",
|
|
1124
|
-
indexed: true,
|
|
1125
|
-
internalType: "uint256"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
name: "teamH",
|
|
1129
|
-
type: "string",
|
|
1130
|
-
indexed: false,
|
|
1131
|
-
internalType: "string"
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
name: "teamV",
|
|
1135
|
-
type: "string",
|
|
1136
|
-
indexed: false,
|
|
1137
|
-
internalType: "string"
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
name: "levrSportId",
|
|
1141
|
-
type: "bytes12",
|
|
1142
|
-
indexed: true,
|
|
1143
|
-
internalType: "bytes12"
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
name: "levrLeagueId",
|
|
1147
|
-
type: "bytes8",
|
|
1148
|
-
indexed: true,
|
|
1149
|
-
internalType: "bytes8"
|
|
1150
|
-
}
|
|
1151
|
-
],
|
|
1152
|
-
anonymous: false
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
type: "event",
|
|
1156
|
-
name: "LevrGamePaused",
|
|
1157
|
-
inputs: [
|
|
1158
|
-
{
|
|
1159
|
-
name: "gameId",
|
|
1160
|
-
type: "uint256",
|
|
1161
|
-
indexed: true,
|
|
1162
|
-
internalType: "uint256"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
name: "paused",
|
|
1166
|
-
type: "bool",
|
|
1167
|
-
indexed: false,
|
|
1168
|
-
internalType: "bool"
|
|
1169
|
-
}
|
|
1170
|
-
],
|
|
1171
|
-
anonymous: false
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
type: "event",
|
|
1175
|
-
name: "LevrGameProgressUpdated",
|
|
1176
|
-
inputs: [
|
|
1177
|
-
{
|
|
1178
|
-
name: "gameId",
|
|
1179
|
-
type: "uint256",
|
|
1180
|
-
indexed: true,
|
|
1181
|
-
internalType: "uint256"
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
name: "progressBps",
|
|
1185
|
-
type: "uint16",
|
|
1186
|
-
indexed: false,
|
|
1187
|
-
internalType: "uint16"
|
|
1188
|
-
}
|
|
1189
|
-
],
|
|
1190
|
-
anonymous: false
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
type: "event",
|
|
1194
|
-
name: "LevrGameSettled",
|
|
1195
|
-
inputs: [
|
|
1196
|
-
{
|
|
1197
|
-
name: "gameId",
|
|
1198
|
-
type: "uint256",
|
|
1199
|
-
indexed: true,
|
|
1200
|
-
internalType: "uint256"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
name: "winner",
|
|
1204
|
-
type: "uint8",
|
|
1205
|
-
indexed: false,
|
|
1206
|
-
internalType: "enum Side"
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
name: "settledAt",
|
|
1210
|
-
type: "uint48",
|
|
1211
|
-
indexed: false,
|
|
1212
|
-
internalType: "uint48"
|
|
1213
|
-
}
|
|
1214
|
-
],
|
|
1215
|
-
anonymous: false
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
type: "event",
|
|
1219
|
-
name: "LevrGameStatusUpdated",
|
|
1220
|
-
inputs: [
|
|
1221
|
-
{
|
|
1222
|
-
name: "gameId",
|
|
1223
|
-
type: "uint256",
|
|
1224
|
-
indexed: true,
|
|
1225
|
-
internalType: "uint256"
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
name: "status",
|
|
1229
|
-
type: "uint8",
|
|
1230
|
-
indexed: false,
|
|
1231
|
-
internalType: "enum GameStatus"
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
name: "updatedAt",
|
|
1235
|
-
type: "uint48",
|
|
1236
|
-
indexed: false,
|
|
1237
|
-
internalType: "uint48"
|
|
1238
|
-
}
|
|
1239
|
-
],
|
|
1240
|
-
anonymous: false
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
type: "event",
|
|
1244
|
-
name: "LevrGameTournamentUpdated",
|
|
1245
|
-
inputs: [
|
|
1246
|
-
{
|
|
1247
|
-
name: "gameId",
|
|
1248
|
-
type: "uint256",
|
|
1249
|
-
indexed: true,
|
|
1250
|
-
internalType: "uint256"
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
name: "tournamentId",
|
|
1254
|
-
type: "bytes6",
|
|
1255
|
-
indexed: true,
|
|
1256
|
-
internalType: "bytes6"
|
|
1257
|
-
}
|
|
1258
|
-
],
|
|
1259
|
-
anonymous: false
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
type: "event",
|
|
1263
|
-
name: "LevrGameUnpaused",
|
|
1264
|
-
inputs: [
|
|
1265
|
-
{
|
|
1266
|
-
name: "gameId",
|
|
1267
|
-
type: "uint256",
|
|
1268
|
-
indexed: true,
|
|
1269
|
-
internalType: "uint256"
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
name: "unpausedAt",
|
|
1273
|
-
type: "uint48",
|
|
1274
|
-
indexed: false,
|
|
1275
|
-
internalType: "uint48"
|
|
1276
|
-
}
|
|
1277
|
-
],
|
|
1278
|
-
anonymous: false
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
type: "event",
|
|
1282
|
-
name: "LevrMarketContractUpdated",
|
|
1283
|
-
inputs: [
|
|
1284
|
-
{
|
|
1285
|
-
name: "levrMarketId",
|
|
1286
|
-
type: "bytes16",
|
|
1287
|
-
indexed: true,
|
|
1288
|
-
internalType: "bytes16"
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
name: "prevMarketAddress",
|
|
1292
|
-
type: "address",
|
|
1293
|
-
indexed: true,
|
|
1294
|
-
internalType: "address"
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
name: "newMarketAddress",
|
|
1298
|
-
type: "address",
|
|
1299
|
-
indexed: true,
|
|
1300
|
-
internalType: "address"
|
|
1301
|
-
}
|
|
1302
|
-
],
|
|
1303
|
-
anonymous: false
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
type: "event",
|
|
1307
|
-
name: "MarketSettledWithOverride",
|
|
1308
|
-
inputs: [
|
|
1309
|
-
{
|
|
1310
|
-
name: "gameMarketId",
|
|
1311
|
-
type: "bytes32",
|
|
1312
|
-
indexed: true,
|
|
1313
|
-
internalType: "bytes32"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
name: "winner",
|
|
1317
|
-
type: "uint8",
|
|
1318
|
-
indexed: true,
|
|
1319
|
-
internalType: "enum Side"
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
name: "winnerOverride",
|
|
1323
|
-
type: "uint8",
|
|
1324
|
-
indexed: false,
|
|
1325
|
-
internalType: "enum Side"
|
|
1326
|
-
}
|
|
1327
|
-
],
|
|
1328
|
-
anonymous: false
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
type: "event",
|
|
1332
|
-
name: "NewLevrLeague",
|
|
1333
|
-
inputs: [
|
|
1334
|
-
{
|
|
1335
|
-
name: "leagueId",
|
|
1336
|
-
type: "bytes8",
|
|
1337
|
-
indexed: true,
|
|
1338
|
-
internalType: "bytes8"
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
name: "levrSportId",
|
|
1342
|
-
type: "bytes12",
|
|
1343
|
-
indexed: true,
|
|
1344
|
-
internalType: "bytes12"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
name: "leagueName",
|
|
1348
|
-
type: "string",
|
|
1349
|
-
indexed: false,
|
|
1350
|
-
internalType: "string"
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
name: "location",
|
|
1354
|
-
type: "string",
|
|
1355
|
-
indexed: false,
|
|
1356
|
-
internalType: "string"
|
|
1357
|
-
}
|
|
1358
|
-
],
|
|
1359
|
-
anonymous: false
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
type: "event",
|
|
1363
|
-
name: "NewLevrMarket",
|
|
1364
|
-
inputs: [
|
|
1365
|
-
{
|
|
1366
|
-
name: "levrMarketId",
|
|
1367
|
-
type: "bytes16",
|
|
1368
|
-
indexed: true,
|
|
1369
|
-
internalType: "bytes16"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
name: "name",
|
|
1373
|
-
type: "string",
|
|
1374
|
-
indexed: false,
|
|
1375
|
-
internalType: "string"
|
|
1376
|
-
}
|
|
1377
|
-
],
|
|
1378
|
-
anonymous: false
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
type: "event",
|
|
1382
|
-
name: "NewLevrSport",
|
|
1383
|
-
inputs: [
|
|
1384
|
-
{
|
|
1385
|
-
name: "levrSportId",
|
|
1386
|
-
type: "bytes12",
|
|
1387
|
-
indexed: true,
|
|
1388
|
-
internalType: "bytes12"
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
name: "name",
|
|
1392
|
-
type: "string",
|
|
1393
|
-
indexed: false,
|
|
1394
|
-
internalType: "string"
|
|
1395
|
-
}
|
|
1396
|
-
],
|
|
1397
|
-
anonymous: false
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
type: "event",
|
|
1401
|
-
name: "NewLevrTournament",
|
|
1402
|
-
inputs: [
|
|
1403
|
-
{
|
|
1404
|
-
name: "tournamentId",
|
|
1405
|
-
type: "bytes6",
|
|
1406
|
-
indexed: true,
|
|
1407
|
-
internalType: "bytes6"
|
|
1408
|
-
},
|
|
1409
|
-
{
|
|
1410
|
-
name: "tournamentName",
|
|
1411
|
-
type: "string",
|
|
1412
|
-
indexed: false,
|
|
1413
|
-
internalType: "string"
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
name: "description",
|
|
1417
|
-
type: "string",
|
|
1418
|
-
indexed: false,
|
|
1419
|
-
internalType: "string"
|
|
1420
|
-
},
|
|
1421
|
-
{
|
|
1422
|
-
name: "exclusive",
|
|
1423
|
-
type: "bool",
|
|
1424
|
-
indexed: false,
|
|
1425
|
-
internalType: "bool"
|
|
1426
|
-
}
|
|
1427
|
-
],
|
|
1428
|
-
anonymous: false
|
|
694
|
+
stateMutability: "nonpayable",
|
|
695
|
+
type: "function",
|
|
1429
696
|
},
|
|
1430
697
|
{
|
|
1431
|
-
type: "event",
|
|
1432
|
-
name: "TournamentExclusivityUpdated",
|
|
1433
698
|
inputs: [
|
|
1434
|
-
{
|
|
1435
|
-
|
|
1436
|
-
type: "bytes6",
|
|
1437
|
-
indexed: true,
|
|
1438
|
-
internalType: "bytes6"
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
name: "exclusive",
|
|
1442
|
-
type: "bool",
|
|
1443
|
-
indexed: false,
|
|
1444
|
-
internalType: "bool"
|
|
1445
|
-
}
|
|
699
|
+
{ internalType: "bytes6", name: "tournamentId", type: "bytes6" },
|
|
700
|
+
{ internalType: "bool", name: "exclusive", type: "bool" },
|
|
1446
701
|
],
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
type: "
|
|
1451
|
-
name: "LB_CONFIG_INVALID_INTERFACE",
|
|
1452
|
-
inputs: []
|
|
1453
|
-
},
|
|
1454
|
-
{
|
|
1455
|
-
type: "error",
|
|
1456
|
-
name: "LB_CONFIG_PROVIDER_NOT_CONTRACT",
|
|
1457
|
-
inputs: []
|
|
1458
|
-
},
|
|
1459
|
-
{
|
|
1460
|
-
type: "error",
|
|
1461
|
-
name: "LB_NOT_LEVR_ADMIN",
|
|
1462
|
-
inputs: []
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
type: "error",
|
|
1466
|
-
name: "LM_CANNOT_CANCEL_POST_GAME_MARKET",
|
|
1467
|
-
inputs: []
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
type: "error",
|
|
1471
|
-
name: "LM_CANNOT_OVERRIDE_WINNER_IN_PRE_GAME",
|
|
1472
|
-
inputs: []
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
type: "error",
|
|
1476
|
-
name: "LM_DEPRECATED_MARKET_CONTRACT",
|
|
1477
|
-
inputs: [
|
|
1478
|
-
{
|
|
1479
|
-
name: "marketContract",
|
|
1480
|
-
type: "address",
|
|
1481
|
-
internalType: "address"
|
|
1482
|
-
}
|
|
1483
|
-
]
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
type: "error",
|
|
1487
|
-
name: "LM_DUPLICATE_MARKET_CONTRACT",
|
|
1488
|
-
inputs: [
|
|
1489
|
-
{
|
|
1490
|
-
name: "marketContract",
|
|
1491
|
-
type: "address",
|
|
1492
|
-
internalType: "address"
|
|
1493
|
-
}
|
|
1494
|
-
]
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
type: "error",
|
|
1498
|
-
name: "LM_DUPLICATE_MARKET_NAME",
|
|
1499
|
-
inputs: [
|
|
1500
|
-
{
|
|
1501
|
-
name: "marketName",
|
|
1502
|
-
type: "string",
|
|
1503
|
-
internalType: "string"
|
|
1504
|
-
}
|
|
1505
|
-
]
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
type: "error",
|
|
1509
|
-
name: "LM_DUPLICATE_SPORT_NAME",
|
|
1510
|
-
inputs: [
|
|
1511
|
-
{
|
|
1512
|
-
name: "sportName",
|
|
1513
|
-
type: "string",
|
|
1514
|
-
internalType: "string"
|
|
1515
|
-
}
|
|
1516
|
-
]
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
type: "error",
|
|
1520
|
-
name: "LM_DUPLICATE_TOURNAMENT_NAME",
|
|
1521
|
-
inputs: [
|
|
1522
|
-
{
|
|
1523
|
-
name: "tournamentName",
|
|
1524
|
-
type: "string",
|
|
1525
|
-
internalType: "string"
|
|
1526
|
-
}
|
|
1527
|
-
]
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
type: "error",
|
|
1531
|
-
name: "LM_GAME_ALREADY_SETTLED",
|
|
1532
|
-
inputs: [
|
|
1533
|
-
{
|
|
1534
|
-
name: "gameId",
|
|
1535
|
-
type: "uint256",
|
|
1536
|
-
internalType: "uint256"
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
name: "winner",
|
|
1540
|
-
type: "uint8",
|
|
1541
|
-
internalType: "enum Side"
|
|
1542
|
-
}
|
|
1543
|
-
]
|
|
1544
|
-
},
|
|
1545
|
-
{
|
|
1546
|
-
type: "error",
|
|
1547
|
-
name: "LM_GAME_MARKET_NOT_ACTIVE",
|
|
1548
|
-
inputs: [
|
|
1549
|
-
{
|
|
1550
|
-
name: "gameMarketId",
|
|
1551
|
-
type: "bytes32",
|
|
1552
|
-
internalType: "bytes32"
|
|
1553
|
-
}
|
|
1554
|
-
]
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
type: "error",
|
|
1558
|
-
name: "LM_GAME_NOT_ENDED",
|
|
1559
|
-
inputs: [
|
|
1560
|
-
{
|
|
1561
|
-
name: "gameId",
|
|
1562
|
-
type: "uint256",
|
|
1563
|
-
internalType: "uint256"
|
|
1564
|
-
}
|
|
1565
|
-
]
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
type: "error",
|
|
1569
|
-
name: "LM_GAME_NOT_LIVE",
|
|
1570
|
-
inputs: [
|
|
1571
|
-
{
|
|
1572
|
-
name: "gameId",
|
|
1573
|
-
type: "uint256",
|
|
1574
|
-
internalType: "uint256"
|
|
1575
|
-
}
|
|
1576
|
-
]
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
type: "error",
|
|
1580
|
-
name: "LM_GAME_STARTED_OR_ENDED",
|
|
1581
|
-
inputs: []
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
type: "error",
|
|
1585
|
-
name: "LM_INVALID_ADDRESS",
|
|
1586
|
-
inputs: []
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
type: "error",
|
|
1590
|
-
name: "LM_INVALID_DRAW_OUTCOME_FOR_GAME",
|
|
1591
|
-
inputs: [
|
|
1592
|
-
{
|
|
1593
|
-
name: "gameId",
|
|
1594
|
-
type: "uint256",
|
|
1595
|
-
internalType: "uint256"
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
name: "levrSportId",
|
|
1599
|
-
type: "bytes12",
|
|
1600
|
-
internalType: "bytes12"
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
name: "winner",
|
|
1604
|
-
type: "uint8",
|
|
1605
|
-
internalType: "enum Side"
|
|
1606
|
-
}
|
|
1607
|
-
]
|
|
1608
|
-
},
|
|
1609
|
-
{
|
|
1610
|
-
type: "error",
|
|
1611
|
-
name: "LM_INVALID_GAME_ID",
|
|
1612
|
-
inputs: [
|
|
1613
|
-
{
|
|
1614
|
-
name: "gameId",
|
|
1615
|
-
type: "uint256",
|
|
1616
|
-
internalType: "uint256"
|
|
1617
|
-
}
|
|
1618
|
-
]
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
type: "error",
|
|
1622
|
-
name: "LM_INVALID_GAME_STATUS_SWITCH",
|
|
1623
|
-
inputs: [
|
|
1624
|
-
{
|
|
1625
|
-
name: "prevStatus",
|
|
1626
|
-
type: "uint8",
|
|
1627
|
-
internalType: "enum GameStatus"
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
name: "newStatus",
|
|
1631
|
-
type: "uint8",
|
|
1632
|
-
internalType: "enum GameStatus"
|
|
1633
|
-
}
|
|
1634
|
-
]
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
type: "error",
|
|
1638
|
-
name: "LM_INVALID_GAME_WINNER",
|
|
1639
|
-
inputs: []
|
|
1640
|
-
},
|
|
1641
|
-
{
|
|
1642
|
-
type: "error",
|
|
1643
|
-
name: "LM_INVALID_LEAGUE",
|
|
1644
|
-
inputs: [
|
|
1645
|
-
{
|
|
1646
|
-
name: "leagueName",
|
|
1647
|
-
type: "string",
|
|
1648
|
-
internalType: "string"
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
name: "location",
|
|
1652
|
-
type: "string",
|
|
1653
|
-
internalType: "string"
|
|
1654
|
-
}
|
|
1655
|
-
]
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
type: "error",
|
|
1659
|
-
name: "LM_INVALID_LEVR_LEAGUE",
|
|
1660
|
-
inputs: [
|
|
1661
|
-
{
|
|
1662
|
-
name: "leagueId",
|
|
1663
|
-
type: "bytes8",
|
|
1664
|
-
internalType: "bytes8"
|
|
1665
|
-
}
|
|
1666
|
-
]
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
type: "error",
|
|
1670
|
-
name: "LM_INVALID_LEVR_MARKET_ID",
|
|
1671
|
-
inputs: [
|
|
1672
|
-
{
|
|
1673
|
-
name: "marketId",
|
|
1674
|
-
type: "bytes16",
|
|
1675
|
-
internalType: "bytes16"
|
|
1676
|
-
}
|
|
1677
|
-
]
|
|
1678
|
-
},
|
|
1679
|
-
{
|
|
1680
|
-
type: "error",
|
|
1681
|
-
name: "LM_INVALID_PARAMS_LENGTH",
|
|
1682
|
-
inputs: []
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
type: "error",
|
|
1686
|
-
name: "LM_INVALID_PROGRESS_BPS",
|
|
1687
|
-
inputs: []
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
type: "error",
|
|
1691
|
-
name: "LM_INVALID_SIDE",
|
|
1692
|
-
inputs: [
|
|
1693
|
-
{
|
|
1694
|
-
name: "side",
|
|
1695
|
-
type: "uint8",
|
|
1696
|
-
internalType: "enum Side"
|
|
1697
|
-
}
|
|
1698
|
-
]
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
type: "error",
|
|
1702
|
-
name: "LM_INVALID_SIDE_GROUP",
|
|
1703
|
-
inputs: []
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
type: "error",
|
|
1707
|
-
name: "LM_INVALID_SPORT_ID",
|
|
1708
|
-
inputs: []
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
type: "error",
|
|
1712
|
-
name: "LM_INVALID_STRING",
|
|
1713
|
-
inputs: []
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
type: "error",
|
|
1717
|
-
name: "LM_INVALID_TOURNAMENT_ID",
|
|
1718
|
-
inputs: [
|
|
1719
|
-
{
|
|
1720
|
-
name: "tournamentId",
|
|
1721
|
-
type: "bytes6",
|
|
1722
|
-
internalType: "bytes6"
|
|
1723
|
-
}
|
|
1724
|
-
]
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
type: "error",
|
|
1728
|
-
name: "LM_MARKET_CONTRACT_HAS_ACTIVE_MARKETS",
|
|
1729
|
-
inputs: []
|
|
1730
|
-
},
|
|
1731
|
-
{
|
|
1732
|
-
type: "error",
|
|
1733
|
-
name: "LM_NOT_FEED_PROVIDER_OR_MARKET_FEED_CONTRACT",
|
|
1734
|
-
inputs: []
|
|
1735
|
-
},
|
|
1736
|
-
{
|
|
1737
|
-
type: "error",
|
|
1738
|
-
name: "LM_NOT_GAME_ADMIN",
|
|
1739
|
-
inputs: []
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
type: "error",
|
|
1743
|
-
name: "LM_NOT_LEVR_ADMIN",
|
|
1744
|
-
inputs: []
|
|
702
|
+
name: "updateTournamentExclusivity",
|
|
703
|
+
outputs: [],
|
|
704
|
+
stateMutability: "nonpayable",
|
|
705
|
+
type: "function",
|
|
1745
706
|
},
|
|
1746
707
|
];
|
|
1747
708
|
//# sourceMappingURL=LevrManager.js.map
|