@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,902 +1,902 @@
|
|
|
1
1
|
declare const _default: readonly [{
|
|
2
|
-
readonly type: "constructor";
|
|
3
2
|
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
4
|
readonly name: "_levrConfigProvider";
|
|
5
5
|
readonly type: "address";
|
|
6
|
-
readonly internalType: "address";
|
|
7
6
|
}];
|
|
8
7
|
readonly stateMutability: "nonpayable";
|
|
8
|
+
readonly type: "constructor";
|
|
9
9
|
}, {
|
|
10
|
-
readonly type: "function";
|
|
11
|
-
readonly name: "PRICING_MARKER_CHUNK_SIZE";
|
|
12
10
|
readonly inputs: readonly [];
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
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: "LMF_CANNOT_SETTLE_MARKET";
|
|
24
|
+
readonly type: "error";
|
|
19
25
|
}, {
|
|
20
|
-
readonly type: "function";
|
|
21
|
-
readonly name: "findLiquidationSliceStart";
|
|
22
26
|
readonly inputs: readonly [{
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
27
|
+
readonly internalType: "uint256";
|
|
28
|
+
readonly name: "gameId";
|
|
29
|
+
readonly type: "uint256";
|
|
26
30
|
}, {
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
31
|
+
readonly internalType: "bytes16";
|
|
32
|
+
readonly name: "levrMarketId";
|
|
33
|
+
readonly type: "bytes16";
|
|
30
34
|
}];
|
|
31
|
-
readonly
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
readonly name: "LMF_FEED_ALREADY_INITIALIZED";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "LMF_GAME_ENDED_OR_CANCELED";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "LMF_GAME_NOT_ENDED";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "LMF_GAME_NOT_LIVE";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "LMF_INVALID_ADDRESS";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly internalType: "enum GameStatus";
|
|
56
|
+
readonly name: "from";
|
|
57
|
+
readonly type: "uint8";
|
|
58
|
+
}, {
|
|
59
|
+
readonly internalType: "enum GameStatus";
|
|
60
|
+
readonly name: "to";
|
|
61
|
+
readonly type: "uint8";
|
|
35
62
|
}];
|
|
36
|
-
readonly
|
|
63
|
+
readonly name: "LMF_INVALID_GAME_PHASE_SWITCH";
|
|
64
|
+
readonly type: "error";
|
|
65
|
+
}, {
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly name: "LMF_INVALID_LEVR_GAME_ID";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly name: "LMF_INVALID_N_FACTOR";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly name: "LMF_INVALID_ODDS";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "LMF_INVALID_ODDS_GROUP";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "LMF_INVALID_ODDS_LENGTH";
|
|
84
|
+
readonly type: "error";
|
|
85
|
+
}, {
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "LMF_INVALID_SIDE";
|
|
88
|
+
readonly type: "error";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "LMF_MARKET_ALREADY_SETTLED";
|
|
92
|
+
readonly type: "error";
|
|
93
|
+
}, {
|
|
94
|
+
readonly inputs: readonly [];
|
|
95
|
+
readonly name: "LMF_NOT_FEED_PROVIDER";
|
|
96
|
+
readonly type: "error";
|
|
97
|
+
}, {
|
|
98
|
+
readonly inputs: readonly [];
|
|
99
|
+
readonly name: "LMF_NOT_GAME_ADMIN";
|
|
100
|
+
readonly type: "error";
|
|
101
|
+
}, {
|
|
102
|
+
readonly inputs: readonly [];
|
|
103
|
+
readonly name: "LMF_NOT_MARKET_CONTRACT";
|
|
104
|
+
readonly type: "error";
|
|
105
|
+
}, {
|
|
106
|
+
readonly inputs: readonly [];
|
|
107
|
+
readonly name: "LMF_NOT_SETTLER";
|
|
108
|
+
readonly type: "error";
|
|
37
109
|
}, {
|
|
38
|
-
readonly type: "function";
|
|
39
|
-
readonly name: "firstInGamePriceIndex";
|
|
40
110
|
readonly inputs: readonly [{
|
|
111
|
+
readonly internalType: "bytes32";
|
|
41
112
|
readonly name: "gameMarketId";
|
|
42
113
|
readonly type: "bytes32";
|
|
43
|
-
readonly internalType: "bytes32";
|
|
44
114
|
}];
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
|
|
115
|
+
readonly name: "LMF_PRICE_FEED_NOT_INITIALIZED";
|
|
116
|
+
readonly type: "error";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [{
|
|
48
119
|
readonly internalType: "uint256";
|
|
120
|
+
readonly name: "gameId";
|
|
121
|
+
readonly type: "uint256";
|
|
49
122
|
}];
|
|
50
|
-
readonly
|
|
123
|
+
readonly name: "LMF_SCORE_FEED_NOT_INITIALIZED";
|
|
124
|
+
readonly type: "error";
|
|
51
125
|
}, {
|
|
52
|
-
readonly
|
|
53
|
-
readonly name: "
|
|
126
|
+
readonly inputs: readonly [];
|
|
127
|
+
readonly name: "LM_ZERO_N_FACTOR";
|
|
128
|
+
readonly type: "error";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "LM_ZERO_ODDS";
|
|
132
|
+
readonly type: "error";
|
|
133
|
+
}, {
|
|
134
|
+
readonly anonymous: false;
|
|
54
135
|
readonly inputs: readonly [{
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
136
|
+
readonly indexed: true;
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "gameId";
|
|
139
|
+
readonly type: "uint256";
|
|
58
140
|
}, {
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
141
|
+
readonly indexed: true;
|
|
142
|
+
readonly internalType: "uint16";
|
|
143
|
+
readonly name: "levrSportsId";
|
|
144
|
+
readonly type: "uint16";
|
|
145
|
+
}, {
|
|
146
|
+
readonly indexed: false;
|
|
147
|
+
readonly internalType: "uint48";
|
|
148
|
+
readonly name: "registeredAt";
|
|
149
|
+
readonly type: "uint48";
|
|
67
150
|
}];
|
|
68
|
-
readonly
|
|
151
|
+
readonly name: "GameFeedInitialized";
|
|
152
|
+
readonly type: "event";
|
|
69
153
|
}, {
|
|
70
|
-
readonly
|
|
71
|
-
readonly name: "getLatestOdds";
|
|
154
|
+
readonly anonymous: false;
|
|
72
155
|
readonly inputs: readonly [{
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
156
|
+
readonly indexed: true;
|
|
157
|
+
readonly internalType: "address";
|
|
158
|
+
readonly name: "prevProvider";
|
|
159
|
+
readonly type: "address";
|
|
160
|
+
}, {
|
|
161
|
+
readonly indexed: true;
|
|
162
|
+
readonly internalType: "address";
|
|
163
|
+
readonly name: "newProvider";
|
|
164
|
+
readonly type: "address";
|
|
81
165
|
}];
|
|
82
|
-
readonly
|
|
166
|
+
readonly name: "LevrConfigProviderUpdated";
|
|
167
|
+
readonly type: "event";
|
|
83
168
|
}, {
|
|
84
|
-
readonly
|
|
85
|
-
readonly name: "getLatestPrice";
|
|
169
|
+
readonly anonymous: false;
|
|
86
170
|
readonly inputs: readonly [{
|
|
171
|
+
readonly indexed: true;
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "gameId";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly indexed: true;
|
|
177
|
+
readonly internalType: "bytes32";
|
|
87
178
|
readonly name: "gameMarketId";
|
|
88
179
|
readonly type: "bytes32";
|
|
89
|
-
readonly internalType: "bytes32";
|
|
90
180
|
}, {
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
readonly
|
|
181
|
+
readonly indexed: true;
|
|
182
|
+
readonly internalType: "bytes12";
|
|
183
|
+
readonly name: "levrSportsId";
|
|
184
|
+
readonly type: "bytes12";
|
|
185
|
+
}, {
|
|
186
|
+
readonly indexed: false;
|
|
187
|
+
readonly internalType: "uint48";
|
|
188
|
+
readonly name: "initializedAt";
|
|
189
|
+
readonly type: "uint48";
|
|
190
|
+
}, {
|
|
191
|
+
readonly indexed: false;
|
|
192
|
+
readonly internalType: "int256";
|
|
193
|
+
readonly name: "oddA";
|
|
194
|
+
readonly type: "int256";
|
|
195
|
+
}, {
|
|
196
|
+
readonly indexed: false;
|
|
197
|
+
readonly internalType: "int256";
|
|
198
|
+
readonly name: "oddB";
|
|
199
|
+
readonly type: "int256";
|
|
200
|
+
}, {
|
|
201
|
+
readonly indexed: false;
|
|
202
|
+
readonly internalType: "int256";
|
|
203
|
+
readonly name: "oddC";
|
|
204
|
+
readonly type: "int256";
|
|
205
|
+
}, {
|
|
206
|
+
readonly indexed: false;
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
readonly name: "priceA";
|
|
97
209
|
readonly type: "uint256";
|
|
210
|
+
}, {
|
|
211
|
+
readonly indexed: false;
|
|
212
|
+
readonly internalType: "uint256";
|
|
213
|
+
readonly name: "priceB";
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
}, {
|
|
216
|
+
readonly indexed: false;
|
|
98
217
|
readonly internalType: "uint256";
|
|
218
|
+
readonly name: "priceC";
|
|
219
|
+
readonly type: "uint256";
|
|
99
220
|
}];
|
|
100
|
-
readonly
|
|
221
|
+
readonly name: "MarketPricingInitialized";
|
|
222
|
+
readonly type: "event";
|
|
101
223
|
}, {
|
|
102
|
-
readonly
|
|
103
|
-
readonly name: "getLatestPrices";
|
|
224
|
+
readonly anonymous: false;
|
|
104
225
|
readonly inputs: readonly [{
|
|
105
|
-
readonly
|
|
226
|
+
readonly indexed: true;
|
|
227
|
+
readonly internalType: "uint256";
|
|
228
|
+
readonly name: "gameId";
|
|
229
|
+
readonly type: "uint256";
|
|
230
|
+
}, {
|
|
231
|
+
readonly indexed: true;
|
|
232
|
+
readonly internalType: "bytes32";
|
|
233
|
+
readonly name: "gameMarketId";
|
|
106
234
|
readonly type: "bytes32";
|
|
235
|
+
}, {
|
|
236
|
+
readonly indexed: true;
|
|
237
|
+
readonly internalType: "bytes12";
|
|
238
|
+
readonly name: "levrSportsId";
|
|
239
|
+
readonly type: "bytes12";
|
|
240
|
+
}, {
|
|
241
|
+
readonly indexed: false;
|
|
242
|
+
readonly internalType: "enum GameStatus";
|
|
243
|
+
readonly name: "gameStatus";
|
|
244
|
+
readonly type: "uint8";
|
|
245
|
+
}, {
|
|
246
|
+
readonly indexed: false;
|
|
247
|
+
readonly internalType: "uint48";
|
|
248
|
+
readonly name: "updatedAt";
|
|
249
|
+
readonly type: "uint48";
|
|
250
|
+
}, {
|
|
251
|
+
readonly indexed: false;
|
|
252
|
+
readonly internalType: "uint16";
|
|
253
|
+
readonly name: "gameProgressBps";
|
|
254
|
+
readonly type: "uint16";
|
|
255
|
+
}, {
|
|
256
|
+
readonly indexed: false;
|
|
257
|
+
readonly internalType: "int256";
|
|
258
|
+
readonly name: "oddA";
|
|
259
|
+
readonly type: "int256";
|
|
260
|
+
}, {
|
|
261
|
+
readonly indexed: false;
|
|
262
|
+
readonly internalType: "int256";
|
|
263
|
+
readonly name: "oddB";
|
|
264
|
+
readonly type: "int256";
|
|
265
|
+
}, {
|
|
266
|
+
readonly indexed: false;
|
|
267
|
+
readonly internalType: "int256";
|
|
268
|
+
readonly name: "oddC";
|
|
269
|
+
readonly type: "int256";
|
|
270
|
+
}, {
|
|
271
|
+
readonly indexed: false;
|
|
272
|
+
readonly internalType: "uint256";
|
|
273
|
+
readonly name: "priceA";
|
|
274
|
+
readonly type: "uint256";
|
|
275
|
+
}, {
|
|
276
|
+
readonly indexed: false;
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "priceB";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}, {
|
|
281
|
+
readonly indexed: false;
|
|
282
|
+
readonly internalType: "uint256";
|
|
283
|
+
readonly name: "priceC";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
}];
|
|
286
|
+
readonly name: "MarketPricingUpdated";
|
|
287
|
+
readonly type: "event";
|
|
288
|
+
}, {
|
|
289
|
+
readonly anonymous: false;
|
|
290
|
+
readonly inputs: readonly [{
|
|
291
|
+
readonly indexed: true;
|
|
292
|
+
readonly internalType: "uint256";
|
|
293
|
+
readonly name: "gameId";
|
|
294
|
+
readonly type: "uint256";
|
|
295
|
+
}, {
|
|
296
|
+
readonly indexed: true;
|
|
297
|
+
readonly internalType: "bytes12";
|
|
298
|
+
readonly name: "levrSportId";
|
|
299
|
+
readonly type: "bytes12";
|
|
300
|
+
}, {
|
|
301
|
+
readonly indexed: false;
|
|
302
|
+
readonly internalType: "uint16";
|
|
303
|
+
readonly name: "gameProgressBps";
|
|
304
|
+
readonly type: "uint16";
|
|
305
|
+
}, {
|
|
306
|
+
readonly indexed: false;
|
|
307
|
+
readonly internalType: "uint48";
|
|
308
|
+
readonly name: "scoreH";
|
|
309
|
+
readonly type: "uint48";
|
|
310
|
+
}, {
|
|
311
|
+
readonly indexed: false;
|
|
312
|
+
readonly internalType: "uint48";
|
|
313
|
+
readonly name: "scoreV";
|
|
314
|
+
readonly type: "uint48";
|
|
315
|
+
}];
|
|
316
|
+
readonly name: "ScoreDataUpdated";
|
|
317
|
+
readonly type: "event";
|
|
318
|
+
}, {
|
|
319
|
+
readonly inputs: readonly [];
|
|
320
|
+
readonly name: "PRICING_MARKER_CHUNK_SIZE";
|
|
321
|
+
readonly outputs: readonly [{
|
|
322
|
+
readonly internalType: "uint8";
|
|
323
|
+
readonly name: "";
|
|
324
|
+
readonly type: "uint8";
|
|
325
|
+
}];
|
|
326
|
+
readonly stateMutability: "view";
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
}, {
|
|
329
|
+
readonly inputs: readonly [{
|
|
107
330
|
readonly internalType: "bytes32";
|
|
331
|
+
readonly name: "gameMarketId";
|
|
332
|
+
readonly type: "bytes32";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "uint48";
|
|
335
|
+
readonly name: "targetTimestamp";
|
|
336
|
+
readonly type: "uint48";
|
|
108
337
|
}];
|
|
338
|
+
readonly name: "findLiquidationSliceStart";
|
|
109
339
|
readonly outputs: readonly [{
|
|
340
|
+
readonly internalType: "uint256";
|
|
110
341
|
readonly name: "";
|
|
111
|
-
readonly type: "uint256
|
|
112
|
-
readonly internalType: "uint256[]";
|
|
342
|
+
readonly type: "uint256";
|
|
113
343
|
}];
|
|
114
344
|
readonly stateMutability: "view";
|
|
345
|
+
readonly type: "function";
|
|
115
346
|
}, {
|
|
347
|
+
readonly inputs: readonly [{
|
|
348
|
+
readonly internalType: "bytes32";
|
|
349
|
+
readonly name: "gameMarketId";
|
|
350
|
+
readonly type: "bytes32";
|
|
351
|
+
}];
|
|
352
|
+
readonly name: "firstInGamePriceIndex";
|
|
353
|
+
readonly outputs: readonly [{
|
|
354
|
+
readonly internalType: "uint256";
|
|
355
|
+
readonly name: "priceIndex";
|
|
356
|
+
readonly type: "uint256";
|
|
357
|
+
}];
|
|
358
|
+
readonly stateMutability: "view";
|
|
116
359
|
readonly type: "function";
|
|
117
|
-
|
|
360
|
+
}, {
|
|
118
361
|
readonly inputs: readonly [{
|
|
362
|
+
readonly internalType: "bytes32";
|
|
119
363
|
readonly name: "gameMarketId";
|
|
120
364
|
readonly type: "bytes32";
|
|
365
|
+
}, {
|
|
366
|
+
readonly internalType: "enum Side";
|
|
367
|
+
readonly name: "side";
|
|
368
|
+
readonly type: "uint8";
|
|
369
|
+
}];
|
|
370
|
+
readonly name: "getLatestOdd";
|
|
371
|
+
readonly outputs: readonly [{
|
|
372
|
+
readonly internalType: "int256";
|
|
373
|
+
readonly name: "";
|
|
374
|
+
readonly type: "int256";
|
|
375
|
+
}];
|
|
376
|
+
readonly stateMutability: "view";
|
|
377
|
+
readonly type: "function";
|
|
378
|
+
}, {
|
|
379
|
+
readonly inputs: readonly [{
|
|
121
380
|
readonly internalType: "bytes32";
|
|
381
|
+
readonly name: "gameMarketId";
|
|
382
|
+
readonly type: "bytes32";
|
|
122
383
|
}];
|
|
384
|
+
readonly name: "getLatestOdds";
|
|
385
|
+
readonly outputs: readonly [{
|
|
386
|
+
readonly internalType: "int256[]";
|
|
387
|
+
readonly name: "";
|
|
388
|
+
readonly type: "int256[]";
|
|
389
|
+
}];
|
|
390
|
+
readonly stateMutability: "view";
|
|
391
|
+
readonly type: "function";
|
|
392
|
+
}, {
|
|
393
|
+
readonly inputs: readonly [{
|
|
394
|
+
readonly internalType: "bytes32";
|
|
395
|
+
readonly name: "gameMarketId";
|
|
396
|
+
readonly type: "bytes32";
|
|
397
|
+
}, {
|
|
398
|
+
readonly internalType: "enum Side";
|
|
399
|
+
readonly name: "side";
|
|
400
|
+
readonly type: "uint8";
|
|
401
|
+
}];
|
|
402
|
+
readonly name: "getLatestPrice";
|
|
403
|
+
readonly outputs: readonly [{
|
|
404
|
+
readonly internalType: "uint256";
|
|
405
|
+
readonly name: "";
|
|
406
|
+
readonly type: "uint256";
|
|
407
|
+
}];
|
|
408
|
+
readonly stateMutability: "view";
|
|
409
|
+
readonly type: "function";
|
|
410
|
+
}, {
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly internalType: "bytes32";
|
|
413
|
+
readonly name: "gameMarketId";
|
|
414
|
+
readonly type: "bytes32";
|
|
415
|
+
}];
|
|
416
|
+
readonly name: "getLatestPrices";
|
|
417
|
+
readonly outputs: readonly [{
|
|
418
|
+
readonly internalType: "uint256[]";
|
|
419
|
+
readonly name: "";
|
|
420
|
+
readonly type: "uint256[]";
|
|
421
|
+
}];
|
|
422
|
+
readonly stateMutability: "view";
|
|
423
|
+
readonly type: "function";
|
|
424
|
+
}, {
|
|
425
|
+
readonly inputs: readonly [{
|
|
426
|
+
readonly internalType: "bytes32";
|
|
427
|
+
readonly name: "gameMarketId";
|
|
428
|
+
readonly type: "bytes32";
|
|
429
|
+
}];
|
|
430
|
+
readonly name: "getLatestPricingData";
|
|
123
431
|
readonly outputs: readonly [{
|
|
124
|
-
readonly name: "pricing";
|
|
125
|
-
readonly type: "tuple";
|
|
126
|
-
readonly internalType: "struct PricingData";
|
|
127
432
|
readonly components: readonly [{
|
|
433
|
+
readonly internalType: "uint256";
|
|
128
434
|
readonly name: "gameId";
|
|
129
435
|
readonly type: "uint256";
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
436
|
}, {
|
|
437
|
+
readonly internalType: "uint256";
|
|
132
438
|
readonly name: "nFactor";
|
|
133
439
|
readonly type: "uint256";
|
|
134
|
-
readonly internalType: "uint256";
|
|
135
440
|
}, {
|
|
441
|
+
readonly internalType: "bytes32";
|
|
136
442
|
readonly name: "gameMarketId";
|
|
137
443
|
readonly type: "bytes32";
|
|
138
|
-
readonly internalType: "bytes32";
|
|
139
444
|
}, {
|
|
445
|
+
readonly internalType: "enum GameStatus";
|
|
140
446
|
readonly name: "status";
|
|
141
447
|
readonly type: "uint8";
|
|
142
|
-
readonly internalType: "enum GameStatus";
|
|
143
448
|
}, {
|
|
449
|
+
readonly internalType: "int256[]";
|
|
144
450
|
readonly name: "odds";
|
|
145
451
|
readonly type: "int256[]";
|
|
146
|
-
readonly internalType: "int256[]";
|
|
147
452
|
}, {
|
|
453
|
+
readonly internalType: "uint256[]";
|
|
148
454
|
readonly name: "prices";
|
|
149
455
|
readonly type: "uint256[]";
|
|
150
|
-
readonly internalType: "uint256[]";
|
|
151
456
|
}, {
|
|
457
|
+
readonly internalType: "uint48";
|
|
152
458
|
readonly name: "updatedAt";
|
|
153
459
|
readonly type: "uint48";
|
|
154
|
-
readonly internalType: "uint48";
|
|
155
460
|
}, {
|
|
461
|
+
readonly internalType: "uint16";
|
|
156
462
|
readonly name: "gameProgressBps";
|
|
157
463
|
readonly type: "uint16";
|
|
158
|
-
readonly internalType: "uint16";
|
|
159
464
|
}, {
|
|
465
|
+
readonly internalType: "bytes";
|
|
160
466
|
readonly name: "customData";
|
|
161
467
|
readonly type: "bytes";
|
|
162
|
-
readonly internalType: "bytes";
|
|
163
468
|
}];
|
|
469
|
+
readonly internalType: "struct PricingData";
|
|
470
|
+
readonly name: "pricing";
|
|
471
|
+
readonly type: "tuple";
|
|
164
472
|
}];
|
|
165
473
|
readonly stateMutability: "view";
|
|
166
|
-
}, {
|
|
167
474
|
readonly type: "function";
|
|
168
|
-
|
|
475
|
+
}, {
|
|
169
476
|
readonly inputs: readonly [{
|
|
477
|
+
readonly internalType: "uint256";
|
|
170
478
|
readonly name: "gameId";
|
|
171
479
|
readonly type: "uint256";
|
|
172
|
-
readonly internalType: "uint256";
|
|
173
480
|
}];
|
|
481
|
+
readonly name: "getLatestScoreData";
|
|
174
482
|
readonly outputs: readonly [{
|
|
175
|
-
readonly name: "scores";
|
|
176
|
-
readonly type: "tuple";
|
|
177
|
-
readonly internalType: "struct ScoreData";
|
|
178
483
|
readonly components: readonly [{
|
|
484
|
+
readonly internalType: "enum GameStatus";
|
|
179
485
|
readonly name: "status";
|
|
180
486
|
readonly type: "uint8";
|
|
181
|
-
readonly internalType: "enum GameStatus";
|
|
182
487
|
}, {
|
|
488
|
+
readonly internalType: "uint48";
|
|
183
489
|
readonly name: "scoreH";
|
|
184
490
|
readonly type: "uint48";
|
|
185
|
-
readonly internalType: "uint48";
|
|
186
491
|
}, {
|
|
492
|
+
readonly internalType: "uint48";
|
|
187
493
|
readonly name: "scoreV";
|
|
188
494
|
readonly type: "uint48";
|
|
189
|
-
readonly internalType: "uint48";
|
|
190
495
|
}, {
|
|
496
|
+
readonly internalType: "uint48";
|
|
191
497
|
readonly name: "updatedAt";
|
|
192
498
|
readonly type: "uint48";
|
|
193
|
-
readonly internalType: "uint48";
|
|
194
499
|
}, {
|
|
500
|
+
readonly internalType: "uint16";
|
|
195
501
|
readonly name: "gameProgressBps";
|
|
196
502
|
readonly type: "uint16";
|
|
197
|
-
readonly internalType: "uint16";
|
|
198
503
|
}];
|
|
504
|
+
readonly internalType: "struct ScoreData";
|
|
505
|
+
readonly name: "scores";
|
|
506
|
+
readonly type: "tuple";
|
|
199
507
|
}];
|
|
200
508
|
readonly stateMutability: "view";
|
|
201
|
-
}, {
|
|
202
509
|
readonly type: "function";
|
|
203
|
-
|
|
510
|
+
}, {
|
|
204
511
|
readonly inputs: readonly [{
|
|
512
|
+
readonly internalType: "uint256";
|
|
205
513
|
readonly name: "gameId";
|
|
206
514
|
readonly type: "uint256";
|
|
207
|
-
readonly internalType: "uint256";
|
|
208
515
|
}];
|
|
516
|
+
readonly name: "getLatestScores";
|
|
209
517
|
readonly outputs: readonly [{
|
|
518
|
+
readonly internalType: "uint48";
|
|
210
519
|
readonly name: "scoreH";
|
|
211
520
|
readonly type: "uint48";
|
|
212
|
-
readonly internalType: "uint48";
|
|
213
521
|
}, {
|
|
522
|
+
readonly internalType: "uint48";
|
|
214
523
|
readonly name: "scoreV";
|
|
215
524
|
readonly type: "uint48";
|
|
216
|
-
readonly internalType: "uint48";
|
|
217
525
|
}];
|
|
218
526
|
readonly stateMutability: "view";
|
|
219
|
-
}, {
|
|
220
527
|
readonly type: "function";
|
|
221
|
-
|
|
528
|
+
}, {
|
|
222
529
|
readonly inputs: readonly [{
|
|
530
|
+
readonly internalType: "bytes32";
|
|
223
531
|
readonly name: "gameMarketId";
|
|
224
532
|
readonly type: "bytes32";
|
|
225
|
-
readonly internalType: "bytes32";
|
|
226
533
|
}, {
|
|
534
|
+
readonly internalType: "uint256";
|
|
227
535
|
readonly name: "liquidationPrice";
|
|
228
536
|
readonly type: "uint256";
|
|
229
|
-
readonly internalType: "uint256";
|
|
230
537
|
}, {
|
|
538
|
+
readonly internalType: "enum Side";
|
|
231
539
|
readonly name: "side";
|
|
232
540
|
readonly type: "uint8";
|
|
233
|
-
readonly internalType: "enum Side";
|
|
234
541
|
}, {
|
|
542
|
+
readonly internalType: "uint48";
|
|
235
543
|
readonly name: "positionOpenedAt";
|
|
236
544
|
readonly type: "uint48";
|
|
237
|
-
readonly internalType: "uint48";
|
|
238
545
|
}];
|
|
546
|
+
readonly name: "getPriceDataForLiquidation";
|
|
239
547
|
readonly outputs: readonly [{
|
|
240
|
-
readonly name: "liquidationPriceData";
|
|
241
|
-
readonly type: "tuple";
|
|
242
|
-
readonly internalType: "struct PricingData";
|
|
243
548
|
readonly components: readonly [{
|
|
549
|
+
readonly internalType: "uint256";
|
|
244
550
|
readonly name: "gameId";
|
|
245
551
|
readonly type: "uint256";
|
|
246
|
-
readonly internalType: "uint256";
|
|
247
552
|
}, {
|
|
553
|
+
readonly internalType: "uint256";
|
|
248
554
|
readonly name: "nFactor";
|
|
249
555
|
readonly type: "uint256";
|
|
250
|
-
readonly internalType: "uint256";
|
|
251
556
|
}, {
|
|
557
|
+
readonly internalType: "bytes32";
|
|
252
558
|
readonly name: "gameMarketId";
|
|
253
559
|
readonly type: "bytes32";
|
|
254
|
-
readonly internalType: "bytes32";
|
|
255
560
|
}, {
|
|
561
|
+
readonly internalType: "enum GameStatus";
|
|
256
562
|
readonly name: "status";
|
|
257
563
|
readonly type: "uint8";
|
|
258
|
-
readonly internalType: "enum GameStatus";
|
|
259
564
|
}, {
|
|
565
|
+
readonly internalType: "int256[]";
|
|
260
566
|
readonly name: "odds";
|
|
261
567
|
readonly type: "int256[]";
|
|
262
|
-
readonly internalType: "int256[]";
|
|
263
568
|
}, {
|
|
569
|
+
readonly internalType: "uint256[]";
|
|
264
570
|
readonly name: "prices";
|
|
265
571
|
readonly type: "uint256[]";
|
|
266
|
-
readonly internalType: "uint256[]";
|
|
267
572
|
}, {
|
|
573
|
+
readonly internalType: "uint48";
|
|
268
574
|
readonly name: "updatedAt";
|
|
269
575
|
readonly type: "uint48";
|
|
270
|
-
readonly internalType: "uint48";
|
|
271
576
|
}, {
|
|
577
|
+
readonly internalType: "uint16";
|
|
272
578
|
readonly name: "gameProgressBps";
|
|
273
579
|
readonly type: "uint16";
|
|
274
|
-
readonly internalType: "uint16";
|
|
275
580
|
}, {
|
|
581
|
+
readonly internalType: "bytes";
|
|
276
582
|
readonly name: "customData";
|
|
277
583
|
readonly type: "bytes";
|
|
278
|
-
readonly internalType: "bytes";
|
|
279
584
|
}];
|
|
585
|
+
readonly internalType: "struct PricingData";
|
|
586
|
+
readonly name: "liquidationPriceData";
|
|
587
|
+
readonly type: "tuple";
|
|
280
588
|
}];
|
|
281
589
|
readonly stateMutability: "view";
|
|
282
|
-
}, {
|
|
283
590
|
readonly type: "function";
|
|
284
|
-
|
|
591
|
+
}, {
|
|
285
592
|
readonly inputs: readonly [{
|
|
593
|
+
readonly internalType: "bytes16";
|
|
286
594
|
readonly name: "levrMarketId";
|
|
287
595
|
readonly type: "bytes16";
|
|
288
|
-
readonly internalType: "bytes16";
|
|
289
596
|
}, {
|
|
597
|
+
readonly internalType: "bytes32[]";
|
|
290
598
|
readonly name: "positionIds";
|
|
291
599
|
readonly type: "bytes32[]";
|
|
292
|
-
readonly internalType: "bytes32[]";
|
|
293
600
|
}];
|
|
601
|
+
readonly name: "getPriceDataForLiquidations";
|
|
294
602
|
readonly outputs: readonly [{
|
|
295
|
-
readonly name: "liquidationPriceData";
|
|
296
|
-
readonly type: "tuple[]";
|
|
297
|
-
readonly internalType: "struct PricingData[]";
|
|
298
603
|
readonly components: readonly [{
|
|
604
|
+
readonly internalType: "uint256";
|
|
299
605
|
readonly name: "gameId";
|
|
300
606
|
readonly type: "uint256";
|
|
301
|
-
readonly internalType: "uint256";
|
|
302
607
|
}, {
|
|
608
|
+
readonly internalType: "uint256";
|
|
303
609
|
readonly name: "nFactor";
|
|
304
610
|
readonly type: "uint256";
|
|
305
|
-
readonly internalType: "uint256";
|
|
306
611
|
}, {
|
|
612
|
+
readonly internalType: "bytes32";
|
|
307
613
|
readonly name: "gameMarketId";
|
|
308
614
|
readonly type: "bytes32";
|
|
309
|
-
readonly internalType: "bytes32";
|
|
310
615
|
}, {
|
|
616
|
+
readonly internalType: "enum GameStatus";
|
|
311
617
|
readonly name: "status";
|
|
312
618
|
readonly type: "uint8";
|
|
313
|
-
readonly internalType: "enum GameStatus";
|
|
314
619
|
}, {
|
|
620
|
+
readonly internalType: "int256[]";
|
|
315
621
|
readonly name: "odds";
|
|
316
622
|
readonly type: "int256[]";
|
|
317
|
-
readonly internalType: "int256[]";
|
|
318
623
|
}, {
|
|
624
|
+
readonly internalType: "uint256[]";
|
|
319
625
|
readonly name: "prices";
|
|
320
626
|
readonly type: "uint256[]";
|
|
321
|
-
readonly internalType: "uint256[]";
|
|
322
627
|
}, {
|
|
628
|
+
readonly internalType: "uint48";
|
|
323
629
|
readonly name: "updatedAt";
|
|
324
630
|
readonly type: "uint48";
|
|
325
|
-
readonly internalType: "uint48";
|
|
326
631
|
}, {
|
|
632
|
+
readonly internalType: "uint16";
|
|
327
633
|
readonly name: "gameProgressBps";
|
|
328
634
|
readonly type: "uint16";
|
|
329
|
-
readonly internalType: "uint16";
|
|
330
635
|
}, {
|
|
636
|
+
readonly internalType: "bytes";
|
|
331
637
|
readonly name: "customData";
|
|
332
638
|
readonly type: "bytes";
|
|
333
|
-
readonly internalType: "bytes";
|
|
334
639
|
}];
|
|
640
|
+
readonly internalType: "struct PricingData[]";
|
|
641
|
+
readonly name: "liquidationPriceData";
|
|
642
|
+
readonly type: "tuple[]";
|
|
335
643
|
}];
|
|
336
644
|
readonly stateMutability: "view";
|
|
337
|
-
}, {
|
|
338
645
|
readonly type: "function";
|
|
339
|
-
|
|
646
|
+
}, {
|
|
340
647
|
readonly inputs: readonly [{
|
|
648
|
+
readonly internalType: "bytes32";
|
|
341
649
|
readonly name: "gameMarketId";
|
|
342
650
|
readonly type: "bytes32";
|
|
343
|
-
readonly internalType: "bytes32";
|
|
344
651
|
}];
|
|
652
|
+
readonly name: "getPriceUpdateMarkers";
|
|
345
653
|
readonly outputs: readonly [{
|
|
346
|
-
readonly name: "markers";
|
|
347
|
-
readonly type: "tuple[]";
|
|
348
|
-
readonly internalType: "struct PriceUpdateMarker[]";
|
|
349
654
|
readonly components: readonly [{
|
|
655
|
+
readonly internalType: "uint256";
|
|
350
656
|
readonly name: "minPriceA";
|
|
351
657
|
readonly type: "uint256";
|
|
352
|
-
readonly internalType: "uint256";
|
|
353
658
|
}, {
|
|
659
|
+
readonly internalType: "uint256";
|
|
354
660
|
readonly name: "minPriceB";
|
|
355
661
|
readonly type: "uint256";
|
|
356
|
-
readonly internalType: "uint256";
|
|
357
662
|
}, {
|
|
663
|
+
readonly internalType: "uint256";
|
|
358
664
|
readonly name: "minPriceC";
|
|
359
665
|
readonly type: "uint256";
|
|
360
|
-
readonly internalType: "uint256";
|
|
361
666
|
}, {
|
|
667
|
+
readonly internalType: "uint256";
|
|
362
668
|
readonly name: "maxPriceA";
|
|
363
669
|
readonly type: "uint256";
|
|
364
|
-
readonly internalType: "uint256";
|
|
365
670
|
}, {
|
|
671
|
+
readonly internalType: "uint256";
|
|
366
672
|
readonly name: "maxPriceB";
|
|
367
673
|
readonly type: "uint256";
|
|
368
|
-
readonly internalType: "uint256";
|
|
369
674
|
}, {
|
|
675
|
+
readonly internalType: "uint256";
|
|
370
676
|
readonly name: "maxPriceC";
|
|
371
677
|
readonly type: "uint256";
|
|
372
|
-
readonly internalType: "uint256";
|
|
373
678
|
}];
|
|
679
|
+
readonly internalType: "struct PriceUpdateMarker[]";
|
|
680
|
+
readonly name: "markers";
|
|
681
|
+
readonly type: "tuple[]";
|
|
374
682
|
}];
|
|
375
683
|
readonly stateMutability: "view";
|
|
376
|
-
}, {
|
|
377
684
|
readonly type: "function";
|
|
378
|
-
|
|
685
|
+
}, {
|
|
379
686
|
readonly inputs: readonly [{
|
|
687
|
+
readonly internalType: "bytes32";
|
|
380
688
|
readonly name: "gameMarketId";
|
|
381
689
|
readonly type: "bytes32";
|
|
382
|
-
readonly internalType: "bytes32";
|
|
383
690
|
}];
|
|
691
|
+
readonly name: "getPricingData";
|
|
384
692
|
readonly outputs: readonly [{
|
|
385
|
-
readonly name: "";
|
|
386
|
-
readonly type: "tuple[]";
|
|
387
|
-
readonly internalType: "struct PricingData[]";
|
|
388
693
|
readonly components: readonly [{
|
|
694
|
+
readonly internalType: "uint256";
|
|
389
695
|
readonly name: "gameId";
|
|
390
696
|
readonly type: "uint256";
|
|
391
|
-
readonly internalType: "uint256";
|
|
392
697
|
}, {
|
|
698
|
+
readonly internalType: "uint256";
|
|
393
699
|
readonly name: "nFactor";
|
|
394
700
|
readonly type: "uint256";
|
|
395
|
-
readonly internalType: "uint256";
|
|
396
701
|
}, {
|
|
702
|
+
readonly internalType: "bytes32";
|
|
397
703
|
readonly name: "gameMarketId";
|
|
398
704
|
readonly type: "bytes32";
|
|
399
|
-
readonly internalType: "bytes32";
|
|
400
705
|
}, {
|
|
706
|
+
readonly internalType: "enum GameStatus";
|
|
401
707
|
readonly name: "status";
|
|
402
708
|
readonly type: "uint8";
|
|
403
|
-
readonly internalType: "enum GameStatus";
|
|
404
709
|
}, {
|
|
710
|
+
readonly internalType: "int256[]";
|
|
405
711
|
readonly name: "odds";
|
|
406
712
|
readonly type: "int256[]";
|
|
407
|
-
readonly internalType: "int256[]";
|
|
408
713
|
}, {
|
|
714
|
+
readonly internalType: "uint256[]";
|
|
409
715
|
readonly name: "prices";
|
|
410
716
|
readonly type: "uint256[]";
|
|
411
|
-
readonly internalType: "uint256[]";
|
|
412
717
|
}, {
|
|
718
|
+
readonly internalType: "uint48";
|
|
413
719
|
readonly name: "updatedAt";
|
|
414
720
|
readonly type: "uint48";
|
|
415
|
-
readonly internalType: "uint48";
|
|
416
721
|
}, {
|
|
722
|
+
readonly internalType: "uint16";
|
|
417
723
|
readonly name: "gameProgressBps";
|
|
418
724
|
readonly type: "uint16";
|
|
419
|
-
readonly internalType: "uint16";
|
|
420
725
|
}, {
|
|
726
|
+
readonly internalType: "bytes";
|
|
421
727
|
readonly name: "customData";
|
|
422
728
|
readonly type: "bytes";
|
|
423
|
-
readonly internalType: "bytes";
|
|
424
729
|
}];
|
|
730
|
+
readonly internalType: "struct PricingData[]";
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "tuple[]";
|
|
425
733
|
}];
|
|
426
734
|
readonly stateMutability: "view";
|
|
427
|
-
}, {
|
|
428
735
|
readonly type: "function";
|
|
429
|
-
|
|
736
|
+
}, {
|
|
430
737
|
readonly inputs: readonly [{
|
|
738
|
+
readonly internalType: "uint256";
|
|
431
739
|
readonly name: "gameId";
|
|
432
740
|
readonly type: "uint256";
|
|
433
|
-
readonly internalType: "uint256";
|
|
434
741
|
}];
|
|
742
|
+
readonly name: "getScoreData";
|
|
435
743
|
readonly outputs: readonly [{
|
|
436
|
-
readonly name: "";
|
|
437
|
-
readonly type: "tuple[]";
|
|
438
|
-
readonly internalType: "struct ScoreData[]";
|
|
439
744
|
readonly components: readonly [{
|
|
745
|
+
readonly internalType: "enum GameStatus";
|
|
440
746
|
readonly name: "status";
|
|
441
747
|
readonly type: "uint8";
|
|
442
|
-
readonly internalType: "enum GameStatus";
|
|
443
748
|
}, {
|
|
749
|
+
readonly internalType: "uint48";
|
|
444
750
|
readonly name: "scoreH";
|
|
445
751
|
readonly type: "uint48";
|
|
446
|
-
readonly internalType: "uint48";
|
|
447
752
|
}, {
|
|
753
|
+
readonly internalType: "uint48";
|
|
448
754
|
readonly name: "scoreV";
|
|
449
755
|
readonly type: "uint48";
|
|
450
|
-
readonly internalType: "uint48";
|
|
451
756
|
}, {
|
|
757
|
+
readonly internalType: "uint48";
|
|
452
758
|
readonly name: "updatedAt";
|
|
453
759
|
readonly type: "uint48";
|
|
454
|
-
readonly internalType: "uint48";
|
|
455
760
|
}, {
|
|
761
|
+
readonly internalType: "uint16";
|
|
456
762
|
readonly name: "gameProgressBps";
|
|
457
763
|
readonly type: "uint16";
|
|
458
|
-
readonly internalType: "uint16";
|
|
459
764
|
}];
|
|
765
|
+
readonly internalType: "struct ScoreData[]";
|
|
766
|
+
readonly name: "";
|
|
767
|
+
readonly type: "tuple[]";
|
|
460
768
|
}];
|
|
461
769
|
readonly stateMutability: "view";
|
|
462
|
-
}, {
|
|
463
770
|
readonly type: "function";
|
|
464
|
-
|
|
771
|
+
}, {
|
|
465
772
|
readonly inputs: readonly [{
|
|
773
|
+
readonly internalType: "bytes32";
|
|
466
774
|
readonly name: "gameMarketId";
|
|
467
775
|
readonly type: "bytes32";
|
|
468
|
-
readonly internalType: "bytes32";
|
|
469
776
|
}, {
|
|
777
|
+
readonly internalType: "uint256";
|
|
470
778
|
readonly name: "nFactor";
|
|
471
779
|
readonly type: "uint256";
|
|
472
|
-
readonly internalType: "uint256";
|
|
473
780
|
}, {
|
|
781
|
+
readonly internalType: "int256[]";
|
|
474
782
|
readonly name: "odds";
|
|
475
783
|
readonly type: "int256[]";
|
|
476
|
-
readonly internalType: "int256[]";
|
|
477
784
|
}];
|
|
785
|
+
readonly name: "initializeGameMarketFeed";
|
|
478
786
|
readonly outputs: readonly [];
|
|
479
787
|
readonly stateMutability: "nonpayable";
|
|
480
|
-
}, {
|
|
481
788
|
readonly type: "function";
|
|
482
|
-
|
|
789
|
+
}, {
|
|
483
790
|
readonly inputs: readonly [{
|
|
791
|
+
readonly internalType: "bytes32";
|
|
484
792
|
readonly name: "gameMarketId";
|
|
485
793
|
readonly type: "bytes32";
|
|
486
|
-
readonly internalType: "bytes32";
|
|
487
794
|
}, {
|
|
795
|
+
readonly internalType: "uint256";
|
|
488
796
|
readonly name: "liquidationPrice";
|
|
489
797
|
readonly type: "uint256";
|
|
490
|
-
readonly internalType: "uint256";
|
|
491
798
|
}, {
|
|
799
|
+
readonly internalType: "enum Side";
|
|
492
800
|
readonly name: "side";
|
|
493
801
|
readonly type: "uint8";
|
|
494
|
-
readonly internalType: "enum Side";
|
|
495
802
|
}, {
|
|
803
|
+
readonly internalType: "uint48";
|
|
496
804
|
readonly name: "positionOpenedAt";
|
|
497
805
|
readonly type: "uint48";
|
|
498
|
-
readonly internalType: "uint48";
|
|
499
806
|
}];
|
|
807
|
+
readonly name: "isMarkedForLiquidation";
|
|
500
808
|
readonly outputs: readonly [{
|
|
809
|
+
readonly internalType: "bool";
|
|
501
810
|
readonly name: "";
|
|
502
811
|
readonly type: "bool";
|
|
503
|
-
readonly internalType: "bool";
|
|
504
812
|
}];
|
|
505
813
|
readonly stateMutability: "view";
|
|
506
|
-
}, {
|
|
507
814
|
readonly type: "function";
|
|
508
|
-
|
|
815
|
+
}, {
|
|
509
816
|
readonly inputs: readonly [];
|
|
817
|
+
readonly name: "levrConfigProvider";
|
|
510
818
|
readonly outputs: readonly [{
|
|
819
|
+
readonly internalType: "address";
|
|
511
820
|
readonly name: "";
|
|
512
821
|
readonly type: "address";
|
|
513
|
-
readonly internalType: "address";
|
|
514
822
|
}];
|
|
515
823
|
readonly stateMutability: "view";
|
|
516
|
-
}, {
|
|
517
824
|
readonly type: "function";
|
|
518
|
-
|
|
825
|
+
}, {
|
|
519
826
|
readonly inputs: readonly [{
|
|
827
|
+
readonly internalType: "bytes4";
|
|
520
828
|
readonly name: "interfaceId";
|
|
521
829
|
readonly type: "bytes4";
|
|
522
|
-
readonly internalType: "bytes4";
|
|
523
830
|
}];
|
|
831
|
+
readonly name: "supportsInterface";
|
|
524
832
|
readonly outputs: readonly [{
|
|
833
|
+
readonly internalType: "bool";
|
|
525
834
|
readonly name: "";
|
|
526
835
|
readonly type: "bool";
|
|
527
|
-
readonly internalType: "bool";
|
|
528
836
|
}];
|
|
529
837
|
readonly stateMutability: "view";
|
|
530
|
-
}, {
|
|
531
838
|
readonly type: "function";
|
|
532
|
-
|
|
839
|
+
}, {
|
|
533
840
|
readonly inputs: readonly [{
|
|
841
|
+
readonly internalType: "uint256";
|
|
534
842
|
readonly name: "gameId";
|
|
535
843
|
readonly type: "uint256";
|
|
536
|
-
readonly internalType: "uint256";
|
|
537
844
|
}, {
|
|
845
|
+
readonly internalType: "uint16";
|
|
538
846
|
readonly name: "gameProgressBps";
|
|
539
847
|
readonly type: "uint16";
|
|
540
|
-
readonly internalType: "uint16";
|
|
541
848
|
}, {
|
|
849
|
+
readonly internalType: "uint48";
|
|
542
850
|
readonly name: "scoreH";
|
|
543
851
|
readonly type: "uint48";
|
|
544
|
-
readonly internalType: "uint48";
|
|
545
852
|
}, {
|
|
853
|
+
readonly internalType: "uint48";
|
|
546
854
|
readonly name: "scoreV";
|
|
547
855
|
readonly type: "uint48";
|
|
548
|
-
readonly internalType: "uint48";
|
|
549
856
|
}];
|
|
857
|
+
readonly name: "updateGameScores";
|
|
550
858
|
readonly outputs: readonly [];
|
|
551
859
|
readonly stateMutability: "nonpayable";
|
|
552
|
-
}, {
|
|
553
860
|
readonly type: "function";
|
|
554
|
-
|
|
861
|
+
}, {
|
|
555
862
|
readonly inputs: readonly [{
|
|
863
|
+
readonly internalType: "address";
|
|
556
864
|
readonly name: "newLevrConfigProvider";
|
|
557
865
|
readonly type: "address";
|
|
558
|
-
readonly internalType: "address";
|
|
559
866
|
}];
|
|
867
|
+
readonly name: "updateLevrConfigProvider";
|
|
560
868
|
readonly outputs: readonly [];
|
|
561
869
|
readonly stateMutability: "nonpayable";
|
|
562
|
-
}, {
|
|
563
870
|
readonly type: "function";
|
|
564
|
-
|
|
871
|
+
}, {
|
|
565
872
|
readonly inputs: readonly [{
|
|
873
|
+
readonly internalType: "bytes32";
|
|
566
874
|
readonly name: "gameMarketId";
|
|
567
875
|
readonly type: "bytes32";
|
|
568
|
-
readonly internalType: "bytes32";
|
|
569
876
|
}, {
|
|
877
|
+
readonly internalType: "bytes16";
|
|
570
878
|
readonly name: "levrMarketId";
|
|
571
879
|
readonly type: "bytes16";
|
|
572
|
-
readonly internalType: "bytes16";
|
|
573
880
|
}, {
|
|
881
|
+
readonly internalType: "uint256";
|
|
574
882
|
readonly name: "nFactor";
|
|
575
883
|
readonly type: "uint256";
|
|
576
|
-
readonly internalType: "uint256";
|
|
577
884
|
}, {
|
|
885
|
+
readonly internalType: "uint16";
|
|
578
886
|
readonly name: "gameProgressBps";
|
|
579
887
|
readonly type: "uint16";
|
|
580
|
-
readonly internalType: "uint16";
|
|
581
888
|
}, {
|
|
889
|
+
readonly internalType: "int256[]";
|
|
582
890
|
readonly name: "odds";
|
|
583
891
|
readonly type: "int256[]";
|
|
584
|
-
readonly internalType: "int256[]";
|
|
585
892
|
}, {
|
|
893
|
+
readonly internalType: "bytes";
|
|
586
894
|
readonly name: "data";
|
|
587
895
|
readonly type: "bytes";
|
|
588
|
-
readonly internalType: "bytes";
|
|
589
896
|
}];
|
|
897
|
+
readonly name: "updateMarketOdds";
|
|
590
898
|
readonly outputs: readonly [];
|
|
591
899
|
readonly stateMutability: "nonpayable";
|
|
592
|
-
|
|
593
|
-
readonly type: "event";
|
|
594
|
-
readonly name: "GameFeedInitialized";
|
|
595
|
-
readonly inputs: readonly [{
|
|
596
|
-
readonly name: "gameId";
|
|
597
|
-
readonly type: "uint256";
|
|
598
|
-
readonly indexed: true;
|
|
599
|
-
readonly internalType: "uint256";
|
|
600
|
-
}, {
|
|
601
|
-
readonly name: "levrSportsId";
|
|
602
|
-
readonly type: "uint16";
|
|
603
|
-
readonly indexed: true;
|
|
604
|
-
readonly internalType: "uint16";
|
|
605
|
-
}, {
|
|
606
|
-
readonly name: "registeredAt";
|
|
607
|
-
readonly type: "uint48";
|
|
608
|
-
readonly indexed: false;
|
|
609
|
-
readonly internalType: "uint48";
|
|
610
|
-
}];
|
|
611
|
-
readonly anonymous: false;
|
|
612
|
-
}, {
|
|
613
|
-
readonly type: "event";
|
|
614
|
-
readonly name: "LevrConfigProviderUpdated";
|
|
615
|
-
readonly inputs: readonly [{
|
|
616
|
-
readonly name: "prevProvider";
|
|
617
|
-
readonly type: "address";
|
|
618
|
-
readonly indexed: true;
|
|
619
|
-
readonly internalType: "address";
|
|
620
|
-
}, {
|
|
621
|
-
readonly name: "newProvider";
|
|
622
|
-
readonly type: "address";
|
|
623
|
-
readonly indexed: true;
|
|
624
|
-
readonly internalType: "address";
|
|
625
|
-
}];
|
|
626
|
-
readonly anonymous: false;
|
|
627
|
-
}, {
|
|
628
|
-
readonly type: "event";
|
|
629
|
-
readonly name: "MarketPricingInitialized";
|
|
630
|
-
readonly inputs: readonly [{
|
|
631
|
-
readonly name: "gameId";
|
|
632
|
-
readonly type: "uint256";
|
|
633
|
-
readonly indexed: true;
|
|
634
|
-
readonly internalType: "uint256";
|
|
635
|
-
}, {
|
|
636
|
-
readonly name: "gameMarketId";
|
|
637
|
-
readonly type: "bytes32";
|
|
638
|
-
readonly indexed: true;
|
|
639
|
-
readonly internalType: "bytes32";
|
|
640
|
-
}, {
|
|
641
|
-
readonly name: "levrSportsId";
|
|
642
|
-
readonly type: "bytes12";
|
|
643
|
-
readonly indexed: true;
|
|
644
|
-
readonly internalType: "bytes12";
|
|
645
|
-
}, {
|
|
646
|
-
readonly name: "initializedAt";
|
|
647
|
-
readonly type: "uint48";
|
|
648
|
-
readonly indexed: false;
|
|
649
|
-
readonly internalType: "uint48";
|
|
650
|
-
}, {
|
|
651
|
-
readonly name: "oddA";
|
|
652
|
-
readonly type: "int256";
|
|
653
|
-
readonly indexed: false;
|
|
654
|
-
readonly internalType: "int256";
|
|
655
|
-
}, {
|
|
656
|
-
readonly name: "oddB";
|
|
657
|
-
readonly type: "int256";
|
|
658
|
-
readonly indexed: false;
|
|
659
|
-
readonly internalType: "int256";
|
|
660
|
-
}, {
|
|
661
|
-
readonly name: "oddC";
|
|
662
|
-
readonly type: "int256";
|
|
663
|
-
readonly indexed: false;
|
|
664
|
-
readonly internalType: "int256";
|
|
665
|
-
}, {
|
|
666
|
-
readonly name: "priceA";
|
|
667
|
-
readonly type: "uint256";
|
|
668
|
-
readonly indexed: false;
|
|
669
|
-
readonly internalType: "uint256";
|
|
670
|
-
}, {
|
|
671
|
-
readonly name: "priceB";
|
|
672
|
-
readonly type: "uint256";
|
|
673
|
-
readonly indexed: false;
|
|
674
|
-
readonly internalType: "uint256";
|
|
675
|
-
}, {
|
|
676
|
-
readonly name: "priceC";
|
|
677
|
-
readonly type: "uint256";
|
|
678
|
-
readonly indexed: false;
|
|
679
|
-
readonly internalType: "uint256";
|
|
680
|
-
}];
|
|
681
|
-
readonly anonymous: false;
|
|
682
|
-
}, {
|
|
683
|
-
readonly type: "event";
|
|
684
|
-
readonly name: "MarketPricingUpdated";
|
|
685
|
-
readonly inputs: readonly [{
|
|
686
|
-
readonly name: "gameId";
|
|
687
|
-
readonly type: "uint256";
|
|
688
|
-
readonly indexed: true;
|
|
689
|
-
readonly internalType: "uint256";
|
|
690
|
-
}, {
|
|
691
|
-
readonly name: "gameMarketId";
|
|
692
|
-
readonly type: "bytes32";
|
|
693
|
-
readonly indexed: true;
|
|
694
|
-
readonly internalType: "bytes32";
|
|
695
|
-
}, {
|
|
696
|
-
readonly name: "levrSportsId";
|
|
697
|
-
readonly type: "bytes12";
|
|
698
|
-
readonly indexed: true;
|
|
699
|
-
readonly internalType: "bytes12";
|
|
700
|
-
}, {
|
|
701
|
-
readonly name: "gameStatus";
|
|
702
|
-
readonly type: "uint8";
|
|
703
|
-
readonly indexed: false;
|
|
704
|
-
readonly internalType: "enum GameStatus";
|
|
705
|
-
}, {
|
|
706
|
-
readonly name: "updatedAt";
|
|
707
|
-
readonly type: "uint48";
|
|
708
|
-
readonly indexed: false;
|
|
709
|
-
readonly internalType: "uint48";
|
|
710
|
-
}, {
|
|
711
|
-
readonly name: "gameProgressBps";
|
|
712
|
-
readonly type: "uint16";
|
|
713
|
-
readonly indexed: false;
|
|
714
|
-
readonly internalType: "uint16";
|
|
715
|
-
}, {
|
|
716
|
-
readonly name: "oddA";
|
|
717
|
-
readonly type: "int256";
|
|
718
|
-
readonly indexed: false;
|
|
719
|
-
readonly internalType: "int256";
|
|
720
|
-
}, {
|
|
721
|
-
readonly name: "oddB";
|
|
722
|
-
readonly type: "int256";
|
|
723
|
-
readonly indexed: false;
|
|
724
|
-
readonly internalType: "int256";
|
|
725
|
-
}, {
|
|
726
|
-
readonly name: "oddC";
|
|
727
|
-
readonly type: "int256";
|
|
728
|
-
readonly indexed: false;
|
|
729
|
-
readonly internalType: "int256";
|
|
730
|
-
}, {
|
|
731
|
-
readonly name: "priceA";
|
|
732
|
-
readonly type: "uint256";
|
|
733
|
-
readonly indexed: false;
|
|
734
|
-
readonly internalType: "uint256";
|
|
735
|
-
}, {
|
|
736
|
-
readonly name: "priceB";
|
|
737
|
-
readonly type: "uint256";
|
|
738
|
-
readonly indexed: false;
|
|
739
|
-
readonly internalType: "uint256";
|
|
740
|
-
}, {
|
|
741
|
-
readonly name: "priceC";
|
|
742
|
-
readonly type: "uint256";
|
|
743
|
-
readonly indexed: false;
|
|
744
|
-
readonly internalType: "uint256";
|
|
745
|
-
}];
|
|
746
|
-
readonly anonymous: false;
|
|
747
|
-
}, {
|
|
748
|
-
readonly type: "event";
|
|
749
|
-
readonly name: "ScoreDataUpdated";
|
|
750
|
-
readonly inputs: readonly [{
|
|
751
|
-
readonly name: "gameId";
|
|
752
|
-
readonly type: "uint256";
|
|
753
|
-
readonly indexed: true;
|
|
754
|
-
readonly internalType: "uint256";
|
|
755
|
-
}, {
|
|
756
|
-
readonly name: "levrSportId";
|
|
757
|
-
readonly type: "bytes12";
|
|
758
|
-
readonly indexed: true;
|
|
759
|
-
readonly internalType: "bytes12";
|
|
760
|
-
}, {
|
|
761
|
-
readonly name: "gameProgressBps";
|
|
762
|
-
readonly type: "uint16";
|
|
763
|
-
readonly indexed: false;
|
|
764
|
-
readonly internalType: "uint16";
|
|
765
|
-
}, {
|
|
766
|
-
readonly name: "scoreH";
|
|
767
|
-
readonly type: "uint48";
|
|
768
|
-
readonly indexed: false;
|
|
769
|
-
readonly internalType: "uint48";
|
|
770
|
-
}, {
|
|
771
|
-
readonly name: "scoreV";
|
|
772
|
-
readonly type: "uint48";
|
|
773
|
-
readonly indexed: false;
|
|
774
|
-
readonly internalType: "uint48";
|
|
775
|
-
}];
|
|
776
|
-
readonly anonymous: false;
|
|
777
|
-
}, {
|
|
778
|
-
readonly type: "error";
|
|
779
|
-
readonly name: "LB_CONFIG_INVALID_INTERFACE";
|
|
780
|
-
readonly inputs: readonly [];
|
|
781
|
-
}, {
|
|
782
|
-
readonly type: "error";
|
|
783
|
-
readonly name: "LB_CONFIG_PROVIDER_NOT_CONTRACT";
|
|
784
|
-
readonly inputs: readonly [];
|
|
785
|
-
}, {
|
|
786
|
-
readonly type: "error";
|
|
787
|
-
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
788
|
-
readonly inputs: readonly [];
|
|
789
|
-
}, {
|
|
790
|
-
readonly type: "error";
|
|
791
|
-
readonly name: "LMF_CANNOT_SETTLE_MARKET";
|
|
792
|
-
readonly inputs: readonly [];
|
|
793
|
-
}, {
|
|
794
|
-
readonly type: "error";
|
|
795
|
-
readonly name: "LMF_FEED_ALREADY_INITIALIZED";
|
|
796
|
-
readonly inputs: readonly [{
|
|
797
|
-
readonly name: "gameId";
|
|
798
|
-
readonly type: "uint256";
|
|
799
|
-
readonly internalType: "uint256";
|
|
800
|
-
}, {
|
|
801
|
-
readonly name: "levrMarketId";
|
|
802
|
-
readonly type: "bytes16";
|
|
803
|
-
readonly internalType: "bytes16";
|
|
804
|
-
}];
|
|
805
|
-
}, {
|
|
806
|
-
readonly type: "error";
|
|
807
|
-
readonly name: "LMF_GAME_ENDED_OR_CANCELED";
|
|
808
|
-
readonly inputs: readonly [];
|
|
809
|
-
}, {
|
|
810
|
-
readonly type: "error";
|
|
811
|
-
readonly name: "LMF_GAME_NOT_ENDED";
|
|
812
|
-
readonly inputs: readonly [];
|
|
813
|
-
}, {
|
|
814
|
-
readonly type: "error";
|
|
815
|
-
readonly name: "LMF_GAME_NOT_LIVE";
|
|
816
|
-
readonly inputs: readonly [];
|
|
817
|
-
}, {
|
|
818
|
-
readonly type: "error";
|
|
819
|
-
readonly name: "LMF_INVALID_ADDRESS";
|
|
820
|
-
readonly inputs: readonly [];
|
|
821
|
-
}, {
|
|
822
|
-
readonly type: "error";
|
|
823
|
-
readonly name: "LMF_INVALID_GAME_PHASE_SWITCH";
|
|
824
|
-
readonly inputs: readonly [{
|
|
825
|
-
readonly name: "from";
|
|
826
|
-
readonly type: "uint8";
|
|
827
|
-
readonly internalType: "enum GameStatus";
|
|
828
|
-
}, {
|
|
829
|
-
readonly name: "to";
|
|
830
|
-
readonly type: "uint8";
|
|
831
|
-
readonly internalType: "enum GameStatus";
|
|
832
|
-
}];
|
|
833
|
-
}, {
|
|
834
|
-
readonly type: "error";
|
|
835
|
-
readonly name: "LMF_INVALID_LEVR_GAME_ID";
|
|
836
|
-
readonly inputs: readonly [];
|
|
837
|
-
}, {
|
|
838
|
-
readonly type: "error";
|
|
839
|
-
readonly name: "LMF_INVALID_N_FACTOR";
|
|
840
|
-
readonly inputs: readonly [];
|
|
841
|
-
}, {
|
|
842
|
-
readonly type: "error";
|
|
843
|
-
readonly name: "LMF_INVALID_ODDS";
|
|
844
|
-
readonly inputs: readonly [];
|
|
845
|
-
}, {
|
|
846
|
-
readonly type: "error";
|
|
847
|
-
readonly name: "LMF_INVALID_ODDS_GROUP";
|
|
848
|
-
readonly inputs: readonly [];
|
|
849
|
-
}, {
|
|
850
|
-
readonly type: "error";
|
|
851
|
-
readonly name: "LMF_INVALID_ODDS_LENGTH";
|
|
852
|
-
readonly inputs: readonly [];
|
|
853
|
-
}, {
|
|
854
|
-
readonly type: "error";
|
|
855
|
-
readonly name: "LMF_INVALID_SIDE";
|
|
856
|
-
readonly inputs: readonly [];
|
|
857
|
-
}, {
|
|
858
|
-
readonly type: "error";
|
|
859
|
-
readonly name: "LMF_MARKET_ALREADY_SETTLED";
|
|
860
|
-
readonly inputs: readonly [];
|
|
861
|
-
}, {
|
|
862
|
-
readonly type: "error";
|
|
863
|
-
readonly name: "LMF_NOT_FEED_PROVIDER";
|
|
864
|
-
readonly inputs: readonly [];
|
|
865
|
-
}, {
|
|
866
|
-
readonly type: "error";
|
|
867
|
-
readonly name: "LMF_NOT_GAME_ADMIN";
|
|
868
|
-
readonly inputs: readonly [];
|
|
869
|
-
}, {
|
|
870
|
-
readonly type: "error";
|
|
871
|
-
readonly name: "LMF_NOT_MARKET_CONTRACT";
|
|
872
|
-
readonly inputs: readonly [];
|
|
873
|
-
}, {
|
|
874
|
-
readonly type: "error";
|
|
875
|
-
readonly name: "LMF_NOT_SETTLER";
|
|
876
|
-
readonly inputs: readonly [];
|
|
877
|
-
}, {
|
|
878
|
-
readonly type: "error";
|
|
879
|
-
readonly name: "LMF_PRICE_FEED_NOT_INITIALIZED";
|
|
880
|
-
readonly inputs: readonly [{
|
|
881
|
-
readonly name: "gameMarketId";
|
|
882
|
-
readonly type: "bytes32";
|
|
883
|
-
readonly internalType: "bytes32";
|
|
884
|
-
}];
|
|
885
|
-
}, {
|
|
886
|
-
readonly type: "error";
|
|
887
|
-
readonly name: "LMF_SCORE_FEED_NOT_INITIALIZED";
|
|
888
|
-
readonly inputs: readonly [{
|
|
889
|
-
readonly name: "gameId";
|
|
890
|
-
readonly type: "uint256";
|
|
891
|
-
readonly internalType: "uint256";
|
|
892
|
-
}];
|
|
893
|
-
}, {
|
|
894
|
-
readonly type: "error";
|
|
895
|
-
readonly name: "LM_ZERO_N_FACTOR";
|
|
896
|
-
readonly inputs: readonly [];
|
|
897
|
-
}, {
|
|
898
|
-
readonly type: "error";
|
|
899
|
-
readonly name: "LM_ZERO_ODDS";
|
|
900
|
-
readonly inputs: readonly [];
|
|
900
|
+
readonly type: "function";
|
|
901
901
|
}];
|
|
902
902
|
export default _default;
|