@sentio/sdk 2.59.0-rc.22 → 2.59.0-rc.24

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 (67) hide show
  1. package/lib/aptos/aptos-plugin.d.ts +5 -2
  2. package/lib/aptos/aptos-plugin.d.ts.map +1 -1
  3. package/lib/aptos/aptos-plugin.js +41 -2
  4. package/lib/aptos/aptos-plugin.js.map +1 -1
  5. package/lib/aptos/aptos-processor.d.ts +6 -5
  6. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  7. package/lib/aptos/aptos-processor.js +18 -12
  8. package/lib/aptos/aptos-processor.js.map +1 -1
  9. package/lib/aptos/builtin/0x1.d.ts +159 -159
  10. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  11. package/lib/aptos/builtin/0x1.js +316 -316
  12. package/lib/aptos/builtin/0x1.js.map +1 -1
  13. package/lib/aptos/builtin/0x3.d.ts +52 -52
  14. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  15. package/lib/aptos/builtin/0x3.js +102 -102
  16. package/lib/aptos/builtin/0x3.js.map +1 -1
  17. package/lib/aptos/builtin/0x4.d.ts +12 -12
  18. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  19. package/lib/aptos/builtin/0x4.js +22 -22
  20. package/lib/aptos/builtin/0x4.js.map +1 -1
  21. package/lib/aptos/codegen/codegen.js +10 -0
  22. package/lib/aptos/codegen/codegen.js.map +1 -1
  23. package/lib/aptos/data.d.ts +20 -0
  24. package/lib/aptos/data.d.ts.map +1 -0
  25. package/lib/aptos/data.js +38 -0
  26. package/lib/aptos/data.js.map +1 -0
  27. package/lib/aptos/index.d.ts +1 -0
  28. package/lib/aptos/index.d.ts.map +1 -1
  29. package/lib/aptos/index.js.map +1 -1
  30. package/lib/aptos/models.d.ts +5 -0
  31. package/lib/aptos/models.d.ts.map +1 -1
  32. package/lib/eth/base-processor.d.ts +6 -2
  33. package/lib/eth/base-processor.d.ts.map +1 -1
  34. package/lib/eth/base-processor.js +5 -1
  35. package/lib/eth/base-processor.js.map +1 -1
  36. package/lib/move/filter.d.ts +1 -0
  37. package/lib/move/filter.d.ts.map +1 -1
  38. package/lib/move/filter.js +1 -0
  39. package/lib/move/filter.js.map +1 -1
  40. package/lib/move/shared-network-codegen.d.ts.map +1 -1
  41. package/lib/move/shared-network-codegen.js +1 -0
  42. package/lib/move/shared-network-codegen.js.map +1 -1
  43. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  44. package/lib/sui/builtin/0x1.js.map +1 -1
  45. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  46. package/lib/sui/builtin/0x2.js.map +1 -1
  47. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  48. package/lib/sui/builtin/0x3.js.map +1 -1
  49. package/lib/sui/models.d.ts +5 -0
  50. package/lib/sui/models.d.ts.map +1 -1
  51. package/package.json +3 -3
  52. package/src/aptos/aptos-plugin.ts +50 -3
  53. package/src/aptos/aptos-processor.ts +22 -24
  54. package/src/aptos/builtin/0x1.ts +317 -316
  55. package/src/aptos/builtin/0x3.ts +103 -102
  56. package/src/aptos/builtin/0x4.ts +23 -22
  57. package/src/aptos/codegen/codegen.ts +13 -1
  58. package/src/aptos/data.ts +48 -0
  59. package/src/aptos/index.ts +2 -0
  60. package/src/aptos/models.ts +7 -0
  61. package/src/eth/base-processor.ts +7 -2
  62. package/src/move/filter.ts +1 -0
  63. package/src/move/shared-network-codegen.ts +1 -0
  64. package/src/sui/builtin/0x1.ts +1 -0
  65. package/src/sui/builtin/0x2.ts +1 -0
  66. package/src/sui/builtin/0x3.ts +1 -0
  67. package/src/sui/models.ts +7 -0
@@ -51,8 +51,8 @@ export class dkg extends AptosBaseProcessor {
51
51
  static bind(options = {}) {
52
52
  return new dkg({ ...dkg.DEFAULT_OPTIONS, ...options });
53
53
  }
54
- onEventDKGStartEvent(func, fetchConfig, eventFilter) {
55
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "dkg::DKGStartEvent" }, fetchConfig);
54
+ onEventDKGStartEvent(func, handlerOptions, eventFilter) {
55
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "dkg::DKGStartEvent" }, handlerOptions);
56
56
  return this;
57
57
  }
58
58
  }
@@ -112,8 +112,8 @@ export class code extends AptosBaseProcessor {
112
112
  }, fetchConfig);
113
113
  return this;
114
114
  }
115
- onEventPublishPackage(func, fetchConfig, eventFilter) {
116
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "code::PublishPackage" }, fetchConfig);
115
+ onEventPublishPackage(func, handlerOptions, eventFilter) {
116
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "code::PublishPackage" }, handlerOptions);
117
117
  return this;
118
118
  }
119
119
  }
@@ -278,32 +278,32 @@ export class coin extends AptosBaseProcessor {
278
278
  }, fetchConfig);
279
279
  return this;
280
280
  }
281
- onEventDepositEvent(func, fetchConfig, eventFilter) {
282
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::DepositEvent" }, fetchConfig);
281
+ onEventDepositEvent(func, handlerOptions, eventFilter) {
282
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::DepositEvent" }, handlerOptions);
283
283
  return this;
284
284
  }
285
- onEventWithdrawEvent(func, fetchConfig, eventFilter) {
286
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::WithdrawEvent" }, fetchConfig);
285
+ onEventWithdrawEvent(func, handlerOptions, eventFilter) {
286
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::WithdrawEvent" }, handlerOptions);
287
287
  return this;
288
288
  }
289
- onEventCoinDeposit(func, fetchConfig, eventFilter) {
290
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinDeposit" }, fetchConfig);
289
+ onEventCoinDeposit(func, handlerOptions, eventFilter) {
290
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinDeposit" }, handlerOptions);
291
291
  return this;
292
292
  }
293
- onEventCoinEventHandleDeletion(func, fetchConfig, eventFilter) {
294
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinEventHandleDeletion" }, fetchConfig);
293
+ onEventCoinEventHandleDeletion(func, handlerOptions, eventFilter) {
294
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinEventHandleDeletion" }, handlerOptions);
295
295
  return this;
296
296
  }
297
- onEventCoinStoreDeletion(func, fetchConfig, eventFilter) {
298
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinStoreDeletion" }, fetchConfig);
297
+ onEventCoinStoreDeletion(func, handlerOptions, eventFilter) {
298
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinStoreDeletion" }, handlerOptions);
299
299
  return this;
300
300
  }
301
- onEventCoinWithdraw(func, fetchConfig, eventFilter) {
302
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinWithdraw" }, fetchConfig);
301
+ onEventCoinWithdraw(func, handlerOptions, eventFilter) {
302
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CoinWithdraw" }, handlerOptions);
303
303
  return this;
304
304
  }
305
- onEventPairCreation(func, fetchConfig, eventFilter) {
306
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::PairCreation" }, fetchConfig);
305
+ onEventPairCreation(func, handlerOptions, eventFilter) {
306
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::PairCreation" }, handlerOptions);
307
307
  return this;
308
308
  }
309
309
  }
@@ -931,8 +931,8 @@ export class jwks extends AptosBaseProcessor {
931
931
  }, fetchConfig);
932
932
  return this;
933
933
  }
934
- onEventObservedJWKsUpdated(func, fetchConfig, eventFilter) {
935
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "jwks::ObservedJWKsUpdated" }, fetchConfig);
934
+ onEventObservedJWKsUpdated(func, handlerOptions, eventFilter) {
935
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "jwks::ObservedJWKsUpdated" }, handlerOptions);
936
936
  return this;
937
937
  }
938
938
  }
