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