@typemove/aptos 2.0.0 → 2.0.1

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 (73) hide show
  1. package/dist/esm/account-resource-client.d.ts +28 -0
  2. package/dist/esm/account-resource-client.d.ts.map +1 -0
  3. package/dist/esm/account-resource-client.js +47 -0
  4. package/dist/esm/account-resource-client.js.map +1 -0
  5. package/dist/esm/aptos-chain-adapter.d.ts +16 -0
  6. package/dist/esm/aptos-chain-adapter.d.ts.map +1 -0
  7. package/dist/esm/aptos-chain-adapter.js +104 -0
  8. package/dist/esm/aptos-chain-adapter.js.map +1 -0
  9. package/dist/esm/builtin/0x1.d.ts +7522 -0
  10. package/dist/esm/builtin/0x1.d.ts.map +1 -0
  11. package/dist/esm/builtin/0x1.js +11632 -0
  12. package/dist/esm/builtin/0x1.js.map +1 -0
  13. package/dist/esm/builtin/0x3.d.ts +1087 -0
  14. package/dist/esm/builtin/0x3.d.ts.map +1 -0
  15. package/dist/esm/builtin/0x3.js +926 -0
  16. package/dist/esm/builtin/0x3.js.map +1 -0
  17. package/dist/esm/builtin/0x4.d.ts +535 -0
  18. package/dist/esm/builtin/0x4.d.ts.map +1 -0
  19. package/dist/esm/builtin/0x4.js +884 -0
  20. package/dist/esm/builtin/0x4.js.map +1 -0
  21. package/dist/esm/builtin/index.d.ts +4 -0
  22. package/dist/esm/builtin/index.d.ts.map +1 -0
  23. package/dist/esm/builtin/index.js +7 -0
  24. package/dist/esm/builtin/index.js.map +1 -0
  25. package/dist/esm/codegen/codegen.d.ts +18 -0
  26. package/dist/esm/codegen/codegen.d.ts.map +1 -0
  27. package/dist/esm/codegen/codegen.js +161 -0
  28. package/dist/esm/codegen/codegen.js.map +1 -0
  29. package/dist/esm/codegen/index.d.ts +2 -0
  30. package/dist/esm/codegen/index.d.ts.map +1 -0
  31. package/dist/esm/codegen/index.js +2 -0
  32. package/dist/esm/codegen/index.js.map +1 -0
  33. package/dist/esm/codegen/run.d.ts +3 -0
  34. package/dist/esm/codegen/run.d.ts.map +1 -0
  35. package/dist/esm/codegen/run.js.map +1 -0
  36. package/dist/esm/coder-helpers.d.ts +6 -0
  37. package/dist/esm/coder-helpers.d.ts.map +1 -0
  38. package/dist/esm/coder-helpers.js +8 -0
  39. package/dist/esm/coder-helpers.js.map +1 -0
  40. package/dist/esm/index.d.ts +5 -0
  41. package/dist/esm/index.d.ts.map +1 -0
  42. package/dist/esm/index.js +5 -0
  43. package/dist/esm/index.js.map +1 -0
  44. package/dist/esm/models.d.ts +12 -0
  45. package/dist/esm/models.d.ts.map +1 -0
  46. package/dist/esm/models.js +2 -0
  47. package/dist/esm/models.js.map +1 -0
  48. package/dist/esm/move-coder.d.ts +17 -0
  49. package/dist/esm/move-coder.d.ts.map +1 -0
  50. package/dist/esm/move-coder.js +97 -0
  51. package/dist/esm/move-coder.js.map +1 -0
  52. package/dist/esm/to-internal.d.ts +7 -0
  53. package/dist/esm/to-internal.d.ts.map +1 -0
  54. package/dist/esm/to-internal.js +55 -0
  55. package/dist/esm/to-internal.js.map +1 -0
  56. package/package.json +6 -6
  57. package/src/abis/0x1.json +43414 -0
  58. package/src/abis/0x3.json +3976 -0
  59. package/src/abis/0x4.json +2844 -0
  60. package/src/account-resource-client.ts +69 -0
  61. package/src/aptos-chain-adapter.ts +132 -0
  62. package/src/builtin/0x1.ts +19976 -0
  63. package/src/builtin/0x3.ts +2083 -0
  64. package/src/builtin/0x4.ts +1503 -0
  65. package/src/builtin/index.ts +6 -0
  66. package/src/codegen/codegen.ts +190 -0
  67. package/src/codegen/index.ts +1 -0
  68. package/src/codegen/run.ts +67 -0
  69. package/src/coder-helpers.ts +15 -0
  70. package/src/index.ts +4 -0
  71. package/src/models.ts +23 -0
  72. package/src/move-coder.ts +124 -0
  73. package/src/to-internal.ts +71 -0