@@ -1122,20 +1122,20 @@ export class block extends AptosBaseProcessor {
1122
1122
  static bind(options = {}) {
1123
1123
  return new block({ ...block.DEFAULT_OPTIONS, ...options });
1124
1124
  }
1125
- onEventNewBlock(func, fetchConfig, eventFilter) {
1126
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::NewBlock" }, fetchConfig);
1125
+ onEventNewBlock(func, handlerOptions, eventFilter) {
1126
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::NewBlock" }, handlerOptions);
1127
1127
  return this;
1128
1128
  }
1129
- onEventNewBlockEvent(func, fetchConfig, eventFilter) {
1130
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::NewBlockEvent" }, fetchConfig);
1129
+ onEventNewBlockEvent(func, handlerOptions, eventFilter) {
1130
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::NewBlockEvent" }, handlerOptions);
1131
1131
  return this;
1132
1132
  }
1133
- onEventUpdateEpochInterval(func, fetchConfig, eventFilter) {
1134
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::UpdateEpochInterval" }, fetchConfig);
1133
+ onEventUpdateEpochInterval(func, handlerOptions, eventFilter) {
1134
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::UpdateEpochInterval" }, handlerOptions);
1135
1135
  return this;
1136
1136
  }
1137
- onEventUpdateEpochIntervalEvent(func, fetchConfig, eventFilter) {
1138
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::UpdateEpochIntervalEvent" }, fetchConfig);
1137
+ onEventUpdateEpochIntervalEvent(func, handlerOptions, eventFilter) {
1138
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "block::UpdateEpochIntervalEvent" }, handlerOptions);
1139
1139
  return this;
1140
1140
  }
1141
1141
  }
@@ -1342,109 +1342,109 @@ export class stake extends AptosBaseProcessor {
1342
1342
  }, fetchConfig);
1343
1343
  return this;
1344
1344
  }
