opensea-js 2.0.2-beta.0 → 2.0.2-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.
Files changed (38) hide show
  1. package/lib/abi/CheezeWizardsBasicTournamentAbi.json +523 -0
  2. package/lib/abi/DecentralandEstatesAbi.json +614 -0
  3. package/lib/abi/ERC1155Abi.json +2346 -0
  4. package/lib/abi/ERC721v3Abi.json +470 -0
  5. package/lib/abi/UniswapExchangeAbi.json +451 -0
  6. package/lib/abi/UniswapFactoryAbi.json +67 -0
  7. package/lib/abi/WrappedNFTAbi.json +331 -0
  8. package/lib/abi/WrappedNFTFactoryAbi.json +250 -0
  9. package/lib/seaport.js +6 -0
  10. package/lib/seaport.js.map +1 -1
  11. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.d.ts +232 -0
  12. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.js +6 -0
  13. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.js.map +1 -0
  14. package/lib/typechain/contracts/DecentralandEstatesAbi.d.ts +189 -0
  15. package/lib/typechain/contracts/DecentralandEstatesAbi.js +6 -0
  16. package/lib/typechain/contracts/DecentralandEstatesAbi.js.map +1 -0
  17. package/lib/typechain/contracts/ERC1155Abi.d.ts +436 -0
  18. package/lib/typechain/contracts/ERC1155Abi.js +6 -0
  19. package/lib/typechain/contracts/ERC1155Abi.js.map +1 -0
  20. package/lib/typechain/contracts/ERC721v3Abi.d.ts +76 -0
  21. package/lib/typechain/contracts/ERC721v3Abi.js +6 -0
  22. package/lib/typechain/contracts/ERC721v3Abi.js.map +1 -0
  23. package/lib/typechain/contracts/UniswapExchangeAbi.d.ts +132 -0
  24. package/lib/typechain/contracts/UniswapExchangeAbi.js +6 -0
  25. package/lib/typechain/contracts/UniswapExchangeAbi.js.map +1 -0
  26. package/lib/typechain/contracts/UniswapFactoryAbi.d.ts +37 -0
  27. package/lib/typechain/contracts/UniswapFactoryAbi.js +6 -0
  28. package/lib/typechain/contracts/UniswapFactoryAbi.js.map +1 -0
  29. package/lib/typechain/contracts/WrappedNFTAbi.d.ts +80 -0
  30. package/lib/typechain/contracts/WrappedNFTAbi.js +6 -0
  31. package/lib/typechain/contracts/WrappedNFTAbi.js.map +1 -0
  32. package/lib/typechain/contracts/WrappedNFTFactoryAbi.d.ts +57 -0
  33. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js +6 -0
  34. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js.map +1 -0
  35. package/lib/typechain/contracts/types.d.ts +54 -0
  36. package/lib/typechain/contracts/types.js +3 -0
  37. package/lib/typechain/contracts/types.js.map +1 -0
  38. package/package.json +1 -1
