@azuro-org/toolkit 4.5.4 → 5.0.0-beta.1
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/README.md +3 -3
- package/dist/abis/{PrematchComboCore.d.ts → AzuroBet.d.ts} +158 -319
- package/dist/abis/Cashback.d.ts +302 -0
- package/dist/abis/Cashout.d.ts +424 -0
- package/dist/abis/{PrematchCore.d.ts → Core.d.ts} +548 -340
- package/dist/abis/LP.d.ts +218 -650
- package/dist/abis/Relayer.d.ts +393 -0
- package/dist/abis/index.d.ts +4 -4
- package/dist/config.d.ts +78 -15
- package/dist/docs/bets/bets.d.ts +64 -0
- package/dist/docs/bets/fragments/bet.d.ts +54 -0
- package/dist/docs/{prematch/fragments/liveBet.d.ts → bets/fragments/legacyLiveBet.d.ts} +2 -2
- package/dist/docs/{prematch/fragments/prematchBet.d.ts → bets/fragments/legacyPrematchBet.d.ts} +2 -2
- package/dist/docs/{prematch → bets}/gameBets.d.ts +2 -0
- package/dist/docs/{prematch/liveBets.d.ts → bets/legacyLiveBets.d.ts} +3 -3
- package/dist/docs/{prematch/prematchBets.d.ts → bets/legacyPrematchBets.d.ts} +3 -3
- package/dist/docs/{prematch → bets}/types.d.ts +1719 -15
- package/dist/docs/{prematch → feed}/condition.d.ts +6 -13
- package/dist/docs/{live → feed}/conditions.d.ts +10 -4
- package/dist/docs/{prematch → feed}/conditionsBatch.d.ts +4 -4
- package/dist/docs/{prematch → feed}/fragments/condition.d.ts +5 -12
- package/dist/docs/feed/fragments/gameInfo.d.ts +31 -0
- package/dist/docs/{prematch → feed}/game.d.ts +10 -10
- package/dist/docs/{prematch → feed}/games.d.ts +7 -7
- package/dist/docs/{prematch → feed}/navigation.d.ts +13 -6
- package/dist/docs/{prematch → feed}/sports.d.ts +7 -7
- package/dist/docs/{prematch → feed}/sportsNavigation.d.ts +3 -6
- package/dist/docs/{live → feed}/types.d.ts +1024 -462
- package/dist/docs/index.d.ts +21 -22
- package/dist/global.d.ts +16 -10
- package/dist/index.d.ts +9 -13
- package/dist/index.js +3817 -3199
- package/dist/utils/cashback/createCashbackTransaction.d.ts +0 -0
- package/dist/utils/cashback/getCashbackBalance.d.ts +0 -0
- package/dist/utils/createBet.d.ts +16 -0
- package/dist/utils/createComboBet.d.ts +16 -0
- package/dist/utils/getBet.d.ts +23 -0
- package/dist/utils/{getLiveBetFee.d.ts → getBetFee.d.ts} +2 -2
- package/dist/utils/getBetStatus.d.ts +6 -4
- package/dist/utils/getBetTypedData.d.ts +16 -0
- package/dist/utils/getComboBetTypedData.d.ts +16 -0
- package/dist/utils/getEndpoints.d.ts +4 -4
- package/dist/utils/getFreebets.d.ts +1 -1
- package/dist/utils/getIsPendingResolution.d.ts +7 -0
- package/dist/utils/getMaxBet.d.ts +17 -0
- package/dist/utils/groupConditionsByMarket.d.ts +13 -11
- package/dist/utils/setupContracts.d.ts +11 -24
- package/package.json +4 -4
- package/dist/abis/LiveCore.d.ts +0 -694
- package/dist/abis/ProxyFront.d.ts +0 -137
- package/dist/docs/live/condition.d.ts +0 -26
- package/dist/docs/live/fragments/condition.d.ts +0 -20
- package/dist/docs/prematch/conditions.d.ts +0 -42
- package/dist/utils/calcOdds.d.ts +0 -28
- package/dist/utils/createLiveBet.d.ts +0 -23
- package/dist/utils/deBridge/createDeBridgeBet.d.ts +0 -65
- package/dist/utils/deBridge/getDeBridgeOrder.d.ts +0 -39
- package/dist/utils/deBridge/getDeBridgeSupportedChains.d.ts +0 -11
- package/dist/utils/deBridge/getDeBridgeSupportedTokens.d.ts +0 -13
- package/dist/utils/getGameStatus.d.ts +0 -16
- package/dist/utils/getLiveBet.d.ts +0 -13
- package/dist/utils/getLiveBetTypedData.d.ts +0 -10
- package/dist/utils/getPrematchBetDataBytes.d.ts +0 -3
- package/dist/utils/groupByConditionId.d.ts +0 -5
- /package/dist/docs/{prematch → bets}/bettors.d.ts +0 -0
- /package/dist/docs/{prematch → bets}/fragments/bettor.d.ts +0 -0
- /package/dist/docs/{prematch → bets}/fragments/mainGameInfo.d.ts +0 -0
package/dist/abis/LP.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
declare const _default: readonly [{
|
|
2
|
-
readonly inputs: readonly [];
|
|
3
|
-
readonly name: "BetExpired";
|
|
4
|
-
readonly type: "error";
|
|
5
|
-
}, {
|
|
6
2
|
readonly inputs: readonly [{
|
|
7
3
|
readonly internalType: "uint64";
|
|
8
4
|
readonly name: "waitTime";
|
|
@@ -16,23 +12,7 @@ declare const _default: readonly [{
|
|
|
16
12
|
readonly type: "error";
|
|
17
13
|
}, {
|
|
18
14
|
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "
|
|
20
|
-
readonly type: "error";
|
|
21
|
-
}, {
|
|
22
|
-
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "GameAlreadyCanceled";
|
|
24
|
-
readonly type: "error";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "GameAlreadyCreated";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "GameCanceled_";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "GameNotExists";
|
|
15
|
+
readonly name: "IncorrectAmount";
|
|
36
16
|
readonly type: "error";
|
|
37
17
|
}, {
|
|
38
18
|
readonly inputs: readonly [];
|
|
@@ -44,7 +24,7 @@ declare const _default: readonly [{
|
|
|
44
24
|
readonly type: "error";
|
|
45
25
|
}, {
|
|
46
26
|
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "
|
|
27
|
+
readonly name: "IncorrectLegacyLP";
|
|
48
28
|
readonly type: "error";
|
|
49
29
|
}, {
|
|
50
30
|
readonly inputs: readonly [];
|
|
@@ -54,42 +34,54 @@ declare const _default: readonly [{
|
|
|
54
34
|
readonly inputs: readonly [];
|
|
55
35
|
readonly name: "IncorrectMinDepo";
|
|
56
36
|
readonly type: "error";
|
|
57
|
-
}, {
|
|
58
|
-
readonly inputs: readonly [];
|
|
59
|
-
readonly name: "IncorrectPercent";
|
|
60
|
-
readonly type: "error";
|
|
61
37
|
}, {
|
|
62
38
|
readonly inputs: readonly [];
|
|
63
39
|
readonly name: "IncorrectReinforcementAbility";
|
|
64
40
|
readonly type: "error";
|
|
65
41
|
}, {
|
|
66
42
|
readonly inputs: readonly [];
|
|
67
|
-
readonly name: "
|
|
43
|
+
readonly name: "IncorrectRelayer";
|
|
68
44
|
readonly type: "error";
|
|
69
45
|
}, {
|
|
70
46
|
readonly inputs: readonly [];
|
|
71
|
-
readonly name: "
|
|
47
|
+
readonly name: "InvalidInitialization";
|
|
72
48
|
readonly type: "error";
|
|
73
49
|
}, {
|
|
74
50
|
readonly inputs: readonly [];
|
|
75
|
-
readonly name: "
|
|
51
|
+
readonly name: "LiquidityNotOwned";
|
|
76
52
|
readonly type: "error";
|
|
77
53
|
}, {
|
|
78
54
|
readonly inputs: readonly [];
|
|
79
|
-
readonly name: "
|
|
55
|
+
readonly name: "LockedLiquidityComboLimitReached";
|
|
80
56
|
readonly type: "error";
|
|
81
57
|
}, {
|
|
82
58
|
readonly inputs: readonly [];
|
|
83
|
-
readonly name: "
|
|
59
|
+
readonly name: "LockedLiquidityLimitReached";
|
|
84
60
|
readonly type: "error";
|
|
85
61
|
}, {
|
|
86
62
|
readonly inputs: readonly [];
|
|
87
|
-
readonly name: "
|
|
63
|
+
readonly name: "NotInitializing";
|
|
88
64
|
readonly type: "error";
|
|
89
65
|
}, {
|
|
90
66
|
readonly inputs: readonly [];
|
|
91
67
|
readonly name: "OnlyFactory";
|
|
92
68
|
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [{
|
|
71
|
+
readonly internalType: "address";
|
|
72
|
+
readonly name: "owner";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
}];
|
|
75
|
+
readonly name: "OwnableInvalidOwner";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly internalType: "address";
|
|
80
|
+
readonly name: "account";
|
|
81
|
+
readonly type: "address";
|
|
82
|
+
}];
|
|
83
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
84
|
+
readonly type: "error";
|
|
93
85
|
}, {
|
|
94
86
|
readonly inputs: readonly [{
|
|
95
87
|
readonly internalType: "enum SafeCast.Type";
|
|
@@ -106,10 +98,6 @@ declare const _default: readonly [{
|
|
|
106
98
|
readonly inputs: readonly [];
|
|
107
99
|
readonly name: "SmallDepo";
|
|
108
100
|
readonly type: "error";
|
|
109
|
-
}, {
|
|
110
|
-
readonly inputs: readonly [];
|
|
111
|
-
readonly name: "SmallDonation";
|
|
112
|
-
readonly type: "error";
|
|
113
101
|
}, {
|
|
114
102
|
readonly inputs: readonly [];
|
|
115
103
|
readonly name: "UnknownCore";
|
|
@@ -125,42 +113,12 @@ declare const _default: readonly [{
|
|
|
125
113
|
}, {
|
|
126
114
|
readonly anonymous: false;
|
|
127
115
|
readonly inputs: readonly [{
|
|
128
|
-
readonly indexed:
|
|
129
|
-
readonly internalType: "address";
|
|
130
|
-
readonly name: "owner";
|
|
131
|
-
readonly type: "address";
|
|
132
|
-
}, {
|
|
133
|
-
readonly indexed: true;
|
|
134
|
-
readonly internalType: "address";
|
|
135
|
-
readonly name: "approved";
|
|
136
|
-
readonly type: "address";
|
|
137
|
-
}, {
|
|
138
|
-
readonly indexed: true;
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
|
-
readonly name: "tokenId";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}];
|
|
143
|
-
readonly name: "Approval";
|
|
144
|
-
readonly type: "event";
|
|
145
|
-
}, {
|
|
146
|
-
readonly anonymous: false;
|
|
147
|
-
readonly inputs: readonly [{
|
|
148
|
-
readonly indexed: true;
|
|
149
|
-
readonly internalType: "address";
|
|
150
|
-
readonly name: "owner";
|
|
151
|
-
readonly type: "address";
|
|
152
|
-
}, {
|
|
153
|
-
readonly indexed: true;
|
|
116
|
+
readonly indexed: false;
|
|
154
117
|
readonly internalType: "address";
|
|
155
|
-
readonly name: "
|
|
118
|
+
readonly name: "newAffilaite";
|
|
156
119
|
readonly type: "address";
|
|
157
|
-
}, {
|
|
158
|
-
readonly indexed: false;
|
|
159
|
-
readonly internalType: "bool";
|
|
160
|
-
readonly name: "approved";
|
|
161
|
-
readonly type: "bool";
|
|
162
120
|
}];
|
|
163
|
-
readonly name: "
|
|
121
|
+
readonly name: "AffiliateChanged";
|
|
164
122
|
readonly type: "event";
|
|
165
123
|
}, {
|
|
166
124
|
readonly anonymous: false;
|
|
@@ -214,6 +172,11 @@ declare const _default: readonly [{
|
|
|
214
172
|
readonly internalType: "uint64";
|
|
215
173
|
readonly name: "reinforcementAbility";
|
|
216
174
|
readonly type: "uint64";
|
|
175
|
+
}, {
|
|
176
|
+
readonly indexed: false;
|
|
177
|
+
readonly internalType: "uint64";
|
|
178
|
+
readonly name: "reinforcementAbilityCombo";
|
|
179
|
+
readonly type: "uint64";
|
|
217
180
|
}, {
|
|
218
181
|
readonly indexed: false;
|
|
219
182
|
readonly internalType: "uint128";
|
|
@@ -235,50 +198,45 @@ declare const _default: readonly [{
|
|
|
235
198
|
}, {
|
|
236
199
|
readonly anonymous: false;
|
|
237
200
|
readonly inputs: readonly [{
|
|
238
|
-
readonly indexed:
|
|
239
|
-
readonly internalType: "
|
|
240
|
-
readonly name: "
|
|
241
|
-
readonly type: "
|
|
201
|
+
readonly indexed: true;
|
|
202
|
+
readonly internalType: "address";
|
|
203
|
+
readonly name: "depositor";
|
|
204
|
+
readonly type: "address";
|
|
242
205
|
}, {
|
|
243
|
-
readonly indexed: false;
|
|
244
|
-
readonly internalType: "uint64";
|
|
245
|
-
readonly name: "fee";
|
|
246
|
-
readonly type: "uint64";
|
|
247
|
-
}];
|
|
248
|
-
readonly name: "FeeChanged";
|
|
249
|
-
readonly type: "event";
|
|
250
|
-
}, {
|
|
251
|
-
readonly anonymous: false;
|
|
252
|
-
readonly inputs: readonly [{
|
|
253
206
|
readonly indexed: true;
|
|
254
|
-
readonly internalType: "
|
|
255
|
-
readonly name: "
|
|
256
|
-
readonly type: "
|
|
207
|
+
readonly internalType: "uint48";
|
|
208
|
+
readonly name: "depositId";
|
|
209
|
+
readonly type: "uint48";
|
|
210
|
+
}, {
|
|
211
|
+
readonly indexed: false;
|
|
212
|
+
readonly internalType: "uint48[]";
|
|
213
|
+
readonly name: "oldDepositIds";
|
|
214
|
+
readonly type: "uint48[]";
|
|
257
215
|
}];
|
|
258
|
-
readonly name: "
|
|
216
|
+
readonly name: "DepositsMigrated";
|
|
259
217
|
readonly type: "event";
|
|
260
218
|
}, {
|
|
261
219
|
readonly anonymous: false;
|
|
262
220
|
readonly inputs: readonly [{
|
|
263
|
-
readonly indexed:
|
|
264
|
-
readonly internalType: "
|
|
265
|
-
readonly name: "
|
|
266
|
-
readonly type: "
|
|
221
|
+
readonly indexed: false;
|
|
222
|
+
readonly internalType: "enum ILP.FeeType";
|
|
223
|
+
readonly name: "feeType";
|
|
224
|
+
readonly type: "uint8";
|
|
267
225
|
}, {
|
|
268
226
|
readonly indexed: false;
|
|
269
227
|
readonly internalType: "uint64";
|
|
270
|
-
readonly name: "
|
|
228
|
+
readonly name: "fee";
|
|
271
229
|
readonly type: "uint64";
|
|
272
230
|
}];
|
|
273
|
-
readonly name: "
|
|
231
|
+
readonly name: "FeeChanged";
|
|
274
232
|
readonly type: "event";
|
|
275
233
|
}, {
|
|
276
234
|
readonly anonymous: false;
|
|
277
235
|
readonly inputs: readonly [{
|
|
278
236
|
readonly indexed: false;
|
|
279
|
-
readonly internalType: "
|
|
237
|
+
readonly internalType: "uint64";
|
|
280
238
|
readonly name: "version";
|
|
281
|
-
readonly type: "
|
|
239
|
+
readonly type: "uint64";
|
|
282
240
|
}];
|
|
283
241
|
readonly name: "Initialized";
|
|
284
242
|
readonly type: "event";
|
|
@@ -287,20 +245,10 @@ declare const _default: readonly [{
|
|
|
287
245
|
readonly inputs: readonly [{
|
|
288
246
|
readonly indexed: true;
|
|
289
247
|
readonly internalType: "address";
|
|
290
|
-
readonly name: "
|
|
248
|
+
readonly name: "legacyLP";
|
|
291
249
|
readonly type: "address";
|
|
292
|
-
}, {
|
|
293
|
-
readonly indexed: true;
|
|
294
|
-
readonly internalType: "uint48";
|
|
295
|
-
readonly name: "depositId";
|
|
296
|
-
readonly type: "uint48";
|
|
297
|
-
}, {
|
|
298
|
-
readonly indexed: false;
|
|
299
|
-
readonly internalType: "uint256";
|
|
300
|
-
readonly name: "amount";
|
|
301
|
-
readonly type: "uint256";
|
|
302
250
|
}];
|
|
303
|
-
readonly name: "
|
|
251
|
+
readonly name: "LegacyLPSet";
|
|
304
252
|
readonly type: "event";
|
|
305
253
|
}, {
|
|
306
254
|
readonly anonymous: false;
|
|
@@ -320,17 +268,7 @@ declare const _default: readonly [{
|
|
|
320
268
|
readonly name: "amount";
|
|
321
269
|
readonly type: "uint256";
|
|
322
270
|
}];
|
|
323
|
-
readonly name: "
|
|
324
|
-
readonly type: "event";
|
|
325
|
-
}, {
|
|
326
|
-
readonly anonymous: false;
|
|
327
|
-
readonly inputs: readonly [{
|
|
328
|
-
readonly indexed: false;
|
|
329
|
-
readonly internalType: "address";
|
|
330
|
-
readonly name: "newLiquidityManager";
|
|
331
|
-
readonly type: "address";
|
|
332
|
-
}];
|
|
333
|
-
readonly name: "LiquidityManagerChanged";
|
|
271
|
+
readonly name: "LiquidityAdded";
|
|
334
272
|
readonly type: "event";
|
|
335
273
|
}, {
|
|
336
274
|
readonly anonymous: false;
|
|
@@ -344,6 +282,11 @@ declare const _default: readonly [{
|
|
|
344
282
|
readonly internalType: "uint48";
|
|
345
283
|
readonly name: "depositId";
|
|
346
284
|
readonly type: "uint48";
|
|
285
|
+
}, {
|
|
286
|
+
readonly indexed: false;
|
|
287
|
+
readonly internalType: "uint40";
|
|
288
|
+
readonly name: "percent";
|
|
289
|
+
readonly type: "uint40";
|
|
347
290
|
}, {
|
|
348
291
|
readonly indexed: false;
|
|
349
292
|
readonly internalType: "uint256";
|
|
@@ -352,21 +295,6 @@ declare const _default: readonly [{
|
|
|
352
295
|
}];
|
|
353
296
|
readonly name: "LiquidityRemoved";
|
|
354
297
|
readonly type: "event";
|
|
355
|
-
}, {
|
|
356
|
-
readonly anonymous: false;
|
|
357
|
-
readonly inputs: readonly [{
|
|
358
|
-
readonly indexed: false;
|
|
359
|
-
readonly internalType: "address";
|
|
360
|
-
readonly name: "core";
|
|
361
|
-
readonly type: "address";
|
|
362
|
-
}, {
|
|
363
|
-
readonly indexed: false;
|
|
364
|
-
readonly internalType: "uint128";
|
|
365
|
-
readonly name: "newMinBet";
|
|
366
|
-
readonly type: "uint128";
|
|
367
|
-
}];
|
|
368
|
-
readonly name: "MinBetChanged";
|
|
369
|
-
readonly type: "event";
|
|
370
298
|
}, {
|
|
371
299
|
readonly anonymous: false;
|
|
372
300
|
readonly inputs: readonly [{
|
|
@@ -377,26 +305,6 @@ declare const _default: readonly [{
|
|
|
377
305
|
}];
|
|
378
306
|
readonly name: "MinDepoChanged";
|
|
379
307
|
readonly type: "event";
|
|
380
|
-
}, {
|
|
381
|
-
readonly anonymous: false;
|
|
382
|
-
readonly inputs: readonly [{
|
|
383
|
-
readonly indexed: true;
|
|
384
|
-
readonly internalType: "uint256";
|
|
385
|
-
readonly name: "gameId";
|
|
386
|
-
readonly type: "uint256";
|
|
387
|
-
}, {
|
|
388
|
-
readonly indexed: false;
|
|
389
|
-
readonly internalType: "uint64";
|
|
390
|
-
readonly name: "startsAt";
|
|
391
|
-
readonly type: "uint64";
|
|
392
|
-
}, {
|
|
393
|
-
readonly indexed: false;
|
|
394
|
-
readonly internalType: "bytes";
|
|
395
|
-
readonly name: "data";
|
|
396
|
-
readonly type: "bytes";
|
|
397
|
-
}];
|
|
398
|
-
readonly name: "NewGame";
|
|
399
|
-
readonly type: "event";
|
|
400
308
|
}, {
|
|
401
309
|
readonly anonymous: false;
|
|
402
310
|
readonly inputs: readonly [{
|
|
@@ -415,32 +323,12 @@ declare const _default: readonly [{
|
|
|
415
323
|
}, {
|
|
416
324
|
readonly anonymous: false;
|
|
417
325
|
readonly inputs: readonly [{
|
|
418
|
-
readonly indexed: false;
|
|
419
|
-
readonly internalType: "uint128";
|
|
420
|
-
readonly name: "newReinforcementAbility";
|
|
421
|
-
readonly type: "uint128";
|
|
422
|
-
}];
|
|
423
|
-
readonly name: "ReinforcementAbilityChanged";
|
|
424
|
-
readonly type: "event";
|
|
425
|
-
}, {
|
|
426
|
-
readonly anonymous: false;
|
|
427
|
-
readonly inputs: readonly [{
|
|
428
|
-
readonly indexed: true;
|
|
429
|
-
readonly internalType: "address";
|
|
430
|
-
readonly name: "from";
|
|
431
|
-
readonly type: "address";
|
|
432
|
-
}, {
|
|
433
326
|
readonly indexed: true;
|
|
434
327
|
readonly internalType: "address";
|
|
435
|
-
readonly name: "
|
|
328
|
+
readonly name: "relayer";
|
|
436
329
|
readonly type: "address";
|
|
437
|
-
}, {
|
|
438
|
-
readonly indexed: true;
|
|
439
|
-
readonly internalType: "uint256";
|
|
440
|
-
readonly name: "tokenId";
|
|
441
|
-
readonly type: "uint256";
|
|
442
330
|
}];
|
|
443
|
-
readonly name: "
|
|
331
|
+
readonly name: "RelayerSet";
|
|
444
332
|
readonly type: "event";
|
|
445
333
|
}, {
|
|
446
334
|
readonly anonymous: false;
|
|
@@ -462,20 +350,6 @@ declare const _default: readonly [{
|
|
|
462
350
|
}];
|
|
463
351
|
readonly stateMutability: "view";
|
|
464
352
|
readonly type: "function";
|
|
465
|
-
}, {
|
|
466
|
-
readonly inputs: readonly [{
|
|
467
|
-
readonly internalType: "uint256";
|
|
468
|
-
readonly name: "gameId";
|
|
469
|
-
readonly type: "uint256";
|
|
470
|
-
}];
|
|
471
|
-
readonly name: "addCondition";
|
|
472
|
-
readonly outputs: readonly [{
|
|
473
|
-
readonly internalType: "uint64";
|
|
474
|
-
readonly name: "";
|
|
475
|
-
readonly type: "uint64";
|
|
476
|
-
}];
|
|
477
|
-
readonly stateMutability: "view";
|
|
478
|
-
readonly type: "function";
|
|
479
353
|
}, {
|
|
480
354
|
readonly inputs: readonly [{
|
|
481
355
|
readonly internalType: "address";
|
|
@@ -491,12 +365,8 @@ declare const _default: readonly [{
|
|
|
491
365
|
readonly internalType: "uint128";
|
|
492
366
|
readonly name: "amount";
|
|
493
367
|
readonly type: "uint128";
|
|
494
|
-
}, {
|
|
495
|
-
readonly internalType: "bytes";
|
|
496
|
-
readonly name: "data";
|
|
497
|
-
readonly type: "bytes";
|
|
498
368
|
}];
|
|
499
|
-
readonly name: "
|
|
369
|
+
readonly name: "addDeposit";
|
|
500
370
|
readonly outputs: readonly [{
|
|
501
371
|
readonly internalType: "uint48";
|
|
502
372
|
readonly name: "depositId";
|
|
@@ -506,10 +376,24 @@ declare const _default: readonly [{
|
|
|
506
376
|
readonly type: "function";
|
|
507
377
|
}, {
|
|
508
378
|
readonly inputs: readonly [{
|
|
509
|
-
readonly internalType: "
|
|
510
|
-
readonly name: "
|
|
511
|
-
readonly type: "
|
|
379
|
+
readonly internalType: "address";
|
|
380
|
+
readonly name: "account";
|
|
381
|
+
readonly type: "address";
|
|
512
382
|
}, {
|
|
383
|
+
readonly internalType: "uint128";
|
|
384
|
+
readonly name: "amount";
|
|
385
|
+
readonly type: "uint128";
|
|
386
|
+
}];
|
|
387
|
+
readonly name: "addDepositFor";
|
|
388
|
+
readonly outputs: readonly [{
|
|
389
|
+
readonly internalType: "uint48";
|
|
390
|
+
readonly name: "depositId";
|
|
391
|
+
readonly type: "uint48";
|
|
392
|
+
}];
|
|
393
|
+
readonly stateMutability: "nonpayable";
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
}, {
|
|
396
|
+
readonly inputs: readonly [{
|
|
513
397
|
readonly internalType: "uint128";
|
|
514
398
|
readonly name: "lockedReserve";
|
|
515
399
|
readonly type: "uint128";
|
|
@@ -527,30 +411,12 @@ declare const _default: readonly [{
|
|
|
527
411
|
readonly stateMutability: "nonpayable";
|
|
528
412
|
readonly type: "function";
|
|
529
413
|
}, {
|
|
530
|
-
readonly inputs: readonly [
|
|
531
|
-
|
|
532
|
-
readonly name: "to";
|
|
533
|
-
readonly type: "address";
|
|
534
|
-
}, {
|
|
535
|
-
readonly internalType: "uint256";
|
|
536
|
-
readonly name: "tokenId";
|
|
537
|
-
readonly type: "uint256";
|
|
538
|
-
}];
|
|
539
|
-
readonly name: "approve";
|
|
540
|
-
readonly outputs: readonly [];
|
|
541
|
-
readonly stateMutability: "nonpayable";
|
|
542
|
-
readonly type: "function";
|
|
543
|
-
}, {
|
|
544
|
-
readonly inputs: readonly [{
|
|
545
|
-
readonly internalType: "address";
|
|
546
|
-
readonly name: "owner";
|
|
547
|
-
readonly type: "address";
|
|
548
|
-
}];
|
|
549
|
-
readonly name: "balanceOf";
|
|
414
|
+
readonly inputs: readonly [];
|
|
415
|
+
readonly name: "affiliate";
|
|
550
416
|
readonly outputs: readonly [{
|
|
551
|
-
readonly internalType: "
|
|
417
|
+
readonly internalType: "address";
|
|
552
418
|
readonly name: "";
|
|
553
|
-
readonly type: "
|
|
419
|
+
readonly type: "address";
|
|
554
420
|
}];
|
|
555
421
|
readonly stateMutability: "view";
|
|
556
422
|
readonly type: "function";
|
|
@@ -559,90 +425,88 @@ declare const _default: readonly [{
|
|
|
559
425
|
readonly internalType: "address";
|
|
560
426
|
readonly name: "core";
|
|
561
427
|
readonly type: "address";
|
|
562
|
-
}, {
|
|
563
|
-
readonly internalType: "uint128";
|
|
564
|
-
readonly name: "amount";
|
|
565
|
-
readonly type: "uint128";
|
|
566
|
-
}, {
|
|
567
|
-
readonly internalType: "uint64";
|
|
568
|
-
readonly name: "expiresAt";
|
|
569
|
-
readonly type: "uint64";
|
|
570
428
|
}, {
|
|
571
429
|
readonly components: readonly [{
|
|
572
430
|
readonly internalType: "address";
|
|
573
|
-
readonly name: "
|
|
431
|
+
readonly name: "betOwner";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}, {
|
|
434
|
+
readonly components: readonly [{
|
|
435
|
+
readonly internalType: "uint256";
|
|
436
|
+
readonly name: "gameId";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
}, {
|
|
439
|
+
readonly internalType: "uint256";
|
|
440
|
+
readonly name: "conditionId";
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
}, {
|
|
443
|
+
readonly internalType: "enum IOrder.ConditionKind";
|
|
444
|
+
readonly name: "conditionKind";
|
|
445
|
+
readonly type: "uint8";
|
|
446
|
+
}, {
|
|
447
|
+
readonly internalType: "uint64[]";
|
|
448
|
+
readonly name: "odds";
|
|
449
|
+
readonly type: "uint64[]";
|
|
450
|
+
}, {
|
|
451
|
+
readonly internalType: "uint128[]";
|
|
452
|
+
readonly name: "outcomes";
|
|
453
|
+
readonly type: "uint128[]";
|
|
454
|
+
}, {
|
|
455
|
+
readonly internalType: "uint128";
|
|
456
|
+
readonly name: "payoutLimit";
|
|
457
|
+
readonly type: "uint128";
|
|
458
|
+
}, {
|
|
459
|
+
readonly internalType: "uint8";
|
|
460
|
+
readonly name: "winningOutcomesCount";
|
|
461
|
+
readonly type: "uint8";
|
|
462
|
+
}];
|
|
463
|
+
readonly internalType: "struct IOrder.ConditionData[]";
|
|
464
|
+
readonly name: "conditionDatas";
|
|
465
|
+
readonly type: "tuple[]";
|
|
466
|
+
}, {
|
|
467
|
+
readonly internalType: "enum IOrder.BetType";
|
|
468
|
+
readonly name: "betType";
|
|
469
|
+
readonly type: "uint8";
|
|
470
|
+
}, {
|
|
471
|
+
readonly internalType: "address";
|
|
472
|
+
readonly name: "oracle";
|
|
574
473
|
readonly type: "address";
|
|
575
474
|
}, {
|
|
576
|
-
readonly internalType: "
|
|
577
|
-
readonly name: "
|
|
578
|
-
readonly type: "
|
|
475
|
+
readonly internalType: "bytes";
|
|
476
|
+
readonly name: "clientBetData";
|
|
477
|
+
readonly type: "bytes";
|
|
478
|
+
}, {
|
|
479
|
+
readonly internalType: "bytes";
|
|
480
|
+
readonly name: "bettorSignature";
|
|
481
|
+
readonly type: "bytes";
|
|
579
482
|
}, {
|
|
580
483
|
readonly internalType: "bytes";
|
|
581
|
-
readonly name: "
|
|
484
|
+
readonly name: "oracleSignature";
|
|
582
485
|
readonly type: "bytes";
|
|
583
486
|
}];
|
|
584
|
-
readonly internalType: "struct
|
|
585
|
-
readonly name: "
|
|
487
|
+
readonly internalType: "struct IOrder.OrderData";
|
|
488
|
+
readonly name: "order";
|
|
586
489
|
readonly type: "tuple";
|
|
587
|
-
}];
|
|
588
|
-
readonly name: "bet";
|
|
589
|
-
readonly outputs: readonly [{
|
|
590
|
-
readonly internalType: "uint256";
|
|
591
|
-
readonly name: "";
|
|
592
|
-
readonly type: "uint256";
|
|
593
|
-
}];
|
|
594
|
-
readonly stateMutability: "nonpayable";
|
|
595
|
-
readonly type: "function";
|
|
596
|
-
}, {
|
|
597
|
-
readonly inputs: readonly [{
|
|
598
|
-
readonly internalType: "address";
|
|
599
|
-
readonly name: "bettor";
|
|
600
|
-
readonly type: "address";
|
|
601
490
|
}, {
|
|
602
491
|
readonly internalType: "address";
|
|
603
|
-
readonly name: "
|
|
492
|
+
readonly name: "betOwner";
|
|
604
493
|
readonly type: "address";
|
|
605
494
|
}, {
|
|
606
|
-
readonly internalType: "
|
|
607
|
-
readonly name: "
|
|
608
|
-
readonly type: "
|
|
609
|
-
}, {
|
|
610
|
-
readonly internalType: "uint64";
|
|
611
|
-
readonly name: "expiresAt";
|
|
612
|
-
readonly type: "uint64";
|
|
613
|
-
}, {
|
|
614
|
-
readonly components: readonly [{
|
|
615
|
-
readonly internalType: "address";
|
|
616
|
-
readonly name: "affiliate";
|
|
617
|
-
readonly type: "address";
|
|
618
|
-
}, {
|
|
619
|
-
readonly internalType: "uint64";
|
|
620
|
-
readonly name: "minOdds";
|
|
621
|
-
readonly type: "uint64";
|
|
622
|
-
}, {
|
|
623
|
-
readonly internalType: "bytes";
|
|
624
|
-
readonly name: "data";
|
|
625
|
-
readonly type: "bytes";
|
|
626
|
-
}];
|
|
627
|
-
readonly internalType: "struct IBet.BetData";
|
|
628
|
-
readonly name: "betData";
|
|
629
|
-
readonly type: "tuple";
|
|
630
|
-
}];
|
|
631
|
-
readonly name: "betFor";
|
|
632
|
-
readonly outputs: readonly [{
|
|
633
|
-
readonly internalType: "uint256";
|
|
634
|
-
readonly name: "";
|
|
635
|
-
readonly type: "uint256";
|
|
495
|
+
readonly internalType: "bytes";
|
|
496
|
+
readonly name: "data";
|
|
497
|
+
readonly type: "bytes";
|
|
636
498
|
}];
|
|
499
|
+
readonly name: "betOrder";
|
|
500
|
+
readonly outputs: readonly [];
|
|
637
501
|
readonly stateMutability: "nonpayable";
|
|
638
502
|
readonly type: "function";
|
|
639
503
|
}, {
|
|
640
504
|
readonly inputs: readonly [{
|
|
641
|
-
readonly internalType: "
|
|
642
|
-
readonly name: "
|
|
643
|
-
readonly type: "
|
|
505
|
+
readonly internalType: "address";
|
|
506
|
+
readonly name: "newAffiliate";
|
|
507
|
+
readonly type: "address";
|
|
644
508
|
}];
|
|
645
|
-
readonly name: "
|
|
509
|
+
readonly name: "changeAffiliate";
|
|
646
510
|
readonly outputs: readonly [];
|
|
647
511
|
readonly stateMutability: "nonpayable";
|
|
648
512
|
readonly type: "function";
|
|
@@ -682,23 +546,13 @@ declare const _default: readonly [{
|
|
|
682
546
|
readonly type: "function";
|
|
683
547
|
}, {
|
|
684
548
|
readonly inputs: readonly [{
|
|
685
|
-
readonly internalType: "address";
|
|
686
|
-
readonly name: "newLiquidityManager";
|
|
687
|
-
readonly type: "address";
|
|
688
|
-
}];
|
|
689
|
-
readonly name: "changeLiquidityManager";
|
|
690
|
-
readonly outputs: readonly [];
|
|
691
|
-
readonly stateMutability: "nonpayable";
|
|
692
|
-
readonly type: "function";
|
|
693
|
-
}, {
|
|
694
|
-
readonly inputs: readonly [{
|
|
695
|
-
readonly internalType: "uint256";
|
|
696
|
-
readonly name: "gameId";
|
|
697
|
-
readonly type: "uint256";
|
|
698
|
-
}, {
|
|
699
549
|
readonly internalType: "int128";
|
|
700
550
|
readonly name: "deltaReserve";
|
|
701
551
|
readonly type: "int128";
|
|
552
|
+
}, {
|
|
553
|
+
readonly internalType: "bool";
|
|
554
|
+
readonly name: "isCombo";
|
|
555
|
+
readonly type: "bool";
|
|
702
556
|
}];
|
|
703
557
|
readonly name: "changeLockedLiquidity";
|
|
704
558
|
readonly outputs: readonly [];
|
|
@@ -755,7 +609,7 @@ declare const _default: readonly [{
|
|
|
755
609
|
}, {
|
|
756
610
|
readonly inputs: readonly [{
|
|
757
611
|
readonly internalType: "address";
|
|
758
|
-
readonly name: "
|
|
612
|
+
readonly name: "owner_";
|
|
759
613
|
readonly type: "address";
|
|
760
614
|
}];
|
|
761
615
|
readonly name: "checkOwner";
|
|
@@ -797,6 +651,10 @@ declare const _default: readonly [{
|
|
|
797
651
|
readonly internalType: "uint64";
|
|
798
652
|
readonly name: "reinforcementAbility";
|
|
799
653
|
readonly type: "uint64";
|
|
654
|
+
}, {
|
|
655
|
+
readonly internalType: "uint64";
|
|
656
|
+
readonly name: "reinforcementAbilityCombo";
|
|
657
|
+
readonly type: "uint64";
|
|
800
658
|
}, {
|
|
801
659
|
readonly internalType: "uint128";
|
|
802
660
|
readonly name: "minBet";
|
|
@@ -805,26 +663,12 @@ declare const _default: readonly [{
|
|
|
805
663
|
readonly internalType: "uint128";
|
|
806
664
|
readonly name: "lockedLiquidity";
|
|
807
665
|
readonly type: "uint128";
|
|
808
|
-
}];
|
|
809
|
-
readonly stateMutability: "view";
|
|
810
|
-
readonly type: "function";
|
|
811
|
-
}, {
|
|
812
|
-
readonly inputs: readonly [{
|
|
813
|
-
readonly internalType: "uint256";
|
|
814
|
-
readonly name: "gameId";
|
|
815
|
-
readonly type: "uint256";
|
|
816
|
-
}, {
|
|
817
|
-
readonly internalType: "uint64";
|
|
818
|
-
readonly name: "startsAt";
|
|
819
|
-
readonly type: "uint64";
|
|
820
666
|
}, {
|
|
821
|
-
readonly internalType: "
|
|
822
|
-
readonly name: "
|
|
823
|
-
readonly type: "
|
|
667
|
+
readonly internalType: "uint128";
|
|
668
|
+
readonly name: "lockedLiquidityCombo";
|
|
669
|
+
readonly type: "uint128";
|
|
824
670
|
}];
|
|
825
|
-
readonly
|
|
826
|
-
readonly outputs: readonly [];
|
|
827
|
-
readonly stateMutability: "nonpayable";
|
|
671
|
+
readonly stateMutability: "view";
|
|
828
672
|
readonly type: "function";
|
|
829
673
|
}, {
|
|
830
674
|
readonly inputs: readonly [];
|
|
@@ -836,20 +680,6 @@ declare const _default: readonly [{
|
|
|
836
680
|
}];
|
|
837
681
|
readonly stateMutability: "view";
|
|
838
682
|
readonly type: "function";
|
|
839
|
-
}, {
|
|
840
|
-
readonly inputs: readonly [{
|
|
841
|
-
readonly internalType: "uint128";
|
|
842
|
-
readonly name: "amount";
|
|
843
|
-
readonly type: "uint128";
|
|
844
|
-
}, {
|
|
845
|
-
readonly internalType: "uint48";
|
|
846
|
-
readonly name: "depositId";
|
|
847
|
-
readonly type: "uint48";
|
|
848
|
-
}];
|
|
849
|
-
readonly name: "donateLiquidity";
|
|
850
|
-
readonly outputs: readonly [];
|
|
851
|
-
readonly stateMutability: "nonpayable";
|
|
852
|
-
readonly type: "function";
|
|
853
683
|
}, {
|
|
854
684
|
readonly inputs: readonly [];
|
|
855
685
|
readonly name: "factory";
|
|
@@ -874,64 +704,6 @@ declare const _default: readonly [{
|
|
|
874
704
|
}];
|
|
875
705
|
readonly stateMutability: "view";
|
|
876
706
|
readonly type: "function";
|
|
877
|
-
}, {
|
|
878
|
-
readonly inputs: readonly [{
|
|
879
|
-
readonly internalType: "uint256";
|
|
880
|
-
readonly name: "";
|
|
881
|
-
readonly type: "uint256";
|
|
882
|
-
}];
|
|
883
|
-
readonly name: "games";
|
|
884
|
-
readonly outputs: readonly [{
|
|
885
|
-
readonly internalType: "bytes32";
|
|
886
|
-
readonly name: "unusedVariable";
|
|
887
|
-
readonly type: "bytes32";
|
|
888
|
-
}, {
|
|
889
|
-
readonly internalType: "uint128";
|
|
890
|
-
readonly name: "lockedLiquidity";
|
|
891
|
-
readonly type: "uint128";
|
|
892
|
-
}, {
|
|
893
|
-
readonly internalType: "uint64";
|
|
894
|
-
readonly name: "startsAt";
|
|
895
|
-
readonly type: "uint64";
|
|
896
|
-
}, {
|
|
897
|
-
readonly internalType: "bool";
|
|
898
|
-
readonly name: "canceled";
|
|
899
|
-
readonly type: "bool";
|
|
900
|
-
}];
|
|
901
|
-
readonly stateMutability: "view";
|
|
902
|
-
readonly type: "function";
|
|
903
|
-
}, {
|
|
904
|
-
readonly inputs: readonly [{
|
|
905
|
-
readonly internalType: "uint256";
|
|
906
|
-
readonly name: "tokenId";
|
|
907
|
-
readonly type: "uint256";
|
|
908
|
-
}];
|
|
909
|
-
readonly name: "getApproved";
|
|
910
|
-
readonly outputs: readonly [{
|
|
911
|
-
readonly internalType: "address";
|
|
912
|
-
readonly name: "";
|
|
913
|
-
readonly type: "address";
|
|
914
|
-
}];
|
|
915
|
-
readonly stateMutability: "view";
|
|
916
|
-
readonly type: "function";
|
|
917
|
-
}, {
|
|
918
|
-
readonly inputs: readonly [{
|
|
919
|
-
readonly internalType: "uint256";
|
|
920
|
-
readonly name: "gameId";
|
|
921
|
-
readonly type: "uint256";
|
|
922
|
-
}];
|
|
923
|
-
readonly name: "getGameInfo";
|
|
924
|
-
readonly outputs: readonly [{
|
|
925
|
-
readonly internalType: "uint64";
|
|
926
|
-
readonly name: "";
|
|
927
|
-
readonly type: "uint64";
|
|
928
|
-
}, {
|
|
929
|
-
readonly internalType: "bool";
|
|
930
|
-
readonly name: "";
|
|
931
|
-
readonly type: "bool";
|
|
932
|
-
}];
|
|
933
|
-
readonly stateMutability: "view";
|
|
934
|
-
readonly type: "function";
|
|
935
707
|
}, {
|
|
936
708
|
readonly inputs: readonly [];
|
|
937
709
|
readonly name: "getLastDepositId";
|
|
@@ -951,17 +723,11 @@ declare const _default: readonly [{
|
|
|
951
723
|
readonly name: "getLockedLiquidityLimit";
|
|
952
724
|
readonly outputs: readonly [{
|
|
953
725
|
readonly internalType: "uint128";
|
|
954
|
-
readonly name: "";
|
|
726
|
+
readonly name: "maxLiquidity";
|
|
955
727
|
readonly type: "uint128";
|
|
956
|
-
}
|
|
957
|
-
readonly stateMutability: "view";
|
|
958
|
-
readonly type: "function";
|
|
959
|
-
}, {
|
|
960
|
-
readonly inputs: readonly [];
|
|
961
|
-
readonly name: "getReserve";
|
|
962
|
-
readonly outputs: readonly [{
|
|
728
|
+
}, {
|
|
963
729
|
readonly internalType: "uint128";
|
|
964
|
-
readonly name: "
|
|
730
|
+
readonly name: "maxLiquidityCombo";
|
|
965
731
|
readonly type: "uint128";
|
|
966
732
|
}];
|
|
967
733
|
readonly stateMutability: "view";
|
|
@@ -971,13 +737,17 @@ declare const _default: readonly [{
|
|
|
971
737
|
readonly internalType: "address";
|
|
972
738
|
readonly name: "access_";
|
|
973
739
|
readonly type: "address";
|
|
740
|
+
}, {
|
|
741
|
+
readonly internalType: "address";
|
|
742
|
+
readonly name: "vault_";
|
|
743
|
+
readonly type: "address";
|
|
974
744
|
}, {
|
|
975
745
|
readonly internalType: "address";
|
|
976
746
|
readonly name: "dataProvider_";
|
|
977
747
|
readonly type: "address";
|
|
978
748
|
}, {
|
|
979
749
|
readonly internalType: "address";
|
|
980
|
-
readonly name: "
|
|
750
|
+
readonly name: "affiliate_";
|
|
981
751
|
readonly type: "address";
|
|
982
752
|
}, {
|
|
983
753
|
readonly internalType: "uint128";
|
|
@@ -991,29 +761,15 @@ declare const _default: readonly [{
|
|
|
991
761
|
readonly internalType: "uint64";
|
|
992
762
|
readonly name: "dataProviderFee";
|
|
993
763
|
readonly type: "uint64";
|
|
764
|
+
}, {
|
|
765
|
+
readonly internalType: "uint64";
|
|
766
|
+
readonly name: "affiliateFee";
|
|
767
|
+
readonly type: "uint64";
|
|
994
768
|
}];
|
|
995
769
|
readonly name: "initialize";
|
|
996
770
|
readonly outputs: readonly [];
|
|
997
771
|
readonly stateMutability: "nonpayable";
|
|
998
772
|
readonly type: "function";
|
|
999
|
-
}, {
|
|
1000
|
-
readonly inputs: readonly [{
|
|
1001
|
-
readonly internalType: "address";
|
|
1002
|
-
readonly name: "owner";
|
|
1003
|
-
readonly type: "address";
|
|
1004
|
-
}, {
|
|
1005
|
-
readonly internalType: "address";
|
|
1006
|
-
readonly name: "operator";
|
|
1007
|
-
readonly type: "address";
|
|
1008
|
-
}];
|
|
1009
|
-
readonly name: "isApprovedForAll";
|
|
1010
|
-
readonly outputs: readonly [{
|
|
1011
|
-
readonly internalType: "bool";
|
|
1012
|
-
readonly name: "";
|
|
1013
|
-
readonly type: "bool";
|
|
1014
|
-
}];
|
|
1015
|
-
readonly stateMutability: "view";
|
|
1016
|
-
readonly type: "function";
|
|
1017
773
|
}, {
|
|
1018
774
|
readonly inputs: readonly [{
|
|
1019
775
|
readonly internalType: "uint256";
|
|
@@ -1028,80 +784,36 @@ declare const _default: readonly [{
|
|
|
1028
784
|
}];
|
|
1029
785
|
readonly stateMutability: "view";
|
|
1030
786
|
readonly type: "function";
|
|
1031
|
-
}, {
|
|
1032
|
-
readonly inputs: readonly [{
|
|
1033
|
-
readonly internalType: "uint256";
|
|
1034
|
-
readonly name: "gameId";
|
|
1035
|
-
readonly type: "uint256";
|
|
1036
|
-
}];
|
|
1037
|
-
readonly name: "isGameCanceled";
|
|
1038
|
-
readonly outputs: readonly [{
|
|
1039
|
-
readonly internalType: "bool";
|
|
1040
|
-
readonly name: "";
|
|
1041
|
-
readonly type: "bool";
|
|
1042
|
-
}];
|
|
1043
|
-
readonly stateMutability: "view";
|
|
1044
|
-
readonly type: "function";
|
|
1045
787
|
}, {
|
|
1046
788
|
readonly inputs: readonly [];
|
|
1047
|
-
readonly name: "
|
|
789
|
+
readonly name: "legacyLP";
|
|
1048
790
|
readonly outputs: readonly [{
|
|
1049
|
-
readonly internalType: "
|
|
791
|
+
readonly internalType: "address";
|
|
1050
792
|
readonly name: "";
|
|
1051
793
|
readonly type: "address";
|
|
1052
794
|
}];
|
|
1053
795
|
readonly stateMutability: "view";
|
|
1054
796
|
readonly type: "function";
|
|
1055
797
|
}, {
|
|
1056
|
-
readonly inputs: readonly [
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
readonly
|
|
1060
|
-
readonly name: "";
|
|
1061
|
-
readonly type: "uint128";
|
|
1062
|
-
}];
|
|
1063
|
-
readonly stateMutability: "view";
|
|
1064
|
-
readonly type: "function";
|
|
1065
|
-
}, {
|
|
1066
|
-
readonly inputs: readonly [];
|
|
1067
|
-
readonly name: "minDepo";
|
|
1068
|
-
readonly outputs: readonly [{
|
|
1069
|
-
readonly internalType: "uint128";
|
|
1070
|
-
readonly name: "";
|
|
1071
|
-
readonly type: "uint128";
|
|
1072
|
-
}];
|
|
1073
|
-
readonly stateMutability: "view";
|
|
1074
|
-
readonly type: "function";
|
|
1075
|
-
}, {
|
|
1076
|
-
readonly inputs: readonly [];
|
|
1077
|
-
readonly name: "name";
|
|
1078
|
-
readonly outputs: readonly [{
|
|
1079
|
-
readonly internalType: "string";
|
|
1080
|
-
readonly name: "";
|
|
1081
|
-
readonly type: "string";
|
|
798
|
+
readonly inputs: readonly [{
|
|
799
|
+
readonly internalType: "uint48[]";
|
|
800
|
+
readonly name: "oldDepositIds";
|
|
801
|
+
readonly type: "uint48[]";
|
|
1082
802
|
}];
|
|
1083
|
-
readonly
|
|
1084
|
-
readonly type: "function";
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly inputs: readonly [];
|
|
1087
|
-
readonly name: "nextNode";
|
|
803
|
+
readonly name: "migrateDeposits";
|
|
1088
804
|
readonly outputs: readonly [{
|
|
1089
805
|
readonly internalType: "uint48";
|
|
1090
|
-
readonly name: "";
|
|
806
|
+
readonly name: "depositId";
|
|
1091
807
|
readonly type: "uint48";
|
|
1092
808
|
}];
|
|
1093
|
-
readonly stateMutability: "
|
|
809
|
+
readonly stateMutability: "nonpayable";
|
|
1094
810
|
readonly type: "function";
|
|
1095
811
|
}, {
|
|
1096
|
-
readonly inputs: readonly [
|
|
1097
|
-
|
|
1098
|
-
readonly name: "leaf";
|
|
1099
|
-
readonly type: "uint48";
|
|
1100
|
-
}];
|
|
1101
|
-
readonly name: "nodeWithdrawView";
|
|
812
|
+
readonly inputs: readonly [];
|
|
813
|
+
readonly name: "minDepo";
|
|
1102
814
|
readonly outputs: readonly [{
|
|
1103
815
|
readonly internalType: "uint128";
|
|
1104
|
-
readonly name: "
|
|
816
|
+
readonly name: "";
|
|
1105
817
|
readonly type: "uint128";
|
|
1106
818
|
}];
|
|
1107
819
|
readonly stateMutability: "view";
|
|
@@ -1117,12 +829,8 @@ declare const _default: readonly [{
|
|
|
1117
829
|
readonly stateMutability: "view";
|
|
1118
830
|
readonly type: "function";
|
|
1119
831
|
}, {
|
|
1120
|
-
readonly inputs: readonly [
|
|
1121
|
-
|
|
1122
|
-
readonly name: "tokenId";
|
|
1123
|
-
readonly type: "uint256";
|
|
1124
|
-
}];
|
|
1125
|
-
readonly name: "ownerOf";
|
|
832
|
+
readonly inputs: readonly [];
|
|
833
|
+
readonly name: "relayer";
|
|
1126
834
|
readonly outputs: readonly [{
|
|
1127
835
|
readonly internalType: "address";
|
|
1128
836
|
readonly name: "";
|
|
@@ -1130,6 +838,12 @@ declare const _default: readonly [{
|
|
|
1130
838
|
}];
|
|
1131
839
|
readonly stateMutability: "view";
|
|
1132
840
|
readonly type: "function";
|
|
841
|
+
}, {
|
|
842
|
+
readonly inputs: readonly [];
|
|
843
|
+
readonly name: "renounceOwnership";
|
|
844
|
+
readonly outputs: readonly [];
|
|
845
|
+
readonly stateMutability: "nonpayable";
|
|
846
|
+
readonly type: "function";
|
|
1133
847
|
}, {
|
|
1134
848
|
readonly inputs: readonly [{
|
|
1135
849
|
readonly internalType: "address";
|
|
@@ -1151,95 +865,23 @@ declare const _default: readonly [{
|
|
|
1151
865
|
}, {
|
|
1152
866
|
readonly inputs: readonly [{
|
|
1153
867
|
readonly internalType: "address";
|
|
1154
|
-
readonly name: "
|
|
868
|
+
readonly name: "legacyLP_";
|
|
1155
869
|
readonly type: "address";
|
|
1156
|
-
}, {
|
|
1157
|
-
readonly internalType: "address";
|
|
1158
|
-
readonly name: "to";
|
|
1159
|
-
readonly type: "address";
|
|
1160
|
-
}, {
|
|
1161
|
-
readonly internalType: "uint256";
|
|
1162
|
-
readonly name: "tokenId";
|
|
1163
|
-
readonly type: "uint256";
|
|
1164
870
|
}];
|
|
1165
|
-
readonly name: "
|
|
871
|
+
readonly name: "setLegacyLP";
|
|
1166
872
|
readonly outputs: readonly [];
|
|
1167
873
|
readonly stateMutability: "nonpayable";
|
|
1168
874
|
readonly type: "function";
|
|
1169
875
|
}, {
|
|
1170
876
|
readonly inputs: readonly [{
|
|
1171
877
|
readonly internalType: "address";
|
|
1172
|
-
readonly name: "
|
|
1173
|
-
readonly type: "address";
|
|
1174
|
-
}, {
|
|
1175
|
-
readonly internalType: "address";
|
|
1176
|
-
readonly name: "to";
|
|
878
|
+
readonly name: "relayer_";
|
|
1177
879
|
readonly type: "address";
|
|
1178
|
-
}, {
|
|
1179
|
-
readonly internalType: "uint256";
|
|
1180
|
-
readonly name: "tokenId";
|
|
1181
|
-
readonly type: "uint256";
|
|
1182
|
-
}, {
|
|
1183
|
-
readonly internalType: "bytes";
|
|
1184
|
-
readonly name: "data";
|
|
1185
|
-
readonly type: "bytes";
|
|
1186
|
-
}];
|
|
1187
|
-
readonly name: "safeTransferFrom";
|
|
1188
|
-
readonly outputs: readonly [];
|
|
1189
|
-
readonly stateMutability: "nonpayable";
|
|
1190
|
-
readonly type: "function";
|
|
1191
|
-
}, {
|
|
1192
|
-
readonly inputs: readonly [{
|
|
1193
|
-
readonly internalType: "address";
|
|
1194
|
-
readonly name: "operator";
|
|
1195
|
-
readonly type: "address";
|
|
1196
|
-
}, {
|
|
1197
|
-
readonly internalType: "bool";
|
|
1198
|
-
readonly name: "approved";
|
|
1199
|
-
readonly type: "bool";
|
|
1200
|
-
}];
|
|
1201
|
-
readonly name: "setApprovalForAll";
|
|
1202
|
-
readonly outputs: readonly [];
|
|
1203
|
-
readonly stateMutability: "nonpayable";
|
|
1204
|
-
readonly type: "function";
|
|
1205
|
-
}, {
|
|
1206
|
-
readonly inputs: readonly [{
|
|
1207
|
-
readonly internalType: "uint256";
|
|
1208
|
-
readonly name: "gameId";
|
|
1209
|
-
readonly type: "uint256";
|
|
1210
|
-
}, {
|
|
1211
|
-
readonly internalType: "uint64";
|
|
1212
|
-
readonly name: "startsAt";
|
|
1213
|
-
readonly type: "uint64";
|
|
1214
880
|
}];
|
|
1215
|
-
readonly name: "
|
|
881
|
+
readonly name: "setRelayer";
|
|
1216
882
|
readonly outputs: readonly [];
|
|
1217
883
|
readonly stateMutability: "nonpayable";
|
|
1218
884
|
readonly type: "function";
|
|
1219
|
-
}, {
|
|
1220
|
-
readonly inputs: readonly [{
|
|
1221
|
-
readonly internalType: "bytes4";
|
|
1222
|
-
readonly name: "interfaceId";
|
|
1223
|
-
readonly type: "bytes4";
|
|
1224
|
-
}];
|
|
1225
|
-
readonly name: "supportsInterface";
|
|
1226
|
-
readonly outputs: readonly [{
|
|
1227
|
-
readonly internalType: "bool";
|
|
1228
|
-
readonly name: "";
|
|
1229
|
-
readonly type: "bool";
|
|
1230
|
-
}];
|
|
1231
|
-
readonly stateMutability: "view";
|
|
1232
|
-
readonly type: "function";
|
|
1233
|
-
}, {
|
|
1234
|
-
readonly inputs: readonly [];
|
|
1235
|
-
readonly name: "symbol";
|
|
1236
|
-
readonly outputs: readonly [{
|
|
1237
|
-
readonly internalType: "string";
|
|
1238
|
-
readonly name: "";
|
|
1239
|
-
readonly type: "string";
|
|
1240
|
-
}];
|
|
1241
|
-
readonly stateMutability: "view";
|
|
1242
|
-
readonly type: "function";
|
|
1243
885
|
}, {
|
|
1244
886
|
readonly inputs: readonly [];
|
|
1245
887
|
readonly name: "token";
|
|
@@ -1250,80 +892,6 @@ declare const _default: readonly [{
|
|
|
1250
892
|
}];
|
|
1251
893
|
readonly stateMutability: "view";
|
|
1252
894
|
readonly type: "function";
|
|
1253
|
-
}, {
|
|
1254
|
-
readonly inputs: readonly [{
|
|
1255
|
-
readonly internalType: "uint256";
|
|
1256
|
-
readonly name: "index";
|
|
1257
|
-
readonly type: "uint256";
|
|
1258
|
-
}];
|
|
1259
|
-
readonly name: "tokenByIndex";
|
|
1260
|
-
readonly outputs: readonly [{
|
|
1261
|
-
readonly internalType: "uint256";
|
|
1262
|
-
readonly name: "";
|
|
1263
|
-
readonly type: "uint256";
|
|
1264
|
-
}];
|
|
1265
|
-
readonly stateMutability: "view";
|
|
1266
|
-
readonly type: "function";
|
|
1267
|
-
}, {
|
|
1268
|
-
readonly inputs: readonly [{
|
|
1269
|
-
readonly internalType: "address";
|
|
1270
|
-
readonly name: "owner";
|
|
1271
|
-
readonly type: "address";
|
|
1272
|
-
}, {
|
|
1273
|
-
readonly internalType: "uint256";
|
|
1274
|
-
readonly name: "index";
|
|
1275
|
-
readonly type: "uint256";
|
|
1276
|
-
}];
|
|
1277
|
-
readonly name: "tokenOfOwnerByIndex";
|
|
1278
|
-
readonly outputs: readonly [{
|
|
1279
|
-
readonly internalType: "uint256";
|
|
1280
|
-
readonly name: "";
|
|
1281
|
-
readonly type: "uint256";
|
|
1282
|
-
}];
|
|
1283
|
-
readonly stateMutability: "view";
|
|
1284
|
-
readonly type: "function";
|
|
1285
|
-
}, {
|
|
1286
|
-
readonly inputs: readonly [{
|
|
1287
|
-
readonly internalType: "uint256";
|
|
1288
|
-
readonly name: "tokenId";
|
|
1289
|
-
readonly type: "uint256";
|
|
1290
|
-
}];
|
|
1291
|
-
readonly name: "tokenURI";
|
|
1292
|
-
readonly outputs: readonly [{
|
|
1293
|
-
readonly internalType: "string";
|
|
1294
|
-
readonly name: "";
|
|
1295
|
-
readonly type: "string";
|
|
1296
|
-
}];
|
|
1297
|
-
readonly stateMutability: "view";
|
|
1298
|
-
readonly type: "function";
|
|
1299
|
-
}, {
|
|
1300
|
-
readonly inputs: readonly [];
|
|
1301
|
-
readonly name: "totalSupply";
|
|
1302
|
-
readonly outputs: readonly [{
|
|
1303
|
-
readonly internalType: "uint256";
|
|
1304
|
-
readonly name: "";
|
|
1305
|
-
readonly type: "uint256";
|
|
1306
|
-
}];
|
|
1307
|
-
readonly stateMutability: "view";
|
|
1308
|
-
readonly type: "function";
|
|
1309
|
-
}, {
|
|
1310
|
-
readonly inputs: readonly [{
|
|
1311
|
-
readonly internalType: "address";
|
|
1312
|
-
readonly name: "from";
|
|
1313
|
-
readonly type: "address";
|
|
1314
|
-
}, {
|
|
1315
|
-
readonly internalType: "address";
|
|
1316
|
-
readonly name: "to";
|
|
1317
|
-
readonly type: "address";
|
|
1318
|
-
}, {
|
|
1319
|
-
readonly internalType: "uint256";
|
|
1320
|
-
readonly name: "tokenId";
|
|
1321
|
-
readonly type: "uint256";
|
|
1322
|
-
}];
|
|
1323
|
-
readonly name: "transferFrom";
|
|
1324
|
-
readonly outputs: readonly [];
|
|
1325
|
-
readonly stateMutability: "nonpayable";
|
|
1326
|
-
readonly type: "function";
|
|
1327
895
|
}, {
|
|
1328
896
|
readonly inputs: readonly [{
|
|
1329
897
|
readonly internalType: "address";
|
|
@@ -1334,24 +902,6 @@ declare const _default: readonly [{
|
|
|
1334
902
|
readonly outputs: readonly [];
|
|
1335
903
|
readonly stateMutability: "nonpayable";
|
|
1336
904
|
readonly type: "function";
|
|
1337
|
-
}, {
|
|
1338
|
-
readonly inputs: readonly [{
|
|
1339
|
-
readonly internalType: "uint48";
|
|
1340
|
-
readonly name: "";
|
|
1341
|
-
readonly type: "uint48";
|
|
1342
|
-
}];
|
|
1343
|
-
readonly name: "treeNode";
|
|
1344
|
-
readonly outputs: readonly [{
|
|
1345
|
-
readonly internalType: "uint64";
|
|
1346
|
-
readonly name: "updateId";
|
|
1347
|
-
readonly type: "uint64";
|
|
1348
|
-
}, {
|
|
1349
|
-
readonly internalType: "uint128";
|
|
1350
|
-
readonly name: "amount";
|
|
1351
|
-
readonly type: "uint128";
|
|
1352
|
-
}];
|
|
1353
|
-
readonly stateMutability: "view";
|
|
1354
|
-
readonly type: "function";
|
|
1355
905
|
}, {
|
|
1356
906
|
readonly inputs: readonly [{
|
|
1357
907
|
readonly internalType: "address";
|
|
@@ -1365,6 +915,10 @@ declare const _default: readonly [{
|
|
|
1365
915
|
readonly internalType: "uint64";
|
|
1366
916
|
readonly name: "reinforcementAbility";
|
|
1367
917
|
readonly type: "uint64";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "uint64";
|
|
920
|
+
readonly name: "reinforcementAbilityCombo";
|
|
921
|
+
readonly type: "uint64";
|
|
1368
922
|
}, {
|
|
1369
923
|
readonly internalType: "uint128";
|
|
1370
924
|
readonly name: "minBet";
|
|
@@ -1376,11 +930,11 @@ declare const _default: readonly [{
|
|
|
1376
930
|
readonly type: "function";
|
|
1377
931
|
}, {
|
|
1378
932
|
readonly inputs: readonly [];
|
|
1379
|
-
readonly name: "
|
|
933
|
+
readonly name: "vault";
|
|
1380
934
|
readonly outputs: readonly [{
|
|
1381
|
-
readonly internalType: "
|
|
935
|
+
readonly internalType: "contract IVault";
|
|
1382
936
|
readonly name: "";
|
|
1383
|
-
readonly type: "
|
|
937
|
+
readonly type: "address";
|
|
1384
938
|
}];
|
|
1385
939
|
readonly stateMutability: "view";
|
|
1386
940
|
readonly type: "function";
|
|
@@ -1426,7 +980,7 @@ declare const _default: readonly [{
|
|
|
1426
980
|
readonly name: "percent";
|
|
1427
981
|
readonly type: "uint40";
|
|
1428
982
|
}];
|
|
1429
|
-
readonly name: "
|
|
983
|
+
readonly name: "withdrawDeposit";
|
|
1430
984
|
readonly outputs: readonly [{
|
|
1431
985
|
readonly internalType: "uint128";
|
|
1432
986
|
readonly name: "withdrawnAmount";
|
|
@@ -1452,6 +1006,20 @@ declare const _default: readonly [{
|
|
|
1452
1006
|
}];
|
|
1453
1007
|
readonly stateMutability: "nonpayable";
|
|
1454
1008
|
readonly type: "function";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly inputs: readonly [{
|
|
1011
|
+
readonly internalType: "address";
|
|
1012
|
+
readonly name: "core";
|
|
1013
|
+
readonly type: "address";
|
|
1014
|
+
}, {
|
|
1015
|
+
readonly internalType: "uint256[]";
|
|
1016
|
+
readonly name: "tokenIds";
|
|
1017
|
+
readonly type: "uint256[]";
|
|
1018
|
+
}];
|
|
1019
|
+
readonly name: "withdrawPayouts";
|
|
1020
|
+
readonly outputs: readonly [];
|
|
1021
|
+
readonly stateMutability: "nonpayable";
|
|
1022
|
+
readonly type: "function";
|
|
1455
1023
|
}, {
|
|
1456
1024
|
readonly inputs: readonly [];
|
|
1457
1025
|
readonly name: "withdrawTimeout";
|