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