@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/0x4.json DELETED
@@ -1,2844 +0,0 @@
1
- [
2
- {
3
- "abi": {
4
- "address": "0x4",
5
- "name": "token",
6
- "friends": [],
7
- "exposed_functions": [
8
- {
9
- "name": "royalty",
10
- "visibility": "public",
11
- "is_entry": false,
12
- "is_view": true,
13
- "generic_type_params": [
14
- {
15
- "constraints": [
16
- "key"
17
- ]
18
- }
19
- ],
20
- "params": [
21
- "0x1::object::Object<T0>"
22
- ],
23
- "return": [
24
- "0x1::option::Option<0x4::royalty::Royalty>"
25
- ]
26
- },
27
- {
28
- "name": "index",
29
- "visibility": "public",
30
- "is_entry": false,
31
- "is_view": true,
32
- "generic_type_params": [
33
- {
34
- "constraints": [
35
- "key"
36
- ]
37
- }
38
- ],
39
- "params": [
40
- "0x1::object::Object<T0>"
41
- ],
42
- "return": [
43
- "u64"
44
- ]
45
- },
46
- {
47
- "name": "create",
48
- "visibility": "public",
49
- "is_entry": false,
50
- "is_view": false,
51
- "generic_type_params": [],
52
- "params": [
53
- "&signer",
54
- "0x1::string::String",
55
- "0x1::string::String",
56
- "0x1::string::String",
57
- "0x1::option::Option<0x4::royalty::Royalty>",
58
- "0x1::string::String"
59
- ],
60
- "return": [
61
- "0x1::object::ConstructorRef"
62
- ]
63
- },
64
- {
65
- "name": "burn",
66
- "visibility": "public",
67
- "is_entry": false,
68
- "is_view": false,
69
- "generic_type_params": [],
70
- "params": [
71
- "0x4::token::BurnRef"
72
- ],
73
- "return": []
74
- },
75
- {
76
- "name": "creator",
77
- "visibility": "public",
78
- "is_entry": false,
79
- "is_view": true,
80
- "generic_type_params": [
81
- {
82
- "constraints": [
83
- "key"
84
- ]
85
- }
86
- ],
87
- "params": [
88
- "0x1::object::Object<T0>"
89
- ],
90
- "return": [
91
- "address"
92
- ]
93
- },
94
- {
95
- "name": "name",
96
- "visibility": "public",
97
- "is_entry": false,
98
- "is_view": true,
99
- "generic_type_params": [
100
- {
101
- "constraints": [
102
- "key"
103
- ]
104
- }
105
- ],
106
- "params": [
107
- "0x1::object::Object<T0>"
108
- ],
109
- "return": [
110
- "0x1::string::String"
111
- ]
112
- },
113
- {
114
- "name": "generate_burn_ref",
115
- "visibility": "public",
116
- "is_entry": false,
117
- "is_view": false,
118
- "generic_type_params": [],
119
- "params": [
120
- "&0x1::object::ConstructorRef"
121
- ],
122
- "return": [
123
- "0x4::token::BurnRef"
124
- ]
125
- },
126
- {
127
- "name": "generate_mutator_ref",
128
- "visibility": "public",
129
- "is_entry": false,
130
- "is_view": false,
131
- "generic_type_params": [],
132
- "params": [
133
- "&0x1::object::ConstructorRef"
134
- ],
135
- "return": [
136
- "0x4::token::MutatorRef"
137
- ]
138
- },
139
- {
140
- "name": "description",
141
- "visibility": "public",
142
- "is_entry": false,
143
- "is_view": true,
144
- "generic_type_params": [
145
- {
146
- "constraints": [
147
- "key"
148
- ]
149
- }
150
- ],
151
- "params": [
152
- "0x1::object::Object<T0>"
153
- ],
154
- "return": [
155
- "0x1::string::String"
156
- ]
157
- },
158
- {
159
- "name": "uri",
160
- "visibility": "public",
161
- "is_entry": false,
162
- "is_view": true,
163
- "generic_type_params": [
164
- {
165
- "constraints": [
166
- "key"
167
- ]
168
- }
169
- ],
170
- "params": [
171
- "0x1::object::Object<T0>"
172
- ],
173
- "return": [
174
- "0x1::string::String"
175
- ]
176
- },
177
- {
178
- "name": "set_description",
179
- "visibility": "public",
180
- "is_entry": false,
181
- "is_view": false,
182
- "generic_type_params": [],
183
- "params": [
184
- "&0x4::token::MutatorRef",
185
- "0x1::string::String"
186
- ],
187
- "return": []
188
- },
189
- {
190
- "name": "set_name",
191
- "visibility": "public",
192
- "is_entry": false,
193
- "is_view": false,
194
- "generic_type_params": [],
195
- "params": [
196
- "&0x4::token::MutatorRef",
197
- "0x1::string::String"
198
- ],
199
- "return": []
200
- },
201
- {
202
- "name": "set_uri",
203
- "visibility": "public",
204
- "is_entry": false,
205
- "is_view": false,
206
- "generic_type_params": [],
207
- "params": [
208
- "&0x4::token::MutatorRef",
209
- "0x1::string::String"
210
- ],
211
- "return": []
212
- },
213
- {
214
- "name": "address_from_burn_ref",
215
- "visibility": "public",
216
- "is_entry": false,
217
- "is_view": false,
218
- "generic_type_params": [],
219
- "params": [
220
- "&0x4::token::BurnRef"
221
- ],
222
- "return": [
223
- "address"
224
- ]
225
- },
226
- {
227
- "name": "collection_name",
228
- "visibility": "public",
229
- "is_entry": false,
230
- "is_view": true,
231
- "generic_type_params": [
232
- {
233
- "constraints": [
234
- "key"
235
- ]
236
- }
237
- ],
238
- "params": [
239
- "0x1::object::Object<T0>"
240
- ],
241
- "return": [
242
- "0x1::string::String"
243
- ]
244
- },
245
- {
246
- "name": "collection_object",
247
- "visibility": "public",
248
- "is_entry": false,
249
- "is_view": true,
250
- "generic_type_params": [
251
- {
252
- "constraints": [
253
- "key"
254
- ]
255
- }
256
- ],
257
- "params": [
258
- "0x1::object::Object<T0>"
259
- ],
260
- "return": [
261
- "0x1::object::Object<0x4::collection::Collection>"
262
- ]
263
- },
264
- {
265
- "name": "create_from_account",
266
- "visibility": "public",
267
- "is_entry": false,
268
- "is_view": false,
269
- "generic_type_params": [],
270
- "params": [
271
- "&signer",
272
- "0x1::string::String",
273
- "0x1::string::String",
274
- "0x1::string::String",
275
- "0x1::option::Option<0x4::royalty::Royalty>",
276
- "0x1::string::String"
277
- ],
278
- "return": [
279
- "0x1::object::ConstructorRef"
280
- ]
281
- },
282
- {
283
- "name": "create_named_token",
284
- "visibility": "public",
285
- "is_entry": false,
286
- "is_view": false,
287
- "generic_type_params": [],
288
- "params": [
289
- "&signer",
290
- "0x1::string::String",
291
- "0x1::string::String",
292
- "0x1::string::String",
293
- "0x1::option::Option<0x4::royalty::Royalty>",
294
- "0x1::string::String"
295
- ],
296
- "return": [
297
- "0x1::object::ConstructorRef"
298
- ]
299
- },
300
- {
301
- "name": "create_named_token_as_collection_owner",
302
- "visibility": "public",
303
- "is_entry": false,
304
- "is_view": false,
305
- "generic_type_params": [],
306
- "params": [
307
- "&signer",
308
- "0x1::object::Object<0x4::collection::Collection>",
309
- "0x1::string::String",
310
- "0x1::string::String",
311
- "0x1::option::Option<0x4::royalty::Royalty>",
312
- "0x1::string::String"
313
- ],
314
- "return": [
315
- "0x1::object::ConstructorRef"
316
- ]
317
- },
318
- {
319
- "name": "create_named_token_from_seed",
320
- "visibility": "public",
321
- "is_entry": false,
322
- "is_view": false,
323
- "generic_type_params": [],
324
- "params": [
325
- "&signer",
326
- "0x1::object::Object<0x4::collection::Collection>",
327
- "0x1::string::String",
328
- "0x1::string::String",
329
- "0x1::string::String",
330
- "0x1::option::Option<0x4::royalty::Royalty>",
331
- "0x1::string::String"
332
- ],
333
- "return": [
334
- "0x1::object::ConstructorRef"
335
- ]
336
- },
337
- {
338
- "name": "create_named_token_from_seed_as_collection_owner",
339
- "visibility": "public",
340
- "is_entry": false,
341
- "is_view": false,
342
- "generic_type_params": [],
343
- "params": [
344
- "&signer",
345
- "0x1::object::Object<0x4::collection::Collection>",
346
- "0x1::string::String",
347
- "0x1::string::String",
348
- "0x1::string::String",
349
- "0x1::option::Option<0x4::royalty::Royalty>",
350
- "0x1::string::String"
351
- ],
352
- "return": [
353
- "0x1::object::ConstructorRef"
354
- ]
355
- },
356
- {
357
- "name": "create_named_token_object",
358
- "visibility": "public",
359
- "is_entry": false,
360
- "is_view": false,
361
- "generic_type_params": [],
362
- "params": [
363
- "&signer",
364
- "0x1::object::Object<0x4::collection::Collection>",
365
- "0x1::string::String",
366
- "0x1::string::String",
367
- "0x1::option::Option<0x4::royalty::Royalty>",
368
- "0x1::string::String"
369
- ],
370
- "return": [
371
- "0x1::object::ConstructorRef"
372
- ]
373
- },
374
- {
375
- "name": "create_numbered_token",
376
- "visibility": "public",
377
- "is_entry": false,
378
- "is_view": false,
379
- "generic_type_params": [],
380
- "params": [
381
- "&signer",
382
- "0x1::string::String",
383
- "0x1::string::String",
384
- "0x1::string::String",
385
- "0x1::string::String",
386
- "0x1::option::Option<0x4::royalty::Royalty>",
387
- "0x1::string::String"
388
- ],
389
- "return": [
390
- "0x1::object::ConstructorRef"
391
- ]
392
- },
393
- {
394
- "name": "create_numbered_token_as_collection_owner",
395
- "visibility": "public",
396
- "is_entry": false,
397
- "is_view": false,
398
- "generic_type_params": [],
399
- "params": [
400
- "&signer",
401
- "0x1::object::Object<0x4::collection::Collection>",
402
- "0x1::string::String",
403
- "0x1::string::String",
404
- "0x1::string::String",
405
- "0x1::option::Option<0x4::royalty::Royalty>",
406
- "0x1::string::String"
407
- ],
408
- "return": [
409
- "0x1::object::ConstructorRef"
410
- ]
411
- },
412
- {
413
- "name": "create_numbered_token_object",
414
- "visibility": "public",
415
- "is_entry": false,
416
- "is_view": false,
417
- "generic_type_params": [],
418
- "params": [
419
- "&signer",
420
- "0x1::object::Object<0x4::collection::Collection>",
421
- "0x1::string::String",
422
- "0x1::string::String",
423
- "0x1::string::String",
424
- "0x1::option::Option<0x4::royalty::Royalty>",
425
- "0x1::string::String"
426
- ],
427
- "return": [
428
- "0x1::object::ConstructorRef"
429
- ]
430
- },
431
- {
432
- "name": "create_token",
433
- "visibility": "public",
434
- "is_entry": false,
435
- "is_view": false,
436
- "generic_type_params": [],
437
- "params": [
438
- "&signer",
439
- "0x1::object::Object<0x4::collection::Collection>",
440
- "0x1::string::String",
441
- "0x1::string::String",
442
- "0x1::option::Option<0x4::royalty::Royalty>",
443
- "0x1::string::String"
444
- ],
445
- "return": [
446
- "0x1::object::ConstructorRef"
447
- ]
448
- },
449
- {
450
- "name": "create_token_address",
451
- "visibility": "public",
452
- "is_entry": false,
453
- "is_view": false,
454
- "generic_type_params": [],
455
- "params": [
456
- "&address",
457
- "&0x1::string::String",
458
- "&0x1::string::String"
459
- ],
460
- "return": [
461
- "address"
462
- ]
463
- },
464
- {
465
- "name": "create_token_address_with_seed",
466
- "visibility": "public",
467
- "is_entry": false,
468
- "is_view": true,
469
- "generic_type_params": [],
470
- "params": [
471
- "address",
472
- "0x1::string::String",
473
- "0x1::string::String",
474
- "0x1::string::String"
475
- ],
476
- "return": [
477
- "address"
478
- ]
479
- },
480
- {
481
- "name": "create_token_as_collection_owner",
482
- "visibility": "public",
483
- "is_entry": false,
484
- "is_view": false,
485
- "generic_type_params": [],
486
- "params": [
487
- "&signer",
488
- "0x1::object::Object<0x4::collection::Collection>",
489
- "0x1::string::String",
490
- "0x1::string::String",
491
- "0x1::option::Option<0x4::royalty::Royalty>",
492
- "0x1::string::String"
493
- ],
494
- "return": [
495
- "0x1::object::ConstructorRef"
496
- ]
497
- },
498
- {
499
- "name": "create_token_name_with_seed",
500
- "visibility": "public",
501
- "is_entry": false,
502
- "is_view": false,
503
- "generic_type_params": [],
504
- "params": [
505
- "&0x1::string::String",
506
- "&0x1::string::String",
507
- "&0x1::string::String"
508
- ],
509
- "return": [
510
- "vector<u8>"
511
- ]
512
- },
513
- {
514
- "name": "create_token_seed",
515
- "visibility": "public",
516
- "is_entry": false,
517
- "is_view": false,
518
- "generic_type_params": [],
519
- "params": [
520
- "&0x1::string::String",
521
- "&0x1::string::String"
522
- ],
523
- "return": [
524
- "vector<u8>"
525
- ]
526
- }
527
- ],
528
- "structs": [
529
- {
530
- "name": "BurnRef",
531
- "is_native": false,
532
- "is_event": false,
533
- "is_enum": false,
534
- "abilities": [
535
- "drop",
536
- "store"
537
- ],
538
- "generic_type_params": [],
539
- "fields": [
540
- {
541
- "name": "inner",
542
- "type": "0x1::option::Option<0x1::object::DeleteRef>"
543
- },
544
- {
545
- "name": "self",
546
- "type": "0x1::option::Option<address>"
547
- }
548
- ],
549
- "variants": []
550
- },
551
- {
552
- "name": "MutatorRef",
553
- "is_native": false,
554
- "is_event": false,
555
- "is_enum": false,
556
- "abilities": [
557
- "drop",
558
- "store"
559
- ],
560
- "generic_type_params": [],
561
- "fields": [
562
- {
563
- "name": "self",
564
- "type": "address"
565
- }
566
- ],
567
- "variants": []
568
- },
569
- {
570
- "name": "Mutation",
571
- "is_native": false,
572
- "is_event": true,
573
- "is_enum": false,
574
- "abilities": [
575
- "drop",
576
- "store"
577
- ],
578
- "generic_type_params": [],
579
- "fields": [
580
- {
581
- "name": "token_address",
582
- "type": "address"
583
- },
584
- {
585
- "name": "mutated_field_name",
586
- "type": "0x1::string::String"
587
- },
588
- {
589
- "name": "old_value",
590
- "type": "0x1::string::String"
591
- },
592
- {
593
- "name": "new_value",
594
- "type": "0x1::string::String"
595
- }
596
- ],
597
- "variants": []
598
- },
599
- {
600
- "name": "MutationEvent",
601
- "is_native": false,
602
- "is_event": false,
603
- "is_enum": false,
604
- "abilities": [
605
- "drop",
606
- "store"
607
- ],
608
- "generic_type_params": [],
609
- "fields": [
610
- {
611
- "name": "mutated_field_name",
612
- "type": "0x1::string::String"
613
- },
614
- {
615
- "name": "old_value",
616
- "type": "0x1::string::String"
617
- },
618
- {
619
- "name": "new_value",
620
- "type": "0x1::string::String"
621
- }
622
- ],
623
- "variants": []
624
- },
625
- {
626
- "name": "ConcurrentTokenIdentifiers",
627
- "is_native": false,
628
- "is_event": false,
629
- "is_enum": false,
630
- "abilities": [
631
- "key"
632
- ],
633
- "generic_type_params": [],
634
- "fields": [
635
- {
636
- "name": "index",
637
- "type": "0x1::aggregator_v2::AggregatorSnapshot<u64>"
638
- },
639
- {
640
- "name": "name",
641
- "type": "0x1::aggregator_v2::AggregatorSnapshot<0x1::string::String>"
642
- }
643
- ],
644
- "variants": []
645
- },
646
- {
647
- "name": "Token",
648
- "is_native": false,
649
- "is_event": false,
650
- "is_enum": false,
651
- "abilities": [
652
- "key"
653
- ],
654
- "generic_type_params": [],
655
- "fields": [
656
- {
657
- "name": "collection",
658
- "type": "0x1::object::Object<0x4::collection::Collection>"
659
- },
660
- {
661
- "name": "index",
662
- "type": "u64"
663
- },
664
- {
665
- "name": "description",
666
- "type": "0x1::string::String"
667
- },
668
- {
669
- "name": "name",
670
- "type": "0x1::string::String"
671
- },
672
- {
673
- "name": "uri",
674
- "type": "0x1::string::String"
675
- },
676
- {
677
- "name": "mutation_events",
678
- "type": "0x1::event::EventHandle<0x4::token::MutationEvent>"
679
- }
680
- ],
681
- "variants": []
682
- },
683
- {
684
- "name": "TokenIdentifiers",
685
- "is_native": false,
686
- "is_event": false,
687
- "is_enum": false,
688
- "abilities": [
689
- "key"
690
- ],
691
- "generic_type_params": [],
692
- "fields": [
693
- {
694
- "name": "index",
695
- "type": "0x1::aggregator_v2::AggregatorSnapshot<u64>"
696
- },
697
- {
698
- "name": "name",
699
- "type": "0x1::aggregator_v2::DerivedStringSnapshot"
700
- }
701
- ],
702
- "variants": []
703
- }
704
- ]
705
- }
706
- },
707
- {
708
- "abi": {
709
- "address": "0x4",
710
- "name": "royalty",
711
- "friends": [
712
- "0x4::token"
713
- ],
714
- "exposed_functions": [
715
- {
716
- "name": "update",
717
- "visibility": "public",
718
- "is_entry": false,
719
- "is_view": false,
720
- "generic_type_params": [],
721
- "params": [
722
- "&0x4::royalty::MutatorRef",
723
- "0x4::royalty::Royalty"
724
- ],
725
- "return": []
726
- },
727
- {
728
- "name": "init",
729
- "visibility": "public",
730
- "is_entry": false,
731
- "is_view": false,
732
- "generic_type_params": [],
733
- "params": [
734
- "&0x1::object::ConstructorRef",
735
- "0x4::royalty::Royalty"
736
- ],
737
- "return": []
738
- },
739
- {
740
- "name": "get",
741
- "visibility": "public",
742
- "is_entry": false,
743
- "is_view": false,
744
- "generic_type_params": [
745
- {
746
- "constraints": [
747
- "key"
748
- ]
749
- }
750
- ],
751
- "params": [
752
- "0x1::object::Object<T0>"
753
- ],
754
- "return": [
755
- "0x1::option::Option<0x4::royalty::Royalty>"
756
- ]
757
- },
758
- {
759
- "name": "numerator",
760
- "visibility": "public",
761
- "is_entry": false,
762
- "is_view": false,
763
- "generic_type_params": [],
764
- "params": [
765
- "&0x4::royalty::Royalty"
766
- ],
767
- "return": [
768
- "u64"
769
- ]
770
- },
771
- {
772
- "name": "denominator",
773
- "visibility": "public",
774
- "is_entry": false,
775
- "is_view": false,
776
- "generic_type_params": [],
777
- "params": [
778
- "&0x4::royalty::Royalty"
779
- ],
780
- "return": [
781
- "u64"
782
- ]
783
- },
784
- {
785
- "name": "create",
786
- "visibility": "public",
787
- "is_entry": false,
788
- "is_view": false,
789
- "generic_type_params": [],
790
- "params": [
791
- "u64",
792
- "u64",
793
- "address"
794
- ],
795
- "return": [
796
- "0x4::royalty::Royalty"
797
- ]
798
- },
799
- {
800
- "name": "exists_at",
801
- "visibility": "public",
802
- "is_entry": false,
803
- "is_view": false,
804
- "generic_type_params": [],
805
- "params": [
806
- "address"
807
- ],
808
- "return": [
809
- "bool"
810
- ]
811
- },
812
- {
813
- "name": "delete",
814
- "visibility": "friend",
815
- "is_entry": false,
816
- "is_view": false,
817
- "generic_type_params": [],
818
- "params": [
819
- "address"
820
- ],
821
- "return": []
822
- },
823
- {
824
- "name": "payee_address",
825
- "visibility": "public",
826
- "is_entry": false,
827
- "is_view": false,
828
- "generic_type_params": [],
829
- "params": [
830
- "&0x4::royalty::Royalty"
831
- ],
832
- "return": [
833
- "address"
834
- ]
835
- },
836
- {
837
- "name": "generate_mutator_ref",
838
- "visibility": "public",
839
- "is_entry": false,
840
- "is_view": false,
841
- "generic_type_params": [],
842
- "params": [
843
- "0x1::object::ExtendRef"
844
- ],
845
- "return": [
846
- "0x4::royalty::MutatorRef"
847
- ]
848
- }
849
- ],
850
- "structs": [
851
- {
852
- "name": "MutatorRef",
853
- "is_native": false,
854
- "is_event": false,
855
- "is_enum": false,
856
- "abilities": [
857
- "drop",
858
- "store"
859
- ],
860
- "generic_type_params": [],
861
- "fields": [
862
- {
863
- "name": "inner",
864
- "type": "0x1::object::ExtendRef"
865
- }
866
- ],
867
- "variants": []
868
- },
869
- {
870
- "name": "Royalty",
871
- "is_native": false,
872
- "is_event": false,
873
- "is_enum": false,
874
- "abilities": [
875
- "copy",
876
- "drop",
877
- "key"
878
- ],
879
- "generic_type_params": [],
880
- "fields": [
881
- {
882
- "name": "numerator",
883
- "type": "u64"
884
- },
885
- {
886
- "name": "denominator",
887
- "type": "u64"
888
- },
889
- {
890
- "name": "payee_address",
891
- "type": "address"
892
- }
893
- ],
894
- "variants": []
895
- }
896
- ]
897
- }
898
- },
899
- {
900
- "abi": {
901
- "address": "0x4",
902
- "name": "collection",
903
- "friends": [
904
- "0x4::token"
905
- ],
906
- "exposed_functions": [
907
- {
908
- "name": "count",
909
- "visibility": "public",
910
- "is_entry": false,
911
- "is_view": true,
912
- "generic_type_params": [
913
- {
914
- "constraints": [
915
- "key"
916
- ]
917
- }
918
- ],
919
- "params": [
920
- "0x1::object::Object<T0>"
921
- ],
922
- "return": [
923
- "0x1::option::Option<u64>"
924
- ]
925
- },
926
- {
927
- "name": "creator",
928
- "visibility": "public",
929
- "is_entry": false,
930
- "is_view": true,
931
- "generic_type_params": [
932
- {
933
- "constraints": [
934
- "key"
935
- ]
936
- }
937
- ],
938
- "params": [
939
- "0x1::object::Object<T0>"
940
- ],
941
- "return": [
942
- "address"
943
- ]
944
- },
945
- {
946
- "name": "name",
947
- "visibility": "public",
948
- "is_entry": false,
949
- "is_view": true,
950
- "generic_type_params": [
951
- {
952
- "constraints": [
953
- "key"
954
- ]
955
- }
956
- ],
957
- "params": [
958
- "0x1::object::Object<T0>"
959
- ],
960
- "return": [
961
- "0x1::string::String"
962
- ]
963
- },
964
- {
965
- "name": "upgrade_to_concurrent",
966
- "visibility": "public",
967
- "is_entry": false,
968
- "is_view": false,
969
- "generic_type_params": [],
970
- "params": [
971
- "&0x1::object::ExtendRef"
972
- ],
973
- "return": []
974
- },
975
- {
976
- "name": "generate_mutator_ref",
977
- "visibility": "public",
978
- "is_entry": false,
979
- "is_view": false,
980
- "generic_type_params": [],
981
- "params": [
982
- "&0x1::object::ConstructorRef"
983
- ],
984
- "return": [
985
- "0x4::collection::MutatorRef"
986
- ]
987
- },
988
- {
989
- "name": "create_collection_address",
990
- "visibility": "public",
991
- "is_entry": false,
992
- "is_view": false,
993
- "generic_type_params": [],
994
- "params": [
995
- "&address",
996
- "&0x1::string::String"
997
- ],
998
- "return": [
999
- "address"
1000
- ]
1001
- },
1002
- {
1003
- "name": "description",
1004
- "visibility": "public",
1005
- "is_entry": false,
1006
- "is_view": true,
1007
- "generic_type_params": [
1008
- {
1009
- "constraints": [
1010
- "key"
1011
- ]
1012
- }
1013
- ],
1014
- "params": [
1015
- "0x1::object::Object<T0>"
1016
- ],
1017
- "return": [
1018
- "0x1::string::String"
1019
- ]
1020
- },
1021
- {
1022
- "name": "uri",
1023
- "visibility": "public",
1024
- "is_entry": false,
1025
- "is_view": true,
1026
- "generic_type_params": [
1027
- {
1028
- "constraints": [
1029
- "key"
1030
- ]
1031
- }
1032
- ],
1033
- "params": [
1034
- "0x1::object::Object<T0>"
1035
- ],
1036
- "return": [
1037
- "0x1::string::String"
1038
- ]
1039
- },
1040
- {
1041
- "name": "create_collection_seed",
1042
- "visibility": "public",
1043
- "is_entry": false,
1044
- "is_view": false,
1045
- "generic_type_params": [],
1046
- "params": [
1047
- "&0x1::string::String"
1048
- ],
1049
- "return": [
1050
- "vector<u8>"
1051
- ]
1052
- },
1053
- {
1054
- "name": "create_fixed_collection",
1055
- "visibility": "public",
1056
- "is_entry": false,
1057
- "is_view": false,
1058
- "generic_type_params": [],
1059
- "params": [
1060
- "&signer",
1061
- "0x1::string::String",
1062
- "u64",
1063
- "0x1::string::String",
1064
- "0x1::option::Option<0x4::royalty::Royalty>",
1065
- "0x1::string::String"
1066
- ],
1067
- "return": [
1068
- "0x1::object::ConstructorRef"
1069
- ]
1070
- },
1071
- {
1072
- "name": "create_fixed_collection_as_owner",
1073
- "visibility": "public",
1074
- "is_entry": false,
1075
- "is_view": false,
1076
- "generic_type_params": [],
1077
- "params": [
1078
- "&signer",
1079
- "0x1::string::String",
1080
- "u64",
1081
- "0x1::string::String",
1082
- "0x1::option::Option<0x4::royalty::Royalty>",
1083
- "0x1::string::String"
1084
- ],
1085
- "return": [
1086
- "0x1::object::ConstructorRef"
1087
- ]
1088
- },
1089
- {
1090
- "name": "create_unlimited_collection",
1091
- "visibility": "public",
1092
- "is_entry": false,
1093
- "is_view": false,
1094
- "generic_type_params": [],
1095
- "params": [
1096
- "&signer",
1097
- "0x1::string::String",
1098
- "0x1::string::String",
1099
- "0x1::option::Option<0x4::royalty::Royalty>",
1100
- "0x1::string::String"
1101
- ],
1102
- "return": [
1103
- "0x1::object::ConstructorRef"
1104
- ]
1105
- },
1106
- {
1107
- "name": "create_unlimited_collection_as_owner",
1108
- "visibility": "public",
1109
- "is_entry": false,
1110
- "is_view": false,
1111
- "generic_type_params": [],
1112
- "params": [
1113
- "&signer",
1114
- "0x1::string::String",
1115
- "0x1::string::String",
1116
- "0x1::option::Option<0x4::royalty::Royalty>",
1117
- "0x1::string::String"
1118
- ],
1119
- "return": [
1120
- "0x1::object::ConstructorRef"
1121
- ]
1122
- },
1123
- {
1124
- "name": "decrement_supply",
1125
- "visibility": "friend",
1126
- "is_entry": false,
1127
- "is_view": false,
1128
- "generic_type_params": [],
1129
- "params": [
1130
- "&0x1::object::Object<0x4::collection::Collection>",
1131
- "address",
1132
- "0x1::option::Option<u64>",
1133
- "address"
1134
- ],
1135
- "return": []
1136
- },
1137
- {
1138
- "name": "increment_supply",
1139
- "visibility": "friend",
1140
- "is_entry": false,
1141
- "is_view": false,
1142
- "generic_type_params": [],
1143
- "params": [
1144
- "&0x1::object::Object<0x4::collection::Collection>",
1145
- "address"
1146
- ],
1147
- "return": [
1148
- "0x1::option::Option<0x1::aggregator_v2::AggregatorSnapshot<u64>>"
1149
- ]
1150
- },
1151
- {
1152
- "name": "set_description",
1153
- "visibility": "public",
1154
- "is_entry": false,
1155
- "is_view": false,
1156
- "generic_type_params": [],
1157
- "params": [
1158
- "&0x4::collection::MutatorRef",
1159
- "0x1::string::String"
1160
- ],
1161
- "return": []
1162
- },
1163
- {
1164
- "name": "set_max_supply",
1165
- "visibility": "public",
1166
- "is_entry": false,
1167
- "is_view": false,
1168
- "generic_type_params": [],
1169
- "params": [
1170
- "&0x4::collection::MutatorRef",
1171
- "u64"
1172
- ],
1173
- "return": []
1174
- },
1175
- {
1176
- "name": "set_name",
1177
- "visibility": "public",
1178
- "is_entry": false,
1179
- "is_view": false,
1180
- "generic_type_params": [],
1181
- "params": [
1182
- "&0x4::collection::MutatorRef",
1183
- "0x1::string::String"
1184
- ],
1185
- "return": []
1186
- },
1187
- {
1188
- "name": "set_uri",
1189
- "visibility": "public",
1190
- "is_entry": false,
1191
- "is_view": false,
1192
- "generic_type_params": [],
1193
- "params": [
1194
- "&0x4::collection::MutatorRef",
1195
- "0x1::string::String"
1196
- ],
1197
- "return": []
1198
- }
1199
- ],
1200
- "structs": [
1201
- {
1202
- "name": "ConcurrentSupply",
1203
- "is_native": false,
1204
- "is_event": false,
1205
- "is_enum": false,
1206
- "abilities": [
1207
- "key"
1208
- ],
1209
- "generic_type_params": [],
1210
- "fields": [
1211
- {
1212
- "name": "current_supply",
1213
- "type": "0x1::aggregator_v2::Aggregator<u64>"
1214
- },
1215
- {
1216
- "name": "total_minted",
1217
- "type": "0x1::aggregator_v2::Aggregator<u64>"
1218
- }
1219
- ],
1220
- "variants": []
1221
- },
1222
- {
1223
- "name": "MutatorRef",
1224
- "is_native": false,
1225
- "is_event": false,
1226
- "is_enum": false,
1227
- "abilities": [
1228
- "drop",
1229
- "store"
1230
- ],
1231
- "generic_type_params": [],
1232
- "fields": [
1233
- {
1234
- "name": "self",
1235
- "type": "address"
1236
- }
1237
- ],
1238
- "variants": []
1239
- },
1240
- {
1241
- "name": "Burn",
1242
- "is_native": false,
1243
- "is_event": true,
1244
- "is_enum": false,
1245
- "abilities": [
1246
- "drop",
1247
- "store"
1248
- ],
1249
- "generic_type_params": [],
1250
- "fields": [
1251
- {
1252
- "name": "collection",
1253
- "type": "address"
1254
- },
1255
- {
1256
- "name": "index",
1257
- "type": "u64"
1258
- },
1259
- {
1260
- "name": "token",
1261
- "type": "address"
1262
- },
1263
- {
1264
- "name": "previous_owner",
1265
- "type": "address"
1266
- }
1267
- ],
1268
- "variants": []
1269
- },
1270
- {
1271
- "name": "BurnEvent",
1272
- "is_native": false,
1273
- "is_event": false,
1274
- "is_enum": false,
1275
- "abilities": [
1276
- "drop",
1277
- "store"
1278
- ],
1279
- "generic_type_params": [],
1280
- "fields": [
1281
- {
1282
- "name": "index",
1283
- "type": "u64"
1284
- },
1285
- {
1286
- "name": "token",
1287
- "type": "address"
1288
- }
1289
- ],
1290
- "variants": []
1291
- },
1292
- {
1293
- "name": "Collection",
1294
- "is_native": false,
1295
- "is_event": false,
1296
- "is_enum": false,
1297
- "abilities": [
1298
- "key"
1299
- ],
1300
- "generic_type_params": [],
1301
- "fields": [
1302
- {
1303
- "name": "creator",
1304
- "type": "address"
1305
- },
1306
- {
1307
- "name": "description",
1308
- "type": "0x1::string::String"
1309
- },
1310
- {
1311
- "name": "name",
1312
- "type": "0x1::string::String"
1313
- },
1314
- {
1315
- "name": "uri",
1316
- "type": "0x1::string::String"
1317
- },
1318
- {
1319
- "name": "mutation_events",
1320
- "type": "0x1::event::EventHandle<0x4::collection::MutationEvent>"
1321
- }
1322
- ],
1323
- "variants": []
1324
- },
1325
- {
1326
- "name": "ConcurrentBurnEvent",
1327
- "is_native": false,
1328
- "is_event": true,
1329
- "is_enum": false,
1330
- "abilities": [
1331
- "drop",
1332
- "store"
1333
- ],
1334
- "generic_type_params": [],
1335
- "fields": [
1336
- {
1337
- "name": "collection_addr",
1338
- "type": "address"
1339
- },
1340
- {
1341
- "name": "index",
1342
- "type": "u64"
1343
- },
1344
- {
1345
- "name": "token",
1346
- "type": "address"
1347
- }
1348
- ],
1349
- "variants": []
1350
- },
1351
- {
1352
- "name": "ConcurrentMintEvent",
1353
- "is_native": false,
1354
- "is_event": true,
1355
- "is_enum": false,
1356
- "abilities": [
1357
- "drop",
1358
- "store"
1359
- ],
1360
- "generic_type_params": [],
1361
- "fields": [
1362
- {
1363
- "name": "collection_addr",
1364
- "type": "address"
1365
- },
1366
- {
1367
- "name": "index",
1368
- "type": "0x1::aggregator_v2::AggregatorSnapshot<u64>"
1369
- },
1370
- {
1371
- "name": "token",
1372
- "type": "address"
1373
- }
1374
- ],
1375
- "variants": []
1376
- },
1377
- {
1378
- "name": "FixedSupply",
1379
- "is_native": false,
1380
- "is_event": false,
1381
- "is_enum": false,
1382
- "abilities": [
1383
- "key"
1384
- ],
1385
- "generic_type_params": [],
1386
- "fields": [
1387
- {
1388
- "name": "current_supply",
1389
- "type": "u64"
1390
- },
1391
- {
1392
- "name": "max_supply",
1393
- "type": "u64"
1394
- },
1395
- {
1396
- "name": "total_minted",
1397
- "type": "u64"
1398
- },
1399
- {
1400
- "name": "burn_events",
1401
- "type": "0x1::event::EventHandle<0x4::collection::BurnEvent>"
1402
- },
1403
- {
1404
- "name": "mint_events",
1405
- "type": "0x1::event::EventHandle<0x4::collection::MintEvent>"
1406
- }
1407
- ],
1408
- "variants": []
1409
- },
1410
- {
1411
- "name": "Mint",
1412
- "is_native": false,
1413
- "is_event": true,
1414
- "is_enum": false,
1415
- "abilities": [
1416
- "drop",
1417
- "store"
1418
- ],
1419
- "generic_type_params": [],
1420
- "fields": [
1421
- {
1422
- "name": "collection",
1423
- "type": "address"
1424
- },
1425
- {
1426
- "name": "index",
1427
- "type": "0x1::aggregator_v2::AggregatorSnapshot<u64>"
1428
- },
1429
- {
1430
- "name": "token",
1431
- "type": "address"
1432
- }
1433
- ],
1434
- "variants": []
1435
- },
1436
- {
1437
- "name": "MintEvent",
1438
- "is_native": false,
1439
- "is_event": false,
1440
- "is_enum": false,
1441
- "abilities": [
1442
- "drop",
1443
- "store"
1444
- ],
1445
- "generic_type_params": [],
1446
- "fields": [
1447
- {
1448
- "name": "index",
1449
- "type": "u64"
1450
- },
1451
- {
1452
- "name": "token",
1453
- "type": "address"
1454
- }
1455
- ],
1456
- "variants": []
1457
- },
1458
- {
1459
- "name": "Mutation",
1460
- "is_native": false,
1461
- "is_event": true,
1462
- "is_enum": false,
1463
- "abilities": [
1464
- "drop",
1465
- "store"
1466
- ],
1467
- "generic_type_params": [],
1468
- "fields": [
1469
- {
1470
- "name": "mutated_field_name",
1471
- "type": "0x1::string::String"
1472
- },
1473
- {
1474
- "name": "collection",
1475
- "type": "0x1::object::Object<0x4::collection::Collection>"
1476
- },
1477
- {
1478
- "name": "old_value",
1479
- "type": "0x1::string::String"
1480
- },
1481
- {
1482
- "name": "new_value",
1483
- "type": "0x1::string::String"
1484
- }
1485
- ],
1486
- "variants": []
1487
- },
1488
- {
1489
- "name": "MutationEvent",
1490
- "is_native": false,
1491
- "is_event": false,
1492
- "is_enum": false,
1493
- "abilities": [
1494
- "drop",
1495
- "store"
1496
- ],
1497
- "generic_type_params": [],
1498
- "fields": [
1499
- {
1500
- "name": "mutated_field_name",
1501
- "type": "0x1::string::String"
1502
- }
1503
- ],
1504
- "variants": []
1505
- },
1506
- {
1507
- "name": "SetMaxSupply",
1508
- "is_native": false,
1509
- "is_event": true,
1510
- "is_enum": false,
1511
- "abilities": [
1512
- "drop",
1513
- "store"
1514
- ],
1515
- "generic_type_params": [],
1516
- "fields": [
1517
- {
1518
- "name": "collection",
1519
- "type": "0x1::object::Object<0x4::collection::Collection>"
1520
- },
1521
- {
1522
- "name": "old_max_supply",
1523
- "type": "u64"
1524
- },
1525
- {
1526
- "name": "new_max_supply",
1527
- "type": "u64"
1528
- }
1529
- ],
1530
- "variants": []
1531
- },
1532
- {
1533
- "name": "UnlimitedSupply",
1534
- "is_native": false,
1535
- "is_event": false,
1536
- "is_enum": false,
1537
- "abilities": [
1538
- "key"
1539
- ],
1540
- "generic_type_params": [],
1541
- "fields": [
1542
- {
1543
- "name": "current_supply",
1544
- "type": "u64"
1545
- },
1546
- {
1547
- "name": "total_minted",
1548
- "type": "u64"
1549
- },
1550
- {
1551
- "name": "burn_events",
1552
- "type": "0x1::event::EventHandle<0x4::collection::BurnEvent>"
1553
- },
1554
- {
1555
- "name": "mint_events",
1556
- "type": "0x1::event::EventHandle<0x4::collection::MintEvent>"
1557
- }
1558
- ],
1559
- "variants": []
1560
- }
1561
- ]
1562
- }
1563
- },
1564
- {
1565
- "abi": {
1566
- "address": "0x4",
1567
- "name": "aptos_token",
1568
- "friends": [],
1569
- "exposed_functions": [
1570
- {
1571
- "name": "burn",
1572
- "visibility": "public",
1573
- "is_entry": true,
1574
- "is_view": false,
1575
- "generic_type_params": [
1576
- {
1577
- "constraints": [
1578
- "key"
1579
- ]
1580
- }
1581
- ],
1582
- "params": [
1583
- "&signer",
1584
- "0x1::object::Object<T0>"
1585
- ],
1586
- "return": []
1587
- },
1588
- {
1589
- "name": "mint",
1590
- "visibility": "public",
1591
- "is_entry": true,
1592
- "is_view": false,
1593
- "generic_type_params": [],
1594
- "params": [
1595
- "&signer",
1596
- "0x1::string::String",
1597
- "0x1::string::String",
1598
- "0x1::string::String",
1599
- "0x1::string::String",
1600
- "vector<0x1::string::String>",
1601
- "vector<0x1::string::String>",
1602
- "vector<vector<u8>>"
1603
- ],
1604
- "return": []
1605
- },
1606
- {
1607
- "name": "set_description",
1608
- "visibility": "public",
1609
- "is_entry": true,
1610
- "is_view": false,
1611
- "generic_type_params": [
1612
- {
1613
- "constraints": [
1614
- "key"
1615
- ]
1616
- }
1617
- ],
1618
- "params": [
1619
- "&signer",
1620
- "0x1::object::Object<T0>",
1621
- "0x1::string::String"
1622
- ],
1623
- "return": []
1624
- },
1625
- {
1626
- "name": "set_name",
1627
- "visibility": "public",
1628
- "is_entry": true,
1629
- "is_view": false,
1630
- "generic_type_params": [
1631
- {
1632
- "constraints": [
1633
- "key"
1634
- ]
1635
- }
1636
- ],
1637
- "params": [
1638
- "&signer",
1639
- "0x1::object::Object<T0>",
1640
- "0x1::string::String"
1641
- ],
1642
- "return": []
1643
- },
1644
- {
1645
- "name": "set_uri",
1646
- "visibility": "public",
1647
- "is_entry": true,
1648
- "is_view": false,
1649
- "generic_type_params": [
1650
- {
1651
- "constraints": [
1652
- "key"
1653
- ]
1654
- }
1655
- ],
1656
- "params": [
1657
- "&signer",
1658
- "0x1::object::Object<T0>",
1659
- "0x1::string::String"
1660
- ],
1661
- "return": []
1662
- },
1663
- {
1664
- "name": "add_property",
1665
- "visibility": "public",
1666
- "is_entry": true,
1667
- "is_view": false,
1668
- "generic_type_params": [
1669
- {
1670
- "constraints": [
1671
- "key"
1672
- ]
1673
- }
1674
- ],
1675
- "params": [
1676
- "&signer",
1677
- "0x1::object::Object<T0>",
1678
- "0x1::string::String",
1679
- "0x1::string::String",
1680
- "vector<u8>"
1681
- ],
1682
- "return": []
1683
- },
1684
- {
1685
- "name": "add_typed_property",
1686
- "visibility": "public",
1687
- "is_entry": true,
1688
- "is_view": false,
1689
- "generic_type_params": [
1690
- {
1691
- "constraints": [
1692
- "key"
1693
- ]
1694
- },
1695
- {
1696
- "constraints": [
1697
- "drop"
1698
- ]
1699
- }
1700
- ],
1701
- "params": [
1702
- "&signer",
1703
- "0x1::object::Object<T0>",
1704
- "0x1::string::String",
1705
- "T1"
1706
- ],
1707
- "return": []
1708
- },
1709
- {
1710
- "name": "are_collection_tokens_burnable",
1711
- "visibility": "public",
1712
- "is_entry": false,
1713
- "is_view": false,
1714
- "generic_type_params": [
1715
- {
1716
- "constraints": [
1717
- "key"
1718
- ]
1719
- }
1720
- ],
1721
- "params": [
1722
- "0x1::object::Object<T0>"
1723
- ],
1724
- "return": [
1725
- "bool"
1726
- ]
1727
- },
1728
- {
1729
- "name": "are_collection_tokens_freezable",
1730
- "visibility": "public",
1731
- "is_entry": false,
1732
- "is_view": false,
1733
- "generic_type_params": [
1734
- {
1735
- "constraints": [
1736
- "key"
1737
- ]
1738
- }
1739
- ],
1740
- "params": [
1741
- "0x1::object::Object<T0>"
1742
- ],
1743
- "return": [
1744
- "bool"
1745
- ]
1746
- },
1747
- {
1748
- "name": "are_properties_mutable",
1749
- "visibility": "public",
1750
- "is_entry": false,
1751
- "is_view": true,
1752
- "generic_type_params": [
1753
- {
1754
- "constraints": [
1755
- "key"
1756
- ]
1757
- }
1758
- ],
1759
- "params": [
1760
- "0x1::object::Object<T0>"
1761
- ],
1762
- "return": [
1763
- "bool"
1764
- ]
1765
- },
1766
- {
1767
- "name": "create_collection",
1768
- "visibility": "public",
1769
- "is_entry": true,
1770
- "is_view": false,
1771
- "generic_type_params": [],
1772
- "params": [
1773
- "&signer",
1774
- "0x1::string::String",
1775
- "u64",
1776
- "0x1::string::String",
1777
- "0x1::string::String",
1778
- "bool",
1779
- "bool",
1780
- "bool",
1781
- "bool",
1782
- "bool",
1783
- "bool",
1784
- "bool",
1785
- "bool",
1786
- "bool",
1787
- "u64",
1788
- "u64"
1789
- ],
1790
- "return": []
1791
- },
1792
- {
1793
- "name": "create_collection_object",
1794
- "visibility": "public",
1795
- "is_entry": false,
1796
- "is_view": false,
1797
- "generic_type_params": [],
1798
- "params": [
1799
- "&signer",
1800
- "0x1::string::String",
1801
- "u64",
1802
- "0x1::string::String",
1803
- "0x1::string::String",
1804
- "bool",
1805
- "bool",
1806
- "bool",
1807
- "bool",
1808
- "bool",
1809
- "bool",
1810
- "bool",
1811
- "bool",
1812
- "bool",
1813
- "u64",
1814
- "u64"
1815
- ],
1816
- "return": [
1817
- "0x1::object::Object<0x4::aptos_token::AptosCollection>"
1818
- ]
1819
- },
1820
- {
1821
- "name": "freeze_transfer",
1822
- "visibility": "public",
1823
- "is_entry": true,
1824
- "is_view": false,
1825
- "generic_type_params": [
1826
- {
1827
- "constraints": [
1828
- "key"
1829
- ]
1830
- }
1831
- ],
1832
- "params": [
1833
- "&signer",
1834
- "0x1::object::Object<T0>"
1835
- ],
1836
- "return": []
1837
- },
1838
- {
1839
- "name": "is_burnable",
1840
- "visibility": "public",
1841
- "is_entry": false,
1842
- "is_view": true,
1843
- "generic_type_params": [
1844
- {
1845
- "constraints": [
1846
- "key"
1847
- ]
1848
- }
1849
- ],
1850
- "params": [
1851
- "0x1::object::Object<T0>"
1852
- ],
1853
- "return": [
1854
- "bool"
1855
- ]
1856
- },
1857
- {
1858
- "name": "is_freezable_by_creator",
1859
- "visibility": "public",
1860
- "is_entry": false,
1861
- "is_view": true,
1862
- "generic_type_params": [
1863
- {
1864
- "constraints": [
1865
- "key"
1866
- ]
1867
- }
1868
- ],
1869
- "params": [
1870
- "0x1::object::Object<T0>"
1871
- ],
1872
- "return": [
1873
- "bool"
1874
- ]
1875
- },
1876
- {
1877
- "name": "is_mutable_collection_description",
1878
- "visibility": "public",
1879
- "is_entry": false,
1880
- "is_view": false,
1881
- "generic_type_params": [
1882
- {
1883
- "constraints": [
1884
- "key"
1885
- ]
1886
- }
1887
- ],
1888
- "params": [
1889
- "0x1::object::Object<T0>"
1890
- ],
1891
- "return": [
1892
- "bool"
1893
- ]
1894
- },
1895
- {
1896
- "name": "is_mutable_collection_royalty",
1897
- "visibility": "public",
1898
- "is_entry": false,
1899
- "is_view": false,
1900
- "generic_type_params": [
1901
- {
1902
- "constraints": [
1903
- "key"
1904
- ]
1905
- }
1906
- ],
1907
- "params": [
1908
- "0x1::object::Object<T0>"
1909
- ],
1910
- "return": [
1911
- "bool"
1912
- ]
1913
- },
1914
- {
1915
- "name": "is_mutable_collection_token_description",
1916
- "visibility": "public",
1917
- "is_entry": false,
1918
- "is_view": false,
1919
- "generic_type_params": [
1920
- {
1921
- "constraints": [
1922
- "key"
1923
- ]
1924
- }
1925
- ],
1926
- "params": [
1927
- "0x1::object::Object<T0>"
1928
- ],
1929
- "return": [
1930
- "bool"
1931
- ]
1932
- },
1933
- {
1934
- "name": "is_mutable_collection_token_name",
1935
- "visibility": "public",
1936
- "is_entry": false,
1937
- "is_view": false,
1938
- "generic_type_params": [
1939
- {
1940
- "constraints": [
1941
- "key"
1942
- ]
1943
- }
1944
- ],
1945
- "params": [
1946
- "0x1::object::Object<T0>"
1947
- ],
1948
- "return": [
1949
- "bool"
1950
- ]
1951
- },
1952
- {
1953
- "name": "is_mutable_collection_token_properties",
1954
- "visibility": "public",
1955
- "is_entry": false,
1956
- "is_view": false,
1957
- "generic_type_params": [
1958
- {
1959
- "constraints": [
1960
- "key"
1961
- ]
1962
- }
1963
- ],
1964
- "params": [
1965
- "0x1::object::Object<T0>"
1966
- ],
1967
- "return": [
1968
- "bool"
1969
- ]
1970
- },
1971
- {
1972
- "name": "is_mutable_collection_token_uri",
1973
- "visibility": "public",
1974
- "is_entry": false,
1975
- "is_view": false,
1976
- "generic_type_params": [
1977
- {
1978
- "constraints": [
1979
- "key"
1980
- ]
1981
- }
1982
- ],
1983
- "params": [
1984
- "0x1::object::Object<T0>"
1985
- ],
1986
- "return": [
1987
- "bool"
1988
- ]
1989
- },
1990
- {
1991
- "name": "is_mutable_collection_uri",
1992
- "visibility": "public",
1993
- "is_entry": false,
1994
- "is_view": false,
1995
- "generic_type_params": [
1996
- {
1997
- "constraints": [
1998
- "key"
1999
- ]
2000
- }
2001
- ],
2002
- "params": [
2003
- "0x1::object::Object<T0>"
2004
- ],
2005
- "return": [
2006
- "bool"
2007
- ]
2008
- },
2009
- {
2010
- "name": "is_mutable_description",
2011
- "visibility": "public",
2012
- "is_entry": false,
2013
- "is_view": true,
2014
- "generic_type_params": [
2015
- {
2016
- "constraints": [
2017
- "key"
2018
- ]
2019
- }
2020
- ],
2021
- "params": [
2022
- "0x1::object::Object<T0>"
2023
- ],
2024
- "return": [
2025
- "bool"
2026
- ]
2027
- },
2028
- {
2029
- "name": "is_mutable_name",
2030
- "visibility": "public",
2031
- "is_entry": false,
2032
- "is_view": true,
2033
- "generic_type_params": [
2034
- {
2035
- "constraints": [
2036
- "key"
2037
- ]
2038
- }
2039
- ],
2040
- "params": [
2041
- "0x1::object::Object<T0>"
2042
- ],
2043
- "return": [
2044
- "bool"
2045
- ]
2046
- },
2047
- {
2048
- "name": "is_mutable_uri",
2049
- "visibility": "public",
2050
- "is_entry": false,
2051
- "is_view": true,
2052
- "generic_type_params": [
2053
- {
2054
- "constraints": [
2055
- "key"
2056
- ]
2057
- }
2058
- ],
2059
- "params": [
2060
- "0x1::object::Object<T0>"
2061
- ],
2062
- "return": [
2063
- "bool"
2064
- ]
2065
- },
2066
- {
2067
- "name": "mint_soul_bound",
2068
- "visibility": "public",
2069
- "is_entry": true,
2070
- "is_view": false,
2071
- "generic_type_params": [],
2072
- "params": [
2073
- "&signer",
2074
- "0x1::string::String",
2075
- "0x1::string::String",
2076
- "0x1::string::String",
2077
- "0x1::string::String",
2078
- "vector<0x1::string::String>",
2079
- "vector<0x1::string::String>",
2080
- "vector<vector<u8>>",
2081
- "address"
2082
- ],
2083
- "return": []
2084
- },
2085
- {
2086
- "name": "mint_soul_bound_token_object",
2087
- "visibility": "public",
2088
- "is_entry": false,
2089
- "is_view": false,
2090
- "generic_type_params": [],
2091
- "params": [
2092
- "&signer",
2093
- "0x1::string::String",
2094
- "0x1::string::String",
2095
- "0x1::string::String",
2096
- "0x1::string::String",
2097
- "vector<0x1::string::String>",
2098
- "vector<0x1::string::String>",
2099
- "vector<vector<u8>>",
2100
- "address"
2101
- ],
2102
- "return": [
2103
- "0x1::object::Object<0x4::aptos_token::AptosToken>"
2104
- ]
2105
- },
2106
- {
2107
- "name": "mint_token_object",
2108
- "visibility": "public",
2109
- "is_entry": false,
2110
- "is_view": false,
2111
- "generic_type_params": [],
2112
- "params": [
2113
- "&signer",
2114
- "0x1::string::String",
2115
- "0x1::string::String",
2116
- "0x1::string::String",
2117
- "0x1::string::String",
2118
- "vector<0x1::string::String>",
2119
- "vector<0x1::string::String>",
2120
- "vector<vector<u8>>"
2121
- ],
2122
- "return": [
2123
- "0x1::object::Object<0x4::aptos_token::AptosToken>"
2124
- ]
2125
- },
2126
- {
2127
- "name": "remove_property",
2128
- "visibility": "public",
2129
- "is_entry": true,
2130
- "is_view": false,
2131
- "generic_type_params": [
2132
- {
2133
- "constraints": [
2134
- "key"
2135
- ]
2136
- }
2137
- ],
2138
- "params": [
2139
- "&signer",
2140
- "0x1::object::Object<T0>",
2141
- "0x1::string::String"
2142
- ],
2143
- "return": []
2144
- },
2145
- {
2146
- "name": "set_collection_description",
2147
- "visibility": "public",
2148
- "is_entry": true,
2149
- "is_view": false,
2150
- "generic_type_params": [
2151
- {
2152
- "constraints": [
2153
- "key"
2154
- ]
2155
- }
2156
- ],
2157
- "params": [
2158
- "&signer",
2159
- "0x1::object::Object<T0>",
2160
- "0x1::string::String"
2161
- ],
2162
- "return": []
2163
- },
2164
- {
2165
- "name": "set_collection_royalties",
2166
- "visibility": "public",
2167
- "is_entry": false,
2168
- "is_view": false,
2169
- "generic_type_params": [
2170
- {
2171
- "constraints": [
2172
- "key"
2173
- ]
2174
- }
2175
- ],
2176
- "params": [
2177
- "&signer",
2178
- "0x1::object::Object<T0>",
2179
- "0x4::royalty::Royalty"
2180
- ],
2181
- "return": []
2182
- },
2183
- {
2184
- "name": "set_collection_royalties_call",
2185
- "visibility": "private",
2186
- "is_entry": true,
2187
- "is_view": false,
2188
- "generic_type_params": [
2189
- {
2190
- "constraints": [
2191
- "key"
2192
- ]
2193
- }
2194
- ],
2195
- "params": [
2196
- "&signer",
2197
- "0x1::object::Object<T0>",
2198
- "u64",
2199
- "u64",
2200
- "address"
2201
- ],
2202
- "return": []
2203
- },
2204
- {
2205
- "name": "set_collection_uri",
2206
- "visibility": "public",
2207
- "is_entry": true,
2208
- "is_view": false,
2209
- "generic_type_params": [
2210
- {
2211
- "constraints": [
2212
- "key"
2213
- ]
2214
- }
2215
- ],
2216
- "params": [
2217
- "&signer",
2218
- "0x1::object::Object<T0>",
2219
- "0x1::string::String"
2220
- ],
2221
- "return": []
2222
- },
2223
- {
2224
- "name": "unfreeze_transfer",
2225
- "visibility": "public",
2226
- "is_entry": true,
2227
- "is_view": false,
2228
- "generic_type_params": [
2229
- {
2230
- "constraints": [
2231
- "key"
2232
- ]
2233
- }
2234
- ],
2235
- "params": [
2236
- "&signer",
2237
- "0x1::object::Object<T0>"
2238
- ],
2239
- "return": []
2240
- },
2241
- {
2242
- "name": "update_property",
2243
- "visibility": "public",
2244
- "is_entry": true,
2245
- "is_view": false,
2246
- "generic_type_params": [
2247
- {
2248
- "constraints": [
2249
- "key"
2250
- ]
2251
- }
2252
- ],
2253
- "params": [
2254
- "&signer",
2255
- "0x1::object::Object<T0>",
2256
- "0x1::string::String",
2257
- "0x1::string::String",
2258
- "vector<u8>"
2259
- ],
2260
- "return": []
2261
- },
2262
- {
2263
- "name": "update_typed_property",
2264
- "visibility": "public",
2265
- "is_entry": true,
2266
- "is_view": false,
2267
- "generic_type_params": [
2268
- {
2269
- "constraints": [
2270
- "key"
2271
- ]
2272
- },
2273
- {
2274
- "constraints": [
2275
- "drop"
2276
- ]
2277
- }
2278
- ],
2279
- "params": [
2280
- "&signer",
2281
- "0x1::object::Object<T0>",
2282
- "0x1::string::String",
2283
- "T1"
2284
- ],
2285
- "return": []
2286
- }
2287
- ],
2288
- "structs": [
2289
- {
2290
- "name": "AptosCollection",
2291
- "is_native": false,
2292
- "is_event": false,
2293
- "is_enum": false,
2294
- "abilities": [
2295
- "key"
2296
- ],
2297
- "generic_type_params": [],
2298
- "fields": [
2299
- {
2300
- "name": "mutator_ref",
2301
- "type": "0x1::option::Option<0x4::collection::MutatorRef>"
2302
- },
2303
- {
2304
- "name": "royalty_mutator_ref",
2305
- "type": "0x1::option::Option<0x4::royalty::MutatorRef>"
2306
- },
2307
- {
2308
- "name": "mutable_description",
2309
- "type": "bool"
2310
- },
2311
- {
2312
- "name": "mutable_uri",
2313
- "type": "bool"
2314
- },
2315
- {
2316
- "name": "mutable_token_description",
2317
- "type": "bool"
2318
- },
2319
- {
2320
- "name": "mutable_token_name",
2321
- "type": "bool"
2322
- },
2323
- {
2324
- "name": "mutable_token_properties",
2325
- "type": "bool"
2326
- },
2327
- {
2328
- "name": "mutable_token_uri",
2329
- "type": "bool"
2330
- },
2331
- {
2332
- "name": "tokens_burnable_by_creator",
2333
- "type": "bool"
2334
- },
2335
- {
2336
- "name": "tokens_freezable_by_creator",
2337
- "type": "bool"
2338
- }
2339
- ],
2340
- "variants": []
2341
- },
2342
- {
2343
- "name": "AptosToken",
2344
- "is_native": false,
2345
- "is_event": false,
2346
- "is_enum": false,
2347
- "abilities": [
2348
- "key"
2349
- ],
2350
- "generic_type_params": [],
2351
- "fields": [
2352
- {
2353
- "name": "burn_ref",
2354
- "type": "0x1::option::Option<0x4::token::BurnRef>"
2355
- },
2356
- {
2357
- "name": "transfer_ref",
2358
- "type": "0x1::option::Option<0x1::object::TransferRef>"
2359
- },
2360
- {
2361
- "name": "mutator_ref",
2362
- "type": "0x1::option::Option<0x4::token::MutatorRef>"
2363
- },
2364
- {
2365
- "name": "property_mutator_ref",
2366
- "type": "0x4::property_map::MutatorRef"
2367
- }
2368
- ],
2369
- "variants": []
2370
- }
2371
- ]
2372
- }
2373
- },
2374
- {
2375
- "abi": {
2376
- "address": "0x4",
2377
- "name": "property_map",
2378
- "friends": [],
2379
- "exposed_functions": [
2380
- {
2381
- "name": "update",
2382
- "visibility": "public",
2383
- "is_entry": false,
2384
- "is_view": false,
2385
- "generic_type_params": [],
2386
- "params": [
2387
- "&0x4::property_map::MutatorRef",
2388
- "&0x1::string::String",
2389
- "0x1::string::String",
2390
- "vector<u8>"
2391
- ],
2392
- "return": []
2393
- },
2394
- {
2395
- "name": "init",
2396
- "visibility": "public",
2397
- "is_entry": false,
2398
- "is_view": false,
2399
- "generic_type_params": [],
2400
- "params": [
2401
- "&0x1::object::ConstructorRef",
2402
- "0x4::property_map::PropertyMap"
2403
- ],
2404
- "return": []
2405
- },
2406
- {
2407
- "name": "length",
2408
- "visibility": "public",
2409
- "is_entry": false,
2410
- "is_view": false,
2411
- "generic_type_params": [
2412
- {
2413
- "constraints": [
2414
- "key"
2415
- ]
2416
- }
2417
- ],
2418
- "params": [
2419
- "&0x1::object::Object<T0>"
2420
- ],
2421
- "return": [
2422
- "u64"
2423
- ]
2424
- },
2425
- {
2426
- "name": "remove",
2427
- "visibility": "public",
2428
- "is_entry": false,
2429
- "is_view": false,
2430
- "generic_type_params": [],
2431
- "params": [
2432
- "&0x4::property_map::MutatorRef",
2433
- "&0x1::string::String"
2434
- ],
2435
- "return": []
2436
- },
2437
- {
2438
- "name": "add",
2439
- "visibility": "public",
2440
- "is_entry": false,
2441
- "is_view": false,
2442
- "generic_type_params": [],
2443
- "params": [
2444
- "&0x4::property_map::MutatorRef",
2445
- "0x1::string::String",
2446
- "0x1::string::String",
2447
- "vector<u8>"
2448
- ],
2449
- "return": []
2450
- },
2451
- {
2452
- "name": "burn",
2453
- "visibility": "public",
2454
- "is_entry": false,
2455
- "is_view": false,
2456
- "generic_type_params": [],
2457
- "params": [
2458
- "0x4::property_map::MutatorRef"
2459
- ],
2460
- "return": []
2461
- },
2462
- {
2463
- "name": "read",
2464
- "visibility": "public",
2465
- "is_entry": false,
2466
- "is_view": false,
2467
- "generic_type_params": [
2468
- {
2469
- "constraints": [
2470
- "key"
2471
- ]
2472
- }
2473
- ],
2474
- "params": [
2475
- "&0x1::object::Object<T0>",
2476
- "&0x1::string::String"
2477
- ],
2478
- "return": [
2479
- "0x1::string::String",
2480
- "vector<u8>"
2481
- ]
2482
- },
2483
- {
2484
- "name": "contains_key",
2485
- "visibility": "public",
2486
- "is_entry": false,
2487
- "is_view": false,
2488
- "generic_type_params": [
2489
- {
2490
- "constraints": [
2491
- "key"
2492
- ]
2493
- }
2494
- ],
2495
- "params": [
2496
- "&0x1::object::Object<T0>",
2497
- "&0x1::string::String"
2498
- ],
2499
- "return": [
2500
- "bool"
2501
- ]
2502
- },
2503
- {
2504
- "name": "generate_mutator_ref",
2505
- "visibility": "public",
2506
- "is_entry": false,
2507
- "is_view": false,
2508
- "generic_type_params": [],
2509
- "params": [
2510
- "&0x1::object::ConstructorRef"
2511
- ],
2512
- "return": [
2513
- "0x4::property_map::MutatorRef"
2514
- ]
2515
- },
2516
- {
2517
- "name": "add_typed",
2518
- "visibility": "public",
2519
- "is_entry": false,
2520
- "is_view": false,
2521
- "generic_type_params": [
2522
- {
2523
- "constraints": [
2524
- "drop"
2525
- ]
2526
- }
2527
- ],
2528
- "params": [
2529
- "&0x4::property_map::MutatorRef",
2530
- "0x1::string::String",
2531
- "T0"
2532
- ],
2533
- "return": []
2534
- },
2535
- {
2536
- "name": "extend",
2537
- "visibility": "public",
2538
- "is_entry": false,
2539
- "is_view": false,
2540
- "generic_type_params": [],
2541
- "params": [
2542
- "&0x1::object::ExtendRef",
2543
- "0x4::property_map::PropertyMap"
2544
- ],
2545
- "return": []
2546
- },
2547
- {
2548
- "name": "prepare_input",
2549
- "visibility": "public",
2550
- "is_entry": false,
2551
- "is_view": false,
2552
- "generic_type_params": [],
2553
- "params": [
2554
- "vector<0x1::string::String>",
2555
- "vector<0x1::string::String>",
2556
- "vector<vector<u8>>"
2557
- ],
2558
- "return": [
2559
- "0x4::property_map::PropertyMap"
2560
- ]
2561
- },
2562
- {
2563
- "name": "read_address",
2564
- "visibility": "public",
2565
- "is_entry": false,
2566
- "is_view": false,
2567
- "generic_type_params": [
2568
- {
2569
- "constraints": [
2570
- "key"
2571
- ]
2572
- }
2573
- ],
2574
- "params": [
2575
- "&0x1::object::Object<T0>",
2576
- "&0x1::string::String"
2577
- ],
2578
- "return": [
2579
- "address"
2580
- ]
2581
- },
2582
- {
2583
- "name": "read_bool",
2584
- "visibility": "public",
2585
- "is_entry": false,
2586
- "is_view": false,
2587
- "generic_type_params": [
2588
- {
2589
- "constraints": [
2590
- "key"
2591
- ]
2592
- }
2593
- ],
2594
- "params": [
2595
- "&0x1::object::Object<T0>",
2596
- "&0x1::string::String"
2597
- ],
2598
- "return": [
2599
- "bool"
2600
- ]
2601
- },
2602
- {
2603
- "name": "read_bytes",
2604
- "visibility": "public",
2605
- "is_entry": false,
2606
- "is_view": false,
2607
- "generic_type_params": [
2608
- {
2609
- "constraints": [
2610
- "key"
2611
- ]
2612
- }
2613
- ],
2614
- "params": [
2615
- "&0x1::object::Object<T0>",
2616
- "&0x1::string::String"
2617
- ],
2618
- "return": [
2619
- "vector<u8>"
2620
- ]
2621
- },
2622
- {
2623
- "name": "read_string",
2624
- "visibility": "public",
2625
- "is_entry": false,
2626
- "is_view": false,
2627
- "generic_type_params": [
2628
- {
2629
- "constraints": [
2630
- "key"
2631
- ]
2632
- }
2633
- ],
2634
- "params": [
2635
- "&0x1::object::Object<T0>",
2636
- "&0x1::string::String"
2637
- ],
2638
- "return": [
2639
- "0x1::string::String"
2640
- ]
2641
- },
2642
- {
2643
- "name": "read_u128",
2644
- "visibility": "public",
2645
- "is_entry": false,
2646
- "is_view": false,
2647
- "generic_type_params": [
2648
- {
2649
- "constraints": [
2650
- "key"
2651
- ]
2652
- }
2653
- ],
2654
- "params": [
2655
- "&0x1::object::Object<T0>",
2656
- "&0x1::string::String"
2657
- ],
2658
- "return": [
2659
- "u128"
2660
- ]
2661
- },
2662
- {
2663
- "name": "read_u16",
2664
- "visibility": "public",
2665
- "is_entry": false,
2666
- "is_view": false,
2667
- "generic_type_params": [
2668
- {
2669
- "constraints": [
2670
- "key"
2671
- ]
2672
- }
2673
- ],
2674
- "params": [
2675
- "&0x1::object::Object<T0>",
2676
- "&0x1::string::String"
2677
- ],
2678
- "return": [
2679
- "u16"
2680
- ]
2681
- },
2682
- {
2683
- "name": "read_u256",
2684
- "visibility": "public",
2685
- "is_entry": false,
2686
- "is_view": false,
2687
- "generic_type_params": [
2688
- {
2689
- "constraints": [
2690
- "key"
2691
- ]
2692
- }
2693
- ],
2694
- "params": [
2695
- "&0x1::object::Object<T0>",
2696
- "&0x1::string::String"
2697
- ],
2698
- "return": [
2699
- "u256"
2700
- ]
2701
- },
2702
- {
2703
- "name": "read_u32",
2704
- "visibility": "public",
2705
- "is_entry": false,
2706
- "is_view": false,
2707
- "generic_type_params": [
2708
- {
2709
- "constraints": [
2710
- "key"
2711
- ]
2712
- }
2713
- ],
2714
- "params": [
2715
- "&0x1::object::Object<T0>",
2716
- "&0x1::string::String"
2717
- ],
2718
- "return": [
2719
- "u32"
2720
- ]
2721
- },
2722
- {
2723
- "name": "read_u64",
2724
- "visibility": "public",
2725
- "is_entry": false,
2726
- "is_view": false,
2727
- "generic_type_params": [
2728
- {
2729
- "constraints": [
2730
- "key"
2731
- ]
2732
- }
2733
- ],
2734
- "params": [
2735
- "&0x1::object::Object<T0>",
2736
- "&0x1::string::String"
2737
- ],
2738
- "return": [
2739
- "u64"
2740
- ]
2741
- },
2742
- {
2743
- "name": "read_u8",
2744
- "visibility": "public",
2745
- "is_entry": false,
2746
- "is_view": false,
2747
- "generic_type_params": [
2748
- {
2749
- "constraints": [
2750
- "key"
2751
- ]
2752
- }
2753
- ],
2754
- "params": [
2755
- "&0x1::object::Object<T0>",
2756
- "&0x1::string::String"
2757
- ],
2758
- "return": [
2759
- "u8"
2760
- ]
2761
- },
2762
- {
2763
- "name": "update_typed",
2764
- "visibility": "public",
2765
- "is_entry": false,
2766
- "is_view": false,
2767
- "generic_type_params": [
2768
- {
2769
- "constraints": [
2770
- "drop"
2771
- ]
2772
- }
2773
- ],
2774
- "params": [
2775
- "&0x4::property_map::MutatorRef",
2776
- "&0x1::string::String",
2777
- "T0"
2778
- ],
2779
- "return": []
2780
- }
2781
- ],
2782
- "structs": [
2783
- {
2784
- "name": "MutatorRef",
2785
- "is_native": false,
2786
- "is_event": false,
2787
- "is_enum": false,
2788
- "abilities": [
2789
- "drop",
2790
- "store"
2791
- ],
2792
- "generic_type_params": [],
2793
- "fields": [
2794
- {
2795
- "name": "self",
2796
- "type": "address"
2797
- }
2798
- ],
2799
- "variants": []
2800
- },
2801
- {
2802
- "name": "PropertyMap",
2803
- "is_native": false,
2804
- "is_event": false,
2805
- "is_enum": false,
2806
- "abilities": [
2807
- "drop",
2808
- "key"
2809
- ],
2810
- "generic_type_params": [],
2811
- "fields": [
2812
- {
2813
- "name": "inner",
2814
- "type": "0x1::simple_map::SimpleMap<0x1::string::String, 0x4::property_map::PropertyValue>"
2815
- }
2816
- ],
2817
- "variants": []
2818
- },
2819
- {
2820
- "name": "PropertyValue",
2821
- "is_native": false,
2822
- "is_event": false,
2823
- "is_enum": false,
2824
- "abilities": [
2825
- "drop",
2826
- "store"
2827
- ],
2828
- "generic_type_params": [],
2829
- "fields": [
2830
- {
2831
- "name": "type",
2832
- "type": "u8"
2833
- },
2834
- {
2835
- "name": "value",
2836
- "type": "vector<u8>"
2837
- }
2838
- ],
2839
- "variants": []
2840
- }
2841
- ]
2842
- }
2843
- }
2844
- ]