1345
- onEventAddStake(func, fetchConfig, eventFilter) {
1346
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::AddStake" }, fetchConfig);
1345
+ onEventAddStake(func, handlerOptions, eventFilter) {
1346
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::AddStake" }, handlerOptions);
1347
1347
  return this;
1348
1348
  }
1349
- onEventAddStakeEvent(func, fetchConfig, eventFilter) {
1350
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::AddStakeEvent" }, fetchConfig);
1349
+ onEventAddStakeEvent(func, handlerOptions, eventFilter) {
1350
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::AddStakeEvent" }, handlerOptions);
1351
1351
  return this;
1352
1352
  }
1353
- onEventDistributeRewards(func, fetchConfig, eventFilter) {
1354
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::DistributeRewards" }, fetchConfig);
1353
+ onEventDistributeRewards(func, handlerOptions, eventFilter) {
1354
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::DistributeRewards" }, handlerOptions);
1355
1355
  return this;
1356
1356
  }
1357
- onEventDistributeRewardsEvent(func, fetchConfig, eventFilter) {
1358
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::DistributeRewardsEvent" }, fetchConfig);
1357
+ onEventDistributeRewardsEvent(func, handlerOptions, eventFilter) {
1358
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::DistributeRewardsEvent" }, handlerOptions);
1359
1359
  return this;
1360
1360
  }
1361
- onEventIncreaseLockup(func, fetchConfig, eventFilter) {
1362
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::IncreaseLockup" }, fetchConfig);
1361
+ onEventIncreaseLockup(func, handlerOptions, eventFilter) {
1362
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::IncreaseLockup" }, handlerOptions);
1363
1363
  return this;
1364
1364
  }
1365
- onEventIncreaseLockupEvent(func, fetchConfig, eventFilter) {
1366
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::IncreaseLockupEvent" }, fetchConfig);
1365
+ onEventIncreaseLockupEvent(func, handlerOptions, eventFilter) {
1366
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::IncreaseLockupEvent" }, handlerOptions);
1367
1367
  return this;
1368
1368
  }
1369
- onEventJoinValidatorSet(func, fetchConfig, eventFilter) {
1370
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::JoinValidatorSet" }, fetchConfig);
1369
+ onEventJoinValidatorSet(func, handlerOptions, eventFilter) {
1370
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::JoinValidatorSet" }, handlerOptions);
1371
1371
  return this;
1372
1372
  }
1373
- onEventJoinValidatorSetEvent(func, fetchConfig, eventFilter) {
1374
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::JoinValidatorSetEvent" }, fetchConfig);
1373
+ onEventJoinValidatorSetEvent(func, handlerOptions, eventFilter) {
1374
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::JoinValidatorSetEvent" }, handlerOptions);
1375
1375
  return this;
1376
1376
  }
1377
- onEventLeaveValidatorSet(func, fetchConfig, eventFilter) {
1378
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::LeaveValidatorSet" }, fetchConfig);
1377
+ onEventLeaveValidatorSet(func, handlerOptions, eventFilter) {
1378
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::LeaveValidatorSet" }, handlerOptions);
1379
1379
  return this;
1380
1380
  }
1381
- onEventLeaveValidatorSetEvent(func, fetchConfig, eventFilter) {
1382
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::LeaveValidatorSetEvent" }, fetchConfig);
1381
+ onEventLeaveValidatorSetEvent(func, handlerOptions, eventFilter) {
1382
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::LeaveValidatorSetEvent" }, handlerOptions);
1383
1383
  return this;
1384
1384
  }
1385
- onEventReactivateStake(func, fetchConfig, eventFilter) {
1386
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::ReactivateStake" }, fetchConfig);
1385
+ onEventReactivateStake(func, handlerOptions, eventFilter) {
1386
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::ReactivateStake" }, handlerOptions);
1387
1387
  return this;
1388
1388
  }
1389
- onEventReactivateStakeEvent(func, fetchConfig, eventFilter) {
1390
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::ReactivateStakeEvent" }, fetchConfig);
1389
+ onEventReactivateStakeEvent(func, handlerOptions, eventFilter) {
1390
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::ReactivateStakeEvent" }, handlerOptions);
1391
1391
  return this;
1392
1392
  }
1393
- onEventRegisterValidatorCandidate(func, fetchConfig, eventFilter) {
1394
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RegisterValidatorCandidate" }, fetchConfig);
1393
+ onEventRegisterValidatorCandidate(func, handlerOptions, eventFilter) {
1394
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RegisterValidatorCandidate" }, handlerOptions);
1395
1395
  return this;
1396
1396
  }
1397
- onEventRegisterValidatorCandidateEvent(func, fetchConfig, eventFilter) {
1397
+ onEventRegisterValidatorCandidateEvent(func, handlerOptions, eventFilter) {
1398
1398
  this.onMoveEvent(func, {
1399
1399
  ...(eventFilter ?? {}),
1400
1400
  type: "stake::RegisterValidatorCandidateEvent",
1401
- }, fetchConfig);
1401
+ }, handlerOptions);
1402
1402
  return this;
1403
1403
  }
1404
- onEventRotateConsensusKey(func, fetchConfig, eventFilter) {
1405
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RotateConsensusKey" }, fetchConfig);
1404
+ onEventRotateConsensusKey(func, handlerOptions, eventFilter) {
1405
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RotateConsensusKey" }, handlerOptions);
1406
1406
  return this;
1407
1407
  }
1408
- onEventRotateConsensusKeyEvent(func, fetchConfig, eventFilter) {
1409
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RotateConsensusKeyEvent" }, fetchConfig);
1408
+ onEventRotateConsensusKeyEvent(func, handlerOptions, eventFilter) {
1409
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::RotateConsensusKeyEvent" }, handlerOptions);
1410
1410
  return this;
1411
1411
  }
1412
- onEventSetOperator(func, fetchConfig, eventFilter) {
1413
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::SetOperator" }, fetchConfig);
1412
+ onEventSetOperator(func, handlerOptions, eventFilter) {
1413
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::SetOperator" }, handlerOptions);
1414
1414
  return this;
1415
1415
  }
1416
- onEventSetOperatorEvent(func, fetchConfig, eventFilter) {
1417
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::SetOperatorEvent" }, fetchConfig);
1416
+ onEventSetOperatorEvent(func, handlerOptions, eventFilter) {
1417
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::SetOperatorEvent" }, handlerOptions);
1418
1418
  return this;
1419
1419
  }
1420
- onEventUnlockStake(func, fetchConfig, eventFilter) {
1421
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::UnlockStake" }, fetchConfig);
1420
+ onEventUnlockStake(func, handlerOptions, eventFilter) {
1421
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::UnlockStake" }, handlerOptions);
1422
1422
  return this;
1423
1423
  }
1424
- onEventUnlockStakeEvent(func, fetchConfig, eventFilter) {
1425
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::UnlockStakeEvent" }, fetchConfig);
1424
+ onEventUnlockStakeEvent(func, handlerOptions, eventFilter) {
1425
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::UnlockStakeEvent" }, handlerOptions);
1426
1426
  return this;
1427
1427
  }
1428
- onEventUpdateNetworkAndFullnodeAddresses(func, fetchConfig, eventFilter) {
1428
+ onEventUpdateNetworkAndFullnodeAddresses(func, handlerOptions, eventFilter) {
1429
1429
  this.onMoveEvent(func, {
1430
1430
  ...(eventFilter ?? {}),
1431
1431
  type: "stake::UpdateNetworkAndFullnodeAddresses",
1432
- }, fetchConfig);
1432
+ }, handlerOptions);
1433
1433
  return this;
1434
1434
  }
1435
- onEventUpdateNetworkAndFullnodeAddressesEvent(func, fetchConfig, eventFilter) {
1435
+ onEventUpdateNetworkAndFullnodeAddressesEvent(func, handlerOptions, eventFilter) {
1436
1436
  this.onMoveEvent(func, {
1437
1437
  ...(eventFilter ?? {}),
1438
1438
  type: "stake::UpdateNetworkAndFullnodeAddressesEvent",
1439
- }, fetchConfig);
1439
+ }, handlerOptions);
1440
1440
  return this;
1441
1441
  }
1442
- onEventWithdrawStake(func, fetchConfig, eventFilter) {
1443
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::WithdrawStake" }, fetchConfig);
1442
+ onEventWithdrawStake(func, handlerOptions, eventFilter) {
1443
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::WithdrawStake" }, handlerOptions);
1444
1444
  return this;
1445
1445
  }
1446
- onEventWithdrawStakeEvent(func, fetchConfig, eventFilter) {
1447
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::WithdrawStakeEvent" }, fetchConfig);
1446
+ onEventWithdrawStakeEvent(func, handlerOptions, eventFilter) {
1447
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "stake::WithdrawStakeEvent" }, handlerOptions);
1448
1448
  return this;
1449
1449
  }
1450
1450
  }
@@ -2224,12 +2224,12 @@ export class object$ extends AptosBaseProcessor {
2224
2224
  }, fetchConfig);
2225
2225
  return this;
2226
2226
  }
2227
- onEventTransfer(func, fetchConfig, eventFilter) {
2228
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object::Transfer" }, fetchConfig);
2227
+ onEventTransfer(func, handlerOptions, eventFilter) {
2228
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object::Transfer" }, handlerOptions);
2229
2229
  return this;
2230
2230
  }
2231
- onEventTransferEvent(func, fetchConfig, eventFilter) {
2232
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object::TransferEvent" }, fetchConfig);
2231
+ onEventTransferEvent(func, handlerOptions, eventFilter) {
2232
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object::TransferEvent" }, handlerOptions);
2233
2233
  return this;
2234
2234
  }
2235
2235
  }
@@ -2517,32 +2517,32 @@ export class voting extends AptosBaseProcessor {
2517
2517
  static bind(options = {}) {
2518
2518
  return new voting({ ...voting.DEFAULT_OPTIONS, ...options });
2519
2519
  }
2520
- onEventCreateProposal(func, fetchConfig, eventFilter) {
2521
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::CreateProposal" }, fetchConfig);
2520
+ onEventCreateProposal(func, handlerOptions, eventFilter) {
2521
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::CreateProposal" }, handlerOptions);
2522
2522
  return this;
2523
2523
  }
2524
- onEventCreateProposalEvent(func, fetchConfig, eventFilter) {
2525
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::CreateProposalEvent" }, fetchConfig);
2524
+ onEventCreateProposalEvent(func, handlerOptions, eventFilter) {
2525
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::CreateProposalEvent" }, handlerOptions);
2526
2526
  return this;
2527
2527
  }
2528
- onEventRegisterForum(func, fetchConfig, eventFilter) {
2529
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::RegisterForum" }, fetchConfig);
2528
+ onEventRegisterForum(func, handlerOptions, eventFilter) {
2529
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::RegisterForum" }, handlerOptions);
2530
2530
  return this;
2531
2531
  }
2532
- onEventRegisterForumEvent(func, fetchConfig, eventFilter) {
2533
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::RegisterForumEvent" }, fetchConfig);
2532
+ onEventRegisterForumEvent(func, handlerOptions, eventFilter) {
2533
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::RegisterForumEvent" }, handlerOptions);
2534
2534
  return this;
2535
2535
  }
2536
- onEventResolveProposal(func, fetchConfig, eventFilter) {
2537
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::ResolveProposal" }, fetchConfig);
2536
+ onEventResolveProposal(func, handlerOptions, eventFilter) {
2537
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::ResolveProposal" }, handlerOptions);
2538
2538
  return this;
2539
2539
  }
2540
- onEventVote(func, fetchConfig, eventFilter) {
2541
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::Vote" }, fetchConfig);
2540
+ onEventVote(func, handlerOptions, eventFilter) {
2541
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::Vote" }, handlerOptions);
2542
2542
  return this;
2543
2543
  }
2544
- onEventVoteEvent(func, fetchConfig, eventFilter) {
2545
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::VoteEvent" }, fetchConfig);
2544
+ onEventVoteEvent(func, handlerOptions, eventFilter) {
2545
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "voting::VoteEvent" }, handlerOptions);
2546
2546
  return this;
2547
2547
  }
2548
2548
  }
@@ -2956,20 +2956,20 @@ export class account extends AptosBaseProcessor {
2956
2956
  }, fetchConfig);
2957
2957
  return this;
2958
2958
  }
2959
- onEventCoinRegister(func, fetchConfig, eventFilter) {
2960
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::CoinRegister" }, fetchConfig);
2959
+ onEventCoinRegister(func, handlerOptions, eventFilter) {
2960
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::CoinRegister" }, handlerOptions);
2961
2961
  return this;
2962
2962
  }
2963
- onEventCoinRegisterEvent(func, fetchConfig, eventFilter) {
2964
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::CoinRegisterEvent" }, fetchConfig);
2963
+ onEventCoinRegisterEvent(func, handlerOptions, eventFilter) {
2964
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::CoinRegisterEvent" }, handlerOptions);
2965
2965
  return this;
2966
2966
  }
2967
- onEventKeyRotation(func, fetchConfig, eventFilter) {
2968
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::KeyRotation" }, fetchConfig);
2967
+ onEventKeyRotation(func, handlerOptions, eventFilter) {
2968
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::KeyRotation" }, handlerOptions);
2969
2969
  return this;
2970
2970
  }
2971
- onEventKeyRotationEvent(func, fetchConfig, eventFilter) {
2972
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::KeyRotationEvent" }, fetchConfig);
2971
+ onEventKeyRotationEvent(func, handlerOptions, eventFilter) {
2972
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "account::KeyRotationEvent" }, handlerOptions);
2973
2973
  return this;
2974
2974
  }
2975
2975
  }
@@ -3719,84 +3719,84 @@ export class vesting extends AptosBaseProcessor {
3719
3719
  }, fetchConfig);
3720
3720
  return this;
3721
3721
  }
3722
- onEventDistribute(func, fetchConfig, eventFilter) {
3723
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Distribute" }, fetchConfig);
3722
+ onEventDistribute(func, handlerOptions, eventFilter) {
3723
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Distribute" }, handlerOptions);
3724
3724
  return this;
3725
3725
  }
3726
- onEventDistributeEvent(func, fetchConfig, eventFilter) {
3727
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::DistributeEvent" }, fetchConfig);
3726
+ onEventDistributeEvent(func, handlerOptions, eventFilter) {
3727
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::DistributeEvent" }, handlerOptions);
3728
3728
  return this;
3729
3729
  }
3730
- onEventResetLockup(func, fetchConfig, eventFilter) {
3731
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::ResetLockup" }, fetchConfig);
3730
+ onEventResetLockup(func, handlerOptions, eventFilter) {
3731
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::ResetLockup" }, handlerOptions);
3732
3732
  return this;
3733
3733
  }
3734
- onEventResetLockupEvent(func, fetchConfig, eventFilter) {
3735
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::ResetLockupEvent" }, fetchConfig);
3734
+ onEventResetLockupEvent(func, handlerOptions, eventFilter) {
3735
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::ResetLockupEvent" }, handlerOptions);
3736
3736
  return this;
3737
3737
  }
3738
- onEventUpdateVoter(func, fetchConfig, eventFilter) {
3739
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateVoter" }, fetchConfig);
3738
+ onEventUpdateVoter(func, handlerOptions, eventFilter) {
3739
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateVoter" }, handlerOptions);
3740
3740
  return this;
3741
3741
  }
3742
- onEventUpdateVoterEvent(func, fetchConfig, eventFilter) {
3743
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateVoterEvent" }, fetchConfig);
3742
+ onEventUpdateVoterEvent(func, handlerOptions, eventFilter) {
3743
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateVoterEvent" }, handlerOptions);
3744
3744
  return this;
3745
3745
  }
3746
- onEventAdminWithdraw(func, fetchConfig, eventFilter) {
3747
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::AdminWithdraw" }, fetchConfig);
3746
+ onEventAdminWithdraw(func, handlerOptions, eventFilter) {
3747
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::AdminWithdraw" }, handlerOptions);
3748
3748
  return this;
3749
3749
  }
3750
- onEventAdminWithdrawEvent(func, fetchConfig, eventFilter) {
3751
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::AdminWithdrawEvent" }, fetchConfig);
3750
+ onEventAdminWithdrawEvent(func, handlerOptions, eventFilter) {
3751
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::AdminWithdrawEvent" }, handlerOptions);
3752
3752
  return this;
3753
3753
  }
3754
- onEventCreateVestingContract(func, fetchConfig, eventFilter) {
3755
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::CreateVestingContract" }, fetchConfig);
3754
+ onEventCreateVestingContract(func, handlerOptions, eventFilter) {
3755
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::CreateVestingContract" }, handlerOptions);
3756
3756
  return this;
3757
3757
  }
3758
- onEventCreateVestingContractEvent(func, fetchConfig, eventFilter) {
3759
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::CreateVestingContractEvent" }, fetchConfig);
3758
+ onEventCreateVestingContractEvent(func, handlerOptions, eventFilter) {
3759
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::CreateVestingContractEvent" }, handlerOptions);
3760
3760
  return this;
3761
3761
  }
3762
- onEventSetBeneficiary(func, fetchConfig, eventFilter) {
3763
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::SetBeneficiary" }, fetchConfig);
3762
+ onEventSetBeneficiary(func, handlerOptions, eventFilter) {
3763
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::SetBeneficiary" }, handlerOptions);
3764
3764
  return this;
3765
3765
  }
3766
- onEventSetBeneficiaryEvent(func, fetchConfig, eventFilter) {
3767
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::SetBeneficiaryEvent" }, fetchConfig);
3766
+ onEventSetBeneficiaryEvent(func, handlerOptions, eventFilter) {
3767
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::SetBeneficiaryEvent" }, handlerOptions);
3768
3768
  return this;
3769
3769
  }
3770
- onEventTerminate(func, fetchConfig, eventFilter) {
3771
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Terminate" }, fetchConfig);
3770
+ onEventTerminate(func, handlerOptions, eventFilter) {
3771
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Terminate" }, handlerOptions);
3772
3772
  return this;
3773
3773
  }
3774
- onEventTerminateEvent(func, fetchConfig, eventFilter) {
3775
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::TerminateEvent" }, fetchConfig);
3774
+ onEventTerminateEvent(func, handlerOptions, eventFilter) {
3775
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::TerminateEvent" }, handlerOptions);
3776
3776
  return this;
3777
3777
  }
3778
- onEventUnlockRewards(func, fetchConfig, eventFilter) {
3779
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UnlockRewards" }, fetchConfig);
3778
+ onEventUnlockRewards(func, handlerOptions, eventFilter) {
3779
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UnlockRewards" }, handlerOptions);
3780
3780
  return this;
3781
3781
  }
3782
- onEventUnlockRewardsEvent(func, fetchConfig, eventFilter) {
3783
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UnlockRewardsEvent" }, fetchConfig);
3782
+ onEventUnlockRewardsEvent(func, handlerOptions, eventFilter) {
3783
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UnlockRewardsEvent" }, handlerOptions);
3784
3784
  return this;
3785
3785
  }
3786
- onEventUpdateOperator(func, fetchConfig, eventFilter) {
3787
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateOperator" }, fetchConfig);
3786
+ onEventUpdateOperator(func, handlerOptions, eventFilter) {
3787
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateOperator" }, handlerOptions);
3788
3788
  return this;
3789
3789
  }
3790
- onEventUpdateOperatorEvent(func, fetchConfig, eventFilter) {
3791
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateOperatorEvent" }, fetchConfig);
3790
+ onEventUpdateOperatorEvent(func, handlerOptions, eventFilter) {
3791
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::UpdateOperatorEvent" }, handlerOptions);
3792
3792
  return this;
3793
3793
  }
3794
- onEventVest(func, fetchConfig, eventFilter) {
3795
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Vest" }, fetchConfig);
3794
+ onEventVest(func, handlerOptions, eventFilter) {
3795
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::Vest" }, handlerOptions);
3796
3796
  return this;
3797
3797
  }
3798
- onEventVestEvent(func, fetchConfig, eventFilter) {
3799
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::VestEvent" }, fetchConfig);
3798
+ onEventVestEvent(func, handlerOptions, eventFilter) {
3799
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vesting::VestEvent" }, handlerOptions);
3800
3800
  return this;
3801
3801
  }
3802
3802
  }
@@ -5059,8 +5059,8 @@ export class randomness extends AptosBaseProcessor {
5059
5059
  static bind(options = {}) {
5060
5060
  return new randomness({ ...randomness.DEFAULT_OPTIONS, ...options });
5061
5061
  }
5062
- onEventRandomnessGeneratedEvent(func, fetchConfig, eventFilter) {
5063
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "randomness::RandomnessGeneratedEvent" }, fetchConfig);
5062
+ onEventRandomnessGeneratedEvent(func, handlerOptions, eventFilter) {
5063
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "randomness::RandomnessGeneratedEvent" }, handlerOptions);
5064
5064
  return this;
5065
5065
  }
5066
5066
  }
@@ -5625,18 +5625,18 @@ export class aptos_account extends AptosBaseProcessor {
5625
5625
  }, fetchConfig);
5626
5626
  return this;
5627
5627
  }
5628
- onEventDirectCoinTransferConfigUpdated(func, fetchConfig, eventFilter) {
5628
+ onEventDirectCoinTransferConfigUpdated(func, handlerOptions, eventFilter) {
5629
5629
  this.onMoveEvent(func, {
5630
5630
  ...(eventFilter ?? {}),
5631
5631
  type: "aptos_account::DirectCoinTransferConfigUpdated",
5632
- }, fetchConfig);
5632
+ }, handlerOptions);
5633
5633
  return this;
5634
5634
  }
5635
- onEventDirectCoinTransferConfigUpdatedEvent(func, fetchConfig, eventFilter) {
5635
+ onEventDirectCoinTransferConfigUpdatedEvent(func, handlerOptions, eventFilter) {
5636
5636
  this.onMoveEvent(func, {
5637
5637
  ...(eventFilter ?? {}),
5638
5638
  type: "aptos_account::DirectCoinTransferConfigUpdatedEvent",
5639
- }, fetchConfig);
5639
+ }, handlerOptions);
5640
5640
  return this;
5641
5641
  }
5642
5642
  }
@@ -6356,32 +6356,32 @@ export class fungible_asset extends AptosBaseProcessor {
6356
6356
  }, fetchConfig);
6357
6357
  return this;
6358
6358
  }
6359
- onEventDeposit(func, fetchConfig, eventFilter) {
6360
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Deposit" }, fetchConfig);
6359
+ onEventDeposit(func, handlerOptions, eventFilter) {
6360
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Deposit" }, handlerOptions);
6361
6361
  return this;
6362
6362
  }
6363
- onEventDepositEvent(func, fetchConfig, eventFilter) {
6364
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::DepositEvent" }, fetchConfig);
6363
+ onEventDepositEvent(func, handlerOptions, eventFilter) {
6364
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::DepositEvent" }, handlerOptions);
6365
6365
  return this;
6366
6366
  }
6367
- onEventFrozen(func, fetchConfig, eventFilter) {
6368
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Frozen" }, fetchConfig);
6367
+ onEventFrozen(func, handlerOptions, eventFilter) {
6368
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Frozen" }, handlerOptions);
6369
6369
  return this;
6370
6370
  }
6371
- onEventFrozenEvent(func, fetchConfig, eventFilter) {
6372
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::FrozenEvent" }, fetchConfig);
6371
+ onEventFrozenEvent(func, handlerOptions, eventFilter) {
6372
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::FrozenEvent" }, handlerOptions);
6373
6373
  return this;
6374
6374
  }
6375
- onEventFungibleStoreDeletion(func, fetchConfig, eventFilter) {
6376
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::FungibleStoreDeletion" }, fetchConfig);
6375
+ onEventFungibleStoreDeletion(func, handlerOptions, eventFilter) {
6376
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::FungibleStoreDeletion" }, handlerOptions);
6377
6377
  return this;
6378
6378
  }
6379
- onEventWithdraw(func, fetchConfig, eventFilter) {
6380
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Withdraw" }, fetchConfig);
6379
+ onEventWithdraw(func, handlerOptions, eventFilter) {
6380
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::Withdraw" }, handlerOptions);
6381
6381
  return this;
6382
6382
  }
6383
- onEventWithdrawEvent(func, fetchConfig, eventFilter) {
6384
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::WithdrawEvent" }, fetchConfig);
6383
+ onEventWithdrawEvent(func, handlerOptions, eventFilter) {
6384
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "fungible_asset::WithdrawEvent" }, handlerOptions);
6385
6385
  return this;
6386
6386
  }
6387
6387
  }
@@ -7093,117 +7093,117 @@ export class delegation_pool extends AptosBaseProcessor {
7093
7093
  }, fetchConfig);
7094
7094
  return this;
7095
7095
  }
7096
- onEventCreateProposal(func, fetchConfig, eventFilter) {
7097
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::CreateProposal" }, fetchConfig);
7096
+ onEventCreateProposal(func, handlerOptions, eventFilter) {
7097
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::CreateProposal" }, handlerOptions);
7098
7098
  return this;
7099
7099
  }
7100
- onEventCreateProposalEvent(func, fetchConfig, eventFilter) {
7101
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::CreateProposalEvent" }, fetchConfig);
7100
+ onEventCreateProposalEvent(func, handlerOptions, eventFilter) {
7101
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::CreateProposalEvent" }, handlerOptions);
7102
7102
  return this;
7103
7103
  }
7104
- onEventVote(func, fetchConfig, eventFilter) {
7105
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::Vote" }, fetchConfig);
7104
+ onEventVote(func, handlerOptions, eventFilter) {
7105
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::Vote" }, handlerOptions);
7106
7106
  return this;
7107
7107
  }
7108
- onEventVoteEvent(func, fetchConfig, eventFilter) {
7109
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::VoteEvent" }, fetchConfig);
7108
+ onEventVoteEvent(func, handlerOptions, eventFilter) {
7109
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::VoteEvent" }, handlerOptions);
7110
7110
  return this;
7111
7111
  }
7112
- onEventAddStake(func, fetchConfig, eventFilter) {
7113
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AddStake" }, fetchConfig);
7112
+ onEventAddStake(func, handlerOptions, eventFilter) {
7113
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AddStake" }, handlerOptions);
7114
7114
  return this;
7115
7115
  }
7116
- onEventAddStakeEvent(func, fetchConfig, eventFilter) {
7117
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AddStakeEvent" }, fetchConfig);
7116
+ onEventAddStakeEvent(func, handlerOptions, eventFilter) {
7117
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AddStakeEvent" }, handlerOptions);
7118
7118
  return this;
7119
7119
  }
7120
- onEventReactivateStake(func, fetchConfig, eventFilter) {
7121
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::ReactivateStake" }, fetchConfig);
7120
+ onEventReactivateStake(func, handlerOptions, eventFilter) {
7121
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::ReactivateStake" }, handlerOptions);
7122
7122
  return this;
7123
7123
  }
7124
- onEventReactivateStakeEvent(func, fetchConfig, eventFilter) {
7125
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::ReactivateStakeEvent" }, fetchConfig);
7124
+ onEventReactivateStakeEvent(func, handlerOptions, eventFilter) {
7125
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::ReactivateStakeEvent" }, handlerOptions);
7126
7126
  return this;
7127
7127
  }
7128
- onEventUnlockStake(func, fetchConfig, eventFilter) {
7129
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::UnlockStake" }, fetchConfig);
7128
+ onEventUnlockStake(func, handlerOptions, eventFilter) {
7129
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::UnlockStake" }, handlerOptions);
7130
7130
  return this;
7131
7131
  }
7132
- onEventUnlockStakeEvent(func, fetchConfig, eventFilter) {
7133
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::UnlockStakeEvent" }, fetchConfig);
7132
+ onEventUnlockStakeEvent(func, handlerOptions, eventFilter) {
7133
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::UnlockStakeEvent" }, handlerOptions);
7134
7134
  return this;
7135
7135
  }
7136
- onEventWithdrawStake(func, fetchConfig, eventFilter) {
7137
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::WithdrawStake" }, fetchConfig);
7136
+ onEventWithdrawStake(func, handlerOptions, eventFilter) {
7137
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::WithdrawStake" }, handlerOptions);
7138
7138
  return this;
7139
7139
  }
7140
- onEventWithdrawStakeEvent(func, fetchConfig, eventFilter) {
7141
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::WithdrawStakeEvent" }, fetchConfig);
7140
+ onEventWithdrawStakeEvent(func, handlerOptions, eventFilter) {
7141
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::WithdrawStakeEvent" }, handlerOptions);
7142
7142
  return this;
7143
7143
  }
7144
- onEventAllowlistDelegator(func, fetchConfig, eventFilter) {
7145
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AllowlistDelegator" }, fetchConfig);
7144
+ onEventAllowlistDelegator(func, handlerOptions, eventFilter) {
7145
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::AllowlistDelegator" }, handlerOptions);
7146
7146
  return this;
7147
7147
  }
7148
- onEventCommissionPercentageChange(func, fetchConfig, eventFilter) {
7148
+ onEventCommissionPercentageChange(func, handlerOptions, eventFilter) {
7149
7149
  this.onMoveEvent(func, {
7150
7150
  ...(eventFilter ?? {}),
7151
7151
  type: "delegation_pool::CommissionPercentageChange",
7152
- }, fetchConfig);
7152
+ }, handlerOptions);
7153
7153
  return this;
7154
7154
  }
7155
- onEventDelegateVotingPower(func, fetchConfig, eventFilter) {
7156
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::DelegateVotingPower" }, fetchConfig);
7155
+ onEventDelegateVotingPower(func, handlerOptions, eventFilter) {
7156
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::DelegateVotingPower" }, handlerOptions);
7157
7157
  return this;
7158
7158
  }
7159
- onEventDelegateVotingPowerEvent(func, fetchConfig, eventFilter) {
7159
+ onEventDelegateVotingPowerEvent(func, handlerOptions, eventFilter) {
7160
7160
  this.onMoveEvent(func, {
7161
7161
  ...(eventFilter ?? {}),
7162
7162
  type: "delegation_pool::DelegateVotingPowerEvent",
7163
- }, fetchConfig);
7163
+ }, handlerOptions);
7164
7164
  return this;
7165
7165
  }
7166
- onEventDisableDelegatorsAllowlisting(func, fetchConfig, eventFilter) {
7166
+ onEventDisableDelegatorsAllowlisting(func, handlerOptions, eventFilter) {
7167
7167
  this.onMoveEvent(func, {
7168
7168
  ...(eventFilter ?? {}),
7169
7169
  type: "delegation_pool::DisableDelegatorsAllowlisting",
7170
- }, fetchConfig);
7170
+ }, handlerOptions);
7171
7171
  return this;
7172
7172
  }
7173
- onEventDistributeCommission(func, fetchConfig, eventFilter) {
7174
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::DistributeCommission" }, fetchConfig);
7173
+ onEventDistributeCommission(func, handlerOptions, eventFilter) {
7174
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::DistributeCommission" }, handlerOptions);
7175
7175
  return this;
7176
7176
  }
7177
- onEventDistributeCommissionEvent(func, fetchConfig, eventFilter) {
7177
+ onEventDistributeCommissionEvent(func, handlerOptions, eventFilter) {
7178
7178
  this.onMoveEvent(func, {
7179
7179
  ...(eventFilter ?? {}),
7180
7180
  type: "delegation_pool::DistributeCommissionEvent",
7181
- }, fetchConfig);
7181
+ }, handlerOptions);
7182
7182
  return this;
7183
7183
  }
7184
- onEventEnableDelegatorsAllowlisting(func, fetchConfig, eventFilter) {
7184
+ onEventEnableDelegatorsAllowlisting(func, handlerOptions, eventFilter) {
7185
7185
  this.onMoveEvent(func, {
7186
7186
  ...(eventFilter ?? {}),
7187
7187
  type: "delegation_pool::EnableDelegatorsAllowlisting",
7188
- }, fetchConfig);
7188
+ }, handlerOptions);
7189
7189
  return this;
7190
7190
  }
7191
- onEventEvictDelegator(func, fetchConfig, eventFilter) {
7192
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::EvictDelegator" }, fetchConfig);
7191
+ onEventEvictDelegator(func, handlerOptions, eventFilter) {
7192
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "delegation_pool::EvictDelegator" }, handlerOptions);
7193
7193
  return this;
7194
7194
  }
7195
- onEventRemoveDelegatorFromAllowlist(func, fetchConfig, eventFilter) {
7195
+ onEventRemoveDelegatorFromAllowlist(func, handlerOptions, eventFilter) {
7196
7196
  this.onMoveEvent(func, {
7197
7197
  ...(eventFilter ?? {}),
7198
7198
  type: "delegation_pool::RemoveDelegatorFromAllowlist",
7199
- }, fetchConfig);
7199
+ }, handlerOptions);
7200
7200
  return this;
7201
7201
  }
7202
- onEventSetBeneficiaryForOperator(func, fetchConfig, eventFilter) {
7202
+ onEventSetBeneficiaryForOperator(func, handlerOptions, eventFilter) {
7203
7203
  this.onMoveEvent(func, {
7204
7204
  ...(eventFilter ?? {}),
7205
7205
  type: "delegation_pool::SetBeneficiaryForOperator",
7206
- }, fetchConfig);
7206
+ }, handlerOptions);
7207
7207
  return this;
7208
7208
  }
7209
7209
  }
@@ -8248,12 +8248,12 @@ export class reconfiguration extends AptosBaseProcessor {
8248
8248
  ...options,
8249
8249
  });
8250
8250
  }
8251
- onEventNewEpoch(func, fetchConfig, eventFilter) {
8252
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "reconfiguration::NewEpoch" }, fetchConfig);
8251
+ onEventNewEpoch(func, handlerOptions, eventFilter) {
8252
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "reconfiguration::NewEpoch" }, handlerOptions);
8253
8253
  return this;
8254
8254
  }
8255
- onEventNewEpochEvent(func, fetchConfig, eventFilter) {
8256
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "reconfiguration::NewEpochEvent" }, fetchConfig);
8255
+ onEventNewEpochEvent(func, handlerOptions, eventFilter) {
8256
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "reconfiguration::NewEpochEvent" }, handlerOptions);
8257
8257
  return this;
8258
8258
  }
8259
8259
  }
@@ -8316,8 +8316,8 @@ export class transaction_fee extends AptosBaseProcessor {
8316
8316
  }, fetchConfig);
8317
8317
  return this;
8318
8318
  }
8319
- onEventFeeStatement(func, fetchConfig, eventFilter) {
8320
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "transaction_fee::FeeStatement" }, fetchConfig);
8319
+ onEventFeeStatement(func, handlerOptions, eventFilter) {
8320
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "transaction_fee::FeeStatement" }, handlerOptions);
8321
8321
  return this;
8322
8322
  }
8323
8323
  }
@@ -8472,28 +8472,28 @@ export class aptos_governance extends AptosBaseProcessor {
8472
8472
  }, fetchConfig);
8473
8473
  return this;
8474
8474
  }
8475
- onEventCreateProposal(func, fetchConfig, eventFilter) {
8476
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::CreateProposal" }, fetchConfig);
8475
+ onEventCreateProposal(func, handlerOptions, eventFilter) {
8476
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::CreateProposal" }, handlerOptions);
8477
8477
  return this;
8478
8478
  }
8479
- onEventCreateProposalEvent(func, fetchConfig, eventFilter) {
8480
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::CreateProposalEvent" }, fetchConfig);
8479
+ onEventCreateProposalEvent(func, handlerOptions, eventFilter) {
8480
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::CreateProposalEvent" }, handlerOptions);
8481
8481
  return this;
8482
8482
  }
8483
- onEventVote(func, fetchConfig, eventFilter) {
8484
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::Vote" }, fetchConfig);
8483
+ onEventVote(func, handlerOptions, eventFilter) {
8484
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::Vote" }, handlerOptions);
8485
8485
  return this;
8486
8486
  }
8487
- onEventVoteEvent(func, fetchConfig, eventFilter) {
8488
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::VoteEvent" }, fetchConfig);
8487
+ onEventVoteEvent(func, handlerOptions, eventFilter) {
8488
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::VoteEvent" }, handlerOptions);
8489
8489
  return this;
8490
8490
  }
8491
- onEventUpdateConfig(func, fetchConfig, eventFilter) {
8492
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::UpdateConfig" }, fetchConfig);
8491
+ onEventUpdateConfig(func, handlerOptions, eventFilter) {
8492
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::UpdateConfig" }, handlerOptions);
8493
8493
  return this;
8494
8494
  }
8495
- onEventUpdateConfigEvent(func, fetchConfig, eventFilter) {
8496
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::UpdateConfigEvent" }, fetchConfig);
8495
+ onEventUpdateConfigEvent(func, handlerOptions, eventFilter) {
8496
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "aptos_governance::UpdateConfigEvent" }, handlerOptions);
8497
8497
  return this;
8498
8498
  }
8499
8499
  }
@@ -9249,106 +9249,106 @@ export class multisig_account extends AptosBaseProcessor {
9249
9249
  }, fetchConfig);
9250
9250
  return this;
9251
9251
  }
9252
- onEventVote(func, fetchConfig, eventFilter) {
9253
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::Vote" }, fetchConfig);
9252
+ onEventVote(func, handlerOptions, eventFilter) {
9253
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::Vote" }, handlerOptions);
9254
9254
  return this;
9255
9255
  }
9256
- onEventVoteEvent(func, fetchConfig, eventFilter) {
9257
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::VoteEvent" }, fetchConfig);
9256
+ onEventVoteEvent(func, handlerOptions, eventFilter) {
9257
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::VoteEvent" }, handlerOptions);
9258
9258
  return this;
9259
9259
  }
9260
- onEventAddOwners(func, fetchConfig, eventFilter) {
9261
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::AddOwners" }, fetchConfig);
9260
+ onEventAddOwners(func, handlerOptions, eventFilter) {
9261
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::AddOwners" }, handlerOptions);
9262
9262
  return this;
9263
9263
  }
9264
- onEventAddOwnersEvent(func, fetchConfig, eventFilter) {
9265
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::AddOwnersEvent" }, fetchConfig);
9264
+ onEventAddOwnersEvent(func, handlerOptions, eventFilter) {
9265
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::AddOwnersEvent" }, handlerOptions);
9266
9266
  return this;
9267
9267
  }
9268
- onEventCreateTransaction(func, fetchConfig, eventFilter) {
9269
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::CreateTransaction" }, fetchConfig);
9268
+ onEventCreateTransaction(func, handlerOptions, eventFilter) {
9269
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::CreateTransaction" }, handlerOptions);
9270
9270
  return this;
9271
9271
  }
9272
- onEventCreateTransactionEvent(func, fetchConfig, eventFilter) {
9272
+ onEventCreateTransactionEvent(func, handlerOptions, eventFilter) {
9273
9273
  this.onMoveEvent(func, {
9274
9274
  ...(eventFilter ?? {}),
9275
9275
  type: "multisig_account::CreateTransactionEvent",
9276
- }, fetchConfig);
9276
+ }, handlerOptions);
9277
9277
  return this;
9278
9278
  }
9279
- onEventExecuteRejectedTransaction(func, fetchConfig, eventFilter) {
9279
+ onEventExecuteRejectedTransaction(func, handlerOptions, eventFilter) {
9280
9280
  this.onMoveEvent(func, {
9281
9281
  ...(eventFilter ?? {}),
9282
9282
  type: "multisig_account::ExecuteRejectedTransaction",
9283
- }, fetchConfig);
9283
+ }, handlerOptions);
9284
9284
  return this;
9285
9285
  }
9286
- onEventExecuteRejectedTransactionEvent(func, fetchConfig, eventFilter) {
9286
+ onEventExecuteRejectedTransactionEvent(func, handlerOptions, eventFilter) {
9287
9287
  this.onMoveEvent(func, {
9288
9288
  ...(eventFilter ?? {}),
9289
9289
  type: "multisig_account::ExecuteRejectedTransactionEvent",
9290
- }, fetchConfig);
9290
+ }, handlerOptions);
9291
9291
  return this;
9292
9292
  }
9293
- onEventMetadataUpdated(func, fetchConfig, eventFilter) {
9294
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::MetadataUpdated" }, fetchConfig);
9293
+ onEventMetadataUpdated(func, handlerOptions, eventFilter) {
9294
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::MetadataUpdated" }, handlerOptions);
9295
9295
  return this;
9296
9296
  }
9297
- onEventMetadataUpdatedEvent(func, fetchConfig, eventFilter) {
9297
+ onEventMetadataUpdatedEvent(func, handlerOptions, eventFilter) {
9298
9298
  this.onMoveEvent(func, {
9299
9299
  ...(eventFilter ?? {}),
9300
9300
  type: "multisig_account::MetadataUpdatedEvent",
9301
- }, fetchConfig);
9301
+ }, handlerOptions);
9302
9302
  return this;
9303
9303
  }
9304
- onEventRemoveOwners(func, fetchConfig, eventFilter) {
9305
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::RemoveOwners" }, fetchConfig);
9304
+ onEventRemoveOwners(func, handlerOptions, eventFilter) {
9305
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::RemoveOwners" }, handlerOptions);
9306
9306
  return this;
9307
9307
  }
9308
- onEventRemoveOwnersEvent(func, fetchConfig, eventFilter) {
9309
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::RemoveOwnersEvent" }, fetchConfig);
9308
+ onEventRemoveOwnersEvent(func, handlerOptions, eventFilter) {
9309
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "multisig_account::RemoveOwnersEvent" }, handlerOptions);
9310
9310
  return this;
9311
9311
  }
9312
- onEventTransactionExecutionFailed(func, fetchConfig, eventFilter) {
9312
+ onEventTransactionExecutionFailed(func, handlerOptions, eventFilter) {
9313
9313
  this.onMoveEvent(func, {
9314
9314
  ...(eventFilter ?? {}),
9315
9315
  type: "multisig_account::TransactionExecutionFailed",
9316
- }, fetchConfig);
9316
+ }, handlerOptions);
9317
9317
  return this;
9318
9318
  }
9319
- onEventTransactionExecutionFailedEvent(func, fetchConfig, eventFilter) {
9319
+ onEventTransactionExecutionFailedEvent(func, handlerOptions, eventFilter) {
9320
9320
  this.onMoveEvent(func, {
9321
9321
  ...(eventFilter ?? {}),
9322
9322
  type: "multisig_account::TransactionExecutionFailedEvent",
9323
- }, fetchConfig);
9323
+ }, handlerOptions);
9324
9324
  return this;
9325
9325
  }
9326
- onEventTransactionExecutionSucceeded(func, fetchConfig, eventFilter) {
9326
+ onEventTransactionExecutionSucceeded(func, handlerOptions, eventFilter) {
9327
9327
  this.onMoveEvent(func, {
9328
9328
  ...(eventFilter ?? {}),
9329
9329
  type: "multisig_account::TransactionExecutionSucceeded",
9330
- }, fetchConfig);
9330
+ }, handlerOptions);
9331
9331
  return this;
9332
9332
  }
9333
- onEventTransactionExecutionSucceededEvent(func, fetchConfig, eventFilter) {
9333
+ onEventTransactionExecutionSucceededEvent(func, handlerOptions, eventFilter) {
9334
9334
  this.onMoveEvent(func, {
9335
9335
  ...(eventFilter ?? {}),
9336
9336
  type: "multisig_account::TransactionExecutionSucceededEvent",
9337
- }, fetchConfig);
9337
+ }, handlerOptions);
9338
9338
  return this;
9339
9339
  }
9340
- onEventUpdateSignaturesRequired(func, fetchConfig, eventFilter) {
9340
+ onEventUpdateSignaturesRequired(func, handlerOptions, eventFilter) {
9341
9341
  this.onMoveEvent(func, {
9342
9342
  ...(eventFilter ?? {}),
9343
9343
  type: "multisig_account::UpdateSignaturesRequired",
9344
- }, fetchConfig);
9344
+ }, handlerOptions);
9345
9345
  return this;
9346
9346
  }
9347
- onEventUpdateSignaturesRequiredEvent(func, fetchConfig, eventFilter) {
9347
+ onEventUpdateSignaturesRequiredEvent(func, handlerOptions, eventFilter) {
9348
9348
  this.onMoveEvent(func, {
9349
9349
  ...(eventFilter ?? {}),
9350
9350
  type: "multisig_account::UpdateSignaturesRequiredEvent",
9351
- }, fetchConfig);
9351
+ }, handlerOptions);
9352
9352
  return this;
9353
9353
  }
9354
9354
  }
@@ -10460,113 +10460,113 @@ export class staking_contract extends AptosBaseProcessor {
10460
10460
  }, fetchConfig);
10461
10461
  return this;
10462
10462
  }
10463
- onEventAddStake(func, fetchConfig, eventFilter) {
10464
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddStake" }, fetchConfig);
10463
+ onEventAddStake(func, handlerOptions, eventFilter) {
10464
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddStake" }, handlerOptions);
10465
10465
  return this;
10466
10466
  }
10467
- onEventAddStakeEvent(func, fetchConfig, eventFilter) {
10468
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddStakeEvent" }, fetchConfig);
10467
+ onEventAddStakeEvent(func, handlerOptions, eventFilter) {
10468
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddStakeEvent" }, handlerOptions);
10469
10469
  return this;
10470
10470
  }
10471
- onEventUnlockStake(func, fetchConfig, eventFilter) {
10472
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UnlockStake" }, fetchConfig);
10471
+ onEventUnlockStake(func, handlerOptions, eventFilter) {
10472
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UnlockStake" }, handlerOptions);
10473
10473
  return this;
10474
10474
  }
10475
- onEventUnlockStakeEvent(func, fetchConfig, eventFilter) {
10476
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UnlockStakeEvent" }, fetchConfig);
10475
+ onEventUnlockStakeEvent(func, handlerOptions, eventFilter) {
10476
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UnlockStakeEvent" }, handlerOptions);
10477
10477
  return this;
10478
10478
  }
10479
- onEventSetBeneficiaryForOperator(func, fetchConfig, eventFilter) {
10479
+ onEventSetBeneficiaryForOperator(func, handlerOptions, eventFilter) {
10480
10480
  this.onMoveEvent(func, {
10481
10481
  ...(eventFilter ?? {}),
10482
10482
  type: "staking_contract::SetBeneficiaryForOperator",
10483
- }, fetchConfig);
10483
+ }, handlerOptions);
10484
10484
  return this;
10485
10485
  }
10486
- onEventAddDistribution(func, fetchConfig, eventFilter) {
10487
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddDistribution" }, fetchConfig);
10486
+ onEventAddDistribution(func, handlerOptions, eventFilter) {
10487
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::AddDistribution" }, handlerOptions);
10488
10488
  return this;
10489
10489
  }
10490
- onEventAddDistributionEvent(func, fetchConfig, eventFilter) {
10490
+ onEventAddDistributionEvent(func, handlerOptions, eventFilter) {
10491
10491
  this.onMoveEvent(func, {
10492
10492
  ...(eventFilter ?? {}),
10493
10493
  type: "staking_contract::AddDistributionEvent",
10494
- }, fetchConfig);
10494
+ }, handlerOptions);
10495
10495
  return this;
10496
10496
  }
10497
- onEventCreateStakingContract(func, fetchConfig, eventFilter) {
10497
+ onEventCreateStakingContract(func, handlerOptions, eventFilter) {
10498
10498
  this.onMoveEvent(func, {
10499
10499
  ...(eventFilter ?? {}),
10500
10500
  type: "staking_contract::CreateStakingContract",
10501
- }, fetchConfig);
10501
+ }, handlerOptions);
10502
10502
  return this;
10503
10503
  }
10504
- onEventCreateStakingContractEvent(func, fetchConfig, eventFilter) {
10504
+ onEventCreateStakingContractEvent(func, handlerOptions, eventFilter) {
10505
10505
  this.onMoveEvent(func, {
10506
10506
  ...(eventFilter ?? {}),
10507
10507
  type: "staking_contract::CreateStakingContractEvent",
10508
- }, fetchConfig);
10508
+ }, handlerOptions);
10509
10509
  return this;
10510
10510
  }
10511
- onEventDistribute(func, fetchConfig, eventFilter) {
10512
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::Distribute" }, fetchConfig);
10511
+ onEventDistribute(func, handlerOptions, eventFilter) {
10512
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::Distribute" }, handlerOptions);
10513
10513
  return this;
10514
10514
  }
10515
- onEventDistributeEvent(func, fetchConfig, eventFilter) {
10516
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::DistributeEvent" }, fetchConfig);
10515
+ onEventDistributeEvent(func, handlerOptions, eventFilter) {
10516
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::DistributeEvent" }, handlerOptions);
10517
10517
  return this;
10518
10518
  }
10519
- onEventRequestCommission(func, fetchConfig, eventFilter) {
10520
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::RequestCommission" }, fetchConfig);
10519
+ onEventRequestCommission(func, handlerOptions, eventFilter) {
10520
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::RequestCommission" }, handlerOptions);
10521
10521
  return this;
10522
10522
  }
10523
- onEventRequestCommissionEvent(func, fetchConfig, eventFilter) {
10523
+ onEventRequestCommissionEvent(func, handlerOptions, eventFilter) {
10524
10524
  this.onMoveEvent(func, {
10525
10525
  ...(eventFilter ?? {}),
10526
10526
  type: "staking_contract::RequestCommissionEvent",
10527
- }, fetchConfig);
10527
+ }, handlerOptions);
10528
10528
  return this;
10529
10529
  }
10530
- onEventResetLockup(func, fetchConfig, eventFilter) {
10531
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::ResetLockup" }, fetchConfig);
10530
+ onEventResetLockup(func, handlerOptions, eventFilter) {
10531
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::ResetLockup" }, handlerOptions);
10532
10532
  return this;
10533
10533
  }
10534
- onEventResetLockupEvent(func, fetchConfig, eventFilter) {
10535
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::ResetLockupEvent" }, fetchConfig);
10534
+ onEventResetLockupEvent(func, handlerOptions, eventFilter) {
10535
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::ResetLockupEvent" }, handlerOptions);
10536
10536
  return this;
10537
10537
  }
10538
- onEventStakingGroupUpdateCommissionEvent(func, fetchConfig, eventFilter) {
10538
+ onEventStakingGroupUpdateCommissionEvent(func, handlerOptions, eventFilter) {
10539
10539
  this.onMoveEvent(func, {
10540
10540
  ...(eventFilter ?? {}),
10541
10541
  type: "staking_contract::StakingGroupUpdateCommissionEvent",
10542
- }, fetchConfig);
10542
+ }, handlerOptions);
10543
10543
  return this;
10544
10544
  }
10545
- onEventSwitchOperator(func, fetchConfig, eventFilter) {
10546
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::SwitchOperator" }, fetchConfig);
10545
+ onEventSwitchOperator(func, handlerOptions, eventFilter) {
10546
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::SwitchOperator" }, handlerOptions);
10547
10547
  return this;
10548
10548
  }
10549
- onEventSwitchOperatorEvent(func, fetchConfig, eventFilter) {
10550
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::SwitchOperatorEvent" }, fetchConfig);
10549
+ onEventSwitchOperatorEvent(func, handlerOptions, eventFilter) {
10550
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::SwitchOperatorEvent" }, handlerOptions);
10551
10551
  return this;
10552
10552
  }
10553
- onEventUpdateCommission(func, fetchConfig, eventFilter) {
10554
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateCommission" }, fetchConfig);
10553
+ onEventUpdateCommission(func, handlerOptions, eventFilter) {
10554
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateCommission" }, handlerOptions);
10555
10555
  return this;
10556
10556
  }
10557
- onEventUpdateCommissionEvent(func, fetchConfig, eventFilter) {
10557
+ onEventUpdateCommissionEvent(func, handlerOptions, eventFilter) {
10558
10558
  this.onMoveEvent(func, {
10559
10559
  ...(eventFilter ?? {}),
10560
10560
  type: "staking_contract::UpdateCommissionEvent",
10561
- }, fetchConfig);
10561
+ }, handlerOptions);
10562
10562
  return this;
10563
10563
  }
10564
- onEventUpdateVoter(func, fetchConfig, eventFilter) {
10565
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateVoter" }, fetchConfig);
10564
+ onEventUpdateVoter(func, handlerOptions, eventFilter) {
10565
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateVoter" }, handlerOptions);
10566
10566
  return this;
10567
10567
  }
10568
- onEventUpdateVoterEvent(func, fetchConfig, eventFilter) {
10569
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateVoterEvent" }, fetchConfig);
10568
+ onEventUpdateVoterEvent(func, handlerOptions, eventFilter) {
10569
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_contract::UpdateVoterEvent" }, handlerOptions);
10570
10570
  return this;
10571
10571
  }
10572
10572
  }
@@ -11269,18 +11269,18 @@ export class account_abstraction extends AptosBaseProcessor {
11269
11269
  }, fetchConfig);
11270
11270
  return this;
11271
11271
  }
11272
- onEventRemoveDispatchableAuthenticator(func, fetchConfig, eventFilter) {
11272
+ onEventRemoveDispatchableAuthenticator(func, handlerOptions, eventFilter) {
11273
11273
  this.onMoveEvent(func, {
11274
11274
  ...(eventFilter ?? {}),
11275
11275
  type: "account_abstraction::RemoveDispatchableAuthenticator",
11276
- }, fetchConfig);
11276
+ }, handlerOptions);
11277
11277
  return this;
11278
11278
  }
11279
- onEventUpdateDispatchableAuthenticator(func, fetchConfig, eventFilter) {
11279
+ onEventUpdateDispatchableAuthenticator(func, handlerOptions, eventFilter) {
11280
11280
  this.onMoveEvent(func, {
11281
11281
  ...(eventFilter ?? {}),
11282
11282
  type: "account_abstraction::UpdateDispatchableAuthenticator",
11283
- }, fetchConfig);
11283
+ }, handlerOptions);
11284
11284
  return this;
11285
11285
  }
11286
11286
  }
@@ -11849,16 +11849,16 @@ export class object_code_deployment extends AptosBaseProcessor {
11849
11849
  }, fetchConfig);
11850
11850
  return this;
11851
11851
  }
11852
- onEventFreeze(func, fetchConfig, eventFilter) {
11853
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Freeze" }, fetchConfig);
11852
+ onEventFreeze(func, handlerOptions, eventFilter) {
11853
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Freeze" }, handlerOptions);
11854
11854
  return this;
11855
11855
  }
11856
- onEventPublish(func, fetchConfig, eventFilter) {
11857
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Publish" }, fetchConfig);
11856
+ onEventPublish(func, handlerOptions, eventFilter) {
11857
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Publish" }, handlerOptions);
11858
11858
  return this;
11859
11859
  }
11860
- onEventUpgrade(func, fetchConfig, eventFilter) {
11861
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Upgrade" }, fetchConfig);
11860
+ onEventUpgrade(func, handlerOptions, eventFilter) {
11861
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "object_code_deployment::Upgrade" }, handlerOptions);
11862
11862
  return this;
11863
11863
  }
11864
11864
  }