@sentio/sdk 2.26.1-rc.1 → 2.26.1-rc.3
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 +484 -29
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +642 -104
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +64 -9
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +78 -27
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/tsup.config.ts +1 -1
- package/package.json +7 -7
- package/src/aptos/builtin/0x1.ts +1572 -164
- package/src/aptos/builtin/0x3.ts +227 -42
- package/src/tsup.config.ts +1 -1
package/src/aptos/builtin/0x3.ts
CHANGED
@@ -198,6 +198,29 @@ export class token extends AptosBaseProcessor {
|
|
198
198
|
return this;
|
199
199
|
}
|
200
200
|
|
201
|
+
onEventBurnTokenEvent(
|
202
|
+
func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
|
203
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
204
|
+
): token {
|
205
|
+
this.onMoveEvent(func, { type: "token::BurnTokenEvent" }, fetchConfig);
|
206
|
+
return this;
|
207
|
+
}
|
208
|
+
|
209
|
+
onEventCollectionMutabilityConfig(
|
210
|
+
func: (
|
211
|
+
event: token.CollectionMutabilityConfigInstance,
|
212
|
+
ctx: AptosContext,
|
213
|
+
) => void,
|
214
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
215
|
+
): token {
|
216
|
+
this.onMoveEvent(
|
217
|
+
func,
|
218
|
+
{ type: "token::CollectionMutabilityConfig" },
|
219
|
+
fetchConfig,
|
220
|
+
);
|
221
|
+
return this;
|
222
|
+
}
|
223
|
+
|
201
224
|
onEventCreateCollectionEvent(
|
202
225
|
func: (
|
203
226
|
event: token.CreateCollectionEventInstance,
|
@@ -228,6 +251,14 @@ export class token extends AptosBaseProcessor {
|
|
228
251
|
return this;
|
229
252
|
}
|
230
253
|
|
254
|
+
onEventDepositEvent(
|
255
|
+
func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
|
256
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
257
|
+
): token {
|
258
|
+
this.onMoveEvent(func, { type: "token::DepositEvent" }, fetchConfig);
|
259
|
+
return this;
|
260
|
+
}
|
261
|
+
|
231
262
|
onEventMintTokenEvent(
|
232
263
|
func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
|
233
264
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -236,44 +267,75 @@ export class token extends AptosBaseProcessor {
|
|
236
267
|
return this;
|
237
268
|
}
|
238
269
|
|
239
|
-
|
240
|
-
func: (
|
270
|
+
onEventMutateTokenPropertyMapEvent(
|
271
|
+
func: (
|
272
|
+
event: token.MutateTokenPropertyMapEventInstance,
|
273
|
+
ctx: AptosContext,
|
274
|
+
) => void,
|
241
275
|
fetchConfig?: Partial<MoveFetchConfig>,
|
242
276
|
): token {
|
243
|
-
this.onMoveEvent(
|
277
|
+
this.onMoveEvent(
|
278
|
+
func,
|
279
|
+
{ type: "token::MutateTokenPropertyMapEvent" },
|
280
|
+
fetchConfig,
|
281
|
+
);
|
244
282
|
return this;
|
245
283
|
}
|
246
284
|
|
247
|
-
|
248
|
-
func: (event: token.
|
285
|
+
onEventRoyalty(
|
286
|
+
func: (event: token.RoyaltyInstance, ctx: AptosContext) => void,
|
249
287
|
fetchConfig?: Partial<MoveFetchConfig>,
|
250
288
|
): token {
|
251
|
-
this.onMoveEvent(func, { type: "token::
|
289
|
+
this.onMoveEvent(func, { type: "token::Royalty" }, fetchConfig);
|
252
290
|
return this;
|
253
291
|
}
|
254
292
|
|
255
|
-
|
256
|
-
func: (event: token.
|
293
|
+
onEventTokenDataId(
|
294
|
+
func: (event: token.TokenDataIdInstance, ctx: AptosContext) => void,
|
257
295
|
fetchConfig?: Partial<MoveFetchConfig>,
|
258
296
|
): token {
|
259
|
-
this.onMoveEvent(func, { type: "token::
|
297
|
+
this.onMoveEvent(func, { type: "token::TokenDataId" }, fetchConfig);
|
260
298
|
return this;
|
261
299
|
}
|
262
300
|
|
263
|
-
|
301
|
+
onEventTokenId(
|
302
|
+
func: (event: token.TokenIdInstance, ctx: AptosContext) => void,
|
303
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
304
|
+
): token {
|
305
|
+
this.onMoveEvent(func, { type: "token::TokenId" }, fetchConfig);
|
306
|
+
return this;
|
307
|
+
}
|
308
|
+
|
309
|
+
onEventTokenMutabilityConfig(
|
264
310
|
func: (
|
265
|
-
event: token.
|
311
|
+
event: token.TokenMutabilityConfigInstance,
|
266
312
|
ctx: AptosContext,
|
267
313
|
) => void,
|
268
314
|
fetchConfig?: Partial<MoveFetchConfig>,
|
269
315
|
): token {
|
270
316
|
this.onMoveEvent(
|
271
317
|
func,
|
272
|
-
{ type: "token::
|
318
|
+
{ type: "token::TokenMutabilityConfig" },
|
273
319
|
fetchConfig,
|
274
320
|
);
|
275
321
|
return this;
|
276
322
|
}
|
323
|
+
|
324
|
+
onEventWithdrawCapability(
|
325
|
+
func: (event: token.WithdrawCapabilityInstance, ctx: AptosContext) => void,
|
326
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
327
|
+
): token {
|
328
|
+
this.onMoveEvent(func, { type: "token::WithdrawCapability" }, fetchConfig);
|
329
|
+
return this;
|
330
|
+
}
|
331
|
+
|
332
|
+
onEventWithdrawEvent(
|
333
|
+
func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
|
334
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
335
|
+
): token {
|
336
|
+
this.onMoveEvent(func, { type: "token::WithdrawEvent" }, fetchConfig);
|
337
|
+
return this;
|
338
|
+
}
|
277
339
|
}
|
278
340
|
|
279
341
|
export namespace token {
|
@@ -335,6 +397,12 @@ export namespace token {
|
|
335
397
|
}
|
336
398
|
}
|
337
399
|
|
400
|
+
export interface CollectionMutabilityConfigInstance
|
401
|
+
extends TypedEventInstance<CollectionMutabilityConfig> {
|
402
|
+
data_decoded: CollectionMutabilityConfig;
|
403
|
+
type_arguments: [];
|
404
|
+
}
|
405
|
+
|
338
406
|
export interface Collections {
|
339
407
|
collection_data: _0x1.table.Table<string, token.CollectionData>;
|
340
408
|
token_data: _0x1.table.Table<token.TokenDataId, token.TokenData>;
|
@@ -496,6 +564,11 @@ export namespace token {
|
|
496
564
|
}
|
497
565
|
}
|
498
566
|
|
567
|
+
export interface RoyaltyInstance extends TypedEventInstance<Royalty> {
|
568
|
+
data_decoded: Royalty;
|
569
|
+
type_arguments: [];
|
570
|
+
}
|
571
|
+
|
499
572
|
export interface Token {
|
500
573
|
id: token.TokenId;
|
501
574
|
amount: bigint;
|
@@ -550,6 +623,11 @@ export namespace token {
|
|
550
623
|
}
|
551
624
|
}
|
552
625
|
|
626
|
+
export interface TokenDataIdInstance extends TypedEventInstance<TokenDataId> {
|
627
|
+
data_decoded: TokenDataId;
|
628
|
+
type_arguments: [];
|
629
|
+
}
|
630
|
+
|
553
631
|
export interface TokenId {
|
554
632
|
token_data_id: token.TokenDataId;
|
555
633
|
property_version: bigint;
|
@@ -565,6 +643,11 @@ export namespace token {
|
|
565
643
|
}
|
566
644
|
}
|
567
645
|
|
646
|
+
export interface TokenIdInstance extends TypedEventInstance<TokenId> {
|
647
|
+
data_decoded: TokenId;
|
648
|
+
type_arguments: [];
|
649
|
+
}
|
650
|
+
|
568
651
|
export interface TokenMutabilityConfig {
|
569
652
|
maximum: Boolean;
|
570
653
|
uri: Boolean;
|
@@ -585,6 +668,12 @@ export namespace token {
|
|
585
668
|
}
|
586
669
|
}
|
587
670
|
|
671
|
+
export interface TokenMutabilityConfigInstance
|
672
|
+
extends TypedEventInstance<TokenMutabilityConfig> {
|
673
|
+
data_decoded: TokenMutabilityConfig;
|
674
|
+
type_arguments: [];
|
675
|
+
}
|
676
|
+
|
588
677
|
export interface TokenStore {
|
589
678
|
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
590
679
|
direct_transfer: Boolean;
|
@@ -623,6 +712,12 @@ export namespace token {
|
|
623
712
|
}
|
624
713
|
}
|
625
714
|
|
715
|
+
export interface WithdrawCapabilityInstance
|
716
|
+
extends TypedEventInstance<WithdrawCapability> {
|
717
|
+
data_decoded: WithdrawCapability;
|
718
|
+
type_arguments: [];
|
719
|
+
}
|
720
|
+
|
626
721
|
export interface WithdrawEvent {
|
627
722
|
id: token.TokenId;
|
628
723
|
amount: bigint;
|
@@ -761,6 +856,43 @@ export namespace token {
|
|
761
856
|
}
|
762
857
|
}
|
763
858
|
|
859
|
+
export class property_map extends AptosBaseProcessor {
|
860
|
+
constructor(options: AptosBindOptions) {
|
861
|
+
super("property_map", options);
|
862
|
+
}
|
863
|
+
static DEFAULT_OPTIONS: AptosBindOptions = {
|
864
|
+
address: "0x3",
|
865
|
+
network: AptosNetwork.MAIN_NET,
|
866
|
+
};
|
867
|
+
|
868
|
+
static bind(options: Partial<AptosBindOptions> = {}): property_map {
|
869
|
+
return new property_map({ ...property_map.DEFAULT_OPTIONS, ...options });
|
870
|
+
}
|
871
|
+
|
872
|
+
onEventPropertyMap(
|
873
|
+
func: (event: property_map.PropertyMapInstance, ctx: AptosContext) => void,
|
874
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
875
|
+
): property_map {
|
876
|
+
this.onMoveEvent(func, { type: "property_map::PropertyMap" }, fetchConfig);
|
877
|
+
return this;
|
878
|
+
}
|
879
|
+
|
880
|
+
onEventPropertyValue(
|
881
|
+
func: (
|
882
|
+
event: property_map.PropertyValueInstance,
|
883
|
+
ctx: AptosContext,
|
884
|
+
) => void,
|
885
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
886
|
+
): property_map {
|
887
|
+
this.onMoveEvent(
|
888
|
+
func,
|
889
|
+
{ type: "property_map::PropertyValue" },
|
890
|
+
fetchConfig,
|
891
|
+
);
|
892
|
+
return this;
|
893
|
+
}
|
894
|
+
}
|
895
|
+
|
764
896
|
export namespace property_map {
|
765
897
|
export interface PropertyMap {
|
766
898
|
map: _0x1.simple_map.SimpleMap<string, property_map.PropertyValue>;
|
@@ -776,6 +908,11 @@ export namespace property_map {
|
|
776
908
|
}
|
777
909
|
}
|
778
910
|
|
911
|
+
export interface PropertyMapInstance extends TypedEventInstance<PropertyMap> {
|
912
|
+
data_decoded: PropertyMap;
|
913
|
+
type_arguments: [];
|
914
|
+
}
|
915
|
+
|
779
916
|
export interface PropertyValue {
|
780
917
|
value: string;
|
781
918
|
type: string;
|
@@ -790,6 +927,12 @@ export namespace property_map {
|
|
790
927
|
return TYPE.apply();
|
791
928
|
}
|
792
929
|
}
|
930
|
+
|
931
|
+
export interface PropertyValueInstance
|
932
|
+
extends TypedEventInstance<PropertyValue> {
|
933
|
+
data_decoded: PropertyValue;
|
934
|
+
type_arguments: [];
|
935
|
+
}
|
793
936
|
}
|
794
937
|
|
795
938
|
export class token_coin_swap extends AptosBaseProcessor {
|
@@ -827,6 +970,21 @@ export class token_coin_swap extends AptosBaseProcessor {
|
|
827
970
|
return this;
|
828
971
|
}
|
829
972
|
|
973
|
+
onEventTokenCoinSwap(
|
974
|
+
func: (
|
975
|
+
event: token_coin_swap.TokenCoinSwapInstance,
|
976
|
+
ctx: AptosContext,
|
977
|
+
) => void,
|
978
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
979
|
+
): token_coin_swap {
|
980
|
+
this.onMoveEvent(
|
981
|
+
func,
|
982
|
+
{ type: "token_coin_swap::TokenCoinSwap" },
|
983
|
+
fetchConfig,
|
984
|
+
);
|
985
|
+
return this;
|
986
|
+
}
|
987
|
+
|
830
988
|
onEventTokenListingEvent(
|
831
989
|
func: (
|
832
990
|
event: token_coin_swap.TokenListingEventInstance,
|
@@ -878,6 +1036,12 @@ export namespace token_coin_swap {
|
|
878
1036
|
}
|
879
1037
|
}
|
880
1038
|
|
1039
|
+
export interface TokenCoinSwapInstance
|
1040
|
+
extends TypedEventInstance<TokenCoinSwap<any>> {
|
1041
|
+
data_decoded: TokenCoinSwap<any>;
|
1042
|
+
type_arguments: [string];
|
1043
|
+
}
|
1044
|
+
|
881
1045
|
export interface TokenEscrow {
|
882
1046
|
token: token.Token;
|
883
1047
|
locked_until_secs: bigint;
|
@@ -1066,46 +1230,61 @@ export class token_transfers extends AptosBaseProcessor {
|
|
1066
1230
|
return this;
|
1067
1231
|
}
|
1068
1232
|
|
1069
|
-
|
1233
|
+
onEventTokenCancelOfferEvent(
|
1070
1234
|
func: (
|
1071
|
-
event: token_transfers.
|
1235
|
+
event: token_transfers.TokenCancelOfferEventInstance,
|
1072
1236
|
ctx: AptosContext,
|
1073
1237
|
) => void,
|
1074
1238
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1075
1239
|
): token_transfers {
|
1076
1240
|
this.onMoveEvent(
|
1077
1241
|
func,
|
1078
|
-
{ type: "token_transfers::
|
1242
|
+
{ type: "token_transfers::TokenCancelOfferEvent" },
|
1079
1243
|
fetchConfig,
|
1080
1244
|
);
|
1081
1245
|
return this;
|
1082
1246
|
}
|
1083
1247
|
|
1084
|
-
|
1248
|
+
onEventTokenClaimEvent(
|
1085
1249
|
func: (
|
1086
|
-
event: token_transfers.
|
1250
|
+
event: token_transfers.TokenClaimEventInstance,
|
1087
1251
|
ctx: AptosContext,
|
1088
1252
|
) => void,
|
1089
1253
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1090
1254
|
): token_transfers {
|
1091
1255
|
this.onMoveEvent(
|
1092
1256
|
func,
|
1093
|
-
{ type: "token_transfers::
|
1257
|
+
{ type: "token_transfers::TokenClaimEvent" },
|
1094
1258
|
fetchConfig,
|
1095
1259
|
);
|
1096
1260
|
return this;
|
1097
1261
|
}
|
1098
1262
|
|
1099
|
-
|
1263
|
+
onEventTokenOfferEvent(
|
1100
1264
|
func: (
|
1101
|
-
event: token_transfers.
|
1265
|
+
event: token_transfers.TokenOfferEventInstance,
|
1102
1266
|
ctx: AptosContext,
|
1103
1267
|
) => void,
|
1104
1268
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1105
1269
|
): token_transfers {
|
1106
1270
|
this.onMoveEvent(
|
1107
1271
|
func,
|
1108
|
-
{ type: "token_transfers::
|
1272
|
+
{ type: "token_transfers::TokenOfferEvent" },
|
1273
|
+
fetchConfig,
|
1274
|
+
);
|
1275
|
+
return this;
|
1276
|
+
}
|
1277
|
+
|
1278
|
+
onEventTokenOfferId(
|
1279
|
+
func: (
|
1280
|
+
event: token_transfers.TokenOfferIdInstance,
|
1281
|
+
ctx: AptosContext,
|
1282
|
+
) => void,
|
1283
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
1284
|
+
): token_transfers {
|
1285
|
+
this.onMoveEvent(
|
1286
|
+
func,
|
1287
|
+
{ type: "token_transfers::TokenOfferId" },
|
1109
1288
|
fetchConfig,
|
1110
1289
|
);
|
1111
1290
|
return this;
|
@@ -1217,6 +1396,12 @@ export namespace token_transfers {
|
|
1217
1396
|
}
|
1218
1397
|
}
|
1219
1398
|
|
1399
|
+
export interface TokenOfferIdInstance
|
1400
|
+
extends TypedEventInstance<TokenOfferId> {
|
1401
|
+
data_decoded: TokenOfferId;
|
1402
|
+
type_arguments: [];
|
1403
|
+
}
|
1404
|
+
|
1220
1405
|
export interface CancelOfferScriptPayload
|
1221
1406
|
extends TypedFunctionPayload<
|
1222
1407
|
[Address, Address, Address, string, string, bigint]
|
@@ -1266,16 +1451,16 @@ export class token_event_store extends AptosBaseProcessor {
|
|
1266
1451
|
});
|
1267
1452
|
}
|
1268
1453
|
|
1269
|
-
|
1454
|
+
onEventCollectionDescriptionMutateEvent(
|
1270
1455
|
func: (
|
1271
|
-
event: token_event_store.
|
1456
|
+
event: token_event_store.CollectionDescriptionMutateEventInstance,
|
1272
1457
|
ctx: AptosContext,
|
1273
1458
|
) => void,
|
1274
1459
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1275
1460
|
): token_event_store {
|
1276
1461
|
this.onMoveEvent(
|
1277
1462
|
func,
|
1278
|
-
{ type: "token_event_store::
|
1463
|
+
{ type: "token_event_store::CollectionDescriptionMutateEvent" },
|
1279
1464
|
fetchConfig,
|
1280
1465
|
);
|
1281
1466
|
return this;
|
@@ -1296,76 +1481,76 @@ export class token_event_store extends AptosBaseProcessor {
|
|
1296
1481
|
return this;
|
1297
1482
|
}
|
1298
1483
|
|
1299
|
-
|
1484
|
+
onEventCollectionUriMutateEvent(
|
1300
1485
|
func: (
|
1301
|
-
event: token_event_store.
|
1486
|
+
event: token_event_store.CollectionUriMutateEventInstance,
|
1302
1487
|
ctx: AptosContext,
|
1303
1488
|
) => void,
|
1304
1489
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1305
1490
|
): token_event_store {
|
1306
1491
|
this.onMoveEvent(
|
1307
1492
|
func,
|
1308
|
-
{ type: "token_event_store::
|
1493
|
+
{ type: "token_event_store::CollectionUriMutateEvent" },
|
1309
1494
|
fetchConfig,
|
1310
1495
|
);
|
1311
1496
|
return this;
|
1312
1497
|
}
|
1313
1498
|
|
1314
|
-
|
1499
|
+
onEventDefaultPropertyMutateEvent(
|
1315
1500
|
func: (
|
1316
|
-
event: token_event_store.
|
1501
|
+
event: token_event_store.DefaultPropertyMutateEventInstance,
|
1317
1502
|
ctx: AptosContext,
|
1318
1503
|
) => void,
|
1319
1504
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1320
1505
|
): token_event_store {
|
1321
1506
|
this.onMoveEvent(
|
1322
1507
|
func,
|
1323
|
-
{ type: "token_event_store::
|
1508
|
+
{ type: "token_event_store::DefaultPropertyMutateEvent" },
|
1324
1509
|
fetchConfig,
|
1325
1510
|
);
|
1326
1511
|
return this;
|
1327
1512
|
}
|
1328
1513
|
|
1329
|
-
|
1514
|
+
onEventDescriptionMutateEvent(
|
1330
1515
|
func: (
|
1331
|
-
event: token_event_store.
|
1516
|
+
event: token_event_store.DescriptionMutateEventInstance,
|
1332
1517
|
ctx: AptosContext,
|
1333
1518
|
) => void,
|
1334
1519
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1335
1520
|
): token_event_store {
|
1336
1521
|
this.onMoveEvent(
|
1337
1522
|
func,
|
1338
|
-
{ type: "token_event_store::
|
1523
|
+
{ type: "token_event_store::DescriptionMutateEvent" },
|
1339
1524
|
fetchConfig,
|
1340
1525
|
);
|
1341
1526
|
return this;
|
1342
1527
|
}
|
1343
1528
|
|
1344
|
-
|
1529
|
+
onEventMaxiumMutateEvent(
|
1345
1530
|
func: (
|
1346
|
-
event: token_event_store.
|
1531
|
+
event: token_event_store.MaxiumMutateEventInstance,
|
1347
1532
|
ctx: AptosContext,
|
1348
1533
|
) => void,
|
1349
1534
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1350
1535
|
): token_event_store {
|
1351
1536
|
this.onMoveEvent(
|
1352
1537
|
func,
|
1353
|
-
{ type: "token_event_store::
|
1538
|
+
{ type: "token_event_store::MaxiumMutateEvent" },
|
1354
1539
|
fetchConfig,
|
1355
1540
|
);
|
1356
1541
|
return this;
|
1357
1542
|
}
|
1358
1543
|
|
1359
|
-
|
1544
|
+
onEventOptInTransferEvent(
|
1360
1545
|
func: (
|
1361
|
-
event: token_event_store.
|
1546
|
+
event: token_event_store.OptInTransferEventInstance,
|
1362
1547
|
ctx: AptosContext,
|
1363
1548
|
) => void,
|
1364
1549
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1365
1550
|
): token_event_store {
|
1366
1551
|
this.onMoveEvent(
|
1367
1552
|
func,
|
1368
|
-
{ type: "token_event_store::
|
1553
|
+
{ type: "token_event_store::OptInTransferEvent" },
|
1369
1554
|
fetchConfig,
|
1370
1555
|
);
|
1371
1556
|
return this;
|
@@ -1386,16 +1571,16 @@ export class token_event_store extends AptosBaseProcessor {
|
|
1386
1571
|
return this;
|
1387
1572
|
}
|
1388
1573
|
|
1389
|
-
|
1574
|
+
onEventUriMutationEvent(
|
1390
1575
|
func: (
|
1391
|
-
event: token_event_store.
|
1576
|
+
event: token_event_store.UriMutationEventInstance,
|
1392
1577
|
ctx: AptosContext,
|
1393
1578
|
) => void,
|
1394
1579
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1395
1580
|
): token_event_store {
|
1396
1581
|
this.onMoveEvent(
|
1397
1582
|
func,
|
1398
|
-
{ type: "token_event_store::
|
1583
|
+
{ type: "token_event_store::UriMutationEvent" },
|
1399
1584
|
fetchConfig,
|
1400
1585
|
);
|
1401
1586
|
return this;
|
package/src/tsup.config.ts
CHANGED