@sentio/sdk 2.57.9-rc.2 → 2.57.9-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.
Files changed (55) hide show
  1. package/lib/aptos/builtin/0x1.d.ts +155 -155
  2. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  3. package/lib/aptos/builtin/0x1.js +395 -308
  4. package/lib/aptos/builtin/0x1.js.map +1 -1
  5. package/lib/aptos/builtin/0x3.d.ts +52 -52
  6. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  7. package/lib/aptos/builtin/0x3.js +135 -102
  8. package/lib/aptos/builtin/0x3.js.map +1 -1
  9. package/lib/aptos/builtin/0x4.d.ts +12 -12
  10. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  11. package/lib/aptos/builtin/0x4.js +22 -22
  12. package/lib/aptos/builtin/0x4.js.map +1 -1
  13. package/lib/move/shared-network-codegen.js +3 -3
  14. package/lib/move/shared-network-codegen.js.map +1 -1
  15. package/lib/store/codegen.js +1 -1
  16. package/lib/store/codegen.js.map +1 -1
  17. package/lib/store/convert.d.ts +1 -0
  18. package/lib/store/convert.d.ts.map +1 -1
  19. package/lib/store/convert.js +16 -0
  20. package/lib/store/convert.js.map +1 -1
  21. package/lib/store/decorators.d.ts +1 -0
  22. package/lib/store/decorators.d.ts.map +1 -1
  23. package/lib/store/decorators.js +2 -1
  24. package/lib/store/decorators.js.map +1 -1
  25. package/lib/store/schema.js +1 -1
  26. package/lib/store/schema.js.map +1 -1
  27. package/lib/store/types.d.ts +1 -0
  28. package/lib/store/types.d.ts.map +1 -1
  29. package/lib/store/types.js +3 -0
  30. package/lib/store/types.js.map +1 -1
  31. package/lib/sui/builtin/0x1.d.ts +7 -7
  32. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  33. package/lib/sui/builtin/0x1.js +12 -12
  34. package/lib/sui/builtin/0x1.js.map +1 -1
  35. package/lib/sui/builtin/0x2.d.ts +34 -34
  36. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  37. package/lib/sui/builtin/0x2.js +72 -66
  38. package/lib/sui/builtin/0x2.js.map +1 -1
  39. package/lib/sui/builtin/0x3.d.ts +14 -14
  40. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  41. package/lib/sui/builtin/0x3.js +44 -26
  42. package/lib/sui/builtin/0x3.js.map +1 -1
  43. package/package.json +3 -3
  44. package/src/aptos/builtin/0x1.ts +644 -155
  45. package/src/aptos/builtin/0x3.ts +208 -52
  46. package/src/aptos/builtin/0x4.ts +59 -12
  47. package/src/move/shared-network-codegen.ts +3 -3
  48. package/src/store/codegen.ts +1 -1
  49. package/src/store/convert.ts +17 -0
  50. package/src/store/decorators.ts +2 -0
  51. package/src/store/schema.ts +1 -1
  52. package/src/store/types.ts +4 -0
  53. package/src/sui/builtin/0x1.ts +33 -7
  54. package/src/sui/builtin/0x2.ts +177 -34
  55. package/src/sui/builtin/0x3.ts +45 -14
@@ -39,8 +39,8 @@ export class dkg extends AptosBaseProcessor {
39
39
  static bind(options = {}) {
40
40
  return new dkg({ ...dkg.DEFAULT_OPTIONS, ...options });
41
41
  }
42
- onEventDKGStartEvent(func, fetchConfig) {
43
- this.onMoveEvent(func, { type: "dkg::DKGStartEvent" }, fetchConfig);
42
+ onEventDKGStartEvent(func, fetchConfig, eventFilter) {
43
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "dkg::DKGStartEvent" }, fetchConfig);
44
44
  return this;
45
45
  }
46
46
  }
@@ -100,8 +100,8 @@ export class code extends AptosBaseProcessor {
100
100
  }, fetchConfig);
101
101
  return this;
102
102
  }
103
- onEventPublishPackage(func, fetchConfig) {
104
- this.onMoveEvent(func, { type: "code::PublishPackage" }, fetchConfig);
103
+ onEventPublishPackage(func, fetchConfig, eventFilter) {
104
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "code::PublishPackage" }, fetchConfig);
105
105
  return this;
106
106
  }
107
107
  }
@@ -257,28 +257,28 @@ export class coin extends AptosBaseProcessor {
257
257
  }, fetchConfig);
258
258
  return this;
259
259
  }
