opensea-js 2.0.1-beta.2 → 3.0.0-beta.0

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 (81) hide show
  1. package/lib/__tests__/api/api.js +5 -21
  2. package/lib/__tests__/api/api.js.map +1 -1
  3. package/lib/__tests__/seaport/bundles.js +5 -21
  4. package/lib/__tests__/seaport/bundles.js.map +1 -1
  5. package/lib/__tests__/seaport/fees.js +5 -21
  6. package/lib/__tests__/seaport/fees.js.map +1 -1
  7. package/lib/__tests__/seaport/misc.js +7 -27
  8. package/lib/__tests__/seaport/misc.js.map +1 -1
  9. package/lib/__tests__/seaport/orders.js +3 -22
  10. package/lib/__tests__/seaport/orders.js.map +1 -1
  11. package/lib/__tests__/seaport/ownersAndTransfers.js +6 -22
  12. package/lib/__tests__/seaport/ownersAndTransfers.js.map +1 -1
  13. package/lib/__tests__/seaport/staticCall.js +6 -22
  14. package/lib/__tests__/seaport/staticCall.js.map +1 -1
  15. package/lib/__tests__/utils.d.ts +1 -0
  16. package/lib/__tests__/utils.js +9 -0
  17. package/lib/__tests__/utils.js.map +1 -0
  18. package/lib/abi/CheezeWizardsBasicTournament.js +5 -521
  19. package/lib/abi/CheezeWizardsBasicTournament.js.map +1 -1
  20. package/lib/abi/CheezeWizardsBasicTournamentAbi.json +523 -0
  21. package/lib/abi/DecentralandEstates.js +5 -614
  22. package/lib/abi/DecentralandEstates.js.map +1 -1
  23. package/lib/abi/DecentralandEstatesAbi.json +614 -0
  24. package/lib/abi/ERC1155.js +5 -2346
  25. package/lib/abi/ERC1155.js.map +1 -1
  26. package/lib/abi/ERC1155Abi.json +2346 -0
  27. package/lib/abi/ERC721v3.js +5 -470
  28. package/lib/abi/ERC721v3.js.map +1 -1
  29. package/lib/abi/ERC721v3Abi.json +470 -0
  30. package/lib/abi/UniswapExchange.js +5 -451
  31. package/lib/abi/UniswapExchange.js.map +1 -1
  32. package/lib/abi/UniswapExchangeAbi.json +451 -0
  33. package/lib/abi/UniswapFactory.js +5 -67
  34. package/lib/abi/UniswapFactory.js.map +1 -1
  35. package/lib/abi/UniswapFactoryAbi.json +67 -0
  36. package/lib/abi/WrappedNFT.js +5 -305
  37. package/lib/abi/WrappedNFT.js.map +1 -1
  38. package/lib/abi/WrappedNFTAbi.json +331 -0
  39. package/lib/abi/WrappedNFTFactory.js +5 -240
  40. package/lib/abi/WrappedNFTFactory.js.map +1 -1
  41. package/lib/abi/WrappedNFTFactoryAbi.json +250 -0
  42. package/lib/constants.d.ts +1 -1
  43. package/lib/debugging.js +9 -3
  44. package/lib/debugging.js.map +1 -1
  45. package/lib/seaport.d.ts +2 -42
  46. package/lib/seaport.js +231 -337
  47. package/lib/seaport.js.map +1 -1
  48. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.d.ts +232 -0
  49. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.js +6 -0
  50. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.js.map +1 -0
  51. package/lib/typechain/contracts/DecentralandEstatesAbi.d.ts +189 -0
  52. package/lib/typechain/contracts/DecentralandEstatesAbi.js +6 -0
  53. package/lib/typechain/contracts/DecentralandEstatesAbi.js.map +1 -0
  54. package/lib/typechain/contracts/ERC1155Abi.d.ts +436 -0
  55. package/lib/typechain/contracts/ERC1155Abi.js +6 -0
  56. package/lib/typechain/contracts/ERC1155Abi.js.map +1 -0
  57. package/lib/typechain/contracts/ERC721v3Abi.d.ts +76 -0
  58. package/lib/typechain/contracts/ERC721v3Abi.js +6 -0
  59. package/lib/typechain/contracts/ERC721v3Abi.js.map +1 -0
  60. package/lib/typechain/contracts/UniswapExchangeAbi.d.ts +132 -0
  61. package/lib/typechain/contracts/UniswapExchangeAbi.js +6 -0
  62. package/lib/typechain/contracts/UniswapExchangeAbi.js.map +1 -0
  63. package/lib/typechain/contracts/UniswapFactoryAbi.d.ts +37 -0
  64. package/lib/typechain/contracts/UniswapFactoryAbi.js +6 -0
  65. package/lib/typechain/contracts/UniswapFactoryAbi.js.map +1 -0
  66. package/lib/typechain/contracts/WrappedNFTAbi.d.ts +80 -0
  67. package/lib/typechain/contracts/WrappedNFTAbi.js +6 -0
  68. package/lib/typechain/contracts/WrappedNFTAbi.js.map +1 -0
  69. package/lib/typechain/contracts/WrappedNFTFactoryAbi.d.ts +57 -0
  70. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js +6 -0
  71. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js.map +1 -0
  72. package/lib/typechain/contracts/types.d.ts +54 -0
  73. package/lib/typechain/contracts/types.js +3 -0
  74. package/lib/typechain/contracts/types.js.map +1 -0
  75. package/lib/types.d.ts +2 -15
  76. package/lib/utils/schema.js +8 -4
  77. package/lib/utils/schema.js.map +1 -1
  78. package/lib/utils/utils.d.ts +7 -5
  79. package/lib/utils/utils.js +43 -57
  80. package/lib/utils/utils.js.map +1 -1
  81. package/package.json +11 -8
