@sentio/sdk 2.52.0-rc.1 → 2.52.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +57 -52
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +200 -196
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +14 -14
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +56 -56
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +3 -3
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +10 -10
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/package.json +8 -8
- package/src/aptos/builtin/0x1.ts +441 -420
- package/src/aptos/builtin/0x3.ts +119 -119
- package/src/aptos/builtin/0x4.ts +17 -17
package/src/aptos/builtin/0x1.ts
CHANGED
@@ -525,19 +525,19 @@ export class coin extends AptosBaseProcessor {
|
|
525
525
|
return this;
|
526
526
|
}
|
527
527
|
|
528
|
-
|
529
|
-
func: (event: coin.
|
528
|
+
onEventDepositEvent(
|
529
|
+
func: (event: coin.DepositEventInstance, ctx: AptosContext) => void,
|
530
530
|
fetchConfig?: Partial<MoveFetchConfig>,
|
531
531
|
): coin {
|
532
|
-
this.onMoveEvent(func, { type: "coin::
|
532
|
+
this.onMoveEvent(func, { type: "coin::DepositEvent" }, fetchConfig);
|
533
533
|
return this;
|
534
534
|
}
|
535
535
|
|
536
|
-
|
537
|
-
func: (event: coin.
|
536
|
+
onEventPairCreation(
|
537
|
+
func: (event: coin.PairCreationInstance, ctx: AptosContext) => void,
|
538
538
|
fetchConfig?: Partial<MoveFetchConfig>,
|
539
539
|
): coin {
|
540
|
-
this.onMoveEvent(func, { type: "coin::
|
540
|
+
this.onMoveEvent(func, { type: "coin::PairCreation" }, fetchConfig);
|
541
541
|
return this;
|
542
542
|
}
|
543
543
|
|
@@ -1908,19 +1908,19 @@ export class block extends AptosBaseProcessor {
|
|
1908
1908
|
return this;
|
1909
1909
|
}
|
1910
1910
|
|
1911
|
-
|
1912
|
-
func: (event: block.
|
1911
|
+
onEventNewBlockEvent(
|
1912
|
+
func: (event: block.NewBlockEventInstance, ctx: AptosContext) => void,
|
1913
1913
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1914
1914
|
): block {
|
1915
|
-
this.onMoveEvent(func, { type: "block::
|
1915
|
+
this.onMoveEvent(func, { type: "block::NewBlockEvent" }, fetchConfig);
|
1916
1916
|
return this;
|
1917
1917
|
}
|
1918
1918
|
|
1919
|
-
|
1920
|
-
func: (event: block.
|
1919
|
+
onEventUpdateEpochInterval(
|
1920
|
+
func: (event: block.UpdateEpochIntervalInstance, ctx: AptosContext) => void,
|
1921
1921
|
fetchConfig?: Partial<MoveFetchConfig>,
|
1922
1922
|
): block {
|
1923
|
-
this.onMoveEvent(func, { type: "block::
|
1923
|
+
this.onMoveEvent(func, { type: "block::UpdateEpochInterval" }, fetchConfig);
|
1924
1924
|
return this;
|
1925
1925
|
}
|
1926
1926
|
|
@@ -2382,136 +2382,104 @@ export class stake extends AptosBaseProcessor {
|
|
2382
2382
|
return this;
|
2383
2383
|
}
|
2384
2384
|
|
2385
|
-
|
2386
|
-
func: (event: stake.
|
2387
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
2388
|
-
): stake {
|
2389
|
-
this.onMoveEvent(func, { type: "stake::DistributeRewards" }, fetchConfig);
|
2390
|
-
return this;
|
2391
|
-
}
|
2392
|
-
|
2393
|
-
onEventIncreaseLockup(
|
2394
|
-
func: (event: stake.IncreaseLockupInstance, ctx: AptosContext) => void,
|
2395
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
2396
|
-
): stake {
|
2397
|
-
this.onMoveEvent(func, { type: "stake::IncreaseLockup" }, fetchConfig);
|
2398
|
-
return this;
|
2399
|
-
}
|
2400
|
-
|
2401
|
-
onEventJoinValidatorSet(
|
2402
|
-
func: (event: stake.JoinValidatorSetInstance, ctx: AptosContext) => void,
|
2403
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
2404
|
-
): stake {
|
2405
|
-
this.onMoveEvent(func, { type: "stake::JoinValidatorSet" }, fetchConfig);
|
2406
|
-
return this;
|
2407
|
-
}
|
2408
|
-
|
2409
|
-
onEventLeaveValidatorSet(
|
2410
|
-
func: (event: stake.LeaveValidatorSetInstance, ctx: AptosContext) => void,
|
2385
|
+
onEventAddStakeEvent(
|
2386
|
+
func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void,
|
2411
2387
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2412
2388
|
): stake {
|
2413
|
-
this.onMoveEvent(func, { type: "stake::
|
2389
|
+
this.onMoveEvent(func, { type: "stake::AddStakeEvent" }, fetchConfig);
|
2414
2390
|
return this;
|
2415
2391
|
}
|
2416
2392
|
|
2417
|
-
|
2418
|
-
func: (event: stake.
|
2393
|
+
onEventDistributeRewards(
|
2394
|
+
func: (event: stake.DistributeRewardsInstance, ctx: AptosContext) => void,
|
2419
2395
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2420
2396
|
): stake {
|
2421
|
-
this.onMoveEvent(func, { type: "stake::
|
2397
|
+
this.onMoveEvent(func, { type: "stake::DistributeRewards" }, fetchConfig);
|
2422
2398
|
return this;
|
2423
2399
|
}
|
2424
2400
|
|
2425
|
-
|
2401
|
+
onEventDistributeRewardsEvent(
|
2426
2402
|
func: (
|
2427
|
-
event: stake.
|
2403
|
+
event: stake.DistributeRewardsEventInstance,
|
2428
2404
|
ctx: AptosContext,
|
2429
2405
|
) => void,
|
2430
2406
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2431
2407
|
): stake {
|
2432
2408
|
this.onMoveEvent(
|
2433
2409
|
func,
|
2434
|
-
{ type: "stake::
|
2410
|
+
{ type: "stake::DistributeRewardsEvent" },
|
2435
2411
|
fetchConfig,
|
2436
2412
|
);
|
2437
2413
|
return this;
|
2438
2414
|
}
|
2439
2415
|
|
2440
|
-
|
2441
|
-
func: (event: stake.
|
2416
|
+
onEventIncreaseLockup(
|
2417
|
+
func: (event: stake.IncreaseLockupInstance, ctx: AptosContext) => void,
|
2442
2418
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2443
2419
|
): stake {
|
2444
|
-
this.onMoveEvent(func, { type: "stake::
|
2420
|
+
this.onMoveEvent(func, { type: "stake::IncreaseLockup" }, fetchConfig);
|
2445
2421
|
return this;
|
2446
2422
|
}
|
2447
2423
|
|
2448
|
-
|
2449
|
-
func: (event: stake.
|
2424
|
+
onEventIncreaseLockupEvent(
|
2425
|
+
func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void,
|
2450
2426
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2451
2427
|
): stake {
|
2452
|
-
this.onMoveEvent(func, { type: "stake::
|
2428
|
+
this.onMoveEvent(func, { type: "stake::IncreaseLockupEvent" }, fetchConfig);
|
2453
2429
|
return this;
|
2454
2430
|
}
|
2455
2431
|
|
2456
|
-
|
2457
|
-
func: (event: stake.
|
2432
|
+
onEventJoinValidatorSet(
|
2433
|
+
func: (event: stake.JoinValidatorSetInstance, ctx: AptosContext) => void,
|
2458
2434
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2459
2435
|
): stake {
|
2460
|
-
this.onMoveEvent(func, { type: "stake::
|
2436
|
+
this.onMoveEvent(func, { type: "stake::JoinValidatorSet" }, fetchConfig);
|
2461
2437
|
return this;
|
2462
2438
|
}
|
2463
2439
|
|
2464
|
-
|
2440
|
+
onEventJoinValidatorSetEvent(
|
2465
2441
|
func: (
|
2466
|
-
event: stake.
|
2442
|
+
event: stake.JoinValidatorSetEventInstance,
|
2467
2443
|
ctx: AptosContext,
|
2468
2444
|
) => void,
|
2469
2445
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2470
2446
|
): stake {
|
2471
2447
|
this.onMoveEvent(
|
2472
2448
|
func,
|
2473
|
-
{ type: "stake::
|
2449
|
+
{ type: "stake::JoinValidatorSetEvent" },
|
2474
2450
|
fetchConfig,
|
2475
2451
|
);
|
2476
2452
|
return this;
|
2477
2453
|
}
|
2478
2454
|
|
2479
|
-
|
2480
|
-
func: (event: stake.
|
2455
|
+
onEventLeaveValidatorSet(
|
2456
|
+
func: (event: stake.LeaveValidatorSetInstance, ctx: AptosContext) => void,
|
2481
2457
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2482
2458
|
): stake {
|
2483
|
-
this.onMoveEvent(func, { type: "stake::
|
2459
|
+
this.onMoveEvent(func, { type: "stake::LeaveValidatorSet" }, fetchConfig);
|
2484
2460
|
return this;
|
2485
2461
|
}
|
2486
2462
|
|
2487
|
-
|
2463
|
+
onEventLeaveValidatorSetEvent(
|
2488
2464
|
func: (
|
2489
|
-
event: stake.
|
2465
|
+
event: stake.LeaveValidatorSetEventInstance,
|
2490
2466
|
ctx: AptosContext,
|
2491
2467
|
) => void,
|
2492
2468
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2493
2469
|
): stake {
|
2494
2470
|
this.onMoveEvent(
|
2495
2471
|
func,
|
2496
|
-
{ type: "stake::
|
2472
|
+
{ type: "stake::LeaveValidatorSetEvent" },
|
2497
2473
|
fetchConfig,
|
2498
2474
|
);
|
2499
2475
|
return this;
|
2500
2476
|
}
|
2501
2477
|
|
2502
|
-
|
2503
|
-
func: (event: stake.
|
2504
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
2505
|
-
): stake {
|
2506
|
-
this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
|
2507
|
-
return this;
|
2508
|
-
}
|
2509
|
-
|
2510
|
-
onEventAddStakeEvent(
|
2511
|
-
func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void,
|
2478
|
+
onEventReactivateStake(
|
2479
|
+
func: (event: stake.ReactivateStakeInstance, ctx: AptosContext) => void,
|
2512
2480
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2513
2481
|
): stake {
|
2514
|
-
this.onMoveEvent(func, { type: "stake::
|
2482
|
+
this.onMoveEvent(func, { type: "stake::ReactivateStake" }, fetchConfig);
|
2515
2483
|
return this;
|
2516
2484
|
}
|
2517
2485
|
|
@@ -2530,71 +2498,80 @@ export class stake extends AptosBaseProcessor {
|
|
2530
2498
|
return this;
|
2531
2499
|
}
|
2532
2500
|
|
2533
|
-
|
2501
|
+
onEventRegisterValidatorCandidate(
|
2534
2502
|
func: (
|
2535
|
-
event: stake.
|
2503
|
+
event: stake.RegisterValidatorCandidateInstance,
|
2536
2504
|
ctx: AptosContext,
|
2537
2505
|
) => void,
|
2538
2506
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2539
2507
|
): stake {
|
2540
2508
|
this.onMoveEvent(
|
2541
2509
|
func,
|
2542
|
-
{ type: "stake::
|
2510
|
+
{ type: "stake::RegisterValidatorCandidate" },
|
2543
2511
|
fetchConfig,
|
2544
2512
|
);
|
2545
2513
|
return this;
|
2546
2514
|
}
|
2547
2515
|
|
2548
|
-
|
2516
|
+
onEventRegisterValidatorCandidateEvent(
|
2549
2517
|
func: (
|
2550
|
-
event: stake.
|
2518
|
+
event: stake.RegisterValidatorCandidateEventInstance,
|
2551
2519
|
ctx: AptosContext,
|
2552
2520
|
) => void,
|
2553
2521
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2554
2522
|
): stake {
|
2555
2523
|
this.onMoveEvent(
|
2556
2524
|
func,
|
2557
|
-
{ type: "stake::
|
2525
|
+
{ type: "stake::RegisterValidatorCandidateEvent" },
|
2558
2526
|
fetchConfig,
|
2559
2527
|
);
|
2560
2528
|
return this;
|
2561
2529
|
}
|
2562
2530
|
|
2563
|
-
|
2564
|
-
func: (event: stake.
|
2531
|
+
onEventRotateConsensusKey(
|
2532
|
+
func: (event: stake.RotateConsensusKeyInstance, ctx: AptosContext) => void,
|
2565
2533
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2566
2534
|
): stake {
|
2567
|
-
this.onMoveEvent(func, { type: "stake::
|
2535
|
+
this.onMoveEvent(func, { type: "stake::RotateConsensusKey" }, fetchConfig);
|
2568
2536
|
return this;
|
2569
2537
|
}
|
2570
2538
|
|
2571
|
-
|
2539
|
+
onEventRotateConsensusKeyEvent(
|
2572
2540
|
func: (
|
2573
|
-
event: stake.
|
2541
|
+
event: stake.RotateConsensusKeyEventInstance,
|
2574
2542
|
ctx: AptosContext,
|
2575
2543
|
) => void,
|
2576
2544
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2577
2545
|
): stake {
|
2578
2546
|
this.onMoveEvent(
|
2579
2547
|
func,
|
2580
|
-
{ type: "stake::
|
2548
|
+
{ type: "stake::RotateConsensusKeyEvent" },
|
2581
2549
|
fetchConfig,
|
2582
2550
|
);
|
2583
2551
|
return this;
|
2584
2552
|
}
|
2585
2553
|
|
2586
|
-
|
2587
|
-
func: (
|
2588
|
-
event: stake.DistributeRewardsEventInstance,
|
2589
|
-
ctx: AptosContext,
|
2590
|
-
) => void,
|
2554
|
+
onEventSetOperator(
|
2555
|
+
func: (event: stake.SetOperatorInstance, ctx: AptosContext) => void,
|
2591
2556
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2592
2557
|
): stake {
|
2593
|
-
this.onMoveEvent(
|
2594
|
-
|
2595
|
-
|
2596
|
-
|
2597
|
-
|
2558
|
+
this.onMoveEvent(func, { type: "stake::SetOperator" }, fetchConfig);
|
2559
|
+
return this;
|
2560
|
+
}
|
2561
|
+
|
2562
|
+
onEventSetOperatorEvent(
|
2563
|
+
func: (event: stake.SetOperatorEventInstance, ctx: AptosContext) => void,
|
2564
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
2565
|
+
): stake {
|
2566
|
+
this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
|
2567
|
+
return this;
|
2568
|
+
}
|
2569
|
+
|
2570
|
+
onEventUnlockStake(
|
2571
|
+
func: (event: stake.UnlockStakeInstance, ctx: AptosContext) => void,
|
2572
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
2573
|
+
): stake {
|
2574
|
+
this.onMoveEvent(func, { type: "stake::UnlockStake" }, fetchConfig);
|
2598
2575
|
return this;
|
2599
2576
|
}
|
2600
2577
|
|
@@ -2606,28 +2583,51 @@ export class stake extends AptosBaseProcessor {
|
|
2606
2583
|
return this;
|
2607
2584
|
}
|
2608
2585
|
|
2609
|
-
|
2610
|
-
func: (
|
2586
|
+
onEventUpdateNetworkAndFullnodeAddresses(
|
2587
|
+
func: (
|
2588
|
+
event: stake.UpdateNetworkAndFullnodeAddressesInstance,
|
2589
|
+
ctx: AptosContext,
|
2590
|
+
) => void,
|
2611
2591
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2612
2592
|
): stake {
|
2613
|
-
this.onMoveEvent(
|
2593
|
+
this.onMoveEvent(
|
2594
|
+
func,
|
2595
|
+
{ type: "stake::UpdateNetworkAndFullnodeAddresses" },
|
2596
|
+
fetchConfig,
|
2597
|
+
);
|
2614
2598
|
return this;
|
2615
2599
|
}
|
2616
2600
|
|
2617
|
-
|
2601
|
+
onEventUpdateNetworkAndFullnodeAddressesEvent(
|
2618
2602
|
func: (
|
2619
|
-
event: stake.
|
2603
|
+
event: stake.UpdateNetworkAndFullnodeAddressesEventInstance,
|
2620
2604
|
ctx: AptosContext,
|
2621
2605
|
) => void,
|
2622
2606
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2623
2607
|
): stake {
|
2624
2608
|
this.onMoveEvent(
|
2625
2609
|
func,
|
2626
|
-
{ type: "stake::
|
2610
|
+
{ type: "stake::UpdateNetworkAndFullnodeAddressesEvent" },
|
2627
2611
|
fetchConfig,
|
2628
2612
|
);
|
2629
2613
|
return this;
|
2630
2614
|
}
|
2615
|
+
|
2616
|
+
onEventWithdrawStake(
|
2617
|
+
func: (event: stake.WithdrawStakeInstance, ctx: AptosContext) => void,
|
2618
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
2619
|
+
): stake {
|
2620
|
+
this.onMoveEvent(func, { type: "stake::WithdrawStake" }, fetchConfig);
|
2621
|
+
return this;
|
2622
|
+
}
|
2623
|
+
|
2624
|
+
onEventWithdrawStakeEvent(
|
2625
|
+
func: (event: stake.WithdrawStakeEventInstance, ctx: AptosContext) => void,
|
2626
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
2627
|
+
): stake {
|
2628
|
+
this.onMoveEvent(func, { type: "stake::WithdrawStakeEvent" }, fetchConfig);
|
2629
|
+
return this;
|
2630
|
+
}
|
2631
2631
|
}
|
2632
2632
|
|
2633
2633
|
export namespace stake {
|
@@ -4626,50 +4626,50 @@ export class voting extends AptosBaseProcessor {
|
|
4626
4626
|
return this;
|
4627
4627
|
}
|
4628
4628
|
|
4629
|
-
|
4630
|
-
func: (
|
4629
|
+
onEventCreateProposalEvent(
|
4630
|
+
func: (
|
4631
|
+
event: voting.CreateProposalEventInstance,
|
4632
|
+
ctx: AptosContext,
|
4633
|
+
) => void,
|
4631
4634
|
fetchConfig?: Partial<MoveFetchConfig>,
|
4632
4635
|
): voting {
|
4633
|
-
this.onMoveEvent(
|
4636
|
+
this.onMoveEvent(
|
4637
|
+
func,
|
4638
|
+
{ type: "voting::CreateProposalEvent" },
|
4639
|
+
fetchConfig,
|
4640
|
+
);
|
4634
4641
|
return this;
|
4635
4642
|
}
|
4636
4643
|
|
4637
|
-
|
4638
|
-
func: (event: voting.
|
4644
|
+
onEventRegisterForum(
|
4645
|
+
func: (event: voting.RegisterForumInstance, ctx: AptosContext) => void,
|
4639
4646
|
fetchConfig?: Partial<MoveFetchConfig>,
|
4640
4647
|
): voting {
|
4641
|
-
this.onMoveEvent(func, { type: "voting::
|
4648
|
+
this.onMoveEvent(func, { type: "voting::RegisterForum" }, fetchConfig);
|
4642
4649
|
return this;
|
4643
4650
|
}
|
4644
4651
|
|
4645
|
-
|
4646
|
-
func: (event: voting.
|
4652
|
+
onEventRegisterForumEvent(
|
4653
|
+
func: (event: voting.RegisterForumEventInstance, ctx: AptosContext) => void,
|
4647
4654
|
fetchConfig?: Partial<MoveFetchConfig>,
|
4648
4655
|
): voting {
|
4649
|
-
this.onMoveEvent(func, { type: "voting::
|
4656
|
+
this.onMoveEvent(func, { type: "voting::RegisterForumEvent" }, fetchConfig);
|
4650
4657
|
return this;
|
4651
4658
|
}
|
4652
4659
|
|
4653
|
-
|
4654
|
-
func: (
|
4655
|
-
event: voting.CreateProposalEventInstance,
|
4656
|
-
ctx: AptosContext,
|
4657
|
-
) => void,
|
4660
|
+
onEventResolveProposal(
|
4661
|
+
func: (event: voting.ResolveProposalInstance, ctx: AptosContext) => void,
|
4658
4662
|
fetchConfig?: Partial<MoveFetchConfig>,
|
4659
4663
|
): voting {
|
4660
|
-
this.onMoveEvent(
|
4661
|
-
func,
|
4662
|
-
{ type: "voting::CreateProposalEvent" },
|
4663
|
-
fetchConfig,
|
4664
|
-
);
|
4664
|
+
this.onMoveEvent(func, { type: "voting::ResolveProposal" }, fetchConfig);
|
4665
4665
|
return this;
|
4666
4666
|
}
|
4667
4667
|
|
4668
|
-
|
4669
|
-
func: (event: voting.
|
4668
|
+
onEventVote(
|
4669
|
+
func: (event: voting.VoteInstance, ctx: AptosContext) => void,
|
4670
4670
|
fetchConfig?: Partial<MoveFetchConfig>,
|
4671
4671
|
): voting {
|
4672
|
-
this.onMoveEvent(func, { type: "voting::
|
4672
|
+
this.onMoveEvent(func, { type: "voting::Vote" }, fetchConfig);
|
4673
4673
|
return this;
|
4674
4674
|
}
|
4675
4675
|
|
@@ -5438,14 +5438,6 @@ export class account extends AptosBaseProcessor {
|
|
5438
5438
|
return this;
|
5439
5439
|
}
|
5440
5440
|
|
5441
|
-
onEventKeyRotation(
|
5442
|
-
func: (event: account.KeyRotationInstance, ctx: AptosContext) => void,
|
5443
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
5444
|
-
): account {
|
5445
|
-
this.onMoveEvent(func, { type: "account::KeyRotation" }, fetchConfig);
|
5446
|
-
return this;
|
5447
|
-
}
|
5448
|
-
|
5449
5441
|
onEventCoinRegisterEvent(
|
5450
5442
|
func: (event: account.CoinRegisterEventInstance, ctx: AptosContext) => void,
|
5451
5443
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -5454,6 +5446,14 @@ export class account extends AptosBaseProcessor {
|
|
5454
5446
|
return this;
|
5455
5447
|
}
|
5456
5448
|
|
5449
|
+
onEventKeyRotation(
|
5450
|
+
func: (event: account.KeyRotationInstance, ctx: AptosContext) => void,
|
5451
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
5452
|
+
): account {
|
5453
|
+
this.onMoveEvent(func, { type: "account::KeyRotation" }, fetchConfig);
|
5454
|
+
return this;
|
5455
|
+
}
|
5456
|
+
|
5457
5457
|
onEventKeyRotationEvent(
|
5458
5458
|
func: (event: account.KeyRotationEventInstance, ctx: AptosContext) => void,
|
5459
5459
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -6810,197 +6810,197 @@ export class vesting extends AptosBaseProcessor {
|
|
6810
6810
|
return this;
|
6811
6811
|
}
|
6812
6812
|
|
6813
|
-
|
6813
|
+
onEventAdminWithdrawEvent(
|
6814
6814
|
func: (
|
6815
|
-
event: vesting.
|
6815
|
+
event: vesting.AdminWithdrawEventInstance,
|
6816
6816
|
ctx: AptosContext,
|
6817
6817
|
) => void,
|
6818
6818
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6819
6819
|
): vesting {
|
6820
6820
|
this.onMoveEvent(
|
6821
6821
|
func,
|
6822
|
-
{ type: "vesting::
|
6822
|
+
{ type: "vesting::AdminWithdrawEvent" },
|
6823
6823
|
fetchConfig,
|
6824
6824
|
);
|
6825
6825
|
return this;
|
6826
6826
|
}
|
6827
6827
|
|
6828
|
-
|
6829
|
-
func: (
|
6830
|
-
|
6831
|
-
|
6832
|
-
|
6833
|
-
return this;
|
6834
|
-
}
|
6835
|
-
|
6836
|
-
onEventResetLockup(
|
6837
|
-
func: (event: vesting.ResetLockupInstance, ctx: AptosContext) => void,
|
6828
|
+
onEventCreateVestingContract(
|
6829
|
+
func: (
|
6830
|
+
event: vesting.CreateVestingContractInstance,
|
6831
|
+
ctx: AptosContext,
|
6832
|
+
) => void,
|
6838
6833
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6839
6834
|
): vesting {
|
6840
|
-
this.onMoveEvent(
|
6835
|
+
this.onMoveEvent(
|
6836
|
+
func,
|
6837
|
+
{ type: "vesting::CreateVestingContract" },
|
6838
|
+
fetchConfig,
|
6839
|
+
);
|
6841
6840
|
return this;
|
6842
6841
|
}
|
6843
6842
|
|
6844
|
-
|
6845
|
-
func: (
|
6843
|
+
onEventCreateVestingContractEvent(
|
6844
|
+
func: (
|
6845
|
+
event: vesting.CreateVestingContractEventInstance,
|
6846
|
+
ctx: AptosContext,
|
6847
|
+
) => void,
|
6846
6848
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6847
6849
|
): vesting {
|
6848
|
-
this.onMoveEvent(
|
6850
|
+
this.onMoveEvent(
|
6851
|
+
func,
|
6852
|
+
{ type: "vesting::CreateVestingContractEvent" },
|
6853
|
+
fetchConfig,
|
6854
|
+
);
|
6849
6855
|
return this;
|
6850
6856
|
}
|
6851
6857
|
|
6852
|
-
|
6853
|
-
func: (event: vesting.
|
6858
|
+
onEventDistribute(
|
6859
|
+
func: (event: vesting.DistributeInstance, ctx: AptosContext) => void,
|
6854
6860
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6855
6861
|
): vesting {
|
6856
|
-
this.onMoveEvent(func, { type: "vesting::
|
6862
|
+
this.onMoveEvent(func, { type: "vesting::Distribute" }, fetchConfig);
|
6857
6863
|
return this;
|
6858
6864
|
}
|
6859
6865
|
|
6860
|
-
|
6861
|
-
func: (event: vesting.
|
6866
|
+
onEventDistributeEvent(
|
6867
|
+
func: (event: vesting.DistributeEventInstance, ctx: AptosContext) => void,
|
6862
6868
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6863
6869
|
): vesting {
|
6864
|
-
this.onMoveEvent(func, { type: "vesting::
|
6870
|
+
this.onMoveEvent(func, { type: "vesting::DistributeEvent" }, fetchConfig);
|
6865
6871
|
return this;
|
6866
6872
|
}
|
6867
6873
|
|
6868
|
-
|
6869
|
-
func: (event: vesting.
|
6874
|
+
onEventResetLockup(
|
6875
|
+
func: (event: vesting.ResetLockupInstance, ctx: AptosContext) => void,
|
6870
6876
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6871
6877
|
): vesting {
|
6872
|
-
this.onMoveEvent(func, { type: "vesting::
|
6878
|
+
this.onMoveEvent(func, { type: "vesting::ResetLockup" }, fetchConfig);
|
6873
6879
|
return this;
|
6874
6880
|
}
|
6875
6881
|
|
6876
|
-
|
6877
|
-
func: (event: vesting.
|
6882
|
+
onEventResetLockupEvent(
|
6883
|
+
func: (event: vesting.ResetLockupEventInstance, ctx: AptosContext) => void,
|
6878
6884
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6879
6885
|
): vesting {
|
6880
|
-
this.onMoveEvent(func, { type: "vesting::
|
6886
|
+
this.onMoveEvent(func, { type: "vesting::ResetLockupEvent" }, fetchConfig);
|
6881
6887
|
return this;
|
6882
6888
|
}
|
6883
6889
|
|
6884
|
-
|
6885
|
-
func: (event: vesting.
|
6890
|
+
onEventSetBeneficiary(
|
6891
|
+
func: (event: vesting.SetBeneficiaryInstance, ctx: AptosContext) => void,
|
6886
6892
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6887
6893
|
): vesting {
|
6888
|
-
this.onMoveEvent(func, { type: "vesting::
|
6894
|
+
this.onMoveEvent(func, { type: "vesting::SetBeneficiary" }, fetchConfig);
|
6889
6895
|
return this;
|
6890
6896
|
}
|
6891
6897
|
|
6892
|
-
|
6898
|
+
onEventSetBeneficiaryEvent(
|
6893
6899
|
func: (
|
6894
|
-
event: vesting.
|
6900
|
+
event: vesting.SetBeneficiaryEventInstance,
|
6895
6901
|
ctx: AptosContext,
|
6896
6902
|
) => void,
|
6897
6903
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6898
6904
|
): vesting {
|
6899
6905
|
this.onMoveEvent(
|
6900
6906
|
func,
|
6901
|
-
{ type: "vesting::
|
6907
|
+
{ type: "vesting::SetBeneficiaryEvent" },
|
6902
6908
|
fetchConfig,
|
6903
6909
|
);
|
6904
6910
|
return this;
|
6905
6911
|
}
|
6906
6912
|
|
6907
|
-
|
6908
|
-
func: (
|
6909
|
-
event: vesting.UpdateOperatorEventInstance,
|
6910
|
-
ctx: AptosContext,
|
6911
|
-
) => void,
|
6913
|
+
onEventTerminate(
|
6914
|
+
func: (event: vesting.TerminateInstance, ctx: AptosContext) => void,
|
6912
6915
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6913
6916
|
): vesting {
|
6914
|
-
this.onMoveEvent(
|
6915
|
-
func,
|
6916
|
-
{ type: "vesting::UpdateOperatorEvent" },
|
6917
|
-
fetchConfig,
|
6918
|
-
);
|
6917
|
+
this.onMoveEvent(func, { type: "vesting::Terminate" }, fetchConfig);
|
6919
6918
|
return this;
|
6920
6919
|
}
|
6921
6920
|
|
6922
|
-
|
6923
|
-
func: (event: vesting.
|
6921
|
+
onEventTerminateEvent(
|
6922
|
+
func: (event: vesting.TerminateEventInstance, ctx: AptosContext) => void,
|
6924
6923
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6925
6924
|
): vesting {
|
6926
|
-
this.onMoveEvent(func, { type: "vesting::
|
6925
|
+
this.onMoveEvent(func, { type: "vesting::TerminateEvent" }, fetchConfig);
|
6927
6926
|
return this;
|
6928
6927
|
}
|
6929
6928
|
|
6930
|
-
|
6931
|
-
func: (event: vesting.
|
6929
|
+
onEventUnlockRewards(
|
6930
|
+
func: (event: vesting.UnlockRewardsInstance, ctx: AptosContext) => void,
|
6932
6931
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6933
6932
|
): vesting {
|
6934
|
-
this.onMoveEvent(func, { type: "vesting::
|
6933
|
+
this.onMoveEvent(func, { type: "vesting::UnlockRewards" }, fetchConfig);
|
6935
6934
|
return this;
|
6936
6935
|
}
|
6937
6936
|
|
6938
|
-
|
6937
|
+
onEventUnlockRewardsEvent(
|
6939
6938
|
func: (
|
6940
|
-
event: vesting.
|
6939
|
+
event: vesting.UnlockRewardsEventInstance,
|
6941
6940
|
ctx: AptosContext,
|
6942
6941
|
) => void,
|
6943
6942
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6944
6943
|
): vesting {
|
6945
6944
|
this.onMoveEvent(
|
6946
6945
|
func,
|
6947
|
-
{ type: "vesting::
|
6946
|
+
{ type: "vesting::UnlockRewardsEvent" },
|
6948
6947
|
fetchConfig,
|
6949
6948
|
);
|
6950
6949
|
return this;
|
6951
6950
|
}
|
6952
6951
|
|
6953
|
-
|
6952
|
+
onEventUpdateOperator(
|
6953
|
+
func: (event: vesting.UpdateOperatorInstance, ctx: AptosContext) => void,
|
6954
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
6955
|
+
): vesting {
|
6956
|
+
this.onMoveEvent(func, { type: "vesting::UpdateOperator" }, fetchConfig);
|
6957
|
+
return this;
|
6958
|
+
}
|
6959
|
+
|
6960
|
+
onEventUpdateOperatorEvent(
|
6954
6961
|
func: (
|
6955
|
-
event: vesting.
|
6962
|
+
event: vesting.UpdateOperatorEventInstance,
|
6956
6963
|
ctx: AptosContext,
|
6957
6964
|
) => void,
|
6958
6965
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6959
6966
|
): vesting {
|
6960
6967
|
this.onMoveEvent(
|
6961
6968
|
func,
|
6962
|
-
{ type: "vesting::
|
6969
|
+
{ type: "vesting::UpdateOperatorEvent" },
|
6963
6970
|
fetchConfig,
|
6964
6971
|
);
|
6965
6972
|
return this;
|
6966
6973
|
}
|
6967
6974
|
|
6968
|
-
|
6969
|
-
func: (event: vesting.
|
6975
|
+
onEventUpdateVoter(
|
6976
|
+
func: (event: vesting.UpdateVoterInstance, ctx: AptosContext) => void,
|
6970
6977
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6971
6978
|
): vesting {
|
6972
|
-
this.onMoveEvent(func, { type: "vesting::
|
6979
|
+
this.onMoveEvent(func, { type: "vesting::UpdateVoter" }, fetchConfig);
|
6973
6980
|
return this;
|
6974
6981
|
}
|
6975
6982
|
|
6976
|
-
|
6977
|
-
func: (event: vesting.
|
6983
|
+
onEventUpdateVoterEvent(
|
6984
|
+
func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void,
|
6978
6985
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6979
6986
|
): vesting {
|
6980
|
-
this.onMoveEvent(func, { type: "vesting::
|
6987
|
+
this.onMoveEvent(func, { type: "vesting::UpdateVoterEvent" }, fetchConfig);
|
6981
6988
|
return this;
|
6982
6989
|
}
|
6983
6990
|
|
6984
|
-
|
6985
|
-
func: (event: vesting.
|
6991
|
+
onEventVest(
|
6992
|
+
func: (event: vesting.VestInstance, ctx: AptosContext) => void,
|
6986
6993
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6987
6994
|
): vesting {
|
6988
|
-
this.onMoveEvent(func, { type: "vesting::
|
6995
|
+
this.onMoveEvent(func, { type: "vesting::Vest" }, fetchConfig);
|
6989
6996
|
return this;
|
6990
6997
|
}
|
6991
6998
|
|
6992
|
-
|
6993
|
-
func: (
|
6994
|
-
event: vesting.AdminWithdrawEventInstance,
|
6995
|
-
ctx: AptosContext,
|
6996
|
-
) => void,
|
6999
|
+
onEventVestEvent(
|
7000
|
+
func: (event: vesting.VestEventInstance, ctx: AptosContext) => void,
|
6997
7001
|
fetchConfig?: Partial<MoveFetchConfig>,
|
6998
7002
|
): vesting {
|
6999
|
-
this.onMoveEvent(
|
7000
|
-
func,
|
7001
|
-
{ type: "vesting::AdminWithdrawEvent" },
|
7002
|
-
fetchConfig,
|
7003
|
-
);
|
7003
|
+
this.onMoveEvent(func, { type: "vesting::VestEvent" }, fetchConfig);
|
7004
7004
|
return this;
|
7005
7005
|
}
|
7006
7006
|
}
|
@@ -11497,22 +11497,6 @@ export class fungible_asset extends AptosBaseProcessor {
|
|
11497
11497
|
return this;
|
11498
11498
|
}
|
11499
11499
|
|
11500
|
-
onEventFrozen(
|
11501
|
-
func: (event: fungible_asset.FrozenInstance, ctx: AptosContext) => void,
|
11502
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
11503
|
-
): fungible_asset {
|
11504
|
-
this.onMoveEvent(func, { type: "fungible_asset::Frozen" }, fetchConfig);
|
11505
|
-
return this;
|
11506
|
-
}
|
11507
|
-
|
11508
|
-
onEventWithdraw(
|
11509
|
-
func: (event: fungible_asset.WithdrawInstance, ctx: AptosContext) => void,
|
11510
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
11511
|
-
): fungible_asset {
|
11512
|
-
this.onMoveEvent(func, { type: "fungible_asset::Withdraw" }, fetchConfig);
|
11513
|
-
return this;
|
11514
|
-
}
|
11515
|
-
|
11516
11500
|
onEventDepositEvent(
|
11517
11501
|
func: (
|
11518
11502
|
event: fungible_asset.DepositEventInstance,
|
@@ -11528,31 +11512,47 @@ export class fungible_asset extends AptosBaseProcessor {
|
|
11528
11512
|
return this;
|
11529
11513
|
}
|
11530
11514
|
|
11531
|
-
|
11515
|
+
onEventFrozen(
|
11516
|
+
func: (event: fungible_asset.FrozenInstance, ctx: AptosContext) => void,
|
11517
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
11518
|
+
): fungible_asset {
|
11519
|
+
this.onMoveEvent(func, { type: "fungible_asset::Frozen" }, fetchConfig);
|
11520
|
+
return this;
|
11521
|
+
}
|
11522
|
+
|
11523
|
+
onEventFrozenEvent(
|
11532
11524
|
func: (
|
11533
|
-
event: fungible_asset.
|
11525
|
+
event: fungible_asset.FrozenEventInstance,
|
11534
11526
|
ctx: AptosContext,
|
11535
11527
|
) => void,
|
11536
11528
|
fetchConfig?: Partial<MoveFetchConfig>,
|
11537
11529
|
): fungible_asset {
|
11538
11530
|
this.onMoveEvent(
|
11539
11531
|
func,
|
11540
|
-
{ type: "fungible_asset::
|
11532
|
+
{ type: "fungible_asset::FrozenEvent" },
|
11541
11533
|
fetchConfig,
|
11542
11534
|
);
|
11543
11535
|
return this;
|
11544
11536
|
}
|
11545
11537
|
|
11546
|
-
|
11538
|
+
onEventWithdraw(
|
11539
|
+
func: (event: fungible_asset.WithdrawInstance, ctx: AptosContext) => void,
|
11540
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
11541
|
+
): fungible_asset {
|
11542
|
+
this.onMoveEvent(func, { type: "fungible_asset::Withdraw" }, fetchConfig);
|
11543
|
+
return this;
|
11544
|
+
}
|
11545
|
+
|
11546
|
+
onEventWithdrawEvent(
|
11547
11547
|
func: (
|
11548
|
-
event: fungible_asset.
|
11548
|
+
event: fungible_asset.WithdrawEventInstance,
|
11549
11549
|
ctx: AptosContext,
|
11550
11550
|
) => void,
|
11551
11551
|
fetchConfig?: Partial<MoveFetchConfig>,
|
11552
11552
|
): fungible_asset {
|
11553
11553
|
this.onMoveEvent(
|
11554
11554
|
func,
|
11555
|
-
{ type: "fungible_asset::
|
11555
|
+
{ type: "fungible_asset::WithdrawEvent" },
|
11556
11556
|
fetchConfig,
|
11557
11557
|
);
|
11558
11558
|
return this;
|
@@ -12737,6 +12737,21 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
12737
12737
|
return this;
|
12738
12738
|
}
|
12739
12739
|
|
12740
|
+
onEventAddStakeEvent(
|
12741
|
+
func: (
|
12742
|
+
event: delegation_pool.AddStakeEventInstance,
|
12743
|
+
ctx: AptosContext,
|
12744
|
+
) => void,
|
12745
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
12746
|
+
): delegation_pool {
|
12747
|
+
this.onMoveEvent(
|
12748
|
+
func,
|
12749
|
+
{ type: "delegation_pool::AddStakeEvent" },
|
12750
|
+
fetchConfig,
|
12751
|
+
);
|
12752
|
+
return this;
|
12753
|
+
}
|
12754
|
+
|
12740
12755
|
onEventAllowlistDelegator(
|
12741
12756
|
func: (
|
12742
12757
|
event: delegation_pool.AllowlistDelegatorInstance,
|
@@ -12782,6 +12797,21 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
12782
12797
|
return this;
|
12783
12798
|
}
|
12784
12799
|
|
12800
|
+
onEventCreateProposalEvent(
|
12801
|
+
func: (
|
12802
|
+
event: delegation_pool.CreateProposalEventInstance,
|
12803
|
+
ctx: AptosContext,
|
12804
|
+
) => void,
|
12805
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
12806
|
+
): delegation_pool {
|
12807
|
+
this.onMoveEvent(
|
12808
|
+
func,
|
12809
|
+
{ type: "delegation_pool::CreateProposalEvent" },
|
12810
|
+
fetchConfig,
|
12811
|
+
);
|
12812
|
+
return this;
|
12813
|
+
}
|
12814
|
+
|
12785
12815
|
onEventDelegateVotingPower(
|
12786
12816
|
func: (
|
12787
12817
|
event: delegation_pool.DelegateVotingPowerInstance,
|
@@ -12797,6 +12827,21 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
12797
12827
|
return this;
|
12798
12828
|
}
|
12799
12829
|
|
12830
|
+
onEventDelegateVotingPowerEvent(
|
12831
|
+
func: (
|
12832
|
+
event: delegation_pool.DelegateVotingPowerEventInstance,
|
12833
|
+
ctx: AptosContext,
|
12834
|
+
) => void,
|
12835
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
12836
|
+
): delegation_pool {
|
12837
|
+
this.onMoveEvent(
|
12838
|
+
func,
|
12839
|
+
{ type: "delegation_pool::DelegateVotingPowerEvent" },
|
12840
|
+
fetchConfig,
|
12841
|
+
);
|
12842
|
+
return this;
|
12843
|
+
}
|
12844
|
+
|
12800
12845
|
onEventDisableDelegatorsAllowlisting(
|
12801
12846
|
func: (
|
12802
12847
|
event: delegation_pool.DisableDelegatorsAllowlistingInstance,
|
@@ -12887,99 +12932,61 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
12887
12932
|
return this;
|
12888
12933
|
}
|
12889
12934
|
|
12890
|
-
|
12935
|
+
onEventReactivateStakeEvent(
|
12891
12936
|
func: (
|
12892
|
-
event: delegation_pool.
|
12937
|
+
event: delegation_pool.ReactivateStakeEventInstance,
|
12893
12938
|
ctx: AptosContext,
|
12894
12939
|
) => void,
|
12895
12940
|
fetchConfig?: Partial<MoveFetchConfig>,
|
12896
12941
|
): delegation_pool {
|
12897
12942
|
this.onMoveEvent(
|
12898
12943
|
func,
|
12899
|
-
{ type: "delegation_pool::
|
12944
|
+
{ type: "delegation_pool::ReactivateStakeEvent" },
|
12900
12945
|
fetchConfig,
|
12901
12946
|
);
|
12902
12947
|
return this;
|
12903
12948
|
}
|
12904
12949
|
|
12905
|
-
|
12906
|
-
func: (
|
12907
|
-
event: delegation_pool.SetBeneficiaryForOperatorInstance,
|
12908
|
-
ctx: AptosContext,
|
12909
|
-
) => void,
|
12910
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
12911
|
-
): delegation_pool {
|
12912
|
-
this.onMoveEvent(
|
12913
|
-
func,
|
12914
|
-
{ type: "delegation_pool::SetBeneficiaryForOperator" },
|
12915
|
-
fetchConfig,
|
12916
|
-
);
|
12917
|
-
return this;
|
12918
|
-
}
|
12919
|
-
|
12920
|
-
onEventUnlockStake(
|
12921
|
-
func: (
|
12922
|
-
event: delegation_pool.UnlockStakeInstance,
|
12923
|
-
ctx: AptosContext,
|
12924
|
-
) => void,
|
12925
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
12926
|
-
): delegation_pool {
|
12927
|
-
this.onMoveEvent(
|
12928
|
-
func,
|
12929
|
-
{ type: "delegation_pool::UnlockStake" },
|
12930
|
-
fetchConfig,
|
12931
|
-
);
|
12932
|
-
return this;
|
12933
|
-
}
|
12934
|
-
|
12935
|
-
onEventVote(
|
12936
|
-
func: (event: delegation_pool.VoteInstance, ctx: AptosContext) => void,
|
12937
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
12938
|
-
): delegation_pool {
|
12939
|
-
this.onMoveEvent(func, { type: "delegation_pool::Vote" }, fetchConfig);
|
12940
|
-
return this;
|
12941
|
-
}
|
12942
|
-
|
12943
|
-
onEventWithdrawStake(
|
12950
|
+
onEventRemoveDelegatorFromAllowlist(
|
12944
12951
|
func: (
|
12945
|
-
event: delegation_pool.
|
12952
|
+
event: delegation_pool.RemoveDelegatorFromAllowlistInstance,
|
12946
12953
|
ctx: AptosContext,
|
12947
12954
|
) => void,
|
12948
12955
|
fetchConfig?: Partial<MoveFetchConfig>,
|
12949
12956
|
): delegation_pool {
|
12950
12957
|
this.onMoveEvent(
|
12951
12958
|
func,
|
12952
|
-
{ type: "delegation_pool::
|
12959
|
+
{ type: "delegation_pool::RemoveDelegatorFromAllowlist" },
|
12953
12960
|
fetchConfig,
|
12954
12961
|
);
|
12955
12962
|
return this;
|
12956
12963
|
}
|
12957
12964
|
|
12958
|
-
|
12965
|
+
onEventSetBeneficiaryForOperator(
|
12959
12966
|
func: (
|
12960
|
-
event: delegation_pool.
|
12967
|
+
event: delegation_pool.SetBeneficiaryForOperatorInstance,
|
12961
12968
|
ctx: AptosContext,
|
12962
12969
|
) => void,
|
12963
12970
|
fetchConfig?: Partial<MoveFetchConfig>,
|
12964
12971
|
): delegation_pool {
|
12965
12972
|
this.onMoveEvent(
|
12966
12973
|
func,
|
12967
|
-
{ type: "delegation_pool::
|
12974
|
+
{ type: "delegation_pool::SetBeneficiaryForOperator" },
|
12968
12975
|
fetchConfig,
|
12969
12976
|
);
|
12970
12977
|
return this;
|
12971
12978
|
}
|
12972
12979
|
|
12973
|
-
|
12980
|
+
onEventUnlockStake(
|
12974
12981
|
func: (
|
12975
|
-
event: delegation_pool.
|
12982
|
+
event: delegation_pool.UnlockStakeInstance,
|
12976
12983
|
ctx: AptosContext,
|
12977
12984
|
) => void,
|
12978
12985
|
fetchConfig?: Partial<MoveFetchConfig>,
|
12979
12986
|
): delegation_pool {
|
12980
12987
|
this.onMoveEvent(
|
12981
12988
|
func,
|
12982
|
-
{ type: "delegation_pool::
|
12989
|
+
{ type: "delegation_pool::UnlockStake" },
|
12983
12990
|
fetchConfig,
|
12984
12991
|
);
|
12985
12992
|
return this;
|
@@ -13000,18 +13007,11 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
13000
13007
|
return this;
|
13001
13008
|
}
|
13002
13009
|
|
13003
|
-
|
13004
|
-
func: (
|
13005
|
-
event: delegation_pool.WithdrawStakeEventInstance,
|
13006
|
-
ctx: AptosContext,
|
13007
|
-
) => void,
|
13010
|
+
onEventVote(
|
13011
|
+
func: (event: delegation_pool.VoteInstance, ctx: AptosContext) => void,
|
13008
13012
|
fetchConfig?: Partial<MoveFetchConfig>,
|
13009
13013
|
): delegation_pool {
|
13010
|
-
this.onMoveEvent(
|
13011
|
-
func,
|
13012
|
-
{ type: "delegation_pool::WithdrawStakeEvent" },
|
13013
|
-
fetchConfig,
|
13014
|
-
);
|
13014
|
+
this.onMoveEvent(func, { type: "delegation_pool::Vote" }, fetchConfig);
|
13015
13015
|
return this;
|
13016
13016
|
}
|
13017
13017
|
|
@@ -13023,31 +13023,31 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
13023
13023
|
return this;
|
13024
13024
|
}
|
13025
13025
|
|
13026
|
-
|
13026
|
+
onEventWithdrawStake(
|
13027
13027
|
func: (
|
13028
|
-
event: delegation_pool.
|
13028
|
+
event: delegation_pool.WithdrawStakeInstance,
|
13029
13029
|
ctx: AptosContext,
|
13030
13030
|
) => void,
|
13031
13031
|
fetchConfig?: Partial<MoveFetchConfig>,
|
13032
13032
|
): delegation_pool {
|
13033
13033
|
this.onMoveEvent(
|
13034
13034
|
func,
|
13035
|
-
{ type: "delegation_pool::
|
13035
|
+
{ type: "delegation_pool::WithdrawStake" },
|
13036
13036
|
fetchConfig,
|
13037
13037
|
);
|
13038
13038
|
return this;
|
13039
13039
|
}
|
13040
13040
|
|
13041
|
-
|
13041
|
+
onEventWithdrawStakeEvent(
|
13042
13042
|
func: (
|
13043
|
-
event: delegation_pool.
|
13043
|
+
event: delegation_pool.WithdrawStakeEventInstance,
|
13044
13044
|
ctx: AptosContext,
|
13045
13045
|
) => void,
|
13046
13046
|
fetchConfig?: Partial<MoveFetchConfig>,
|
13047
13047
|
): delegation_pool {
|
13048
13048
|
this.onMoveEvent(
|
13049
13049
|
func,
|
13050
|
-
{ type: "delegation_pool::
|
13050
|
+
{ type: "delegation_pool::WithdrawStakeEvent" },
|
13051
13051
|
fetchConfig,
|
13052
13052
|
);
|
13053
13053
|
return this;
|
@@ -15472,39 +15472,31 @@ export class aptos_governance extends AptosBaseProcessor {
|
|
15472
15472
|
return this;
|
15473
15473
|
}
|
15474
15474
|
|
15475
|
-
|
15475
|
+
onEventCreateProposalEvent(
|
15476
15476
|
func: (
|
15477
|
-
event: aptos_governance.
|
15477
|
+
event: aptos_governance.CreateProposalEventInstance,
|
15478
15478
|
ctx: AptosContext,
|
15479
15479
|
) => void,
|
15480
15480
|
fetchConfig?: Partial<MoveFetchConfig>,
|
15481
15481
|
): aptos_governance {
|
15482
15482
|
this.onMoveEvent(
|
15483
15483
|
func,
|
15484
|
-
{ type: "aptos_governance::
|
15484
|
+
{ type: "aptos_governance::CreateProposalEvent" },
|
15485
15485
|
fetchConfig,
|
15486
15486
|
);
|
15487
15487
|
return this;
|
15488
15488
|
}
|
15489
15489
|
|
15490
|
-
|
15491
|
-
func: (event: aptos_governance.VoteInstance, ctx: AptosContext) => void,
|
15492
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
15493
|
-
): aptos_governance {
|
15494
|
-
this.onMoveEvent(func, { type: "aptos_governance::Vote" }, fetchConfig);
|
15495
|
-
return this;
|
15496
|
-
}
|
15497
|
-
|
15498
|
-
onEventCreateProposalEvent(
|
15490
|
+
onEventUpdateConfig(
|
15499
15491
|
func: (
|
15500
|
-
event: aptos_governance.
|
15492
|
+
event: aptos_governance.UpdateConfigInstance,
|
15501
15493
|
ctx: AptosContext,
|
15502
15494
|
) => void,
|
15503
15495
|
fetchConfig?: Partial<MoveFetchConfig>,
|
15504
15496
|
): aptos_governance {
|
15505
15497
|
this.onMoveEvent(
|
15506
15498
|
func,
|
15507
|
-
{ type: "aptos_governance::
|
15499
|
+
{ type: "aptos_governance::UpdateConfig" },
|
15508
15500
|
fetchConfig,
|
15509
15501
|
);
|
15510
15502
|
return this;
|
@@ -15525,6 +15517,14 @@ export class aptos_governance extends AptosBaseProcessor {
|
|
15525
15517
|
return this;
|
15526
15518
|
}
|
15527
15519
|
|
15520
|
+
onEventVote(
|
15521
|
+
func: (event: aptos_governance.VoteInstance, ctx: AptosContext) => void,
|
15522
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
15523
|
+
): aptos_governance {
|
15524
|
+
this.onMoveEvent(func, { type: "aptos_governance::Vote" }, fetchConfig);
|
15525
|
+
return this;
|
15526
|
+
}
|
15527
|
+
|
15528
15528
|
onEventVoteEvent(
|
15529
15529
|
func: (
|
15530
15530
|
event: aptos_governance.VoteEventInstance,
|
@@ -17017,129 +17017,121 @@ export class multisig_account extends AptosBaseProcessor {
|
|
17017
17017
|
return this;
|
17018
17018
|
}
|
17019
17019
|
|
17020
|
-
|
17020
|
+
onEventAddOwnersEvent(
|
17021
17021
|
func: (
|
17022
|
-
event: multisig_account.
|
17022
|
+
event: multisig_account.AddOwnersEventInstance,
|
17023
17023
|
ctx: AptosContext,
|
17024
17024
|
) => void,
|
17025
17025
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17026
17026
|
): multisig_account {
|
17027
17027
|
this.onMoveEvent(
|
17028
17028
|
func,
|
17029
|
-
{ type: "multisig_account::
|
17029
|
+
{ type: "multisig_account::AddOwnersEvent" },
|
17030
17030
|
fetchConfig,
|
17031
17031
|
);
|
17032
17032
|
return this;
|
17033
17033
|
}
|
17034
17034
|
|
17035
|
-
|
17035
|
+
onEventCreateTransaction(
|
17036
17036
|
func: (
|
17037
|
-
event: multisig_account.
|
17037
|
+
event: multisig_account.CreateTransactionInstance,
|
17038
17038
|
ctx: AptosContext,
|
17039
17039
|
) => void,
|
17040
17040
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17041
17041
|
): multisig_account {
|
17042
17042
|
this.onMoveEvent(
|
17043
17043
|
func,
|
17044
|
-
{ type: "multisig_account::
|
17044
|
+
{ type: "multisig_account::CreateTransaction" },
|
17045
17045
|
fetchConfig,
|
17046
17046
|
);
|
17047
17047
|
return this;
|
17048
17048
|
}
|
17049
17049
|
|
17050
|
-
|
17050
|
+
onEventCreateTransactionEvent(
|
17051
17051
|
func: (
|
17052
|
-
event: multisig_account.
|
17052
|
+
event: multisig_account.CreateTransactionEventInstance,
|
17053
17053
|
ctx: AptosContext,
|
17054
17054
|
) => void,
|
17055
17055
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17056
17056
|
): multisig_account {
|
17057
17057
|
this.onMoveEvent(
|
17058
17058
|
func,
|
17059
|
-
{ type: "multisig_account::
|
17059
|
+
{ type: "multisig_account::CreateTransactionEvent" },
|
17060
17060
|
fetchConfig,
|
17061
17061
|
);
|
17062
17062
|
return this;
|
17063
17063
|
}
|
17064
17064
|
|
17065
|
-
|
17065
|
+
onEventExecuteRejectedTransaction(
|
17066
17066
|
func: (
|
17067
|
-
event: multisig_account.
|
17067
|
+
event: multisig_account.ExecuteRejectedTransactionInstance,
|
17068
17068
|
ctx: AptosContext,
|
17069
17069
|
) => void,
|
17070
17070
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17071
17071
|
): multisig_account {
|
17072
17072
|
this.onMoveEvent(
|
17073
17073
|
func,
|
17074
|
-
{ type: "multisig_account::
|
17074
|
+
{ type: "multisig_account::ExecuteRejectedTransaction" },
|
17075
17075
|
fetchConfig,
|
17076
17076
|
);
|
17077
17077
|
return this;
|
17078
17078
|
}
|
17079
17079
|
|
17080
|
-
|
17080
|
+
onEventExecuteRejectedTransactionEvent(
|
17081
17081
|
func: (
|
17082
|
-
event: multisig_account.
|
17082
|
+
event: multisig_account.ExecuteRejectedTransactionEventInstance,
|
17083
17083
|
ctx: AptosContext,
|
17084
17084
|
) => void,
|
17085
17085
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17086
17086
|
): multisig_account {
|
17087
17087
|
this.onMoveEvent(
|
17088
17088
|
func,
|
17089
|
-
{ type: "multisig_account::
|
17089
|
+
{ type: "multisig_account::ExecuteRejectedTransactionEvent" },
|
17090
17090
|
fetchConfig,
|
17091
17091
|
);
|
17092
17092
|
return this;
|
17093
17093
|
}
|
17094
17094
|
|
17095
|
-
|
17095
|
+
onEventMetadataUpdated(
|
17096
17096
|
func: (
|
17097
|
-
event: multisig_account.
|
17097
|
+
event: multisig_account.MetadataUpdatedInstance,
|
17098
17098
|
ctx: AptosContext,
|
17099
17099
|
) => void,
|
17100
17100
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17101
17101
|
): multisig_account {
|
17102
17102
|
this.onMoveEvent(
|
17103
17103
|
func,
|
17104
|
-
{ type: "multisig_account::
|
17104
|
+
{ type: "multisig_account::MetadataUpdated" },
|
17105
17105
|
fetchConfig,
|
17106
17106
|
);
|
17107
17107
|
return this;
|
17108
17108
|
}
|
17109
17109
|
|
17110
|
-
|
17110
|
+
onEventMetadataUpdatedEvent(
|
17111
17111
|
func: (
|
17112
|
-
event: multisig_account.
|
17112
|
+
event: multisig_account.MetadataUpdatedEventInstance,
|
17113
17113
|
ctx: AptosContext,
|
17114
17114
|
) => void,
|
17115
17115
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17116
17116
|
): multisig_account {
|
17117
17117
|
this.onMoveEvent(
|
17118
17118
|
func,
|
17119
|
-
{ type: "multisig_account::
|
17119
|
+
{ type: "multisig_account::MetadataUpdatedEvent" },
|
17120
17120
|
fetchConfig,
|
17121
17121
|
);
|
17122
17122
|
return this;
|
17123
17123
|
}
|
17124
17124
|
|
17125
|
-
|
17126
|
-
func: (event: multisig_account.VoteInstance, ctx: AptosContext) => void,
|
17127
|
-
fetchConfig?: Partial<MoveFetchConfig>,
|
17128
|
-
): multisig_account {
|
17129
|
-
this.onMoveEvent(func, { type: "multisig_account::Vote" }, fetchConfig);
|
17130
|
-
return this;
|
17131
|
-
}
|
17132
|
-
|
17133
|
-
onEventAddOwnersEvent(
|
17125
|
+
onEventRemoveOwners(
|
17134
17126
|
func: (
|
17135
|
-
event: multisig_account.
|
17127
|
+
event: multisig_account.RemoveOwnersInstance,
|
17136
17128
|
ctx: AptosContext,
|
17137
17129
|
) => void,
|
17138
17130
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17139
17131
|
): multisig_account {
|
17140
17132
|
this.onMoveEvent(
|
17141
17133
|
func,
|
17142
|
-
{ type: "multisig_account::
|
17134
|
+
{ type: "multisig_account::RemoveOwners" },
|
17143
17135
|
fetchConfig,
|
17144
17136
|
);
|
17145
17137
|
return this;
|
@@ -17160,106 +17152,114 @@ export class multisig_account extends AptosBaseProcessor {
|
|
17160
17152
|
return this;
|
17161
17153
|
}
|
17162
17154
|
|
17163
|
-
|
17155
|
+
onEventTransactionExecutionFailed(
|
17164
17156
|
func: (
|
17165
|
-
event: multisig_account.
|
17157
|
+
event: multisig_account.TransactionExecutionFailedInstance,
|
17166
17158
|
ctx: AptosContext,
|
17167
17159
|
) => void,
|
17168
17160
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17169
17161
|
): multisig_account {
|
17170
17162
|
this.onMoveEvent(
|
17171
17163
|
func,
|
17172
|
-
{ type: "multisig_account::
|
17164
|
+
{ type: "multisig_account::TransactionExecutionFailed" },
|
17173
17165
|
fetchConfig,
|
17174
17166
|
);
|
17175
17167
|
return this;
|
17176
17168
|
}
|
17177
17169
|
|
17178
|
-
|
17170
|
+
onEventTransactionExecutionFailedEvent(
|
17179
17171
|
func: (
|
17180
|
-
event: multisig_account.
|
17172
|
+
event: multisig_account.TransactionExecutionFailedEventInstance,
|
17181
17173
|
ctx: AptosContext,
|
17182
17174
|
) => void,
|
17183
17175
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17184
17176
|
): multisig_account {
|
17185
17177
|
this.onMoveEvent(
|
17186
17178
|
func,
|
17187
|
-
{ type: "multisig_account::
|
17179
|
+
{ type: "multisig_account::TransactionExecutionFailedEvent" },
|
17188
17180
|
fetchConfig,
|
17189
17181
|
);
|
17190
17182
|
return this;
|
17191
17183
|
}
|
17192
17184
|
|
17193
|
-
|
17185
|
+
onEventTransactionExecutionSucceeded(
|
17194
17186
|
func: (
|
17195
|
-
event: multisig_account.
|
17187
|
+
event: multisig_account.TransactionExecutionSucceededInstance,
|
17196
17188
|
ctx: AptosContext,
|
17197
17189
|
) => void,
|
17198
17190
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17199
17191
|
): multisig_account {
|
17200
17192
|
this.onMoveEvent(
|
17201
17193
|
func,
|
17202
|
-
{ type: "multisig_account::
|
17194
|
+
{ type: "multisig_account::TransactionExecutionSucceeded" },
|
17203
17195
|
fetchConfig,
|
17204
17196
|
);
|
17205
17197
|
return this;
|
17206
17198
|
}
|
17207
17199
|
|
17208
|
-
|
17200
|
+
onEventTransactionExecutionSucceededEvent(
|
17209
17201
|
func: (
|
17210
|
-
event: multisig_account.
|
17202
|
+
event: multisig_account.TransactionExecutionSucceededEventInstance,
|
17211
17203
|
ctx: AptosContext,
|
17212
17204
|
) => void,
|
17213
17205
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17214
17206
|
): multisig_account {
|
17215
17207
|
this.onMoveEvent(
|
17216
17208
|
func,
|
17217
|
-
{ type: "multisig_account::
|
17209
|
+
{ type: "multisig_account::TransactionExecutionSucceededEvent" },
|
17218
17210
|
fetchConfig,
|
17219
17211
|
);
|
17220
17212
|
return this;
|
17221
17213
|
}
|
17222
17214
|
|
17223
|
-
|
17215
|
+
onEventUpdateSignaturesRequired(
|
17224
17216
|
func: (
|
17225
|
-
event: multisig_account.
|
17217
|
+
event: multisig_account.UpdateSignaturesRequiredInstance,
|
17226
17218
|
ctx: AptosContext,
|
17227
17219
|
) => void,
|
17228
17220
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17229
17221
|
): multisig_account {
|
17230
17222
|
this.onMoveEvent(
|
17231
17223
|
func,
|
17232
|
-
{ type: "multisig_account::
|
17224
|
+
{ type: "multisig_account::UpdateSignaturesRequired" },
|
17233
17225
|
fetchConfig,
|
17234
17226
|
);
|
17235
17227
|
return this;
|
17236
17228
|
}
|
17237
17229
|
|
17238
|
-
|
17230
|
+
onEventUpdateSignaturesRequiredEvent(
|
17239
17231
|
func: (
|
17240
|
-
event: multisig_account.
|
17232
|
+
event: multisig_account.UpdateSignaturesRequiredEventInstance,
|
17241
17233
|
ctx: AptosContext,
|
17242
17234
|
) => void,
|
17243
17235
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17244
17236
|
): multisig_account {
|
17245
17237
|
this.onMoveEvent(
|
17246
17238
|
func,
|
17247
|
-
{ type: "multisig_account::
|
17239
|
+
{ type: "multisig_account::UpdateSignaturesRequiredEvent" },
|
17248
17240
|
fetchConfig,
|
17249
17241
|
);
|
17250
17242
|
return this;
|
17251
17243
|
}
|
17252
17244
|
|
17253
|
-
|
17245
|
+
onEventVote(
|
17246
|
+
func: (event: multisig_account.VoteInstance, ctx: AptosContext) => void,
|
17247
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
17248
|
+
): multisig_account {
|
17249
|
+
this.onMoveEvent(func, { type: "multisig_account::Vote" }, fetchConfig);
|
17250
|
+
return this;
|
17251
|
+
}
|
17252
|
+
|
17253
|
+
onEventVoteEvent(
|
17254
17254
|
func: (
|
17255
|
-
event: multisig_account.
|
17255
|
+
event: multisig_account.VoteEventInstance,
|
17256
17256
|
ctx: AptosContext,
|
17257
17257
|
) => void,
|
17258
17258
|
fetchConfig?: Partial<MoveFetchConfig>,
|
17259
17259
|
): multisig_account {
|
17260
17260
|
this.onMoveEvent(
|
17261
17261
|
func,
|
17262
|
-
{ type: "multisig_account::
|
17262
|
+
{ type: "multisig_account::VoteEvent" },
|
17263
17263
|
fetchConfig,
|
17264
17264
|
);
|
17265
17265
|
return this;
|
@@ -19479,6 +19479,21 @@ export class staking_contract extends AptosBaseProcessor {
|
|
19479
19479
|
return this;
|
19480
19480
|
}
|
19481
19481
|
|
19482
|
+
onEventAddDistributionEvent(
|
19483
|
+
func: (
|
19484
|
+
event: staking_contract.AddDistributionEventInstance,
|
19485
|
+
ctx: AptosContext,
|
19486
|
+
) => void,
|
19487
|
+
fetchConfig?: Partial<MoveFetchConfig>,
|
19488
|
+
): staking_contract {
|
19489
|
+
this.onMoveEvent(
|
19490
|
+
func,
|
19491
|
+
{ type: "staking_contract::AddDistributionEvent" },
|
19492
|
+
fetchConfig,
|
19493
|
+
);
|
19494
|
+
return this;
|
19495
|
+
}
|
19496
|
+
|
19482
19497
|
onEventAddStake(
|
19483
19498
|
func: (event: staking_contract.AddStakeInstance, ctx: AptosContext) => void,
|
19484
19499
|
fetchConfig?: Partial<MoveFetchConfig>,
|
@@ -19487,286 +19502,286 @@ export class staking_contract extends AptosBaseProcessor {
|
|
19487
19502
|
return this;
|
19488
19503
|
}
|
19489
19504
|
|
19490
|
-
|
19505
|
+
onEventAddStakeEvent(
|
19491
19506
|
func: (
|
19492
|
-
event: staking_contract.
|
19507
|
+
event: staking_contract.AddStakeEventInstance,
|
19493
19508
|
ctx: AptosContext,
|
19494
19509
|
) => void,
|
19495
19510
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19496
19511
|
): staking_contract {
|
19497
19512
|
this.onMoveEvent(
|
19498
19513
|
func,
|
19499
|
-
{ type: "staking_contract::
|
19514
|
+
{ type: "staking_contract::AddStakeEvent" },
|
19500
19515
|
fetchConfig,
|
19501
19516
|
);
|
19502
19517
|
return this;
|
19503
19518
|
}
|
19504
19519
|
|
19505
|
-
|
19520
|
+
onEventCreateStakingContract(
|
19506
19521
|
func: (
|
19507
|
-
event: staking_contract.
|
19522
|
+
event: staking_contract.CreateStakingContractInstance,
|
19508
19523
|
ctx: AptosContext,
|
19509
19524
|
) => void,
|
19510
19525
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19511
19526
|
): staking_contract {
|
19512
19527
|
this.onMoveEvent(
|
19513
19528
|
func,
|
19514
|
-
{ type: "staking_contract::
|
19529
|
+
{ type: "staking_contract::CreateStakingContract" },
|
19515
19530
|
fetchConfig,
|
19516
19531
|
);
|
19517
19532
|
return this;
|
19518
19533
|
}
|
19519
19534
|
|
19520
|
-
|
19535
|
+
onEventCreateStakingContractEvent(
|
19521
19536
|
func: (
|
19522
|
-
event: staking_contract.
|
19537
|
+
event: staking_contract.CreateStakingContractEventInstance,
|
19523
19538
|
ctx: AptosContext,
|
19524
19539
|
) => void,
|
19525
19540
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19526
19541
|
): staking_contract {
|
19527
19542
|
this.onMoveEvent(
|
19528
19543
|
func,
|
19529
|
-
{ type: "staking_contract::
|
19544
|
+
{ type: "staking_contract::CreateStakingContractEvent" },
|
19530
19545
|
fetchConfig,
|
19531
19546
|
);
|
19532
19547
|
return this;
|
19533
19548
|
}
|
19534
19549
|
|
19535
|
-
|
19550
|
+
onEventDistribute(
|
19536
19551
|
func: (
|
19537
|
-
event: staking_contract.
|
19552
|
+
event: staking_contract.DistributeInstance,
|
19538
19553
|
ctx: AptosContext,
|
19539
19554
|
) => void,
|
19540
19555
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19541
19556
|
): staking_contract {
|
19542
19557
|
this.onMoveEvent(
|
19543
19558
|
func,
|
19544
|
-
{ type: "staking_contract::
|
19559
|
+
{ type: "staking_contract::Distribute" },
|
19545
19560
|
fetchConfig,
|
19546
19561
|
);
|
19547
19562
|
return this;
|
19548
19563
|
}
|
19549
19564
|
|
19550
|
-
|
19565
|
+
onEventDistributeEvent(
|
19551
19566
|
func: (
|
19552
|
-
event: staking_contract.
|
19567
|
+
event: staking_contract.DistributeEventInstance,
|
19553
19568
|
ctx: AptosContext,
|
19554
19569
|
) => void,
|
19555
19570
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19556
19571
|
): staking_contract {
|
19557
19572
|
this.onMoveEvent(
|
19558
19573
|
func,
|
19559
|
-
{ type: "staking_contract::
|
19574
|
+
{ type: "staking_contract::DistributeEvent" },
|
19560
19575
|
fetchConfig,
|
19561
19576
|
);
|
19562
19577
|
return this;
|
19563
19578
|
}
|
19564
19579
|
|
19565
|
-
|
19580
|
+
onEventRequestCommission(
|
19566
19581
|
func: (
|
19567
|
-
event: staking_contract.
|
19582
|
+
event: staking_contract.RequestCommissionInstance,
|
19568
19583
|
ctx: AptosContext,
|
19569
19584
|
) => void,
|
19570
19585
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19571
19586
|
): staking_contract {
|
19572
19587
|
this.onMoveEvent(
|
19573
19588
|
func,
|
19574
|
-
{ type: "staking_contract::
|
19589
|
+
{ type: "staking_contract::RequestCommission" },
|
19575
19590
|
fetchConfig,
|
19576
19591
|
);
|
19577
19592
|
return this;
|
19578
19593
|
}
|
19579
19594
|
|
19580
|
-
|
19595
|
+
onEventRequestCommissionEvent(
|
19581
19596
|
func: (
|
19582
|
-
event: staking_contract.
|
19597
|
+
event: staking_contract.RequestCommissionEventInstance,
|
19583
19598
|
ctx: AptosContext,
|
19584
19599
|
) => void,
|
19585
19600
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19586
19601
|
): staking_contract {
|
19587
19602
|
this.onMoveEvent(
|
19588
19603
|
func,
|
19589
|
-
{ type: "staking_contract::
|
19604
|
+
{ type: "staking_contract::RequestCommissionEvent" },
|
19590
19605
|
fetchConfig,
|
19591
19606
|
);
|
19592
19607
|
return this;
|
19593
19608
|
}
|
19594
19609
|
|
19595
|
-
|
19610
|
+
onEventResetLockup(
|
19596
19611
|
func: (
|
19597
|
-
event: staking_contract.
|
19612
|
+
event: staking_contract.ResetLockupInstance,
|
19598
19613
|
ctx: AptosContext,
|
19599
19614
|
) => void,
|
19600
19615
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19601
19616
|
): staking_contract {
|
19602
19617
|
this.onMoveEvent(
|
19603
19618
|
func,
|
19604
|
-
{ type: "staking_contract::
|
19619
|
+
{ type: "staking_contract::ResetLockup" },
|
19605
19620
|
fetchConfig,
|
19606
19621
|
);
|
19607
19622
|
return this;
|
19608
19623
|
}
|
19609
19624
|
|
19610
|
-
|
19625
|
+
onEventResetLockupEvent(
|
19611
19626
|
func: (
|
19612
|
-
event: staking_contract.
|
19627
|
+
event: staking_contract.ResetLockupEventInstance,
|
19613
19628
|
ctx: AptosContext,
|
19614
19629
|
) => void,
|
19615
19630
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19616
19631
|
): staking_contract {
|
19617
19632
|
this.onMoveEvent(
|
19618
19633
|
func,
|
19619
|
-
{ type: "staking_contract::
|
19634
|
+
{ type: "staking_contract::ResetLockupEvent" },
|
19620
19635
|
fetchConfig,
|
19621
19636
|
);
|
19622
19637
|
return this;
|
19623
19638
|
}
|
19624
19639
|
|
19625
|
-
|
19640
|
+
onEventSetBeneficiaryForOperator(
|
19626
19641
|
func: (
|
19627
|
-
event: staking_contract.
|
19642
|
+
event: staking_contract.SetBeneficiaryForOperatorInstance,
|
19628
19643
|
ctx: AptosContext,
|
19629
19644
|
) => void,
|
19630
19645
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19631
19646
|
): staking_contract {
|
19632
19647
|
this.onMoveEvent(
|
19633
19648
|
func,
|
19634
|
-
{ type: "staking_contract::
|
19649
|
+
{ type: "staking_contract::SetBeneficiaryForOperator" },
|
19635
19650
|
fetchConfig,
|
19636
19651
|
);
|
19637
19652
|
return this;
|
19638
19653
|
}
|
19639
19654
|
|
19640
|
-
|
19655
|
+
onEventStakingGroupUpdateCommissionEvent(
|
19641
19656
|
func: (
|
19642
|
-
event: staking_contract.
|
19657
|
+
event: staking_contract.StakingGroupUpdateCommissionEventInstance,
|
19643
19658
|
ctx: AptosContext,
|
19644
19659
|
) => void,
|
19645
19660
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19646
19661
|
): staking_contract {
|
19647
19662
|
this.onMoveEvent(
|
19648
19663
|
func,
|
19649
|
-
{ type: "staking_contract::
|
19664
|
+
{ type: "staking_contract::StakingGroupUpdateCommissionEvent" },
|
19650
19665
|
fetchConfig,
|
19651
19666
|
);
|
19652
19667
|
return this;
|
19653
19668
|
}
|
19654
19669
|
|
19655
|
-
|
19670
|
+
onEventSwitchOperator(
|
19656
19671
|
func: (
|
19657
|
-
event: staking_contract.
|
19672
|
+
event: staking_contract.SwitchOperatorInstance,
|
19658
19673
|
ctx: AptosContext,
|
19659
19674
|
) => void,
|
19660
19675
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19661
19676
|
): staking_contract {
|
19662
19677
|
this.onMoveEvent(
|
19663
19678
|
func,
|
19664
|
-
{ type: "staking_contract::
|
19679
|
+
{ type: "staking_contract::SwitchOperator" },
|
19665
19680
|
fetchConfig,
|
19666
19681
|
);
|
19667
19682
|
return this;
|
19668
19683
|
}
|
19669
19684
|
|
19670
|
-
|
19685
|
+
onEventSwitchOperatorEvent(
|
19671
19686
|
func: (
|
19672
|
-
event: staking_contract.
|
19687
|
+
event: staking_contract.SwitchOperatorEventInstance,
|
19673
19688
|
ctx: AptosContext,
|
19674
19689
|
) => void,
|
19675
19690
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19676
19691
|
): staking_contract {
|
19677
19692
|
this.onMoveEvent(
|
19678
19693
|
func,
|
19679
|
-
{ type: "staking_contract::
|
19694
|
+
{ type: "staking_contract::SwitchOperatorEvent" },
|
19680
19695
|
fetchConfig,
|
19681
19696
|
);
|
19682
19697
|
return this;
|
19683
19698
|
}
|
19684
19699
|
|
19685
|
-
|
19700
|
+
onEventUnlockStake(
|
19686
19701
|
func: (
|
19687
|
-
event: staking_contract.
|
19702
|
+
event: staking_contract.UnlockStakeInstance,
|
19688
19703
|
ctx: AptosContext,
|
19689
19704
|
) => void,
|
19690
19705
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19691
19706
|
): staking_contract {
|
19692
19707
|
this.onMoveEvent(
|
19693
19708
|
func,
|
19694
|
-
{ type: "staking_contract::
|
19709
|
+
{ type: "staking_contract::UnlockStake" },
|
19695
19710
|
fetchConfig,
|
19696
19711
|
);
|
19697
19712
|
return this;
|
19698
19713
|
}
|
19699
19714
|
|
19700
|
-
|
19715
|
+
onEventUnlockStakeEvent(
|
19701
19716
|
func: (
|
19702
|
-
event: staking_contract.
|
19717
|
+
event: staking_contract.UnlockStakeEventInstance,
|
19703
19718
|
ctx: AptosContext,
|
19704
19719
|
) => void,
|
19705
19720
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19706
19721
|
): staking_contract {
|
19707
19722
|
this.onMoveEvent(
|
19708
19723
|
func,
|
19709
|
-
{ type: "staking_contract::
|
19724
|
+
{ type: "staking_contract::UnlockStakeEvent" },
|
19710
19725
|
fetchConfig,
|
19711
19726
|
);
|
19712
19727
|
return this;
|
19713
19728
|
}
|
19714
19729
|
|
19715
|
-
|
19730
|
+
onEventUpdateCommission(
|
19716
19731
|
func: (
|
19717
|
-
event: staking_contract.
|
19732
|
+
event: staking_contract.UpdateCommissionInstance,
|
19718
19733
|
ctx: AptosContext,
|
19719
19734
|
) => void,
|
19720
19735
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19721
19736
|
): staking_contract {
|
19722
19737
|
this.onMoveEvent(
|
19723
19738
|
func,
|
19724
|
-
{ type: "staking_contract::
|
19739
|
+
{ type: "staking_contract::UpdateCommission" },
|
19725
19740
|
fetchConfig,
|
19726
19741
|
);
|
19727
19742
|
return this;
|
19728
19743
|
}
|
19729
19744
|
|
19730
|
-
|
19745
|
+
onEventUpdateCommissionEvent(
|
19731
19746
|
func: (
|
19732
|
-
event: staking_contract.
|
19747
|
+
event: staking_contract.UpdateCommissionEventInstance,
|
19733
19748
|
ctx: AptosContext,
|
19734
19749
|
) => void,
|
19735
19750
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19736
19751
|
): staking_contract {
|
19737
19752
|
this.onMoveEvent(
|
19738
19753
|
func,
|
19739
|
-
{ type: "staking_contract::
|
19754
|
+
{ type: "staking_contract::UpdateCommissionEvent" },
|
19740
19755
|
fetchConfig,
|
19741
19756
|
);
|
19742
19757
|
return this;
|
19743
19758
|
}
|
19744
19759
|
|
19745
|
-
|
19760
|
+
onEventUpdateVoter(
|
19746
19761
|
func: (
|
19747
|
-
event: staking_contract.
|
19762
|
+
event: staking_contract.UpdateVoterInstance,
|
19748
19763
|
ctx: AptosContext,
|
19749
19764
|
) => void,
|
19750
19765
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19751
19766
|
): staking_contract {
|
19752
19767
|
this.onMoveEvent(
|
19753
19768
|
func,
|
19754
|
-
{ type: "staking_contract::
|
19769
|
+
{ type: "staking_contract::UpdateVoter" },
|
19755
19770
|
fetchConfig,
|
19756
19771
|
);
|
19757
19772
|
return this;
|
19758
19773
|
}
|
19759
19774
|
|
19760
|
-
|
19775
|
+
onEventUpdateVoterEvent(
|
19761
19776
|
func: (
|
19762
|
-
event: staking_contract.
|
19777
|
+
event: staking_contract.UpdateVoterEventInstance,
|
19763
19778
|
ctx: AptosContext,
|
19764
19779
|
) => void,
|
19765
19780
|
fetchConfig?: Partial<MoveFetchConfig>,
|
19766
19781
|
): staking_contract {
|
19767
19782
|
this.onMoveEvent(
|
19768
19783
|
func,
|
19769
|
-
{ type: "staking_contract::
|
19784
|
+
{ type: "staking_contract::UpdateVoterEvent" },
|
19770
19785
|
fetchConfig,
|
19771
19786
|
);
|
19772
19787
|
return this;
|
@@ -20153,6 +20168,12 @@ export namespace staking_contract {
|
|
20153
20168
|
}
|
20154
20169
|
}
|
20155
20170
|
|
20171
|
+
export interface StakingGroupUpdateCommissionEventInstance
|
20172
|
+
extends TypedEventInstance<StakingGroupUpdateCommissionEvent> {
|
20173
|
+
data_decoded: StakingGroupUpdateCommissionEvent;
|
20174
|
+
type_arguments: [];
|
20175
|
+
}
|
20176
|
+
|
20156
20177
|
export interface Store {
|
20157
20178
|
staking_contracts: simple_map.SimpleMap<
|
20158
20179
|
MoveAddressType,
|