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