260
- onEventDepositEvent(func, fetchConfig) {
261
- this.onMoveEvent(func, { type: "coin::DepositEvent" }, fetchConfig);
260
+ onEventDepositEvent(func, fetchConfig, eventFilter) {
261
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::DepositEvent" }, fetchConfig);
262
262
  return this;
263
263
  }
264
- onEventWithdrawEvent(func, fetchConfig) {
265
- this.onMoveEvent(func, { type: "coin::WithdrawEvent" }, fetchConfig);
264
+ onEventWithdrawEvent(func, fetchConfig, eventFilter) {
265
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::WithdrawEvent" }, fetchConfig);
266
266
  return this;
267
267
  }
268
- onEventCoinDeposit(func, fetchConfig) {
269
- this.onMoveEvent(func, { type: "coin::CoinDeposit" }, fetchConfig);
268
+ onEventCoinDeposit(func, fetchConfig, eventFilter) {
269
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinDeposit" }, fetchConfig);
270
270
  return this;
271
271
  }
272
- onEventCoinEventHandleDeletion(func, fetchConfig) {
273
- this.onMoveEvent(func, { type: "coin::CoinEventHandleDeletion" }, fetchConfig);
272
+ onEventCoinEventHandleDeletion(func, fetchConfig, eventFilter) {
273
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinEventHandleDeletion" }, fetchConfig);
274
274
  return this;
275
275
  }
276
- onEventCoinWithdraw(func, fetchConfig) {
277
- this.onMoveEvent(func, { type: "coin::CoinWithdraw" }, fetchConfig);
276
+ onEventCoinWithdraw(func, fetchConfig, eventFilter) {
277
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinWithdraw" }, fetchConfig);
278
278
  return this;
279
279
  }
280
- onEventPairCreation(func, fetchConfig) {
281
- this.onMoveEvent(func, { type: "coin::PairCreation" }, fetchConfig);
280
+ onEventPairCreation(func, fetchConfig, eventFilter) {
281
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::PairCreation" }, fetchConfig);
282
282
  return this;
283
283
  }
284
284
  }
@@ -897,8 +897,8 @@ export class jwks extends AptosBaseProcessor {
897
897
  }, fetchConfig);
898
898
  return this;
899
899
  }
900
- onEventObservedJWKsUpdated(func, fetchConfig) {
901
- this.onMoveEvent(func, { type: "jwks::ObservedJWKsUpdated" }, fetchConfig);
900
+ onEventObservedJWKsUpdated(func, fetchConfig, eventFilter) {
901
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "jwks::ObservedJWKsUpdated" }, fetchConfig);
902
902
  return this;
903
903
  }
904
904
  }
@@ -1088,20 +1088,20 @@ export class block extends AptosBaseProcessor {
1088
1088
  static bind(options = {}) {
1089
1089
  return new block({ ...block.DEFAULT_OPTIONS, ...options });
1090
1090
  }
1091
- onEventNewBlock(func, fetchConfig) {
1092
- this.onMoveEvent(func, { type: "block::NewBlock" }, fetchConfig);
1091
+ onEventNewBlock(func, fetchConfig, eventFilter) {
1092
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::NewBlock" }, fetchConfig);
1093
1093
  return this;
1094
1094
  }
1095
- onEventNewBlockEvent(func, fetchConfig) {
1096
- this.onMoveEvent(func, { type: "block::NewBlockEvent" }, fetchConfig);
1095
+ onEventNewBlockEvent(func, fetchConfig, eventFilter) {
1096
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::NewBlockEvent" }, fetchConfig);
1097
1097
  return this;
1098
1098
  }
1099
- onEventUpdateEpochInterval(func, fetchConfig) {
1100
- this.onMoveEvent(func, { type: "block::UpdateEpochInterval" }, fetchConfig);
1099
+ onEventUpdateEpochInterval(func, fetchConfig, eventFilter) {
1100
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::UpdateEpochInterval" }, fetchConfig);
1101
1101
  return this;
1102
1102
  }
1103
- onEventUpdateEpochIntervalEvent(func, fetchConfig) {
1104
- this.onMoveEvent(func, { type: "block::UpdateEpochIntervalEvent" }, fetchConfig);
1103
+ onEventUpdateEpochIntervalEvent(func, fetchConfig, eventFilter) {
1104
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::UpdateEpochIntervalEvent" }, fetchConfig);
1105
1105
  return this;
1106
1106
  }
1107
1107
  }
@@ -1308,100 +1308,109 @@ export class stake extends AptosBaseProcessor {
1308
1308
  }, fetchConfig);
1309
1309
  return this;
1310
1310
  }
1311
- onEventAddStake(func, fetchConfig) {
1312
- this.onMoveEvent(func, { type: "stake::AddStake" }, fetchConfig);
1311
+ onEventAddStake(func, fetchConfig, eventFilter) {
1312
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::AddStake" }, fetchConfig);
1313
1313
  return this;
1314
1314
  }
1315
- onEventAddStakeEvent(func, fetchConfig) {
1316
- this.onMoveEvent(func, { type: "stake::AddStakeEvent" }, fetchConfig);
1315
+ onEventAddStakeEvent(func, fetchConfig, eventFilter) {
1316
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::AddStakeEvent" }, fetchConfig);
1317
1317
  return this;
1318
1318
  }
1319
- onEventDistributeRewards(func, fetchConfig) {
1320
- this.onMoveEvent(func, { type: "stake::DistributeRewards" }, fetchConfig);
1319
+ onEventDistributeRewards(func, fetchConfig, eventFilter) {
1320
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::DistributeRewards" }, fetchConfig);
1321
1321
  return this;
1322
1322
  }
1323
- onEventDistributeRewardsEvent(func, fetchConfig) {
1324
- this.onMoveEvent(func, { type: "stake::DistributeRewardsEvent" }, fetchConfig);
1323
+ onEventDistributeRewardsEvent(func, fetchConfig, eventFilter) {
1324
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::DistributeRewardsEvent" }, fetchConfig);
1325
1325
  return this;
1326
1326
  }
1327
- onEventIncreaseLockup(func, fetchConfig) {
1328
- this.onMoveEvent(func, { type: "stake::IncreaseLockup" }, fetchConfig);
1327
+ onEventIncreaseLockup(func, fetchConfig, eventFilter) {
1328
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::IncreaseLockup" }, fetchConfig);
1329
1329
  return this;
1330
1330
  }
1331
- onEventIncreaseLockupEvent(func, fetchConfig) {
1332
- this.onMoveEvent(func, { type: "stake::IncreaseLockupEvent" }, fetchConfig);
1331
+ onEventIncreaseLockupEvent(func, fetchConfig, eventFilter) {
1332
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::IncreaseLockupEvent" }, fetchConfig);
1333
1333
  return this;
1334
1334
  }
1335
- onEventJoinValidatorSet(func, fetchConfig) {
1336
- this.onMoveEvent(func, { type: "stake::JoinValidatorSet" }, fetchConfig);
1335
+ onEventJoinValidatorSet(func, fetchConfig, eventFilter) {
1336
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::JoinValidatorSet" }, fetchConfig);
1337
1337
  return this;
1338
1338
  }
1339
- onEventJoinValidatorSetEvent(func, fetchConfig) {
1340
- this.onMoveEvent(func, { type: "stake::JoinValidatorSetEvent" }, fetchConfig);
1339
+ onEventJoinValidatorSetEvent(func, fetchConfig, eventFilter) {
1340
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::JoinValidatorSetEvent" }, fetchConfig);
1341
1341
  return this;
1342
1342
  }
1343
- onEventLeaveValidatorSet(func, fetchConfig) {
1344
- this.onMoveEvent(func, { type: "stake::LeaveValidatorSet" }, fetchConfig);
1343
+ onEventLeaveValidatorSet(func, fetchConfig, eventFilter) {
1344
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::LeaveValidatorSet" }, fetchConfig);
1345
1345
  return this;
1346
1346
  }
1347
- onEventLeaveValidatorSetEvent(func, fetchConfig) {
1348
- this.onMoveEvent(func, { type: "stake::LeaveValidatorSetEvent" }, fetchConfig);
1347
+ onEventLeaveValidatorSetEvent(func, fetchConfig, eventFilter) {
1348
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::LeaveValidatorSetEvent" }, fetchConfig);
1349
1349
  return this;
1350
1350
  }
1351
- onEventReactivateStake(func, fetchConfig) {
1352
- this.onMoveEvent(func, { type: "stake::ReactivateStake" }, fetchConfig);
1351
+ onEventReactivateStake(func, fetchConfig, eventFilter) {
1352
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::ReactivateStake" }, fetchConfig);
1353
1353
  return this;
1354
1354
  }
1355
- onEventReactivateStakeEvent(func, fetchConfig) {
1356
- this.onMoveEvent(func, { type: "stake::ReactivateStakeEvent" }, fetchConfig);
1355
+ onEventReactivateStakeEvent(func, fetchConfig, eventFilter) {
1356
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::ReactivateStakeEvent" }, fetchConfig);
1357
1357
  return this;
1358
1358
  }
1359
- onEventRegisterValidatorCandidate(func, fetchConfig) {
1360
- this.onMoveEvent(func, { type: "stake::RegisterValidatorCandidate" }, fetchConfig);
1359
+ onEventRegisterValidatorCandidate(func, fetchConfig, eventFilter) {
1360
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RegisterValidatorCandidate" }, fetchConfig);
1361
1361
  return this;
1362
1362
  }
1363
- onEventRegisterValidatorCandidateEvent(func, fetchConfig) {
1364
- this.onMoveEvent(func, { type: "stake::RegisterValidatorCandidateEvent" }, fetchConfig);
1363
+ onEventRegisterValidatorCandidateEvent(func, fetchConfig, eventFilter) {
1364
+ this.onMoveEvent(func, {
1365
+ ...(eventFilter ?? {}),
1366
+ type: "stake::RegisterValidatorCandidateEvent",
1367
+ }, fetchConfig);
1365
1368
  return this;
1366
1369
  }
1367
- onEventRotateConsensusKey(func, fetchConfig) {
1368
- this.onMoveEvent(func, { type: "stake::RotateConsensusKey" }, fetchConfig);
1370
+ onEventRotateConsensusKey(func, fetchConfig, eventFilter) {
1371
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RotateConsensusKey" }, fetchConfig);
1369
1372
  return this;
1370
1373
  }
1371
- onEventRotateConsensusKeyEvent(func, fetchConfig) {
1372
- this.onMoveEvent(func, { type: "stake::RotateConsensusKeyEvent" }, fetchConfig);
1374
+ onEventRotateConsensusKeyEvent(func, fetchConfig, eventFilter) {
1375
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RotateConsensusKeyEvent" }, fetchConfig);
1373
1376
  return this;
1374
1377
  }
1375
- onEventSetOperator(func, fetchConfig) {
1376
- this.onMoveEvent(func, { type: "stake::SetOperator" }, fetchConfig);
1378
+ onEventSetOperator(func, fetchConfig, eventFilter) {
1379
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::SetOperator" }, fetchConfig);
1377
1380
  return this;
1378
1381
  }
1379
- onEventSetOperatorEvent(func, fetchConfig) {
1380
- this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
1382
+ onEventSetOperatorEvent(func, fetchConfig, eventFilter) {
1383
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::SetOperatorEvent" }, fetchConfig);
1381
1384
  return this;
1382
1385
  }
1383
- onEventUnlockStake(func, fetchConfig) {
1384
- this.onMoveEvent(func, { type: "stake::UnlockStake" }, fetchConfig);
1386
+ onEventUnlockStake(func, fetchConfig, eventFilter) {
1387
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::UnlockStake" }, fetchConfig);
1385
1388
  return this;
1386
1389
  }
1387
- onEventUnlockStakeEvent(func, fetchConfig) {
1388
- this.onMoveEvent(func, { type: "stake::UnlockStakeEvent" }, fetchConfig);
1390
+ onEventUnlockStakeEvent(func, fetchConfig, eventFilter) {
1391
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::UnlockStakeEvent" }, fetchConfig);
1389
1392
  return this;
1390
1393
  }
1391
- onEventUpdateNetworkAndFullnodeAddresses(func, fetchConfig) {
1392
- this.onMoveEvent(func, { type: "stake::UpdateNetworkAndFullnodeAddresses" }, fetchConfig);
1394
+ onEventUpdateNetworkAndFullnodeAddresses(func, fetchConfig, eventFilter) {
1395
+ this.onMoveEvent(func, {
1396
+ ...(eventFilter ?? {}),
1397
+ type: "stake::UpdateNetworkAndFullnodeAddresses",
1398
+ }, fetchConfig);
1393
1399
  return this;
1394
1400
  }
1395
- onEventUpdateNetworkAndFullnodeAddressesEvent(func, fetchConfig) {
1396
- this.onMoveEvent(func, { type: "stake::UpdateNetworkAndFullnodeAddressesEvent" }, fetchConfig);
1401
+ onEventUpdateNetworkAndFullnodeAddressesEvent(func, fetchConfig, eventFilter) {
1402
+ this.onMoveEvent(func, {
1403
+ ...(eventFilter ?? {}),
1404
+ type: "stake::UpdateNetworkAndFullnodeAddressesEvent",
1405
+ }, fetchConfig);
1397
1406
  return this;
1398
1407
  }
1399
- onEventWithdrawStake(func, fetchConfig) {
1400
- this.onMoveEvent(func, { type: "stake::WithdrawStake" }, fetchConfig);
1408
+ onEventWithdrawStake(func, fetchConfig, eventFilter) {
1409
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::WithdrawStake" }, fetchConfig);
1401
1410
  return this;
1402
1411
  }
1403
- onEventWithdrawStakeEvent(func, fetchConfig) {
1404
- this.onMoveEvent(func, { type: "stake::WithdrawStakeEvent" }, fetchConfig);
1412
+ onEventWithdrawStakeEvent(func, fetchConfig, eventFilter) {
1413
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::WithdrawStakeEvent" }, fetchConfig);
1405
1414
  return this;
1406
1415
  }
1407
1416
  }
@@ -2172,12 +2181,12 @@ export class object$ extends AptosBaseProcessor {
2172
2181
  }, fetchConfig);
2173
2182
  return this;
2174
2183
  }
2175
- onEventTransfer(func, fetchConfig) {
2176
- this.onMoveEvent(func, { type: "object::Transfer" }, fetchConfig);
2184
+ onEventTransfer(func, fetchConfig, eventFilter) {
2185
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object::Transfer" }, fetchConfig);
2177
2186
  return this;
2178
2187
  }
2179
- onEventTransferEvent(func, fetchConfig) {
2180
- this.onMoveEvent(func, { type: "object::TransferEvent" }, fetchConfig);
2188
+ onEventTransferEvent(func, fetchConfig, eventFilter) {
2189
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object::TransferEvent" }, fetchConfig);
2181
2190
  return this;
2182
2191
  }
2183
2192
  }
@@ -2456,32 +2465,32 @@ export class voting extends AptosBaseProcessor {
2456
2465
  static bind(options = {}) {
2457
2466
  return new voting({ ...voting.DEFAULT_OPTIONS, ...options });
2458
2467
  }
2459
- onEventCreateProposal(func, fetchConfig) {
2460
- this.onMoveEvent(func, { type: "voting::CreateProposal" }, fetchConfig);
2468
+ onEventCreateProposal(func, fetchConfig, eventFilter) {
2469
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::CreateProposal" }, fetchConfig);
2461
2470
  return this;
2462
2471
  }
2463
- onEventCreateProposalEvent(func, fetchConfig) {
2464
- this.onMoveEvent(func, { type: "voting::CreateProposalEvent" }, fetchConfig);
2472
+ onEventCreateProposalEvent(func, fetchConfig, eventFilter) {
2473
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::CreateProposalEvent" }, fetchConfig);
2465
2474
  return this;
2466
2475
  }
2467
- onEventRegisterForum(func, fetchConfig) {
2468
- this.onMoveEvent(func, { type: "voting::RegisterForum" }, fetchConfig);
2476
+ onEventRegisterForum(func, fetchConfig, eventFilter) {
2477
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::RegisterForum" }, fetchConfig);
2469
2478
  return this;
2470
2479
  }
2471
- onEventRegisterForumEvent(func, fetchConfig) {
2472
- this.onMoveEvent(func, { type: "voting::RegisterForumEvent" }, fetchConfig);
2480
+ onEventRegisterForumEvent(func, fetchConfig, eventFilter) {
2481
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::RegisterForumEvent" }, fetchConfig);
2473
2482
  return this;
2474
2483
  }
2475
- onEventResolveProposal(func, fetchConfig) {
2476
- this.onMoveEvent(func, { type: "voting::ResolveProposal" }, fetchConfig);
2484
+ onEventResolveProposal(func, fetchConfig, eventFilter) {
2485
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::ResolveProposal" }, fetchConfig);
2477
2486
  return this;
2478
2487
  }
2479
- onEventVote(func, fetchConfig) {
2480
- this.onMoveEvent(func, { type: "voting::Vote" }, fetchConfig);
2488
+ onEventVote(func, fetchConfig, eventFilter) {
2489
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::Vote" }, fetchConfig);
2481
2490
  return this;
2482
2491
  }
2483
- onEventVoteEvent(func, fetchConfig) {
2484
- this.onMoveEvent(func, { type: "voting::VoteEvent" }, fetchConfig);
2492
+ onEventVoteEvent(func, fetchConfig, eventFilter) {
2493
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::VoteEvent" }, fetchConfig);
2485
2494
  return this;
2486
2495
  }
2487
2496
  }
@@ -2886,20 +2895,20 @@ export class account extends AptosBaseProcessor {
2886
2895
  }, fetchConfig);
2887
2896
  return this;
2888
2897
  }
2889
- onEventCoinRegister(func, fetchConfig) {
2890
- this.onMoveEvent(func, { type: "account::CoinRegister" }, fetchConfig);
2898
+ onEventCoinRegister(func, fetchConfig, eventFilter) {
2899
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::CoinRegister" }, fetchConfig);
2891
2900
  return this;
2892
2901
  }
2893
- onEventCoinRegisterEvent(func, fetchConfig) {
2894
- this.onMoveEvent(func, { type: "account::CoinRegisterEvent" }, fetchConfig);
2902
+ onEventCoinRegisterEvent(func, fetchConfig, eventFilter) {
2903
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::CoinRegisterEvent" }, fetchConfig);
2895
2904
  return this;
2896
2905
  }
2897
- onEventKeyRotation(func, fetchConfig) {
2898
- this.onMoveEvent(func, { type: "account::KeyRotation" }, fetchConfig);
2906
+ onEventKeyRotation(func, fetchConfig, eventFilter) {
2907
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::KeyRotation" }, fetchConfig);
2899
2908
  return this;
2900
2909
  }
2901
- onEventKeyRotationEvent(func, fetchConfig) {
2902
- this.onMoveEvent(func, { type: "account::KeyRotationEvent" }, fetchConfig);
2910
+ onEventKeyRotationEvent(func, fetchConfig, eventFilter) {
2911
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::KeyRotationEvent" }, fetchConfig);
2903
2912
  return this;
2904
2913
  }
2905
2914
  }
@@ -3640,84 +3649,84 @@ export class vesting extends AptosBaseProcessor {
3640
3649
  }, fetchConfig);
3641
3650
  return this;
3642
3651
  }
3643
- onEventDistribute(func, fetchConfig) {
3644
- this.onMoveEvent(func, { type: "vesting::Distribute" }, fetchConfig);
3652
+ onEventDistribute(func, fetchConfig, eventFilter) {
3653
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Distribute" }, fetchConfig);
3645
3654
  return this;
3646
3655
  }
3647
- onEventDistributeEvent(func, fetchConfig) {
3648
- this.onMoveEvent(func, { type: "vesting::DistributeEvent" }, fetchConfig);
3656
+ onEventDistributeEvent(func, fetchConfig, eventFilter) {
3657
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::DistributeEvent" }, fetchConfig);
3649
3658
  return this;
3650
3659
  }
3651
- onEventResetLockup(func, fetchConfig) {
3652
- this.onMoveEvent(func, { type: "vesting::ResetLockup" }, fetchConfig);
3660
+ onEventResetLockup(func, fetchConfig, eventFilter) {
3661
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::ResetLockup" }, fetchConfig);
3653
3662
  return this;
3654
3663
  }
3655
- onEventResetLockupEvent(func, fetchConfig) {
3656
- this.onMoveEvent(func, { type: "vesting::ResetLockupEvent" }, fetchConfig);
3664
+ onEventResetLockupEvent(func, fetchConfig, eventFilter) {
3665
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::ResetLockupEvent" }, fetchConfig);
3657
3666
  return this;
3658
3667
  }
3659
- onEventUpdateVoter(func, fetchConfig) {
3660
- this.onMoveEvent(func, { type: "vesting::UpdateVoter" }, fetchConfig);
3668
+ onEventUpdateVoter(func, fetchConfig, eventFilter) {
3669
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateVoter" }, fetchConfig);
3661
3670
  return this;
3662
3671
  }
3663
- onEventUpdateVoterEvent(func, fetchConfig) {
3664
- this.onMoveEvent(func, { type: "vesting::UpdateVoterEvent" }, fetchConfig);
3672
+ onEventUpdateVoterEvent(func, fetchConfig, eventFilter) {
3673
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateVoterEvent" }, fetchConfig);
3665
3674
  return this;
3666
3675
  }
3667
- onEventAdminWithdraw(func, fetchConfig) {
3668
- this.onMoveEvent(func, { type: "vesting::AdminWithdraw" }, fetchConfig);
3676
+ onEventAdminWithdraw(func, fetchConfig, eventFilter) {
3677
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::AdminWithdraw" }, fetchConfig);
3669
3678
  return this;
3670
3679
  }
3671
- onEventAdminWithdrawEvent(func, fetchConfig) {
3672
- this.onMoveEvent(func, { type: "vesting::AdminWithdrawEvent" }, fetchConfig);
3680
+ onEventAdminWithdrawEvent(func, fetchConfig, eventFilter) {
3681
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::AdminWithdrawEvent" }, fetchConfig);
3673
3682
  return this;
3674
3683
  }
3675
- onEventCreateVestingContract(func, fetchConfig) {
3676
- this.onMoveEvent(func, { type: "vesting::CreateVestingContract" }, fetchConfig);
3684
+ onEventCreateVestingContract(func, fetchConfig, eventFilter) {
3685
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::CreateVestingContract" }, fetchConfig);
3677
3686
  return this;
3678
3687
  }
3679
- onEventCreateVestingContractEvent(func, fetchConfig) {
3680
- this.onMoveEvent(func, { type: "vesting::CreateVestingContractEvent" }, fetchConfig);
3688
+ onEventCreateVestingContractEvent(func, fetchConfig, eventFilter) {
3689
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::CreateVestingContractEvent" }, fetchConfig);
3681
3690
  return this;
3682
3691
  }
3683
- onEventSetBeneficiary(func, fetchConfig) {
3684
- this.onMoveEvent(func, { type: "vesting::SetBeneficiary" }, fetchConfig);
3692
+ onEventSetBeneficiary(func, fetchConfig, eventFilter) {
3693
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::SetBeneficiary" }, fetchConfig);
3685
3694
  return this;
3686
3695
  }
3687
- onEventSetBeneficiaryEvent(func, fetchConfig) {
3688
- this.onMoveEvent(func, { type: "vesting::SetBeneficiaryEvent" }, fetchConfig);
3696
+ onEventSetBeneficiaryEvent(func, fetchConfig, eventFilter) {
3697
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::SetBeneficiaryEvent" }, fetchConfig);
3689
3698
  return this;
3690
3699
  }
3691
- onEventTerminate(func, fetchConfig) {
3692
- this.onMoveEvent(func, { type: "vesting::Terminate" }, fetchConfig);
3700
+ onEventTerminate(func, fetchConfig, eventFilter) {
3701
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Terminate" }, fetchConfig);
3693
3702
  return this;
3694
3703
  }
3695
- onEventTerminateEvent(func, fetchConfig) {
3696
- this.onMoveEvent(func, { type: "vesting::TerminateEvent" }, fetchConfig);
3704
+ onEventTerminateEvent(func, fetchConfig, eventFilter) {
3705
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::TerminateEvent" }, fetchConfig);
3697
3706
  return this;
3698
3707
  }
3699
- onEventUnlockRewards(func, fetchConfig) {
3700
- this.onMoveEvent(func, { type: "vesting::UnlockRewards" }, fetchConfig);
3708
+ onEventUnlockRewards(func, fetchConfig, eventFilter) {
3709
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UnlockRewards" }, fetchConfig);
3701
3710
  return this;
3702
3711
  }
3703
- onEventUnlockRewardsEvent(func, fetchConfig) {
3704
- this.onMoveEvent(func, { type: "vesting::UnlockRewardsEvent" }, fetchConfig);
3712
+ onEventUnlockRewardsEvent(func, fetchConfig, eventFilter) {
3713
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UnlockRewardsEvent" }, fetchConfig);
3705
3714
  return this;
3706
3715
  }
3707
- onEventUpdateOperator(func, fetchConfig) {
3708
- this.onMoveEvent(func, { type: "vesting::UpdateOperator" }, fetchConfig);
3716
+ onEventUpdateOperator(func, fetchConfig, eventFilter) {
3717
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateOperator" }, fetchConfig);
3709
3718
  return this;
3710
3719
  }
3711
- onEventUpdateOperatorEvent(func, fetchConfig) {
3712
- this.onMoveEvent(func, { type: "vesting::UpdateOperatorEvent" }, fetchConfig);
3720
+ onEventUpdateOperatorEvent(func, fetchConfig, eventFilter) {
3721
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateOperatorEvent" }, fetchConfig);
3713
3722
  return this;
3714
3723
  }
3715
- onEventVest(func, fetchConfig) {
3716
- this.onMoveEvent(func, { type: "vesting::Vest" }, fetchConfig);
3724
+ onEventVest(func, fetchConfig, eventFilter) {
3725
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Vest" }, fetchConfig);
3717
3726
  return this;
3718
3727
  }
3719
- onEventVestEvent(func, fetchConfig) {
3720
- this.onMoveEvent(func, { type: "vesting::VestEvent" }, fetchConfig);
3728
+ onEventVestEvent(func, fetchConfig, eventFilter) {
3729
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::VestEvent" }, fetchConfig);
3721
3730
  return this;
3722
3731
  }
3723
3732
  }
@@ -4909,8 +4918,8 @@ export class randomness extends AptosBaseProcessor {
4909
4918
  static bind(options = {}) {
4910
4919
  return new randomness({ ...randomness.DEFAULT_OPTIONS, ...options });
4911
4920
  }
4912
- onEventRandomnessGeneratedEvent(func, fetchConfig) {
4913
- this.onMoveEvent(func, { type: "randomness::RandomnessGeneratedEvent" }, fetchConfig);
4921
+ onEventRandomnessGeneratedEvent(func, fetchConfig, eventFilter) {
4922
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "randomness::RandomnessGeneratedEvent" }, fetchConfig);
4914
4923
  return this;
4915
4924
  }
4916
4925
  }
@@ -5433,12 +5442,18 @@ export class aptos_account extends AptosBaseProcessor {
5433
5442
  }, fetchConfig);
5434
5443
  return this;
5435
5444
  }
5436
- onEventDirectCoinTransferConfigUpdated(func, fetchConfig) {
5437
- this.onMoveEvent(func, { type: "aptos_account::DirectCoinTransferConfigUpdated" }, fetchConfig);
5445
+ onEventDirectCoinTransferConfigUpdated(func, fetchConfig, eventFilter) {
5446
+ this.onMoveEvent(func, {
5447
+ ...(eventFilter ?? {}),
5448
+ type: "aptos_account::DirectCoinTransferConfigUpdated",
5449
+ }, fetchConfig);
5438
5450
  return this;
5439
5451
  }
5440
- onEventDirectCoinTransferConfigUpdatedEvent(func, fetchConfig) {
5441
- this.onMoveEvent(func, { type: "aptos_account::DirectCoinTransferConfigUpdatedEvent" }, fetchConfig);
5452
+ onEventDirectCoinTransferConfigUpdatedEvent(func, fetchConfig, eventFilter) {
5453
+ this.onMoveEvent(func, {
5454
+ ...(eventFilter ?? {}),
5455
+ type: "aptos_account::DirectCoinTransferConfigUpdatedEvent",
5456
+ }, fetchConfig);
5442
5457
  return this;
5443
5458
  }
5444
5459
  }
@@ -6149,28 +6164,28 @@ export class fungible_asset extends AptosBaseProcessor {
6149
6164
  }, fetchConfig);
6150
6165
  return this;
6151
6166
  }
6152
- onEventDeposit(func, fetchConfig) {
6153
- this.onMoveEvent(func, { type: "fungible_asset::Deposit" }, fetchConfig);
6167
+ onEventDeposit(func, fetchConfig, eventFilter) {
6168
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Deposit" }, fetchConfig);
6154
6169
  return this;
6155
6170
  }
6156
- onEventDepositEvent(func, fetchConfig) {
6157
- this.onMoveEvent(func, { type: "fungible_asset::DepositEvent" }, fetchConfig);
6171
+ onEventDepositEvent(func, fetchConfig, eventFilter) {
6172
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::DepositEvent" }, fetchConfig);
6158
6173
  return this;
6159
6174
  }
6160
- onEventFrozen(func, fetchConfig) {
6161
- this.onMoveEvent(func, { type: "fungible_asset::Frozen" }, fetchConfig);
6175
+ onEventFrozen(func, fetchConfig, eventFilter) {
6176
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Frozen" }, fetchConfig);
6162
6177
  return this;
6163
6178
  }
6164
- onEventFrozenEvent(func, fetchConfig) {
6165
- this.onMoveEvent(func, { type: "fungible_asset::FrozenEvent" }, fetchConfig);
6179
+ onEventFrozenEvent(func, fetchConfig, eventFilter) {
6180
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::FrozenEvent" }, fetchConfig);
6166
6181
  return this;
6167
6182
  }
6168
- onEventWithdraw(func, fetchConfig) {
6169
- this.onMoveEvent(func, { type: "fungible_asset::Withdraw" }, fetchConfig);
6183
+ onEventWithdraw(func, fetchConfig, eventFilter) {
6184
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Withdraw" }, fetchConfig);
6170
6185
  return this;
6171
6186
  }
6172
- onEventWithdrawEvent(func, fetchConfig) {
6173
- this.onMoveEvent(func, { type: "fungible_asset::WithdrawEvent" }, fetchConfig);
6187
+ onEventWithdrawEvent(func, fetchConfig, eventFilter) {
6188
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::WithdrawEvent" }, fetchConfig);
6174
6189
  return this;
6175
6190
  }
6176
6191
  }
@@ -6807,96 +6822,117 @@ export class delegation_pool extends AptosBaseProcessor {
6807
6822
  }, fetchConfig);
6808
6823
  return this;
6809
6824
  }
6810
- onEventCreateProposal(func, fetchConfig) {
6811
- this.onMoveEvent(func, { type: "delegation_pool::CreateProposal" }, fetchConfig);
6825
+ onEventCreateProposal(func, fetchConfig, eventFilter) {
6826
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::CreateProposal" }, fetchConfig);
6812
6827
  return this;
6813
6828
  }
6814
- onEventCreateProposalEvent(func, fetchConfig) {
6815
- this.onMoveEvent(func, { type: "delegation_pool::CreateProposalEvent" }, fetchConfig);
6829
+ onEventCreateProposalEvent(func, fetchConfig, eventFilter) {
6830
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::CreateProposalEvent" }, fetchConfig);
6816
6831
  return this;
6817
6832
  }
6818
- onEventVote(func, fetchConfig) {
6819
- this.onMoveEvent(func, { type: "delegation_pool::Vote" }, fetchConfig);
6833
+ onEventVote(func, fetchConfig, eventFilter) {
6834
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::Vote" }, fetchConfig);
6820
6835
  return this;
6821
6836
  }
6822
- onEventVoteEvent(func, fetchConfig) {
6823
- this.onMoveEvent(func, { type: "delegation_pool::VoteEvent" }, fetchConfig);
6837
+ onEventVoteEvent(func, fetchConfig, eventFilter) {
6838
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::VoteEvent" }, fetchConfig);
6824
6839
  return this;
6825
6840
  }
6826
- onEventAddStake(func, fetchConfig) {
6827
- this.onMoveEvent(func, { type: "delegation_pool::AddStake" }, fetchConfig);
6841
+ onEventAddStake(func, fetchConfig, eventFilter) {
6842
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AddStake" }, fetchConfig);
6828
6843
  return this;
6829
6844
  }
6830
- onEventAddStakeEvent(func, fetchConfig) {
6831
- this.onMoveEvent(func, { type: "delegation_pool::AddStakeEvent" }, fetchConfig);
6845
+ onEventAddStakeEvent(func, fetchConfig, eventFilter) {
6846
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AddStakeEvent" }, fetchConfig);
6832
6847
  return this;
6833
6848
  }
6834
- onEventReactivateStake(func, fetchConfig) {
6835
- this.onMoveEvent(func, { type: "delegation_pool::ReactivateStake" }, fetchConfig);
6849
+ onEventReactivateStake(func, fetchConfig, eventFilter) {
6850
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::ReactivateStake" }, fetchConfig);
6836
6851
  return this;
6837
6852
  }
6838
- onEventReactivateStakeEvent(func, fetchConfig) {
6839
- this.onMoveEvent(func, { type: "delegation_pool::ReactivateStakeEvent" }, fetchConfig);
6853
+ onEventReactivateStakeEvent(func, fetchConfig, eventFilter) {
6854
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::ReactivateStakeEvent" }, fetchConfig);
6840
6855
  return this;
6841
6856
  }
6842
- onEventUnlockStake(func, fetchConfig) {
6843
- this.onMoveEvent(func, { type: "delegation_pool::UnlockStake" }, fetchConfig);
6857
+ onEventUnlockStake(func, fetchConfig, eventFilter) {
6858
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::UnlockStake" }, fetchConfig);
6844
6859
  return this;
6845
6860
  }
6846
- onEventUnlockStakeEvent(func, fetchConfig) {
6847
- this.onMoveEvent(func, { type: "delegation_pool::UnlockStakeEvent" }, fetchConfig);
6861
+ onEventUnlockStakeEvent(func, fetchConfig, eventFilter) {
6862
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::UnlockStakeEvent" }, fetchConfig);
6848
6863
  return this;
6849
6864
  }
6850
- onEventWithdrawStake(func, fetchConfig) {
6851
- this.onMoveEvent(func, { type: "delegation_pool::WithdrawStake" }, fetchConfig);
6865
+ onEventWithdrawStake(func, fetchConfig, eventFilter) {
6866
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::WithdrawStake" }, fetchConfig);
6852
6867
  return this;
6853
6868
  }
6854
- onEventWithdrawStakeEvent(func, fetchConfig) {
6855
- this.onMoveEvent(func, { type: "delegation_pool::WithdrawStakeEvent" }, fetchConfig);
6869
+ onEventWithdrawStakeEvent(func, fetchConfig, eventFilter) {
6870
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::WithdrawStakeEvent" }, fetchConfig);
6856
6871
  return this;
6857
6872
  }
6858
- onEventAllowlistDelegator(func, fetchConfig) {
6859
- this.onMoveEvent(func, { type: "delegation_pool::AllowlistDelegator" }, fetchConfig);
6873
+ onEventAllowlistDelegator(func, fetchConfig, eventFilter) {
6874
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AllowlistDelegator" }, fetchConfig);
6860
6875
  return this;
6861
6876
  }
6862
- onEventCommissionPercentageChange(func, fetchConfig) {
6863
- this.onMoveEvent(func, { type: "delegation_pool::CommissionPercentageChange" }, fetchConfig);
6877
+ onEventCommissionPercentageChange(func, fetchConfig, eventFilter) {
6878
+ this.onMoveEvent(func, {
6879
+ ...(eventFilter ?? {}),
6880
+ type: "delegation_pool::CommissionPercentageChange",
6881
+ }, fetchConfig);
6864
6882
  return this;
6865
6883
  }
6866
- onEventDelegateVotingPower(func, fetchConfig) {
6867
- this.onMoveEvent(func, { type: "delegation_pool::DelegateVotingPower" }, fetchConfig);
6884
+ onEventDelegateVotingPower(func, fetchConfig, eventFilter) {
6885
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::DelegateVotingPower" }, fetchConfig);
6868
6886
  return this;
6869
6887
  }
6870
- onEventDelegateVotingPowerEvent(func, fetchConfig) {
6871
- this.onMoveEvent(func, { type: "delegation_pool::DelegateVotingPowerEvent" }, fetchConfig);
6888
+ onEventDelegateVotingPowerEvent(func, fetchConfig, eventFilter) {
6889
+ this.onMoveEvent(func, {
6890
+ ...(eventFilter ?? {}),
6891
+ type: "delegation_pool::DelegateVotingPowerEvent",
6892
+ }, fetchConfig);
6872
6893
  return this;
6873
6894
  }
6874
- onEventDisableDelegatorsAllowlisting(func, fetchConfig) {
6875
- this.onMoveEvent(func, { type: "delegation_pool::DisableDelegatorsAllowlisting" }, fetchConfig);
6895
+ onEventDisableDelegatorsAllowlisting(func, fetchConfig, eventFilter) {
6896
+ this.onMoveEvent(func, {
6897
+ ...(eventFilter ?? {}),
6898
+ type: "delegation_pool::DisableDelegatorsAllowlisting",
6899
+ }, fetchConfig);
6876
6900
  return this;
6877
6901
  }
6878
- onEventDistributeCommission(func, fetchConfig) {
6879
- this.onMoveEvent(func, { type: "delegation_pool::DistributeCommission" }, fetchConfig);
6902
+ onEventDistributeCommission(func, fetchConfig, eventFilter) {
6903
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::DistributeCommission" }, fetchConfig);
6880
6904
  return this;
6881
6905
  }
6882
- onEventDistributeCommissionEvent(func, fetchConfig) {
6883
- this.onMoveEvent(func, { type: "delegation_pool::DistributeCommissionEvent" }, fetchConfig);
6906
+ onEventDistributeCommissionEvent(func, fetchConfig, eventFilter) {
6907
+ this.onMoveEvent(func, {
6908
+ ...(eventFilter ?? {}),
6909
+ type: "delegation_pool::DistributeCommissionEvent",
6910
+ }, fetchConfig);
6884
6911
  return this;
6885
6912
  }
6886
- onEventEnableDelegatorsAllowlisting(func, fetchConfig) {
6887
- this.onMoveEvent(func, { type: "delegation_pool::EnableDelegatorsAllowlisting" }, fetchConfig);
6913
+ onEventEnableDelegatorsAllowlisting(func, fetchConfig, eventFilter) {
6914
+ this.onMoveEvent(func, {
6915
+ ...(eventFilter ?? {}),
6916
+ type: "delegation_pool::EnableDelegatorsAllowlisting",
6917
+ }, fetchConfig);
6888
6918
  return this;
6889
6919
  }
6890
- onEventEvictDelegator(func, fetchConfig) {
6891
- this.onMoveEvent(func, { type: "delegation_pool::EvictDelegator" }, fetchConfig);
6920
+ onEventEvictDelegator(func, fetchConfig, eventFilter) {
6921
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::EvictDelegator" }, fetchConfig);
6892
6922
  return this;
6893
6923
  }
6894
- onEventRemoveDelegatorFromAllowlist(func, fetchConfig) {
6895
- this.onMoveEvent(func, { type: "delegation_pool::RemoveDelegatorFromAllowlist" }, fetchConfig);
6924
+ onEventRemoveDelegatorFromAllowlist(func, fetchConfig, eventFilter) {
6925
+ this.onMoveEvent(func, {
6926
+ ...(eventFilter ?? {}),
6927
+ type: "delegation_pool::RemoveDelegatorFromAllowlist",
6928
+ }, fetchConfig);
6896
6929
  return this;
6897
6930
  }
6898
- onEventSetBeneficiaryForOperator(func, fetchConfig) {
6899
- this.onMoveEvent(func, { type: "delegation_pool::SetBeneficiaryForOperator" }, fetchConfig);
6931
+ onEventSetBeneficiaryForOperator(func, fetchConfig, eventFilter) {
6932
+ this.onMoveEvent(func, {
6933
+ ...(eventFilter ?? {}),
6934
+ type: "delegation_pool::SetBeneficiaryForOperator",
6935
+ }, fetchConfig);
6900
6936
  return this;
6901
6937
  }
6902
6938
  }
@@ -7932,12 +7968,12 @@ export class reconfiguration extends AptosBaseProcessor {
7932
7968
  ...options,
7933
7969
  });
7934
7970
  }
7935
- onEventNewEpoch(func, fetchConfig) {
7936
- this.onMoveEvent(func, { type: "reconfiguration::NewEpoch" }, fetchConfig);
7971
+ onEventNewEpoch(func, fetchConfig, eventFilter) {
7972
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "reconfiguration::NewEpoch" }, fetchConfig);
7937
7973
  return this;
7938
7974
  }
7939
- onEventNewEpochEvent(func, fetchConfig) {
7940
- this.onMoveEvent(func, { type: "reconfiguration::NewEpochEvent" }, fetchConfig);
7975
+ onEventNewEpochEvent(func, fetchConfig, eventFilter) {
7976
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "reconfiguration::NewEpochEvent" }, fetchConfig);
7941
7977
  return this;
7942
7978
  }
7943
7979
  }
@@ -8000,8 +8036,8 @@ export class transaction_fee extends AptosBaseProcessor {
8000
8036
  }, fetchConfig);
8001
8037
  return this;
8002
8038
  }
8003
- onEventFeeStatement(func, fetchConfig) {
8004
- this.onMoveEvent(func, { type: "transaction_fee::FeeStatement" }, fetchConfig);
8039
+ onEventFeeStatement(func, fetchConfig, eventFilter) {
8040
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "transaction_fee::FeeStatement" }, fetchConfig);
8005
8041
  return this;
8006
8042
  }
8007
8043
  }
@@ -8156,28 +8192,28 @@ export class aptos_governance extends AptosBaseProcessor {
8156
8192
  }, fetchConfig);
8157
8193
  return this;
8158
8194
  }
8159
- onEventCreateProposal(func, fetchConfig) {
8160
- this.onMoveEvent(func, { type: "aptos_governance::CreateProposal" }, fetchConfig);
8195
+ onEventCreateProposal(func, fetchConfig, eventFilter) {
8196
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::CreateProposal" }, fetchConfig);
8161
8197
  return this;
8162
8198
  }
8163
- onEventCreateProposalEvent(func, fetchConfig) {
8164
- this.onMoveEvent(func, { type: "aptos_governance::CreateProposalEvent" }, fetchConfig);
8199
+ onEventCreateProposalEvent(func, fetchConfig, eventFilter) {
8200
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::CreateProposalEvent" }, fetchConfig);
8165
8201
  return this;
8166
8202
  }
8167
- onEventVote(func, fetchConfig) {
8168
- this.onMoveEvent(func, { type: "aptos_governance::Vote" }, fetchConfig);
8203
+ onEventVote(func, fetchConfig, eventFilter) {
8204
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::Vote" }, fetchConfig);
8169
8205
  return this;
8170
8206
  }
8171
- onEventVoteEvent(func, fetchConfig) {
8172
- this.onMoveEvent(func, { type: "aptos_governance::VoteEvent" }, fetchConfig);
8207
+ onEventVoteEvent(func, fetchConfig, eventFilter) {
8208
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::VoteEvent" }, fetchConfig);
8173
8209
  return this;
8174
8210
  }
8175
- onEventUpdateConfig(func, fetchConfig) {
8176
- this.onMoveEvent(func, { type: "aptos_governance::UpdateConfig" }, fetchConfig);
8211
+ onEventUpdateConfig(func, fetchConfig, eventFilter) {
8212
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::UpdateConfig" }, fetchConfig);
8177
8213
  return this;
8178
8214
  }
8179
- onEventUpdateConfigEvent(func, fetchConfig) {
8180
- this.onMoveEvent(func, { type: "aptos_governance::UpdateConfigEvent" }, fetchConfig);
8215
+ onEventUpdateConfigEvent(func, fetchConfig, eventFilter) {
8216
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::UpdateConfigEvent" }, fetchConfig);
8181
8217
  return this;
8182
8218
  }
8183
8219
  }
@@ -8924,76 +8960,106 @@ export class multisig_account extends AptosBaseProcessor {
8924
8960
  }, fetchConfig);
8925
8961
  return this;
8926
8962
  }
8927
- onEventVote(func, fetchConfig) {
8928
- this.onMoveEvent(func, { type: "multisig_account::Vote" }, fetchConfig);
8963
+ onEventVote(func, fetchConfig, eventFilter) {
8964
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::Vote" }, fetchConfig);
8929
8965
  return this;
8930
8966
  }
8931
- onEventVoteEvent(func, fetchConfig) {
8932
- this.onMoveEvent(func, { type: "multisig_account::VoteEvent" }, fetchConfig);
8967
+ onEventVoteEvent(func, fetchConfig, eventFilter) {
8968
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::VoteEvent" }, fetchConfig);
8933
8969
  return this;
8934
8970
  }
8935
- onEventAddOwners(func, fetchConfig) {
8936
- this.onMoveEvent(func, { type: "multisig_account::AddOwners" }, fetchConfig);
8971
+ onEventAddOwners(func, fetchConfig, eventFilter) {
8972
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::AddOwners" }, fetchConfig);
8937
8973
  return this;
8938
8974
  }
8939
- onEventAddOwnersEvent(func, fetchConfig) {
8940
- this.onMoveEvent(func, { type: "multisig_account::AddOwnersEvent" }, fetchConfig);
8975
+ onEventAddOwnersEvent(func, fetchConfig, eventFilter) {
8976
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::AddOwnersEvent" }, fetchConfig);
8941
8977
  return this;
8942
8978
  }
8943
- onEventCreateTransaction(func, fetchConfig) {
8944
- this.onMoveEvent(func, { type: "multisig_account::CreateTransaction" }, fetchConfig);
8979
+ onEventCreateTransaction(func, fetchConfig, eventFilter) {
8980
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::CreateTransaction" }, fetchConfig);
8945
8981
  return this;
8946
8982
  }
8947
- onEventCreateTransactionEvent(func, fetchConfig) {
8948
- this.onMoveEvent(func, { type: "multisig_account::CreateTransactionEvent" }, fetchConfig);
8983
+ onEventCreateTransactionEvent(func, fetchConfig, eventFilter) {
8984
+ this.onMoveEvent(func, {
8985
+ ...(eventFilter ?? {}),
8986
+ type: "multisig_account::CreateTransactionEvent",
8987
+ }, fetchConfig);
8949
8988
  return this;
8950
8989
  }
8951
- onEventExecuteRejectedTransaction(func, fetchConfig) {
8952
- this.onMoveEvent(func, { type: "multisig_account::ExecuteRejectedTransaction" }, fetchConfig);
8990
+ onEventExecuteRejectedTransaction(func, fetchConfig, eventFilter) {
8991
+ this.onMoveEvent(func, {
8992
+ ...(eventFilter ?? {}),
8993
+ type: "multisig_account::ExecuteRejectedTransaction",
8994
+ }, fetchConfig);
8953
8995
  return this;
8954
8996
  }
8955
- onEventExecuteRejectedTransactionEvent(func, fetchConfig) {
8956
- this.onMoveEvent(func, { type: "multisig_account::ExecuteRejectedTransactionEvent" }, fetchConfig);
8997
+ onEventExecuteRejectedTransactionEvent(func, fetchConfig, eventFilter) {
8998
+ this.onMoveEvent(func, {
8999
+ ...(eventFilter ?? {}),
9000
+ type: "multisig_account::ExecuteRejectedTransactionEvent",
9001
+ }, fetchConfig);
8957
9002
  return this;
8958
9003
  }
8959
- onEventMetadataUpdated(func, fetchConfig) {
8960
- this.onMoveEvent(func, { type: "multisig_account::MetadataUpdated" }, fetchConfig);
9004
+ onEventMetadataUpdated(func, fetchConfig, eventFilter) {
9005
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::MetadataUpdated" }, fetchConfig);
8961
9006
  return this;
8962
9007
  }
8963
- onEventMetadataUpdatedEvent(func, fetchConfig) {
8964
- this.onMoveEvent(func, { type: "multisig_account::MetadataUpdatedEvent" }, fetchConfig);
9008
+ onEventMetadataUpdatedEvent(func, fetchConfig, eventFilter) {
9009
+ this.onMoveEvent(func, {
9010
+ ...(eventFilter ?? {}),
9011
+ type: "multisig_account::MetadataUpdatedEvent",
9012
+ }, fetchConfig);
8965
9013
  return this;
8966
9014
  }
8967
- onEventRemoveOwners(func, fetchConfig) {
8968
- this.onMoveEvent(func, { type: "multisig_account::RemoveOwners" }, fetchConfig);
9015
+ onEventRemoveOwners(func, fetchConfig, eventFilter) {
9016
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::RemoveOwners" }, fetchConfig);
8969
9017
  return this;
8970
9018
  }
8971
- onEventRemoveOwnersEvent(func, fetchConfig) {
8972
- this.onMoveEvent(func, { type: "multisig_account::RemoveOwnersEvent" }, fetchConfig);
9019
+ onEventRemoveOwnersEvent(func, fetchConfig, eventFilter) {
9020
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::RemoveOwnersEvent" }, fetchConfig);
8973
9021
  return this;
8974
9022
  }
8975
- onEventTransactionExecutionFailed(func, fetchConfig) {
8976
- this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionFailed" }, fetchConfig);
9023
+ onEventTransactionExecutionFailed(func, fetchConfig, eventFilter) {
9024
+ this.onMoveEvent(func, {
9025
+ ...(eventFilter ?? {}),
9026
+ type: "multisig_account::TransactionExecutionFailed",
9027
+ }, fetchConfig);
8977
9028
  return this;
8978
9029
  }
8979
- onEventTransactionExecutionFailedEvent(func, fetchConfig) {
8980
- this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionFailedEvent" }, fetchConfig);
9030
+ onEventTransactionExecutionFailedEvent(func, fetchConfig, eventFilter) {
9031
+ this.onMoveEvent(func, {
9032
+ ...(eventFilter ?? {}),
9033
+ type: "multisig_account::TransactionExecutionFailedEvent",
9034
+ }, fetchConfig);
8981
9035
  return this;
8982
9036
  }
8983
- onEventTransactionExecutionSucceeded(func, fetchConfig) {
8984
- this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionSucceeded" }, fetchConfig);
9037
+ onEventTransactionExecutionSucceeded(func, fetchConfig, eventFilter) {
9038
+ this.onMoveEvent(func, {
9039
+ ...(eventFilter ?? {}),
9040
+ type: "multisig_account::TransactionExecutionSucceeded",
9041
+ }, fetchConfig);
8985
9042
  return this;
8986
9043
  }
8987
- onEventTransactionExecutionSucceededEvent(func, fetchConfig) {
8988
- this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionSucceededEvent" }, fetchConfig);
9044
+ onEventTransactionExecutionSucceededEvent(func, fetchConfig, eventFilter) {
9045
+ this.onMoveEvent(func, {
9046
+ ...(eventFilter ?? {}),
9047
+ type: "multisig_account::TransactionExecutionSucceededEvent",
9048
+ }, fetchConfig);
8989
9049
  return this;
8990
9050
  }
8991
- onEventUpdateSignaturesRequired(func, fetchConfig) {
8992
- this.onMoveEvent(func, { type: "multisig_account::UpdateSignaturesRequired" }, fetchConfig);
9051
+ onEventUpdateSignaturesRequired(func, fetchConfig, eventFilter) {
9052
+ this.onMoveEvent(func, {
9053
+ ...(eventFilter ?? {}),
9054
+ type: "multisig_account::UpdateSignaturesRequired",
9055
+ }, fetchConfig);
8993
9056
  return this;
8994
9057
  }
8995
- onEventUpdateSignaturesRequiredEvent(func, fetchConfig) {
8996
- this.onMoveEvent(func, { type: "multisig_account::UpdateSignaturesRequiredEvent" }, fetchConfig);
9058
+ onEventUpdateSignaturesRequiredEvent(func, fetchConfig, eventFilter) {
9059
+ this.onMoveEvent(func, {
9060
+ ...(eventFilter ?? {}),
9061
+ type: "multisig_account::UpdateSignaturesRequiredEvent",
9062
+ }, fetchConfig);
8997
9063
  return this;
8998
9064
  }
8999
9065
  }
@@ -10105,92 +10171,113 @@ export class staking_contract extends AptosBaseProcessor {
10105
10171
  }, fetchConfig);
10106
10172
  return this;
10107
10173
  }
10108
- onEventAddStake(func, fetchConfig) {
10109
- this.onMoveEvent(func, { type: "staking_contract::AddStake" }, fetchConfig);
10174
+ onEventAddStake(func, fetchConfig, eventFilter) {
10175
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddStake" }, fetchConfig);
10110
10176
  return this;
10111
10177
  }
10112
- onEventAddStakeEvent(func, fetchConfig) {
10113
- this.onMoveEvent(func, { type: "staking_contract::AddStakeEvent" }, fetchConfig);
10178
+ onEventAddStakeEvent(func, fetchConfig, eventFilter) {
10179
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddStakeEvent" }, fetchConfig);
10114
10180
  return this;
10115
10181
  }
10116
- onEventUnlockStake(func, fetchConfig) {
10117
- this.onMoveEvent(func, { type: "staking_contract::UnlockStake" }, fetchConfig);
10182
+ onEventUnlockStake(func, fetchConfig, eventFilter) {
10183
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UnlockStake" }, fetchConfig);
10118
10184
  return this;
10119
10185
  }
10120
- onEventUnlockStakeEvent(func, fetchConfig) {
10121
- this.onMoveEvent(func, { type: "staking_contract::UnlockStakeEvent" }, fetchConfig);
10186
+ onEventUnlockStakeEvent(func, fetchConfig, eventFilter) {
10187
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UnlockStakeEvent" }, fetchConfig);
10122
10188
  return this;
10123
10189
  }
10124
- onEventSetBeneficiaryForOperator(func, fetchConfig) {
10125
- this.onMoveEvent(func, { type: "staking_contract::SetBeneficiaryForOperator" }, fetchConfig);
10190
+ onEventSetBeneficiaryForOperator(func, fetchConfig, eventFilter) {
10191
+ this.onMoveEvent(func, {
10192
+ ...(eventFilter ?? {}),
10193
+ type: "staking_contract::SetBeneficiaryForOperator",
10194
+ }, fetchConfig);
10126
10195
  return this;
10127
10196
  }
10128
- onEventAddDistribution(func, fetchConfig) {
10129
- this.onMoveEvent(func, { type: "staking_contract::AddDistribution" }, fetchConfig);
10197
+ onEventAddDistribution(func, fetchConfig, eventFilter) {
10198
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddDistribution" }, fetchConfig);
10130
10199
  return this;
10131
10200
  }
10132
- onEventAddDistributionEvent(func, fetchConfig) {
10133
- this.onMoveEvent(func, { type: "staking_contract::AddDistributionEvent" }, fetchConfig);
10201
+ onEventAddDistributionEvent(func, fetchConfig, eventFilter) {
10202
+ this.onMoveEvent(func, {
10203
+ ...(eventFilter ?? {}),
10204
+ type: "staking_contract::AddDistributionEvent",
10205
+ }, fetchConfig);
10134
10206
  return this;
10135
10207
  }
10136
- onEventCreateStakingContract(func, fetchConfig) {
10137
- this.onMoveEvent(func, { type: "staking_contract::CreateStakingContract" }, fetchConfig);
10208
+ onEventCreateStakingContract(func, fetchConfig, eventFilter) {
10209
+ this.onMoveEvent(func, {
10210
+ ...(eventFilter ?? {}),
10211
+ type: "staking_contract::CreateStakingContract",
10212
+ }, fetchConfig);
10138
10213
  return this;
10139
10214
  }
10140
- onEventCreateStakingContractEvent(func, fetchConfig) {
10141
- this.onMoveEvent(func, { type: "staking_contract::CreateStakingContractEvent" }, fetchConfig);
10215
+ onEventCreateStakingContractEvent(func, fetchConfig, eventFilter) {
10216
+ this.onMoveEvent(func, {
10217
+ ...(eventFilter ?? {}),
10218
+ type: "staking_contract::CreateStakingContractEvent",
10219
+ }, fetchConfig);
10142
10220
  return this;
10143
10221
  }
10144
- onEventDistribute(func, fetchConfig) {
10145
- this.onMoveEvent(func, { type: "staking_contract::Distribute" }, fetchConfig);
10222
+ onEventDistribute(func, fetchConfig, eventFilter) {
10223
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::Distribute" }, fetchConfig);
10146
10224
  return this;
10147
10225
  }
10148
- onEventDistributeEvent(func, fetchConfig) {
10149
- this.onMoveEvent(func, { type: "staking_contract::DistributeEvent" }, fetchConfig);
10226
+ onEventDistributeEvent(func, fetchConfig, eventFilter) {
10227
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::DistributeEvent" }, fetchConfig);
10150
10228
  return this;
10151
10229
  }
10152
- onEventRequestCommission(func, fetchConfig) {
10153
- this.onMoveEvent(func, { type: "staking_contract::RequestCommission" }, fetchConfig);
10230
+ onEventRequestCommission(func, fetchConfig, eventFilter) {
10231
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::RequestCommission" }, fetchConfig);
10154
10232
  return this;
10155
10233
  }
10156
- onEventRequestCommissionEvent(func, fetchConfig) {
10157
- this.onMoveEvent(func, { type: "staking_contract::RequestCommissionEvent" }, fetchConfig);
10234
+ onEventRequestCommissionEvent(func, fetchConfig, eventFilter) {
10235
+ this.onMoveEvent(func, {
10236
+ ...(eventFilter ?? {}),
10237
+ type: "staking_contract::RequestCommissionEvent",
10238
+ }, fetchConfig);
10158
10239
  return this;
10159
10240
  }
10160
- onEventResetLockup(func, fetchConfig) {
10161
- this.onMoveEvent(func, { type: "staking_contract::ResetLockup" }, fetchConfig);
10241
+ onEventResetLockup(func, fetchConfig, eventFilter) {
10242
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::ResetLockup" }, fetchConfig);
10162
10243
  return this;
10163
10244
  }
10164
- onEventResetLockupEvent(func, fetchConfig) {
10165
- this.onMoveEvent(func, { type: "staking_contract::ResetLockupEvent" }, fetchConfig);
10245
+ onEventResetLockupEvent(func, fetchConfig, eventFilter) {
10246
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::ResetLockupEvent" }, fetchConfig);
10166
10247
  return this;
10167
10248
  }
10168
- onEventStakingGroupUpdateCommissionEvent(func, fetchConfig) {
10169
- this.onMoveEvent(func, { type: "staking_contract::StakingGroupUpdateCommissionEvent" }, fetchConfig);
10249
+ onEventStakingGroupUpdateCommissionEvent(func, fetchConfig, eventFilter) {
10250
+ this.onMoveEvent(func, {
10251
+ ...(eventFilter ?? {}),
10252
+ type: "staking_contract::StakingGroupUpdateCommissionEvent",
10253
+ }, fetchConfig);
10170
10254
  return this;
10171
10255
  }
10172
- onEventSwitchOperator(func, fetchConfig) {
10173
- this.onMoveEvent(func, { type: "staking_contract::SwitchOperator" }, fetchConfig);
10256
+ onEventSwitchOperator(func, fetchConfig, eventFilter) {
10257
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::SwitchOperator" }, fetchConfig);
10174
10258
  return this;
10175
10259
  }
10176
- onEventSwitchOperatorEvent(func, fetchConfig) {
10177
- this.onMoveEvent(func, { type: "staking_contract::SwitchOperatorEvent" }, fetchConfig);
10260
+ onEventSwitchOperatorEvent(func, fetchConfig, eventFilter) {
10261
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::SwitchOperatorEvent" }, fetchConfig);
10178
10262
  return this;
10179
10263
  }
10180
- onEventUpdateCommission(func, fetchConfig) {
10181
- this.onMoveEvent(func, { type: "staking_contract::UpdateCommission" }, fetchConfig);
10264
+ onEventUpdateCommission(func, fetchConfig, eventFilter) {
10265
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateCommission" }, fetchConfig);
10182
10266
  return this;
10183
10267
  }
10184
- onEventUpdateCommissionEvent(func, fetchConfig) {
10185
- this.onMoveEvent(func, { type: "staking_contract::UpdateCommissionEvent" }, fetchConfig);
10268
+ onEventUpdateCommissionEvent(func, fetchConfig, eventFilter) {
10269
+ this.onMoveEvent(func, {
10270
+ ...(eventFilter ?? {}),
10271
+ type: "staking_contract::UpdateCommissionEvent",
10272
+ }, fetchConfig);
10186
10273
  return this;
10187
10274
  }
10188
- onEventUpdateVoter(func, fetchConfig) {
10189
- this.onMoveEvent(func, { type: "staking_contract::UpdateVoter" }, fetchConfig);
10275
+ onEventUpdateVoter(func, fetchConfig, eventFilter) {
10276
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateVoter" }, fetchConfig);
10190
10277
  return this;
10191
10278
  }
10192
- onEventUpdateVoterEvent(func, fetchConfig) {
10193
- this.onMoveEvent(func, { type: "staking_contract::UpdateVoterEvent" }, fetchConfig);
10279
+ onEventUpdateVoterEvent(func, fetchConfig, eventFilter) {
10280
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateVoterEvent" }, fetchConfig);
10194
10281
  return this;
10195
10282
  }
10196
10283
  }
@@ -11032,16 +11119,16 @@ export class object_code_deployment extends AptosBaseProcessor {
11032
11119
  }, fetchConfig);
11033
11120
  return this;
11034
11121
  }
11035
- onEventFreeze(func, fetchConfig) {
11036
- this.onMoveEvent(func, { type: "object_code_deployment::Freeze" }, fetchConfig);
11122
+ onEventFreeze(func, fetchConfig, eventFilter) {
11123
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Freeze" }, fetchConfig);
11037
11124
  return this;
11038
11125
  }
11039
- onEventPublish(func, fetchConfig) {
11040
- this.onMoveEvent(func, { type: "object_code_deployment::Publish" }, fetchConfig);
11126
+ onEventPublish(func, fetchConfig, eventFilter) {
11127
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Publish" }, fetchConfig);
11041
11128
  return this;
11042
11129
  }
11043
- onEventUpgrade(func, fetchConfig) {
11044
- this.onMoveEvent(func, { type: "object_code_deployment::Upgrade" }, fetchConfig);
11130
+ onEventUpgrade(func, fetchConfig, eventFilter) {
11131
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Upgrade" }, fetchConfig);
11045
11132
  return this;
11046
11133
  }
11047
11134
  }