apenft-js-tron 2.0.7 → 2.0.9

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 (109) hide show
  1. package/package.json +1 -1
  2. package/dist/index.d.ts +0 -9
  3. package/dist/index.js +0 -32
  4. package/dist/src/abi/APENFT721.json +0 -632
  5. package/dist/src/abi/APENFTExchange.json +0 -1601
  6. package/dist/src/abi/APENFTSharedAsset.json +0 -1045
  7. package/dist/src/abi/AuthenticatedProxy.json +0 -274
  8. package/dist/src/abi/ERC1155.json +0 -418
  9. package/dist/src/abi/ERC20.json +0 -178
  10. package/dist/src/abi/ERC20AssetProxy.json +0 -213
  11. package/dist/src/abi/ERC721v3.json +0 -446
  12. package/dist/src/abi/ExchangeHelper.json +0 -1766
  13. package/dist/src/abi/FactoryContract.json +0 -4
  14. package/dist/src/config.d.ts +0 -57
  15. package/dist/src/config.js +0 -76
  16. package/dist/src/queryAPI/graphql/accountApi.d.ts +0 -11
  17. package/dist/src/queryAPI/graphql/accountApi.js +0 -148
  18. package/dist/src/queryAPI/graphql/assetApi.d.ts +0 -15
  19. package/dist/src/queryAPI/graphql/assetApi.js +0 -204
  20. package/dist/src/queryAPI/graphql/base.d.ts +0 -37
  21. package/dist/src/queryAPI/graphql/base.js +0 -65
  22. package/dist/src/queryAPI/graphql/collectionApi.d.ts +0 -11
  23. package/dist/src/queryAPI/graphql/collectionApi.js +0 -148
  24. package/dist/src/queryAPI/graphql/gql/account.d.ts +0 -6
  25. package/dist/src/queryAPI/graphql/gql/account.js +0 -16
  26. package/dist/src/queryAPI/graphql/gql/asset.d.ts +0 -10
  27. package/dist/src/queryAPI/graphql/gql/asset.js +0 -20
  28. package/dist/src/queryAPI/graphql/gql/collection.d.ts +0 -6
  29. package/dist/src/queryAPI/graphql/gql/collection.js +0 -16
  30. package/dist/src/queryAPI/graphql/gql/fragments.d.ts +0 -8
  31. package/dist/src/queryAPI/graphql/gql/fragments.js +0 -17
  32. package/dist/src/queryAPI/graphql/gql/ranking.d.ts +0 -1
  33. package/dist/src/queryAPI/graphql/gql/ranking.js +0 -11
  34. package/dist/src/queryAPI/graphql/index.d.ts +0 -11
  35. package/dist/src/queryAPI/graphql/index.js +0 -17
  36. package/dist/src/queryAPI/graphql/rankingApi.d.ts +0 -6
  37. package/dist/src/queryAPI/graphql/rankingApi.js +0 -78
  38. package/dist/src/queryAPI/index.d.ts +0 -58
  39. package/dist/src/queryAPI/index.js +0 -771
  40. package/dist/src/queryAPI/restful/base.d.ts +0 -50
  41. package/dist/src/queryAPI/restful/base.js +0 -223
  42. package/dist/src/queryAPI/restful/index.d.ts +0 -1
  43. package/dist/src/queryAPI/restful/index.js +0 -2
  44. package/dist/src/queryAPI/restful/queryAPI.d.ts +0 -26
  45. package/dist/src/queryAPI/restful/queryAPI.js +0 -44
  46. package/dist/src/schemas/common/ERC1155/index.d.ts +0 -7
  47. package/dist/src/schemas/common/ERC1155/index.js +0 -140
  48. package/dist/src/schemas/common/ERC20/index.d.ts +0 -6
  49. package/dist/src/schemas/common/ERC20/index.js +0 -132
  50. package/dist/src/schemas/common/ERC721/index.d.ts +0 -5
  51. package/dist/src/schemas/common/ERC721/index.js +0 -128
  52. package/dist/src/schemas/common/Element/exchange.d.ts +0 -9
  53. package/dist/src/schemas/common/Element/exchange.js +0 -520
  54. package/dist/src/schemas/common/Element/registry.d.ts +0 -4
  55. package/dist/src/schemas/common/Element/registry.js +0 -29
  56. package/dist/src/schemas/common/ens.d.ts +0 -7
  57. package/dist/src/schemas/common/ens.js +0 -29
  58. package/dist/src/schemas/index.d.ts +0 -18
  59. package/dist/src/schemas/index.js +0 -82
  60. package/dist/src/schemas/schemasFunctions.d.ts +0 -24
  61. package/dist/src/schemas/schemasFunctions.js +0 -170
  62. package/dist/src/schemas/shasta/index.d.ts +0 -1
  63. package/dist/src/schemas/shasta/index.js +0 -7
  64. package/dist/src/schemas/tron/index.d.ts +0 -1
  65. package/dist/src/schemas/tron/index.js +0 -7
  66. package/dist/src/tokens/index.d.ts +0 -4
  67. package/dist/src/tokens/index.js +0 -9
  68. package/dist/src/tokens/shasta/index.d.ts +0 -1
  69. package/dist/src/tokens/shasta/index.js +0 -6
  70. package/dist/src/tokens/tron/index.d.ts +0 -1
  71. package/dist/src/tokens/tron/index.js +0 -6
  72. package/dist/src/tradeAPI/account.d.ts +0 -33
  73. package/dist/src/tradeAPI/account.js +0 -533
  74. package/dist/src/tradeAPI/approve.d.ts +0 -3
  75. package/dist/src/tradeAPI/approve.js +0 -108
  76. package/dist/src/tradeAPI/base.d.ts +0 -40
  77. package/dist/src/tradeAPI/base.js +0 -214
  78. package/dist/src/tradeAPI/contractSchemas.d.ts +0 -28
  79. package/dist/src/tradeAPI/contractSchemas.js +0 -313
  80. package/dist/src/tradeAPI/contracts.d.ts +0 -29
  81. package/dist/src/tradeAPI/contracts.js +0 -99
  82. package/dist/src/tradeAPI/index.d.ts +0 -25
  83. package/dist/src/tradeAPI/index.js +0 -343
  84. package/dist/src/tradeAPI/nft.d.ts +0 -42
  85. package/dist/src/tradeAPI/nft.js +0 -285
  86. package/dist/src/tradeAPI/orders.d.ts +0 -69
  87. package/dist/src/tradeAPI/orders.js +0 -266
  88. package/dist/src/tradeAPI/ordersApi.d.ts +0 -54
  89. package/dist/src/tradeAPI/ordersApi.js +0 -217
  90. package/dist/src/utils/Abi.d.ts +0 -18
  91. package/dist/src/utils/Abi.js +0 -473
  92. package/dist/src/utils/PromiEvent.d.ts +0 -21
  93. package/dist/src/utils/PromiEvent.js +0 -44
  94. package/dist/src/utils/check.d.ts +0 -25
  95. package/dist/src/utils/check.js +0 -626
  96. package/dist/src/utils/constants.d.ts +0 -22
  97. package/dist/src/utils/constants.js +0 -55
  98. package/dist/src/utils/error.d.ts +0 -20
  99. package/dist/src/utils/error.js +0 -172
  100. package/dist/src/utils/fees.d.ts +0 -40
  101. package/dist/src/utils/fees.js +0 -155
  102. package/dist/src/utils/helper.d.ts +0 -23
  103. package/dist/src/utils/helper.js +0 -440
  104. package/dist/src/utils/makeOrder.d.ts +0 -80
  105. package/dist/src/utils/makeOrder.js +0 -595
  106. package/dist/src/utils/types.d.ts +0 -541
  107. package/dist/src/utils/types.js +0 -167
  108. package/dist/src/utils/utils.d.ts +0 -1
  109. package/dist/src/utils/utils.js +0 -21