@@ -0,0 +1,523 @@
1
+ [
2
+ {
3
+ "constant": true,
4
+ "inputs": [],
5
+ "name": "cfoAddress",
6
+ "outputs": [{ "name": "", "type": "address" }],
7
+ "payable": false,
8
+ "stateMutability": "view",
9
+ "type": "function"
10
+ },
11
+ {
12
+ "constant": true,
13
+ "inputs": [],
14
+ "name": "ceoAddress",
15
+ "outputs": [{ "name": "", "type": "address" }],
16
+ "payable": false,
17
+ "stateMutability": "view",
18
+ "type": "function"
19
+ },
20
+ {
21
+ "constant": false,
22
+ "inputs": [{ "name": "pauseDuration", "type": "uint256" }],
23
+ "name": "pause",
24
+ "outputs": [],
25
+ "payable": false,
26
+ "stateMutability": "nonpayable",
27
+ "type": "function"
28
+ },
29
+ {
30
+ "constant": false,
31
+ "inputs": [{ "name": "newCfo", "type": "address" }],
32
+ "name": "setCfo",
33
+ "outputs": [],
34
+ "payable": false,
35
+ "stateMutability": "nonpayable",
36
+ "type": "function"
37
+ },
38
+ {
39
+ "constant": true,
40
+ "inputs": [],
41
+ "name": "duelResolver",
42
+ "outputs": [{ "name": "", "type": "address" }],
43
+ "payable": false,
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ },
47
+ {
48
+ "constant": false,
49
+ "inputs": [{ "name": "newCeo", "type": "address" }],
50
+ "name": "setCeo",
51
+ "outputs": [],
52
+ "payable": false,
53
+ "stateMutability": "nonpayable",
54
+ "type": "function"
55
+ },
56
+ {
57
+ "constant": false,
58
+ "inputs": [{ "name": "newCoo", "type": "address" }],
59
+ "name": "setCoo",
60
+ "outputs": [],
61
+ "payable": false,
62
+ "stateMutability": "nonpayable",
63
+ "type": "function"
64
+ },
65
+ {
66
+ "constant": true,
67
+ "inputs": [],
68
+ "name": "powerScale",
69
+ "outputs": [{ "name": "", "type": "uint256" }],
70
+ "payable": false,
71
+ "stateMutability": "view",
72
+ "type": "function"
73
+ },
74
+ {
75
+ "constant": true,
76
+ "inputs": [],
77
+ "name": "cooAddress",
78
+ "outputs": [{ "name": "", "type": "address" }],
79
+ "payable": false,
80
+ "stateMutability": "view",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "constant": true,
85
+ "inputs": [],
86
+ "name": "isPaused",
87
+ "outputs": [{ "name": "", "type": "bool" }],
88
+ "payable": false,
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ { "name": "cooAddress_", "type": "address" },
95
+ { "name": "duelResolver_", "type": "address" },
96
+ { "name": "powerScale_", "type": "uint256" },
97
+ { "name": "tournamentStartBlock_", "type": "uint256" },
98
+ { "name": "admissionDuration_", "type": "uint256" },
99
+ { "name": "revivalDuration_", "type": "uint256" },
100
+ { "name": "ascensionDuration_", "type": "uint256" },
101
+ { "name": "fightDuration_", "type": "uint256" },
102
+ { "name": "cullingDuration_", "type": "uint256" },
103
+ { "name": "blueMoldBasePower_", "type": "uint256" },
104
+ { "name": "sessionsBetweenMoldDoubling_", "type": "uint256" },
105
+ { "name": "duelTimeoutBlocks_", "type": "uint256" }
106
+ ],
107
+ "payable": false,
108
+ "stateMutability": "nonpayable",
109
+ "type": "constructor"
110
+ },
111
+ { "payable": true, "stateMutability": "payable", "type": "fallback" },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ { "indexed": false, "name": "duelId", "type": "bytes32" },
116
+ { "indexed": false, "name": "wizardId1", "type": "uint256" },
117
+ { "indexed": false, "name": "wizardId2", "type": "uint256" },
118
+ { "indexed": false, "name": "timeoutBlock", "type": "uint256" },
119
+ { "indexed": false, "name": "isAscensionBattle", "type": "bool" }
120
+ ],
121
+ "name": "DuelStart",
122
+ "type": "event"
123
+ },
124
+ {
125
+ "anonymous": false,
126
+ "inputs": [
127
+ { "indexed": false, "name": "duelId", "type": "bytes32" },
128
+ { "indexed": false, "name": "wizardId1", "type": "uint256" },
129
+ { "indexed": false, "name": "wizardId2", "type": "uint256" },
130
+ { "indexed": false, "name": "moveSet1", "type": "bytes32" },
131
+ { "indexed": false, "name": "moveSet2", "type": "bytes32" },
132
+ { "indexed": false, "name": "power1", "type": "uint256" },
133
+ { "indexed": false, "name": "power2", "type": "uint256" }
134
+ ],
135
+ "name": "DuelEnd",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "anonymous": false,
140
+ "inputs": [
141
+ { "indexed": false, "name": "duelId", "type": "bytes32" },
142
+ { "indexed": false, "name": "wizardId1", "type": "uint256" },
143
+ { "indexed": false, "name": "wizardId2", "type": "uint256" },
144
+ { "indexed": false, "name": "power1", "type": "uint256" },
145
+ { "indexed": false, "name": "power2", "type": "uint256" }
146
+ ],
147
+ "name": "DuelTimeOut",
148
+ "type": "event"
149
+ },
150
+ {
151
+ "anonymous": false,
152
+ "inputs": [{ "indexed": false, "name": "wizardId", "type": "uint256" }],
153
+ "name": "WizardElimination",
154
+ "type": "event"
155
+ },
156
+ {
157
+ "anonymous": false,
158
+ "inputs": [{ "indexed": false, "name": "wizardId", "type": "uint256" }],
159
+ "name": "AscensionStart",
160
+ "type": "event"
161
+ },
162
+ {
163
+ "anonymous": false,
164
+ "inputs": [
165
+ { "indexed": false, "name": "wizardId1", "type": "uint256" },
166
+ { "indexed": false, "name": "wizardId2", "type": "uint256" }
167
+ ],
168
+ "name": "AscensionPairUp",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "anonymous": false,
173
+ "inputs": [
174
+ { "indexed": false, "name": "wizardId", "type": "uint256" },
175
+ { "indexed": false, "name": "power", "type": "uint256" }
176
+ ],
177
+ "name": "AscensionComplete",
178
+ "type": "event"
179
+ },
180
+ {
181
+ "anonymous": false,
182
+ "inputs": [
183
+ { "indexed": false, "name": "wizId", "type": "uint256" },
184
+ { "indexed": false, "name": "power", "type": "uint256" }
185
+ ],
186
+ "name": "Revive",
187
+ "type": "event"
188
+ },
189
+ {
190
+ "anonymous": false,
191
+ "inputs": [
192
+ { "indexed": false, "name": "givingWizId", "type": "uint256" },
193
+ { "indexed": false, "name": "receivingWizId", "type": "uint256" },
194
+ { "indexed": false, "name": "amountGifted", "type": "uint256" }
195
+ ],
196
+ "name": "PowerGifted",
197
+ "type": "event"
198
+ },
199
+ {
200
+ "anonymous": false,
201
+ "inputs": [
202
+ { "indexed": false, "name": "claimingWinnerId", "type": "uint256" },
203
+ { "indexed": false, "name": "prizeAmount", "type": "uint256" }
204
+ ],
205
+ "name": "PrizeClaimed",
206
+ "type": "event"
207
+ },
208
+ {
209
+ "anonymous": false,
210
+ "inputs": [
211
+ { "indexed": false, "name": "pauseEndingBlock", "type": "uint256" }
212
+ ],
213
+ "name": "Paused",
214
+ "type": "event"
215
+ },
216
+ {
217
+ "anonymous": false,
218
+ "inputs": [
219
+ { "indexed": false, "name": "previousCeo", "type": "address" },
220
+ { "indexed": false, "name": "newCeo", "type": "address" }
221
+ ],
222
+ "name": "CEOTransferred",
223
+ "type": "event"
224
+ },
225
+ {
226
+ "anonymous": false,
227
+ "inputs": [
228
+ { "indexed": false, "name": "previousCoo", "type": "address" },
229
+ { "indexed": false, "name": "newCoo", "type": "address" }
230
+ ],
231
+ "name": "COOTransferred",
232
+ "type": "event"
233
+ },
234
+ {
235
+ "anonymous": false,
236
+ "inputs": [
237
+ { "indexed": false, "name": "previousCfo", "type": "address" },
238
+ { "indexed": false, "name": "newCfo", "type": "address" }
239
+ ],
240
+ "name": "CFOTransferred",
241
+ "type": "event"
242
+ },
243
+ {
244
+ "constant": true,
245
+ "inputs": [{ "name": "interfaceId", "type": "bytes4" }],
246
+ "name": "supportsInterface",
247
+ "outputs": [{ "name": "", "type": "bool" }],
248
+ "payable": false,
249
+ "stateMutability": "view",
250
+ "type": "function"
251
+ },
252
+ {
253
+ "constant": true,
254
+ "inputs": [],
255
+ "name": "isActive",
256
+ "outputs": [{ "name": "", "type": "bool" }],
257
+ "payable": false,
258
+ "stateMutability": "view",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "constant": true,
263
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
264
+ "name": "getWizard",
265
+ "outputs": [
266
+ { "name": "affinity", "type": "uint256" },
267
+ { "name": "power", "type": "uint256" },
268
+ { "name": "maxPower", "type": "uint256" },
269
+ { "name": "nonce", "type": "uint256" },
270
+ { "name": "currentDuel", "type": "bytes32" },
271
+ { "name": "ascending", "type": "bool" },
272
+ { "name": "ascensionOpponent", "type": "uint256" },
273
+ { "name": "molded", "type": "bool" },
274
+ { "name": "ready", "type": "bool" }
275
+ ],
276
+ "payable": false,
277
+ "stateMutability": "view",
278
+ "type": "function"
279
+ },
280
+ {
281
+ "constant": true,
282
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
283
+ "name": "wizardFingerprint",
284
+ "outputs": [{ "name": "", "type": "bytes32" }],
285
+ "payable": false,
286
+ "stateMutability": "view",
287
+ "type": "function"
288
+ },
289
+ {
290
+ "constant": true,
291
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
292
+ "name": "isReady",
293
+ "outputs": [{ "name": "", "type": "bool" }],
294
+ "payable": false,
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "constant": false,
300
+ "inputs": [
301
+ { "name": "wizardIds", "type": "uint256[]" },
302
+ { "name": "powers", "type": "uint88[]" }
303
+ ],
304
+ "name": "enterWizards",
305
+ "outputs": [],
306
+ "payable": true,
307
+ "stateMutability": "payable",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "constant": false,
312
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
313
+ "name": "revive",
314
+ "outputs": [],
315
+ "payable": true,
316
+ "stateMutability": "payable",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "constant": false,
321
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
322
+ "name": "updateAffinity",
323
+ "outputs": [],
324
+ "payable": false,
325
+ "stateMutability": "nonpayable",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "constant": false,
330
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
331
+ "name": "startAscension",
332
+ "outputs": [],
333
+ "payable": false,
334
+ "stateMutability": "nonpayable",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "constant": false,
339
+ "inputs": [
340
+ { "name": "wizardId", "type": "uint256" },
341
+ { "name": "commitment", "type": "bytes32" }
342
+ ],
343
+ "name": "challengeAscending",
344
+ "outputs": [],
345
+ "payable": false,
346
+ "stateMutability": "nonpayable",
347
+ "type": "function"
348
+ },
349
+ {
350
+ "constant": false,
351
+ "inputs": [{ "name": "commitment", "type": "bytes32" }],
352
+ "name": "acceptAscensionChallenge",
353
+ "outputs": [],
354
+ "payable": false,
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "constant": false,
360
+ "inputs": [],
361
+ "name": "completeAscension",
362
+ "outputs": [],
363
+ "payable": false,
364
+ "stateMutability": "nonpayable",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "constant": false,
369
+ "inputs": [
370
+ { "name": "committingWizardId", "type": "uint256" },
371
+ { "name": "otherWizardId", "type": "uint256" },
372
+ { "name": "commitment", "type": "bytes32" }
373
+ ],
374
+ "name": "oneSidedCommit",
375
+ "outputs": [],
376
+ "payable": false,
377
+ "stateMutability": "nonpayable",
378
+ "type": "function"
379
+ },
380
+ {
381
+ "constant": false,
382
+ "inputs": [{ "name": "wizardId", "type": "uint256" }],
383
+ "name": "cancelCommitment",
384
+ "outputs": [],
385
+ "payable": false,
386
+ "stateMutability": "nonpayable",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "constant": false,
391
+ "inputs": [
392
+ { "name": "wizardId1", "type": "uint256" },
393
+ { "name": "wizardId2", "type": "uint256" },
394
+ { "name": "commit1", "type": "bytes32" },
395
+ { "name": "commit2", "type": "bytes32" },
396
+ { "name": "sig1", "type": "bytes" },
397
+ { "name": "sig2", "type": "bytes" }
398
+ ],
399
+ "name": "doubleCommit",
400
+ "outputs": [{ "name": "duelId", "type": "bytes32" }],
401
+ "payable": false,
402
+ "stateMutability": "nonpayable",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "constant": false,
407
+ "inputs": [
408
+ { "name": "committingWizardId", "type": "uint256" },
409
+ { "name": "commit", "type": "bytes32" },
410
+ { "name": "moveSet", "type": "bytes32" },
411
+ { "name": "salt", "type": "bytes32" },
412
+ { "name": "otherWizardId", "type": "uint256" },
413
+ { "name": "otherCommit", "type": "bytes32" }
414
+ ],
415
+ "name": "oneSidedReveal",
416
+ "outputs": [],
417
+ "payable": false,
418
+ "stateMutability": "nonpayable",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "constant": false,
423
+ "inputs": [
424
+ { "name": "wizardId1", "type": "uint256" },
425
+ { "name": "wizardId2", "type": "uint256" },
426
+ { "name": "commit1", "type": "bytes32" },
427
+ { "name": "commit2", "type": "bytes32" },
428
+ { "name": "moveSet1", "type": "bytes32" },
429
+ { "name": "moveSet2", "type": "bytes32" },
430
+ { "name": "salt1", "type": "bytes32" },
431
+ { "name": "salt2", "type": "bytes32" }
432
+ ],
433
+ "name": "doubleReveal",
434
+ "outputs": [],
435
+ "payable": false,
436
+ "stateMutability": "nonpayable",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "constant": false,
441
+ "inputs": [
442
+ { "name": "wizardId1", "type": "uint256" },
443
+ { "name": "wizardId2", "type": "uint256" }
444
+ ],
445
+ "name": "resolveTimedOutDuel",
446
+ "outputs": [],
447
+ "payable": false,
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "constant": false,
453
+ "inputs": [
454
+ { "name": "sendingWizardId", "type": "uint256" },
455
+ { "name": "receivingWizardId", "type": "uint256" }
456
+ ],
457
+ "name": "giftPower",
458
+ "outputs": [],
459
+ "payable": false,
460
+ "stateMutability": "nonpayable",
461
+ "type": "function"
462
+ },
463
+ {
464
+ "constant": false,
465
+ "inputs": [
466
+ { "name": "wizardIds", "type": "uint256[]" },
467
+ { "name": "survivor", "type": "uint256" }
468
+ ],
469
+ "name": "cullMoldedWithSurvivor",
470
+ "outputs": [],
471
+ "payable": false,
472
+ "stateMutability": "nonpayable",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "constant": false,
477
+ "inputs": [{ "name": "moldyWizardIds", "type": "uint256[]" }],
478
+ "name": "cullMoldedWithMolded",
479
+ "outputs": [],
480
+ "payable": false,
481
+ "stateMutability": "nonpayable",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "constant": false,
486
+ "inputs": [{ "name": "wizardIds", "type": "uint256[]" }],
487
+ "name": "cullTiredWizards",
488
+ "outputs": [],
489
+ "payable": false,
490
+ "stateMutability": "nonpayable",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "constant": false,
495
+ "inputs": [{ "name": "claimingWinnerId", "type": "uint256" }],
496
+ "name": "claimTheBigCheeze",
497
+ "outputs": [],
498
+ "payable": false,
499
+ "stateMutability": "nonpayable",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "constant": false,
504
+ "inputs": [
505
+ { "name": "claimingWinnerId", "type": "uint256" },
506
+ { "name": "allWinners", "type": "uint256[]" }
507
+ ],
508
+ "name": "claimSharedWinnings",
509
+ "outputs": [],
510
+ "payable": false,
511
+ "stateMutability": "nonpayable",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "constant": false,
516
+ "inputs": [],
517
+ "name": "destroy",
518
+ "outputs": [],
519
+ "payable": false,
520
+ "stateMutability": "nonpayable",
521
+ "type": "function"
522
+ }
523
+ ]