@@ -0,0 +1,884 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* Generated types for 0x4, original address 0x4 */
5
+ import { TypeDescriptor } from "@typemove/move";
6
+ import { defaultMoveCoder } from "@typemove/aptos";
7
+ import * as _0x1 from "./0x1.js";
8
+ export var token;
9
+ (function (token) {
10
+ let BurnRef;
11
+ (function (BurnRef) {
12
+ BurnRef.TYPE_QNAME = "0x4::token::BurnRef";
13
+ const TYPE = new TypeDescriptor(BurnRef.TYPE_QNAME);
14
+ function type() {
15
+ return TYPE.apply();
16
+ }
17
+ BurnRef.type = type;
18
+ })(BurnRef = token.BurnRef || (token.BurnRef = {}));
19
+ let MutatorRef;
20
+ (function (MutatorRef) {
21
+ MutatorRef.TYPE_QNAME = "0x4::token::MutatorRef";
22
+ const TYPE = new TypeDescriptor(MutatorRef.TYPE_QNAME);
23
+ function type() {
24
+ return TYPE.apply();
25
+ }
26
+ MutatorRef.type = type;
27
+ })(MutatorRef = token.MutatorRef || (token.MutatorRef = {}));
28
+ let Mutation;
29
+ (function (Mutation) {
30
+ Mutation.TYPE_QNAME = "0x4::token::Mutation";
31
+ const TYPE = new TypeDescriptor(Mutation.TYPE_QNAME);
32
+ function type() {
33
+ return TYPE.apply();
34
+ }
35
+ Mutation.type = type;
36
+ })(Mutation = token.Mutation || (token.Mutation = {}));
37
+ let MutationEvent;
38
+ (function (MutationEvent) {
39
+ MutationEvent.TYPE_QNAME = "0x4::token::MutationEvent";
40
+ const TYPE = new TypeDescriptor(MutationEvent.TYPE_QNAME);
41
+ function type() {
42
+ return TYPE.apply();
43
+ }
44
+ MutationEvent.type = type;
45
+ })(MutationEvent = token.MutationEvent || (token.MutationEvent = {}));
46
+ let ConcurrentTokenIdentifiers;
47
+ (function (ConcurrentTokenIdentifiers) {
48
+ ConcurrentTokenIdentifiers.TYPE_QNAME = "0x4::token::ConcurrentTokenIdentifiers";
49
+ const TYPE = new TypeDescriptor(ConcurrentTokenIdentifiers.TYPE_QNAME);
50
+ function type() {
51
+ return TYPE.apply();
52
+ }
53
+ ConcurrentTokenIdentifiers.type = type;
54
+ })(ConcurrentTokenIdentifiers = token.ConcurrentTokenIdentifiers || (token.ConcurrentTokenIdentifiers = {}));
55
+ let Token;
56
+ (function (Token) {
57
+ Token.TYPE_QNAME = "0x4::token::Token";
58
+ const TYPE = new TypeDescriptor(Token.TYPE_QNAME);
59
+ function type() {
60
+ return TYPE.apply();
61
+ }
62
+ Token.type = type;
63
+ })(Token = token.Token || (token.Token = {}));
64
+ let TokenIdentifiers;
65
+ (function (TokenIdentifiers) {
66
+ TokenIdentifiers.TYPE_QNAME = "0x4::token::TokenIdentifiers";
67
+ const TYPE = new TypeDescriptor(TokenIdentifiers.TYPE_QNAME);
68
+ function type() {
69
+ return TYPE.apply();
70
+ }
71
+ TokenIdentifiers.type = type;
72
+ })(TokenIdentifiers = token.TokenIdentifiers || (token.TokenIdentifiers = {}));
73
+ let view;
74
+ (function (view) {
75
+ async function royalty(client, request, version) {
76
+ const coder = defaultMoveCoder(client.config);
77
+ const data = {
78
+ function: "0x4::token::royalty",
79
+ functionArguments: coder.encodeArray(request.functionArguments),
80
+ typeArguments: request.typeArguments,
81
+ };
82
+ const res = await client.view({
83
+ payload: data,
84
+ options: { ledgerVersion: version },
85
+ });
86
+ const type = await coder.getMoveFunction("0x4::token::royalty");
87
+ return (await coder.decodeArray(res, type.return));
88
+ }
89
+ view.royalty = royalty;
90
+ async function index(client, request, version) {
91
+ const coder = defaultMoveCoder(client.config);
92
+ const data = {
93
+ function: "0x4::token::index",
94
+ functionArguments: coder.encodeArray(request.functionArguments),
95
+ typeArguments: request.typeArguments,
96
+ };
97
+ const res = await client.view({
98
+ payload: data,
99
+ options: { ledgerVersion: version },
100
+ });
101
+ const type = await coder.getMoveFunction("0x4::token::index");
102
+ return (await coder.decodeArray(res, type.return));
103
+ }
104
+ view.index = index;
105
+ async function creator(client, request, version) {
106
+ const coder = defaultMoveCoder(client.config);
107
+ const data = {
108
+ function: "0x4::token::creator",
109
+ functionArguments: coder.encodeArray(request.functionArguments),
110
+ typeArguments: request.typeArguments,
111
+ };
112
+ const res = await client.view({
113
+ payload: data,
114
+ options: { ledgerVersion: version },
115
+ });
116
+ const type = await coder.getMoveFunction("0x4::token::creator");
117
+ return (await coder.decodeArray(res, type.return));
118
+ }
119
+ view.creator = creator;
120
+ async function name(client, request, version) {
121
+ const coder = defaultMoveCoder(client.config);
122
+ const data = {
123
+ function: "0x4::token::name",
124
+ functionArguments: coder.encodeArray(request.functionArguments),
125
+ typeArguments: request.typeArguments,
126
+ };
127
+ const res = await client.view({
128
+ payload: data,
129
+ options: { ledgerVersion: version },
130
+ });
131
+ const type = await coder.getMoveFunction("0x4::token::name");
132
+ return (await coder.decodeArray(res, type.return));
133
+ }
134
+ view.name = name;
135
+ async function description(client, request, version) {
136
+ const coder = defaultMoveCoder(client.config);
137
+ const data = {
138
+ function: "0x4::token::description",
139
+ functionArguments: coder.encodeArray(request.functionArguments),
140
+ typeArguments: request.typeArguments,
141
+ };
142
+ const res = await client.view({
143
+ payload: data,
144
+ options: { ledgerVersion: version },
145
+ });
146
+ const type = await coder.getMoveFunction("0x4::token::description");
147
+ return (await coder.decodeArray(res, type.return));
148
+ }
149
+ view.description = description;
150
+ async function uri(client, request, version) {
151
+ const coder = defaultMoveCoder(client.config);
152
+ const data = {
153
+ function: "0x4::token::uri",
154
+ functionArguments: coder.encodeArray(request.functionArguments),
155
+ typeArguments: request.typeArguments,
156
+ };
157
+ const res = await client.view({
158
+ payload: data,
159
+ options: { ledgerVersion: version },
160
+ });
161
+ const type = await coder.getMoveFunction("0x4::token::uri");
162
+ return (await coder.decodeArray(res, type.return));
163
+ }
164
+ view.uri = uri;
165
+ async function collectionName(client, request, version) {
166
+ const coder = defaultMoveCoder(client.config);
167
+ const data = {
168
+ function: "0x4::token::collection_name",
169
+ functionArguments: coder.encodeArray(request.functionArguments),
170
+ typeArguments: request.typeArguments,
171
+ };
172
+ const res = await client.view({
173
+ payload: data,
174
+ options: { ledgerVersion: version },
175
+ });
176
+ const type = await coder.getMoveFunction("0x4::token::collection_name");
177
+ return (await coder.decodeArray(res, type.return));
178
+ }
179
+ view.collectionName = collectionName;
180
+ async function collectionObject(client, request, version) {
181
+ const coder = defaultMoveCoder(client.config);
182
+ const data = {
183
+ function: "0x4::token::collection_object",
184
+ functionArguments: coder.encodeArray(request.functionArguments),
185
+ typeArguments: request.typeArguments,
186
+ };
187
+ const res = await client.view({
188
+ payload: data,
189
+ options: { ledgerVersion: version },
190
+ });
191
+ const type = await coder.getMoveFunction("0x4::token::collection_object");
192
+ return (await coder.decodeArray(res, type.return));
193
+ }
194
+ view.collectionObject = collectionObject;
195
+ async function createTokenAddressWithSeed(client, request, version) {
196
+ const coder = defaultMoveCoder(client.config);
197
+ const data = {
198
+ function: "0x4::token::create_token_address_with_seed",
199
+ functionArguments: coder.encodeArray(request.functionArguments),
200
+ typeArguments: [],
201
+ };
202
+ const res = await client.view({
203
+ payload: data,
204
+ options: { ledgerVersion: version },
205
+ });
206
+ const type = await coder.getMoveFunction("0x4::token::create_token_address_with_seed");
207
+ return (await coder.decodeArray(res, type.return));
208
+ }
209
+ view.createTokenAddressWithSeed = createTokenAddressWithSeed;
210
+ })(view = token.view || (token.view = {}));
211
+ })(token || (token = {}));
212
+ export var royalty;
213
+ (function (royalty) {
214
+ let MutatorRef;
215
+ (function (MutatorRef) {
216
+ MutatorRef.TYPE_QNAME = "0x4::royalty::MutatorRef";
217
+ const TYPE = new TypeDescriptor(MutatorRef.TYPE_QNAME);
218
+ function type() {
219
+ return TYPE.apply();
220
+ }
221
+ MutatorRef.type = type;
222
+ })(MutatorRef = royalty.MutatorRef || (royalty.MutatorRef = {}));
223
+ let Royalty;
224
+ (function (Royalty) {
225
+ Royalty.TYPE_QNAME = "0x4::royalty::Royalty";
226
+ const TYPE = new TypeDescriptor(Royalty.TYPE_QNAME);
227
+ function type() {
228
+ return TYPE.apply();
229
+ }
230
+ Royalty.type = type;
231
+ })(Royalty = royalty.Royalty || (royalty.Royalty = {}));
232
+ })(royalty || (royalty = {}));
233
+ export var collection;
234
+ (function (collection) {
235
+ let ConcurrentSupply;
236
+ (function (ConcurrentSupply) {
237
+ ConcurrentSupply.TYPE_QNAME = "0x4::collection::ConcurrentSupply";
238
+ const TYPE = new TypeDescriptor(ConcurrentSupply.TYPE_QNAME);
239
+ function type() {
240
+ return TYPE.apply();
241
+ }
242
+ ConcurrentSupply.type = type;
243
+ })(ConcurrentSupply = collection.ConcurrentSupply || (collection.ConcurrentSupply = {}));
244
+ let MutatorRef;
245
+ (function (MutatorRef) {
246
+ MutatorRef.TYPE_QNAME = "0x4::collection::MutatorRef";
247
+ const TYPE = new TypeDescriptor(MutatorRef.TYPE_QNAME);
248
+ function type() {
249
+ return TYPE.apply();
250
+ }
251
+ MutatorRef.type = type;
252
+ })(MutatorRef = collection.MutatorRef || (collection.MutatorRef = {}));
253
+ let Burn;
254
+ (function (Burn) {
255
+ Burn.TYPE_QNAME = "0x4::collection::Burn";
256
+ const TYPE = new TypeDescriptor(Burn.TYPE_QNAME);
257
+ function type() {
258
+ return TYPE.apply();
259
+ }
260
+ Burn.type = type;
261
+ })(Burn = collection.Burn || (collection.Burn = {}));
262
+ let BurnEvent;
263
+ (function (BurnEvent) {
264
+ BurnEvent.TYPE_QNAME = "0x4::collection::BurnEvent";
265
+ const TYPE = new TypeDescriptor(BurnEvent.TYPE_QNAME);
266
+ function type() {
267
+ return TYPE.apply();
268
+ }
269
+ BurnEvent.type = type;
270
+ })(BurnEvent = collection.BurnEvent || (collection.BurnEvent = {}));
271
+ let Collection;
272
+ (function (Collection) {
273
+ Collection.TYPE_QNAME = "0x4::collection::Collection";
274
+ const TYPE = new TypeDescriptor(Collection.TYPE_QNAME);
275
+ function type() {
276
+ return TYPE.apply();
277
+ }
278
+ Collection.type = type;
279
+ })(Collection = collection.Collection || (collection.Collection = {}));
280
+ let ConcurrentBurnEvent;
281
+ (function (ConcurrentBurnEvent) {
282
+ ConcurrentBurnEvent.TYPE_QNAME = "0x4::collection::ConcurrentBurnEvent";
283
+ const TYPE = new TypeDescriptor(ConcurrentBurnEvent.TYPE_QNAME);
284
+ function type() {
285
+ return TYPE.apply();
286
+ }
287
+ ConcurrentBurnEvent.type = type;
288
+ })(ConcurrentBurnEvent = collection.ConcurrentBurnEvent || (collection.ConcurrentBurnEvent = {}));
289
+ let ConcurrentMintEvent;
290
+ (function (ConcurrentMintEvent) {
291
+ ConcurrentMintEvent.TYPE_QNAME = "0x4::collection::ConcurrentMintEvent";
292
+ const TYPE = new TypeDescriptor(ConcurrentMintEvent.TYPE_QNAME);
293
+ function type() {
294
+ return TYPE.apply();
295
+ }
296
+ ConcurrentMintEvent.type = type;
297
+ })(ConcurrentMintEvent = collection.ConcurrentMintEvent || (collection.ConcurrentMintEvent = {}));
298
+ let FixedSupply;
299
+ (function (FixedSupply) {
300
+ FixedSupply.TYPE_QNAME = "0x4::collection::FixedSupply";
301
+ const TYPE = new TypeDescriptor(FixedSupply.TYPE_QNAME);
302
+ function type() {
303
+ return TYPE.apply();
304
+ }
305
+ FixedSupply.type = type;
306
+ })(FixedSupply = collection.FixedSupply || (collection.FixedSupply = {}));
307
+ let Mint;
308
+ (function (Mint) {
309
+ Mint.TYPE_QNAME = "0x4::collection::Mint";
310
+ const TYPE = new TypeDescriptor(Mint.TYPE_QNAME);
311
+ function type() {
312
+ return TYPE.apply();
313
+ }
314
+ Mint.type = type;
315
+ })(Mint = collection.Mint || (collection.Mint = {}));
316
+ let MintEvent;
317
+ (function (MintEvent) {
318
+ MintEvent.TYPE_QNAME = "0x4::collection::MintEvent";
319
+ const TYPE = new TypeDescriptor(MintEvent.TYPE_QNAME);
320
+ function type() {
321
+ return TYPE.apply();
322
+ }
323
+ MintEvent.type = type;
324
+ })(MintEvent = collection.MintEvent || (collection.MintEvent = {}));
325
+ let Mutation;
326
+ (function (Mutation) {
327
+ Mutation.TYPE_QNAME = "0x4::collection::Mutation";
328
+ const TYPE = new TypeDescriptor(Mutation.TYPE_QNAME);
329
+ function type() {
330
+ return TYPE.apply();
331
+ }
332
+ Mutation.type = type;
333
+ })(Mutation = collection.Mutation || (collection.Mutation = {}));
334
+ let MutationEvent;
335
+ (function (MutationEvent) {
336
+ MutationEvent.TYPE_QNAME = "0x4::collection::MutationEvent";
337
+ const TYPE = new TypeDescriptor(MutationEvent.TYPE_QNAME);
338
+ function type() {
339
+ return TYPE.apply();
340
+ }
341
+ MutationEvent.type = type;
342
+ })(MutationEvent = collection.MutationEvent || (collection.MutationEvent = {}));
343
+ let SetMaxSupply;
344
+ (function (SetMaxSupply) {
345
+ SetMaxSupply.TYPE_QNAME = "0x4::collection::SetMaxSupply";
346
+ const TYPE = new TypeDescriptor(SetMaxSupply.TYPE_QNAME);
347
+ function type() {
348
+ return TYPE.apply();
349
+ }
350
+ SetMaxSupply.type = type;
351
+ })(SetMaxSupply = collection.SetMaxSupply || (collection.SetMaxSupply = {}));
352
+ let UnlimitedSupply;
353
+ (function (UnlimitedSupply) {
354
+ UnlimitedSupply.TYPE_QNAME = "0x4::collection::UnlimitedSupply";
355
+ const TYPE = new TypeDescriptor(UnlimitedSupply.TYPE_QNAME);
356
+ function type() {
357
+ return TYPE.apply();
358
+ }
359
+ UnlimitedSupply.type = type;
360
+ })(UnlimitedSupply = collection.UnlimitedSupply || (collection.UnlimitedSupply = {}));
361
+ let view;
362
+ (function (view) {
363
+ async function count(client, request, version) {
364
+ const coder = defaultMoveCoder(client.config);
365
+ const data = {
366
+ function: "0x4::collection::count",
367
+ functionArguments: coder.encodeArray(request.functionArguments),
368
+ typeArguments: request.typeArguments,
369
+ };
370
+ const res = await client.view({
371
+ payload: data,
372
+ options: { ledgerVersion: version },
373
+ });
374
+ const type = await coder.getMoveFunction("0x4::collection::count");
375
+ return (await coder.decodeArray(res, type.return));
376
+ }
377
+ view.count = count;
378
+ async function creator(client, request, version) {
379
+ const coder = defaultMoveCoder(client.config);
380
+ const data = {
381
+ function: "0x4::collection::creator",
382
+ functionArguments: coder.encodeArray(request.functionArguments),
383
+ typeArguments: request.typeArguments,
384
+ };
385
+ const res = await client.view({
386
+ payload: data,
387
+ options: { ledgerVersion: version },
388
+ });
389
+ const type = await coder.getMoveFunction("0x4::collection::creator");
390
+ return (await coder.decodeArray(res, type.return));
391
+ }
392
+ view.creator = creator;
393
+ async function name(client, request, version) {
394
+ const coder = defaultMoveCoder(client.config);
395
+ const data = {
396
+ function: "0x4::collection::name",
397
+ functionArguments: coder.encodeArray(request.functionArguments),
398
+ typeArguments: request.typeArguments,
399
+ };
400
+ const res = await client.view({
401
+ payload: data,
402
+ options: { ledgerVersion: version },
403
+ });
404
+ const type = await coder.getMoveFunction("0x4::collection::name");
405
+ return (await coder.decodeArray(res, type.return));
406
+ }
407
+ view.name = name;
408
+ async function description(client, request, version) {
409
+ const coder = defaultMoveCoder(client.config);
410
+ const data = {
411
+ function: "0x4::collection::description",
412
+ functionArguments: coder.encodeArray(request.functionArguments),
413
+ typeArguments: request.typeArguments,
414
+ };
415
+ const res = await client.view({
416
+ payload: data,
417
+ options: { ledgerVersion: version },
418
+ });
419
+ const type = await coder.getMoveFunction("0x4::collection::description");
420
+ return (await coder.decodeArray(res, type.return));
421
+ }
422
+ view.description = description;
423
+ async function uri(client, request, version) {
424
+ const coder = defaultMoveCoder(client.config);
425
+ const data = {
426
+ function: "0x4::collection::uri",
427
+ functionArguments: coder.encodeArray(request.functionArguments),
428
+ typeArguments: request.typeArguments,
429
+ };
430
+ const res = await client.view({
431
+ payload: data,
432
+ options: { ledgerVersion: version },
433
+ });
434
+ const type = await coder.getMoveFunction("0x4::collection::uri");
435
+ return (await coder.decodeArray(res, type.return));
436
+ }
437
+ view.uri = uri;
438
+ })(view = collection.view || (collection.view = {}));
439
+ })(collection || (collection = {}));
440
+ export var aptos_token;
441
+ (function (aptos_token) {
442
+ let AptosCollection;
443
+ (function (AptosCollection) {
444
+ AptosCollection.TYPE_QNAME = "0x4::aptos_token::AptosCollection";
445
+ const TYPE = new TypeDescriptor(AptosCollection.TYPE_QNAME);
446
+ function type() {
447
+ return TYPE.apply();
448
+ }
449
+ AptosCollection.type = type;
450
+ })(AptosCollection = aptos_token.AptosCollection || (aptos_token.AptosCollection = {}));
451
+ let AptosToken;
452
+ (function (AptosToken) {
453
+ AptosToken.TYPE_QNAME = "0x4::aptos_token::AptosToken";
454
+ const TYPE = new TypeDescriptor(AptosToken.TYPE_QNAME);
455
+ function type() {
456
+ return TYPE.apply();
457
+ }
458
+ AptosToken.type = type;
459
+ })(AptosToken = aptos_token.AptosToken || (aptos_token.AptosToken = {}));
460
+ let entry;
461
+ (function (entry) {
462
+ async function burn(client, account, request, options) {
463
+ const coder = defaultMoveCoder(client.config);
464
+ const transaction = await client.transaction.build.simple({
465
+ sender: account.accountAddress,
466
+ data: {
467
+ function: "0x4::aptos_token::burn",
468
+ functionArguments: coder.encodeArray(request.functionArguments),
469
+ typeArguments: request.typeArguments,
470
+ },
471
+ options,
472
+ });
473
+ return await client.signAndSubmitTransaction({
474
+ signer: account,
475
+ transaction,
476
+ });
477
+ }
478
+ entry.burn = burn;
479
+ async function mint(client, account, request, options) {
480
+ const coder = defaultMoveCoder(client.config);
481
+ const transaction = await client.transaction.build.simple({
482
+ sender: account.accountAddress,
483
+ data: {
484
+ function: "0x4::aptos_token::mint",
485
+ functionArguments: coder.encodeArray(request.functionArguments),
486
+ typeArguments: [],
487
+ },
488
+ options,
489
+ });
490
+ return await client.signAndSubmitTransaction({
491
+ signer: account,
492
+ transaction,
493
+ });
494
+ }
495
+ entry.mint = mint;
496
+ async function setDescription(client, account, request, options) {
497
+ const coder = defaultMoveCoder(client.config);
498
+ const transaction = await client.transaction.build.simple({
499
+ sender: account.accountAddress,
500
+ data: {
501
+ function: "0x4::aptos_token::set_description",
502
+ functionArguments: coder.encodeArray(request.functionArguments),
503
+ typeArguments: request.typeArguments,
504
+ },
505
+ options,
506
+ });
507
+ return await client.signAndSubmitTransaction({
508
+ signer: account,
509
+ transaction,
510
+ });
511
+ }
512
+ entry.setDescription = setDescription;
513
+ async function setName(client, account, request, options) {
514
+ const coder = defaultMoveCoder(client.config);
515
+ const transaction = await client.transaction.build.simple({
516
+ sender: account.accountAddress,
517
+ data: {
518
+ function: "0x4::aptos_token::set_name",
519
+ functionArguments: coder.encodeArray(request.functionArguments),
520
+ typeArguments: request.typeArguments,
521
+ },
522
+ options,
523
+ });
524
+ return await client.signAndSubmitTransaction({
525
+ signer: account,
526
+ transaction,
527
+ });
528
+ }
529
+ entry.setName = setName;
530
+ async function setUri(client, account, request, options) {
531
+ const coder = defaultMoveCoder(client.config);
532
+ const transaction = await client.transaction.build.simple({
533
+ sender: account.accountAddress,
534
+ data: {
535
+ function: "0x4::aptos_token::set_uri",
536
+ functionArguments: coder.encodeArray(request.functionArguments),
537
+ typeArguments: request.typeArguments,
538
+ },
539
+ options,
540
+ });
541
+ return await client.signAndSubmitTransaction({
542
+ signer: account,
543
+ transaction,
544
+ });
545
+ }
546
+ entry.setUri = setUri;
547
+ async function addProperty(client, account, request, options) {
548
+ const coder = defaultMoveCoder(client.config);
549
+ const transaction = await client.transaction.build.simple({
550
+ sender: account.accountAddress,
551
+ data: {
552
+ function: "0x4::aptos_token::add_property",
553
+ functionArguments: coder.encodeArray(request.functionArguments),
554
+ typeArguments: request.typeArguments,
555
+ },
556
+ options,
557
+ });
558
+ return await client.signAndSubmitTransaction({
559
+ signer: account,
560
+ transaction,
561
+ });
562
+ }
563
+ entry.addProperty = addProperty;
564
+ async function addTypedProperty(client, account, request, options) {
565
+ const coder = defaultMoveCoder(client.config);
566
+ const transaction = await client.transaction.build.simple({
567
+ sender: account.accountAddress,
568
+ data: {
569
+ function: "0x4::aptos_token::add_typed_property",
570
+ functionArguments: coder.encodeArray(request.functionArguments),
571
+ typeArguments: request.typeArguments,
572
+ },
573
+ options,
574
+ });
575
+ return await client.signAndSubmitTransaction({
576
+ signer: account,
577
+ transaction,
578
+ });
579
+ }
580
+ entry.addTypedProperty = addTypedProperty;
581
+ async function createCollection(client, account, request, options) {
582
+ const coder = defaultMoveCoder(client.config);
583
+ const transaction = await client.transaction.build.simple({
584
+ sender: account.accountAddress,
585
+ data: {
586
+ function: "0x4::aptos_token::create_collection",
587
+ functionArguments: coder.encodeArray(request.functionArguments),
588
+ typeArguments: [],
589
+ },
590
+ options,
591
+ });
592
+ return await client.signAndSubmitTransaction({
593
+ signer: account,
594
+ transaction,
595
+ });
596
+ }
597
+ entry.createCollection = createCollection;
598
+ async function freezeTransfer(client, account, request, options) {
599
+ const coder = defaultMoveCoder(client.config);
600
+ const transaction = await client.transaction.build.simple({
601
+ sender: account.accountAddress,
602
+ data: {
603
+ function: "0x4::aptos_token::freeze_transfer",
604
+ functionArguments: coder.encodeArray(request.functionArguments),
605
+ typeArguments: request.typeArguments,
606
+ },
607
+ options,
608
+ });
609
+ return await client.signAndSubmitTransaction({
610
+ signer: account,
611
+ transaction,
612
+ });
613
+ }
614
+ entry.freezeTransfer = freezeTransfer;
615
+ async function mintSoulBound(client, account, request, options) {
616
+ const coder = defaultMoveCoder(client.config);
617
+ const transaction = await client.transaction.build.simple({
618
+ sender: account.accountAddress,
619
+ data: {
620
+ function: "0x4::aptos_token::mint_soul_bound",
621
+ functionArguments: coder.encodeArray(request.functionArguments),
622
+ typeArguments: [],
623
+ },
624
+ options,
625
+ });
626
+ return await client.signAndSubmitTransaction({
627
+ signer: account,
628
+ transaction,
629
+ });
630
+ }
631
+ entry.mintSoulBound = mintSoulBound;
632
+ async function removeProperty(client, account, request, options) {
633
+ const coder = defaultMoveCoder(client.config);
634
+ const transaction = await client.transaction.build.simple({
635
+ sender: account.accountAddress,
636
+ data: {
637
+ function: "0x4::aptos_token::remove_property",
638
+ functionArguments: coder.encodeArray(request.functionArguments),
639
+ typeArguments: request.typeArguments,
640
+ },
641
+ options,
642
+ });
643
+ return await client.signAndSubmitTransaction({
644
+ signer: account,
645
+ transaction,
646
+ });
647
+ }
648
+ entry.removeProperty = removeProperty;
649
+ async function setCollectionDescription(client, account, request, options) {
650
+ const coder = defaultMoveCoder(client.config);
651
+ const transaction = await client.transaction.build.simple({
652
+ sender: account.accountAddress,
653
+ data: {
654
+ function: "0x4::aptos_token::set_collection_description",
655
+ functionArguments: coder.encodeArray(request.functionArguments),
656
+ typeArguments: request.typeArguments,
657
+ },
658
+ options,
659
+ });
660
+ return await client.signAndSubmitTransaction({
661
+ signer: account,
662
+ transaction,
663
+ });
664
+ }
665
+ entry.setCollectionDescription = setCollectionDescription;
666
+ async function setCollectionRoyaltiesCall(client, account, request, options) {
667
+ const coder = defaultMoveCoder(client.config);
668
+ const transaction = await client.transaction.build.simple({
669
+ sender: account.accountAddress,
670
+ data: {
671
+ function: "0x4::aptos_token::set_collection_royalties_call",
672
+ functionArguments: coder.encodeArray(request.functionArguments),
673
+ typeArguments: request.typeArguments,
674
+ },
675
+ options,
676
+ });
677
+ return await client.signAndSubmitTransaction({
678
+ signer: account,
679
+ transaction,
680
+ });
681
+ }
682
+ entry.setCollectionRoyaltiesCall = setCollectionRoyaltiesCall;
683
+ async function setCollectionUri(client, account, request, options) {
684
+ const coder = defaultMoveCoder(client.config);
685
+ const transaction = await client.transaction.build.simple({
686
+ sender: account.accountAddress,
687
+ data: {
688
+ function: "0x4::aptos_token::set_collection_uri",
689
+ functionArguments: coder.encodeArray(request.functionArguments),
690
+ typeArguments: request.typeArguments,
691
+ },
692
+ options,
693
+ });
694
+ return await client.signAndSubmitTransaction({
695
+ signer: account,
696
+ transaction,
697
+ });
698
+ }
699
+ entry.setCollectionUri = setCollectionUri;
700
+ async function unfreezeTransfer(client, account, request, options) {
701
+ const coder = defaultMoveCoder(client.config);
702
+ const transaction = await client.transaction.build.simple({
703
+ sender: account.accountAddress,
704
+ data: {
705
+ function: "0x4::aptos_token::unfreeze_transfer",
706
+ functionArguments: coder.encodeArray(request.functionArguments),
707
+ typeArguments: request.typeArguments,
708
+ },
709
+ options,
710
+ });
711
+ return await client.signAndSubmitTransaction({
712
+ signer: account,
713
+ transaction,
714
+ });
715
+ }
716
+ entry.unfreezeTransfer = unfreezeTransfer;
717
+ async function updateProperty(client, account, request, options) {
718
+ const coder = defaultMoveCoder(client.config);
719
+ const transaction = await client.transaction.build.simple({
720
+ sender: account.accountAddress,
721
+ data: {
722
+ function: "0x4::aptos_token::update_property",
723
+ functionArguments: coder.encodeArray(request.functionArguments),
724
+ typeArguments: request.typeArguments,
725
+ },
726
+ options,
727
+ });
728
+ return await client.signAndSubmitTransaction({
729
+ signer: account,
730
+ transaction,
731
+ });
732
+ }
733
+ entry.updateProperty = updateProperty;
734
+ async function updateTypedProperty(client, account, request, options) {
735
+ const coder = defaultMoveCoder(client.config);
736
+ const transaction = await client.transaction.build.simple({
737
+ sender: account.accountAddress,
738
+ data: {
739
+ function: "0x4::aptos_token::update_typed_property",
740
+ functionArguments: coder.encodeArray(request.functionArguments),
741
+ typeArguments: request.typeArguments,
742
+ },
743
+ options,
744
+ });
745
+ return await client.signAndSubmitTransaction({
746
+ signer: account,
747
+ transaction,
748
+ });
749
+ }
750
+ entry.updateTypedProperty = updateTypedProperty;
751
+ })(entry = aptos_token.entry || (aptos_token.entry = {}));
752
+ let view;
753
+ (function (view) {
754
+ async function arePropertiesMutable(client, request, version) {
755
+ const coder = defaultMoveCoder(client.config);
756
+ const data = {
757
+ function: "0x4::aptos_token::are_properties_mutable",
758
+ functionArguments: coder.encodeArray(request.functionArguments),
759
+ typeArguments: request.typeArguments,
760
+ };
761
+ const res = await client.view({
762
+ payload: data,
763
+ options: { ledgerVersion: version },
764
+ });
765
+ const type = await coder.getMoveFunction("0x4::aptos_token::are_properties_mutable");
766
+ return (await coder.decodeArray(res, type.return));
767
+ }
768
+ view.arePropertiesMutable = arePropertiesMutable;
769
+ async function isBurnable(client, request, version) {
770
+ const coder = defaultMoveCoder(client.config);
771
+ const data = {
772
+ function: "0x4::aptos_token::is_burnable",
773
+ functionArguments: coder.encodeArray(request.functionArguments),
774
+ typeArguments: request.typeArguments,
775
+ };
776
+ const res = await client.view({
777
+ payload: data,
778
+ options: { ledgerVersion: version },
779
+ });
780
+ const type = await coder.getMoveFunction("0x4::aptos_token::is_burnable");
781
+ return (await coder.decodeArray(res, type.return));
782
+ }
783
+ view.isBurnable = isBurnable;
784
+ async function isFreezableByCreator(client, request, version) {
785
+ const coder = defaultMoveCoder(client.config);
786
+ const data = {
787
+ function: "0x4::aptos_token::is_freezable_by_creator",
788
+ functionArguments: coder.encodeArray(request.functionArguments),
789
+ typeArguments: request.typeArguments,
790
+ };
791
+ const res = await client.view({
792
+ payload: data,
793
+ options: { ledgerVersion: version },
794
+ });
795
+ const type = await coder.getMoveFunction("0x4::aptos_token::is_freezable_by_creator");
796
+ return (await coder.decodeArray(res, type.return));
797
+ }
798
+ view.isFreezableByCreator = isFreezableByCreator;
799
+ async function isMutableDescription(client, request, version) {
800
+ const coder = defaultMoveCoder(client.config);
801
+ const data = {
802
+ function: "0x4::aptos_token::is_mutable_description",
803
+ functionArguments: coder.encodeArray(request.functionArguments),
804
+ typeArguments: request.typeArguments,
805
+ };
806
+ const res = await client.view({
807
+ payload: data,
808
+ options: { ledgerVersion: version },
809
+ });
810
+ const type = await coder.getMoveFunction("0x4::aptos_token::is_mutable_description");
811
+ return (await coder.decodeArray(res, type.return));
812
+ }
813
+ view.isMutableDescription = isMutableDescription;
814
+ async function isMutableName(client, request, version) {
815
+ const coder = defaultMoveCoder(client.config);
816
+ const data = {
817
+ function: "0x4::aptos_token::is_mutable_name",
818
+ functionArguments: coder.encodeArray(request.functionArguments),
819
+ typeArguments: request.typeArguments,
820
+ };
821
+ const res = await client.view({
822
+ payload: data,
823
+ options: { ledgerVersion: version },
824
+ });
825
+ const type = await coder.getMoveFunction("0x4::aptos_token::is_mutable_name");
826
+ return (await coder.decodeArray(res, type.return));
827
+ }
828
+ view.isMutableName = isMutableName;
829
+ async function isMutableUri(client, request, version) {
830
+ const coder = defaultMoveCoder(client.config);
831
+ const data = {
832
+ function: "0x4::aptos_token::is_mutable_uri",
833
+ functionArguments: coder.encodeArray(request.functionArguments),
834
+ typeArguments: request.typeArguments,
835
+ };
836
+ const res = await client.view({
837
+ payload: data,
838
+ options: { ledgerVersion: version },
839
+ });
840
+ const type = await coder.getMoveFunction("0x4::aptos_token::is_mutable_uri");
841
+ return (await coder.decodeArray(res, type.return));
842
+ }
843
+ view.isMutableUri = isMutableUri;
844
+ })(view = aptos_token.view || (aptos_token.view = {}));
845
+ })(aptos_token || (aptos_token = {}));
846
+ export var property_map;
847
+ (function (property_map) {
848
+ let MutatorRef;
849
+ (function (MutatorRef) {
850
+ MutatorRef.TYPE_QNAME = "0x4::property_map::MutatorRef";
851
+ const TYPE = new TypeDescriptor(MutatorRef.TYPE_QNAME);
852
+ function type() {
853
+ return TYPE.apply();
854
+ }
855
+ MutatorRef.type = type;
856
+ })(MutatorRef = property_map.MutatorRef || (property_map.MutatorRef = {}));
857
+ let PropertyMap;
858
+ (function (PropertyMap) {
859
+ PropertyMap.TYPE_QNAME = "0x4::property_map::PropertyMap";
860
+ const TYPE = new TypeDescriptor(PropertyMap.TYPE_QNAME);
861
+ function type() {
862
+ return TYPE.apply();
863
+ }
864
+ PropertyMap.type = type;
865
+ })(PropertyMap = property_map.PropertyMap || (property_map.PropertyMap = {}));
866
+ let PropertyValue;
867
+ (function (PropertyValue) {
868
+ PropertyValue.TYPE_QNAME = "0x4::property_map::PropertyValue";
869
+ const TYPE = new TypeDescriptor(PropertyValue.TYPE_QNAME);
870
+ function type() {
871
+ return TYPE.apply();
872
+ }
873
+ PropertyValue.type = type;
874
+ })(PropertyValue = property_map.PropertyValue || (property_map.PropertyValue = {}));
875
+ })(property_map || (property_map = {}));
876
+ const MODULES = JSON.parse('[{"abi":{"address":"0x4","name":"token","friends":[],"exposed_functions":[{"name":"royalty","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::option::Option<0x4::royalty::Royalty>"]},{"name":"index","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["u64"]},{"name":"create","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"burn","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x4::token::BurnRef"],"return":[]},{"name":"creator","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["address"]},{"name":"name","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"generate_burn_ref","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ConstructorRef"],"return":["0x4::token::BurnRef"]},{"name":"generate_mutator_ref","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ConstructorRef"],"return":["0x4::token::MutatorRef"]},{"name":"description","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"uri","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"set_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::token::MutatorRef","0x1::string::String"],"return":[]},{"name":"set_name","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::token::MutatorRef","0x1::string::String"],"return":[]},{"name":"set_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::token::MutatorRef","0x1::string::String"],"return":[]},{"name":"address_from_burn_ref","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::token::BurnRef"],"return":["address"]},{"name":"collection_name","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"collection_object","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::object::Object<0x4::collection::Collection>"]},{"name":"create_from_account","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_named_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_named_token_as_collection_owner","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_named_token_from_seed","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_named_token_from_seed_as_collection_owner","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_named_token_object","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_numbered_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_numbered_token_as_collection_owner","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_numbered_token_object","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_token_address","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&address","&0x1::string::String","&0x1::string::String"],"return":["address"]},{"name":"create_token_address_with_seed","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[],"params":["address","0x1::string::String","0x1::string::String","0x1::string::String"],"return":["address"]},{"name":"create_token_as_collection_owner","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::object::Object<0x4::collection::Collection>","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_token_name_with_seed","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::string::String","&0x1::string::String","&0x1::string::String"],"return":["vector<u8>"]},{"name":"create_token_seed","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::string::String","&0x1::string::String"],"return":["vector<u8>"]}],"structs":[{"name":"BurnRef","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"inner","type":"0x1::option::Option<0x1::object::DeleteRef>"},{"name":"self","type":"0x1::option::Option<address>"}],"variants":[]},{"name":"MutatorRef","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"self","type":"address"}],"variants":[]},{"name":"Mutation","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"token_address","type":"address"},{"name":"mutated_field_name","type":"0x1::string::String"},{"name":"old_value","type":"0x1::string::String"},{"name":"new_value","type":"0x1::string::String"}],"variants":[]},{"name":"MutationEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"mutated_field_name","type":"0x1::string::String"},{"name":"old_value","type":"0x1::string::String"},{"name":"new_value","type":"0x1::string::String"}],"variants":[]},{"name":"ConcurrentTokenIdentifiers","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"index","type":"0x1::aggregator_v2::AggregatorSnapshot<u64>"},{"name":"name","type":"0x1::aggregator_v2::AggregatorSnapshot<0x1::string::String>"}],"variants":[]},{"name":"Token","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"collection","type":"0x1::object::Object<0x4::collection::Collection>"},{"name":"index","type":"u64"},{"name":"description","type":"0x1::string::String"},{"name":"name","type":"0x1::string::String"},{"name":"uri","type":"0x1::string::String"},{"name":"mutation_events","type":"0x1::event::EventHandle<0x4::token::MutationEvent>"}],"variants":[]},{"name":"TokenIdentifiers","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"index","type":"0x1::aggregator_v2::AggregatorSnapshot<u64>"},{"name":"name","type":"0x1::aggregator_v2::DerivedStringSnapshot"}],"variants":[]}]}},{"abi":{"address":"0x4","name":"royalty","friends":["0x4::token"],"exposed_functions":[{"name":"update","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::royalty::MutatorRef","0x4::royalty::Royalty"],"return":[]},{"name":"init","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ConstructorRef","0x4::royalty::Royalty"],"return":[]},{"name":"get","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::option::Option<0x4::royalty::Royalty>"]},{"name":"numerator","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::royalty::Royalty"],"return":["u64"]},{"name":"denominator","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::royalty::Royalty"],"return":["u64"]},{"name":"create","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["u64","u64","address"],"return":["0x4::royalty::Royalty"]},{"name":"exists_at","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"delete","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address"],"return":[]},{"name":"payee_address","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::royalty::Royalty"],"return":["address"]},{"name":"generate_mutator_ref","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x1::object::ExtendRef"],"return":["0x4::royalty::MutatorRef"]}],"structs":[{"name":"MutatorRef","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"inner","type":"0x1::object::ExtendRef"}],"variants":[]},{"name":"Royalty","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","key"],"generic_type_params":[],"fields":[{"name":"numerator","type":"u64"},{"name":"denominator","type":"u64"},{"name":"payee_address","type":"address"}],"variants":[]}]}},{"abi":{"address":"0x4","name":"collection","friends":["0x4::token"],"exposed_functions":[{"name":"count","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::option::Option<u64>"]},{"name":"creator","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["address"]},{"name":"name","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"upgrade_to_concurrent","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ExtendRef"],"return":[]},{"name":"generate_mutator_ref","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ConstructorRef"],"return":["0x4::collection::MutatorRef"]},{"name":"create_collection_address","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&address","&0x1::string::String"],"return":["address"]},{"name":"description","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"uri","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["0x1::string::String"]},{"name":"create_collection_seed","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::string::String"],"return":["vector<u8>"]},{"name":"create_fixed_collection","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","u64","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_fixed_collection_as_owner","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","u64","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_unlimited_collection","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"create_unlimited_collection_as_owner","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::option::Option<0x4::royalty::Royalty>","0x1::string::String"],"return":["0x1::object::ConstructorRef"]},{"name":"decrement_supply","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::Object<0x4::collection::Collection>","address","0x1::option::Option<u64>","address"],"return":[]},{"name":"increment_supply","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::Object<0x4::collection::Collection>","address"],"return":["0x1::option::Option<0x1::aggregator_v2::AggregatorSnapshot<u64>>"]},{"name":"set_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::collection::MutatorRef","0x1::string::String"],"return":[]},{"name":"set_max_supply","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::collection::MutatorRef","u64"],"return":[]},{"name":"set_name","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::collection::MutatorRef","0x1::string::String"],"return":[]},{"name":"set_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::collection::MutatorRef","0x1::string::String"],"return":[]}],"structs":[{"name":"ConcurrentSupply","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"current_supply","type":"0x1::aggregator_v2::Aggregator<u64>"},{"name":"total_minted","type":"0x1::aggregator_v2::Aggregator<u64>"}],"variants":[]},{"name":"MutatorRef","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"self","type":"address"}],"variants":[]},{"name":"Burn","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"collection","type":"address"},{"name":"index","type":"u64"},{"name":"token","type":"address"},{"name":"previous_owner","type":"address"}],"variants":[]},{"name":"BurnEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"index","type":"u64"},{"name":"token","type":"address"}],"variants":[]},{"name":"Collection","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"description","type":"0x1::string::String"},{"name":"name","type":"0x1::string::String"},{"name":"uri","type":"0x1::string::String"},{"name":"mutation_events","type":"0x1::event::EventHandle<0x4::collection::MutationEvent>"}],"variants":[]},{"name":"ConcurrentBurnEvent","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"collection_addr","type":"address"},{"name":"index","type":"u64"},{"name":"token","type":"address"}],"variants":[]},{"name":"ConcurrentMintEvent","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"collection_addr","type":"address"},{"name":"index","type":"0x1::aggregator_v2::AggregatorSnapshot<u64>"},{"name":"token","type":"address"}],"variants":[]},{"name":"FixedSupply","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"current_supply","type":"u64"},{"name":"max_supply","type":"u64"},{"name":"total_minted","type":"u64"},{"name":"burn_events","type":"0x1::event::EventHandle<0x4::collection::BurnEvent>"},{"name":"mint_events","type":"0x1::event::EventHandle<0x4::collection::MintEvent>"}],"variants":[]},{"name":"Mint","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"collection","type":"address"},{"name":"index","type":"0x1::aggregator_v2::AggregatorSnapshot<u64>"},{"name":"token","type":"address"}],"variants":[]},{"name":"MintEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"index","type":"u64"},{"name":"token","type":"address"}],"variants":[]},{"name":"Mutation","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"mutated_field_name","type":"0x1::string::String"},{"name":"collection","type":"0x1::object::Object<0x4::collection::Collection>"},{"name":"old_value","type":"0x1::string::String"},{"name":"new_value","type":"0x1::string::String"}],"variants":[]},{"name":"MutationEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"mutated_field_name","type":"0x1::string::String"}],"variants":[]},{"name":"SetMaxSupply","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"collection","type":"0x1::object::Object<0x4::collection::Collection>"},{"name":"old_max_supply","type":"u64"},{"name":"new_max_supply","type":"u64"}],"variants":[]},{"name":"UnlimitedSupply","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"current_supply","type":"u64"},{"name":"total_minted","type":"u64"},{"name":"burn_events","type":"0x1::event::EventHandle<0x4::collection::BurnEvent>"},{"name":"mint_events","type":"0x1::event::EventHandle<0x4::collection::MintEvent>"}],"variants":[]}]}},{"abi":{"address":"0x4","name":"aptos_token","friends":[],"exposed_functions":[{"name":"burn","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>"],"return":[]},{"name":"mint","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","vector<0x1::string::String>","vector<0x1::string::String>","vector<vector<u8>>"],"return":[]},{"name":"set_description","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String"],"return":[]},{"name":"set_name","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String"],"return":[]},{"name":"set_uri","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String"],"return":[]},{"name":"add_property","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String","0x1::string::String","vector<u8>"],"return":[]},{"name":"add_typed_property","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]},{"constraints":["drop"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String","T1"],"return":[]},{"name":"are_collection_tokens_burnable","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"are_collection_tokens_freezable","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"are_properties_mutable","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"create_collection","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","u64","0x1::string::String","0x1::string::String","bool","bool","bool","bool","bool","bool","bool","bool","bool","u64","u64"],"return":[]},{"name":"create_collection_object","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","u64","0x1::string::String","0x1::string::String","bool","bool","bool","bool","bool","bool","bool","bool","bool","u64","u64"],"return":["0x1::object::Object<0x4::aptos_token::AptosCollection>"]},{"name":"freeze_transfer","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>"],"return":[]},{"name":"is_burnable","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_freezable_by_creator","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_royalty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_token_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_token_name","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_token_properties","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_token_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_collection_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_description","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_name","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"is_mutable_uri","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[{"constraints":["key"]}],"params":["0x1::object::Object<T0>"],"return":["bool"]},{"name":"mint_soul_bound","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","vector<0x1::string::String>","vector<0x1::string::String>","vector<vector<u8>>","address"],"return":[]},{"name":"mint_soul_bound_token_object","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","vector<0x1::string::String>","vector<0x1::string::String>","vector<vector<u8>>","address"],"return":["0x1::object::Object<0x4::aptos_token::AptosToken>"]},{"name":"mint_token_object","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String","vector<0x1::string::String>","vector<0x1::string::String>","vector<vector<u8>>"],"return":["0x1::object::Object<0x4::aptos_token::AptosToken>"]},{"name":"remove_property","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String"],"return":[]},{"name":"set_collection_description","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String"],"return":[]},{"name":"set_collection_royalties","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x4::royalty::Royalty"],"return":[]},{"name":"set_collection_royalties_call","visibility":"private","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","u64","u64","address"],"return":[]},{"name":"set_collection_uri","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String"],"return":[]},{"name":"unfreeze_transfer","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>"],"return":[]},{"name":"update_property","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String","0x1::string::String","vector<u8>"],"return":[]},{"name":"update_typed_property","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":["key"]},{"constraints":["drop"]}],"params":["&signer","0x1::object::Object<T0>","0x1::string::String","T1"],"return":[]}],"structs":[{"name":"AptosCollection","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"mutator_ref","type":"0x1::option::Option<0x4::collection::MutatorRef>"},{"name":"royalty_mutator_ref","type":"0x1::option::Option<0x4::royalty::MutatorRef>"},{"name":"mutable_description","type":"bool"},{"name":"mutable_uri","type":"bool"},{"name":"mutable_token_description","type":"bool"},{"name":"mutable_token_name","type":"bool"},{"name":"mutable_token_properties","type":"bool"},{"name":"mutable_token_uri","type":"bool"},{"name":"tokens_burnable_by_creator","type":"bool"},{"name":"tokens_freezable_by_creator","type":"bool"}],"variants":[]},{"name":"AptosToken","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"burn_ref","type":"0x1::option::Option<0x4::token::BurnRef>"},{"name":"transfer_ref","type":"0x1::option::Option<0x1::object::TransferRef>"},{"name":"mutator_ref","type":"0x1::option::Option<0x4::token::MutatorRef>"},{"name":"property_mutator_ref","type":"0x4::property_map::MutatorRef"}],"variants":[]}]}},{"abi":{"address":"0x4","name":"property_map","friends":[],"exposed_functions":[{"name":"update","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::property_map::MutatorRef","&0x1::string::String","0x1::string::String","vector<u8>"],"return":[]},{"name":"init","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ConstructorRef","0x4::property_map::PropertyMap"],"return":[]},{"name":"length","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>"],"return":["u64"]},{"name":"remove","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::property_map::MutatorRef","&0x1::string::String"],"return":[]},{"name":"add","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x4::property_map::MutatorRef","0x1::string::String","0x1::string::String","vector<u8>"],"return":[]},{"name":"burn","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x4::property_map::MutatorRef"],"return":[]},{"name":"read","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["0x1::string::String","vector<u8>"]},{"name":"contains_key","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["bool"]},{"name":"generate_mutator_ref","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ConstructorRef"],"return":["0x4::property_map::MutatorRef"]},{"name":"add_typed","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["drop"]}],"params":["&0x4::property_map::MutatorRef","0x1::string::String","T0"],"return":[]},{"name":"extend","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x1::object::ExtendRef","0x4::property_map::PropertyMap"],"return":[]},{"name":"prepare_input","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["vector<0x1::string::String>","vector<0x1::string::String>","vector<vector<u8>>"],"return":["0x4::property_map::PropertyMap"]},{"name":"read_address","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["address"]},{"name":"read_bool","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["bool"]},{"name":"read_bytes","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["vector<u8>"]},{"name":"read_string","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["0x1::string::String"]},{"name":"read_u128","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["u128"]},{"name":"read_u16","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["u16"]},{"name":"read_u256","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["u256"]},{"name":"read_u32","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["u32"]},{"name":"read_u64","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["u64"]},{"name":"read_u8","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["key"]}],"params":["&0x1::object::Object<T0>","&0x1::string::String"],"return":["u8"]},{"name":"update_typed","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["drop"]}],"params":["&0x4::property_map::MutatorRef","&0x1::string::String","T0"],"return":[]}],"structs":[{"name":"MutatorRef","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"self","type":"address"}],"variants":[]},{"name":"PropertyMap","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","key"],"generic_type_params":[],"fields":[{"name":"inner","type":"0x1::simple_map::SimpleMap<0x1::string::String, 0x4::property_map::PropertyValue>"}],"variants":[]},{"name":"PropertyValue","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"type","type":"u8"},{"name":"value","type":"vector<u8>"}],"variants":[]}]}}]');
877
+ export function loadAllTypes(coder) {
878
+ _0x1.loadAllTypes(coder);
879
+ for (const m of Object.values(MODULES)) {
880
+ coder.load(m, "0x4");
881
+ }
882
+ }
883
+ loadAllTypes(defaultMoveCoder());
884
+ //# sourceMappingURL=0x4.js.map