@typemove/aptos 1.14.0-rc.1 → 2.0.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 (95) hide show
  1. package/package.json +3 -3
  2. package/dist/esm/account-resource-client.d.ts +0 -28
  3. package/dist/esm/account-resource-client.d.ts.map +0 -1
  4. package/dist/esm/account-resource-client.js +0 -47
  5. package/dist/esm/account-resource-client.js.map +0 -1
  6. package/dist/esm/account-resource-client.test.d.ts +0 -2
  7. package/dist/esm/account-resource-client.test.d.ts.map +0 -1
  8. package/dist/esm/account-resource-client.test.js.map +0 -1
  9. package/dist/esm/aptos-chain-adapter.d.ts +0 -16
  10. package/dist/esm/aptos-chain-adapter.d.ts.map +0 -1
  11. package/dist/esm/aptos-chain-adapter.js +0 -104
  12. package/dist/esm/aptos-chain-adapter.js.map +0 -1
  13. package/dist/esm/builtin/0x1.d.ts +0 -7522
  14. package/dist/esm/builtin/0x1.d.ts.map +0 -1
  15. package/dist/esm/builtin/0x1.js +0 -11632
  16. package/dist/esm/builtin/0x1.js.map +0 -1
  17. package/dist/esm/builtin/0x3.d.ts +0 -1087
  18. package/dist/esm/builtin/0x3.d.ts.map +0 -1
  19. package/dist/esm/builtin/0x3.js +0 -926
  20. package/dist/esm/builtin/0x3.js.map +0 -1
  21. package/dist/esm/builtin/0x4.d.ts +0 -535
  22. package/dist/esm/builtin/0x4.d.ts.map +0 -1
  23. package/dist/esm/builtin/0x4.js +0 -884
  24. package/dist/esm/builtin/0x4.js.map +0 -1
  25. package/dist/esm/builtin/index.d.ts +0 -4
  26. package/dist/esm/builtin/index.d.ts.map +0 -1
  27. package/dist/esm/builtin/index.js +0 -7
  28. package/dist/esm/builtin/index.js.map +0 -1
  29. package/dist/esm/client.test.d.ts +0 -2
  30. package/dist/esm/client.test.d.ts.map +0 -1
  31. package/dist/esm/client.test.js.map +0 -1
  32. package/dist/esm/codegen/codegen.d.ts +0 -18
  33. package/dist/esm/codegen/codegen.d.ts.map +0 -1
  34. package/dist/esm/codegen/codegen.js +0 -161
  35. package/dist/esm/codegen/codegen.js.map +0 -1
  36. package/dist/esm/codegen/index.d.ts +0 -2
  37. package/dist/esm/codegen/index.d.ts.map +0 -1
  38. package/dist/esm/codegen/index.js +0 -2
  39. package/dist/esm/codegen/index.js.map +0 -1
  40. package/dist/esm/codegen/run.d.ts +0 -3
  41. package/dist/esm/codegen/run.d.ts.map +0 -1
  42. package/dist/esm/codegen/run.js.map +0 -1
  43. package/dist/esm/codegen/types.test.d.ts +0 -2
  44. package/dist/esm/codegen/types.test.d.ts.map +0 -1
  45. package/dist/esm/codegen/types.test.js.map +0 -1
  46. package/dist/esm/coder-helpers.d.ts +0 -6
  47. package/dist/esm/coder-helpers.d.ts.map +0 -1
  48. package/dist/esm/coder-helpers.js +0 -8
  49. package/dist/esm/coder-helpers.js.map +0 -1
  50. package/dist/esm/index.d.ts +0 -5
  51. package/dist/esm/index.d.ts.map +0 -1
  52. package/dist/esm/index.js +0 -5
  53. package/dist/esm/index.js.map +0 -1
  54. package/dist/esm/models.d.ts +0 -12
  55. package/dist/esm/models.d.ts.map +0 -1
  56. package/dist/esm/models.js +0 -2
  57. package/dist/esm/models.js.map +0 -1
  58. package/dist/esm/move-coder.d.ts +0 -17
  59. package/dist/esm/move-coder.d.ts.map +0 -1
  60. package/dist/esm/move-coder.js +0 -97
  61. package/dist/esm/move-coder.js.map +0 -1
  62. package/dist/esm/to-internal.d.ts +0 -7
  63. package/dist/esm/to-internal.d.ts.map +0 -1
  64. package/dist/esm/to-internal.js +0 -55
  65. package/dist/esm/to-internal.js.map +0 -1
  66. package/src/abis/0x1.json +0 -43414
  67. package/src/abis/0x3.json +0 -3976
  68. package/src/abis/0x4.json +0 -2844
  69. package/src/account-resource-client.ts +0 -69
  70. package/src/aptos-chain-adapter.ts +0 -132
  71. package/src/builtin/0x1.ts +0 -19976
  72. package/src/builtin/0x3.ts +0 -2083
  73. package/src/builtin/0x4.ts +0 -1503
  74. package/src/builtin/index.ts +0 -6
  75. package/src/codegen/codegen.ts +0 -190
  76. package/src/codegen/index.ts +0 -1
  77. package/src/codegen/run.ts +0 -67
  78. package/src/coder-helpers.ts +0 -15
  79. package/src/index.ts +0 -4
  80. package/src/models.ts +0 -23
  81. package/src/move-coder.ts +0 -124
  82. package/src/tests/abis/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.json +0 -3265
  83. package/src/tests/abis/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.json +0 -637
  84. package/src/tests/abis/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.json +0 -1099
  85. package/src/tests/abis/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.json +0 -409
  86. package/src/tests/abis/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.json +0 -219
  87. package/src/tests/abis/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.json +0 -3717
  88. package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +0 -2805
  89. package/src/tests/types/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.ts +0 -89
  90. package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +0 -1649
  91. package/src/tests/types/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.ts +0 -744
  92. package/src/tests/types/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.ts +0 -126
  93. package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +0 -2165
  94. package/src/tests/types/index.ts +0 -9
  95. package/src/to-internal.ts +0 -71
