@sentio/sdk 2.49.1-rc.2 → 2.49.1-rc.4
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.
- package/lib/aptos/builtin/0x1.d.ts +52 -802
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +220 -1118
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +14 -64
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +49 -96
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +3 -43
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +10 -56
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js +22 -8
- package/lib/store/store.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +28 -0
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +126 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/package.json +10 -10
- package/src/aptos/abis/0x1.json +1 -1
- package/src/aptos/builtin/0x1.ts +413 -2864
- package/src/aptos/builtin/0x3.ts +93 -257
- package/src/aptos/builtin/0x4.ts +12 -126
- package/src/store/store.ts +24 -9
- package/src/sui/abis/0x2.json +235 -0
- package/src/sui/builtin/0x2.ts +187 -1
package/src/aptos/builtin/0x3.ts
CHANGED
@@ -212,29 +212,6 @@ export class token extends AptosBaseProcessor {
|
|
212
212
|
return this;
|
213
213
|
}
|
214
214
|
|
215
|
-
onEventBurnTokenEvent(
|
216
|
-
func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
|
217
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
218
|
-
): token {
|
219
|
-
this.onMoveEvent(func, { type: "token::BurnTokenEvent" }, fetchConfig);
|
220
|
-
return this;
|
221
|
-
}
|
222
|
-
|
223
|
-
onEventCollectionMutabilityConfig(
|
224
|
-
func: (
|
225
|
-
event: token.CollectionMutabilityConfigInstance,
|
226
|
-
ctx: AptosContext,
|
227
|
-
) => void,
|
228
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
229
|
-
): token {
|
230
|
-
this.onMoveEvent(
|
231
|
-
func,
|
232
|
-
{ type: "token::CollectionMutabilityConfig" },
|
233
|
-
fetchConfig,
|
234
|
-
);
|
235
|
-
return this;
|
236
|
-
}
|
237
|
-
|
238
215
|
onEventCreateCollection(
|
239
216
|
func: (event: token.CreateCollectionInstance, ctx: AptosContext) => void,
|
240
217
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -243,21 +220,6 @@ export class token extends AptosBaseProcessor {
|
|
243
220
|
return this;
|
244
221
|
}
|
245
222
|
|
246
|
-
onEventCreateCollectionEvent(
|
247
|
-
func: (
|
248
|
-
event: token.CreateCollectionEventInstance,
|
249
|
-
ctx: AptosContext,
|
250
|
-
) => void,
|
251
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
252
|
-
): token {
|
253
|
-
this.onMoveEvent(
|
254
|
-
func,
|
255
|
-
{ type: "token::CreateCollectionEvent" },
|
256
|
-
fetchConfig,
|
257
|
-
);
|
258
|
-
return this;
|
259
|
-
}
|
260
|
-
|
261
223
|
onEventCreateTokenData(
|
262
224
|
func: (event: token.CreateTokenDataInstance, ctx: AptosContext) => void,
|
263
225
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -266,21 +228,6 @@ export class token extends AptosBaseProcessor {
|
|
266
228
|
return this;
|
267
229
|
}
|
268
230
|
|
269
|
-
onEventCreateTokenDataEvent(
|
270
|
-
func: (
|
271
|
-
event: token.CreateTokenDataEventInstance,
|
272
|
-
ctx: AptosContext,
|
273
|
-
) => void,
|
274
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
275
|
-
): token {
|
276
|
-
this.onMoveEvent(
|
277
|
-
func,
|
278
|
-
{ type: "token::CreateTokenDataEvent" },
|
279
|
-
fetchConfig,
|
280
|
-
);
|
281
|
-
return this;
|
282
|
-
}
|
283
|
-
|
284
231
|
onEventDeposit(
|
285
232
|
func: (event: token.DepositInstance, ctx: AptosContext) => void,
|
286
233
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -289,122 +236,113 @@ export class token extends AptosBaseProcessor {
|
|
289
236
|
return this;
|
290
237
|
}
|
291
238
|
|
292
|
-
|
293
|
-
func: (event: token.
|
239
|
+
onEventMintToken(
|
240
|
+
func: (event: token.MintTokenInstance, ctx: AptosContext) => void,
|
294
241
|
fetchConfig?: Partial<MoveFetchConfig>,
|
295
242
|
): token {
|
296
|
-
this.onMoveEvent(func, { type: "token::
|
243
|
+
this.onMoveEvent(func, { type: "token::MintToken" }, fetchConfig);
|
297
244
|
return this;
|
298
245
|
}
|
299
246
|
|
300
|
-
|
301
|
-
func: (
|
247
|
+
onEventMutateTokenPropertyMap(
|
248
|
+
func: (
|
249
|
+
event: token.MutateTokenPropertyMapInstance,
|
250
|
+
ctx: AptosContext,
|
251
|
+
) => void,
|
302
252
|
fetchConfig?: Partial<MoveFetchConfig>,
|
303
253
|
): token {
|
304
|
-
this.onMoveEvent(
|
254
|
+
this.onMoveEvent(
|
255
|
+
func,
|
256
|
+
{ type: "token::MutateTokenPropertyMap" },
|
257
|
+
fetchConfig,
|
258
|
+
);
|
305
259
|
return this;
|
306
260
|
}
|
307
261
|
|
308
|
-
|
309
|
-
func: (event: token.
|
262
|
+
onEventWithdraw(
|
263
|
+
func: (event: token.WithdrawInstance, ctx: AptosContext) => void,
|
310
264
|
fetchConfig?: Partial<MoveFetchConfig>,
|
311
265
|
): token {
|
312
|
-
this.onMoveEvent(func, { type: "token::
|
266
|
+
this.onMoveEvent(func, { type: "token::Withdraw" }, fetchConfig);
|
313
267
|
return this;
|
314
268
|
}
|
315
269
|
|
316
|
-
|
270
|
+
onEventCreateCollectionEvent(
|
317
271
|
func: (
|
318
|
-
event: token.
|
272
|
+
event: token.CreateCollectionEventInstance,
|
319
273
|
ctx: AptosContext,
|
320
274
|
) => void,
|
321
275
|
fetchConfig?: Partial<MoveFetchConfig>,
|
322
276
|
): token {
|
323
277
|
this.onMoveEvent(
|
324
278
|
func,
|
325
|
-
{ type: "token::
|
279
|
+
{ type: "token::CreateCollectionEvent" },
|
326
280
|
fetchConfig,
|
327
281
|
);
|
328
282
|
return this;
|
329
283
|
}
|
330
284
|
|
331
|
-
|
285
|
+
onEventCreateTokenDataEvent(
|
332
286
|
func: (
|
333
|
-
event: token.
|
287
|
+
event: token.CreateTokenDataEventInstance,
|
334
288
|
ctx: AptosContext,
|
335
289
|
) => void,
|
336
290
|
fetchConfig?: Partial<MoveFetchConfig>,
|
337
291
|
): token {
|
338
292
|
this.onMoveEvent(
|
339
293
|
func,
|
340
|
-
{ type: "token::
|
294
|
+
{ type: "token::CreateTokenDataEvent" },
|
341
295
|
fetchConfig,
|
342
296
|
);
|
343
297
|
return this;
|
344
298
|
}
|
345
299
|
|
346
|
-
|
347
|
-
func: (event: token.
|
300
|
+
onEventMintTokenEvent(
|
301
|
+
func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
|
348
302
|
fetchConfig?: Partial<MoveFetchConfig>,
|
349
303
|
): token {
|
350
|
-
this.onMoveEvent(func, { type: "token::
|
304
|
+
this.onMoveEvent(func, { type: "token::MintTokenEvent" }, fetchConfig);
|
351
305
|
return this;
|
352
306
|
}
|
353
307
|
|
354
|
-
|
355
|
-
func: (event: token.
|
308
|
+
onEventDepositEvent(
|
309
|
+
func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
|
356
310
|
fetchConfig?: Partial<MoveFetchConfig>,
|
357
311
|
): token {
|
358
|
-
this.onMoveEvent(func, { type: "token::
|
312
|
+
this.onMoveEvent(func, { type: "token::DepositEvent" }, fetchConfig);
|
359
313
|
return this;
|
360
314
|
}
|
361
315
|
|
362
|
-
|
363
|
-
func: (event: token.
|
316
|
+
onEventWithdrawEvent(
|
317
|
+
func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
|
318
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
319
|
+
): token {
|
320
|
+
this.onMoveEvent(func, { type: "token::WithdrawEvent" }, fetchConfig);
|
321
|
+
return this;
|
322
|
+
}
|
323
|
+
|
324
|
+
onEventBurnTokenEvent(
|
325
|
+
func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
|
364
326
|
fetchConfig?: Partial<MoveFetchConfig>,
|
365
327
|
): token {
|
366
|
-
this.onMoveEvent(func, { type: "token::
|
328
|
+
this.onMoveEvent(func, { type: "token::BurnTokenEvent" }, fetchConfig);
|
367
329
|
return this;
|
368
330
|
}
|
369
331
|
|
370
|
-
|
332
|
+
onEventMutateTokenPropertyMapEvent(
|
371
333
|
func: (
|
372
|
-
event: token.
|
334
|
+
event: token.MutateTokenPropertyMapEventInstance,
|
373
335
|
ctx: AptosContext,
|
374
336
|
) => void,
|
375
337
|
fetchConfig?: Partial<MoveFetchConfig>,
|
376
338
|
): token {
|
377
339
|
this.onMoveEvent(
|
378
340
|
func,
|
379
|
-
{ type: "token::
|
341
|
+
{ type: "token::MutateTokenPropertyMapEvent" },
|
380
342
|
fetchConfig,
|
381
343
|
);
|
382
344
|
return this;
|
383
345
|
}
|
384
|
-
|
385
|
-
onEventWithdraw(
|
386
|
-
func: (event: token.WithdrawInstance, ctx: AptosContext) => void,
|
387
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
388
|
-
): token {
|
389
|
-
this.onMoveEvent(func, { type: "token::Withdraw" }, fetchConfig);
|
390
|
-
return this;
|
391
|
-
}
|
392
|
-
|
393
|
-
onEventWithdrawCapability(
|
394
|
-
func: (event: token.WithdrawCapabilityInstance, ctx: AptosContext) => void,
|
395
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
396
|
-
): token {
|
397
|
-
this.onMoveEvent(func, { type: "token::WithdrawCapability" }, fetchConfig);
|
398
|
-
return this;
|
399
|
-
}
|
400
|
-
|
401
|
-
onEventWithdrawEvent(
|
402
|
-
func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
|
403
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
404
|
-
): token {
|
405
|
-
this.onMoveEvent(func, { type: "token::WithdrawEvent" }, fetchConfig);
|
406
|
-
return this;
|
407
|
-
}
|
408
346
|
}
|
409
347
|
|
410
348
|
export namespace token {
|
@@ -486,12 +424,6 @@ export namespace token {
|
|
486
424
|
}
|
487
425
|
}
|
488
426
|
|
489
|
-
export interface CollectionMutabilityConfigInstance
|
490
|
-
extends TypedEventInstance<CollectionMutabilityConfig> {
|
491
|
-
data_decoded: CollectionMutabilityConfig;
|
492
|
-
type_arguments: [];
|
493
|
-
}
|
494
|
-
|
495
427
|
export interface Collections {
|
496
428
|
collection_data: _0x1.table.Table<string, token.CollectionData>;
|
497
429
|
token_data: _0x1.table.Table<token.TokenDataId, token.TokenData>;
|
@@ -778,11 +710,6 @@ export namespace token {
|
|
778
710
|
}
|
779
711
|
}
|
780
712
|
|
781
|
-
export interface RoyaltyInstance extends TypedEventInstance<Royalty> {
|
782
|
-
data_decoded: Royalty;
|
783
|
-
type_arguments: [];
|
784
|
-
}
|
785
|
-
|
786
713
|
export interface Token {
|
787
714
|
id: token.TokenId;
|
788
715
|
amount: bigint;
|
@@ -837,11 +764,6 @@ export namespace token {
|
|
837
764
|
}
|
838
765
|
}
|
839
766
|
|
840
|
-
export interface TokenDataIdInstance extends TypedEventInstance<TokenDataId> {
|
841
|
-
data_decoded: TokenDataId;
|
842
|
-
type_arguments: [];
|
843
|
-
}
|
844
|
-
|
845
767
|
export interface TokenId {
|
846
768
|
token_data_id: token.TokenDataId;
|
847
769
|
property_version: bigint;
|
@@ -857,11 +779,6 @@ export namespace token {
|
|
857
779
|
}
|
858
780
|
}
|
859
781
|
|
860
|
-
export interface TokenIdInstance extends TypedEventInstance<TokenId> {
|
861
|
-
data_decoded: TokenId;
|
862
|
-
type_arguments: [];
|
863
|
-
}
|
864
|
-
|
865
782
|
export interface TokenMutabilityConfig {
|
866
783
|
maximum: boolean;
|
867
784
|
uri: boolean;
|
@@ -882,12 +799,6 @@ export namespace token {
|
|
882
799
|
}
|
883
800
|
}
|
884
801
|
|
885
|
-
export interface TokenMutabilityConfigInstance
|
886
|
-
extends TypedEventInstance<TokenMutabilityConfig> {
|
887
|
-
data_decoded: TokenMutabilityConfig;
|
888
|
-
type_arguments: [];
|
889
|
-
}
|
890
|
-
|
891
802
|
export interface TokenStore {
|
892
803
|
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
893
804
|
direct_transfer: boolean;
|
@@ -946,12 +857,6 @@ export namespace token {
|
|
946
857
|
}
|
947
858
|
}
|
948
859
|
|
949
|
-
export interface WithdrawCapabilityInstance
|
950
|
-
extends TypedEventInstance<WithdrawCapability> {
|
951
|
-
data_decoded: WithdrawCapability;
|
952
|
-
type_arguments: [];
|
953
|
-
}
|
954
|
-
|
955
860
|
export interface WithdrawEvent {
|
956
861
|
id: token.TokenId;
|
957
862
|
amount: bigint;
|
@@ -1108,43 +1013,6 @@ export namespace token {
|
|
1108
1013
|
}
|
1109
1014
|
}
|
1110
1015
|
|
1111
|
-
export class property_map extends AptosBaseProcessor {
|
1112
|
-
constructor(options: AptosBindOptions) {
|
1113
|
-
super("property_map", options);
|
1114
|
-
}
|
1115
|
-
static DEFAULT_OPTIONS: AptosBindOptions = {
|
1116
|
-
address: "0x3",
|
1117
|
-
network: AptosNetwork.MAIN_NET,
|
1118
|
-
};
|
1119
|
-
|
1120
|
-
static bind(options: Partial<AptosBindOptions> = {}): property_map {
|
1121
|
-
return new property_map({ ...property_map.DEFAULT_OPTIONS, ...options });
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
onEventPropertyMap(
|
1125
|
-
func: (event: property_map.PropertyMapInstance, ctx: AptosContext) => void,
|
1126
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
1127
|
-
): property_map {
|
1128
|
-
this.onMoveEvent(func, { type: "property_map::PropertyMap" }, fetchConfig);
|
1129
|
-
return this;
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
onEventPropertyValue(
|
1133
|
-
func: (
|
1134
|
-
event: property_map.PropertyValueInstance,
|
1135
|
-
ctx: AptosContext,
|
1136
|
-
) => void,
|
1137
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
1138
|
-
): property_map {
|
1139
|
-
this.onMoveEvent(
|
1140
|
-
func,
|
1141
|
-
{ type: "property_map::PropertyValue" },
|
1142
|
-
fetchConfig,
|
1143
|
-
);
|
1144
|
-
return this;
|
1145
|
-
}
|
1146
|
-
}
|
1147
|
-
|
1148
1016
|
export namespace property_map {
|
1149
1017
|
export interface PropertyMap {
|
1150
1018
|
map: _0x1.simple_map.SimpleMap<string, property_map.PropertyValue>;
|
@@ -1160,11 +1028,6 @@ export namespace property_map {
|
|
1160
1028
|
}
|
1161
1029
|
}
|
1162
1030
|
|
1163
|
-
export interface PropertyMapInstance extends TypedEventInstance<PropertyMap> {
|
1164
|
-
data_decoded: PropertyMap;
|
1165
|
-
type_arguments: [];
|
1166
|
-
}
|
1167
|
-
|
1168
1031
|
export interface PropertyValue {
|
1169
1032
|
value: string;
|
1170
1033
|
type: string;
|
@@ -1179,12 +1042,6 @@ export namespace property_map {
|
|
1179
1042
|
return TYPE.apply();
|
1180
1043
|
}
|
1181
1044
|
}
|
1182
|
-
|
1183
|
-
export interface PropertyValueInstance
|
1184
|
-
extends TypedEventInstance<PropertyValue> {
|
1185
|
-
data_decoded: PropertyValue;
|
1186
|
-
type_arguments: [];
|
1187
|
-
}
|
1188
1045
|
}
|
1189
1046
|
|
1190
1047
|
export class token_coin_swap extends AptosBaseProcessor {
|
@@ -1222,21 +1079,6 @@ export class token_coin_swap extends AptosBaseProcessor {
|
|
1222
1079
|
return this;
|
1223
1080
|
}
|
1224
1081
|
|
1225
|
-
onEventTokenCoinSwap(
|
1226
|
-
func: (
|
1227
|
-
event: token_coin_swap.TokenCoinSwapInstance,
|
1228
|
-
ctx: AptosContext,
|
1229
|
-
) => void,
|
1230
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
1231
|
-
): token_coin_swap {
|
1232
|
-
this.onMoveEvent(
|
1233
|
-
func,
|
1234
|
-
{ type: "token_coin_swap::TokenCoinSwap" },
|
1235
|
-
fetchConfig,
|
1236
|
-
);
|
1237
|
-
return this;
|
1238
|
-
}
|
1239
|
-
|
1240
1082
|
onEventTokenListingEvent(
|
1241
1083
|
func: (
|
1242
1084
|
event: token_coin_swap.TokenListingEventInstance,
|
@@ -1288,12 +1130,6 @@ export namespace token_coin_swap {
|
|
1288
1130
|
}
|
1289
1131
|
}
|
1290
1132
|
|
1291
|
-
export interface TokenCoinSwapInstance
|
1292
|
-
extends TypedEventInstance<TokenCoinSwap<any>> {
|
1293
|
-
data_decoded: TokenCoinSwap<any>;
|
1294
|
-
type_arguments: [string];
|
1295
|
-
}
|
1296
|
-
|
1297
1133
|
export interface TokenEscrow {
|
1298
1134
|
token: token.Token;
|
1299
1135
|
locked_until_secs: bigint;
|
@@ -1865,256 +1701,256 @@ export class token_event_store extends AptosBaseProcessor {
|
|
1865
1701
|
return this;
|
1866
1702
|
}
|
1867
1703
|
|
1868
|
-
|
1704
|
+
onEventCollectionMaxiumMutate(
|
1869
1705
|
func: (
|
1870
|
-
event: token_event_store.
|
1706
|
+
event: token_event_store.CollectionMaxiumMutateInstance,
|
1871
1707
|
ctx: AptosContext,
|
1872
1708
|
) => void,
|
1873
1709
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1874
1710
|
): token_event_store {
|
1875
1711
|
this.onMoveEvent(
|
1876
1712
|
func,
|
1877
|
-
{ type: "token_event_store::
|
1713
|
+
{ type: "token_event_store::CollectionMaxiumMutate" },
|
1878
1714
|
fetchConfig,
|
1879
1715
|
);
|
1880
1716
|
return this;
|
1881
1717
|
}
|
1882
1718
|
|
1883
|
-
|
1719
|
+
onEventCollectionUriMutate(
|
1884
1720
|
func: (
|
1885
|
-
event: token_event_store.
|
1721
|
+
event: token_event_store.CollectionUriMutateInstance,
|
1886
1722
|
ctx: AptosContext,
|
1887
1723
|
) => void,
|
1888
1724
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1889
1725
|
): token_event_store {
|
1890
1726
|
this.onMoveEvent(
|
1891
1727
|
func,
|
1892
|
-
{ type: "token_event_store::
|
1728
|
+
{ type: "token_event_store::CollectionUriMutate" },
|
1893
1729
|
fetchConfig,
|
1894
1730
|
);
|
1895
1731
|
return this;
|
1896
1732
|
}
|
1897
1733
|
|
1898
|
-
|
1734
|
+
onEventDefaultPropertyMutate(
|
1899
1735
|
func: (
|
1900
|
-
event: token_event_store.
|
1736
|
+
event: token_event_store.DefaultPropertyMutateInstance,
|
1901
1737
|
ctx: AptosContext,
|
1902
1738
|
) => void,
|
1903
1739
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1904
1740
|
): token_event_store {
|
1905
1741
|
this.onMoveEvent(
|
1906
1742
|
func,
|
1907
|
-
{ type: "token_event_store::
|
1743
|
+
{ type: "token_event_store::DefaultPropertyMutate" },
|
1908
1744
|
fetchConfig,
|
1909
1745
|
);
|
1910
1746
|
return this;
|
1911
1747
|
}
|
1912
1748
|
|
1913
|
-
|
1749
|
+
onEventDescriptionMutate(
|
1914
1750
|
func: (
|
1915
|
-
event: token_event_store.
|
1751
|
+
event: token_event_store.DescriptionMutateInstance,
|
1916
1752
|
ctx: AptosContext,
|
1917
1753
|
) => void,
|
1918
1754
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1919
1755
|
): token_event_store {
|
1920
1756
|
this.onMoveEvent(
|
1921
1757
|
func,
|
1922
|
-
{ type: "token_event_store::
|
1758
|
+
{ type: "token_event_store::DescriptionMutate" },
|
1923
1759
|
fetchConfig,
|
1924
1760
|
);
|
1925
1761
|
return this;
|
1926
1762
|
}
|
1927
1763
|
|
1928
|
-
|
1764
|
+
onEventMaximumMutate(
|
1929
1765
|
func: (
|
1930
|
-
event: token_event_store.
|
1766
|
+
event: token_event_store.MaximumMutateInstance,
|
1931
1767
|
ctx: AptosContext,
|
1932
1768
|
) => void,
|
1933
1769
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1934
1770
|
): token_event_store {
|
1935
1771
|
this.onMoveEvent(
|
1936
1772
|
func,
|
1937
|
-
{ type: "token_event_store::
|
1773
|
+
{ type: "token_event_store::MaximumMutate" },
|
1938
1774
|
fetchConfig,
|
1939
1775
|
);
|
1940
1776
|
return this;
|
1941
1777
|
}
|
1942
1778
|
|
1943
|
-
|
1779
|
+
onEventOptInTransfer(
|
1944
1780
|
func: (
|
1945
|
-
event: token_event_store.
|
1781
|
+
event: token_event_store.OptInTransferInstance,
|
1946
1782
|
ctx: AptosContext,
|
1947
1783
|
) => void,
|
1948
1784
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1949
1785
|
): token_event_store {
|
1950
1786
|
this.onMoveEvent(
|
1951
1787
|
func,
|
1952
|
-
{ type: "token_event_store::
|
1788
|
+
{ type: "token_event_store::OptInTransfer" },
|
1953
1789
|
fetchConfig,
|
1954
1790
|
);
|
1955
1791
|
return this;
|
1956
1792
|
}
|
1957
1793
|
|
1958
|
-
|
1794
|
+
onEventRoyaltyMutate(
|
1959
1795
|
func: (
|
1960
|
-
event: token_event_store.
|
1796
|
+
event: token_event_store.RoyaltyMutateInstance,
|
1961
1797
|
ctx: AptosContext,
|
1962
1798
|
) => void,
|
1963
1799
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1964
1800
|
): token_event_store {
|
1965
1801
|
this.onMoveEvent(
|
1966
1802
|
func,
|
1967
|
-
{ type: "token_event_store::
|
1803
|
+
{ type: "token_event_store::RoyaltyMutate" },
|
1968
1804
|
fetchConfig,
|
1969
1805
|
);
|
1970
1806
|
return this;
|
1971
1807
|
}
|
1972
1808
|
|
1973
|
-
|
1809
|
+
onEventUriMutation(
|
1974
1810
|
func: (
|
1975
|
-
event: token_event_store.
|
1811
|
+
event: token_event_store.UriMutationInstance,
|
1976
1812
|
ctx: AptosContext,
|
1977
1813
|
) => void,
|
1978
1814
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1979
1815
|
): token_event_store {
|
1980
1816
|
this.onMoveEvent(
|
1981
1817
|
func,
|
1982
|
-
{ type: "token_event_store::
|
1818
|
+
{ type: "token_event_store::UriMutation" },
|
1983
1819
|
fetchConfig,
|
1984
1820
|
);
|
1985
1821
|
return this;
|
1986
1822
|
}
|
1987
1823
|
|
1988
|
-
|
1824
|
+
onEventCollectionUriMutateEvent(
|
1989
1825
|
func: (
|
1990
|
-
event: token_event_store.
|
1826
|
+
event: token_event_store.CollectionUriMutateEventInstance,
|
1991
1827
|
ctx: AptosContext,
|
1992
1828
|
) => void,
|
1993
1829
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1994
1830
|
): token_event_store {
|
1995
1831
|
this.onMoveEvent(
|
1996
1832
|
func,
|
1997
|
-
{ type: "token_event_store::
|
1833
|
+
{ type: "token_event_store::CollectionUriMutateEvent" },
|
1998
1834
|
fetchConfig,
|
1999
1835
|
);
|
2000
1836
|
return this;
|
2001
1837
|
}
|
2002
1838
|
|
2003
|
-
|
1839
|
+
onEventCollectionMaxiumMutateEvent(
|
2004
1840
|
func: (
|
2005
|
-
event: token_event_store.
|
1841
|
+
event: token_event_store.CollectionMaxiumMutateEventInstance,
|
2006
1842
|
ctx: AptosContext,
|
2007
1843
|
) => void,
|
2008
1844
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2009
1845
|
): token_event_store {
|
2010
1846
|
this.onMoveEvent(
|
2011
1847
|
func,
|
2012
|
-
{ type: "token_event_store::
|
1848
|
+
{ type: "token_event_store::CollectionMaxiumMutateEvent" },
|
2013
1849
|
fetchConfig,
|
2014
1850
|
);
|
2015
1851
|
return this;
|
2016
1852
|
}
|
2017
1853
|
|
2018
|
-
|
1854
|
+
onEventCollectionDescriptionMutateEvent(
|
2019
1855
|
func: (
|
2020
|
-
event: token_event_store.
|
1856
|
+
event: token_event_store.CollectionDescriptionMutateEventInstance,
|
2021
1857
|
ctx: AptosContext,
|
2022
1858
|
) => void,
|
2023
1859
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2024
1860
|
): token_event_store {
|
2025
1861
|
this.onMoveEvent(
|
2026
1862
|
func,
|
2027
|
-
{ type: "token_event_store::
|
1863
|
+
{ type: "token_event_store::CollectionDescriptionMutateEvent" },
|
2028
1864
|
fetchConfig,
|
2029
1865
|
);
|
2030
1866
|
return this;
|
2031
1867
|
}
|
2032
1868
|
|
2033
|
-
|
1869
|
+
onEventOptInTransferEvent(
|
2034
1870
|
func: (
|
2035
|
-
event: token_event_store.
|
1871
|
+
event: token_event_store.OptInTransferEventInstance,
|
2036
1872
|
ctx: AptosContext,
|
2037
1873
|
) => void,
|
2038
1874
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2039
1875
|
): token_event_store {
|
2040
1876
|
this.onMoveEvent(
|
2041
1877
|
func,
|
2042
|
-
{ type: "token_event_store::
|
1878
|
+
{ type: "token_event_store::OptInTransferEvent" },
|
2043
1879
|
fetchConfig,
|
2044
1880
|
);
|
2045
1881
|
return this;
|
2046
1882
|
}
|
2047
1883
|
|
2048
|
-
|
1884
|
+
onEventUriMutationEvent(
|
2049
1885
|
func: (
|
2050
|
-
event: token_event_store.
|
1886
|
+
event: token_event_store.UriMutationEventInstance,
|
2051
1887
|
ctx: AptosContext,
|
2052
1888
|
) => void,
|
2053
1889
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2054
1890
|
): token_event_store {
|
2055
1891
|
this.onMoveEvent(
|
2056
1892
|
func,
|
2057
|
-
{ type: "token_event_store::
|
1893
|
+
{ type: "token_event_store::UriMutationEvent" },
|
2058
1894
|
fetchConfig,
|
2059
1895
|
);
|
2060
1896
|
return this;
|
2061
1897
|
}
|
2062
1898
|
|
2063
|
-
|
1899
|
+
onEventDefaultPropertyMutateEvent(
|
2064
1900
|
func: (
|
2065
|
-
event: token_event_store.
|
1901
|
+
event: token_event_store.DefaultPropertyMutateEventInstance,
|
2066
1902
|
ctx: AptosContext,
|
2067
1903
|
) => void,
|
2068
1904
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2069
1905
|
): token_event_store {
|
2070
1906
|
this.onMoveEvent(
|
2071
1907
|
func,
|
2072
|
-
{ type: "token_event_store::
|
1908
|
+
{ type: "token_event_store::DefaultPropertyMutateEvent" },
|
2073
1909
|
fetchConfig,
|
2074
1910
|
);
|
2075
1911
|
return this;
|
2076
1912
|
}
|
2077
1913
|
|
2078
|
-
|
1914
|
+
onEventDescriptionMutateEvent(
|
2079
1915
|
func: (
|
2080
|
-
event: token_event_store.
|
1916
|
+
event: token_event_store.DescriptionMutateEventInstance,
|
2081
1917
|
ctx: AptosContext,
|
2082
1918
|
) => void,
|
2083
1919
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2084
1920
|
): token_event_store {
|
2085
1921
|
this.onMoveEvent(
|
2086
1922
|
func,
|
2087
|
-
{ type: "token_event_store::
|
1923
|
+
{ type: "token_event_store::DescriptionMutateEvent" },
|
2088
1924
|
fetchConfig,
|
2089
1925
|
);
|
2090
1926
|
return this;
|
2091
1927
|
}
|
2092
1928
|
|
2093
|
-
|
1929
|
+
onEventRoyaltyMutateEvent(
|
2094
1930
|
func: (
|
2095
|
-
event: token_event_store.
|
1931
|
+
event: token_event_store.RoyaltyMutateEventInstance,
|
2096
1932
|
ctx: AptosContext,
|
2097
1933
|
) => void,
|
2098
1934
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2099
1935
|
): token_event_store {
|
2100
1936
|
this.onMoveEvent(
|
2101
1937
|
func,
|
2102
|
-
{ type: "token_event_store::
|
1938
|
+
{ type: "token_event_store::RoyaltyMutateEvent" },
|
2103
1939
|
fetchConfig,
|
2104
1940
|
);
|
2105
1941
|
return this;
|
2106
1942
|
}
|
2107
1943
|
|
2108
|
-
|
1944
|
+
onEventMaxiumMutateEvent(
|
2109
1945
|
func: (
|
2110
|
-
event: token_event_store.
|
1946
|
+
event: token_event_store.MaxiumMutateEventInstance,
|
2111
1947
|
ctx: AptosContext,
|
2112
1948
|
) => void,
|
2113
1949
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2114
1950
|
): token_event_store {
|
2115
1951
|
this.onMoveEvent(
|
2116
1952
|
func,
|
2117
|
-
{ type: "token_event_store::
|
1953
|
+
{ type: "token_event_store::MaxiumMutateEvent" },
|
2118
1954
|
fetchConfig,
|
2119
1955
|
);
|
2120
1956
|
return this;
|