@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,976 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = [
|
|
4
|
-
{
|
|
5
|
-
type: "function",
|
|
6
|
-
name: "cancelMarket",
|
|
7
|
-
inputs: [
|
|
8
|
-
{
|
|
9
|
-
name: "gameMarketId",
|
|
10
|
-
type: "bytes32",
|
|
11
|
-
internalType: "bytes32",
|
|
12
|
-
},
|
|
13
|
-
{ name: "data", type: "bytes", internalType: "bytes" },
|
|
14
|
-
],
|
|
15
|
-
outputs: [],
|
|
16
|
-
stateMutability: "nonpayable",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
type: "function",
|
|
20
|
-
name: "getActiveGameMarkets",
|
|
21
|
-
inputs: [],
|
|
22
|
-
outputs: [{ name: "", type: "bytes32[]", internalType: "bytes32[]" }],
|
|
23
|
-
stateMutability: "view",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
type: "function",
|
|
27
|
-
name: "getGameMarket",
|
|
28
|
-
inputs: [{ name: "gameMarketId", type: "bytes32", internalType: "bytes32" }],
|
|
29
|
-
outputs: [
|
|
30
|
-
{
|
|
31
|
-
name: "",
|
|
32
|
-
type: "tuple",
|
|
33
|
-
internalType: "struct LevrMarket",
|
|
34
|
-
components: [
|
|
35
|
-
{ name: "gameId", type: "uint256", internalType: "uint256" },
|
|
36
|
-
{
|
|
37
|
-
name: "totalCollateralA",
|
|
38
|
-
type: "uint256",
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
name: "totalCollateralB",
|
|
43
|
-
type: "uint256",
|
|
44
|
-
internalType: "uint256",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "totalCollateralC",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
internalType: "uint256",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
name: "pendingProfits",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
internalType: "uint256",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: "paidProfits",
|
|
58
|
-
type: "uint256",
|
|
59
|
-
internalType: "uint256",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: "forfeitedCollateral",
|
|
63
|
-
type: "uint256",
|
|
64
|
-
internalType: "uint256",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: "pendingBorrowFee",
|
|
68
|
-
type: "uint256",
|
|
69
|
-
internalType: "uint256",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: "weightedPendingBorrowFee",
|
|
73
|
-
type: "uint256",
|
|
74
|
-
internalType: "uint256",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: "borrowFeeA",
|
|
78
|
-
type: "uint256",
|
|
79
|
-
internalType: "uint256",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: "borrowFeeB",
|
|
83
|
-
type: "uint256",
|
|
84
|
-
internalType: "uint256",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "borrowFeeC",
|
|
88
|
-
type: "uint256",
|
|
89
|
-
internalType: "uint256",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
name: "status",
|
|
93
|
-
type: "uint8",
|
|
94
|
-
internalType: "enum MarketStatus",
|
|
95
|
-
},
|
|
96
|
-
{ name: "winner", type: "uint8", internalType: "enum Side" },
|
|
97
|
-
{
|
|
98
|
-
name: "targetScore",
|
|
99
|
-
type: "uint256",
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: "collateralAsset",
|
|
104
|
-
type: "address",
|
|
105
|
-
internalType: "address",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: "levrSportId",
|
|
109
|
-
type: "bytes12",
|
|
110
|
-
internalType: "bytes12",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
name: "borrowFeeBps",
|
|
114
|
-
type: "uint16",
|
|
115
|
-
internalType: "uint16",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
name: "allowedSideGroup",
|
|
119
|
-
type: "uint8",
|
|
120
|
-
internalType: "uint8",
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
stateMutability: "view",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
type: "function",
|
|
129
|
-
name: "getGameMarketId",
|
|
130
|
-
inputs: [{ name: "gameId", type: "uint256", internalType: "uint256" }],
|
|
131
|
-
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
132
|
-
stateMutability: "view",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
type: "function",
|
|
136
|
-
name: "getPositions",
|
|
137
|
-
inputs: [
|
|
138
|
-
{
|
|
139
|
-
name: "positionIds",
|
|
140
|
-
type: "bytes32[]",
|
|
141
|
-
internalType: "bytes32[]",
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
outputs: [
|
|
145
|
-
{
|
|
146
|
-
name: "positions",
|
|
147
|
-
type: "tuple[]",
|
|
148
|
-
internalType: "struct UserPosition[]",
|
|
149
|
-
components: [
|
|
150
|
-
{
|
|
151
|
-
name: "positionId",
|
|
152
|
-
type: "bytes32",
|
|
153
|
-
internalType: "bytes32",
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: "gameMarketId",
|
|
157
|
-
type: "bytes32",
|
|
158
|
-
internalType: "bytes32",
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
name: "collateralAmount",
|
|
162
|
-
type: "uint256",
|
|
163
|
-
internalType: "uint256",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
name: "positionSize",
|
|
167
|
-
type: "uint256",
|
|
168
|
-
internalType: "uint256",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
name: "tokensBought",
|
|
172
|
-
type: "uint256",
|
|
173
|
-
internalType: "uint256",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
name: "tokenAmount",
|
|
177
|
-
type: "uint256",
|
|
178
|
-
internalType: "uint256",
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
name: "boundedLoss",
|
|
182
|
-
type: "uint256",
|
|
183
|
-
internalType: "uint256",
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: "positionFee",
|
|
187
|
-
type: "uint256",
|
|
188
|
-
internalType: "uint256",
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
name: "borrowFee",
|
|
192
|
-
type: "uint256",
|
|
193
|
-
internalType: "uint256",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: "imbalanceFee",
|
|
197
|
-
type: "uint256",
|
|
198
|
-
internalType: "uint256",
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
name: "userLeverage",
|
|
202
|
-
type: "uint256",
|
|
203
|
-
internalType: "uint256",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
name: "effectiveLeverage",
|
|
207
|
-
type: "uint256",
|
|
208
|
-
internalType: "uint256",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
name: "entryPrice",
|
|
212
|
-
type: "uint256",
|
|
213
|
-
internalType: "uint256",
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
name: "liquidationPrice",
|
|
217
|
-
type: "uint256",
|
|
218
|
-
internalType: "uint256",
|
|
219
|
-
},
|
|
220
|
-
{ name: "paidOut", type: "uint256", internalType: "uint256" },
|
|
221
|
-
{
|
|
222
|
-
name: "status",
|
|
223
|
-
type: "uint8",
|
|
224
|
-
internalType: "enum PositionStatus",
|
|
225
|
-
},
|
|
226
|
-
{ name: "side", type: "uint8", internalType: "enum Side" },
|
|
227
|
-
{ name: "user", type: "address", internalType: "address" },
|
|
228
|
-
{ name: "openedAt", type: "uint48", internalType: "uint48" },
|
|
229
|
-
{ name: "closedAt", type: "uint48", internalType: "uint48" },
|
|
230
|
-
{
|
|
231
|
-
name: "gameProgressAtOpen",
|
|
232
|
-
type: "uint16",
|
|
233
|
-
internalType: "uint16",
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
name: "gameProgressAtClose",
|
|
237
|
-
type: "uint16",
|
|
238
|
-
internalType: "uint16",
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
stateMutability: "view",
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
type: "function",
|
|
247
|
-
name: "getUserNextPositionId",
|
|
248
|
-
inputs: [
|
|
249
|
-
{
|
|
250
|
-
name: "gameMarketId",
|
|
251
|
-
type: "bytes32",
|
|
252
|
-
internalType: "bytes32",
|
|
253
|
-
},
|
|
254
|
-
{ name: "user", type: "address", internalType: "address" },
|
|
255
|
-
],
|
|
256
|
-
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
257
|
-
stateMutability: "nonpayable",
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
type: "function",
|
|
261
|
-
name: "getUserPosition",
|
|
262
|
-
inputs: [{ name: "positionId", type: "bytes32", internalType: "bytes32" }],
|
|
263
|
-
outputs: [
|
|
264
|
-
{
|
|
265
|
-
name: "",
|
|
266
|
-
type: "tuple",
|
|
267
|
-
internalType: "struct UserPosition",
|
|
268
|
-
components: [
|
|
269
|
-
{
|
|
270
|
-
name: "positionId",
|
|
271
|
-
type: "bytes32",
|
|
272
|
-
internalType: "bytes32",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
name: "gameMarketId",
|
|
276
|
-
type: "bytes32",
|
|
277
|
-
internalType: "bytes32",
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
name: "collateralAmount",
|
|
281
|
-
type: "uint256",
|
|
282
|
-
internalType: "uint256",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
name: "positionSize",
|
|
286
|
-
type: "uint256",
|
|
287
|
-
internalType: "uint256",
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
name: "tokensBought",
|
|
291
|
-
type: "uint256",
|
|
292
|
-
internalType: "uint256",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
name: "tokenAmount",
|
|
296
|
-
type: "uint256",
|
|
297
|
-
internalType: "uint256",
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
name: "boundedLoss",
|
|
301
|
-
type: "uint256",
|
|
302
|
-
internalType: "uint256",
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
name: "positionFee",
|
|
306
|
-
type: "uint256",
|
|
307
|
-
internalType: "uint256",
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
name: "borrowFee",
|
|
311
|
-
type: "uint256",
|
|
312
|
-
internalType: "uint256",
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
name: "imbalanceFee",
|
|
316
|
-
type: "uint256",
|
|
317
|
-
internalType: "uint256",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
name: "userLeverage",
|
|
321
|
-
type: "uint256",
|
|
322
|
-
internalType: "uint256",
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
name: "effectiveLeverage",
|
|
326
|
-
type: "uint256",
|
|
327
|
-
internalType: "uint256",
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
name: "entryPrice",
|
|
331
|
-
type: "uint256",
|
|
332
|
-
internalType: "uint256",
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
name: "liquidationPrice",
|
|
336
|
-
type: "uint256",
|
|
337
|
-
internalType: "uint256",
|
|
338
|
-
},
|
|
339
|
-
{ name: "paidOut", type: "uint256", internalType: "uint256" },
|
|
340
|
-
{
|
|
341
|
-
name: "status",
|
|
342
|
-
type: "uint8",
|
|
343
|
-
internalType: "enum PositionStatus",
|
|
344
|
-
},
|
|
345
|
-
{ name: "side", type: "uint8", internalType: "enum Side" },
|
|
346
|
-
{ name: "user", type: "address", internalType: "address" },
|
|
347
|
-
{ name: "openedAt", type: "uint48", internalType: "uint48" },
|
|
348
|
-
{ name: "closedAt", type: "uint48", internalType: "uint48" },
|
|
349
|
-
{
|
|
350
|
-
name: "gameProgressAtOpen",
|
|
351
|
-
type: "uint16",
|
|
352
|
-
internalType: "uint16",
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
name: "gameProgressAtClose",
|
|
356
|
-
type: "uint16",
|
|
357
|
-
internalType: "uint16",
|
|
358
|
-
},
|
|
359
|
-
],
|
|
360
|
-
},
|
|
361
|
-
],
|
|
362
|
-
stateMutability: "view",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
type: "function",
|
|
366
|
-
name: "getUserPositionId",
|
|
367
|
-
inputs: [
|
|
368
|
-
{
|
|
369
|
-
name: "gameMarketId",
|
|
370
|
-
type: "bytes32",
|
|
371
|
-
internalType: "bytes32",
|
|
372
|
-
},
|
|
373
|
-
{ name: "nonce", type: "uint256", internalType: "uint256" },
|
|
374
|
-
{ name: "user", type: "address", internalType: "address" },
|
|
375
|
-
],
|
|
376
|
-
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
377
|
-
stateMutability: "pure",
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
type: "function",
|
|
381
|
-
name: "getUserPositionIdsForGameMarket",
|
|
382
|
-
inputs: [
|
|
383
|
-
{
|
|
384
|
-
name: "gameMarketId",
|
|
385
|
-
type: "bytes32",
|
|
386
|
-
internalType: "bytes32",
|
|
387
|
-
},
|
|
388
|
-
{ name: "user", type: "address", internalType: "address" },
|
|
389
|
-
],
|
|
390
|
-
outputs: [{ name: "", type: "bytes32[]", internalType: "bytes32[]" }],
|
|
391
|
-
stateMutability: "view",
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
type: "function",
|
|
395
|
-
name: "initializeGameMarket",
|
|
396
|
-
inputs: [
|
|
397
|
-
{ name: "gameId", type: "uint256", internalType: "uint256" },
|
|
398
|
-
{ name: "levrSportId", type: "bytes12", internalType: "bytes12" },
|
|
399
|
-
{
|
|
400
|
-
name: "gameMarketInitData",
|
|
401
|
-
type: "bytes",
|
|
402
|
-
internalType: "bytes",
|
|
403
|
-
},
|
|
404
|
-
],
|
|
405
|
-
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
406
|
-
stateMutability: "nonpayable",
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
type: "function",
|
|
410
|
-
name: "initializeLevrMarketId",
|
|
411
|
-
inputs: [{ name: "marketId", type: "bytes16", internalType: "bytes16" }],
|
|
412
|
-
outputs: [],
|
|
413
|
-
stateMutability: "nonpayable",
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
type: "function",
|
|
417
|
-
name: "levrConfigProvider",
|
|
418
|
-
inputs: [],
|
|
419
|
-
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
420
|
-
stateMutability: "view",
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
type: "function",
|
|
424
|
-
name: "levrMarketId",
|
|
425
|
-
inputs: [],
|
|
426
|
-
outputs: [{ name: "", type: "bytes16", internalType: "bytes16" }],
|
|
427
|
-
stateMutability: "view",
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
type: "function",
|
|
431
|
-
name: "marketMakerCollateral",
|
|
432
|
-
inputs: [
|
|
433
|
-
{
|
|
434
|
-
name: "gameMarketId",
|
|
435
|
-
type: "bytes32",
|
|
436
|
-
internalType: "bytes32",
|
|
437
|
-
},
|
|
438
|
-
{ name: "side", type: "uint8", internalType: "enum Side" },
|
|
439
|
-
],
|
|
440
|
-
outputs: [{ name: "collateral", type: "uint256", internalType: "uint256" }],
|
|
441
|
-
stateMutability: "view",
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
type: "function",
|
|
445
|
-
name: "marketName",
|
|
446
|
-
inputs: [],
|
|
447
|
-
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
448
|
-
stateMutability: "view",
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
type: "function",
|
|
452
|
-
name: "mutatePositions",
|
|
453
|
-
inputs: [
|
|
454
|
-
{
|
|
455
|
-
name: "gameMarketId",
|
|
456
|
-
type: "bytes32",
|
|
457
|
-
internalType: "bytes32",
|
|
458
|
-
},
|
|
459
|
-
{ name: "params", type: "bytes", internalType: "bytes" },
|
|
460
|
-
],
|
|
461
|
-
outputs: [],
|
|
462
|
-
stateMutability: "nonpayable",
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
type: "function",
|
|
466
|
-
name: "openOrCloseMarket",
|
|
467
|
-
inputs: [
|
|
468
|
-
{
|
|
469
|
-
name: "gameMarketId",
|
|
470
|
-
type: "bytes32",
|
|
471
|
-
internalType: "bytes32",
|
|
472
|
-
},
|
|
473
|
-
{ name: "open", type: "bool", internalType: "bool" },
|
|
474
|
-
],
|
|
475
|
-
outputs: [],
|
|
476
|
-
stateMutability: "nonpayable",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
type: "function",
|
|
480
|
-
name: "openPosition",
|
|
481
|
-
inputs: [
|
|
482
|
-
{
|
|
483
|
-
name: "gameMarketId",
|
|
484
|
-
type: "bytes32",
|
|
485
|
-
internalType: "bytes32",
|
|
486
|
-
},
|
|
487
|
-
{ name: "params", type: "bytes", internalType: "bytes" },
|
|
488
|
-
],
|
|
489
|
-
outputs: [],
|
|
490
|
-
stateMutability: "nonpayable",
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
type: "function",
|
|
494
|
-
name: "paused",
|
|
495
|
-
inputs: [],
|
|
496
|
-
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
497
|
-
stateMutability: "view",
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
type: "function",
|
|
501
|
-
name: "redeemPosition",
|
|
502
|
-
inputs: [
|
|
503
|
-
{
|
|
504
|
-
name: "gameMarketId",
|
|
505
|
-
type: "bytes32",
|
|
506
|
-
internalType: "bytes32",
|
|
507
|
-
},
|
|
508
|
-
{ name: "params", type: "bytes", internalType: "bytes" },
|
|
509
|
-
],
|
|
510
|
-
outputs: [],
|
|
511
|
-
stateMutability: "nonpayable",
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
type: "function",
|
|
515
|
-
name: "settleMarket",
|
|
516
|
-
inputs: [
|
|
517
|
-
{
|
|
518
|
-
name: "gameMarketId",
|
|
519
|
-
type: "bytes32",
|
|
520
|
-
internalType: "bytes32",
|
|
521
|
-
},
|
|
522
|
-
{ name: "params", type: "bytes", internalType: "bytes" },
|
|
523
|
-
],
|
|
524
|
-
outputs: [],
|
|
525
|
-
stateMutability: "nonpayable",
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
type: "function",
|
|
529
|
-
name: "supportsInterface",
|
|
530
|
-
inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
|
|
531
|
-
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
532
|
-
stateMutability: "view",
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
type: "function",
|
|
536
|
-
name: "updateLevrConfigProvider",
|
|
537
|
-
inputs: [
|
|
538
|
-
{
|
|
539
|
-
name: "newLevrConfigProvider",
|
|
540
|
-
type: "address",
|
|
541
|
-
internalType: "address",
|
|
542
|
-
},
|
|
543
|
-
],
|
|
544
|
-
outputs: [],
|
|
545
|
-
stateMutability: "nonpayable",
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
type: "function",
|
|
549
|
-
name: "userNonce",
|
|
550
|
-
inputs: [{ name: "user", type: "address", internalType: "address" }],
|
|
551
|
-
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
552
|
-
stateMutability: "view",
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
type: "event",
|
|
556
|
-
name: "GameMarketInitialized",
|
|
557
|
-
inputs: [
|
|
558
|
-
{
|
|
559
|
-
name: "gameId",
|
|
560
|
-
type: "uint256",
|
|
561
|
-
indexed: true,
|
|
562
|
-
internalType: "uint256",
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
name: "gameMarketId",
|
|
566
|
-
type: "bytes32",
|
|
567
|
-
indexed: true,
|
|
568
|
-
internalType: "bytes32",
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
name: "levrSportId",
|
|
572
|
-
type: "bytes12",
|
|
573
|
-
indexed: true,
|
|
574
|
-
internalType: "bytes12",
|
|
575
|
-
},
|
|
576
|
-
],
|
|
577
|
-
anonymous: false,
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
type: "event",
|
|
581
|
-
name: "LevrConfigProviderUpdated",
|
|
582
|
-
inputs: [
|
|
583
|
-
{
|
|
584
|
-
name: "prevProvider",
|
|
585
|
-
type: "address",
|
|
586
|
-
indexed: true,
|
|
587
|
-
internalType: "address",
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
name: "newProvider",
|
|
591
|
-
type: "address",
|
|
592
|
-
indexed: true,
|
|
593
|
-
internalType: "address",
|
|
594
|
-
},
|
|
595
|
-
],
|
|
596
|
-
anonymous: false,
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
type: "event",
|
|
600
|
-
name: "LevrMarketContractInitialized",
|
|
601
|
-
inputs: [
|
|
602
|
-
{
|
|
603
|
-
name: "levrMarketId",
|
|
604
|
-
type: "bytes16",
|
|
605
|
-
indexed: true,
|
|
606
|
-
internalType: "bytes16",
|
|
607
|
-
},
|
|
608
|
-
],
|
|
609
|
-
anonymous: false,
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
type: "event",
|
|
613
|
-
name: "MarketPhaseUpdated",
|
|
614
|
-
inputs: [
|
|
615
|
-
{
|
|
616
|
-
name: "gameMarketId",
|
|
617
|
-
type: "bytes32",
|
|
618
|
-
indexed: true,
|
|
619
|
-
internalType: "bytes32",
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
name: "prevPhase",
|
|
623
|
-
type: "uint8",
|
|
624
|
-
indexed: false,
|
|
625
|
-
internalType: "enum MarketStatus",
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
name: "newPhase",
|
|
629
|
-
type: "uint8",
|
|
630
|
-
indexed: false,
|
|
631
|
-
internalType: "enum MarketStatus",
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
name: "updatedAt",
|
|
635
|
-
type: "uint48",
|
|
636
|
-
indexed: false,
|
|
637
|
-
internalType: "uint48",
|
|
638
|
-
},
|
|
639
|
-
],
|
|
640
|
-
anonymous: false,
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
type: "event",
|
|
644
|
-
name: "MarketSettled",
|
|
645
|
-
inputs: [
|
|
646
|
-
{
|
|
647
|
-
name: "gameMarketId",
|
|
648
|
-
type: "bytes32",
|
|
649
|
-
indexed: true,
|
|
650
|
-
internalType: "bytes32",
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
name: "gameId",
|
|
654
|
-
type: "uint256",
|
|
655
|
-
indexed: true,
|
|
656
|
-
internalType: "uint256",
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
name: "winner",
|
|
660
|
-
type: "uint8",
|
|
661
|
-
indexed: true,
|
|
662
|
-
internalType: "enum Side",
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
name: "settledAs",
|
|
666
|
-
type: "uint8",
|
|
667
|
-
indexed: false,
|
|
668
|
-
internalType: "enum MarketStatus",
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
name: "totalCapturedCollateral",
|
|
672
|
-
type: "uint256",
|
|
673
|
-
indexed: false,
|
|
674
|
-
internalType: "uint256",
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
name: "totalBorrowFee",
|
|
678
|
-
type: "uint256",
|
|
679
|
-
indexed: false,
|
|
680
|
-
internalType: "uint256",
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
name: "totalProfitsAllocated",
|
|
684
|
-
type: "uint256",
|
|
685
|
-
indexed: false,
|
|
686
|
-
internalType: "uint256",
|
|
687
|
-
},
|
|
688
|
-
],
|
|
689
|
-
anonymous: false,
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
type: "event",
|
|
693
|
-
name: "Paused",
|
|
694
|
-
inputs: [
|
|
695
|
-
{
|
|
696
|
-
name: "account",
|
|
697
|
-
type: "address",
|
|
698
|
-
indexed: false,
|
|
699
|
-
internalType: "address",
|
|
700
|
-
},
|
|
701
|
-
],
|
|
702
|
-
anonymous: false,
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
type: "event",
|
|
706
|
-
name: "PositionOpened",
|
|
707
|
-
inputs: [
|
|
708
|
-
{
|
|
709
|
-
name: "gameMarketId",
|
|
710
|
-
type: "bytes32",
|
|
711
|
-
indexed: true,
|
|
712
|
-
internalType: "bytes32",
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
name: "positionId",
|
|
716
|
-
type: "bytes32",
|
|
717
|
-
indexed: true,
|
|
718
|
-
internalType: "bytes32",
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
name: "receiver",
|
|
722
|
-
type: "address",
|
|
723
|
-
indexed: true,
|
|
724
|
-
internalType: "address",
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
name: "asset",
|
|
728
|
-
type: "address",
|
|
729
|
-
indexed: false,
|
|
730
|
-
internalType: "address",
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
name: "tokenAmount",
|
|
734
|
-
type: "uint256",
|
|
735
|
-
indexed: false,
|
|
736
|
-
internalType: "uint256",
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
name: "assetAmount",
|
|
740
|
-
type: "uint256",
|
|
741
|
-
indexed: false,
|
|
742
|
-
internalType: "uint256",
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
name: "positionSize",
|
|
746
|
-
type: "uint256",
|
|
747
|
-
indexed: false,
|
|
748
|
-
internalType: "uint256",
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
name: "boundedLoss",
|
|
752
|
-
type: "uint256",
|
|
753
|
-
indexed: false,
|
|
754
|
-
internalType: "uint256",
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
name: "eLeverage",
|
|
758
|
-
type: "uint256",
|
|
759
|
-
indexed: false,
|
|
760
|
-
internalType: "uint256",
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
name: "price",
|
|
764
|
-
type: "uint256",
|
|
765
|
-
indexed: false,
|
|
766
|
-
internalType: "uint256",
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
name: "positionFee",
|
|
770
|
-
type: "uint256",
|
|
771
|
-
indexed: false,
|
|
772
|
-
internalType: "uint256",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
name: "imbalanceFee",
|
|
776
|
-
type: "uint256",
|
|
777
|
-
indexed: false,
|
|
778
|
-
internalType: "uint256",
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
name: "gameId",
|
|
782
|
-
type: "uint256",
|
|
783
|
-
indexed: false,
|
|
784
|
-
internalType: "uint256",
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
name: "side",
|
|
788
|
-
type: "uint8",
|
|
789
|
-
indexed: false,
|
|
790
|
-
internalType: "enum Side",
|
|
791
|
-
},
|
|
792
|
-
],
|
|
793
|
-
anonymous: false,
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
type: "event",
|
|
797
|
-
name: "PositionRedeemed",
|
|
798
|
-
inputs: [
|
|
799
|
-
{
|
|
800
|
-
name: "owner",
|
|
801
|
-
type: "address",
|
|
802
|
-
indexed: true,
|
|
803
|
-
internalType: "address",
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
name: "receiver",
|
|
807
|
-
type: "address",
|
|
808
|
-
indexed: true,
|
|
809
|
-
internalType: "address",
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
name: "positionId",
|
|
813
|
-
type: "bytes32",
|
|
814
|
-
indexed: true,
|
|
815
|
-
internalType: "bytes32",
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
name: "gameMarketId",
|
|
819
|
-
type: "bytes32",
|
|
820
|
-
indexed: false,
|
|
821
|
-
internalType: "bytes32",
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
name: "side",
|
|
825
|
-
type: "uint8",
|
|
826
|
-
indexed: false,
|
|
827
|
-
internalType: "enum Side",
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
name: "marketWinner",
|
|
831
|
-
type: "uint8",
|
|
832
|
-
indexed: false,
|
|
833
|
-
internalType: "enum Side",
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
name: "profit",
|
|
837
|
-
type: "uint256",
|
|
838
|
-
indexed: false,
|
|
839
|
-
internalType: "uint256",
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
name: "loss",
|
|
843
|
-
type: "uint256",
|
|
844
|
-
indexed: false,
|
|
845
|
-
internalType: "uint256",
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
name: "borrowFee",
|
|
849
|
-
type: "uint256",
|
|
850
|
-
indexed: false,
|
|
851
|
-
internalType: "uint256",
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
name: "imbalanceFee",
|
|
855
|
-
type: "uint256",
|
|
856
|
-
indexed: false,
|
|
857
|
-
internalType: "uint256",
|
|
858
|
-
},
|
|
859
|
-
],
|
|
860
|
-
anonymous: false,
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
type: "event",
|
|
864
|
-
name: "Unpaused",
|
|
865
|
-
inputs: [
|
|
866
|
-
{
|
|
867
|
-
name: "account",
|
|
868
|
-
type: "address",
|
|
869
|
-
indexed: false,
|
|
870
|
-
internalType: "address",
|
|
871
|
-
},
|
|
872
|
-
],
|
|
873
|
-
anonymous: false,
|
|
874
|
-
},
|
|
875
|
-
{ type: "error", name: "EnforcedPause", inputs: [] },
|
|
876
|
-
{ type: "error", name: "ExpectedPause", inputs: [] },
|
|
877
|
-
{
|
|
878
|
-
type: "error",
|
|
879
|
-
name: "LBM_CANNOT_LIQUIDATE_MARKET_MAKER",
|
|
880
|
-
inputs: [],
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
type: "error",
|
|
884
|
-
name: "LBM_CANNOT_OVERRIDE_IN_PRE_GAME",
|
|
885
|
-
inputs: [],
|
|
886
|
-
},
|
|
887
|
-
{ type: "error", name: "LBM_DUPLICATE_MARKET", inputs: [] },
|
|
888
|
-
{
|
|
889
|
-
type: "error",
|
|
890
|
-
name: "LBM_INACTIVE_MARKET_FOR_GAME",
|
|
891
|
-
inputs: [{ name: "gameMarketId", type: "bytes32", internalType: "bytes32" }],
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
type: "error",
|
|
895
|
-
name: "LBM_INEXISTENT_GAME_MARKET",
|
|
896
|
-
inputs: [{ name: "gameMarketId", type: "bytes32", internalType: "bytes32" }],
|
|
897
|
-
},
|
|
898
|
-
{ type: "error", name: "LBM_INVALID_BUYERS_DATA", inputs: [] },
|
|
899
|
-
{
|
|
900
|
-
type: "error",
|
|
901
|
-
name: "LBM_INVALID_GAME_STATUS",
|
|
902
|
-
inputs: [
|
|
903
|
-
{ name: "gameId", type: "uint256", internalType: "uint256" },
|
|
904
|
-
{
|
|
905
|
-
name: "currentStatus",
|
|
906
|
-
type: "uint8",
|
|
907
|
-
internalType: "enum GameStatus",
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
name: "expectedStatus",
|
|
911
|
-
type: "uint8",
|
|
912
|
-
internalType: "enum GameStatus",
|
|
913
|
-
},
|
|
914
|
-
],
|
|
915
|
-
},
|
|
916
|
-
{ type: "error", name: "LBM_INVALID_LEVR_MARKET_ID", inputs: [] },
|
|
917
|
-
{
|
|
918
|
-
type: "error",
|
|
919
|
-
name: "LBM_INVALID_MARKET_PHASE",
|
|
920
|
-
inputs: [
|
|
921
|
-
{
|
|
922
|
-
name: "gameMarketId",
|
|
923
|
-
type: "bytes32",
|
|
924
|
-
internalType: "bytes32",
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
name: "currentPhase",
|
|
928
|
-
type: "uint8",
|
|
929
|
-
internalType: "enum MarketStatus",
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
name: "expectedPhase",
|
|
933
|
-
type: "uint8",
|
|
934
|
-
internalType: "enum MarketStatus",
|
|
935
|
-
},
|
|
936
|
-
],
|
|
937
|
-
},
|
|
938
|
-
{ type: "error", name: "LBM_INVALID_RISK_DATA", inputs: [] },
|
|
939
|
-
{ type: "error", name: "LBM_INVALID_SELLERS_DATA", inputs: [] },
|
|
940
|
-
{
|
|
941
|
-
type: "error",
|
|
942
|
-
name: "LBM_INVALID_SIDE",
|
|
943
|
-
inputs: [{ name: "side", type: "uint8", internalType: "enum Side" }],
|
|
944
|
-
},
|
|
945
|
-
{ type: "error", name: "LBM_INVALID_SIDE_GROUP", inputs: [] },
|
|
946
|
-
{ type: "error", name: "LBM_INVALID_TARGET_SCORE", inputs: [] },
|
|
947
|
-
{ type: "error", name: "LBM_INVALID_TRADE_DATA", inputs: [] },
|
|
948
|
-
{
|
|
949
|
-
type: "error",
|
|
950
|
-
name: "LBM_MARKET_CLOSED",
|
|
951
|
-
inputs: [{ name: "gameMarketId", type: "bytes32", internalType: "bytes32" }],
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
type: "error",
|
|
955
|
-
name: "LBM_MARKET_ID_ALREADY_INITIALIZED",
|
|
956
|
-
inputs: [],
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
type: "error",
|
|
960
|
-
name: "LBM_MARKET_SETTLED",
|
|
961
|
-
inputs: [{ name: "gameMarketId", type: "bytes32", internalType: "bytes32" }],
|
|
962
|
-
},
|
|
963
|
-
{ type: "error", name: "LBM_NOT_LEVR_MANAGER", inputs: [] },
|
|
964
|
-
{ type: "error", name: "LBM_NOT_LEVR_ORDERBOOK", inputs: [] },
|
|
965
|
-
{ type: "error", name: "LBM_NOT_MARKETS_ROUTER", inputs: [] },
|
|
966
|
-
{ type: "error", name: "LBM_UNAUTHORIZED_MUTATION", inputs: [] },
|
|
967
|
-
{ type: "error", name: "LB_CONFIG_INVALID_INTERFACE", inputs: [] },
|
|
968
|
-
{
|
|
969
|
-
type: "error",
|
|
970
|
-
name: "LB_CONFIG_PROVIDER_NOT_CONTRACT",
|
|
971
|
-
inputs: [],
|
|
972
|
-
},
|
|
973
|
-
{ type: "error", name: "LB_NOT_LEVR_ADMIN", inputs: [] },
|
|
974
|
-
{ type: "error", name: "LM_INVALID_PROGRESS_BPS", inputs: [] },
|
|
975
|
-
];
|
|
976
|
-
//# sourceMappingURL=LevrBaseMarket.js.map
|