package/src/abis/0x3.json DELETED
@@ -1,3976 +0,0 @@
1
- [
2
- {
3
- "abi": {
4
- "address": "0x3",
5
- "name": "token",
6
- "friends": [],
7
- "exposed_functions": [
8
- {
9
- "name": "merge",
10
- "visibility": "public",
11
- "is_entry": false,
12
- "is_view": false,
13
- "generic_type_params": [],
14
- "params": [
15
- "&mut 0x3::token::Token",
16
- "0x3::token::Token"
17
- ],
18
- "return": []
19
- },
20
- {
21
- "name": "burn",
22
- "visibility": "public",
23
- "is_entry": true,
24
- "is_view": false,
25
- "generic_type_params": [],
26
- "params": [
27
- "&signer",
28
- "address",
29
- "0x1::string::String",
30
- "0x1::string::String",
31
- "u64",
32
- "u64"
33
- ],
34
- "return": []
35
- },
36
- {
37
- "name": "transfer",
38
- "visibility": "public",
39
- "is_entry": false,
40
- "is_view": false,
41
- "generic_type_params": [],
42
- "params": [
43
- "&signer",
44
- "0x3::token::TokenId",
45
- "address",
46
- "u64"
47
- ],
48
- "return": []
49
- },
50
- {
51
- "name": "balance_of",
52
- "visibility": "public",
53
- "is_entry": false,
54
- "is_view": false,
55
- "generic_type_params": [],
56
- "params": [
57
- "address",
58
- "0x3::token::TokenId"
59
- ],
60
- "return": [
61
- "u64"
62
- ]
63
- },
64
- {
65
- "name": "burn_by_creator",
66
- "visibility": "public",
67
- "is_entry": true,
68
- "is_view": false,
69
- "generic_type_params": [],
70
- "params": [
71
- "&signer",
72
- "address",
73
- "0x1::string::String",
74
- "0x1::string::String",
75
- "u64",
76
- "u64"
77
- ],
78
- "return": []
79
- },
80
- {
81
- "name": "check_collection_exists",
82
- "visibility": "public",
83
- "is_entry": false,
84
- "is_view": false,
85
- "generic_type_params": [],
86
- "params": [
87
- "address",
88
- "0x1::string::String"
89
- ],
90
- "return": [
91
- "bool"
92
- ]
93
- },
94
- {
95
- "name": "check_tokendata_exists",
96
- "visibility": "public",
97
- "is_entry": false,
98
- "is_view": false,
99
- "generic_type_params": [],
100
- "params": [
101
- "address",
102
- "0x1::string::String",
103
- "0x1::string::String"
104
- ],
105
- "return": [
106
- "bool"
107
- ]
108
- },
109
- {
110
- "name": "create_collection",
111
- "visibility": "public",
112
- "is_entry": false,
113
- "is_view": false,
114
- "generic_type_params": [],
115
- "params": [
116
- "&signer",
117
- "0x1::string::String",
118
- "0x1::string::String",
119
- "0x1::string::String",
120
- "u64",
121
- "vector<bool>"
122
- ],
123
- "return": []
124
- },
125
- {
126
- "name": "create_collection_mutability_config",
127
- "visibility": "public",
128
- "is_entry": false,
129
- "is_view": false,
130
- "generic_type_params": [],
131
- "params": [
132
- "&vector<bool>"
133
- ],
134
- "return": [
135
- "0x3::token::CollectionMutabilityConfig"
136
- ]
137
- },
138
- {
139
- "name": "create_collection_script",
140
- "visibility": "public",
141
- "is_entry": true,
142
- "is_view": false,
143
- "generic_type_params": [],
144
- "params": [
145
- "&signer",
146
- "0x1::string::String",
147
- "0x1::string::String",
148
- "0x1::string::String",
149
- "u64",
150
- "vector<bool>"
151
- ],
152
- "return": []
153
- },
154
- {
155
- "name": "create_royalty",
156
- "visibility": "public",
157
- "is_entry": false,
158
- "is_view": false,
159
- "generic_type_params": [],
160
- "params": [
161
- "u64",
162
- "u64",
163
- "address"
164
- ],
165
- "return": [
166
- "0x3::token::Royalty"
167
- ]
168
- },
169
- {
170
- "name": "create_token_data_id",
171
- "visibility": "public",
172
- "is_entry": false,
173
- "is_view": false,
174
- "generic_type_params": [],
175
- "params": [
176
- "address",
177
- "0x1::string::String",
178
- "0x1::string::String"
179
- ],
180
- "return": [
181
- "0x3::token::TokenDataId"
182
- ]
183
- },
184
- {
185
- "name": "create_token_id",
186
- "visibility": "public",
187
- "is_entry": false,
188
- "is_view": false,
189
- "generic_type_params": [],
190
- "params": [
191
- "0x3::token::TokenDataId",
192
- "u64"
193
- ],
194
- "return": [
195
- "0x3::token::TokenId"
196
- ]
197
- },
198
- {
199
- "name": "create_token_id_raw",
200
- "visibility": "public",
201
- "is_entry": false,
202
- "is_view": false,
203
- "generic_type_params": [],
204
- "params": [
205
- "address",
206
- "0x1::string::String",
207
- "0x1::string::String",
208
- "u64"
209
- ],
210
- "return": [
211
- "0x3::token::TokenId"
212
- ]
213
- },
214
- {
215
- "name": "create_token_mutability_config",
216
- "visibility": "public",
217
- "is_entry": false,
218
- "is_view": false,
219
- "generic_type_params": [],
220
- "params": [
221
- "&vector<bool>"
222
- ],
223
- "return": [
224
- "0x3::token::TokenMutabilityConfig"
225
- ]
226
- },
227
- {
228
- "name": "create_token_script",
229
- "visibility": "public",
230
- "is_entry": true,
231
- "is_view": false,
232
- "generic_type_params": [],
233
- "params": [
234
- "&signer",
235
- "0x1::string::String",
236
- "0x1::string::String",
237
- "0x1::string::String",
238
- "u64",
239
- "u64",
240
- "0x1::string::String",
241
- "address",
242
- "u64",
243
- "u64",
244
- "vector<bool>",
245
- "vector<0x1::string::String>",
246
- "vector<vector<u8>>",
247
- "vector<0x1::string::String>"
248
- ],
249
- "return": []
250
- },
251
- {
252
- "name": "create_tokendata",
253
- "visibility": "public",
254
- "is_entry": false,
255
- "is_view": false,
256
- "generic_type_params": [],
257
- "params": [
258
- "&signer",
259
- "0x1::string::String",
260
- "0x1::string::String",
261
- "0x1::string::String",
262
- "u64",
263
- "0x1::string::String",
264
- "address",
265
- "u64",
266
- "u64",
267
- "0x3::token::TokenMutabilityConfig",
268
- "vector<0x1::string::String>",
269
- "vector<vector<u8>>",
270
- "vector<0x1::string::String>"
271
- ],
272
- "return": [
273
- "0x3::token::TokenDataId"
274
- ]
275
- },
276
- {
277
- "name": "create_withdraw_capability",
278
- "visibility": "public",
279
- "is_entry": false,
280
- "is_view": false,
281
- "generic_type_params": [],
282
- "params": [
283
- "&signer",
284
- "0x3::token::TokenId",
285
- "u64",
286
- "u64"
287
- ],
288
- "return": [
289
- "0x3::token::WithdrawCapability"
290
- ]
291
- },
292
- {
293
- "name": "token_id",
294
- "visibility": "public",
295
- "is_entry": false,
296
- "is_view": false,
297
- "generic_type_params": [],
298
- "params": [
299
- "&0x3::token::Token"
300
- ],
301
- "return": [
302
- "&0x3::token::TokenId"
303
- ]
304
- },
305
- {
306
- "name": "deposit_token",
307
- "visibility": "public",
308
- "is_entry": false,
309
- "is_view": false,
310
- "generic_type_params": [],
311
- "params": [
312
- "&signer",
313
- "0x3::token::Token"
314
- ],
315
- "return": []
316
- },
317
- {
318
- "name": "direct_deposit_with_opt_in",
319
- "visibility": "public",
320
- "is_entry": false,
321
- "is_view": false,
322
- "generic_type_params": [],
323
- "params": [
324
- "address",
325
- "0x3::token::Token"
326
- ],
327
- "return": []
328
- },
329
- {
330
- "name": "direct_transfer",
331
- "visibility": "public",
332
- "is_entry": false,
333
- "is_view": false,
334
- "generic_type_params": [],
335
- "params": [
336
- "&signer",
337
- "&signer",
338
- "0x3::token::TokenId",
339
- "u64"
340
- ],
341
- "return": []
342
- },
343
- {
344
- "name": "direct_transfer_script",
345
- "visibility": "public",
346
- "is_entry": true,
347
- "is_view": false,
348
- "generic_type_params": [],
349
- "params": [
350
- "&signer",
351
- "&signer",
352
- "address",
353
- "0x1::string::String",
354
- "0x1::string::String",
355
- "u64",
356
- "u64"
357
- ],
358
- "return": []
359
- },
360
- {
361
- "name": "get_collection_description",
362
- "visibility": "public",
363
- "is_entry": false,
364
- "is_view": false,
365
- "generic_type_params": [],
366
- "params": [
367
- "address",
368
- "0x1::string::String"
369
- ],
370
- "return": [
371
- "0x1::string::String"
372
- ]
373
- },
374
- {
375
- "name": "get_collection_maximum",
376
- "visibility": "public",
377
- "is_entry": false,
378
- "is_view": false,
379
- "generic_type_params": [],
380
- "params": [
381
- "address",
382
- "0x1::string::String"
383
- ],
384
- "return": [
385
- "u64"
386
- ]
387
- },
388
- {
389
- "name": "get_collection_mutability_config",
390
- "visibility": "public",
391
- "is_entry": false,
392
- "is_view": true,
393
- "generic_type_params": [],
394
- "params": [
395
- "address",
396
- "0x1::string::String"
397
- ],
398
- "return": [
399
- "0x3::token::CollectionMutabilityConfig"
400
- ]
401
- },
402
- {
403
- "name": "get_collection_mutability_description",
404
- "visibility": "public",
405
- "is_entry": false,
406
- "is_view": false,
407
- "generic_type_params": [],
408
- "params": [
409
- "&0x3::token::CollectionMutabilityConfig"
410
- ],
411
- "return": [
412
- "bool"
413
- ]
414
- },
415
- {
416
- "name": "get_collection_mutability_maximum",
417
- "visibility": "public",
418
- "is_entry": false,
419
- "is_view": false,
420
- "generic_type_params": [],
421
- "params": [
422
- "&0x3::token::CollectionMutabilityConfig"
423
- ],
424
- "return": [
425
- "bool"
426
- ]
427
- },
428
- {
429
- "name": "get_collection_mutability_uri",
430
- "visibility": "public",
431
- "is_entry": false,
432
- "is_view": false,
433
- "generic_type_params": [],
434
- "params": [
435
- "&0x3::token::CollectionMutabilityConfig"
436
- ],
437
- "return": [
438
- "bool"
439
- ]
440
- },
441
- {
442
- "name": "get_collection_supply",
443
- "visibility": "public",
444
- "is_entry": false,
445
- "is_view": false,
446
- "generic_type_params": [],
447
- "params": [
448
- "address",
449
- "0x1::string::String"
450
- ],
451
- "return": [
452
- "0x1::option::Option<u64>"
453
- ]
454
- },
455
- {
456
- "name": "get_collection_uri",
457
- "visibility": "public",
458
- "is_entry": false,
459
- "is_view": false,
460
- "generic_type_params": [],
461
- "params": [
462
- "address",
463
- "0x1::string::String"
464
- ],
465
- "return": [
466
- "0x1::string::String"
467
- ]
468
- },
469
- {
470
- "name": "get_direct_transfer",
471
- "visibility": "public",
472
- "is_entry": false,
473
- "is_view": false,
474
- "generic_type_params": [],
475
- "params": [
476
- "address"
477
- ],
478
- "return": [
479
- "bool"
480
- ]
481
- },
482
- {
483
- "name": "get_property_map",
484
- "visibility": "public",
485
- "is_entry": false,
486
- "is_view": false,
487
- "generic_type_params": [],
488
- "params": [
489
- "address",
490
- "0x3::token::TokenId"
491
- ],
492
- "return": [
493
- "0x3::property_map::PropertyMap"
494
- ]
495
- },
496
- {
497
- "name": "get_royalty",
498
- "visibility": "public",
499
- "is_entry": false,
500
- "is_view": false,
501
- "generic_type_params": [],
502
- "params": [
503
- "0x3::token::TokenId"
504
- ],
505
- "return": [
506
- "0x3::token::Royalty"
507
- ]
508
- },
509
- {
510
- "name": "get_royalty_denominator",
511
- "visibility": "public",
512
- "is_entry": false,
513
- "is_view": false,
514
- "generic_type_params": [],
515
- "params": [
516
- "&0x3::token::Royalty"
517
- ],
518
- "return": [
519
- "u64"
520
- ]
521
- },
522
- {
523
- "name": "get_royalty_numerator",
524
- "visibility": "public",
525
- "is_entry": false,
526
- "is_view": false,
527
- "generic_type_params": [],
528
- "params": [
529
- "&0x3::token::Royalty"
530
- ],
531
- "return": [
532
- "u64"
533
- ]
534
- },
535
- {
536
- "name": "get_royalty_payee",
537
- "visibility": "public",
538
- "is_entry": false,
539
- "is_view": false,
540
- "generic_type_params": [],
541
- "params": [
542
- "&0x3::token::Royalty"
543
- ],
544
- "return": [
545
- "address"
546
- ]
547
- },
548
- {
549
- "name": "get_token_amount",
550
- "visibility": "public",
551
- "is_entry": false,
552
- "is_view": false,
553
- "generic_type_params": [],
554
- "params": [
555
- "&0x3::token::Token"
556
- ],
557
- "return": [
558
- "u64"
559
- ]
560
- },
561
- {
562
- "name": "get_token_data_id_fields",
563
- "visibility": "public",
564
- "is_entry": false,
565
- "is_view": false,
566
- "generic_type_params": [],
567
- "params": [
568
- "&0x3::token::TokenDataId"
569
- ],
570
- "return": [
571
- "address",
572
- "0x1::string::String",
573
- "0x1::string::String"
574
- ]
575
- },
576
- {
577
- "name": "get_token_id",
578
- "visibility": "public",
579
- "is_entry": false,
580
- "is_view": false,
581
- "generic_type_params": [],
582
- "params": [
583
- "&0x3::token::Token"
584
- ],
585
- "return": [
586
- "0x3::token::TokenId"
587
- ]
588
- },
589
- {
590
- "name": "get_token_id_fields",
591
- "visibility": "public",
592
- "is_entry": false,
593
- "is_view": false,
594
- "generic_type_params": [],
595
- "params": [
596
- "&0x3::token::TokenId"
597
- ],
598
- "return": [
599
- "address",
600
- "0x1::string::String",
601
- "0x1::string::String",
602
- "u64"
603
- ]
604
- },
605
- {
606
- "name": "get_token_mutability_default_properties",
607
- "visibility": "public",
608
- "is_entry": false,
609
- "is_view": false,
610
- "generic_type_params": [],
611
- "params": [
612
- "&0x3::token::TokenMutabilityConfig"
613
- ],
614
- "return": [
615
- "bool"
616
- ]
617
- },
618
- {
619
- "name": "get_token_mutability_description",
620
- "visibility": "public",
621
- "is_entry": false,
622
- "is_view": false,
623
- "generic_type_params": [],
624
- "params": [
625
- "&0x3::token::TokenMutabilityConfig"
626
- ],
627
- "return": [
628
- "bool"
629
- ]
630
- },
631
- {
632
- "name": "get_token_mutability_maximum",
633
- "visibility": "public",
634
- "is_entry": false,
635
- "is_view": false,
636
- "generic_type_params": [],
637
- "params": [
638
- "&0x3::token::TokenMutabilityConfig"
639
- ],
640
- "return": [
641
- "bool"
642
- ]
643
- },
644
- {
645
- "name": "get_token_mutability_royalty",
646
- "visibility": "public",
647
- "is_entry": false,
648
- "is_view": false,
649
- "generic_type_params": [],
650
- "params": [
651
- "&0x3::token::TokenMutabilityConfig"
652
- ],
653
- "return": [
654
- "bool"
655
- ]
656
- },
657
- {
658
- "name": "get_token_mutability_uri",
659
- "visibility": "public",
660
- "is_entry": false,
661
- "is_view": false,
662
- "generic_type_params": [],
663
- "params": [
664
- "&0x3::token::TokenMutabilityConfig"
665
- ],
666
- "return": [
667
- "bool"
668
- ]
669
- },
670
- {
671
- "name": "get_token_supply",
672
- "visibility": "public",
673
- "is_entry": false,
674
- "is_view": false,
675
- "generic_type_params": [],
676
- "params": [
677
- "address",
678
- "0x3::token::TokenDataId"
679
- ],
680
- "return": [
681
- "0x1::option::Option<u64>"
682
- ]
683
- },
684
- {
685
- "name": "get_tokendata_description",
686
- "visibility": "public",
687
- "is_entry": false,
688
- "is_view": false,
689
- "generic_type_params": [],
690
- "params": [
691
- "0x3::token::TokenDataId"
692
- ],
693
- "return": [
694
- "0x1::string::String"
695
- ]
696
- },
697
- {
698
- "name": "get_tokendata_id",
699
- "visibility": "public",
700
- "is_entry": false,
701
- "is_view": false,
702
- "generic_type_params": [],
703
- "params": [
704
- "0x3::token::TokenId"
705
- ],
706
- "return": [
707
- "0x3::token::TokenDataId"
708
- ]
709
- },
710
- {
711
- "name": "get_tokendata_largest_property_version",
712
- "visibility": "public",
713
- "is_entry": false,
714
- "is_view": false,
715
- "generic_type_params": [],
716
- "params": [
717
- "address",
718
- "0x3::token::TokenDataId"
719
- ],
720
- "return": [
721
- "u64"
722
- ]
723
- },
724
- {
725
- "name": "get_tokendata_maximum",
726
- "visibility": "public",
727
- "is_entry": false,
728
- "is_view": false,
729
- "generic_type_params": [],
730
- "params": [
731
- "0x3::token::TokenDataId"
732
- ],
733
- "return": [
734
- "u64"
735
- ]
736
- },
737
- {
738
- "name": "get_tokendata_mutability_config",
739
- "visibility": "public",
740
- "is_entry": false,
741
- "is_view": false,
742
- "generic_type_params": [],
743
- "params": [
744
- "0x3::token::TokenDataId"
745
- ],
746
- "return": [
747
- "0x3::token::TokenMutabilityConfig"
748
- ]
749
- },
750
- {
751
- "name": "get_tokendata_royalty",
752
- "visibility": "public",
753
- "is_entry": false,
754
- "is_view": false,
755
- "generic_type_params": [],
756
- "params": [
757
- "0x3::token::TokenDataId"
758
- ],
759
- "return": [
760
- "0x3::token::Royalty"
761
- ]
762
- },
763
- {
764
- "name": "get_tokendata_uri",
765
- "visibility": "public",
766
- "is_entry": false,
767
- "is_view": false,
768
- "generic_type_params": [],
769
- "params": [
770
- "address",
771
- "0x3::token::TokenDataId"
772
- ],
773
- "return": [
774
- "0x1::string::String"
775
- ]
776
- },
777
- {
778
- "name": "has_token_store",
779
- "visibility": "public",
780
- "is_entry": false,
781
- "is_view": false,
782
- "generic_type_params": [],
783
- "params": [
784
- "address"
785
- ],
786
- "return": [
787
- "bool"
788
- ]
789
- },
790
- {
791
- "name": "initialize_token",
792
- "visibility": "public",
793
- "is_entry": false,
794
- "is_view": false,
795
- "generic_type_params": [],
796
- "params": [
797
- "&signer",
798
- "0x3::token::TokenId"
799
- ],
800
- "return": []
801
- },
802
- {
803
- "name": "initialize_token_script",
804
- "visibility": "public",
805
- "is_entry": true,
806
- "is_view": false,
807
- "generic_type_params": [],
808
- "params": [
809
- "&signer"
810
- ],
811
- "return": []
812
- },
813
- {
814
- "name": "initialize_token_store",
815
- "visibility": "public",
816
- "is_entry": false,
817
- "is_view": false,
818
- "generic_type_params": [],
819
- "params": [
820
- "&signer"
821
- ],
822
- "return": []
823
- },
824
- {
825
- "name": "mint_script",
826
- "visibility": "public",
827
- "is_entry": true,
828
- "is_view": false,
829
- "generic_type_params": [],
830
- "params": [
831
- "&signer",
832
- "address",
833
- "0x1::string::String",
834
- "0x1::string::String",
835
- "u64"
836
- ],
837
- "return": []
838
- },
839
- {
840
- "name": "mint_token",
841
- "visibility": "public",
842
- "is_entry": false,
843
- "is_view": false,
844
- "generic_type_params": [],
845
- "params": [
846
- "&signer",
847
- "0x3::token::TokenDataId",
848
- "u64"
849
- ],
850
- "return": [
851
- "0x3::token::TokenId"
852
- ]
853
- },
854
- {
855
- "name": "mint_token_to",
856
- "visibility": "public",
857
- "is_entry": false,
858
- "is_view": false,
859
- "generic_type_params": [],
860
- "params": [
861
- "&signer",
862
- "address",
863
- "0x3::token::TokenDataId",
864
- "u64"
865
- ],
866
- "return": []
867
- },
868
- {
869
- "name": "mutate_collection_description",
870
- "visibility": "public",
871
- "is_entry": false,
872
- "is_view": false,
873
- "generic_type_params": [],
874
- "params": [
875
- "&signer",
876
- "0x1::string::String",
877
- "0x1::string::String"
878
- ],
879
- "return": []
880
- },
881
- {
882
- "name": "mutate_collection_maximum",
883
- "visibility": "public",
884
- "is_entry": false,
885
- "is_view": false,
886
- "generic_type_params": [],
887
- "params": [
888
- "&signer",
889
- "0x1::string::String",
890
- "u64"
891
- ],
892
- "return": []
893
- },
894
- {
895
- "name": "mutate_collection_uri",
896
- "visibility": "public",
897
- "is_entry": false,
898
- "is_view": false,
899
- "generic_type_params": [],
900
- "params": [
901
- "&signer",
902
- "0x1::string::String",
903
- "0x1::string::String"
904
- ],
905
- "return": []
906
- },
907
- {
908
- "name": "mutate_one_token",
909
- "visibility": "public",
910
- "is_entry": false,
911
- "is_view": false,
912
- "generic_type_params": [],
913
- "params": [
914
- "&signer",
915
- "address",
916
- "0x3::token::TokenId",
917
- "vector<0x1::string::String>",
918
- "vector<vector<u8>>",
919
- "vector<0x1::string::String>"
920
- ],
921
- "return": [
922
- "0x3::token::TokenId"
923
- ]
924
- },
925
- {
926
- "name": "mutate_token_properties",
927
- "visibility": "public",
928
- "is_entry": true,
929
- "is_view": false,
930
- "generic_type_params": [],
931
- "params": [
932
- "&signer",
933
- "address",
934
- "address",
935
- "0x1::string::String",
936
- "0x1::string::String",
937
- "u64",
938
- "u64",
939
- "vector<0x1::string::String>",
940
- "vector<vector<u8>>",
941
- "vector<0x1::string::String>"
942
- ],
943
- "return": []
944
- },
945
- {
946
- "name": "mutate_tokendata_description",
947
- "visibility": "public",
948
- "is_entry": false,
949
- "is_view": false,
950
- "generic_type_params": [],
951
- "params": [
952
- "&signer",
953
- "0x3::token::TokenDataId",
954
- "0x1::string::String"
955
- ],
956
- "return": []
957
- },
958
- {
959
- "name": "mutate_tokendata_maximum",
960
- "visibility": "public",
961
- "is_entry": false,
962
- "is_view": false,
963
- "generic_type_params": [],
964
- "params": [
965
- "&signer",
966
- "0x3::token::TokenDataId",
967
- "u64"
968
- ],
969
- "return": []
970
- },
971
- {
972
- "name": "mutate_tokendata_property",
973
- "visibility": "public",
974
- "is_entry": false,
975
- "is_view": false,
976
- "generic_type_params": [],
977
- "params": [
978
- "&signer",
979
- "0x3::token::TokenDataId",
980
- "vector<0x1::string::String>",
981
- "vector<vector<u8>>",
982
- "vector<0x1::string::String>"
983
- ],
984
- "return": []
985
- },
986
- {
987
- "name": "mutate_tokendata_royalty",
988
- "visibility": "public",
989
- "is_entry": false,
990
- "is_view": false,
991
- "generic_type_params": [],
992
- "params": [
993
- "&signer",
994
- "0x3::token::TokenDataId",
995
- "0x3::token::Royalty"
996
- ],
997
- "return": []
998
- },
999
- {
1000
- "name": "mutate_tokendata_uri",
1001
- "visibility": "public",
1002
- "is_entry": false,
1003
- "is_view": false,
1004
- "generic_type_params": [],
1005
- "params": [
1006
- "&signer",
1007
- "0x3::token::TokenDataId",
1008
- "0x1::string::String"
1009
- ],
1010
- "return": []
1011
- },
1012
- {
1013
- "name": "opt_in_direct_transfer",
1014
- "visibility": "public",
1015
- "is_entry": true,
1016
- "is_view": false,
1017
- "generic_type_params": [],
1018
- "params": [
1019
- "&signer",
1020
- "bool"
1021
- ],
1022
- "return": []
1023
- },
1024
- {
1025
- "name": "partial_withdraw_with_capability",
1026
- "visibility": "public",
1027
- "is_entry": false,
1028
- "is_view": false,
1029
- "generic_type_params": [],
1030
- "params": [
1031
- "0x3::token::WithdrawCapability",
1032
- "u64"
1033
- ],
1034
- "return": [
1035
- "0x3::token::Token",
1036
- "0x1::option::Option<0x3::token::WithdrawCapability>"
1037
- ]
1038
- },
1039
- {
1040
- "name": "split",
1041
- "visibility": "public",
1042
- "is_entry": false,
1043
- "is_view": false,
1044
- "generic_type_params": [],
1045
- "params": [
1046
- "&mut 0x3::token::Token",
1047
- "u64"
1048
- ],
1049
- "return": [
1050
- "0x3::token::Token"
1051
- ]
1052
- },
1053
- {
1054
- "name": "transfer_with_opt_in",
1055
- "visibility": "public",
1056
- "is_entry": true,
1057
- "is_view": false,
1058
- "generic_type_params": [],
1059
- "params": [
1060
- "&signer",
1061
- "address",
1062
- "0x1::string::String",
1063
- "0x1::string::String",
1064
- "u64",
1065
- "address",
1066
- "u64"
1067
- ],
1068
- "return": []
1069
- },
1070
- {
1071
- "name": "withdraw_token",
1072
- "visibility": "public",
1073
- "is_entry": false,
1074
- "is_view": false,
1075
- "generic_type_params": [],
1076
- "params": [
1077
- "&signer",
1078
- "0x3::token::TokenId",
1079
- "u64"
1080
- ],
1081
- "return": [
1082
- "0x3::token::Token"
1083
- ]
1084
- },
1085
- {
1086
- "name": "withdraw_with_capability",
1087
- "visibility": "public",
1088
- "is_entry": false,
1089
- "is_view": false,
1090
- "generic_type_params": [],
1091
- "params": [
1092
- "0x3::token::WithdrawCapability"
1093
- ],
1094
- "return": [
1095
- "0x3::token::Token"
1096
- ]
1097
- }
1098
- ],
1099
- "structs": [
1100
- {
1101
- "name": "Deposit",
1102
- "is_native": false,
1103
- "is_event": true,
1104
- "is_enum": false,
1105
- "abilities": [
1106
- "drop",
1107
- "store"
1108
- ],
1109
- "generic_type_params": [],
1110
- "fields": [
1111
- {
1112
- "name": "id",
1113
- "type": "0x3::token::TokenId"
1114
- },
1115
- {
1116
- "name": "amount",
1117
- "type": "u64"
1118
- }
1119
- ],
1120
- "variants": []
1121
- },
1122
- {
1123
- "name": "DepositEvent",
1124
- "is_native": false,
1125
- "is_event": false,
1126
- "is_enum": false,
1127
- "abilities": [
1128
- "drop",
1129
- "store"
1130
- ],
1131
- "generic_type_params": [],
1132
- "fields": [
1133
- {
1134
- "name": "id",
1135
- "type": "0x3::token::TokenId"
1136
- },
1137
- {
1138
- "name": "amount",
1139
- "type": "u64"
1140
- }
1141
- ],
1142
- "variants": []
1143
- },
1144
- {
1145
- "name": "Withdraw",
1146
- "is_native": false,
1147
- "is_event": true,
1148
- "is_enum": false,
1149
- "abilities": [
1150
- "drop",
1151
- "store"
1152
- ],
1153
- "generic_type_params": [],
1154
- "fields": [
1155
- {
1156
- "name": "id",
1157
- "type": "0x3::token::TokenId"
1158
- },
1159
- {
1160
- "name": "amount",
1161
- "type": "u64"
1162
- }
1163
- ],
1164
- "variants": []
1165
- },
1166
- {
1167
- "name": "WithdrawEvent",
1168
- "is_native": false,
1169
- "is_event": false,
1170
- "is_enum": false,
1171
- "abilities": [
1172
- "drop",
1173
- "store"
1174
- ],
1175
- "generic_type_params": [],
1176
- "fields": [
1177
- {
1178
- "name": "id",
1179
- "type": "0x3::token::TokenId"
1180
- },
1181
- {
1182
- "name": "amount",
1183
- "type": "u64"
1184
- }
1185
- ],
1186
- "variants": []
1187
- },
1188
- {
1189
- "name": "Burn",
1190
- "is_native": false,
1191
- "is_event": true,
1192
- "is_enum": false,
1193
- "abilities": [
1194
- "drop",
1195
- "store"
1196
- ],
1197
- "generic_type_params": [],
1198
- "fields": [
1199
- {
1200
- "name": "account",
1201
- "type": "address"
1202
- },
1203
- {
1204
- "name": "id",
1205
- "type": "0x3::token::TokenId"
1206
- },
1207
- {
1208
- "name": "amount",
1209
- "type": "u64"
1210
- }
1211
- ],
1212
- "variants": []
1213
- },
1214
- {
1215
- "name": "BurnToken",
1216
- "is_native": false,
1217
- "is_event": true,
1218
- "is_enum": false,
1219
- "abilities": [
1220
- "drop",
1221
- "store"
1222
- ],
1223
- "generic_type_params": [],
1224
- "fields": [
1225
- {
1226
- "name": "id",
1227
- "type": "0x3::token::TokenId"
1228
- },
1229
- {
1230
- "name": "amount",
1231
- "type": "u64"
1232
- }
1233
- ],
1234
- "variants": []
1235
- },
1236
- {
1237
- "name": "BurnTokenEvent",
1238
- "is_native": false,
1239
- "is_event": false,
1240
- "is_enum": false,
1241
- "abilities": [
1242
- "drop",
1243
- "store"
1244
- ],
1245
- "generic_type_params": [],
1246
- "fields": [
1247
- {
1248
- "name": "id",
1249
- "type": "0x3::token::TokenId"
1250
- },
1251
- {
1252
- "name": "amount",
1253
- "type": "u64"
1254
- }
1255
- ],
1256
- "variants": []
1257
- },
1258
- {
1259
- "name": "CollectionData",
1260
- "is_native": false,
1261
- "is_event": false,
1262
- "is_enum": false,
1263
- "abilities": [
1264
- "store"
1265
- ],
1266
- "generic_type_params": [],
1267
- "fields": [
1268
- {
1269
- "name": "description",
1270
- "type": "0x1::string::String"
1271
- },
1272
- {
1273
- "name": "name",
1274
- "type": "0x1::string::String"
1275
- },
1276
- {
1277
- "name": "uri",
1278
- "type": "0x1::string::String"
1279
- },
1280
- {
1281
- "name": "supply",
1282
- "type": "u64"
1283
- },
1284
- {
1285
- "name": "maximum",
1286
- "type": "u64"
1287
- },
1288
- {
1289
- "name": "mutability_config",
1290
- "type": "0x3::token::CollectionMutabilityConfig"
1291
- }
1292
- ],
1293
- "variants": []
1294
- },
1295
- {
1296
- "name": "CollectionMutabilityConfig",
1297
- "is_native": false,
1298
- "is_event": false,
1299
- "is_enum": false,
1300
- "abilities": [
1301
- "copy",
1302
- "drop",
1303
- "store"
1304
- ],
1305
- "generic_type_params": [],
1306
- "fields": [
1307
- {
1308
- "name": "description",
1309
- "type": "bool"
1310
- },
1311
- {
1312
- "name": "uri",
1313
- "type": "bool"
1314
- },
1315
- {
1316
- "name": "maximum",
1317
- "type": "bool"
1318
- }
1319
- ],
1320
- "variants": []
1321
- },
1322
- {
1323
- "name": "Collections",
1324
- "is_native": false,
1325
- "is_event": false,
1326
- "is_enum": false,
1327
- "abilities": [
1328
- "key"
1329
- ],
1330
- "generic_type_params": [],
1331
- "fields": [
1332
- {
1333
- "name": "collection_data",
1334
- "type": "0x1::table::Table<0x1::string::String, 0x3::token::CollectionData>"
1335
- },
1336
- {
1337
- "name": "token_data",
1338
- "type": "0x1::table::Table<0x3::token::TokenDataId, 0x3::token::TokenData>"
1339
- },
1340
- {
1341
- "name": "create_collection_events",
1342
- "type": "0x1::event::EventHandle<0x3::token::CreateCollectionEvent>"
1343
- },
1344
- {
1345
- "name": "create_token_data_events",
1346
- "type": "0x1::event::EventHandle<0x3::token::CreateTokenDataEvent>"
1347
- },
1348
- {
1349
- "name": "mint_token_events",
1350
- "type": "0x1::event::EventHandle<0x3::token::MintTokenEvent>"
1351
- }
1352
- ],
1353
- "variants": []
1354
- },
1355
- {
1356
- "name": "CreateCollection",
1357
- "is_native": false,
1358
- "is_event": true,
1359
- "is_enum": false,
1360
- "abilities": [
1361
- "drop",
1362
- "store"
1363
- ],
1364
- "generic_type_params": [],
1365
- "fields": [
1366
- {
1367
- "name": "creator",
1368
- "type": "address"
1369
- },
1370
- {
1371
- "name": "collection_name",
1372
- "type": "0x1::string::String"
1373
- },
1374
- {
1375
- "name": "uri",
1376
- "type": "0x1::string::String"
1377
- },
1378
- {
1379
- "name": "description",
1380
- "type": "0x1::string::String"
1381
- },
1382
- {
1383
- "name": "maximum",
1384
- "type": "u64"
1385
- }
1386
- ],
1387
- "variants": []
1388
- },
1389
- {
1390
- "name": "CreateCollectionEvent",
1391
- "is_native": false,
1392
- "is_event": false,
1393
- "is_enum": false,
1394
- "abilities": [
1395
- "drop",
1396
- "store"
1397
- ],
1398
- "generic_type_params": [],
1399
- "fields": [
1400
- {
1401
- "name": "creator",
1402
- "type": "address"
1403
- },
1404
- {
1405
- "name": "collection_name",
1406
- "type": "0x1::string::String"
1407
- },
1408
- {
1409
- "name": "uri",
1410
- "type": "0x1::string::String"
1411
- },
1412
- {
1413
- "name": "description",
1414
- "type": "0x1::string::String"
1415
- },
1416
- {
1417
- "name": "maximum",
1418
- "type": "u64"
1419
- }
1420
- ],
1421
- "variants": []
1422
- },
1423
- {
1424
- "name": "CreateTokenData",
1425
- "is_native": false,
1426
- "is_event": true,
1427
- "is_enum": false,
1428
- "abilities": [
1429
- "drop",
1430
- "store"
1431
- ],
1432
- "generic_type_params": [],
1433
- "fields": [
1434
- {
1435
- "name": "id",
1436
- "type": "0x3::token::TokenDataId"
1437
- },
1438
- {
1439
- "name": "description",
1440
- "type": "0x1::string::String"
1441
- },
1442
- {
1443
- "name": "maximum",
1444
- "type": "u64"
1445
- },
1446
- {
1447
- "name": "uri",
1448
- "type": "0x1::string::String"
1449
- },
1450
- {
1451
- "name": "royalty_payee_address",
1452
- "type": "address"
1453
- },
1454
- {
1455
- "name": "royalty_points_denominator",
1456
- "type": "u64"
1457
- },
1458
- {
1459
- "name": "royalty_points_numerator",
1460
- "type": "u64"
1461
- },
1462
- {
1463
- "name": "name",
1464
- "type": "0x1::string::String"
1465
- },
1466
- {
1467
- "name": "mutability_config",
1468
- "type": "0x3::token::TokenMutabilityConfig"
1469
- },
1470
- {
1471
- "name": "property_keys",
1472
- "type": "vector<0x1::string::String>"
1473
- },
1474
- {
1475
- "name": "property_values",
1476
- "type": "vector<vector<u8>>"
1477
- },
1478
- {
1479
- "name": "property_types",
1480
- "type": "vector<0x1::string::String>"
1481
- }
1482
- ],
1483
- "variants": []
1484
- },
1485
- {
1486
- "name": "CreateTokenDataEvent",
1487
- "is_native": false,
1488
- "is_event": false,
1489
- "is_enum": false,
1490
- "abilities": [
1491
- "drop",
1492
- "store"
1493
- ],
1494
- "generic_type_params": [],
1495
- "fields": [
1496
- {
1497
- "name": "id",
1498
- "type": "0x3::token::TokenDataId"
1499
- },
1500
- {
1501
- "name": "description",
1502
- "type": "0x1::string::String"
1503
- },
1504
- {
1505
- "name": "maximum",
1506
- "type": "u64"
1507
- },
1508
- {
1509
- "name": "uri",
1510
- "type": "0x1::string::String"
1511
- },
1512
- {
1513
- "name": "royalty_payee_address",
1514
- "type": "address"
1515
- },
1516
- {
1517
- "name": "royalty_points_denominator",
1518
- "type": "u64"
1519
- },
1520
- {
1521
- "name": "royalty_points_numerator",
1522
- "type": "u64"
1523
- },
1524
- {
1525
- "name": "name",
1526
- "type": "0x1::string::String"
1527
- },
1528
- {
1529
- "name": "mutability_config",
1530
- "type": "0x3::token::TokenMutabilityConfig"
1531
- },
1532
- {
1533
- "name": "property_keys",
1534
- "type": "vector<0x1::string::String>"
1535
- },
1536
- {
1537
- "name": "property_values",
1538
- "type": "vector<vector<u8>>"
1539
- },
1540
- {
1541
- "name": "property_types",
1542
- "type": "vector<0x1::string::String>"
1543
- }
1544
- ],
1545
- "variants": []
1546
- },
1547
- {
1548
- "name": "Mint",
1549
- "is_native": false,
1550
- "is_event": true,
1551
- "is_enum": false,
1552
- "abilities": [
1553
- "drop",
1554
- "store"
1555
- ],
1556
- "generic_type_params": [],
1557
- "fields": [
1558
- {
1559
- "name": "creator",
1560
- "type": "address"
1561
- },
1562
- {
1563
- "name": "id",
1564
- "type": "0x3::token::TokenDataId"
1565
- },
1566
- {
1567
- "name": "amount",
1568
- "type": "u64"
1569
- }
1570
- ],
1571
- "variants": []
1572
- },
1573
- {
1574
- "name": "MintToken",
1575
- "is_native": false,
1576
- "is_event": true,
1577
- "is_enum": false,
1578
- "abilities": [
1579
- "drop",
1580
- "store"
1581
- ],
1582
- "generic_type_params": [],
1583
- "fields": [
1584
- {
1585
- "name": "id",
1586
- "type": "0x3::token::TokenDataId"
1587
- },
1588
- {
1589
- "name": "amount",
1590
- "type": "u64"
1591
- }
1592
- ],
1593
- "variants": []
1594
- },
1595
- {
1596
- "name": "MintTokenEvent",
1597
- "is_native": false,
1598
- "is_event": false,
1599
- "is_enum": false,
1600
- "abilities": [
1601
- "drop",
1602
- "store"
1603
- ],
1604
- "generic_type_params": [],
1605
- "fields": [
1606
- {
1607
- "name": "id",
1608
- "type": "0x3::token::TokenDataId"
1609
- },
1610
- {
1611
- "name": "amount",
1612
- "type": "u64"
1613
- }
1614
- ],
1615
- "variants": []
1616
- },
1617
- {
1618
- "name": "MutatePropertyMap",
1619
- "is_native": false,
1620
- "is_event": true,
1621
- "is_enum": false,
1622
- "abilities": [
1623
- "drop",
1624
- "store"
1625
- ],
1626
- "generic_type_params": [],
1627
- "fields": [
1628
- {
1629
- "name": "account",
1630
- "type": "address"
1631
- },
1632
- {
1633
- "name": "old_id",
1634
- "type": "0x3::token::TokenId"
1635
- },
1636
- {
1637
- "name": "new_id",
1638
- "type": "0x3::token::TokenId"
1639
- },
1640
- {
1641
- "name": "keys",
1642
- "type": "vector<0x1::string::String>"
1643
- },
1644
- {
1645
- "name": "values",
1646
- "type": "vector<vector<u8>>"
1647
- },
1648
- {
1649
- "name": "types",
1650
- "type": "vector<0x1::string::String>"
1651
- }
1652
- ],
1653
- "variants": []
1654
- },
1655
- {
1656
- "name": "MutateTokenPropertyMap",
1657
- "is_native": false,
1658
- "is_event": true,
1659
- "is_enum": false,
1660
- "abilities": [
1661
- "drop",
1662
- "store"
1663
- ],
1664
- "generic_type_params": [],
1665
- "fields": [
1666
- {
1667
- "name": "old_id",
1668
- "type": "0x3::token::TokenId"
1669
- },
1670
- {
1671
- "name": "new_id",
1672
- "type": "0x3::token::TokenId"
1673
- },
1674
- {
1675
- "name": "keys",
1676
- "type": "vector<0x1::string::String>"
1677
- },
1678
- {
1679
- "name": "values",
1680
- "type": "vector<vector<u8>>"
1681
- },
1682
- {
1683
- "name": "types",
1684
- "type": "vector<0x1::string::String>"
1685
- }
1686
- ],
1687
- "variants": []
1688
- },
1689
- {
1690
- "name": "MutateTokenPropertyMapEvent",
1691
- "is_native": false,
1692
- "is_event": false,
1693
- "is_enum": false,
1694
- "abilities": [
1695
- "drop",
1696
- "store"
1697
- ],
1698
- "generic_type_params": [],
1699
- "fields": [
1700
- {
1701
- "name": "old_id",
1702
- "type": "0x3::token::TokenId"
1703
- },
1704
- {
1705
- "name": "new_id",
1706
- "type": "0x3::token::TokenId"
1707
- },
1708
- {
1709
- "name": "keys",
1710
- "type": "vector<0x1::string::String>"
1711
- },
1712
- {
1713
- "name": "values",
1714
- "type": "vector<vector<u8>>"
1715
- },
1716
- {
1717
- "name": "types",
1718
- "type": "vector<0x1::string::String>"
1719
- }
1720
- ],
1721
- "variants": []
1722
- },
1723
- {
1724
- "name": "Royalty",
1725
- "is_native": false,
1726
- "is_event": false,
1727
- "is_enum": false,
1728
- "abilities": [
1729
- "copy",
1730
- "drop",
1731
- "store"
1732
- ],
1733
- "generic_type_params": [],
1734
- "fields": [
1735
- {
1736
- "name": "royalty_points_numerator",
1737
- "type": "u64"
1738
- },
1739
- {
1740
- "name": "royalty_points_denominator",
1741
- "type": "u64"
1742
- },
1743
- {
1744
- "name": "payee_address",
1745
- "type": "address"
1746
- }
1747
- ],
1748
- "variants": []
1749
- },
1750
- {
1751
- "name": "Token",
1752
- "is_native": false,
1753
- "is_event": false,
1754
- "is_enum": false,
1755
- "abilities": [
1756
- "store"
1757
- ],
1758
- "generic_type_params": [],
1759
- "fields": [
1760
- {
1761
- "name": "id",
1762
- "type": "0x3::token::TokenId"
1763
- },
1764
- {
1765
- "name": "amount",
1766
- "type": "u64"
1767
- },
1768
- {
1769
- "name": "token_properties",
1770
- "type": "0x3::property_map::PropertyMap"
1771
- }
1772
- ],
1773
- "variants": []
1774
- },
1775
- {
1776
- "name": "TokenData",
1777
- "is_native": false,
1778
- "is_event": false,
1779
- "is_enum": false,
1780
- "abilities": [
1781
- "store"
1782
- ],
1783
- "generic_type_params": [],
1784
- "fields": [
1785
- {
1786
- "name": "maximum",
1787
- "type": "u64"
1788
- },
1789
- {
1790
- "name": "largest_property_version",
1791
- "type": "u64"
1792
- },
1793
- {
1794
- "name": "supply",
1795
- "type": "u64"
1796
- },
1797
- {
1798
- "name": "uri",
1799
- "type": "0x1::string::String"
1800
- },
1801
- {
1802
- "name": "royalty",
1803
- "type": "0x3::token::Royalty"
1804
- },
1805
- {
1806
- "name": "name",
1807
- "type": "0x1::string::String"
1808
- },
1809
- {
1810
- "name": "description",
1811
- "type": "0x1::string::String"
1812
- },
1813
- {
1814
- "name": "default_properties",
1815
- "type": "0x3::property_map::PropertyMap"
1816
- },
1817
- {
1818
- "name": "mutability_config",
1819
- "type": "0x3::token::TokenMutabilityConfig"
1820
- }
1821
- ],
1822
- "variants": []
1823
- },
1824
- {
1825
- "name": "TokenDataCreation",
1826
- "is_native": false,
1827
- "is_event": true,
1828
- "is_enum": false,
1829
- "abilities": [
1830
- "drop",
1831
- "store"
1832
- ],
1833
- "generic_type_params": [],
1834
- "fields": [
1835
- {
1836
- "name": "creator",
1837
- "type": "address"
1838
- },
1839
- {
1840
- "name": "id",
1841
- "type": "0x3::token::TokenDataId"
1842
- },
1843
- {
1844
- "name": "description",
1845
- "type": "0x1::string::String"
1846
- },
1847
- {
1848
- "name": "maximum",
1849
- "type": "u64"
1850
- },
1851
- {
1852
- "name": "uri",
1853
- "type": "0x1::string::String"
1854
- },
1855
- {
1856
- "name": "royalty_payee_address",
1857
- "type": "address"
1858
- },
1859
- {
1860
- "name": "royalty_points_denominator",
1861
- "type": "u64"
1862
- },
1863
- {
1864
- "name": "royalty_points_numerator",
1865
- "type": "u64"
1866
- },
1867
- {
1868
- "name": "name",
1869
- "type": "0x1::string::String"
1870
- },
1871
- {
1872
- "name": "mutability_config",
1873
- "type": "0x3::token::TokenMutabilityConfig"
1874
- },
1875
- {
1876
- "name": "property_keys",
1877
- "type": "vector<0x1::string::String>"
1878
- },
1879
- {
1880
- "name": "property_values",
1881
- "type": "vector<vector<u8>>"
1882
- },
1883
- {
1884
- "name": "property_types",
1885
- "type": "vector<0x1::string::String>"
1886
- }
1887
- ],
1888
- "variants": []
1889
- },
1890
- {
1891
- "name": "TokenDataId",
1892
- "is_native": false,
1893
- "is_event": false,
1894
- "is_enum": false,
1895
- "abilities": [
1896
- "copy",
1897
- "drop",
1898
- "store"
1899
- ],
1900
- "generic_type_params": [],
1901
- "fields": [
1902
- {
1903
- "name": "creator",
1904
- "type": "address"
1905
- },
1906
- {
1907
- "name": "collection",
1908
- "type": "0x1::string::String"
1909
- },
1910
- {
1911
- "name": "name",
1912
- "type": "0x1::string::String"
1913
- }
1914
- ],
1915
- "variants": []
1916
- },
1917
- {
1918
- "name": "TokenDeposit",
1919
- "is_native": false,
1920
- "is_event": true,
1921
- "is_enum": false,
1922
- "abilities": [
1923
- "drop",
1924
- "store"
1925
- ],
1926
- "generic_type_params": [],
1927
- "fields": [
1928
- {
1929
- "name": "account",
1930
- "type": "address"
1931
- },
1932
- {
1933
- "name": "id",
1934
- "type": "0x3::token::TokenId"
1935
- },
1936
- {
1937
- "name": "amount",
1938
- "type": "u64"
1939
- }
1940
- ],
1941
- "variants": []
1942
- },
1943
- {
1944
- "name": "TokenId",
1945
- "is_native": false,
1946
- "is_event": false,
1947
- "is_enum": false,
1948
- "abilities": [
1949
- "copy",
1950
- "drop",
1951
- "store"
1952
- ],
1953
- "generic_type_params": [],
1954
- "fields": [
1955
- {
1956
- "name": "token_data_id",
1957
- "type": "0x3::token::TokenDataId"
1958
- },
1959
- {
1960
- "name": "property_version",
1961
- "type": "u64"
1962
- }
1963
- ],
1964
- "variants": []
1965
- },
1966
- {
1967
- "name": "TokenMutabilityConfig",
1968
- "is_native": false,
1969
- "is_event": false,
1970
- "is_enum": false,
1971
- "abilities": [
1972
- "copy",
1973
- "drop",
1974
- "store"
1975
- ],
1976
- "generic_type_params": [],
1977
- "fields": [
1978
- {
1979
- "name": "maximum",
1980
- "type": "bool"
1981
- },
1982
- {
1983
- "name": "uri",
1984
- "type": "bool"
1985
- },
1986
- {
1987
- "name": "royalty",
1988
- "type": "bool"
1989
- },
1990
- {
1991
- "name": "description",
1992
- "type": "bool"
1993
- },
1994
- {
1995
- "name": "properties",
1996
- "type": "bool"
1997
- }
1998
- ],
1999
- "variants": []
2000
- },
2001
- {
2002
- "name": "TokenStore",
2003
- "is_native": false,
2004
- "is_event": false,
2005
- "is_enum": false,
2006
- "abilities": [
2007
- "key"
2008
- ],
2009
- "generic_type_params": [],
2010
- "fields": [
2011
- {
2012
- "name": "tokens",
2013
- "type": "0x1::table::Table<0x3::token::TokenId, 0x3::token::Token>"
2014
- },
2015
- {
2016
- "name": "direct_transfer",
2017
- "type": "bool"
2018
- },
2019
- {
2020
- "name": "deposit_events",
2021
- "type": "0x1::event::EventHandle<0x3::token::DepositEvent>"
2022
- },
2023
- {
2024
- "name": "withdraw_events",
2025
- "type": "0x1::event::EventHandle<0x3::token::WithdrawEvent>"
2026
- },
2027
- {
2028
- "name": "burn_events",
2029
- "type": "0x1::event::EventHandle<0x3::token::BurnTokenEvent>"
2030
- },
2031
- {
2032
- "name": "mutate_token_property_events",
2033
- "type": "0x1::event::EventHandle<0x3::token::MutateTokenPropertyMapEvent>"
2034
- }
2035
- ],
2036
- "variants": []
2037
- },
2038
- {
2039
- "name": "TokenWithdraw",
2040
- "is_native": false,
2041
- "is_event": true,
2042
- "is_enum": false,
2043
- "abilities": [
2044
- "drop",
2045
- "store"
2046
- ],
2047
- "generic_type_params": [],
2048
- "fields": [
2049
- {
2050
- "name": "account",
2051
- "type": "address"
2052
- },
2053
- {
2054
- "name": "id",
2055
- "type": "0x3::token::TokenId"
2056
- },
2057
- {
2058
- "name": "amount",
2059
- "type": "u64"
2060
- }
2061
- ],
2062
- "variants": []
2063
- },
2064
- {
2065
- "name": "WithdrawCapability",
2066
- "is_native": false,
2067
- "is_event": false,
2068
- "is_enum": false,
2069
- "abilities": [
2070
- "drop",
2071
- "store"
2072
- ],
2073
- "generic_type_params": [],
2074
- "fields": [
2075
- {
2076
- "name": "token_owner",
2077
- "type": "address"
2078
- },
2079
- {
2080
- "name": "token_id",
2081
- "type": "0x3::token::TokenId"
2082
- },
2083
- {
2084
- "name": "amount",
2085
- "type": "u64"
2086
- },
2087
- {
2088
- "name": "expiration_sec",
2089
- "type": "u64"
2090
- }
2091
- ],
2092
- "variants": []
2093
- }
2094
- ]
2095
- }
2096
- },
2097
- {
2098
- "abi": {
2099
- "address": "0x3",
2100
- "name": "property_map",
2101
- "friends": [],
2102
- "exposed_functions": [
2103
- {
2104
- "name": "new",
2105
- "visibility": "public",
2106
- "is_entry": false,
2107
- "is_view": false,
2108
- "generic_type_params": [],
2109
- "params": [
2110
- "vector<0x1::string::String>",
2111
- "vector<vector<u8>>",
2112
- "vector<0x1::string::String>"
2113
- ],
2114
- "return": [
2115
- "0x3::property_map::PropertyMap"
2116
- ]
2117
- },
2118
- {
2119
- "name": "borrow",
2120
- "visibility": "public",
2121
- "is_entry": false,
2122
- "is_view": false,
2123
- "generic_type_params": [],
2124
- "params": [
2125
- "&0x3::property_map::PropertyMap",
2126
- "&0x1::string::String"
2127
- ],
2128
- "return": [
2129
- "&0x3::property_map::PropertyValue"
2130
- ]
2131
- },
2132
- {
2133
- "name": "empty",
2134
- "visibility": "public",
2135
- "is_entry": false,
2136
- "is_view": false,
2137
- "generic_type_params": [],
2138
- "params": [],
2139
- "return": [
2140
- "0x3::property_map::PropertyMap"
2141
- ]
2142
- },
2143
- {
2144
- "name": "length",
2145
- "visibility": "public",
2146
- "is_entry": false,
2147
- "is_view": false,
2148
- "generic_type_params": [],
2149
- "params": [
2150
- "&0x3::property_map::PropertyMap"
2151
- ],
2152
- "return": [
2153
- "u64"
2154
- ]
2155
- },
2156
- {
2157
- "name": "remove",
2158
- "visibility": "public",
2159
- "is_entry": false,
2160
- "is_view": false,
2161
- "generic_type_params": [],
2162
- "params": [
2163
- "&mut 0x3::property_map::PropertyMap",
2164
- "&0x1::string::String"
2165
- ],
2166
- "return": [
2167
- "0x1::string::String",
2168
- "0x3::property_map::PropertyValue"
2169
- ]
2170
- },
2171
- {
2172
- "name": "add",
2173
- "visibility": "public",
2174
- "is_entry": false,
2175
- "is_view": false,
2176
- "generic_type_params": [],
2177
- "params": [
2178
- "&mut 0x3::property_map::PropertyMap",
2179
- "0x1::string::String",
2180
- "0x3::property_map::PropertyValue"
2181
- ],
2182
- "return": []
2183
- },
2184
- {
2185
- "name": "keys",
2186
- "visibility": "public",
2187
- "is_entry": false,
2188
- "is_view": false,
2189
- "generic_type_params": [],
2190
- "params": [
2191
- "&0x3::property_map::PropertyMap"
2192
- ],
2193
- "return": [
2194
- "vector<0x1::string::String>"
2195
- ]
2196
- },
2197
- {
2198
- "name": "values",
2199
- "visibility": "public",
2200
- "is_entry": false,
2201
- "is_view": false,
2202
- "generic_type_params": [],
2203
- "params": [
2204
- "&0x3::property_map::PropertyMap"
2205
- ],
2206
- "return": [
2207
- "vector<vector<u8>>"
2208
- ]
2209
- },
2210
- {
2211
- "name": "contains_key",
2212
- "visibility": "public",
2213
- "is_entry": false,
2214
- "is_view": false,
2215
- "generic_type_params": [],
2216
- "params": [
2217
- "&0x3::property_map::PropertyMap",
2218
- "&0x1::string::String"
2219
- ],
2220
- "return": [
2221
- "bool"
2222
- ]
2223
- },
2224
- {
2225
- "name": "borrow_type",
2226
- "visibility": "public",
2227
- "is_entry": false,
2228
- "is_view": false,
2229
- "generic_type_params": [],
2230
- "params": [
2231
- "&0x3::property_map::PropertyValue"
2232
- ],
2233
- "return": [
2234
- "0x1::string::String"
2235
- ]
2236
- },
2237
- {
2238
- "name": "borrow_value",
2239
- "visibility": "public",
2240
- "is_entry": false,
2241
- "is_view": false,
2242
- "generic_type_params": [],
2243
- "params": [
2244
- "&0x3::property_map::PropertyValue"
2245
- ],
2246
- "return": [
2247
- "vector<u8>"
2248
- ]
2249
- },
2250
- {
2251
- "name": "create_property_value",
2252
- "visibility": "public",
2253
- "is_entry": false,
2254
- "is_view": false,
2255
- "generic_type_params": [
2256
- {
2257
- "constraints": [
2258
- "copy"
2259
- ]
2260
- }
2261
- ],
2262
- "params": [
2263
- "&T0"
2264
- ],
2265
- "return": [
2266
- "0x3::property_map::PropertyValue"
2267
- ]
2268
- },
2269
- {
2270
- "name": "create_property_value_raw",
2271
- "visibility": "public",
2272
- "is_entry": false,
2273
- "is_view": false,
2274
- "generic_type_params": [],
2275
- "params": [
2276
- "vector<u8>",
2277
- "0x1::string::String"
2278
- ],
2279
- "return": [
2280
- "0x3::property_map::PropertyValue"
2281
- ]
2282
- },
2283
- {
2284
- "name": "types",
2285
- "visibility": "public",
2286
- "is_entry": false,
2287
- "is_view": false,
2288
- "generic_type_params": [],
2289
- "params": [
2290
- "&0x3::property_map::PropertyMap"
2291
- ],
2292
- "return": [
2293
- "vector<0x1::string::String>"
2294
- ]
2295
- },
2296
- {
2297
- "name": "new_with_key_and_property_value",
2298
- "visibility": "public",
2299
- "is_entry": false,
2300
- "is_view": false,
2301
- "generic_type_params": [],
2302
- "params": [
2303
- "vector<0x1::string::String>",
2304
- "vector<0x3::property_map::PropertyValue>"
2305
- ],
2306
- "return": [
2307
- "0x3::property_map::PropertyMap"
2308
- ]
2309
- },
2310
- {
2311
- "name": "read_address",
2312
- "visibility": "public",
2313
- "is_entry": false,
2314
- "is_view": false,
2315
- "generic_type_params": [],
2316
- "params": [
2317
- "&0x3::property_map::PropertyMap",
2318
- "&0x1::string::String"
2319
- ],
2320
- "return": [
2321
- "address"
2322
- ]
2323
- },
2324
- {
2325
- "name": "read_bool",
2326
- "visibility": "public",
2327
- "is_entry": false,
2328
- "is_view": false,
2329
- "generic_type_params": [],
2330
- "params": [
2331
- "&0x3::property_map::PropertyMap",
2332
- "&0x1::string::String"
2333
- ],
2334
- "return": [
2335
- "bool"
2336
- ]
2337
- },
2338
- {
2339
- "name": "read_string",
2340
- "visibility": "public",
2341
- "is_entry": false,
2342
- "is_view": false,
2343
- "generic_type_params": [],
2344
- "params": [
2345
- "&0x3::property_map::PropertyMap",
2346
- "&0x1::string::String"
2347
- ],
2348
- "return": [
2349
- "0x1::string::String"
2350
- ]
2351
- },
2352
- {
2353
- "name": "read_u128",
2354
- "visibility": "public",
2355
- "is_entry": false,
2356
- "is_view": false,
2357
- "generic_type_params": [],
2358
- "params": [
2359
- "&0x3::property_map::PropertyMap",
2360
- "&0x1::string::String"
2361
- ],
2362
- "return": [
2363
- "u128"
2364
- ]
2365
- },
2366
- {
2367
- "name": "read_u64",
2368
- "visibility": "public",
2369
- "is_entry": false,
2370
- "is_view": false,
2371
- "generic_type_params": [],
2372
- "params": [
2373
- "&0x3::property_map::PropertyMap",
2374
- "&0x1::string::String"
2375
- ],
2376
- "return": [
2377
- "u64"
2378
- ]
2379
- },
2380
- {
2381
- "name": "read_u8",
2382
- "visibility": "public",
2383
- "is_entry": false,
2384
- "is_view": false,
2385
- "generic_type_params": [],
2386
- "params": [
2387
- "&0x3::property_map::PropertyMap",
2388
- "&0x1::string::String"
2389
- ],
2390
- "return": [
2391
- "u8"
2392
- ]
2393
- },
2394
- {
2395
- "name": "update_property_map",
2396
- "visibility": "public",
2397
- "is_entry": false,
2398
- "is_view": false,
2399
- "generic_type_params": [],
2400
- "params": [
2401
- "&mut 0x3::property_map::PropertyMap",
2402
- "vector<0x1::string::String>",
2403
- "vector<vector<u8>>",
2404
- "vector<0x1::string::String>"
2405
- ],
2406
- "return": []
2407
- },
2408
- {
2409
- "name": "update_property_value",
2410
- "visibility": "public",
2411
- "is_entry": false,
2412
- "is_view": false,
2413
- "generic_type_params": [],
2414
- "params": [
2415
- "&mut 0x3::property_map::PropertyMap",
2416
- "&0x1::string::String",
2417
- "0x3::property_map::PropertyValue"
2418
- ],
2419
- "return": []
2420
- }
2421
- ],
2422
- "structs": [
2423
- {
2424
- "name": "PropertyMap",
2425
- "is_native": false,
2426
- "is_event": false,
2427
- "is_enum": false,
2428
- "abilities": [
2429
- "copy",
2430
- "drop",
2431
- "store"
2432
- ],
2433
- "generic_type_params": [],
2434
- "fields": [
2435
- {
2436
- "name": "map",
2437
- "type": "0x1::simple_map::SimpleMap<0x1::string::String, 0x3::property_map::PropertyValue>"
2438
- }
2439
- ],
2440
- "variants": []
2441
- },
2442
- {
2443
- "name": "PropertyValue",
2444
- "is_native": false,
2445
- "is_event": false,
2446
- "is_enum": false,
2447
- "abilities": [
2448
- "copy",
2449
- "drop",
2450
- "store"
2451
- ],
2452
- "generic_type_params": [],
2453
- "fields": [
2454
- {
2455
- "name": "value",
2456
- "type": "vector<u8>"
2457
- },
2458
- {
2459
- "name": "type",
2460
- "type": "0x1::string::String"
2461
- }
2462
- ],
2463
- "variants": []
2464
- }
2465
- ]
2466
- }
2467
- },
2468
- {
2469
- "abi": {
2470
- "address": "0x3",
2471
- "name": "token_coin_swap",
2472
- "friends": [],
2473
- "exposed_functions": [
2474
- {
2475
- "name": "cancel_token_listing",
2476
- "visibility": "public",
2477
- "is_entry": false,
2478
- "is_view": false,
2479
- "generic_type_params": [
2480
- {
2481
- "constraints": []
2482
- }
2483
- ],
2484
- "params": [
2485
- "&signer",
2486
- "0x3::token::TokenId",
2487
- "u64"
2488
- ],
2489
- "return": []
2490
- },
2491
- {
2492
- "name": "deposit_token_to_escrow",
2493
- "visibility": "public",
2494
- "is_entry": false,
2495
- "is_view": false,
2496
- "generic_type_params": [],
2497
- "params": [
2498
- "&signer",
2499
- "0x3::token::TokenId",
2500
- "0x3::token::Token",
2501
- "u64"
2502
- ],
2503
- "return": []
2504
- },
2505
- {
2506
- "name": "does_listing_exist",
2507
- "visibility": "public",
2508
- "is_entry": false,
2509
- "is_view": false,
2510
- "generic_type_params": [
2511
- {
2512
- "constraints": []
2513
- }
2514
- ],
2515
- "params": [
2516
- "address",
2517
- "0x3::token::TokenId"
2518
- ],
2519
- "return": [
2520
- "bool"
2521
- ]
2522
- },
2523
- {
2524
- "name": "exchange_coin_for_token",
2525
- "visibility": "public",
2526
- "is_entry": false,
2527
- "is_view": false,
2528
- "generic_type_params": [
2529
- {
2530
- "constraints": []
2531
- }
2532
- ],
2533
- "params": [
2534
- "&signer",
2535
- "u64",
2536
- "address",
2537
- "address",
2538
- "0x1::string::String",
2539
- "0x1::string::String",
2540
- "u64",
2541
- "u64"
2542
- ],
2543
- "return": []
2544
- },
2545
- {
2546
- "name": "list_token_for_swap",
2547
- "visibility": "public",
2548
- "is_entry": true,
2549
- "is_view": false,
2550
- "generic_type_params": [
2551
- {
2552
- "constraints": []
2553
- }
2554
- ],
2555
- "params": [
2556
- "&signer",
2557
- "address",
2558
- "0x1::string::String",
2559
- "0x1::string::String",
2560
- "u64",
2561
- "u64",
2562
- "u64",
2563
- "u64"
2564
- ],
2565
- "return": []
2566
- },
2567
- {
2568
- "name": "withdraw_token_from_escrow",
2569
- "visibility": "public",
2570
- "is_entry": false,
2571
- "is_view": false,
2572
- "generic_type_params": [],
2573
- "params": [
2574
- "&signer",
2575
- "0x3::token::TokenId",
2576
- "u64"
2577
- ],
2578
- "return": [
2579
- "0x3::token::Token"
2580
- ]
2581
- }
2582
- ],
2583
- "structs": [
2584
- {
2585
- "name": "TokenCoinSwap",
2586
- "is_native": false,
2587
- "is_event": false,
2588
- "is_enum": false,
2589
- "abilities": [
2590
- "drop",
2591
- "store"
2592
- ],
2593
- "generic_type_params": [
2594
- {
2595
- "constraints": []
2596
- }
2597
- ],
2598
- "fields": [
2599
- {
2600
- "name": "token_amount",
2601
- "type": "u64"
2602
- },
2603
- {
2604
- "name": "min_price_per_token",
2605
- "type": "u64"
2606
- }
2607
- ],
2608
- "variants": []
2609
- },
2610
- {
2611
- "name": "TokenEscrow",
2612
- "is_native": false,
2613
- "is_event": false,
2614
- "is_enum": false,
2615
- "abilities": [
2616
- "store"
2617
- ],
2618
- "generic_type_params": [],
2619
- "fields": [
2620
- {
2621
- "name": "token",
2622
- "type": "0x3::token::Token"
2623
- },
2624
- {
2625
- "name": "locked_until_secs",
2626
- "type": "u64"
2627
- }
2628
- ],
2629
- "variants": []
2630
- },
2631
- {
2632
- "name": "TokenListingEvent",
2633
- "is_native": false,
2634
- "is_event": false,
2635
- "is_enum": false,
2636
- "abilities": [
2637
- "drop",
2638
- "store"
2639
- ],
2640
- "generic_type_params": [],
2641
- "fields": [
2642
- {
2643
- "name": "token_id",
2644
- "type": "0x3::token::TokenId"
2645
- },
2646
- {
2647
- "name": "amount",
2648
- "type": "u64"
2649
- },
2650
- {
2651
- "name": "min_price",
2652
- "type": "u64"
2653
- },
2654
- {
2655
- "name": "locked_until_secs",
2656
- "type": "u64"
2657
- },
2658
- {
2659
- "name": "coin_type_info",
2660
- "type": "0x1::type_info::TypeInfo"
2661
- }
2662
- ],
2663
- "variants": []
2664
- },
2665
- {
2666
- "name": "TokenListings",
2667
- "is_native": false,
2668
- "is_event": false,
2669
- "is_enum": false,
2670
- "abilities": [
2671
- "key"
2672
- ],
2673
- "generic_type_params": [
2674
- {
2675
- "constraints": []
2676
- }
2677
- ],
2678
- "fields": [
2679
- {
2680
- "name": "listings",
2681
- "type": "0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenCoinSwap<T0>>"
2682
- },
2683
- {
2684
- "name": "listing_events",
2685
- "type": "0x1::event::EventHandle<0x3::token_coin_swap::TokenListingEvent>"
2686
- },
2687
- {
2688
- "name": "swap_events",
2689
- "type": "0x1::event::EventHandle<0x3::token_coin_swap::TokenSwapEvent>"
2690
- }
2691
- ],
2692
- "variants": []
2693
- },
2694
- {
2695
- "name": "TokenStoreEscrow",
2696
- "is_native": false,
2697
- "is_event": false,
2698
- "is_enum": false,
2699
- "abilities": [
2700
- "key"
2701
- ],
2702
- "generic_type_params": [],
2703
- "fields": [
2704
- {
2705
- "name": "token_escrows",
2706
- "type": "0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenEscrow>"
2707
- }
2708
- ],
2709
- "variants": []
2710
- },
2711
- {
2712
- "name": "TokenSwapEvent",
2713
- "is_native": false,
2714
- "is_event": false,
2715
- "is_enum": false,
2716
- "abilities": [
2717
- "drop",
2718
- "store"
2719
- ],
2720
- "generic_type_params": [],
2721
- "fields": [
2722
- {
2723
- "name": "token_id",
2724
- "type": "0x3::token::TokenId"
2725
- },
2726
- {
2727
- "name": "token_buyer",
2728
- "type": "address"
2729
- },
2730
- {
2731
- "name": "token_amount",
2732
- "type": "u64"
2733
- },
2734
- {
2735
- "name": "coin_amount",
2736
- "type": "u64"
2737
- },
2738
- {
2739
- "name": "coin_type_info",
2740
- "type": "0x1::type_info::TypeInfo"
2741
- }
2742
- ],
2743
- "variants": []
2744
- }
2745
- ]
2746
- }
2747
- },
2748
- {
2749
- "abi": {
2750
- "address": "0x3",
2751
- "name": "token_transfers",
2752
- "friends": [],
2753
- "exposed_functions": [
2754
- {
2755
- "name": "cancel_offer",
2756
- "visibility": "public",
2757
- "is_entry": false,
2758
- "is_view": false,
2759
- "generic_type_params": [],
2760
- "params": [
2761
- "&signer",
2762
- "address",
2763
- "0x3::token::TokenId"
2764
- ],
2765
- "return": []
2766
- },
2767
- {
2768
- "name": "cancel_offer_script",
2769
- "visibility": "public",
2770
- "is_entry": true,
2771
- "is_view": false,
2772
- "generic_type_params": [],
2773
- "params": [
2774
- "signer",
2775
- "address",
2776
- "address",
2777
- "0x1::string::String",
2778
- "0x1::string::String",
2779
- "u64"
2780
- ],
2781
- "return": []
2782
- },
2783
- {
2784
- "name": "claim",
2785
- "visibility": "public",
2786
- "is_entry": false,
2787
- "is_view": false,
2788
- "generic_type_params": [],
2789
- "params": [
2790
- "&signer",
2791
- "address",
2792
- "0x3::token::TokenId"
2793
- ],
2794
- "return": []
2795
- },
2796
- {
2797
- "name": "claim_script",
2798
- "visibility": "public",
2799
- "is_entry": true,
2800
- "is_view": false,
2801
- "generic_type_params": [],
2802
- "params": [
2803
- "signer",
2804
- "address",
2805
- "address",
2806
- "0x1::string::String",
2807
- "0x1::string::String",
2808
- "u64"
2809
- ],
2810
- "return": []
2811
- },
2812
- {
2813
- "name": "offer",
2814
- "visibility": "public",
2815
- "is_entry": false,
2816
- "is_view": false,
2817
- "generic_type_params": [],
2818
- "params": [
2819
- "&signer",
2820
- "address",
2821
- "0x3::token::TokenId",
2822
- "u64"
2823
- ],
2824
- "return": []
2825
- },
2826
- {
2827
- "name": "offer_script",
2828
- "visibility": "public",
2829
- "is_entry": true,
2830
- "is_view": false,
2831
- "generic_type_params": [],
2832
- "params": [
2833
- "signer",
2834
- "address",
2835
- "address",
2836
- "0x1::string::String",
2837
- "0x1::string::String",
2838
- "u64",
2839
- "u64"
2840
- ],
2841
- "return": []
2842
- }
2843
- ],
2844
- "structs": [
2845
- {
2846
- "name": "CancelOffer",
2847
- "is_native": false,
2848
- "is_event": true,
2849
- "is_enum": false,
2850
- "abilities": [
2851
- "drop",
2852
- "store"
2853
- ],
2854
- "generic_type_params": [],
2855
- "fields": [
2856
- {
2857
- "name": "account",
2858
- "type": "address"
2859
- },
2860
- {
2861
- "name": "to_address",
2862
- "type": "address"
2863
- },
2864
- {
2865
- "name": "token_id",
2866
- "type": "0x3::token::TokenId"
2867
- },
2868
- {
2869
- "name": "amount",
2870
- "type": "u64"
2871
- }
2872
- ],
2873
- "variants": []
2874
- },
2875
- {
2876
- "name": "Claim",
2877
- "is_native": false,
2878
- "is_event": true,
2879
- "is_enum": false,
2880
- "abilities": [
2881
- "drop",
2882
- "store"
2883
- ],
2884
- "generic_type_params": [],
2885
- "fields": [
2886
- {
2887
- "name": "account",
2888
- "type": "address"
2889
- },
2890
- {
2891
- "name": "to_address",
2892
- "type": "address"
2893
- },
2894
- {
2895
- "name": "token_id",
2896
- "type": "0x3::token::TokenId"
2897
- },
2898
- {
2899
- "name": "amount",
2900
- "type": "u64"
2901
- }
2902
- ],
2903
- "variants": []
2904
- },
2905
- {
2906
- "name": "Offer",
2907
- "is_native": false,
2908
- "is_event": true,
2909
- "is_enum": false,
2910
- "abilities": [
2911
- "drop",
2912
- "store"
2913
- ],
2914
- "generic_type_params": [],
2915
- "fields": [
2916
- {
2917
- "name": "account",
2918
- "type": "address"
2919
- },
2920
- {
2921
- "name": "to_address",
2922
- "type": "address"
2923
- },
2924
- {
2925
- "name": "token_id",
2926
- "type": "0x3::token::TokenId"
2927
- },
2928
- {
2929
- "name": "amount",
2930
- "type": "u64"
2931
- }
2932
- ],
2933
- "variants": []
2934
- },
2935
- {
2936
- "name": "PendingClaims",
2937
- "is_native": false,
2938
- "is_event": false,
2939
- "is_enum": false,
2940
- "abilities": [
2941
- "key"
2942
- ],
2943
- "generic_type_params": [],
2944
- "fields": [
2945
- {
2946
- "name": "pending_claims",
2947
- "type": "0x1::table::Table<0x3::token_transfers::TokenOfferId, 0x3::token::Token>"
2948
- },
2949
- {
2950
- "name": "offer_events",
2951
- "type": "0x1::event::EventHandle<0x3::token_transfers::TokenOfferEvent>"
2952
- },
2953
- {
2954
- "name": "cancel_offer_events",
2955
- "type": "0x1::event::EventHandle<0x3::token_transfers::TokenCancelOfferEvent>"
2956
- },
2957
- {
2958
- "name": "claim_events",
2959
- "type": "0x1::event::EventHandle<0x3::token_transfers::TokenClaimEvent>"
2960
- }
2961
- ],
2962
- "variants": []
2963
- },
2964
- {
2965
- "name": "TokenCancelOffer",
2966
- "is_native": false,
2967
- "is_event": true,
2968
- "is_enum": false,
2969
- "abilities": [
2970
- "drop",
2971
- "store"
2972
- ],
2973
- "generic_type_params": [],
2974
- "fields": [
2975
- {
2976
- "name": "to_address",
2977
- "type": "address"
2978
- },
2979
- {
2980
- "name": "token_id",
2981
- "type": "0x3::token::TokenId"
2982
- },
2983
- {
2984
- "name": "amount",
2985
- "type": "u64"
2986
- }
2987
- ],
2988
- "variants": []
2989
- },
2990
- {
2991
- "name": "TokenCancelOfferEvent",
2992
- "is_native": false,
2993
- "is_event": true,
2994
- "is_enum": false,
2995
- "abilities": [
2996
- "drop",
2997
- "store"
2998
- ],
2999
- "generic_type_params": [],
3000
- "fields": [
3001
- {
3002
- "name": "to_address",
3003
- "type": "address"
3004
- },
3005
- {
3006
- "name": "token_id",
3007
- "type": "0x3::token::TokenId"
3008
- },
3009
- {
3010
- "name": "amount",
3011
- "type": "u64"
3012
- }
3013
- ],
3014
- "variants": []
3015
- },
3016
- {
3017
- "name": "TokenClaim",
3018
- "is_native": false,
3019
- "is_event": true,
3020
- "is_enum": false,
3021
- "abilities": [
3022
- "drop",
3023
- "store"
3024
- ],
3025
- "generic_type_params": [],
3026
- "fields": [
3027
- {
3028
- "name": "to_address",
3029
- "type": "address"
3030
- },
3031
- {
3032
- "name": "token_id",
3033
- "type": "0x3::token::TokenId"
3034
- },
3035
- {
3036
- "name": "amount",
3037
- "type": "u64"
3038
- }
3039
- ],
3040
- "variants": []
3041
- },
3042
- {
3043
- "name": "TokenClaimEvent",
3044
- "is_native": false,
3045
- "is_event": true,
3046
- "is_enum": false,
3047
- "abilities": [
3048
- "drop",
3049
- "store"
3050
- ],
3051
- "generic_type_params": [],
3052
- "fields": [
3053
- {
3054
- "name": "to_address",
3055
- "type": "address"
3056
- },
3057
- {
3058
- "name": "token_id",
3059
- "type": "0x3::token::TokenId"
3060
- },
3061
- {
3062
- "name": "amount",
3063
- "type": "u64"
3064
- }
3065
- ],
3066
- "variants": []
3067
- },
3068
- {
3069
- "name": "TokenOffer",
3070
- "is_native": false,
3071
- "is_event": true,
3072
- "is_enum": false,
3073
- "abilities": [
3074
- "drop",
3075
- "store"
3076
- ],
3077
- "generic_type_params": [],
3078
- "fields": [
3079
- {
3080
- "name": "to_address",
3081
- "type": "address"
3082
- },
3083
- {
3084
- "name": "token_id",
3085
- "type": "0x3::token::TokenId"
3086
- },
3087
- {
3088
- "name": "amount",
3089
- "type": "u64"
3090
- }
3091
- ],
3092
- "variants": []
3093
- },
3094
- {
3095
- "name": "TokenOfferEvent",
3096
- "is_native": false,
3097
- "is_event": true,
3098
- "is_enum": false,
3099
- "abilities": [
3100
- "drop",
3101
- "store"
3102
- ],
3103
- "generic_type_params": [],
3104
- "fields": [
3105
- {
3106
- "name": "to_address",
3107
- "type": "address"
3108
- },
3109
- {
3110
- "name": "token_id",
3111
- "type": "0x3::token::TokenId"
3112
- },
3113
- {
3114
- "name": "amount",
3115
- "type": "u64"
3116
- }
3117
- ],
3118
- "variants": []
3119
- },
3120
- {
3121
- "name": "TokenOfferId",
3122
- "is_native": false,
3123
- "is_event": true,
3124
- "is_enum": false,
3125
- "abilities": [
3126
- "copy",
3127
- "drop",
3128
- "store"
3129
- ],
3130
- "generic_type_params": [],
3131
- "fields": [
3132
- {
3133
- "name": "to_addr",
3134
- "type": "address"
3135
- },
3136
- {
3137
- "name": "token_id",
3138
- "type": "0x3::token::TokenId"
3139
- }
3140
- ],
3141
- "variants": []
3142
- }
3143
- ]
3144
- }
3145
- },
3146
- {
3147
- "abi": {
3148
- "address": "0x3",
3149
- "name": "token_event_store",
3150
- "friends": [
3151
- "0x3::token"
3152
- ],
3153
- "exposed_functions": [
3154
- {
3155
- "name": "emit_collection_description_mutate_event",
3156
- "visibility": "friend",
3157
- "is_entry": false,
3158
- "is_view": false,
3159
- "generic_type_params": [],
3160
- "params": [
3161
- "&signer",
3162
- "0x1::string::String",
3163
- "0x1::string::String",
3164
- "0x1::string::String"
3165
- ],
3166
- "return": []
3167
- },
3168
- {
3169
- "name": "emit_collection_maximum_mutate_event",
3170
- "visibility": "friend",
3171
- "is_entry": false,
3172
- "is_view": false,
3173
- "generic_type_params": [],
3174
- "params": [
3175
- "&signer",
3176
- "0x1::string::String",
3177
- "u64",
3178
- "u64"
3179
- ],
3180
- "return": []
3181
- },
3182
- {
3183
- "name": "emit_collection_uri_mutate_event",
3184
- "visibility": "friend",
3185
- "is_entry": false,
3186
- "is_view": false,
3187
- "generic_type_params": [],
3188
- "params": [
3189
- "&signer",
3190
- "0x1::string::String",
3191
- "0x1::string::String",
3192
- "0x1::string::String"
3193
- ],
3194
- "return": []
3195
- },
3196
- {
3197
- "name": "emit_default_property_mutate_event",
3198
- "visibility": "friend",
3199
- "is_entry": false,
3200
- "is_view": false,
3201
- "generic_type_params": [],
3202
- "params": [
3203
- "&signer",
3204
- "0x1::string::String",
3205
- "0x1::string::String",
3206
- "vector<0x1::string::String>",
3207
- "vector<0x1::option::Option<0x3::property_map::PropertyValue>>",
3208
- "vector<0x3::property_map::PropertyValue>"
3209
- ],
3210
- "return": []
3211
- },
3212
- {
3213
- "name": "emit_token_descrition_mutate_event",
3214
- "visibility": "friend",
3215
- "is_entry": false,
3216
- "is_view": false,
3217
- "generic_type_params": [],
3218
- "params": [
3219
- "&signer",
3220
- "0x1::string::String",
3221
- "0x1::string::String",
3222
- "0x1::string::String",
3223
- "0x1::string::String"
3224
- ],
3225
- "return": []
3226
- },
3227
- {
3228
- "name": "emit_token_maximum_mutate_event",
3229
- "visibility": "friend",
3230
- "is_entry": false,
3231
- "is_view": false,
3232
- "generic_type_params": [],
3233
- "params": [
3234
- "&signer",
3235
- "0x1::string::String",
3236
- "0x1::string::String",
3237
- "u64",
3238
- "u64"
3239
- ],
3240
- "return": []
3241
- },
3242
- {
3243
- "name": "emit_token_opt_in_event",
3244
- "visibility": "friend",
3245
- "is_entry": false,
3246
- "is_view": false,
3247
- "generic_type_params": [],
3248
- "params": [
3249
- "&signer",
3250
- "bool"
3251
- ],
3252
- "return": []
3253
- },
3254
- {
3255
- "name": "emit_token_royalty_mutate_event",
3256
- "visibility": "friend",
3257
- "is_entry": false,
3258
- "is_view": false,
3259
- "generic_type_params": [],
3260
- "params": [
3261
- "&signer",
3262
- "0x1::string::String",
3263
- "0x1::string::String",
3264
- "u64",
3265
- "u64",
3266
- "address",
3267
- "u64",
3268
- "u64",
3269
- "address"
3270
- ],
3271
- "return": []
3272
- },
3273
- {
3274
- "name": "emit_token_uri_mutate_event",
3275
- "visibility": "friend",
3276
- "is_entry": false,
3277
- "is_view": false,
3278
- "generic_type_params": [],
3279
- "params": [
3280
- "&signer",
3281
- "0x1::string::String",
3282
- "0x1::string::String",
3283
- "0x1::string::String",
3284
- "0x1::string::String"
3285
- ],
3286
- "return": []
3287
- }
3288
- ],
3289
- "structs": [
3290
- {
3291
- "name": "CollectionDescriptionMutate",
3292
- "is_native": false,
3293
- "is_event": true,
3294
- "is_enum": false,
3295
- "abilities": [
3296
- "drop",
3297
- "store"
3298
- ],
3299
- "generic_type_params": [],
3300
- "fields": [
3301
- {
3302
- "name": "creator_addr",
3303
- "type": "address"
3304
- },
3305
- {
3306
- "name": "collection_name",
3307
- "type": "0x1::string::String"
3308
- },
3309
- {
3310
- "name": "old_description",
3311
- "type": "0x1::string::String"
3312
- },
3313
- {
3314
- "name": "new_description",
3315
- "type": "0x1::string::String"
3316
- }
3317
- ],
3318
- "variants": []
3319
- },
3320
- {
3321
- "name": "CollectionDescriptionMutateEvent",
3322
- "is_native": false,
3323
- "is_event": false,
3324
- "is_enum": false,
3325
- "abilities": [
3326
- "drop",
3327
- "store"
3328
- ],
3329
- "generic_type_params": [],
3330
- "fields": [
3331
- {
3332
- "name": "creator_addr",
3333
- "type": "address"
3334
- },
3335
- {
3336
- "name": "collection_name",
3337
- "type": "0x1::string::String"
3338
- },
3339
- {
3340
- "name": "old_description",
3341
- "type": "0x1::string::String"
3342
- },
3343
- {
3344
- "name": "new_description",
3345
- "type": "0x1::string::String"
3346
- }
3347
- ],
3348
- "variants": []
3349
- },
3350
- {
3351
- "name": "CollectionMaximumMutate",
3352
- "is_native": false,
3353
- "is_event": true,
3354
- "is_enum": false,
3355
- "abilities": [
3356
- "drop",
3357
- "store"
3358
- ],
3359
- "generic_type_params": [],
3360
- "fields": [
3361
- {
3362
- "name": "creator_addr",
3363
- "type": "address"
3364
- },
3365
- {
3366
- "name": "collection_name",
3367
- "type": "0x1::string::String"
3368
- },
3369
- {
3370
- "name": "old_maximum",
3371
- "type": "u64"
3372
- },
3373
- {
3374
- "name": "new_maximum",
3375
- "type": "u64"
3376
- }
3377
- ],
3378
- "variants": []
3379
- },
3380
- {
3381
- "name": "CollectionMaxiumMutate",
3382
- "is_native": false,
3383
- "is_event": true,
3384
- "is_enum": false,
3385
- "abilities": [
3386
- "drop",
3387
- "store"
3388
- ],
3389
- "generic_type_params": [],
3390
- "fields": [
3391
- {
3392
- "name": "creator_addr",
3393
- "type": "address"
3394
- },
3395
- {
3396
- "name": "collection_name",
3397
- "type": "0x1::string::String"
3398
- },
3399
- {
3400
- "name": "old_maximum",
3401
- "type": "u64"
3402
- },
3403
- {
3404
- "name": "new_maximum",
3405
- "type": "u64"
3406
- }
3407
- ],
3408
- "variants": []
3409
- },
3410
- {
3411
- "name": "CollectionMaxiumMutateEvent",
3412
- "is_native": false,
3413
- "is_event": false,
3414
- "is_enum": false,
3415
- "abilities": [
3416
- "drop",
3417
- "store"
3418
- ],
3419
- "generic_type_params": [],
3420
- "fields": [
3421
- {
3422
- "name": "creator_addr",
3423
- "type": "address"
3424
- },
3425
- {
3426
- "name": "collection_name",
3427
- "type": "0x1::string::String"
3428
- },
3429
- {
3430
- "name": "old_maximum",
3431
- "type": "u64"
3432
- },
3433
- {
3434
- "name": "new_maximum",
3435
- "type": "u64"
3436
- }
3437
- ],
3438
- "variants": []
3439
- },
3440
- {
3441
- "name": "CollectionUriMutate",
3442
- "is_native": false,
3443
- "is_event": true,
3444
- "is_enum": false,
3445
- "abilities": [
3446
- "drop",
3447
- "store"
3448
- ],
3449
- "generic_type_params": [],
3450
- "fields": [
3451
- {
3452
- "name": "creator_addr",
3453
- "type": "address"
3454
- },
3455
- {
3456
- "name": "collection_name",
3457
- "type": "0x1::string::String"
3458
- },
3459
- {
3460
- "name": "old_uri",
3461
- "type": "0x1::string::String"
3462
- },
3463
- {
3464
- "name": "new_uri",
3465
- "type": "0x1::string::String"
3466
- }
3467
- ],
3468
- "variants": []
3469
- },
3470
- {
3471
- "name": "CollectionUriMutateEvent",
3472
- "is_native": false,
3473
- "is_event": false,
3474
- "is_enum": false,
3475
- "abilities": [
3476
- "drop",
3477
- "store"
3478
- ],
3479
- "generic_type_params": [],
3480
- "fields": [
3481
- {
3482
- "name": "creator_addr",
3483
- "type": "address"
3484
- },
3485
- {
3486
- "name": "collection_name",
3487
- "type": "0x1::string::String"
3488
- },
3489
- {
3490
- "name": "old_uri",
3491
- "type": "0x1::string::String"
3492
- },
3493
- {
3494
- "name": "new_uri",
3495
- "type": "0x1::string::String"
3496
- }
3497
- ],
3498
- "variants": []
3499
- },
3500
- {
3501
- "name": "DefaultPropertyMutate",
3502
- "is_native": false,
3503
- "is_event": true,
3504
- "is_enum": false,
3505
- "abilities": [
3506
- "drop",
3507
- "store"
3508
- ],
3509
- "generic_type_params": [],
3510
- "fields": [
3511
- {
3512
- "name": "creator",
3513
- "type": "address"
3514
- },
3515
- {
3516
- "name": "collection",
3517
- "type": "0x1::string::String"
3518
- },
3519
- {
3520
- "name": "token",
3521
- "type": "0x1::string::String"
3522
- },
3523
- {
3524
- "name": "keys",
3525
- "type": "vector<0x1::string::String>"
3526
- },
3527
- {
3528
- "name": "old_values",
3529
- "type": "vector<0x1::option::Option<0x3::property_map::PropertyValue>>"
3530
- },
3531
- {
3532
- "name": "new_values",
3533
- "type": "vector<0x3::property_map::PropertyValue>"
3534
- }
3535
- ],
3536
- "variants": []
3537
- },
3538
- {
3539
- "name": "DefaultPropertyMutateEvent",
3540
- "is_native": false,
3541
- "is_event": false,
3542
- "is_enum": false,
3543
- "abilities": [
3544
- "drop",
3545
- "store"
3546
- ],
3547
- "generic_type_params": [],
3548
- "fields": [
3549
- {
3550
- "name": "creator",
3551
- "type": "address"
3552
- },
3553
- {
3554
- "name": "collection",
3555
- "type": "0x1::string::String"
3556
- },
3557
- {
3558
- "name": "token",
3559
- "type": "0x1::string::String"
3560
- },
3561
- {
3562
- "name": "keys",
3563
- "type": "vector<0x1::string::String>"
3564
- },
3565
- {
3566
- "name": "old_values",
3567
- "type": "vector<0x1::option::Option<0x3::property_map::PropertyValue>>"
3568
- },
3569
- {
3570
- "name": "new_values",
3571
- "type": "vector<0x3::property_map::PropertyValue>"
3572
- }
3573
- ],
3574
- "variants": []
3575
- },
3576
- {
3577
- "name": "DescriptionMutate",
3578
- "is_native": false,
3579
- "is_event": true,
3580
- "is_enum": false,
3581
- "abilities": [
3582
- "drop",
3583
- "store"
3584
- ],
3585
- "generic_type_params": [],
3586
- "fields": [
3587
- {
3588
- "name": "creator",
3589
- "type": "address"
3590
- },
3591
- {
3592
- "name": "collection",
3593
- "type": "0x1::string::String"
3594
- },
3595
- {
3596
- "name": "token",
3597
- "type": "0x1::string::String"
3598
- },
3599
- {
3600
- "name": "old_description",
3601
- "type": "0x1::string::String"
3602
- },
3603
- {
3604
- "name": "new_description",
3605
- "type": "0x1::string::String"
3606
- }
3607
- ],
3608
- "variants": []
3609
- },
3610
- {
3611
- "name": "DescriptionMutateEvent",
3612
- "is_native": false,
3613
- "is_event": false,
3614
- "is_enum": false,
3615
- "abilities": [
3616
- "drop",
3617
- "store"
3618
- ],
3619
- "generic_type_params": [],
3620
- "fields": [
3621
- {
3622
- "name": "creator",
3623
- "type": "address"
3624
- },
3625
- {
3626
- "name": "collection",
3627
- "type": "0x1::string::String"
3628
- },
3629
- {
3630
- "name": "token",
3631
- "type": "0x1::string::String"
3632
- },
3633
- {
3634
- "name": "old_description",
3635
- "type": "0x1::string::String"
3636
- },
3637
- {
3638
- "name": "new_description",
3639
- "type": "0x1::string::String"
3640
- }
3641
- ],
3642
- "variants": []
3643
- },
3644
- {
3645
- "name": "MaximumMutate",
3646
- "is_native": false,
3647
- "is_event": true,
3648
- "is_enum": false,
3649
- "abilities": [
3650
- "drop",
3651
- "store"
3652
- ],
3653
- "generic_type_params": [],
3654
- "fields": [
3655
- {
3656
- "name": "creator",
3657
- "type": "address"
3658
- },
3659
- {
3660
- "name": "collection",
3661
- "type": "0x1::string::String"
3662
- },
3663
- {
3664
- "name": "token",
3665
- "type": "0x1::string::String"
3666
- },
3667
- {
3668
- "name": "old_maximum",
3669
- "type": "u64"
3670
- },
3671
- {
3672
- "name": "new_maximum",
3673
- "type": "u64"
3674
- }
3675
- ],
3676
- "variants": []
3677
- },
3678
- {
3679
- "name": "MaxiumMutateEvent",
3680
- "is_native": false,
3681
- "is_event": false,
3682
- "is_enum": false,
3683
- "abilities": [
3684
- "drop",
3685
- "store"
3686
- ],
3687
- "generic_type_params": [],
3688
- "fields": [
3689
- {
3690
- "name": "creator",
3691
- "type": "address"
3692
- },
3693
- {
3694
- "name": "collection",
3695
- "type": "0x1::string::String"
3696
- },
3697
- {
3698
- "name": "token",
3699
- "type": "0x1::string::String"
3700
- },
3701
- {
3702
- "name": "old_maximum",
3703
- "type": "u64"
3704
- },
3705
- {
3706
- "name": "new_maximum",
3707
- "type": "u64"
3708
- }
3709
- ],
3710
- "variants": []
3711
- },
3712
- {
3713
- "name": "OptInTransfer",
3714
- "is_native": false,
3715
- "is_event": true,
3716
- "is_enum": false,
3717
- "abilities": [
3718
- "drop",
3719
- "store"
3720
- ],
3721
- "generic_type_params": [],
3722
- "fields": [
3723
- {
3724
- "name": "account_address",
3725
- "type": "address"
3726
- },
3727
- {
3728
- "name": "opt_in",
3729
- "type": "bool"
3730
- }
3731
- ],
3732
- "variants": []
3733
- },
3734
- {
3735
- "name": "OptInTransferEvent",
3736
- "is_native": false,
3737
- "is_event": false,
3738
- "is_enum": false,
3739
- "abilities": [
3740
- "drop",
3741
- "store"
3742
- ],
3743
- "generic_type_params": [],
3744
- "fields": [
3745
- {
3746
- "name": "opt_in",
3747
- "type": "bool"
3748
- }
3749
- ],
3750
- "variants": []
3751
- },
3752
- {
3753
- "name": "RoyaltyMutate",
3754
- "is_native": false,
3755
- "is_event": true,
3756
- "is_enum": false,
3757
- "abilities": [
3758
- "drop",
3759
- "store"
3760
- ],
3761
- "generic_type_params": [],
3762
- "fields": [
3763
- {
3764
- "name": "creator",
3765
- "type": "address"
3766
- },
3767
- {
3768
- "name": "collection",
3769
- "type": "0x1::string::String"
3770
- },
3771
- {
3772
- "name": "token",
3773
- "type": "0x1::string::String"
3774
- },
3775
- {
3776
- "name": "old_royalty_numerator",
3777
- "type": "u64"
3778
- },
3779
- {
3780
- "name": "old_royalty_denominator",
3781
- "type": "u64"
3782
- },
3783
- {
3784
- "name": "old_royalty_payee_addr",
3785
- "type": "address"
3786
- },
3787
- {
3788
- "name": "new_royalty_numerator",
3789
- "type": "u64"
3790
- },
3791
- {
3792
- "name": "new_royalty_denominator",
3793
- "type": "u64"
3794
- },
3795
- {
3796
- "name": "new_royalty_payee_addr",
3797
- "type": "address"
3798
- }
3799
- ],
3800
- "variants": []
3801
- },
3802
- {
3803
- "name": "RoyaltyMutateEvent",
3804
- "is_native": false,
3805
- "is_event": false,
3806
- "is_enum": false,
3807
- "abilities": [
3808
- "drop",
3809
- "store"
3810
- ],
3811
- "generic_type_params": [],
3812
- "fields": [
3813
- {
3814
- "name": "creator",
3815
- "type": "address"
3816
- },
3817
- {
3818
- "name": "collection",
3819
- "type": "0x1::string::String"
3820
- },
3821
- {
3822
- "name": "token",
3823
- "type": "0x1::string::String"
3824
- },
3825
- {
3826
- "name": "old_royalty_numerator",
3827
- "type": "u64"
3828
- },
3829
- {
3830
- "name": "old_royalty_denominator",
3831
- "type": "u64"
3832
- },
3833
- {
3834
- "name": "old_royalty_payee_addr",
3835
- "type": "address"
3836
- },
3837
- {
3838
- "name": "new_royalty_numerator",
3839
- "type": "u64"
3840
- },
3841
- {
3842
- "name": "new_royalty_denominator",
3843
- "type": "u64"
3844
- },
3845
- {
3846
- "name": "new_royalty_payee_addr",
3847
- "type": "address"
3848
- }
3849
- ],
3850
- "variants": []
3851
- },
3852
- {
3853
- "name": "TokenEventStoreV1",
3854
- "is_native": false,
3855
- "is_event": false,
3856
- "is_enum": false,
3857
- "abilities": [
3858
- "key"
3859
- ],
3860
- "generic_type_params": [],
3861
- "fields": [
3862
- {
3863
- "name": "collection_uri_mutate_events",
3864
- "type": "0x1::event::EventHandle<0x3::token_event_store::CollectionUriMutateEvent>"
3865
- },
3866
- {
3867
- "name": "collection_maximum_mutate_events",
3868
- "type": "0x1::event::EventHandle<0x3::token_event_store::CollectionMaxiumMutateEvent>"
3869
- },
3870
- {
3871
- "name": "collection_description_mutate_events",
3872
- "type": "0x1::event::EventHandle<0x3::token_event_store::CollectionDescriptionMutateEvent>"
3873
- },
3874
- {
3875
- "name": "opt_in_events",
3876
- "type": "0x1::event::EventHandle<0x3::token_event_store::OptInTransferEvent>"
3877
- },
3878
- {
3879
- "name": "uri_mutate_events",
3880
- "type": "0x1::event::EventHandle<0x3::token_event_store::UriMutationEvent>"
3881
- },
3882
- {
3883
- "name": "default_property_mutate_events",
3884
- "type": "0x1::event::EventHandle<0x3::token_event_store::DefaultPropertyMutateEvent>"
3885
- },
3886
- {
3887
- "name": "description_mutate_events",
3888
- "type": "0x1::event::EventHandle<0x3::token_event_store::DescriptionMutateEvent>"
3889
- },
3890
- {
3891
- "name": "royalty_mutate_events",
3892
- "type": "0x1::event::EventHandle<0x3::token_event_store::RoyaltyMutateEvent>"
3893
- },
3894
- {
3895
- "name": "maximum_mutate_events",
3896
- "type": "0x1::event::EventHandle<0x3::token_event_store::MaxiumMutateEvent>"
3897
- },
3898
- {
3899
- "name": "extension",
3900
- "type": "0x1::option::Option<0x1::any::Any>"
3901
- }
3902
- ],
3903
- "variants": []
3904
- },
3905
- {
3906
- "name": "UriMutation",
3907
- "is_native": false,
3908
- "is_event": true,
3909
- "is_enum": false,
3910
- "abilities": [
3911
- "drop",
3912
- "store"
3913
- ],
3914
- "generic_type_params": [],
3915
- "fields": [
3916
- {
3917
- "name": "creator",
3918
- "type": "address"
3919
- },
3920
- {
3921
- "name": "collection",
3922
- "type": "0x1::string::String"
3923
- },
3924
- {
3925
- "name": "token",
3926
- "type": "0x1::string::String"
3927
- },
3928
- {
3929
- "name": "old_uri",
3930
- "type": "0x1::string::String"
3931
- },
3932
- {
3933
- "name": "new_uri",
3934
- "type": "0x1::string::String"
3935
- }
3936
- ],
3937
- "variants": []
3938
- },
3939
- {
3940
- "name": "UriMutationEvent",
3941
- "is_native": false,
3942
- "is_event": false,
3943
- "is_enum": false,
3944
- "abilities": [
3945
- "drop",
3946
- "store"
3947
- ],
3948
- "generic_type_params": [],
3949
- "fields": [
3950
- {
3951
- "name": "creator",
3952
- "type": "address"
3953
- },
3954
- {
3955
- "name": "collection",
3956
- "type": "0x1::string::String"
3957
- },
3958
- {
3959
- "name": "token",
3960
- "type": "0x1::string::String"
3961
- },
3962
- {
3963
- "name": "old_uri",
3964
- "type": "0x1::string::String"
3965
- },
3966
- {
3967
- "name": "new_uri",
3968
- "type": "0x1::string::String"
3969
- }
3970
- ],
3971
- "variants": []
3972
- }
3973
- ]
3974
- }
3975
- }
3976
- ]