@typemove/aptos 2.0.0 → 2.0.1-rc.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,926 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* Generated types for 0x3, original address 0x3 */
5
+ import { TypeDescriptor, ANY_TYPE } 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 Deposit;
11
+ (function (Deposit) {
12
+ Deposit.TYPE_QNAME = "0x3::token::Deposit";
13
+ const TYPE = new TypeDescriptor(Deposit.TYPE_QNAME);
14
+ function type() {
15
+ return TYPE.apply();
16
+ }
17
+ Deposit.type = type;
18
+ })(Deposit = token.Deposit || (token.Deposit = {}));
19
+ let DepositEvent;
20
+ (function (DepositEvent) {
21
+ DepositEvent.TYPE_QNAME = "0x3::token::DepositEvent";
22
+ const TYPE = new TypeDescriptor(DepositEvent.TYPE_QNAME);
23
+ function type() {
24
+ return TYPE.apply();
25
+ }
26
+ DepositEvent.type = type;
27
+ })(DepositEvent = token.DepositEvent || (token.DepositEvent = {}));
28
+ let Withdraw;
29
+ (function (Withdraw) {
30
+ Withdraw.TYPE_QNAME = "0x3::token::Withdraw";
31
+ const TYPE = new TypeDescriptor(Withdraw.TYPE_QNAME);
32
+ function type() {
33
+ return TYPE.apply();
34
+ }
35
+ Withdraw.type = type;
36
+ })(Withdraw = token.Withdraw || (token.Withdraw = {}));
37
+ let WithdrawEvent;
38
+ (function (WithdrawEvent) {
39
+ WithdrawEvent.TYPE_QNAME = "0x3::token::WithdrawEvent";
40
+ const TYPE = new TypeDescriptor(WithdrawEvent.TYPE_QNAME);
41
+ function type() {
42
+ return TYPE.apply();
43
+ }
44
+ WithdrawEvent.type = type;
45
+ })(WithdrawEvent = token.WithdrawEvent || (token.WithdrawEvent = {}));
46
+ let Burn;
47
+ (function (Burn) {
48
+ Burn.TYPE_QNAME = "0x3::token::Burn";
49
+ const TYPE = new TypeDescriptor(Burn.TYPE_QNAME);
50
+ function type() {
51
+ return TYPE.apply();
52
+ }
53
+ Burn.type = type;
54
+ })(Burn = token.Burn || (token.Burn = {}));
55
+ let BurnToken;
56
+ (function (BurnToken) {
57
+ BurnToken.TYPE_QNAME = "0x3::token::BurnToken";
58
+ const TYPE = new TypeDescriptor(BurnToken.TYPE_QNAME);
59
+ function type() {
60
+ return TYPE.apply();
61
+ }
62
+ BurnToken.type = type;
63
+ })(BurnToken = token.BurnToken || (token.BurnToken = {}));
64
+ let BurnTokenEvent;
65
+ (function (BurnTokenEvent) {
66
+ BurnTokenEvent.TYPE_QNAME = "0x3::token::BurnTokenEvent";
67
+ const TYPE = new TypeDescriptor(BurnTokenEvent.TYPE_QNAME);
68
+ function type() {
69
+ return TYPE.apply();
70
+ }
71
+ BurnTokenEvent.type = type;
72
+ })(BurnTokenEvent = token.BurnTokenEvent || (token.BurnTokenEvent = {}));
73
+ let CollectionData;
74
+ (function (CollectionData) {
75
+ CollectionData.TYPE_QNAME = "0x3::token::CollectionData";
76
+ const TYPE = new TypeDescriptor(CollectionData.TYPE_QNAME);
77
+ function type() {
78
+ return TYPE.apply();
79
+ }
80
+ CollectionData.type = type;
81
+ })(CollectionData = token.CollectionData || (token.CollectionData = {}));
82
+ let CollectionMutabilityConfig;
83
+ (function (CollectionMutabilityConfig) {
84
+ CollectionMutabilityConfig.TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
85
+ const TYPE = new TypeDescriptor(CollectionMutabilityConfig.TYPE_QNAME);
86
+ function type() {
87
+ return TYPE.apply();
88
+ }
89
+ CollectionMutabilityConfig.type = type;
90
+ })(CollectionMutabilityConfig = token.CollectionMutabilityConfig || (token.CollectionMutabilityConfig = {}));
91
+ let Collections;
92
+ (function (Collections) {
93
+ Collections.TYPE_QNAME = "0x3::token::Collections";
94
+ const TYPE = new TypeDescriptor(Collections.TYPE_QNAME);
95
+ function type() {
96
+ return TYPE.apply();
97
+ }
98
+ Collections.type = type;
99
+ })(Collections = token.Collections || (token.Collections = {}));
100
+ let CreateCollection;
101
+ (function (CreateCollection) {
102
+ CreateCollection.TYPE_QNAME = "0x3::token::CreateCollection";
103
+ const TYPE = new TypeDescriptor(CreateCollection.TYPE_QNAME);
104
+ function type() {
105
+ return TYPE.apply();
106
+ }
107
+ CreateCollection.type = type;
108
+ })(CreateCollection = token.CreateCollection || (token.CreateCollection = {}));
109
+ let CreateCollectionEvent;
110
+ (function (CreateCollectionEvent) {
111
+ CreateCollectionEvent.TYPE_QNAME = "0x3::token::CreateCollectionEvent";
112
+ const TYPE = new TypeDescriptor(CreateCollectionEvent.TYPE_QNAME);
113
+ function type() {
114
+ return TYPE.apply();
115
+ }
116
+ CreateCollectionEvent.type = type;
117
+ })(CreateCollectionEvent = token.CreateCollectionEvent || (token.CreateCollectionEvent = {}));
118
+ let CreateTokenData;
119
+ (function (CreateTokenData) {
120
+ CreateTokenData.TYPE_QNAME = "0x3::token::CreateTokenData";
121
+ const TYPE = new TypeDescriptor(CreateTokenData.TYPE_QNAME);
122
+ function type() {
123
+ return TYPE.apply();
124
+ }
125
+ CreateTokenData.type = type;
126
+ })(CreateTokenData = token.CreateTokenData || (token.CreateTokenData = {}));
127
+ let CreateTokenDataEvent;
128
+ (function (CreateTokenDataEvent) {
129
+ CreateTokenDataEvent.TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
130
+ const TYPE = new TypeDescriptor(CreateTokenDataEvent.TYPE_QNAME);
131
+ function type() {
132
+ return TYPE.apply();
133
+ }
134
+ CreateTokenDataEvent.type = type;
135
+ })(CreateTokenDataEvent = token.CreateTokenDataEvent || (token.CreateTokenDataEvent = {}));
136
+ let Mint;
137
+ (function (Mint) {
138
+ Mint.TYPE_QNAME = "0x3::token::Mint";
139
+ const TYPE = new TypeDescriptor(Mint.TYPE_QNAME);
140
+ function type() {
141
+ return TYPE.apply();
142
+ }
143
+ Mint.type = type;
144
+ })(Mint = token.Mint || (token.Mint = {}));
145
+ let MintToken;
146
+ (function (MintToken) {
147
+ MintToken.TYPE_QNAME = "0x3::token::MintToken";
148
+ const TYPE = new TypeDescriptor(MintToken.TYPE_QNAME);
149
+ function type() {
150
+ return TYPE.apply();
151
+ }
152
+ MintToken.type = type;
153
+ })(MintToken = token.MintToken || (token.MintToken = {}));
154
+ let MintTokenEvent;
155
+ (function (MintTokenEvent) {
156
+ MintTokenEvent.TYPE_QNAME = "0x3::token::MintTokenEvent";
157
+ const TYPE = new TypeDescriptor(MintTokenEvent.TYPE_QNAME);
158
+ function type() {
159
+ return TYPE.apply();
160
+ }
161
+ MintTokenEvent.type = type;
162
+ })(MintTokenEvent = token.MintTokenEvent || (token.MintTokenEvent = {}));
163
+ let MutatePropertyMap;
164
+ (function (MutatePropertyMap) {
165
+ MutatePropertyMap.TYPE_QNAME = "0x3::token::MutatePropertyMap";
166
+ const TYPE = new TypeDescriptor(MutatePropertyMap.TYPE_QNAME);
167
+ function type() {
168
+ return TYPE.apply();
169
+ }
170
+ MutatePropertyMap.type = type;
171
+ })(MutatePropertyMap = token.MutatePropertyMap || (token.MutatePropertyMap = {}));
172
+ let MutateTokenPropertyMap;
173
+ (function (MutateTokenPropertyMap) {
174
+ MutateTokenPropertyMap.TYPE_QNAME = "0x3::token::MutateTokenPropertyMap";
175
+ const TYPE = new TypeDescriptor(MutateTokenPropertyMap.TYPE_QNAME);
176
+ function type() {
177
+ return TYPE.apply();
178
+ }
179
+ MutateTokenPropertyMap.type = type;
180
+ })(MutateTokenPropertyMap = token.MutateTokenPropertyMap || (token.MutateTokenPropertyMap = {}));
181
+ let MutateTokenPropertyMapEvent;
182
+ (function (MutateTokenPropertyMapEvent) {
183
+ MutateTokenPropertyMapEvent.TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
184
+ const TYPE = new TypeDescriptor(MutateTokenPropertyMapEvent.TYPE_QNAME);
185
+ function type() {
186
+ return TYPE.apply();
187
+ }
188
+ MutateTokenPropertyMapEvent.type = type;
189
+ })(MutateTokenPropertyMapEvent = token.MutateTokenPropertyMapEvent || (token.MutateTokenPropertyMapEvent = {}));
190
+ let Royalty;
191
+ (function (Royalty) {
192
+ Royalty.TYPE_QNAME = "0x3::token::Royalty";
193
+ const TYPE = new TypeDescriptor(Royalty.TYPE_QNAME);
194
+ function type() {
195
+ return TYPE.apply();
196
+ }
197
+ Royalty.type = type;
198
+ })(Royalty = token.Royalty || (token.Royalty = {}));
199
+ let Token;
200
+ (function (Token) {
201
+ Token.TYPE_QNAME = "0x3::token::Token";
202
+ const TYPE = new TypeDescriptor(Token.TYPE_QNAME);
203
+ function type() {
204
+ return TYPE.apply();
205
+ }
206
+ Token.type = type;
207
+ })(Token = token.Token || (token.Token = {}));
208
+ let TokenData;
209
+ (function (TokenData) {
210
+ TokenData.TYPE_QNAME = "0x3::token::TokenData";
211
+ const TYPE = new TypeDescriptor(TokenData.TYPE_QNAME);
212
+ function type() {
213
+ return TYPE.apply();
214
+ }
215
+ TokenData.type = type;
216
+ })(TokenData = token.TokenData || (token.TokenData = {}));
217
+ let TokenDataCreation;
218
+ (function (TokenDataCreation) {
219
+ TokenDataCreation.TYPE_QNAME = "0x3::token::TokenDataCreation";
220
+ const TYPE = new TypeDescriptor(TokenDataCreation.TYPE_QNAME);
221
+ function type() {
222
+ return TYPE.apply();
223
+ }
224
+ TokenDataCreation.type = type;
225
+ })(TokenDataCreation = token.TokenDataCreation || (token.TokenDataCreation = {}));
226
+ let TokenDataId;
227
+ (function (TokenDataId) {
228
+ TokenDataId.TYPE_QNAME = "0x3::token::TokenDataId";
229
+ const TYPE = new TypeDescriptor(TokenDataId.TYPE_QNAME);
230
+ function type() {
231
+ return TYPE.apply();
232
+ }
233
+ TokenDataId.type = type;
234
+ })(TokenDataId = token.TokenDataId || (token.TokenDataId = {}));
235
+ let TokenDeposit;
236
+ (function (TokenDeposit) {
237
+ TokenDeposit.TYPE_QNAME = "0x3::token::TokenDeposit";
238
+ const TYPE = new TypeDescriptor(TokenDeposit.TYPE_QNAME);
239
+ function type() {
240
+ return TYPE.apply();
241
+ }
242
+ TokenDeposit.type = type;
243
+ })(TokenDeposit = token.TokenDeposit || (token.TokenDeposit = {}));
244
+ let TokenId;
245
+ (function (TokenId) {
246
+ TokenId.TYPE_QNAME = "0x3::token::TokenId";
247
+ const TYPE = new TypeDescriptor(TokenId.TYPE_QNAME);
248
+ function type() {
249
+ return TYPE.apply();
250
+ }
251
+ TokenId.type = type;
252
+ })(TokenId = token.TokenId || (token.TokenId = {}));
253
+ let TokenMutabilityConfig;
254
+ (function (TokenMutabilityConfig) {
255
+ TokenMutabilityConfig.TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
256
+ const TYPE = new TypeDescriptor(TokenMutabilityConfig.TYPE_QNAME);
257
+ function type() {
258
+ return TYPE.apply();
259
+ }
260
+ TokenMutabilityConfig.type = type;
261
+ })(TokenMutabilityConfig = token.TokenMutabilityConfig || (token.TokenMutabilityConfig = {}));
262
+ let TokenStore;
263
+ (function (TokenStore) {
264
+ TokenStore.TYPE_QNAME = "0x3::token::TokenStore";
265
+ const TYPE = new TypeDescriptor(TokenStore.TYPE_QNAME);
266
+ function type() {
267
+ return TYPE.apply();
268
+ }
269
+ TokenStore.type = type;
270
+ })(TokenStore = token.TokenStore || (token.TokenStore = {}));
271
+ let TokenWithdraw;
272
+ (function (TokenWithdraw) {
273
+ TokenWithdraw.TYPE_QNAME = "0x3::token::TokenWithdraw";
274
+ const TYPE = new TypeDescriptor(TokenWithdraw.TYPE_QNAME);
275
+ function type() {
276
+ return TYPE.apply();
277
+ }
278
+ TokenWithdraw.type = type;
279
+ })(TokenWithdraw = token.TokenWithdraw || (token.TokenWithdraw = {}));
280
+ let WithdrawCapability;
281
+ (function (WithdrawCapability) {
282
+ WithdrawCapability.TYPE_QNAME = "0x3::token::WithdrawCapability";
283
+ const TYPE = new TypeDescriptor(WithdrawCapability.TYPE_QNAME);
284
+ function type() {
285
+ return TYPE.apply();
286
+ }
287
+ WithdrawCapability.type = type;
288
+ })(WithdrawCapability = token.WithdrawCapability || (token.WithdrawCapability = {}));
289
+ let entry;
290
+ (function (entry) {
291
+ async function burn(client, account, request, options) {
292
+ const coder = defaultMoveCoder(client.config);
293
+ const transaction = await client.transaction.build.simple({
294
+ sender: account.accountAddress,
295
+ data: {
296
+ function: "0x3::token::burn",
297
+ functionArguments: coder.encodeArray(request.functionArguments),
298
+ typeArguments: [],
299
+ },
300
+ options,
301
+ });
302
+ return await client.signAndSubmitTransaction({
303
+ signer: account,
304
+ transaction,
305
+ });
306
+ }
307
+ entry.burn = burn;
308
+ async function burnByCreator(client, account, request, options) {
309
+ const coder = defaultMoveCoder(client.config);
310
+ const transaction = await client.transaction.build.simple({
311
+ sender: account.accountAddress,
312
+ data: {
313
+ function: "0x3::token::burn_by_creator",
314
+ functionArguments: coder.encodeArray(request.functionArguments),
315
+ typeArguments: [],
316
+ },
317
+ options,
318
+ });
319
+ return await client.signAndSubmitTransaction({
320
+ signer: account,
321
+ transaction,
322
+ });
323
+ }
324
+ entry.burnByCreator = burnByCreator;
325
+ async function createCollectionScript(client, account, request, options) {
326
+ const coder = defaultMoveCoder(client.config);
327
+ const transaction = await client.transaction.build.simple({
328
+ sender: account.accountAddress,
329
+ data: {
330
+ function: "0x3::token::create_collection_script",
331
+ functionArguments: coder.encodeArray(request.functionArguments),
332
+ typeArguments: [],
333
+ },
334
+ options,
335
+ });
336
+ return await client.signAndSubmitTransaction({
337
+ signer: account,
338
+ transaction,
339
+ });
340
+ }
341
+ entry.createCollectionScript = createCollectionScript;
342
+ async function createTokenScript(client, account, request, options) {
343
+ const coder = defaultMoveCoder(client.config);
344
+ const transaction = await client.transaction.build.simple({
345
+ sender: account.accountAddress,
346
+ data: {
347
+ function: "0x3::token::create_token_script",
348
+ functionArguments: coder.encodeArray(request.functionArguments),
349
+ typeArguments: [],
350
+ },
351
+ options,
352
+ });
353
+ return await client.signAndSubmitTransaction({
354
+ signer: account,
355
+ transaction,
356
+ });
357
+ }
358
+ entry.createTokenScript = createTokenScript;
359
+ async function directTransferScript(client, account, request, options) {
360
+ const coder = defaultMoveCoder(client.config);
361
+ const transaction = await client.transaction.build.simple({
362
+ sender: account.accountAddress,
363
+ data: {
364
+ function: "0x3::token::direct_transfer_script",
365
+ functionArguments: coder.encodeArray(request.functionArguments),
366
+ typeArguments: [],
367
+ },
368
+ options,
369
+ });
370
+ return await client.signAndSubmitTransaction({
371
+ signer: account,
372
+ transaction,
373
+ });
374
+ }
375
+ entry.directTransferScript = directTransferScript;
376
+ async function initializeTokenScript(client, account, request, options) {
377
+ const coder = defaultMoveCoder(client.config);
378
+ const transaction = await client.transaction.build.simple({
379
+ sender: account.accountAddress,
380
+ data: {
381
+ function: "0x3::token::initialize_token_script",
382
+ functionArguments: coder.encodeArray(request.functionArguments),
383
+ typeArguments: [],
384
+ },
385
+ options,
386
+ });
387
+ return await client.signAndSubmitTransaction({
388
+ signer: account,
389
+ transaction,
390
+ });
391
+ }
392
+ entry.initializeTokenScript = initializeTokenScript;
393
+ async function mintScript(client, account, request, options) {
394
+ const coder = defaultMoveCoder(client.config);
395
+ const transaction = await client.transaction.build.simple({
396
+ sender: account.accountAddress,
397
+ data: {
398
+ function: "0x3::token::mint_script",
399
+ functionArguments: coder.encodeArray(request.functionArguments),
400
+ typeArguments: [],
401
+ },
402
+ options,
403
+ });
404
+ return await client.signAndSubmitTransaction({
405
+ signer: account,
406
+ transaction,
407
+ });
408
+ }
409
+ entry.mintScript = mintScript;
410
+ async function mutateTokenProperties(client, account, request, options) {
411
+ const coder = defaultMoveCoder(client.config);
412
+ const transaction = await client.transaction.build.simple({
413
+ sender: account.accountAddress,
414
+ data: {
415
+ function: "0x3::token::mutate_token_properties",
416
+ functionArguments: coder.encodeArray(request.functionArguments),
417
+ typeArguments: [],
418
+ },
419
+ options,
420
+ });
421
+ return await client.signAndSubmitTransaction({
422
+ signer: account,
423
+ transaction,
424
+ });
425
+ }
426
+ entry.mutateTokenProperties = mutateTokenProperties;
427
+ async function optInDirectTransfer(client, account, request, options) {
428
+ const coder = defaultMoveCoder(client.config);
429
+ const transaction = await client.transaction.build.simple({
430
+ sender: account.accountAddress,
431
+ data: {
432
+ function: "0x3::token::opt_in_direct_transfer",
433
+ functionArguments: coder.encodeArray(request.functionArguments),
434
+ typeArguments: [],
435
+ },
436
+ options,
437
+ });
438
+ return await client.signAndSubmitTransaction({
439
+ signer: account,
440
+ transaction,
441
+ });
442
+ }
443
+ entry.optInDirectTransfer = optInDirectTransfer;
444
+ async function transferWithOptIn(client, account, request, options) {
445
+ const coder = defaultMoveCoder(client.config);
446
+ const transaction = await client.transaction.build.simple({
447
+ sender: account.accountAddress,
448
+ data: {
449
+ function: "0x3::token::transfer_with_opt_in",
450
+ functionArguments: coder.encodeArray(request.functionArguments),
451
+ typeArguments: [],
452
+ },
453
+ options,
454
+ });
455
+ return await client.signAndSubmitTransaction({
456
+ signer: account,
457
+ transaction,
458
+ });
459
+ }
460
+ entry.transferWithOptIn = transferWithOptIn;
461
+ })(entry = token.entry || (token.entry = {}));
462
+ let view;
463
+ (function (view) {
464
+ async function getCollectionMutabilityConfig(client, request, version) {
465
+ const coder = defaultMoveCoder(client.config);
466
+ const data = {
467
+ function: "0x3::token::get_collection_mutability_config",
468
+ functionArguments: coder.encodeArray(request.functionArguments),
469
+ typeArguments: [],
470
+ };
471
+ const res = await client.view({
472
+ payload: data,
473
+ options: { ledgerVersion: version },
474
+ });
475
+ const type = await coder.getMoveFunction("0x3::token::get_collection_mutability_config");
476
+ return (await coder.decodeArray(res, type.return));
477
+ }
478
+ view.getCollectionMutabilityConfig = getCollectionMutabilityConfig;
479
+ })(view = token.view || (token.view = {}));
480
+ })(token || (token = {}));
481
+ export var property_map;
482
+ (function (property_map) {
483
+ let PropertyMap;
484
+ (function (PropertyMap) {
485
+ PropertyMap.TYPE_QNAME = "0x3::property_map::PropertyMap";
486
+ const TYPE = new TypeDescriptor(PropertyMap.TYPE_QNAME);
487
+ function type() {
488
+ return TYPE.apply();
489
+ }
490
+ PropertyMap.type = type;
491
+ })(PropertyMap = property_map.PropertyMap || (property_map.PropertyMap = {}));
492
+ let PropertyValue;
493
+ (function (PropertyValue) {
494
+ PropertyValue.TYPE_QNAME = "0x3::property_map::PropertyValue";
495
+ const TYPE = new TypeDescriptor(PropertyValue.TYPE_QNAME);
496
+ function type() {
497
+ return TYPE.apply();
498
+ }
499
+ PropertyValue.type = type;
500
+ })(PropertyValue = property_map.PropertyValue || (property_map.PropertyValue = {}));
501
+ })(property_map || (property_map = {}));
502
+ export var token_coin_swap;
503
+ (function (token_coin_swap) {
504
+ let TokenCoinSwap;
505
+ (function (TokenCoinSwap) {
506
+ TokenCoinSwap.TYPE_QNAME = "0x3::token_coin_swap::TokenCoinSwap";
507
+ const TYPE = new TypeDescriptor(TokenCoinSwap.TYPE_QNAME);
508
+ function type(arg0 = ANY_TYPE) {
509
+ return TYPE.apply(arg0);
510
+ }
511
+ TokenCoinSwap.type = type;
512
+ })(TokenCoinSwap = token_coin_swap.TokenCoinSwap || (token_coin_swap.TokenCoinSwap = {}));
513
+ let TokenEscrow;
514
+ (function (TokenEscrow) {
515
+ TokenEscrow.TYPE_QNAME = "0x3::token_coin_swap::TokenEscrow";
516
+ const TYPE = new TypeDescriptor(TokenEscrow.TYPE_QNAME);
517
+ function type() {
518
+ return TYPE.apply();
519
+ }
520
+ TokenEscrow.type = type;
521
+ })(TokenEscrow = token_coin_swap.TokenEscrow || (token_coin_swap.TokenEscrow = {}));
522
+ let TokenListingEvent;
523
+ (function (TokenListingEvent) {
524
+ TokenListingEvent.TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
525
+ const TYPE = new TypeDescriptor(TokenListingEvent.TYPE_QNAME);
526
+ function type() {
527
+ return TYPE.apply();
528
+ }
529
+ TokenListingEvent.type = type;
530
+ })(TokenListingEvent = token_coin_swap.TokenListingEvent || (token_coin_swap.TokenListingEvent = {}));
531
+ let TokenListings;
532
+ (function (TokenListings) {
533
+ TokenListings.TYPE_QNAME = "0x3::token_coin_swap::TokenListings";
534
+ const TYPE = new TypeDescriptor(TokenListings.TYPE_QNAME);
535
+ function type(arg0 = ANY_TYPE) {
536
+ return TYPE.apply(arg0);
537
+ }
538
+ TokenListings.type = type;
539
+ })(TokenListings = token_coin_swap.TokenListings || (token_coin_swap.TokenListings = {}));
540
+ let TokenStoreEscrow;
541
+ (function (TokenStoreEscrow) {
542
+ TokenStoreEscrow.TYPE_QNAME = "0x3::token_coin_swap::TokenStoreEscrow";
543
+ const TYPE = new TypeDescriptor(TokenStoreEscrow.TYPE_QNAME);
544
+ function type() {
545
+ return TYPE.apply();
546
+ }
547
+ TokenStoreEscrow.type = type;
548
+ })(TokenStoreEscrow = token_coin_swap.TokenStoreEscrow || (token_coin_swap.TokenStoreEscrow = {}));
549
+ let TokenSwapEvent;
550
+ (function (TokenSwapEvent) {
551
+ TokenSwapEvent.TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
552
+ const TYPE = new TypeDescriptor(TokenSwapEvent.TYPE_QNAME);
553
+ function type() {
554
+ return TYPE.apply();
555
+ }
556
+ TokenSwapEvent.type = type;
557
+ })(TokenSwapEvent = token_coin_swap.TokenSwapEvent || (token_coin_swap.TokenSwapEvent = {}));
558
+ let entry;
559
+ (function (entry) {
560
+ async function listTokenForSwap(client, account, request, options) {
561
+ const coder = defaultMoveCoder(client.config);
562
+ const transaction = await client.transaction.build.simple({
563
+ sender: account.accountAddress,
564
+ data: {
565
+ function: "0x3::token_coin_swap::list_token_for_swap",
566
+ functionArguments: coder.encodeArray(request.functionArguments),
567
+ typeArguments: request.typeArguments,
568
+ },
569
+ options,
570
+ });
571
+ return await client.signAndSubmitTransaction({
572
+ signer: account,
573
+ transaction,
574
+ });
575
+ }
576
+ entry.listTokenForSwap = listTokenForSwap;
577
+ })(entry = token_coin_swap.entry || (token_coin_swap.entry = {}));
578
+ })(token_coin_swap || (token_coin_swap = {}));
579
+ export var token_transfers;
580
+ (function (token_transfers) {
581
+ let CancelOffer;
582
+ (function (CancelOffer) {
583
+ CancelOffer.TYPE_QNAME = "0x3::token_transfers::CancelOffer";
584
+ const TYPE = new TypeDescriptor(CancelOffer.TYPE_QNAME);
585
+ function type() {
586
+ return TYPE.apply();
587
+ }
588
+ CancelOffer.type = type;
589
+ })(CancelOffer = token_transfers.CancelOffer || (token_transfers.CancelOffer = {}));
590
+ let Claim;
591
+ (function (Claim) {
592
+ Claim.TYPE_QNAME = "0x3::token_transfers::Claim";
593
+ const TYPE = new TypeDescriptor(Claim.TYPE_QNAME);
594
+ function type() {
595
+ return TYPE.apply();
596
+ }
597
+ Claim.type = type;
598
+ })(Claim = token_transfers.Claim || (token_transfers.Claim = {}));
599
+ let Offer;
600
+ (function (Offer) {
601
+ Offer.TYPE_QNAME = "0x3::token_transfers::Offer";
602
+ const TYPE = new TypeDescriptor(Offer.TYPE_QNAME);
603
+ function type() {
604
+ return TYPE.apply();
605
+ }
606
+ Offer.type = type;
607
+ })(Offer = token_transfers.Offer || (token_transfers.Offer = {}));
608
+ let PendingClaims;
609
+ (function (PendingClaims) {
610
+ PendingClaims.TYPE_QNAME = "0x3::token_transfers::PendingClaims";
611
+ const TYPE = new TypeDescriptor(PendingClaims.TYPE_QNAME);
612
+ function type() {
613
+ return TYPE.apply();
614
+ }
615
+ PendingClaims.type = type;
616
+ })(PendingClaims = token_transfers.PendingClaims || (token_transfers.PendingClaims = {}));
617
+ let TokenCancelOffer;
618
+ (function (TokenCancelOffer) {
619
+ TokenCancelOffer.TYPE_QNAME = "0x3::token_transfers::TokenCancelOffer";
620
+ const TYPE = new TypeDescriptor(TokenCancelOffer.TYPE_QNAME);
621
+ function type() {
622
+ return TYPE.apply();
623
+ }
624
+ TokenCancelOffer.type = type;
625
+ })(TokenCancelOffer = token_transfers.TokenCancelOffer || (token_transfers.TokenCancelOffer = {}));
626
+ let TokenCancelOfferEvent;
627
+ (function (TokenCancelOfferEvent) {
628
+ TokenCancelOfferEvent.TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
629
+ const TYPE = new TypeDescriptor(TokenCancelOfferEvent.TYPE_QNAME);
630
+ function type() {
631
+ return TYPE.apply();
632
+ }
633
+ TokenCancelOfferEvent.type = type;
634
+ })(TokenCancelOfferEvent = token_transfers.TokenCancelOfferEvent || (token_transfers.TokenCancelOfferEvent = {}));
635
+ let TokenClaim;
636
+ (function (TokenClaim) {
637
+ TokenClaim.TYPE_QNAME = "0x3::token_transfers::TokenClaim";
638
+ const TYPE = new TypeDescriptor(TokenClaim.TYPE_QNAME);
639
+ function type() {
640
+ return TYPE.apply();
641
+ }
642
+ TokenClaim.type = type;
643
+ })(TokenClaim = token_transfers.TokenClaim || (token_transfers.TokenClaim = {}));
644
+ let TokenClaimEvent;
645
+ (function (TokenClaimEvent) {
646
+ TokenClaimEvent.TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
647
+ const TYPE = new TypeDescriptor(TokenClaimEvent.TYPE_QNAME);
648
+ function type() {
649
+ return TYPE.apply();
650
+ }
651
+ TokenClaimEvent.type = type;
652
+ })(TokenClaimEvent = token_transfers.TokenClaimEvent || (token_transfers.TokenClaimEvent = {}));
653
+ let TokenOffer;
654
+ (function (TokenOffer) {
655
+ TokenOffer.TYPE_QNAME = "0x3::token_transfers::TokenOffer";
656
+ const TYPE = new TypeDescriptor(TokenOffer.TYPE_QNAME);
657
+ function type() {
658
+ return TYPE.apply();
659
+ }
660
+ TokenOffer.type = type;
661
+ })(TokenOffer = token_transfers.TokenOffer || (token_transfers.TokenOffer = {}));
662
+ let TokenOfferEvent;
663
+ (function (TokenOfferEvent) {
664
+ TokenOfferEvent.TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
665
+ const TYPE = new TypeDescriptor(TokenOfferEvent.TYPE_QNAME);
666
+ function type() {
667
+ return TYPE.apply();
668
+ }
669
+ TokenOfferEvent.type = type;
670
+ })(TokenOfferEvent = token_transfers.TokenOfferEvent || (token_transfers.TokenOfferEvent = {}));
671
+ let TokenOfferId;
672
+ (function (TokenOfferId) {
673
+ TokenOfferId.TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
674
+ const TYPE = new TypeDescriptor(TokenOfferId.TYPE_QNAME);
675
+ function type() {
676
+ return TYPE.apply();
677
+ }
678
+ TokenOfferId.type = type;
679
+ })(TokenOfferId = token_transfers.TokenOfferId || (token_transfers.TokenOfferId = {}));
680
+ let entry;
681
+ (function (entry) {
682
+ async function cancelOfferScript(client, account, request, options) {
683
+ const coder = defaultMoveCoder(client.config);
684
+ const transaction = await client.transaction.build.simple({
685
+ sender: account.accountAddress,
686
+ data: {
687
+ function: "0x3::token_transfers::cancel_offer_script",
688
+ functionArguments: coder.encodeArray(request.functionArguments),
689
+ typeArguments: [],
690
+ },
691
+ options,
692
+ });
693
+ return await client.signAndSubmitTransaction({
694
+ signer: account,
695
+ transaction,
696
+ });
697
+ }
698
+ entry.cancelOfferScript = cancelOfferScript;
699
+ async function claimScript(client, account, request, options) {
700
+ const coder = defaultMoveCoder(client.config);
701
+ const transaction = await client.transaction.build.simple({
702
+ sender: account.accountAddress,
703
+ data: {
704
+ function: "0x3::token_transfers::claim_script",
705
+ functionArguments: coder.encodeArray(request.functionArguments),
706
+ typeArguments: [],
707
+ },
708
+ options,
709
+ });
710
+ return await client.signAndSubmitTransaction({
711
+ signer: account,
712
+ transaction,
713
+ });
714
+ }
715
+ entry.claimScript = claimScript;
716
+ async function offerScript(client, account, request, options) {
717
+ const coder = defaultMoveCoder(client.config);
718
+ const transaction = await client.transaction.build.simple({
719
+ sender: account.accountAddress,
720
+ data: {
721
+ function: "0x3::token_transfers::offer_script",
722
+ functionArguments: coder.encodeArray(request.functionArguments),
723
+ typeArguments: [],
724
+ },
725
+ options,
726
+ });
727
+ return await client.signAndSubmitTransaction({
728
+ signer: account,
729
+ transaction,
730
+ });
731
+ }
732
+ entry.offerScript = offerScript;
733
+ })(entry = token_transfers.entry || (token_transfers.entry = {}));
734
+ })(token_transfers || (token_transfers = {}));
735
+ export var token_event_store;
736
+ (function (token_event_store) {
737
+ let CollectionDescriptionMutate;
738
+ (function (CollectionDescriptionMutate) {
739
+ CollectionDescriptionMutate.TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutate";
740
+ const TYPE = new TypeDescriptor(CollectionDescriptionMutate.TYPE_QNAME);
741
+ function type() {
742
+ return TYPE.apply();
743
+ }
744
+ CollectionDescriptionMutate.type = type;
745
+ })(CollectionDescriptionMutate = token_event_store.CollectionDescriptionMutate || (token_event_store.CollectionDescriptionMutate = {}));
746
+ let CollectionDescriptionMutateEvent;
747
+ (function (CollectionDescriptionMutateEvent) {
748
+ CollectionDescriptionMutateEvent.TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutateEvent";
749
+ const TYPE = new TypeDescriptor(CollectionDescriptionMutateEvent.TYPE_QNAME);
750
+ function type() {
751
+ return TYPE.apply();
752
+ }
753
+ CollectionDescriptionMutateEvent.type = type;
754
+ })(CollectionDescriptionMutateEvent = token_event_store.CollectionDescriptionMutateEvent || (token_event_store.CollectionDescriptionMutateEvent = {}));
755
+ let CollectionMaximumMutate;
756
+ (function (CollectionMaximumMutate) {
757
+ CollectionMaximumMutate.TYPE_QNAME = "0x3::token_event_store::CollectionMaximumMutate";
758
+ const TYPE = new TypeDescriptor(CollectionMaximumMutate.TYPE_QNAME);
759
+ function type() {
760
+ return TYPE.apply();
761
+ }
762
+ CollectionMaximumMutate.type = type;
763
+ })(CollectionMaximumMutate = token_event_store.CollectionMaximumMutate || (token_event_store.CollectionMaximumMutate = {}));
764
+ let CollectionMaxiumMutate;
765
+ (function (CollectionMaxiumMutate) {
766
+ CollectionMaxiumMutate.TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutate";
767
+ const TYPE = new TypeDescriptor(CollectionMaxiumMutate.TYPE_QNAME);
768
+ function type() {
769
+ return TYPE.apply();
770
+ }
771
+ CollectionMaxiumMutate.type = type;
772
+ })(CollectionMaxiumMutate = token_event_store.CollectionMaxiumMutate || (token_event_store.CollectionMaxiumMutate = {}));
773
+ let CollectionMaxiumMutateEvent;
774
+ (function (CollectionMaxiumMutateEvent) {
775
+ CollectionMaxiumMutateEvent.TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutateEvent";
776
+ const TYPE = new TypeDescriptor(CollectionMaxiumMutateEvent.TYPE_QNAME);
777
+ function type() {
778
+ return TYPE.apply();
779
+ }
780
+ CollectionMaxiumMutateEvent.type = type;
781
+ })(CollectionMaxiumMutateEvent = token_event_store.CollectionMaxiumMutateEvent || (token_event_store.CollectionMaxiumMutateEvent = {}));
782
+ let CollectionUriMutate;
783
+ (function (CollectionUriMutate) {
784
+ CollectionUriMutate.TYPE_QNAME = "0x3::token_event_store::CollectionUriMutate";
785
+ const TYPE = new TypeDescriptor(CollectionUriMutate.TYPE_QNAME);
786
+ function type() {
787
+ return TYPE.apply();
788
+ }
789
+ CollectionUriMutate.type = type;
790
+ })(CollectionUriMutate = token_event_store.CollectionUriMutate || (token_event_store.CollectionUriMutate = {}));
791
+ let CollectionUriMutateEvent;
792
+ (function (CollectionUriMutateEvent) {
793
+ CollectionUriMutateEvent.TYPE_QNAME = "0x3::token_event_store::CollectionUriMutateEvent";
794
+ const TYPE = new TypeDescriptor(CollectionUriMutateEvent.TYPE_QNAME);
795
+ function type() {
796
+ return TYPE.apply();
797
+ }
798
+ CollectionUriMutateEvent.type = type;
799
+ })(CollectionUriMutateEvent = token_event_store.CollectionUriMutateEvent || (token_event_store.CollectionUriMutateEvent = {}));
800
+ let DefaultPropertyMutate;
801
+ (function (DefaultPropertyMutate) {
802
+ DefaultPropertyMutate.TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutate";
803
+ const TYPE = new TypeDescriptor(DefaultPropertyMutate.TYPE_QNAME);
804
+ function type() {
805
+ return TYPE.apply();
806
+ }
807
+ DefaultPropertyMutate.type = type;
808
+ })(DefaultPropertyMutate = token_event_store.DefaultPropertyMutate || (token_event_store.DefaultPropertyMutate = {}));
809
+ let DefaultPropertyMutateEvent;
810
+ (function (DefaultPropertyMutateEvent) {
811
+ DefaultPropertyMutateEvent.TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutateEvent";
812
+ const TYPE = new TypeDescriptor(DefaultPropertyMutateEvent.TYPE_QNAME);
813
+ function type() {
814
+ return TYPE.apply();
815
+ }
816
+ DefaultPropertyMutateEvent.type = type;
817
+ })(DefaultPropertyMutateEvent = token_event_store.DefaultPropertyMutateEvent || (token_event_store.DefaultPropertyMutateEvent = {}));
818
+ let DescriptionMutate;
819
+ (function (DescriptionMutate) {
820
+ DescriptionMutate.TYPE_QNAME = "0x3::token_event_store::DescriptionMutate";
821
+ const TYPE = new TypeDescriptor(DescriptionMutate.TYPE_QNAME);
822
+ function type() {
823
+ return TYPE.apply();
824
+ }
825
+ DescriptionMutate.type = type;
826
+ })(DescriptionMutate = token_event_store.DescriptionMutate || (token_event_store.DescriptionMutate = {}));
827
+ let DescriptionMutateEvent;
828
+ (function (DescriptionMutateEvent) {
829
+ DescriptionMutateEvent.TYPE_QNAME = "0x3::token_event_store::DescriptionMutateEvent";
830
+ const TYPE = new TypeDescriptor(DescriptionMutateEvent.TYPE_QNAME);
831
+ function type() {
832
+ return TYPE.apply();
833
+ }
834
+ DescriptionMutateEvent.type = type;
835
+ })(DescriptionMutateEvent = token_event_store.DescriptionMutateEvent || (token_event_store.DescriptionMutateEvent = {}));
836
+ let MaximumMutate;
837
+ (function (MaximumMutate) {
838
+ MaximumMutate.TYPE_QNAME = "0x3::token_event_store::MaximumMutate";
839
+ const TYPE = new TypeDescriptor(MaximumMutate.TYPE_QNAME);
840
+ function type() {
841
+ return TYPE.apply();
842
+ }
843
+ MaximumMutate.type = type;
844
+ })(MaximumMutate = token_event_store.MaximumMutate || (token_event_store.MaximumMutate = {}));
845
+ let MaxiumMutateEvent;
846
+ (function (MaxiumMutateEvent) {
847
+ MaxiumMutateEvent.TYPE_QNAME = "0x3::token_event_store::MaxiumMutateEvent";
848
+ const TYPE = new TypeDescriptor(MaxiumMutateEvent.TYPE_QNAME);
849
+ function type() {
850
+ return TYPE.apply();
851
+ }
852
+ MaxiumMutateEvent.type = type;
853
+ })(MaxiumMutateEvent = token_event_store.MaxiumMutateEvent || (token_event_store.MaxiumMutateEvent = {}));
854
+ let OptInTransfer;
855
+ (function (OptInTransfer) {
856
+ OptInTransfer.TYPE_QNAME = "0x3::token_event_store::OptInTransfer";
857
+ const TYPE = new TypeDescriptor(OptInTransfer.TYPE_QNAME);
858
+ function type() {
859
+ return TYPE.apply();
860
+ }
861
+ OptInTransfer.type = type;
862
+ })(OptInTransfer = token_event_store.OptInTransfer || (token_event_store.OptInTransfer = {}));
863
+ let OptInTransferEvent;
864
+ (function (OptInTransferEvent) {
865
+ OptInTransferEvent.TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
866
+ const TYPE = new TypeDescriptor(OptInTransferEvent.TYPE_QNAME);
867
+ function type() {
868
+ return TYPE.apply();
869
+ }
870
+ OptInTransferEvent.type = type;
871
+ })(OptInTransferEvent = token_event_store.OptInTransferEvent || (token_event_store.OptInTransferEvent = {}));
872
+ let RoyaltyMutate;
873
+ (function (RoyaltyMutate) {
874
+ RoyaltyMutate.TYPE_QNAME = "0x3::token_event_store::RoyaltyMutate";
875
+ const TYPE = new TypeDescriptor(RoyaltyMutate.TYPE_QNAME);
876
+ function type() {
877
+ return TYPE.apply();
878
+ }
879
+ RoyaltyMutate.type = type;
880
+ })(RoyaltyMutate = token_event_store.RoyaltyMutate || (token_event_store.RoyaltyMutate = {}));
881
+ let RoyaltyMutateEvent;
882
+ (function (RoyaltyMutateEvent) {
883
+ RoyaltyMutateEvent.TYPE_QNAME = "0x3::token_event_store::RoyaltyMutateEvent";
884
+ const TYPE = new TypeDescriptor(RoyaltyMutateEvent.TYPE_QNAME);
885
+ function type() {
886
+ return TYPE.apply();
887
+ }
888
+ RoyaltyMutateEvent.type = type;
889
+ })(RoyaltyMutateEvent = token_event_store.RoyaltyMutateEvent || (token_event_store.RoyaltyMutateEvent = {}));
890
+ let TokenEventStoreV1;
891
+ (function (TokenEventStoreV1) {
892
+ TokenEventStoreV1.TYPE_QNAME = "0x3::token_event_store::TokenEventStoreV1";
893
+ const TYPE = new TypeDescriptor(TokenEventStoreV1.TYPE_QNAME);
894
+ function type() {
895
+ return TYPE.apply();
896
+ }
897
+ TokenEventStoreV1.type = type;
898
+ })(TokenEventStoreV1 = token_event_store.TokenEventStoreV1 || (token_event_store.TokenEventStoreV1 = {}));
899
+ let UriMutation;
900
+ (function (UriMutation) {
901
+ UriMutation.TYPE_QNAME = "0x3::token_event_store::UriMutation";
902
+ const TYPE = new TypeDescriptor(UriMutation.TYPE_QNAME);
903
+ function type() {
904
+ return TYPE.apply();
905
+ }
906
+ UriMutation.type = type;
907
+ })(UriMutation = token_event_store.UriMutation || (token_event_store.UriMutation = {}));
908
+ let UriMutationEvent;
909
+ (function (UriMutationEvent) {
910
+ UriMutationEvent.TYPE_QNAME = "0x3::token_event_store::UriMutationEvent";
911
+ const TYPE = new TypeDescriptor(UriMutationEvent.TYPE_QNAME);
912
+ function type() {
913
+ return TYPE.apply();
914
+ }
915
+ UriMutationEvent.type = type;
916
+ })(UriMutationEvent = token_event_store.UriMutationEvent || (token_event_store.UriMutationEvent = {}));
917
+ })(token_event_store || (token_event_store = {}));
918
+ const MODULES = JSON.parse('[{"abi":{"address":"0x3","name":"token","friends":[],"exposed_functions":[{"name":"merge","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&mut 0x3::token::Token","0x3::token::Token"],"return":[]},{"name":"burn","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64"],"return":[]},{"name":"transfer","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","address","u64"],"return":[]},{"name":"balance_of","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x3::token::TokenId"],"return":["u64"]},{"name":"burn_by_creator","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64"],"return":[]},{"name":"check_collection_exists","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["bool"]},{"name":"check_tokendata_exists","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String","0x1::string::String"],"return":["bool"]},{"name":"create_collection","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","u64","vector<bool>"],"return":[]},{"name":"create_collection_mutability_config","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&vector<bool>"],"return":["0x3::token::CollectionMutabilityConfig"]},{"name":"create_collection_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","u64","vector<bool>"],"return":[]},{"name":"create_royalty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["u64","u64","address"],"return":["0x3::token::Royalty"]},{"name":"create_token_data_id","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String","0x1::string::String"],"return":["0x3::token::TokenDataId"]},{"name":"create_token_id","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenDataId","u64"],"return":["0x3::token::TokenId"]},{"name":"create_token_id_raw","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String","0x1::string::String","u64"],"return":["0x3::token::TokenId"]},{"name":"create_token_mutability_config","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&vector<bool>"],"return":["0x3::token::TokenMutabilityConfig"]},{"name":"create_token_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","u64","u64","0x1::string::String","address","u64","u64","vector<bool>","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":[]},{"name":"create_tokendata","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","u64","0x1::string::String","address","u64","u64","0x3::token::TokenMutabilityConfig","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":["0x3::token::TokenDataId"]},{"name":"create_withdraw_capability","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","u64","u64"],"return":["0x3::token::WithdrawCapability"]},{"name":"token_id","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::Token"],"return":["&0x3::token::TokenId"]},{"name":"deposit_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::Token"],"return":[]},{"name":"direct_deposit_with_opt_in","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x3::token::Token"],"return":[]},{"name":"direct_transfer","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","&signer","0x3::token::TokenId","u64"],"return":[]},{"name":"direct_transfer_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","&signer","address","0x1::string::String","0x1::string::String","u64","u64"],"return":[]},{"name":"get_collection_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["0x1::string::String"]},{"name":"get_collection_maximum","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["u64"]},{"name":"get_collection_mutability_config","visibility":"public","is_entry":false,"is_view":true,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["0x3::token::CollectionMutabilityConfig"]},{"name":"get_collection_mutability_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::CollectionMutabilityConfig"],"return":["bool"]},{"name":"get_collection_mutability_maximum","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::CollectionMutabilityConfig"],"return":["bool"]},{"name":"get_collection_mutability_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::CollectionMutabilityConfig"],"return":["bool"]},{"name":"get_collection_supply","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["0x1::option::Option<u64>"]},{"name":"get_collection_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["0x1::string::String"]},{"name":"get_direct_transfer","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"get_property_map","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x3::token::TokenId"],"return":["0x3::property_map::PropertyMap"]},{"name":"get_royalty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenId"],"return":["0x3::token::Royalty"]},{"name":"get_royalty_denominator","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::Royalty"],"return":["u64"]},{"name":"get_royalty_numerator","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::Royalty"],"return":["u64"]},{"name":"get_royalty_payee","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::Royalty"],"return":["address"]},{"name":"get_token_amount","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::Token"],"return":["u64"]},{"name":"get_token_data_id_fields","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenDataId"],"return":["address","0x1::string::String","0x1::string::String"]},{"name":"get_token_id","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::Token"],"return":["0x3::token::TokenId"]},{"name":"get_token_id_fields","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenId"],"return":["address","0x1::string::String","0x1::string::String","u64"]},{"name":"get_token_mutability_default_properties","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenMutabilityConfig"],"return":["bool"]},{"name":"get_token_mutability_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenMutabilityConfig"],"return":["bool"]},{"name":"get_token_mutability_maximum","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenMutabilityConfig"],"return":["bool"]},{"name":"get_token_mutability_royalty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenMutabilityConfig"],"return":["bool"]},{"name":"get_token_mutability_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::token::TokenMutabilityConfig"],"return":["bool"]},{"name":"get_token_supply","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x3::token::TokenDataId"],"return":["0x1::option::Option<u64>"]},{"name":"get_tokendata_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenDataId"],"return":["0x1::string::String"]},{"name":"get_tokendata_id","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenId"],"return":["0x3::token::TokenDataId"]},{"name":"get_tokendata_largest_property_version","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x3::token::TokenDataId"],"return":["u64"]},{"name":"get_tokendata_maximum","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenDataId"],"return":["u64"]},{"name":"get_tokendata_mutability_config","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenDataId"],"return":["0x3::token::TokenMutabilityConfig"]},{"name":"get_tokendata_royalty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::TokenDataId"],"return":["0x3::token::Royalty"]},{"name":"get_tokendata_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address","0x3::token::TokenDataId"],"return":["0x1::string::String"]},{"name":"has_token_store","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"initialize_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId"],"return":[]},{"name":"initialize_token_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"initialize_token_store","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"mint_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x1::string::String","0x1::string::String","u64"],"return":[]},{"name":"mint_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenDataId","u64"],"return":["0x3::token::TokenId"]},{"name":"mint_token_to","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x3::token::TokenDataId","u64"],"return":[]},{"name":"mutate_collection_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String"],"return":[]},{"name":"mutate_collection_maximum","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","u64"],"return":[]},{"name":"mutate_collection_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String"],"return":[]},{"name":"mutate_one_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x3::token::TokenId","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":["0x3::token::TokenId"]},{"name":"mutate_token_properties","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","address","address","0x1::string::String","0x1::string::String","u64","u64","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":[]},{"name":"mutate_tokendata_description","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenDataId","0x1::string::String"],"return":[]},{"name":"mutate_tokendata_maximum","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenDataId","u64"],"return":[]},{"name":"mutate_tokendata_property","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenDataId","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":[]},{"name":"mutate_tokendata_royalty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenDataId","0x3::token::Royalty"],"return":[]},{"name":"mutate_tokendata_uri","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenDataId","0x1::string::String"],"return":[]},{"name":"opt_in_direct_transfer","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","bool"],"return":[]},{"name":"partial_withdraw_with_capability","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::WithdrawCapability","u64"],"return":["0x3::token::Token","0x1::option::Option<0x3::token::WithdrawCapability>"]},{"name":"split","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&mut 0x3::token::Token","u64"],"return":["0x3::token::Token"]},{"name":"transfer_with_opt_in","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","address","u64"],"return":[]},{"name":"withdraw_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","u64"],"return":["0x3::token::Token"]},{"name":"withdraw_with_capability","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["0x3::token::WithdrawCapability"],"return":["0x3::token::Token"]}],"structs":[{"name":"Deposit","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"DepositEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"Withdraw","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"WithdrawEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"Burn","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"BurnToken","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"BurnTokenEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"CollectionData","is_native":false,"is_event":false,"is_enum":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"description","type":"0x1::string::String"},{"name":"name","type":"0x1::string::String"},{"name":"uri","type":"0x1::string::String"},{"name":"supply","type":"u64"},{"name":"maximum","type":"u64"},{"name":"mutability_config","type":"0x3::token::CollectionMutabilityConfig"}],"variants":[]},{"name":"CollectionMutabilityConfig","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"description","type":"bool"},{"name":"uri","type":"bool"},{"name":"maximum","type":"bool"}],"variants":[]},{"name":"Collections","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"collection_data","type":"0x1::table::Table<0x1::string::String, 0x3::token::CollectionData>"},{"name":"token_data","type":"0x1::table::Table<0x3::token::TokenDataId, 0x3::token::TokenData>"},{"name":"create_collection_events","type":"0x1::event::EventHandle<0x3::token::CreateCollectionEvent>"},{"name":"create_token_data_events","type":"0x1::event::EventHandle<0x3::token::CreateTokenDataEvent>"},{"name":"mint_token_events","type":"0x1::event::EventHandle<0x3::token::MintTokenEvent>"}],"variants":[]},{"name":"CreateCollection","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"uri","type":"0x1::string::String"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"}],"variants":[]},{"name":"CreateCollectionEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"uri","type":"0x1::string::String"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"}],"variants":[]},{"name":"CreateTokenData","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenDataId"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"},{"name":"uri","type":"0x1::string::String"},{"name":"royalty_payee_address","type":"address"},{"name":"royalty_points_denominator","type":"u64"},{"name":"royalty_points_numerator","type":"u64"},{"name":"name","type":"0x1::string::String"},{"name":"mutability_config","type":"0x3::token::TokenMutabilityConfig"},{"name":"property_keys","type":"vector<0x1::string::String>"},{"name":"property_values","type":"vector<vector<u8>>"},{"name":"property_types","type":"vector<0x1::string::String>"}],"variants":[]},{"name":"CreateTokenDataEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenDataId"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"},{"name":"uri","type":"0x1::string::String"},{"name":"royalty_payee_address","type":"address"},{"name":"royalty_points_denominator","type":"u64"},{"name":"royalty_points_numerator","type":"u64"},{"name":"name","type":"0x1::string::String"},{"name":"mutability_config","type":"0x3::token::TokenMutabilityConfig"},{"name":"property_keys","type":"vector<0x1::string::String>"},{"name":"property_values","type":"vector<vector<u8>>"},{"name":"property_types","type":"vector<0x1::string::String>"}],"variants":[]},{"name":"Mint","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"id","type":"0x3::token::TokenDataId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"MintToken","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenDataId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"MintTokenEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenDataId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"MutatePropertyMap","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"old_id","type":"0x3::token::TokenId"},{"name":"new_id","type":"0x3::token::TokenId"},{"name":"keys","type":"vector<0x1::string::String>"},{"name":"values","type":"vector<vector<u8>>"},{"name":"types","type":"vector<0x1::string::String>"}],"variants":[]},{"name":"MutateTokenPropertyMap","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"old_id","type":"0x3::token::TokenId"},{"name":"new_id","type":"0x3::token::TokenId"},{"name":"keys","type":"vector<0x1::string::String>"},{"name":"values","type":"vector<vector<u8>>"},{"name":"types","type":"vector<0x1::string::String>"}],"variants":[]},{"name":"MutateTokenPropertyMapEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"old_id","type":"0x3::token::TokenId"},{"name":"new_id","type":"0x3::token::TokenId"},{"name":"keys","type":"vector<0x1::string::String>"},{"name":"values","type":"vector<vector<u8>>"},{"name":"types","type":"vector<0x1::string::String>"}],"variants":[]},{"name":"Royalty","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"royalty_points_numerator","type":"u64"},{"name":"royalty_points_denominator","type":"u64"},{"name":"payee_address","type":"address"}],"variants":[]},{"name":"Token","is_native":false,"is_event":false,"is_enum":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"},{"name":"token_properties","type":"0x3::property_map::PropertyMap"}],"variants":[]},{"name":"TokenData","is_native":false,"is_event":false,"is_enum":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"maximum","type":"u64"},{"name":"largest_property_version","type":"u64"},{"name":"supply","type":"u64"},{"name":"uri","type":"0x1::string::String"},{"name":"royalty","type":"0x3::token::Royalty"},{"name":"name","type":"0x1::string::String"},{"name":"description","type":"0x1::string::String"},{"name":"default_properties","type":"0x3::property_map::PropertyMap"},{"name":"mutability_config","type":"0x3::token::TokenMutabilityConfig"}],"variants":[]},{"name":"TokenDataCreation","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"id","type":"0x3::token::TokenDataId"},{"name":"description","type":"0x1::string::String"},{"name":"maximum","type":"u64"},{"name":"uri","type":"0x1::string::String"},{"name":"royalty_payee_address","type":"address"},{"name":"royalty_points_denominator","type":"u64"},{"name":"royalty_points_numerator","type":"u64"},{"name":"name","type":"0x1::string::String"},{"name":"mutability_config","type":"0x3::token::TokenMutabilityConfig"},{"name":"property_keys","type":"vector<0x1::string::String>"},{"name":"property_values","type":"vector<vector<u8>>"},{"name":"property_types","type":"vector<0x1::string::String>"}],"variants":[]},{"name":"TokenDataId","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"name","type":"0x1::string::String"}],"variants":[]},{"name":"TokenDeposit","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenId","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"token_data_id","type":"0x3::token::TokenDataId"},{"name":"property_version","type":"u64"}],"variants":[]},{"name":"TokenMutabilityConfig","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"maximum","type":"bool"},{"name":"uri","type":"bool"},{"name":"royalty","type":"bool"},{"name":"description","type":"bool"},{"name":"properties","type":"bool"}],"variants":[]},{"name":"TokenStore","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"tokens","type":"0x1::table::Table<0x3::token::TokenId, 0x3::token::Token>"},{"name":"direct_transfer","type":"bool"},{"name":"deposit_events","type":"0x1::event::EventHandle<0x3::token::DepositEvent>"},{"name":"withdraw_events","type":"0x1::event::EventHandle<0x3::token::WithdrawEvent>"},{"name":"burn_events","type":"0x1::event::EventHandle<0x3::token::BurnTokenEvent>"},{"name":"mutate_token_property_events","type":"0x1::event::EventHandle<0x3::token::MutateTokenPropertyMapEvent>"}],"variants":[]},{"name":"TokenWithdraw","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"WithdrawCapability","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"token_owner","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"},{"name":"expiration_sec","type":"u64"}],"variants":[]}]}},{"abi":{"address":"0x3","name":"property_map","friends":[],"exposed_functions":[{"name":"new","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":["0x3::property_map::PropertyMap"]},{"name":"borrow","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["&0x3::property_map::PropertyValue"]},{"name":"empty","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":[],"return":["0x3::property_map::PropertyMap"]},{"name":"length","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap"],"return":["u64"]},{"name":"remove","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&mut 0x3::property_map::PropertyMap","&0x1::string::String"],"return":["0x1::string::String","0x3::property_map::PropertyValue"]},{"name":"add","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&mut 0x3::property_map::PropertyMap","0x1::string::String","0x3::property_map::PropertyValue"],"return":[]},{"name":"keys","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap"],"return":["vector<0x1::string::String>"]},{"name":"values","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap"],"return":["vector<vector<u8>>"]},{"name":"contains_key","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["bool"]},{"name":"borrow_type","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyValue"],"return":["0x1::string::String"]},{"name":"borrow_value","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyValue"],"return":["vector<u8>"]},{"name":"create_property_value","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":["copy"]}],"params":["&T0"],"return":["0x3::property_map::PropertyValue"]},{"name":"create_property_value_raw","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["vector<u8>","0x1::string::String"],"return":["0x3::property_map::PropertyValue"]},{"name":"types","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap"],"return":["vector<0x1::string::String>"]},{"name":"new_with_key_and_property_value","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["vector<0x1::string::String>","vector<0x3::property_map::PropertyValue>"],"return":["0x3::property_map::PropertyMap"]},{"name":"read_address","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["address"]},{"name":"read_bool","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["bool"]},{"name":"read_string","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["0x1::string::String"]},{"name":"read_u128","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["u128"]},{"name":"read_u64","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["u64"]},{"name":"read_u8","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&0x3::property_map::PropertyMap","&0x1::string::String"],"return":["u8"]},{"name":"update_property_map","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&mut 0x3::property_map::PropertyMap","vector<0x1::string::String>","vector<vector<u8>>","vector<0x1::string::String>"],"return":[]},{"name":"update_property_value","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&mut 0x3::property_map::PropertyMap","&0x1::string::String","0x3::property_map::PropertyValue"],"return":[]}],"structs":[{"name":"PropertyMap","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"map","type":"0x1::simple_map::SimpleMap<0x1::string::String, 0x3::property_map::PropertyValue>"}],"variants":[]},{"name":"PropertyValue","is_native":false,"is_event":false,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"value","type":"vector<u8>"},{"name":"type","type":"0x1::string::String"}],"variants":[]}]}},{"abi":{"address":"0x3","name":"token_coin_swap","friends":[],"exposed_functions":[{"name":"cancel_token_listing","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x3::token::TokenId","u64"],"return":[]},{"name":"deposit_token_to_escrow","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","0x3::token::Token","u64"],"return":[]},{"name":"does_listing_exist","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":[]}],"params":["address","0x3::token::TokenId"],"return":["bool"]},{"name":"exchange_coin_for_token","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","u64","address","address","0x1::string::String","0x1::string::String","u64","u64"],"return":[]},{"name":"list_token_for_swap","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","0x1::string::String","0x1::string::String","u64","u64","u64","u64"],"return":[]},{"name":"withdraw_token_from_escrow","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x3::token::TokenId","u64"],"return":["0x3::token::Token"]}],"structs":[{"name":"TokenCoinSwap","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"token_amount","type":"u64"},{"name":"min_price_per_token","type":"u64"}],"variants":[]},{"name":"TokenEscrow","is_native":false,"is_event":false,"is_enum":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"token","type":"0x3::token::Token"},{"name":"locked_until_secs","type":"u64"}],"variants":[]},{"name":"TokenListingEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"},{"name":"min_price","type":"u64"},{"name":"locked_until_secs","type":"u64"},{"name":"coin_type_info","type":"0x1::type_info::TypeInfo"}],"variants":[]},{"name":"TokenListings","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"listings","type":"0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenCoinSwap<T0>>"},{"name":"listing_events","type":"0x1::event::EventHandle<0x3::token_coin_swap::TokenListingEvent>"},{"name":"swap_events","type":"0x1::event::EventHandle<0x3::token_coin_swap::TokenSwapEvent>"}],"variants":[]},{"name":"TokenStoreEscrow","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"token_escrows","type":"0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenEscrow>"}],"variants":[]},{"name":"TokenSwapEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"token_id","type":"0x3::token::TokenId"},{"name":"token_buyer","type":"address"},{"name":"token_amount","type":"u64"},{"name":"coin_amount","type":"u64"},{"name":"coin_type_info","type":"0x1::type_info::TypeInfo"}],"variants":[]}]}},{"abi":{"address":"0x3","name":"token_transfers","friends":[],"exposed_functions":[{"name":"cancel_offer","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x3::token::TokenId"],"return":[]},{"name":"cancel_offer_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["signer","address","address","0x1::string::String","0x1::string::String","u64"],"return":[]},{"name":"claim","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x3::token::TokenId"],"return":[]},{"name":"claim_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["signer","address","address","0x1::string::String","0x1::string::String","u64"],"return":[]},{"name":"offer","visibility":"public","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","address","0x3::token::TokenId","u64"],"return":[]},{"name":"offer_script","visibility":"public","is_entry":true,"is_view":false,"generic_type_params":[],"params":["signer","address","address","0x1::string::String","0x1::string::String","u64","u64"],"return":[]}],"structs":[{"name":"CancelOffer","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"Claim","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"Offer","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"PendingClaims","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"pending_claims","type":"0x1::table::Table<0x3::token_transfers::TokenOfferId, 0x3::token::Token>"},{"name":"offer_events","type":"0x1::event::EventHandle<0x3::token_transfers::TokenOfferEvent>"},{"name":"cancel_offer_events","type":"0x1::event::EventHandle<0x3::token_transfers::TokenCancelOfferEvent>"},{"name":"claim_events","type":"0x1::event::EventHandle<0x3::token_transfers::TokenClaimEvent>"}],"variants":[]},{"name":"TokenCancelOffer","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenCancelOfferEvent","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenClaim","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenClaimEvent","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenOffer","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenOfferEvent","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"to_address","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"},{"name":"amount","type":"u64"}],"variants":[]},{"name":"TokenOfferId","is_native":false,"is_event":true,"is_enum":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"to_addr","type":"address"},{"name":"token_id","type":"0x3::token::TokenId"}],"variants":[]}]}},{"abi":{"address":"0x3","name":"token_event_store","friends":["0x3::token"],"exposed_functions":[{"name":"emit_collection_description_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String"],"return":[]},{"name":"emit_collection_maximum_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","u64","u64"],"return":[]},{"name":"emit_collection_uri_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String"],"return":[]},{"name":"emit_default_property_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","vector<0x1::string::String>","vector<0x1::option::Option<0x3::property_map::PropertyValue>>","vector<0x3::property_map::PropertyValue>"],"return":[]},{"name":"emit_token_descrition_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String"],"return":[]},{"name":"emit_token_maximum_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","u64","u64"],"return":[]},{"name":"emit_token_opt_in_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","bool"],"return":[]},{"name":"emit_token_royalty_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","u64","u64","address","u64","u64","address"],"return":[]},{"name":"emit_token_uri_mutate_event","visibility":"friend","is_entry":false,"is_view":false,"generic_type_params":[],"params":["&signer","0x1::string::String","0x1::string::String","0x1::string::String","0x1::string::String"],"return":[]}],"structs":[{"name":"CollectionDescriptionMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_description","type":"0x1::string::String"},{"name":"new_description","type":"0x1::string::String"}],"variants":[]},{"name":"CollectionDescriptionMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_description","type":"0x1::string::String"},{"name":"new_description","type":"0x1::string::String"}],"variants":[]},{"name":"CollectionMaximumMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_maximum","type":"u64"},{"name":"new_maximum","type":"u64"}],"variants":[]},{"name":"CollectionMaxiumMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_maximum","type":"u64"},{"name":"new_maximum","type":"u64"}],"variants":[]},{"name":"CollectionMaxiumMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_maximum","type":"u64"},{"name":"new_maximum","type":"u64"}],"variants":[]},{"name":"CollectionUriMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_uri","type":"0x1::string::String"},{"name":"new_uri","type":"0x1::string::String"}],"variants":[]},{"name":"CollectionUriMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator_addr","type":"address"},{"name":"collection_name","type":"0x1::string::String"},{"name":"old_uri","type":"0x1::string::String"},{"name":"new_uri","type":"0x1::string::String"}],"variants":[]},{"name":"DefaultPropertyMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"keys","type":"vector<0x1::string::String>"},{"name":"old_values","type":"vector<0x1::option::Option<0x3::property_map::PropertyValue>>"},{"name":"new_values","type":"vector<0x3::property_map::PropertyValue>"}],"variants":[]},{"name":"DefaultPropertyMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"keys","type":"vector<0x1::string::String>"},{"name":"old_values","type":"vector<0x1::option::Option<0x3::property_map::PropertyValue>>"},{"name":"new_values","type":"vector<0x3::property_map::PropertyValue>"}],"variants":[]},{"name":"DescriptionMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_description","type":"0x1::string::String"},{"name":"new_description","type":"0x1::string::String"}],"variants":[]},{"name":"DescriptionMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_description","type":"0x1::string::String"},{"name":"new_description","type":"0x1::string::String"}],"variants":[]},{"name":"MaximumMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_maximum","type":"u64"},{"name":"new_maximum","type":"u64"}],"variants":[]},{"name":"MaxiumMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_maximum","type":"u64"},{"name":"new_maximum","type":"u64"}],"variants":[]},{"name":"OptInTransfer","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account_address","type":"address"},{"name":"opt_in","type":"bool"}],"variants":[]},{"name":"OptInTransferEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"opt_in","type":"bool"}],"variants":[]},{"name":"RoyaltyMutate","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_royalty_numerator","type":"u64"},{"name":"old_royalty_denominator","type":"u64"},{"name":"old_royalty_payee_addr","type":"address"},{"name":"new_royalty_numerator","type":"u64"},{"name":"new_royalty_denominator","type":"u64"},{"name":"new_royalty_payee_addr","type":"address"}],"variants":[]},{"name":"RoyaltyMutateEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_royalty_numerator","type":"u64"},{"name":"old_royalty_denominator","type":"u64"},{"name":"old_royalty_payee_addr","type":"address"},{"name":"new_royalty_numerator","type":"u64"},{"name":"new_royalty_denominator","type":"u64"},{"name":"new_royalty_payee_addr","type":"address"}],"variants":[]},{"name":"TokenEventStoreV1","is_native":false,"is_event":false,"is_enum":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"collection_uri_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::CollectionUriMutateEvent>"},{"name":"collection_maximum_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::CollectionMaxiumMutateEvent>"},{"name":"collection_description_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::CollectionDescriptionMutateEvent>"},{"name":"opt_in_events","type":"0x1::event::EventHandle<0x3::token_event_store::OptInTransferEvent>"},{"name":"uri_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::UriMutationEvent>"},{"name":"default_property_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::DefaultPropertyMutateEvent>"},{"name":"description_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::DescriptionMutateEvent>"},{"name":"royalty_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::RoyaltyMutateEvent>"},{"name":"maximum_mutate_events","type":"0x1::event::EventHandle<0x3::token_event_store::MaxiumMutateEvent>"},{"name":"extension","type":"0x1::option::Option<0x1::any::Any>"}],"variants":[]},{"name":"UriMutation","is_native":false,"is_event":true,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_uri","type":"0x1::string::String"},{"name":"new_uri","type":"0x1::string::String"}],"variants":[]},{"name":"UriMutationEvent","is_native":false,"is_event":false,"is_enum":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"creator","type":"address"},{"name":"collection","type":"0x1::string::String"},{"name":"token","type":"0x1::string::String"},{"name":"old_uri","type":"0x1::string::String"},{"name":"new_uri","type":"0x1::string::String"}],"variants":[]}]}}]');
919
+ export function loadAllTypes(coder) {
920
+ _0x1.loadAllTypes(coder);
921
+ for (const m of Object.values(MODULES)) {
922
+ coder.load(m, "0x3");
923
+ }
924
+ }
925
+ loadAllTypes(defaultMoveCoder());
926
+ //# sourceMappingURL=0x3.js.map