@azuro-org/toolkit 4.6.0-beta.1 → 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/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 -5
- 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/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 -15
- package/dist/index.js +3711 -3156
- package/dist/utils/cashback/createCashbackTransaction.d.ts +0 -14
- package/dist/utils/cashback/getCashbackBalance.d.ts +0 -18
- 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/docs/{prematch → bets}/gameBets.d.ts +0 -0
package/README.md
CHANGED
|
@@ -13,9 +13,9 @@ npm i --save @azuro-org/toolkit
|
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
@azuro-org/dictionaries@^3.0.26
|
|
16
|
-
@wagmi/core@^2.16.
|
|
17
|
-
viem@^2.
|
|
18
|
-
graphql-tag@^2.12.
|
|
16
|
+
@wagmi/core@^2.16.7
|
|
17
|
+
viem@^2.24.3
|
|
18
|
+
graphql-tag@^2.12.6
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Package information can be found in our [Doc](https://gem.azuro.org/hub/apps/toolkit/overview)
|
|
@@ -1,74 +1,122 @@
|
|
|
1
1
|
declare const _default: readonly [{
|
|
2
2
|
readonly inputs: readonly [];
|
|
3
|
-
readonly name: "
|
|
4
|
-
readonly type: "error";
|
|
5
|
-
}, {
|
|
6
|
-
readonly inputs: readonly [];
|
|
7
|
-
readonly name: "BetNotExists";
|
|
3
|
+
readonly name: "ERC721EnumerableForbiddenBatchMint";
|
|
8
4
|
readonly type: "error";
|
|
9
5
|
}, {
|
|
10
6
|
readonly inputs: readonly [{
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "sender";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}, {
|
|
11
11
|
readonly internalType: "uint256";
|
|
12
|
-
readonly name: "
|
|
12
|
+
readonly name: "tokenId";
|
|
13
13
|
readonly type: "uint256";
|
|
14
|
+
}, {
|
|
15
|
+
readonly internalType: "address";
|
|
16
|
+
readonly name: "owner";
|
|
17
|
+
readonly type: "address";
|
|
14
18
|
}];
|
|
15
|
-
readonly name: "
|
|
19
|
+
readonly name: "ERC721IncorrectOwner";
|
|
16
20
|
readonly type: "error";
|
|
17
21
|
}, {
|
|
18
22
|
readonly inputs: readonly [{
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "operator";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}, {
|
|
19
27
|
readonly internalType: "uint256";
|
|
20
|
-
readonly name: "
|
|
28
|
+
readonly name: "tokenId";
|
|
21
29
|
readonly type: "uint256";
|
|
22
30
|
}];
|
|
23
|
-
readonly name: "
|
|
31
|
+
readonly name: "ERC721InsufficientApproval";
|
|
24
32
|
readonly type: "error";
|
|
25
33
|
}, {
|
|
26
|
-
readonly inputs: readonly [
|
|
27
|
-
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
readonly name: "approver";
|
|
37
|
+
readonly type: "address";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "ERC721InvalidApprover";
|
|
28
40
|
readonly type: "error";
|
|
29
41
|
}, {
|
|
30
|
-
readonly inputs: readonly [
|
|
31
|
-
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
readonly name: "operator";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "ERC721InvalidOperator";
|
|
32
48
|
readonly type: "error";
|
|
33
49
|
}, {
|
|
34
|
-
readonly inputs: readonly [
|
|
35
|
-
|
|
50
|
+
readonly inputs: readonly [{
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
readonly name: "owner";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly name: "ERC721InvalidOwner";
|
|
36
56
|
readonly type: "error";
|
|
37
57
|
}, {
|
|
38
|
-
readonly inputs: readonly [
|
|
39
|
-
|
|
58
|
+
readonly inputs: readonly [{
|
|
59
|
+
readonly internalType: "address";
|
|
60
|
+
readonly name: "receiver";
|
|
61
|
+
readonly type: "address";
|
|
62
|
+
}];
|
|
63
|
+
readonly name: "ERC721InvalidReceiver";
|
|
40
64
|
readonly type: "error";
|
|
41
65
|
}, {
|
|
42
66
|
readonly inputs: readonly [{
|
|
43
|
-
readonly internalType: "
|
|
44
|
-
readonly name: "
|
|
45
|
-
readonly type: "
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
readonly name: "sender";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}];
|
|
71
|
+
readonly name: "ERC721InvalidSender";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [{
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
readonly name: "tokenId";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
}];
|
|
79
|
+
readonly name: "ERC721NonexistentToken";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "owner";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}, {
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
readonly name: "index";
|
|
89
|
+
readonly type: "uint256";
|
|
46
90
|
}];
|
|
47
|
-
readonly name: "
|
|
91
|
+
readonly name: "ERC721OutOfBoundsIndex";
|
|
48
92
|
readonly type: "error";
|
|
49
93
|
}, {
|
|
50
94
|
readonly inputs: readonly [];
|
|
51
|
-
readonly name: "
|
|
95
|
+
readonly name: "InvalidInitialization";
|
|
52
96
|
readonly type: "error";
|
|
53
97
|
}, {
|
|
54
98
|
readonly inputs: readonly [];
|
|
55
|
-
readonly name: "
|
|
99
|
+
readonly name: "NotInitializing";
|
|
56
100
|
readonly type: "error";
|
|
57
101
|
}, {
|
|
58
102
|
readonly inputs: readonly [];
|
|
59
|
-
readonly name: "
|
|
103
|
+
readonly name: "OnlyCore";
|
|
60
104
|
readonly type: "error";
|
|
61
105
|
}, {
|
|
62
106
|
readonly inputs: readonly [{
|
|
63
|
-
readonly internalType: "
|
|
64
|
-
readonly name: "
|
|
65
|
-
readonly type: "
|
|
107
|
+
readonly internalType: "address";
|
|
108
|
+
readonly name: "owner";
|
|
109
|
+
readonly type: "address";
|
|
66
110
|
}];
|
|
67
|
-
readonly name: "
|
|
111
|
+
readonly name: "OwnableInvalidOwner";
|
|
68
112
|
readonly type: "error";
|
|
69
113
|
}, {
|
|
70
|
-
readonly inputs: readonly [
|
|
71
|
-
|
|
114
|
+
readonly inputs: readonly [{
|
|
115
|
+
readonly internalType: "address";
|
|
116
|
+
readonly name: "account";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
}];
|
|
119
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
72
120
|
readonly type: "error";
|
|
73
121
|
}, {
|
|
74
122
|
readonly anonymous: false;
|
|
@@ -114,81 +162,12 @@ declare const _default: readonly [{
|
|
|
114
162
|
readonly anonymous: false;
|
|
115
163
|
readonly inputs: readonly [{
|
|
116
164
|
readonly indexed: false;
|
|
117
|
-
readonly internalType: "
|
|
165
|
+
readonly internalType: "uint64";
|
|
118
166
|
readonly name: "version";
|
|
119
|
-
readonly type: "
|
|
167
|
+
readonly type: "uint64";
|
|
120
168
|
}];
|
|
121
169
|
readonly name: "Initialized";
|
|
122
170
|
readonly type: "event";
|
|
123
|
-
}, {
|
|
124
|
-
readonly anonymous: false;
|
|
125
|
-
readonly inputs: readonly [{
|
|
126
|
-
readonly indexed: false;
|
|
127
|
-
readonly internalType: "uint256";
|
|
128
|
-
readonly name: "newMaxOdds";
|
|
129
|
-
readonly type: "uint256";
|
|
130
|
-
}];
|
|
131
|
-
readonly name: "MaxOddsChanged";
|
|
132
|
-
readonly type: "event";
|
|
133
|
-
}, {
|
|
134
|
-
readonly anonymous: false;
|
|
135
|
-
readonly inputs: readonly [{
|
|
136
|
-
readonly indexed: true;
|
|
137
|
-
readonly internalType: "address";
|
|
138
|
-
readonly name: "bettor";
|
|
139
|
-
readonly type: "address";
|
|
140
|
-
}, {
|
|
141
|
-
readonly indexed: true;
|
|
142
|
-
readonly internalType: "address";
|
|
143
|
-
readonly name: "affiliate";
|
|
144
|
-
readonly type: "address";
|
|
145
|
-
}, {
|
|
146
|
-
readonly indexed: true;
|
|
147
|
-
readonly internalType: "uint256";
|
|
148
|
-
readonly name: "betId";
|
|
149
|
-
readonly type: "uint256";
|
|
150
|
-
}, {
|
|
151
|
-
readonly components: readonly [{
|
|
152
|
-
readonly internalType: "uint64";
|
|
153
|
-
readonly name: "odds";
|
|
154
|
-
readonly type: "uint64";
|
|
155
|
-
}, {
|
|
156
|
-
readonly internalType: "uint128";
|
|
157
|
-
readonly name: "amount";
|
|
158
|
-
readonly type: "uint128";
|
|
159
|
-
}, {
|
|
160
|
-
readonly internalType: "uint48";
|
|
161
|
-
readonly name: "lastDepositId";
|
|
162
|
-
readonly type: "uint48";
|
|
163
|
-
}, {
|
|
164
|
-
readonly internalType: "bool";
|
|
165
|
-
readonly name: "isClaimed";
|
|
166
|
-
readonly type: "bool";
|
|
167
|
-
}, {
|
|
168
|
-
readonly components: readonly [{
|
|
169
|
-
readonly internalType: "uint256";
|
|
170
|
-
readonly name: "conditionId";
|
|
171
|
-
readonly type: "uint256";
|
|
172
|
-
}, {
|
|
173
|
-
readonly internalType: "uint64";
|
|
174
|
-
readonly name: "outcomeId";
|
|
175
|
-
readonly type: "uint64";
|
|
176
|
-
}];
|
|
177
|
-
readonly internalType: "struct ICoreBase.CoreBetData[]";
|
|
178
|
-
readonly name: "subBets";
|
|
179
|
-
readonly type: "tuple[]";
|
|
180
|
-
}, {
|
|
181
|
-
readonly internalType: "uint64[]";
|
|
182
|
-
readonly name: "conditionOdds";
|
|
183
|
-
readonly type: "uint64[]";
|
|
184
|
-
}];
|
|
185
|
-
readonly indexed: false;
|
|
186
|
-
readonly internalType: "struct IBetExpress.Bet";
|
|
187
|
-
readonly name: "bet";
|
|
188
|
-
readonly type: "tuple";
|
|
189
|
-
}];
|
|
190
|
-
readonly name: "NewBet";
|
|
191
|
-
readonly type: "event";
|
|
192
171
|
}, {
|
|
193
172
|
readonly anonymous: false;
|
|
194
173
|
readonly inputs: readonly [{
|
|
@@ -204,16 +183,6 @@ declare const _default: readonly [{
|
|
|
204
183
|
}];
|
|
205
184
|
readonly name: "OwnershipTransferred";
|
|
206
185
|
readonly type: "event";
|
|
207
|
-
}, {
|
|
208
|
-
readonly anonymous: false;
|
|
209
|
-
readonly inputs: readonly [{
|
|
210
|
-
readonly indexed: false;
|
|
211
|
-
readonly internalType: "uint128";
|
|
212
|
-
readonly name: "newReinforcement";
|
|
213
|
-
readonly type: "uint128";
|
|
214
|
-
}];
|
|
215
|
-
readonly name: "ReinforcementChanged";
|
|
216
|
-
readonly type: "event";
|
|
217
186
|
}, {
|
|
218
187
|
readonly anonymous: false;
|
|
219
188
|
readonly inputs: readonly [{
|
|
@@ -272,86 +241,21 @@ declare const _default: readonly [{
|
|
|
272
241
|
}];
|
|
273
242
|
readonly stateMutability: "view";
|
|
274
243
|
readonly type: "function";
|
|
275
|
-
}, {
|
|
276
|
-
readonly inputs: readonly [{
|
|
277
|
-
readonly components: readonly [{
|
|
278
|
-
readonly internalType: "uint256";
|
|
279
|
-
readonly name: "conditionId";
|
|
280
|
-
readonly type: "uint256";
|
|
281
|
-
}, {
|
|
282
|
-
readonly internalType: "uint64";
|
|
283
|
-
readonly name: "outcomeId";
|
|
284
|
-
readonly type: "uint64";
|
|
285
|
-
}];
|
|
286
|
-
readonly internalType: "struct ICoreBase.CoreBetData[]";
|
|
287
|
-
readonly name: "subBets";
|
|
288
|
-
readonly type: "tuple[]";
|
|
289
|
-
}, {
|
|
290
|
-
readonly internalType: "uint128";
|
|
291
|
-
readonly name: "amount";
|
|
292
|
-
readonly type: "uint128";
|
|
293
|
-
}];
|
|
294
|
-
readonly name: "calcOdds";
|
|
295
|
-
readonly outputs: readonly [{
|
|
296
|
-
readonly internalType: "uint64[]";
|
|
297
|
-
readonly name: "conditionOdds";
|
|
298
|
-
readonly type: "uint64[]";
|
|
299
|
-
}, {
|
|
300
|
-
readonly internalType: "uint256";
|
|
301
|
-
readonly name: "expressOdds";
|
|
302
|
-
readonly type: "uint256";
|
|
303
|
-
}];
|
|
304
|
-
readonly stateMutability: "view";
|
|
305
|
-
readonly type: "function";
|
|
306
244
|
}, {
|
|
307
245
|
readonly inputs: readonly [{
|
|
308
246
|
readonly internalType: "uint256";
|
|
309
247
|
readonly name: "tokenId";
|
|
310
248
|
readonly type: "uint256";
|
|
311
249
|
}];
|
|
312
|
-
readonly name: "
|
|
313
|
-
readonly outputs: readonly [{
|
|
314
|
-
readonly internalType: "uint128";
|
|
315
|
-
readonly name: "";
|
|
316
|
-
readonly type: "uint128";
|
|
317
|
-
}];
|
|
318
|
-
readonly stateMutability: "view";
|
|
319
|
-
readonly type: "function";
|
|
320
|
-
}, {
|
|
321
|
-
readonly inputs: readonly [{
|
|
322
|
-
readonly internalType: "uint256";
|
|
323
|
-
readonly name: "newMaxOdds";
|
|
324
|
-
readonly type: "uint256";
|
|
325
|
-
}];
|
|
326
|
-
readonly name: "changeMaxOdds";
|
|
327
|
-
readonly outputs: readonly [];
|
|
328
|
-
readonly stateMutability: "nonpayable";
|
|
329
|
-
readonly type: "function";
|
|
330
|
-
}, {
|
|
331
|
-
readonly inputs: readonly [{
|
|
332
|
-
readonly internalType: "uint128";
|
|
333
|
-
readonly name: "newReinforcement";
|
|
334
|
-
readonly type: "uint128";
|
|
335
|
-
}];
|
|
336
|
-
readonly name: "changeReinforcement";
|
|
250
|
+
readonly name: "burn";
|
|
337
251
|
readonly outputs: readonly [];
|
|
338
252
|
readonly stateMutability: "nonpayable";
|
|
339
253
|
readonly type: "function";
|
|
340
|
-
}, {
|
|
341
|
-
readonly inputs: readonly [{
|
|
342
|
-
readonly internalType: "address";
|
|
343
|
-
readonly name: "account";
|
|
344
|
-
readonly type: "address";
|
|
345
|
-
}];
|
|
346
|
-
readonly name: "checkOwner";
|
|
347
|
-
readonly outputs: readonly [];
|
|
348
|
-
readonly stateMutability: "view";
|
|
349
|
-
readonly type: "function";
|
|
350
254
|
}, {
|
|
351
255
|
readonly inputs: readonly [];
|
|
352
256
|
readonly name: "core";
|
|
353
257
|
readonly outputs: readonly [{
|
|
354
|
-
readonly internalType: "
|
|
258
|
+
readonly internalType: "address";
|
|
355
259
|
readonly name: "";
|
|
356
260
|
readonly type: "address";
|
|
357
261
|
}];
|
|
@@ -373,58 +277,42 @@ declare const _default: readonly [{
|
|
|
373
277
|
readonly type: "function";
|
|
374
278
|
}, {
|
|
375
279
|
readonly inputs: readonly [{
|
|
376
|
-
readonly internalType: "
|
|
377
|
-
readonly name: "
|
|
378
|
-
readonly type: "
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "owner_";
|
|
282
|
+
readonly type: "address";
|
|
379
283
|
}];
|
|
380
|
-
readonly name: "
|
|
284
|
+
readonly name: "getTokensByOwner";
|
|
381
285
|
readonly outputs: readonly [{
|
|
382
|
-
readonly
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
readonly type: "uint64";
|
|
386
|
-
}, {
|
|
387
|
-
readonly internalType: "uint128";
|
|
388
|
-
readonly name: "amount";
|
|
389
|
-
readonly type: "uint128";
|
|
390
|
-
}, {
|
|
391
|
-
readonly internalType: "uint48";
|
|
392
|
-
readonly name: "lastDepositId";
|
|
393
|
-
readonly type: "uint48";
|
|
394
|
-
}, {
|
|
395
|
-
readonly internalType: "bool";
|
|
396
|
-
readonly name: "isClaimed";
|
|
397
|
-
readonly type: "bool";
|
|
398
|
-
}, {
|
|
399
|
-
readonly components: readonly [{
|
|
400
|
-
readonly internalType: "uint256";
|
|
401
|
-
readonly name: "conditionId";
|
|
402
|
-
readonly type: "uint256";
|
|
403
|
-
}, {
|
|
404
|
-
readonly internalType: "uint64";
|
|
405
|
-
readonly name: "outcomeId";
|
|
406
|
-
readonly type: "uint64";
|
|
407
|
-
}];
|
|
408
|
-
readonly internalType: "struct ICoreBase.CoreBetData[]";
|
|
409
|
-
readonly name: "subBets";
|
|
410
|
-
readonly type: "tuple[]";
|
|
411
|
-
}, {
|
|
412
|
-
readonly internalType: "uint64[]";
|
|
413
|
-
readonly name: "conditionOdds";
|
|
414
|
-
readonly type: "uint64[]";
|
|
415
|
-
}];
|
|
416
|
-
readonly internalType: "struct IBetExpress.Bet";
|
|
417
|
-
readonly name: "betInfo";
|
|
418
|
-
readonly type: "tuple";
|
|
286
|
+
readonly internalType: "uint256[]";
|
|
287
|
+
readonly name: "tokenIds";
|
|
288
|
+
readonly type: "uint256[]";
|
|
419
289
|
}];
|
|
420
290
|
readonly stateMutability: "view";
|
|
421
291
|
readonly type: "function";
|
|
422
292
|
}, {
|
|
423
293
|
readonly inputs: readonly [{
|
|
424
294
|
readonly internalType: "address";
|
|
425
|
-
readonly name: "
|
|
295
|
+
readonly name: "owner_";
|
|
426
296
|
readonly type: "address";
|
|
427
297
|
}, {
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
readonly name: "start";
|
|
300
|
+
readonly type: "uint256";
|
|
301
|
+
}, {
|
|
302
|
+
readonly internalType: "uint256";
|
|
303
|
+
readonly name: "count";
|
|
304
|
+
readonly type: "uint256";
|
|
305
|
+
}];
|
|
306
|
+
readonly name: "getTokensByOwner";
|
|
307
|
+
readonly outputs: readonly [{
|
|
308
|
+
readonly internalType: "uint256[]";
|
|
309
|
+
readonly name: "tokenIds";
|
|
310
|
+
readonly type: "uint256[]";
|
|
311
|
+
}];
|
|
312
|
+
readonly stateMutability: "view";
|
|
313
|
+
readonly type: "function";
|
|
314
|
+
}, {
|
|
315
|
+
readonly inputs: readonly [{
|
|
428
316
|
readonly internalType: "address";
|
|
429
317
|
readonly name: "core_";
|
|
430
318
|
readonly type: "address";
|
|
@@ -453,7 +341,7 @@ declare const _default: readonly [{
|
|
|
453
341
|
readonly type: "function";
|
|
454
342
|
}, {
|
|
455
343
|
readonly inputs: readonly [];
|
|
456
|
-
readonly name: "
|
|
344
|
+
readonly name: "lastTokenId";
|
|
457
345
|
readonly outputs: readonly [{
|
|
458
346
|
readonly internalType: "uint256";
|
|
459
347
|
readonly name: "";
|
|
@@ -463,37 +351,17 @@ declare const _default: readonly [{
|
|
|
463
351
|
readonly type: "function";
|
|
464
352
|
}, {
|
|
465
353
|
readonly inputs: readonly [{
|
|
466
|
-
readonly internalType: "
|
|
467
|
-
readonly name: "";
|
|
468
|
-
readonly type: "uint256";
|
|
469
|
-
}];
|
|
470
|
-
readonly name: "lockedReserves";
|
|
471
|
-
readonly outputs: readonly [{
|
|
472
|
-
readonly internalType: "uint256";
|
|
473
|
-
readonly name: "";
|
|
474
|
-
readonly type: "uint256";
|
|
475
|
-
}];
|
|
476
|
-
readonly stateMutability: "view";
|
|
477
|
-
readonly type: "function";
|
|
478
|
-
}, {
|
|
479
|
-
readonly inputs: readonly [];
|
|
480
|
-
readonly name: "lp";
|
|
481
|
-
readonly outputs: readonly [{
|
|
482
|
-
readonly internalType: "contract ILP";
|
|
483
|
-
readonly name: "";
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
readonly name: "account";
|
|
484
356
|
readonly type: "address";
|
|
485
357
|
}];
|
|
486
|
-
readonly
|
|
487
|
-
readonly type: "function";
|
|
488
|
-
}, {
|
|
489
|
-
readonly inputs: readonly [];
|
|
490
|
-
readonly name: "maxOdds";
|
|
358
|
+
readonly name: "mint";
|
|
491
359
|
readonly outputs: readonly [{
|
|
492
360
|
readonly internalType: "uint256";
|
|
493
|
-
readonly name: "";
|
|
361
|
+
readonly name: "tokenId";
|
|
494
362
|
readonly type: "uint256";
|
|
495
363
|
}];
|
|
496
|
-
readonly stateMutability: "
|
|
364
|
+
readonly stateMutability: "nonpayable";
|
|
497
365
|
readonly type: "function";
|
|
498
366
|
}, {
|
|
499
367
|
readonly inputs: readonly [];
|
|
@@ -529,67 +397,10 @@ declare const _default: readonly [{
|
|
|
529
397
|
}];
|
|
530
398
|
readonly stateMutability: "view";
|
|
531
399
|
readonly type: "function";
|
|
532
|
-
}, {
|
|
533
|
-
readonly inputs: readonly [{
|
|
534
|
-
readonly internalType: "address";
|
|
535
|
-
readonly name: "bettor";
|
|
536
|
-
readonly type: "address";
|
|
537
|
-
}, {
|
|
538
|
-
readonly internalType: "uint128";
|
|
539
|
-
readonly name: "amount";
|
|
540
|
-
readonly type: "uint128";
|
|
541
|
-
}, {
|
|
542
|
-
readonly components: readonly [{
|
|
543
|
-
readonly internalType: "address";
|
|
544
|
-
readonly name: "affiliate";
|
|
545
|
-
readonly type: "address";
|
|
546
|
-
}, {
|
|
547
|
-
readonly internalType: "uint64";
|
|
548
|
-
readonly name: "minOdds";
|
|
549
|
-
readonly type: "uint64";
|
|
550
|
-
}, {
|
|
551
|
-
readonly internalType: "bytes";
|
|
552
|
-
readonly name: "data";
|
|
553
|
-
readonly type: "bytes";
|
|
554
|
-
}];
|
|
555
|
-
readonly internalType: "struct IBet.BetData";
|
|
556
|
-
readonly name: "betData";
|
|
557
|
-
readonly type: "tuple";
|
|
558
|
-
}];
|
|
559
|
-
readonly name: "putBet";
|
|
560
|
-
readonly outputs: readonly [{
|
|
561
|
-
readonly internalType: "uint256";
|
|
562
|
-
readonly name: "betId";
|
|
563
|
-
readonly type: "uint256";
|
|
564
|
-
}];
|
|
565
|
-
readonly stateMutability: "nonpayable";
|
|
566
|
-
readonly type: "function";
|
|
567
400
|
}, {
|
|
568
401
|
readonly inputs: readonly [];
|
|
569
|
-
readonly name: "
|
|
570
|
-
readonly outputs: readonly [
|
|
571
|
-
readonly internalType: "uint128";
|
|
572
|
-
readonly name: "";
|
|
573
|
-
readonly type: "uint128";
|
|
574
|
-
}];
|
|
575
|
-
readonly stateMutability: "view";
|
|
576
|
-
readonly type: "function";
|
|
577
|
-
}, {
|
|
578
|
-
readonly inputs: readonly [{
|
|
579
|
-
readonly internalType: "uint256";
|
|
580
|
-
readonly name: "tokenId";
|
|
581
|
-
readonly type: "uint256";
|
|
582
|
-
}];
|
|
583
|
-
readonly name: "resolvePayout";
|
|
584
|
-
readonly outputs: readonly [{
|
|
585
|
-
readonly internalType: "address";
|
|
586
|
-
readonly name: "account";
|
|
587
|
-
readonly type: "address";
|
|
588
|
-
}, {
|
|
589
|
-
readonly internalType: "uint128";
|
|
590
|
-
readonly name: "payout";
|
|
591
|
-
readonly type: "uint128";
|
|
592
|
-
}];
|
|
402
|
+
readonly name: "renounceOwnership";
|
|
403
|
+
readonly outputs: readonly [];
|
|
593
404
|
readonly stateMutability: "nonpayable";
|
|
594
405
|
readonly type: "function";
|
|
595
406
|
}, {
|
|
@@ -680,6 +491,38 @@ declare const _default: readonly [{
|
|
|
680
491
|
}];
|
|
681
492
|
readonly stateMutability: "view";
|
|
682
493
|
readonly type: "function";
|
|
494
|
+
}, {
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly internalType: "uint256";
|
|
497
|
+
readonly name: "index";
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
}];
|
|
500
|
+
readonly name: "tokenByIndex";
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly internalType: "uint256";
|
|
503
|
+
readonly name: "";
|
|
504
|
+
readonly type: "uint256";
|
|
505
|
+
}];
|
|
506
|
+
readonly stateMutability: "view";
|
|
507
|
+
readonly type: "function";
|
|
508
|
+
}, {
|
|
509
|
+
readonly inputs: readonly [{
|
|
510
|
+
readonly internalType: "address";
|
|
511
|
+
readonly name: "owner";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}, {
|
|
514
|
+
readonly internalType: "uint256";
|
|
515
|
+
readonly name: "index";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
}];
|
|
518
|
+
readonly name: "tokenOfOwnerByIndex";
|
|
519
|
+
readonly outputs: readonly [{
|
|
520
|
+
readonly internalType: "uint256";
|
|
521
|
+
readonly name: "";
|
|
522
|
+
readonly type: "uint256";
|
|
523
|
+
}];
|
|
524
|
+
readonly stateMutability: "view";
|
|
525
|
+
readonly type: "function";
|
|
683
526
|
}, {
|
|
684
527
|
readonly inputs: readonly [{
|
|
685
528
|
readonly internalType: "uint256";
|
|
@@ -694,6 +537,16 @@ declare const _default: readonly [{
|
|
|
694
537
|
}];
|
|
695
538
|
readonly stateMutability: "view";
|
|
696
539
|
readonly type: "function";
|
|
540
|
+
}, {
|
|
541
|
+
readonly inputs: readonly [];
|
|
542
|
+
readonly name: "totalSupply";
|
|
543
|
+
readonly outputs: readonly [{
|
|
544
|
+
readonly internalType: "uint256";
|
|
545
|
+
readonly name: "";
|
|
546
|
+
readonly type: "uint256";
|
|
547
|
+
}];
|
|
548
|
+
readonly stateMutability: "view";
|
|
549
|
+
readonly type: "function";
|
|
697
550
|
}, {
|
|
698
551
|
readonly inputs: readonly [{
|
|
699
552
|
readonly internalType: "address";
|
|
@@ -722,19 +575,5 @@ declare const _default: readonly [{
|
|
|
722
575
|
readonly outputs: readonly [];
|
|
723
576
|
readonly stateMutability: "nonpayable";
|
|
724
577
|
readonly type: "function";
|
|
725
|
-
}, {
|
|
726
|
-
readonly inputs: readonly [{
|
|
727
|
-
readonly internalType: "uint256";
|
|
728
|
-
readonly name: "tokenId";
|
|
729
|
-
readonly type: "uint256";
|
|
730
|
-
}];
|
|
731
|
-
readonly name: "viewPayout";
|
|
732
|
-
readonly outputs: readonly [{
|
|
733
|
-
readonly internalType: "uint128";
|
|
734
|
-
readonly name: "";
|
|
735
|
-
readonly type: "uint128";
|
|
736
|
-
}];
|
|
737
|
-
readonly stateMutability: "view";
|
|
738
|
-
readonly type: "function";
|
|
739
578
|
}];
|
|
740
579
|
export default _default;
|