@@ -1,2350 +1,9 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.ERC1155 = void 0;
4
- exports.ERC1155 = [
5
- {
6
- payable: false,
7
- stateMutability: "nonpayable",
8
- type: "fallback",
9
- },
10
- {
11
- anonymous: false,
12
- inputs: [
13
- {
14
- indexed: true,
15
- name: "_id",
16
- type: "uint256",
17
- },
18
- {
19
- indexed: true,
20
- name: "_owner",
21
- type: "address",
22
- },
23
- {
24
- indexed: true,
25
- name: "_spender",
26
- type: "address",
27
- },
28
- {
29
- indexed: false,
30
- name: "_value",
31
- type: "uint256",
32
- },
33
- ],
34
- name: "Approval",
35
- type: "event",
36
- },
37
- {
38
- anonymous: false,
39
- inputs: [
40
- {
41
- indexed: false,
42
- name: "_block",
43
- type: "uint256",
44
- },
45
- {
46
- indexed: false,
47
- name: "_storage",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- name: "_oldContract",
53
- type: "address",
54
- },
55
- ],
56
- name: "Initialize",
57
- type: "event",
58
- },
59
- {
60
- anonymous: false,
61
- inputs: [
62
- {
63
- indexed: false,
64
- name: "_block",
65
- type: "uint256",
66
- },
67
- {
68
- indexed: false,
69
- name: "_nextContract",
70
- type: "address",
71
- },
72
- ],
73
- name: "Retire",
74
- type: "event",
75
- },
76
- {
77
- anonymous: false,
78
- inputs: [
79
- {
80
- indexed: true,
81
- name: "_id",
82
- type: "uint256",
83
- },
84
- {
85
- indexed: true,
86
- name: "_from",
87
- type: "address",
88
- },
89
- {
90
- indexed: false,
91
- name: "_data",
92
- type: "string",
93
- },
94
- ],
95
- name: "Log",
96
- type: "event",
97
- },
98
- {
99
- anonymous: false,
100
- inputs: [
101
- {
102
- indexed: true,
103
- name: "_id",
104
- type: "uint256",
105
- },
106
- ],
107
- name: "UpdateDecimals",
108
- type: "event",
109
- },
110
- {
111
- anonymous: false,
112
- inputs: [
113
- {
114
- indexed: true,
115
- name: "_id",
116
- type: "uint256",
117
- },
118
- ],
119
- name: "UpdateName",
120
- type: "event",
121
- },
122
- {
123
- anonymous: false,
124
- inputs: [
125
- {
126
- indexed: true,
127
- name: "_id",
128
- type: "uint256",
129
- },
130
- ],
131
- name: "UpdateSymbol",
132
- type: "event",
133
- },
134
- {
135
- anonymous: false,
136
- inputs: [
137
- {
138
- indexed: true,
139
- name: "_id",
140
- type: "uint256",
141
- },
142
- {
143
- indexed: false,
144
- name: "_uri",
145
- type: "string",
146
- },
147
- ],
148
- name: "SetURI",
149
- type: "event",
150
- },
151
- {
152
- anonymous: false,
153
- inputs: [
154
- {
155
- indexed: true,
156
- name: "_id",
157
- type: "uint256",
158
- },
159
- {
160
- indexed: true,
161
- name: "_from",
162
- type: "address",
163
- },
164
- {
165
- indexed: true,
166
- name: "_to",
167
- type: "address",
168
- },
169
- ],
170
- name: "Assign",
171
- type: "event",
172
- },
173
- {
174
- anonymous: false,
175
- inputs: [
176
- {
177
- indexed: true,
178
- name: "_id",
179
- type: "uint256",
180
- },
181
- {
182
- indexed: true,
183
- name: "_creator",
184
- type: "address",
185
- },
186
- ],
187
- name: "AcceptAssignment",
188
- type: "event",
189
- },
190
- {
191
- anonymous: false,
192
- inputs: [
193
- {
194
- indexed: true,
195
- name: "_id",
196
- type: "uint256",
197
- },
198
- {
199
- indexed: true,
200
- name: "_creator",
201
- type: "address",
202
- },
203
- {
204
- indexed: false,
205
- name: "_isNonFungible",
206
- type: "bool",
207
- },
208
- ],
209
- name: "Create",
210
- type: "event",
211
- },
212
- {
213
- anonymous: false,
214
- inputs: [
215
- {
216
- indexed: true,
217
- name: "_id",
218
- type: "uint256",
219
- },
220
- {
221
- indexed: false,
222
- name: "_value",
223
- type: "uint256",
224
- },
225
- ],
226
- name: "Mint",
227
- type: "event",
228
- },
229
- {
230
- anonymous: false,
231
- inputs: [
232
- {
233
- indexed: true,
234
- name: "_id",
235
- type: "uint256",
236
- },
237
- ],
238
- name: "UpdateMaxMeltFee",
239
- type: "event",
240
- },
241
- {
242
- anonymous: false,
243
- inputs: [
244
- {
245
- indexed: true,
246
- name: "_id",
247
- type: "uint256",
248
- },
249
- ],
250
- name: "UpdateMeltFee",
251
- type: "event",
252
- },
253
- {
254
- anonymous: false,
255
- inputs: [
256
- {
257
- indexed: true,
258
- name: "_owner",
259
- type: "address",
260
- },
261
- {
262
- indexed: true,
263
- name: "_operator",
264
- type: "address",
265
- },
266
- {
267
- indexed: true,
268
- name: "_id",
269
- type: "uint256",
270
- },
271
- {
272
- indexed: false,
273
- name: "_approved",
274
- type: "bool",
275
- },
276
- ],
277
- name: "OperatorApproval",
278
- type: "event",
279
- },
280
- {
281
- anonymous: false,
282
- inputs: [
283
- {
284
- indexed: true,
285
- name: "_id",
286
- type: "uint256",
287
- },
288
- {
289
- indexed: true,
290
- name: "_from",
291
- type: "address",
292
- },
293
- {
294
- indexed: true,
295
- name: "_to",
296
- type: "address",
297
- },
298
- {
299
- indexed: false,
300
- name: "_value",
301
- type: "uint256",
302
- },
303
- ],
304
- name: "Transfer",
305
- type: "event",
306
- },
307
- {
308
- anonymous: false,
309
- inputs: [
310
- {
311
- indexed: true,
312
- name: "_id",
313
- type: "uint256",
314
- },
315
- {
316
- indexed: true,
317
- name: "_sender",
318
- type: "address",
319
- },
320
- {
321
- indexed: true,
322
- name: "_feeId",
323
- type: "uint256",
324
- },
325
- {
326
- indexed: false,
327
- name: "_feeValue",
328
- type: "uint256",
329
- },
330
- ],
331
- name: "TransferFee",
332
- type: "event",
333
- },
334
- {
335
- anonymous: false,
336
- inputs: [
337
- {
338
- indexed: true,
339
- name: "_id",
340
- type: "uint256",
341
- },
342
- ],
343
- name: "UpdateMaxTransferFee",
344
- type: "event",
345
- },
346
- {
347
- anonymous: false,
348
- inputs: [
349
- {
350
- indexed: true,
351
- name: "_id",
352
- type: "uint256",
353
- },
354
- ],
355
- name: "UpdateTransferable",
356
- type: "event",
357
- },
358
- {
359
- anonymous: false,
360
- inputs: [
361
- {
362
- indexed: true,
363
- name: "_id",
364
- type: "uint256",
365
- },
366
- ],
367
- name: "UpdateTransferFee",
368
- type: "event",
369
- },
370
- {
371
- anonymous: false,
372
- inputs: [
373
- {
374
- indexed: true,
375
- name: "_id",
376
- type: "uint256",
377
- },
378
- {
379
- indexed: true,
380
- name: "_account",
381
- type: "address",
382
- },
383
- {
384
- indexed: false,
385
- name: "_whitelisted",
386
- type: "address",
387
- },
388
- {
389
- indexed: false,
390
- name: "_on",
391
- type: "bool",
392
- },
393
- ],
394
- name: "Whitelist",
395
- type: "event",
396
- },
397
- {
398
- anonymous: false,
399
- inputs: [
400
- {
401
- indexed: true,
402
- name: "_id",
403
- type: "uint256",
404
- },
405
- {
406
- indexed: true,
407
- name: "_owner",
408
- type: "address",
409
- },
410
- {
411
- indexed: false,
412
- name: "_value",
413
- type: "uint256",
414
- },
415
- ],
416
- name: "Melt",
417
- type: "event",
418
- },
419
- {
420
- anonymous: false,
421
- inputs: [
422
- {
423
- indexed: true,
424
- name: "_id",
425
- type: "uint256",
426
- },
427
- {
428
- indexed: true,
429
- name: "_sender",
430
- type: "address",
431
- },
432
- ],
433
- name: "DeployERCAdapter",
434
- type: "event",
435
- },
436
- {
437
- anonymous: false,
438
- inputs: [
439
- {
440
- indexed: true,
441
- name: "_tradeId",
442
- type: "uint256",
443
- },
444
- {
445
- indexed: true,
446
- name: "_firstParty",
447
- type: "address",
448
- },
449
- {
450
- indexed: true,
451
- name: "_secondParty",
452
- type: "address",
453
- },
454
- {
455
- indexed: false,
456
- name: "_escrowedEnjFirstParty",
457
- type: "uint256",
458
- },
459
- ],
460
- name: "CreateTrade",
461
- type: "event",
462
- },
463
- {
464
- anonymous: false,
465
- inputs: [
466
- {
467
- indexed: true,
468
- name: "_tradeId",
469
- type: "uint256",
470
- },
471
- {
472
- indexed: true,
473
- name: "_firstParty",
474
- type: "address",
475
- },
476
- {
477
- indexed: true,
478
- name: "_secondParty",
479
- type: "address",
480
- },
481
- {
482
- indexed: false,
483
- name: "_receivedEnjFirstParty",
484
- type: "uint256",
485
- },
486
- {
487
- indexed: false,
488
- name: "_changeEnjFirstParty",
489
- type: "uint256",
490
- },
491
- {
492
- indexed: false,
493
- name: "_receivedEnjSecondParty",
494
- type: "uint256",
495
- },
496
- ],
497
- name: "CompleteTrade",
498
- type: "event",
499
- },
500
- {
501
- anonymous: false,
502
- inputs: [
503
- {
504
- indexed: true,
505
- name: "_tradeId",
506
- type: "uint256",
507
- },
508
- {
509
- indexed: true,
510
- name: "_firstParty",
511
- type: "address",
512
- },
513
- {
514
- indexed: false,
515
- name: "_receivedEnjFirstParty",
516
- type: "uint256",
517
- },
518
- ],
519
- name: "CancelTrade",
520
- type: "event",
521
- },
522
- {
523
- constant: true,
524
- inputs: [
525
- {
526
- name: "_interfaceID",
527
- type: "bytes4",
528
- },
529
- ],
530
- name: "supportsInterface",
531
- outputs: [
532
- {
533
- name: "",
534
- type: "bool",
535
- },
536
- ],
537
- payable: false,
538
- stateMutability: "pure",
539
- type: "function",
540
- },
541
- {
542
- constant: false,
543
- inputs: [
544
- {
545
- name: "_name",
546
- type: "string",
547
- },
548
- {
549
- name: "_totalSupply",
550
- type: "uint256",
551
- },
552
- {
553
- name: "_initialReserve",
554
- type: "uint256",
555
- },
556
- {
557
- name: "_supplyModel",
558
- type: "address",
559
- },
560
- {
561
- name: "_meltValue",
562
- type: "uint256",
563
- },
564
- {
565
- name: "_meltFeeRatio",
566
- type: "uint16",
567
- },
568
- {
569
- name: "_transferable",
570
- type: "uint8",
571
- },
572
- {
573
- name: "_transferFeeSettings",
574
- type: "uint256[3]",
575
- },
576
- {
577
- name: "_nonFungible",
578
- type: "bool",
579
- },
580
- ],
581
- name: "create",
582
- outputs: [],
583
- payable: false,
584
- stateMutability: "nonpayable",
585
- type: "function",
586
- },
587
- {
588
- constant: true,
589
- inputs: [
590
- {
591
- name: "_initialReserve",
592
- type: "uint256",
593
- },
594
- ],
595
- name: "minMeltValue",
596
- outputs: [
597
- {
598
- name: "",
599
- type: "uint256",
600
- },
601
- ],
602
- payable: false,
603
- stateMutability: "view",
604
- type: "function",
605
- },
606
- {
607
- constant: false,
608
- inputs: [
609
- {
610
- name: "_id",
611
- type: "uint256",
612
- },
613
- {
614
- name: "_to",
615
- type: "address[]",
616
- },
617
- {
618
- name: "_values",
619
- type: "uint256[]",
620
- },
621
- ],
622
- name: "mintFungibles",
623
- outputs: [],
624
- payable: false,
625
- stateMutability: "nonpayable",
626
- type: "function",
627
- },
628
- {
629
- constant: false,
630
- inputs: [
631
- {
632
- name: "_id",
633
- type: "uint256",
634
- },
635
- {
636
- name: "_to",
637
- type: "address[]",
638
- },
639
- ],
640
- name: "mintNonFungibles",
641
- outputs: [],
642
- payable: false,
643
- stateMutability: "nonpayable",
644
- type: "function",
645
- },
646
- {
647
- constant: false,
648
- inputs: [
649
- {
650
- name: "_id",
651
- type: "uint256",
652
- },
653
- {
654
- name: "_to",
655
- type: "address[]",
656
- },
657
- {
658
- name: "_data",
659
- type: "uint128[]",
660
- },
661
- ],
662
- name: "mintNonFungiblesWithData",
663
- outputs: [],
664
- payable: false,
665
- stateMutability: "nonpayable",
666
- type: "function",
667
- },
668
- {
669
- constant: true,
670
- inputs: [
671
- {
672
- name: "_id",
673
- type: "uint256",
674
- },
675
- ],
676
- name: "reserve",
677
- outputs: [
678
- {
679
- name: "",
680
- type: "uint256",
681
- },
682
- ],
683
- payable: false,
684
- stateMutability: "view",
685
- type: "function",
686
- },
687
- {
688
- constant: false,
689
- inputs: [
690
- {
691
- name: "_id",
692
- type: "uint256",
693
- },
694
- {
695
- name: "_value",
696
- type: "uint128",
697
- },
698
- ],
699
- name: "releaseReserve",
700
- outputs: [],
701
- payable: false,
702
- stateMutability: "nonpayable",
703
- type: "function",
704
- },
705
- {
706
- constant: false,
707
- inputs: [
708
- {
709
- name: "_id",
710
- type: "uint256",
711
- },
712
- {
713
- name: "_name",
714
- type: "string",
715
- },
716
- ],
717
- name: "updateName",
718
- outputs: [],
719
- payable: false,
720
- stateMutability: "nonpayable",
721
- type: "function",
722
- },
723
- {
724
- constant: false,
725
- inputs: [
726
- {
727
- name: "_id",
728
- type: "uint256",
729
- },
730
- {
731
- name: "_creator",
732
- type: "address",
733
- },
734
- ],
735
- name: "assign",
736
- outputs: [],
737
- payable: false,
738
- stateMutability: "nonpayable",
739
- type: "function",
740
- },
741
- {
742
- constant: false,
743
- inputs: [
744
- {
745
- name: "_id",
746
- type: "uint256",
747
- },
748
- ],
749
- name: "acceptAssignment",
750
- outputs: [],
751
- payable: false,
752
- stateMutability: "nonpayable",
753
- type: "function",
754
- },
755
- {
756
- constant: false,
757
- inputs: [
758
- {
759
- name: "_id",
760
- type: "uint256",
761
- },
762
- {
763
- name: "_account",
764
- type: "address",
765
- },
766
- {
767
- name: "_whitelisted",
768
- type: "address",
769
- },
770
- {
771
- name: "_on",
772
- type: "bool",
773
- },
774
- ],
775
- name: "setWhitelisted",
776
- outputs: [],
777
- payable: false,
778
- stateMutability: "nonpayable",
779
- type: "function",
780
- },
781
- {
782
- constant: false,
783
- inputs: [
784
- {
785
- name: "_id",
786
- type: "uint256",
787
- },
788
- {
789
- name: "_transferable",
790
- type: "uint8",
791
- },
792
- ],
793
- name: "setTransferable",
794
- outputs: [],
795
- payable: false,
796
- stateMutability: "nonpayable",
797
- type: "function",
798
- },
799
- {
800
- constant: false,
801
- inputs: [
802
- {
803
- name: "_id",
804
- type: "uint256",
805
- },
806
- {
807
- name: "_fee",
808
- type: "uint16",
809
- },
810
- ],
811
- name: "setMeltFee",
812
- outputs: [],
813
- payable: false,
814
- stateMutability: "nonpayable",
815
- type: "function",
816
- },
817
- {
818
- constant: false,
819
- inputs: [
820
- {
821
- name: "_id",
822
- type: "uint256",
823
- },
824
- {
825
- name: "_fee",
826
- type: "uint16",
827
- },
828
- ],
829
- name: "decreaseMaxMeltFee",
830
- outputs: [],
831
- payable: false,
832
- stateMutability: "nonpayable",
833
- type: "function",
834
- },
835
- {
836
- constant: false,
837
- inputs: [
838
- {
839
- name: "_id",
840
- type: "uint256",
841
- },
842
- {
843
- name: "_fee",
844
- type: "uint256",
845
- },
846
- ],
847
- name: "setTransferFee",
848
- outputs: [],
849
- payable: false,
850
- stateMutability: "nonpayable",
851
- type: "function",
852
- },
853
- {
854
- constant: false,
855
- inputs: [
856
- {
857
- name: "_id",
858
- type: "uint256",
859
- },
860
- {
861
- name: "_fee",
862
- type: "uint256",
863
- },
864
- ],
865
- name: "decreaseMaxTransferFee",
866
- outputs: [],
867
- payable: false,
868
- stateMutability: "nonpayable",
869
- type: "function",
870
- },
871
- {
872
- constant: false,
873
- inputs: [
874
- {
875
- name: "_id",
876
- type: "uint256",
877
- },
878
- {
879
- name: "_decimals",
880
- type: "uint8",
881
- },
882
- {
883
- name: "_symbol",
884
- type: "string",
885
- },
886
- ],
887
- name: "deployERC20Adapter",
888
- outputs: [
889
- {
890
- name: "",
891
- type: "address",
892
- },
893
- ],
894
- payable: false,
895
- stateMutability: "nonpayable",
896
- type: "function",
897
- },
898
- {
899
- constant: false,
900
- inputs: [
901
- {
902
- name: "_id",
903
- type: "uint256",
904
- },
905
- {
906
- name: "_symbol",
907
- type: "string",
908
- },
909
- ],
910
- name: "deployERC721Adapter",
911
- outputs: [
912
- {
913
- name: "",
914
- type: "address",
915
- },
916
- ],
917
- payable: false,
918
- stateMutability: "nonpayable",
919
- type: "function",
920
- },
921
- {
922
- constant: false,
923
- inputs: [
924
- {
925
- name: "_id",
926
- type: "uint256",
927
- },
928
- {
929
- name: "_data",
930
- type: "string",
931
- },
932
- ],
933
- name: "addLog",
934
- outputs: [],
935
- payable: false,
936
- stateMutability: "nonpayable",
937
- type: "function",
938
- },
939
- {
940
- constant: true,
941
- inputs: [],
942
- name: "typeCount",
943
- outputs: [
944
- {
945
- name: "",
946
- type: "uint256",
947
- },
948
- ],
949
- payable: false,
950
- stateMutability: "view",
951
- type: "function",
952
- },
953
- {
954
- constant: true,
955
- inputs: [
956
- {
957
- name: "_index",
958
- type: "uint256",
959
- },
960
- ],
961
- name: "typeByIndex",
962
- outputs: [
963
- {
964
- name: "_id",
965
- type: "uint256",
966
- },
967
- ],
968
- payable: false,
969
- stateMutability: "view",
970
- type: "function",
971
- },
972
- {
973
- constant: true,
974
- inputs: [],
975
- name: "nonFungibleTypeCount",
976
- outputs: [
977
- {
978
- name: "",
979
- type: "uint256",
980
- },
981
- ],
982
- payable: false,
983
- stateMutability: "view",
984
- type: "function",
985
- },
986
- {
987
- constant: true,
988
- inputs: [
989
- {
990
- name: "_index",
991
- type: "uint256",
992
- },
993
- ],
994
- name: "nonFungibleTypeByIndex",
995
- outputs: [
996
- {
997
- name: "_id",
998
- type: "uint256",
999
- },
1000
- ],
1001
- payable: false,
1002
- stateMutability: "view",
1003
- type: "function",
1004
- },
1005
- {
1006
- constant: true,
1007
- inputs: [],
1008
- name: "fungibleTypeCount",
1009
- outputs: [
1010
- {
1011
- name: "",
1012
- type: "uint256",
1013
- },
1014
- ],
1015
- payable: false,
1016
- stateMutability: "view",
1017
- type: "function",
1018
- },
1019
- {
1020
- constant: true,
1021
- inputs: [
1022
- {
1023
- name: "_index",
1024
- type: "uint256",
1025
- },
1026
- ],
1027
- name: "fungibleTypeByIndex",
1028
- outputs: [
1029
- {
1030
- name: "_id",
1031
- type: "uint256",
1032
- },
1033
- ],
1034
- payable: false,
1035
- stateMutability: "view",
1036
- type: "function",
1037
- },
1038
- {
1039
- constant: true,
1040
- inputs: [
1041
- {
1042
- name: "_id",
1043
- type: "uint256",
1044
- },
1045
- ],
1046
- name: "typeData",
1047
- outputs: [
1048
- {
1049
- name: "_name",
1050
- type: "string",
1051
- },
1052
- {
1053
- name: "_creator",
1054
- type: "address",
1055
- },
1056
- {
1057
- name: "_meltValue",
1058
- type: "uint256",
1059
- },
1060
- {
1061
- name: "_meltFeeRatio",
1062
- type: "uint16",
1063
- },
1064
- {
1065
- name: "_meltFeeMaxRatio",
1066
- type: "uint16",
1067
- },
1068
- {
1069
- name: "_supplyModel",
1070
- type: "address",
1071
- },
1072
- {
1073
- name: "_totalSupply",
1074
- type: "uint256",
1075
- },
1076
- {
1077
- name: "_circulatingSupply",
1078
- type: "uint256",
1079
- },
1080
- {
1081
- name: "_reserve",
1082
- type: "uint256",
1083
- },
1084
- {
1085
- name: "_transferable",
1086
- type: "uint8",
1087
- },
1088
- {
1089
- name: "_transferFeeData",
1090
- type: "uint256[4]",
1091
- },
1092
- {
1093
- name: "_nonFungible",
1094
- type: "bool",
1095
- },
1096
- ],
1097
- payable: false,
1098
- stateMutability: "view",
1099
- type: "function",
1100
- },
1101
- {
1102
- constant: true,
1103
- inputs: [
1104
- {
1105
- name: "_id",
1106
- type: "uint256",
1107
- },
1108
- ],
1109
- name: "transferSettings",
1110
- outputs: [
1111
- {
1112
- name: "_transferable",
1113
- type: "uint8",
1114
- },
1115
- {
1116
- name: "_transferFeeType",
1117
- type: "uint8",
1118
- },
1119
- {
1120
- name: "_transferFeeCurrency",
1121
- type: "uint256",
1122
- },
1123
- {
1124
- name: "_transferFeeValue",
1125
- type: "uint256",
1126
- },
1127
- {
1128
- name: "_transferFeeMaxValue",
1129
- type: "uint256",
1130
- },
1131
- ],
1132
- payable: false,
1133
- stateMutability: "view",
1134
- type: "function",
1135
- },
1136
- {
1137
- constant: true,
1138
- inputs: [
1139
- {
1140
- name: "_id",
1141
- type: "uint256",
1142
- },
1143
- {
1144
- name: "_creator",
1145
- type: "address",
1146
- },
1147
- ],
1148
- name: "isCreatorOf",
1149
- outputs: [
1150
- {
1151
- name: "",
1152
- type: "bool",
1153
- },
1154
- ],
1155
- payable: false,
1156
- stateMutability: "view",
1157
- type: "function",
1158
- },
1159
- {
1160
- constant: true,
1161
- inputs: [
1162
- {
1163
- name: "_id",
1164
- type: "uint256",
1165
- },
1166
- {
1167
- name: "_account",
1168
- type: "address",
1169
- },
1170
- {
1171
- name: "_whitelisted",
1172
- type: "address",
1173
- },
1174
- ],
1175
- name: "whitelisted",
1176
- outputs: [
1177
- {
1178
- name: "",
1179
- type: "bool",
1180
- },
1181
- ],
1182
- payable: false,
1183
- stateMutability: "view",
1184
- type: "function",
1185
- },
1186
- {
1187
- constant: true,
1188
- inputs: [
1189
- {
1190
- name: "_id",
1191
- type: "uint256",
1192
- },
1193
- ],
1194
- name: "name",
1195
- outputs: [
1196
- {
1197
- name: "",
1198
- type: "string",
1199
- },
1200
- ],
1201
- payable: false,
1202
- stateMutability: "view",
1203
- type: "function",
1204
- },
1205
- {
1206
- constant: true,
1207
- inputs: [
1208
- {
1209
- name: "_id",
1210
- type: "uint256",
1211
- },
1212
- ],
1213
- name: "totalSupply",
1214
- outputs: [
1215
- {
1216
- name: "",
1217
- type: "uint256",
1218
- },
1219
- ],
1220
- payable: false,
1221
- stateMutability: "view",
1222
- type: "function",
1223
- },
1224
- {
1225
- constant: true,
1226
- inputs: [
1227
- {
1228
- name: "_id",
1229
- type: "uint256",
1230
- },
1231
- ],
1232
- name: "mintableSupply",
1233
- outputs: [
1234
- {
1235
- name: "",
1236
- type: "uint256",
1237
- },
1238
- ],
1239
- payable: false,
1240
- stateMutability: "view",
1241
- type: "function",
1242
- },
1243
- {
1244
- constant: true,
1245
- inputs: [
1246
- {
1247
- name: "_id",
1248
- type: "uint256",
1249
- },
1250
- ],
1251
- name: "circulatingSupply",
1252
- outputs: [
1253
- {
1254
- name: "",
1255
- type: "uint256",
1256
- },
1257
- ],
1258
- payable: false,
1259
- stateMutability: "view",
1260
- type: "function",
1261
- },
1262
- {
1263
- constant: true,
1264
- inputs: [
1265
- {
1266
- name: "_id",
1267
- type: "uint256",
1268
- },
1269
- {
1270
- name: "_owner",
1271
- type: "address",
1272
- },
1273
- ],
1274
- name: "balanceOf",
1275
- outputs: [
1276
- {
1277
- name: "",
1278
- type: "uint256",
1279
- },
1280
- ],
1281
- payable: false,
1282
- stateMutability: "view",
1283
- type: "function",
1284
- },
1285
- {
1286
- constant: true,
1287
- inputs: [
1288
- {
1289
- name: "_id",
1290
- type: "uint256",
1291
- },
1292
- ],
1293
- name: "decimals",
1294
- outputs: [
1295
- {
1296
- name: "",
1297
- type: "uint8",
1298
- },
1299
- ],
1300
- payable: false,
1301
- stateMutability: "view",
1302
- type: "function",
1303
- },
1304
- {
1305
- constant: true,
1306
- inputs: [
1307
- {
1308
- name: "_id",
1309
- type: "uint256",
1310
- },
1311
- ],
1312
- name: "symbol",
1313
- outputs: [
1314
- {
1315
- name: "",
1316
- type: "string",
1317
- },
1318
- ],
1319
- payable: false,
1320
- stateMutability: "view",
1321
- type: "function",
1322
- },
1323
- {
1324
- constant: true,
1325
- inputs: [
1326
- {
1327
- name: "_id",
1328
- type: "uint256",
1329
- },
1330
- ],
1331
- name: "getERC20Adapter",
1332
- outputs: [
1333
- {
1334
- name: "",
1335
- type: "address",
1336
- },
1337
- ],
1338
- payable: false,
1339
- stateMutability: "view",
1340
- type: "function",
1341
- },
1342
- {
1343
- constant: true,
1344
- inputs: [
1345
- {
1346
- name: "_id",
1347
- type: "uint256",
1348
- },
1349
- ],
1350
- name: "getERC721Adapter",
1351
- outputs: [
1352
- {
1353
- name: "",
1354
- type: "address",
1355
- },
1356
- ],
1357
- payable: false,
1358
- stateMutability: "view",
1359
- type: "function",
1360
- },
1361
- {
1362
- constant: false,
1363
- inputs: [
1364
- {
1365
- name: "_to",
1366
- type: "address",
1367
- },
1368
- {
1369
- name: "_id",
1370
- type: "uint256",
1371
- },
1372
- {
1373
- name: "_value",
1374
- type: "uint256",
1375
- },
1376
- ],
1377
- name: "transfer",
1378
- outputs: [],
1379
- payable: false,
1380
- stateMutability: "nonpayable",
1381
- type: "function",
1382
- },
1383
- {
1384
- constant: false,
1385
- inputs: [
1386
- {
1387
- name: "_to",
1388
- type: "address",
1389
- },
1390
- {
1391
- name: "_id",
1392
- type: "uint256",
1393
- },
1394
- {
1395
- name: "_value",
1396
- type: "uint256",
1397
- },
1398
- {
1399
- name: "_data",
1400
- type: "bytes",
1401
- },
1402
- ],
1403
- name: "safeTransfer",
1404
- outputs: [],
1405
- payable: false,
1406
- stateMutability: "nonpayable",
1407
- type: "function",
1408
- },
1409
- {
1410
- constant: false,
1411
- inputs: [
1412
- {
1413
- name: "_to",
1414
- type: "address",
1415
- },
1416
- {
1417
- name: "_id",
1418
- type: "uint256",
1419
- },
1420
- {
1421
- name: "_value",
1422
- type: "uint256",
1423
- },
1424
- {
1425
- name: "_msgSender",
1426
- type: "address",
1427
- },
1428
- ],
1429
- name: "transferAdapter",
1430
- outputs: [],
1431
- payable: false,
1432
- stateMutability: "nonpayable",
1433
- type: "function",
1434
- },
1435
- {
1436
- constant: false,
1437
- inputs: [
1438
- {
1439
- name: "_from",
1440
- type: "address",
1441
- },
1442
- {
1443
- name: "_to",
1444
- type: "address",
1445
- },
1446
- {
1447
- name: "_id",
1448
- type: "uint256",
1449
- },
1450
- {
1451
- name: "_value",
1452
- type: "uint256",
1453
- },
1454
- ],
1455
- name: "transferFrom",
1456
- outputs: [],
1457
- payable: false,
1458
- stateMutability: "nonpayable",
1459
- type: "function",
1460
- },
1461
- {
1462
- constant: false,
1463
- inputs: [
1464
- {
1465
- name: "_from",
1466
- type: "address",
1467
- },
1468
- {
1469
- name: "_to",
1470
- type: "address",
1471
- },
1472
- {
1473
- name: "_id",
1474
- type: "uint256",
1475
- },
1476
- {
1477
- name: "_value",
1478
- type: "uint256",
1479
- },
1480
- {
1481
- name: "_data",
1482
- type: "bytes",
1483
- },
1484
- ],
1485
- name: "safeTransferFrom",
1486
- outputs: [],
1487
- payable: false,
1488
- stateMutability: "nonpayable",
1489
- type: "function",
1490
- },
1491
- {
1492
- constant: false,
1493
- inputs: [
1494
- {
1495
- name: "_from",
1496
- type: "address",
1497
- },
1498
- {
1499
- name: "_to",
1500
- type: "address",
1501
- },
1502
- {
1503
- name: "_id",
1504
- type: "uint256",
1505
- },
1506
- {
1507
- name: "_value",
1508
- type: "uint256",
1509
- },
1510
- {
1511
- name: "_msgSender",
1512
- type: "address",
1513
- },
1514
- ],
1515
- name: "transferFromAdapter",
1516
- outputs: [],
1517
- payable: false,
1518
- stateMutability: "nonpayable",
1519
- type: "function",
1520
- },
1521
- {
1522
- constant: false,
1523
- inputs: [
1524
- {
1525
- name: "_to",
1526
- type: "address",
1527
- },
1528
- {
1529
- name: "_ids",
1530
- type: "uint256[]",
1531
- },
1532
- {
1533
- name: "_values",
1534
- type: "uint256[]",
1535
- },
1536
- ],
1537
- name: "batchTransfer",
1538
- outputs: [],
1539
- payable: false,
1540
- stateMutability: "nonpayable",
1541
- type: "function",
1542
- },
1543
- {
1544
- constant: false,
1545
- inputs: [
1546
- {
1547
- name: "_to",
1548
- type: "address",
1549
- },
1550
- {
1551
- name: "_ids",
1552
- type: "uint256[]",
1553
- },
1554
- {
1555
- name: "_values",
1556
- type: "uint256[]",
1557
- },
1558
- {
1559
- name: "_data",
1560
- type: "bytes",
1561
- },
1562
- ],
1563
- name: "safeBatchTransfer",
1564
- outputs: [],
1565
- payable: false,
1566
- stateMutability: "nonpayable",
1567
- type: "function",
1568
- },
1569
- {
1570
- constant: false,
1571
- inputs: [
1572
- {
1573
- name: "_from",
1574
- type: "address",
1575
- },
1576
- {
1577
- name: "_to",
1578
- type: "address",
1579
- },
1580
- {
1581
- name: "_ids",
1582
- type: "uint256[]",
1583
- },
1584
- {
1585
- name: "_values",
1586
- type: "uint256[]",
1587
- },
1588
- ],
1589
- name: "batchTransferFrom",
1590
- outputs: [],
1591
- payable: false,
1592
- stateMutability: "nonpayable",
1593
- type: "function",
1594
- },
1595
- {
1596
- constant: false,
1597
- inputs: [
1598
- {
1599
- name: "_from",
1600
- type: "address",
1601
- },
1602
- {
1603
- name: "_to",
1604
- type: "address",
1605
- },
1606
- {
1607
- name: "_ids",
1608
- type: "uint256[]",
1609
- },
1610
- {
1611
- name: "_values",
1612
- type: "uint256[]",
1613
- },
1614
- {
1615
- name: "_data",
1616
- type: "bytes",
1617
- },
1618
- ],
1619
- name: "safeBatchTransferFrom",
1620
- outputs: [],
1621
- payable: false,
1622
- stateMutability: "nonpayable",
1623
- type: "function",
1624
- },
1625
- {
1626
- constant: false,
1627
- inputs: [
1628
- {
1629
- name: "_to",
1630
- type: "address[]",
1631
- },
1632
- {
1633
- name: "_ids",
1634
- type: "uint256[]",
1635
- },
1636
- {
1637
- name: "_values",
1638
- type: "uint256[]",
1639
- },
1640
- ],
1641
- name: "multicastTransfer",
1642
- outputs: [],
1643
- payable: false,
1644
- stateMutability: "nonpayable",
1645
- type: "function",
1646
- },
1647
- {
1648
- constant: false,
1649
- inputs: [
1650
- {
1651
- name: "_to",
1652
- type: "address[]",
1653
- },
1654
- {
1655
- name: "_ids",
1656
- type: "uint256[]",
1657
- },
1658
- {
1659
- name: "_values",
1660
- type: "uint256[]",
1661
- },
1662
- {
1663
- name: "_data",
1664
- type: "bytes",
1665
- },
1666
- ],
1667
- name: "safeMulticastTransfer",
1668
- outputs: [],
1669
- payable: false,
1670
- stateMutability: "nonpayable",
1671
- type: "function",
1672
- },
1673
- {
1674
- constant: false,
1675
- inputs: [
1676
- {
1677
- name: "_from",
1678
- type: "address[]",
1679
- },
1680
- {
1681
- name: "_to",
1682
- type: "address[]",
1683
- },
1684
- {
1685
- name: "_ids",
1686
- type: "uint256[]",
1687
- },
1688
- {
1689
- name: "_values",
1690
- type: "uint256[]",
1691
- },
1692
- ],
1693
- name: "multicastTransferFrom",
1694
- outputs: [],
1695
- payable: false,
1696
- stateMutability: "nonpayable",
1697
- type: "function",
1698
- },
1699
- {
1700
- constant: true,
1701
- inputs: [
1702
- {
1703
- name: "_id",
1704
- type: "uint256",
1705
- },
1706
- {
1707
- name: "_owner",
1708
- type: "address",
1709
- },
1710
- {
1711
- name: "_spender",
1712
- type: "address",
1713
- },
1714
- ],
1715
- name: "allowance",
1716
- outputs: [
1717
- {
1718
- name: "",
1719
- type: "uint256",
1720
- },
1721
- ],
1722
- payable: false,
1723
- stateMutability: "view",
1724
- type: "function",
1725
- },
1726
- {
1727
- constant: false,
1728
- inputs: [
1729
- {
1730
- name: "_spender",
1731
- type: "address",
1732
- },
1733
- {
1734
- name: "_id",
1735
- type: "uint256",
1736
- },
1737
- {
1738
- name: "_currentValue",
1739
- type: "uint256",
1740
- },
1741
- {
1742
- name: "_value",
1743
- type: "uint256",
1744
- },
1745
- ],
1746
- name: "approve",
1747
- outputs: [],
1748
- payable: false,
1749
- stateMutability: "nonpayable",
1750
- type: "function",
1751
- },
1752
- {
1753
- constant: false,
1754
- inputs: [
1755
- {
1756
- name: "_spender",
1757
- type: "address",
1758
- },
1759
- {
1760
- name: "_id",
1761
- type: "uint256",
1762
- },
1763
- {
1764
- name: "_currentValue",
1765
- type: "uint256",
1766
- },
1767
- {
1768
- name: "_value",
1769
- type: "uint256",
1770
- },
1771
- {
1772
- name: "_msgSender",
1773
- type: "address",
1774
- },
1775
- ],
1776
- name: "approveAdapter",
1777
- outputs: [],
1778
- payable: false,
1779
- stateMutability: "nonpayable",
1780
- type: "function",
1781
- },
1782
- {
1783
- constant: false,
1784
- inputs: [
1785
- {
1786
- name: "_spender",
1787
- type: "address",
1788
- },
1789
- {
1790
- name: "_ids",
1791
- type: "uint256[]",
1792
- },
1793
- {
1794
- name: "_currentValues",
1795
- type: "uint256[]",
1796
- },
1797
- {
1798
- name: "_values",
1799
- type: "uint256[]",
1800
- },
1801
- ],
1802
- name: "batchApprove",
1803
- outputs: [],
1804
- payable: false,
1805
- stateMutability: "nonpayable",
1806
- type: "function",
1807
- },
1808
- {
1809
- constant: false,
1810
- inputs: [
1811
- {
1812
- name: "_operator",
1813
- type: "address",
1814
- },
1815
- {
1816
- name: "_ids",
1817
- type: "uint256[]",
1818
- },
1819
- {
1820
- name: "_approved",
1821
- type: "bool",
1822
- },
1823
- ],
1824
- name: "setApproval",
1825
- outputs: [],
1826
- payable: false,
1827
- stateMutability: "nonpayable",
1828
- type: "function",
1829
- },
1830
- {
1831
- constant: false,
1832
- inputs: [
1833
- {
1834
- name: "_operator",
1835
- type: "address",
1836
- },
1837
- {
1838
- name: "_approved",
1839
- type: "bool",
1840
- },
1841
- ],
1842
- name: "setApprovalForAll",
1843
- outputs: [],
1844
- payable: false,
1845
- stateMutability: "nonpayable",
1846
- type: "function",
1847
- },
1848
- {
1849
- constant: false,
1850
- inputs: [
1851
- {
1852
- name: "_operator",
1853
- type: "address",
1854
- },
1855
- {
1856
- name: "_id",
1857
- type: "uint256",
1858
- },
1859
- {
1860
- name: "_approved",
1861
- type: "bool",
1862
- },
1863
- {
1864
- name: "_msgSender",
1865
- type: "address",
1866
- },
1867
- ],
1868
- name: "setApprovalAdapter",
1869
- outputs: [],
1870
- payable: false,
1871
- stateMutability: "nonpayable",
1872
- type: "function",
1873
- },
1874
- {
1875
- constant: true,
1876
- inputs: [
1877
- {
1878
- name: "_owner",
1879
- type: "address",
1880
- },
1881
- {
1882
- name: "_operator",
1883
- type: "address",
1884
- },
1885
- {
1886
- name: "_id",
1887
- type: "uint256",
1888
- },
1889
- ],
1890
- name: "isApproved",
1891
- outputs: [
1892
- {
1893
- name: "",
1894
- type: "bool",
1895
- },
1896
- ],
1897
- payable: false,
1898
- stateMutability: "view",
1899
- type: "function",
1900
- },
1901
- {
1902
- constant: true,
1903
- inputs: [
1904
- {
1905
- name: "_owner",
1906
- type: "address",
1907
- },
1908
- {
1909
- name: "_operator",
1910
- type: "address",
1911
- },
1912
- ],
1913
- name: "isApprovedForAll",
1914
- outputs: [
1915
- {
1916
- name: "",
1917
- type: "bool",
1918
- },
1919
- ],
1920
- payable: false,
1921
- stateMutability: "view",
1922
- type: "function",
1923
- },
1924
- {
1925
- constant: true,
1926
- inputs: [
1927
- {
1928
- name: "_id",
1929
- type: "uint256",
1930
- },
1931
- {
1932
- name: "_value",
1933
- type: "uint256",
1934
- },
1935
- {
1936
- name: "_from",
1937
- type: "address",
1938
- },
1939
- {
1940
- name: "_to",
1941
- type: "address",
1942
- },
1943
- ],
1944
- name: "transferFees",
1945
- outputs: [
1946
- {
1947
- name: "_transferValue",
1948
- type: "uint256",
1949
- },
1950
- {
1951
- name: "_minTransferValue",
1952
- type: "uint256",
1953
- },
1954
- {
1955
- name: "_transferFeeCurrency",
1956
- type: "uint256",
1957
- },
1958
- {
1959
- name: "_fee",
1960
- type: "uint256",
1961
- },
1962
- {
1963
- name: "_maxFee",
1964
- type: "uint256",
1965
- },
1966
- ],
1967
- payable: false,
1968
- stateMutability: "view",
1969
- type: "function",
1970
- },
1971
- {
1972
- constant: false,
1973
- inputs: [
1974
- {
1975
- name: "_askingIds",
1976
- type: "uint256[]",
1977
- },
1978
- {
1979
- name: "_askingValues",
1980
- type: "uint128[]",
1981
- },
1982
- {
1983
- name: "_offeringIds",
1984
- type: "uint256[]",
1985
- },
1986
- {
1987
- name: "_offeringValues",
1988
- type: "uint128[]",
1989
- },
1990
- {
1991
- name: "_secondParty",
1992
- type: "address",
1993
- },
1994
- ],
1995
- name: "createTrade",
1996
- outputs: [],
1997
- payable: false,
1998
- stateMutability: "nonpayable",
1999
- type: "function",
2000
- },
2001
- {
2002
- constant: true,
2003
- inputs: [
2004
- {
2005
- name: "_id",
2006
- type: "uint256",
2007
- },
2008
- ],
2009
- name: "tradeCompletable",
2010
- outputs: [
2011
- {
2012
- name: "",
2013
- type: "uint256",
2014
- },
2015
- ],
2016
- payable: false,
2017
- stateMutability: "view",
2018
- type: "function",
2019
- },
2020
- {
2021
- constant: false,
2022
- inputs: [
2023
- {
2024
- name: "_id",
2025
- type: "uint256",
2026
- },
2027
- ],
2028
- name: "completeTrade",
2029
- outputs: [],
2030
- payable: false,
2031
- stateMutability: "nonpayable",
2032
- type: "function",
2033
- },
2034
- {
2035
- constant: false,
2036
- inputs: [
2037
- {
2038
- name: "_id",
2039
- type: "uint256",
2040
- },
2041
- ],
2042
- name: "cancelTrade",
2043
- outputs: [],
2044
- payable: false,
2045
- stateMutability: "nonpayable",
2046
- type: "function",
2047
- },
2048
- {
2049
- constant: false,
2050
- inputs: [
2051
- {
2052
- name: "_ids",
2053
- type: "uint256[]",
2054
- },
2055
- {
2056
- name: "_values",
2057
- type: "uint256[]",
2058
- },
2059
- ],
2060
- name: "melt",
2061
- outputs: [],
2062
- payable: false,
2063
- stateMutability: "nonpayable",
2064
- type: "function",
2065
- },
2066
- {
2067
- constant: true,
2068
- inputs: [
2069
- {
2070
- name: "_id",
2071
- type: "uint256",
2072
- },
2073
- ],
2074
- name: "ownerOf",
2075
- outputs: [
2076
- {
2077
- name: "",
2078
- type: "address",
2079
- },
2080
- ],
2081
- payable: false,
2082
- stateMutability: "view",
2083
- type: "function",
2084
- },
2085
- {
2086
- constant: false,
2087
- inputs: [
2088
- {
2089
- name: "_id",
2090
- type: "uint256",
2091
- },
2092
- {
2093
- name: "_uri",
2094
- type: "string",
2095
- },
2096
- ],
2097
- name: "setURI",
2098
- outputs: [],
2099
- payable: false,
2100
- stateMutability: "nonpayable",
2101
- type: "function",
2102
- },
2103
- {
2104
- constant: true,
2105
- inputs: [
2106
- {
2107
- name: "_id",
2108
- type: "uint256",
2109
- },
2110
- ],
2111
- name: "uri",
2112
- outputs: [
2113
- {
2114
- name: "",
2115
- type: "string",
2116
- },
2117
- ],
2118
- payable: false,
2119
- stateMutability: "view",
2120
- type: "function",
2121
- },
2122
- {
2123
- constant: true,
2124
- inputs: [
2125
- {
2126
- name: "_id",
2127
- type: "uint256",
2128
- },
2129
- ],
2130
- name: "nonFungibleCount",
2131
- outputs: [
2132
- {
2133
- name: "",
2134
- type: "uint256",
2135
- },
2136
- ],
2137
- payable: false,
2138
- stateMutability: "view",
2139
- type: "function",
2140
- },
2141
- {
2142
- constant: true,
2143
- inputs: [
2144
- {
2145
- name: "_id",
2146
- type: "uint256",
2147
- },
2148
- {
2149
- name: "_index",
2150
- type: "uint256",
2151
- },
2152
- ],
2153
- name: "nonFungibleByIndex",
2154
- outputs: [
2155
- {
2156
- name: "",
2157
- type: "uint256",
2158
- },
2159
- ],
2160
- payable: false,
2161
- stateMutability: "view",
2162
- type: "function",
2163
- },
2164
- {
2165
- constant: true,
2166
- inputs: [
2167
- {
2168
- name: "_id",
2169
- type: "uint256",
2170
- },
2171
- {
2172
- name: "_owner",
2173
- type: "address",
2174
- },
2175
- {
2176
- name: "_index",
2177
- type: "uint256",
2178
- },
2179
- ],
2180
- name: "nonFungibleOfOwnerByIndex",
2181
- outputs: [
2182
- {
2183
- name: "",
2184
- type: "uint256",
2185
- },
2186
- ],
2187
- payable: false,
2188
- stateMutability: "view",
2189
- type: "function",
2190
- },
2191
- {
2192
- constant: true,
2193
- inputs: [
2194
- {
2195
- name: "_id",
2196
- type: "uint256",
2197
- },
2198
- ],
2199
- name: "isNonFungible",
2200
- outputs: [
2201
- {
2202
- name: "",
2203
- type: "bool",
2204
- },
2205
- ],
2206
- payable: false,
2207
- stateMutability: "pure",
2208
- type: "function",
2209
- },
2210
- {
2211
- constant: true,
2212
- inputs: [
2213
- {
2214
- name: "_addr",
2215
- type: "address",
2216
- },
2217
- ],
2218
- name: "isContract",
2219
- outputs: [
2220
- {
2221
- name: "",
2222
- type: "bool",
2223
- },
2224
- ],
2225
- payable: false,
2226
- stateMutability: "view",
2227
- type: "function",
2228
- },
2229
- {
2230
- constant: false,
2231
- inputs: [
2232
- {
2233
- name: "_erc20ContractAddress",
2234
- type: "address",
2235
- },
2236
- {
2237
- name: "_to",
2238
- type: "address",
2239
- },
2240
- {
2241
- name: "_value",
2242
- type: "uint256",
2243
- },
2244
- ],
2245
- name: "releaseERC20",
2246
- outputs: [],
2247
- payable: false,
2248
- stateMutability: "nonpayable",
2249
- type: "function",
2250
- },
2251
- {
2252
- constant: false,
2253
- inputs: [
2254
- {
2255
- name: "_to",
2256
- type: "address",
2257
- },
2258
- {
2259
- name: "_value",
2260
- type: "uint256",
2261
- },
2262
- ],
2263
- name: "releaseETH",
2264
- outputs: [],
2265
- payable: false,
2266
- stateMutability: "nonpayable",
2267
- type: "function",
2268
- },
2269
- {
2270
- constant: false,
2271
- inputs: [
2272
- {
2273
- name: "_erc721ContractAddress",
2274
- type: "address",
2275
- },
2276
- {
2277
- name: "_to",
2278
- type: "address",
2279
- },
2280
- {
2281
- name: "_token",
2282
- type: "uint256",
2283
- },
2284
- ],
2285
- name: "releaseERC721",
2286
- outputs: [],
2287
- payable: false,
2288
- stateMutability: "nonpayable",
2289
- type: "function",
2290
- },
2291
- {
2292
- constant: false,
2293
- inputs: [
2294
- {
2295
- name: "_erc1155ContractAddress",
2296
- type: "address",
2297
- },
2298
- {
2299
- name: "_to",
2300
- type: "address",
2301
- },
2302
- {
2303
- name: "_id",
2304
- type: "uint256",
2305
- },
2306
- {
2307
- name: "_value",
2308
- type: "uint256",
2309
- },
2310
- ],
2311
- name: "releaseERC1155",
2312
- outputs: [],
2313
- payable: false,
2314
- stateMutability: "nonpayable",
2315
- type: "function",
2316
- },
2317
- {
2318
- constant: false,
2319
- inputs: [
2320
- {
2321
- name: "_storage",
2322
- type: "address",
2323
- },
2324
- {
2325
- name: "_oldContract",
2326
- type: "address",
2327
- },
2328
- ],
2329
- name: "initialize",
2330
- outputs: [],
2331
- payable: false,
2332
- stateMutability: "nonpayable",
2333
- type: "function",
2334
- },
2335
- {
2336
- constant: false,
2337
- inputs: [
2338
- {
2339
- name: "_nextContract",
2340
- type: "address",
2341
- },
2342
- ],
2343
- name: "retire",
2344
- outputs: [],
2345
- payable: false,
2346
- stateMutability: "nonpayable",
2347
- type: "function",
2348
- },
2349
- ];
7
+ var ERC1155Abi_json_1 = __importDefault(require("./ERC1155Abi.json"));
8
+ exports.ERC1155 = ERC1155Abi_json_1.default;
2350
9
  //# sourceMappingURL=ERC1155.js.map