@@ -1,446 +0,0 @@
1
- {
2
- "abi": [
3
- {
4
- "constant": true,
5
- "inputs": [],
6
- "name": "name",
7
- "outputs": [
8
- {
9
- "name": "",
10
- "type": "string"
11
- }
12
- ],
13
- "payable": false,
14
- "stateMutability": "view",
15
- "type": "function"
16
- },
17
- {
18
- "constant": true,
19
- "inputs": [
20
- {
21
- "name": "",
22
- "type": "uint256"
23
- }
24
- ],
25
- "name": "kittyIndexToApproved",
26
- "outputs": [
27
- {
28
- "name": "",
29
- "type": "address"
30
- }
31
- ],
32
- "payable": false,
33
- "stateMutability": "view",
34
- "type": "function"
35
- },
36
- {
37
- "constant": true,
38
- "inputs": [
39
- {
40
- "name": "",
41
- "type": "address"
42
- },
43
- {
44
- "name": "",
45
- "type": "uint256"
46
- }
47
- ],
48
- "name": "allowed",
49
- "outputs": [
50
- {
51
- "name": "",
52
- "type": "address"
53
- }
54
- ],
55
- "payable": false,
56
- "stateMutability": "view",
57
- "type": "function"
58
- },
59
- {
60
- "constant": true,
61
- "inputs": [
62
- {
63
- "name": "",
64
- "type": "uint256"
65
- }
66
- ],
67
- "name": "partIndexToApproved",
68
- "outputs": [
69
- {
70
- "name": "",
71
- "type": "address"
72
- }
73
- ],
74
- "payable": false,
75
- "stateMutability": "view",
76
- "type": "function"
77
- },
78
- {
79
- "constant": true,
80
- "inputs": [
81
- {
82
- "name": "_tokenId",
83
- "type": "uint256"
84
- }
85
- ],
86
- "name": "getApproved",
87
- "outputs": [
88
- {
89
- "name": "",
90
- "type": "address"
91
- }
92
- ],
93
- "payable": false,
94
- "stateMutability": "view",
95
- "type": "function"
96
- },
97
- {
98
- "constant": false,
99
- "inputs": [
100
- {
101
- "name": "_to",
102
- "type": "address"
103
- },
104
- {
105
- "name": "_tokenId",
106
- "type": "uint256"
107
- }
108
- ],
109
- "name": "approve",
110
- "outputs": [],
111
- "payable": false,
112
- "stateMutability": "nonpayable",
113
- "type": "function"
114
- },
115
- {
116
- "constant": true,
117
- "inputs": [],
118
- "name": "totalSupply",
119
- "outputs": [
120
- {
121
- "name": "",
122
- "type": "uint256"
123
- }
124
- ],
125
- "payable": false,
126
- "stateMutability": "view",
127
- "type": "function"
128
- },
129
- {
130
- "constant": false,
131
- "inputs": [
132
- {
133
- "name": "_to",
134
- "type": "address"
135
- },
136
- {
137
- "name": "_tokenId",
138
- "type": "uint256"
139
- }
140
- ],
141
- "name": "transfer",
142
- "outputs": [],
143
- "payable": false,
144
- "stateMutability": "nonpayable",
145
- "type": "function"
146
- },
147
- {
148
- "constant": false,
149
- "inputs": [
150
- {
151
- "name": "_from",
152
- "type": "address"
153
- },
154
- {
155
- "name": "_to",
156
- "type": "address"
157
- },
158
- {
159
- "name": "_tokenId",
160
- "type": "uint256"
161
- }
162
- ],
163
- "name": "transferFrom",
164
- "outputs": [],
165
- "payable": false,
166
- "stateMutability": "nonpayable",
167
- "type": "function"
168
- },
169
- {
170
- "constant": true,
171
- "inputs": [
172
- {
173
- "name": "_owner",
174
- "type": "address"
175
- },
176
- {
177
- "name": "_index",
178
- "type": "uint256"
179
- }
180
- ],
181
- "name": "tokenOfOwnerByIndex",
182
- "outputs": [
183
- {
184
- "name": "",
185
- "type": "uint256"
186
- }
187
- ],
188
- "payable": false,
189
- "stateMutability": "view",
190
- "type": "function"
191
- },
192
- {
193
- "constant": false,
194
- "inputs": [
195
- {
196
- "name": "_from",
197
- "type": "address"
198
- },
199
- {
200
- "name": "_to",
201
- "type": "address"
202
- },
203
- {
204
- "name": "_tokenId",
205
- "type": "uint256"
206
- }
207
- ],
208
- "name": "safeTransferFrom",
209
- "outputs": [],
210
- "payable": false,
211
- "stateMutability": "nonpayable",
212
- "type": "function"
213
- },
214
- {
215
- "constant": true,
216
- "inputs": [
217
- {
218
- "name": "_tokenId",
219
- "type": "uint256"
220
- }
221
- ],
222
- "name": "exists",
223
- "outputs": [
224
- {
225
- "name": "",
226
- "type": "bool"
227
- }
228
- ],
229
- "payable": false,
230
- "stateMutability": "view",
231
- "type": "function"
232
- },
233
- {
234
- "constant": true,
235
- "inputs": [
236
- {
237
- "name": "_index",
238
- "type": "uint256"
239
- }
240
- ],
241
- "name": "tokenByIndex",
242
- "outputs": [
243
- {
244
- "name": "",
245
- "type": "uint256"
246
- }
247
- ],
248
- "payable": false,
249
- "stateMutability": "view",
250
- "type": "function"
251
- },
252
- {
253
- "constant": true,
254
- "inputs": [
255
- {
256
- "name": "_tokenId",
257
- "type": "uint256"
258
- }
259
- ],
260
- "name": "ownerOf",
261
- "outputs": [
262
- {
263
- "name": "",
264
- "type": "address"
265
- }
266
- ],
267
- "payable": false,
268
- "stateMutability": "view",
269
- "type": "function"
270
- },
271
- {
272
- "constant": true,
273
- "inputs": [
274
- {
275
- "name": "_owner",
276
- "type": "address"
277
- }
278
- ],
279
- "name": "balanceOf",
280
- "outputs": [
281
- {
282
- "name": "",
283
- "type": "uint256"
284
- }
285
- ],
286
- "payable": false,
287
- "stateMutability": "view",
288
- "type": "function"
289
- },
290
- {
291
- "constant": true,
292
- "inputs": [],
293
- "name": "symbol",
294
- "outputs": [
295
- {
296
- "name": "",
297
- "type": "string"
298
- }
299
- ],
300
- "payable": false,
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "constant": false,
306
- "inputs": [
307
- {
308
- "name": "_to",
309
- "type": "address"
310
- },
311
- {
312
- "name": "_approved",
313
- "type": "bool"
314
- }
315
- ],
316
- "name": "setApprovalForAll",
317
- "outputs": [],
318
- "payable": false,
319
- "stateMutability": "nonpayable",
320
- "type": "function"
321
- },
322
- {
323
- "constant": true,
324
- "inputs": [
325
- {
326
- "name": "_tokenId",
327
- "type": "uint256"
328
- }
329
- ],
330
- "name": "tokenURI",
331
- "outputs": [
332
- {
333
- "name": "",
334
- "type": "string"
335
- }
336
- ],
337
- "payable": false,
338
- "stateMutability": "view",
339
- "type": "function"
340
- },
341
- {
342
- "constant": true,
343
- "inputs": [
344
- {
345
- "name": "_owner",
346
- "type": "address"
347
- },
348
- {
349
- "name": "_operator",
350
- "type": "address"
351
- }
352
- ],
353
- "name": "isApprovedForAll",
354
- "outputs": [
355
- {
356
- "name": "",
357
- "type": "bool"
358
- }
359
- ],
360
- "payable": false,
361
- "stateMutability": "view",
362
- "type": "function"
363
- },
364
- {
365
- "inputs": [
366
- {
367
- "name": "_name",
368
- "type": "string"
369
- },
370
- {
371
- "name": "_symbol",
372
- "type": "string"
373
- }
374
- ],
375
- "payable": false,
376
- "stateMutability": "nonpayable",
377
- "type": "constructor"
378
- },
379
- {
380
- "anonymous": false,
381
- "inputs": [
382
- {
383
- "indexed": true,
384
- "name": "_from",
385
- "type": "address"
386
- },
387
- {
388
- "indexed": true,
389
- "name": "_to",
390
- "type": "address"
391
- },
392
- {
393
- "indexed": false,
394
- "name": "_tokenId",
395
- "type": "uint256"
396
- }
397
- ],
398
- "name": "Transfer",
399
- "type": "event"
400
- },
401
- {
402
- "anonymous": false,
403
- "inputs": [
404
- {
405
- "indexed": true,
406
- "name": "_owner",
407
- "type": "address"
408
- },
409
- {
410
- "indexed": true,
411
- "name": "_approved",
412
- "type": "address"
413
- },
414
- {
415
- "indexed": false,
416
- "name": "_tokenId",
417
- "type": "uint256"
418
- }
419
- ],
420
- "name": "Approval",
421
- "type": "event"
422
- },
423
- {
424
- "anonymous": false,
425
- "inputs": [
426
- {
427
- "indexed": true,
428
- "name": "_owner",
429
- "type": "address"
430
- },
431
- {
432
- "indexed": true,
433
- "name": "_operator",
434
- "type": "address"
435
- },
436
- {
437
- "indexed": false,
438
- "name": "_approved",
439
- "type": "bool"
440
- }
441
- ],
442
- "name": "ApprovalForAll",
443
- "type": "event"
444
- }
445
- ]
446
- }