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