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