@sentio/sdk 1.21.0 → 1.21.1
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 +6 -5
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/index.d.ts +1 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +2 -1
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +68 -68
- package/lib/builtin/aptos/0x1.js +136 -68
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +13 -13
- package/lib/builtin/aptos/0x3.js +26 -13
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +1 -0
- package/lib/gen/processor/protos/processor.js +18 -1
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/service.js +2 -1
- package/lib/service.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +16 -16
- package/lib/tests/types/aptos/souffle.js +32 -16
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/aptos-processor.ts +10 -7
- package/src/aptos/index.ts +1 -1
- package/src/aptos-codegen/codegen.ts +2 -1
- package/src/builtin/aptos/0x1.ts +225 -68
- package/src/builtin/aptos/0x3.ts +39 -13
- package/src/gen/processor/protos/processor.ts +19 -1
- package/src/service.ts +2 -2
- package/src/tests/types/aptos/souffle.ts +48 -16
package/src/builtin/aptos/0x1.ts
CHANGED
@@ -57,9 +57,14 @@ export class code extends aptos.AptosBaseProcessor {
|
|
57
57
|
}
|
58
58
|
|
59
59
|
onEntryPublishPackageTxn(
|
60
|
-
func: (
|
60
|
+
func: (
|
61
|
+
call: code.PublishPackageTxnPayload,
|
62
|
+
ctx: aptos.AptosContext
|
63
|
+
) => void,
|
64
|
+
filter?: aptos.CallFilter
|
61
65
|
): code {
|
62
66
|
this.onEntryFunctionCall(func, {
|
67
|
+
...filter,
|
63
68
|
function: "code::publish_package_txn",
|
64
69
|
});
|
65
70
|
return this;
|
@@ -137,18 +142,22 @@ export class coin extends aptos.AptosBaseProcessor {
|
|
137
142
|
func: (
|
138
143
|
call: coin.FreezeCoinStorePayload<T0>,
|
139
144
|
ctx: aptos.AptosContext
|
140
|
-
) => void
|
145
|
+
) => void,
|
146
|
+
filter?: aptos.CallFilter
|
141
147
|
): coin {
|
142
148
|
this.onEntryFunctionCall(func, {
|
149
|
+
...filter,
|
143
150
|
function: "coin::freeze_coin_store",
|
144
151
|
});
|
145
152
|
return this;
|
146
153
|
}
|
147
154
|
|
148
155
|
onEntryTransfer<T0>(
|
149
|
-
func: (call: coin.TransferPayload<T0>, ctx: aptos.AptosContext) => void
|
156
|
+
func: (call: coin.TransferPayload<T0>, ctx: aptos.AptosContext) => void,
|
157
|
+
filter?: aptos.CallFilter
|
150
158
|
): coin {
|
151
159
|
this.onEntryFunctionCall(func, {
|
160
|
+
...filter,
|
152
161
|
function: "coin::transfer",
|
153
162
|
});
|
154
163
|
return this;
|
@@ -158,18 +167,25 @@ export class coin extends aptos.AptosBaseProcessor {
|
|
158
167
|
func: (
|
159
168
|
call: coin.UnfreezeCoinStorePayload<T0>,
|
160
169
|
ctx: aptos.AptosContext
|
161
|
-
) => void
|
170
|
+
) => void,
|
171
|
+
filter?: aptos.CallFilter
|
162
172
|
): coin {
|
163
173
|
this.onEntryFunctionCall(func, {
|
174
|
+
...filter,
|
164
175
|
function: "coin::unfreeze_coin_store",
|
165
176
|
});
|
166
177
|
return this;
|
167
178
|
}
|
168
179
|
|
169
180
|
onEntryUpgradeSupply<T0>(
|
170
|
-
func: (
|
181
|
+
func: (
|
182
|
+
call: coin.UpgradeSupplyPayload<T0>,
|
183
|
+
ctx: aptos.AptosContext
|
184
|
+
) => void,
|
185
|
+
filter?: aptos.CallFilter
|
171
186
|
): coin {
|
172
187
|
this.onEntryFunctionCall(func, {
|
188
|
+
...filter,
|
173
189
|
function: "coin::upgrade_supply",
|
174
190
|
});
|
175
191
|
return this;
|
@@ -442,18 +458,22 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
442
458
|
}
|
443
459
|
|
444
460
|
onEntryAddStake(
|
445
|
-
func: (call: stake.AddStakePayload, ctx: aptos.AptosContext) => void
|
461
|
+
func: (call: stake.AddStakePayload, ctx: aptos.AptosContext) => void,
|
462
|
+
filter?: aptos.CallFilter
|
446
463
|
): stake {
|
447
464
|
this.onEntryFunctionCall(func, {
|
465
|
+
...filter,
|
448
466
|
function: "stake::add_stake",
|
449
467
|
});
|
450
468
|
return this;
|
451
469
|
}
|
452
470
|
|
453
471
|
onEntryIncreaseLockup(
|
454
|
-
func: (call: stake.IncreaseLockupPayload, ctx: aptos.AptosContext) => void
|
472
|
+
func: (call: stake.IncreaseLockupPayload, ctx: aptos.AptosContext) => void,
|
473
|
+
filter?: aptos.CallFilter
|
455
474
|
): stake {
|
456
475
|
this.onEntryFunctionCall(func, {
|
476
|
+
...filter,
|
457
477
|
function: "stake::increase_lockup",
|
458
478
|
});
|
459
479
|
return this;
|
@@ -463,9 +483,11 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
463
483
|
func: (
|
464
484
|
call: stake.InitializeStakeOwnerPayload,
|
465
485
|
ctx: aptos.AptosContext
|
466
|
-
) => void
|
486
|
+
) => void,
|
487
|
+
filter?: aptos.CallFilter
|
467
488
|
): stake {
|
468
489
|
this.onEntryFunctionCall(func, {
|
490
|
+
...filter,
|
469
491
|
function: "stake::initialize_stake_owner",
|
470
492
|
});
|
471
493
|
return this;
|
@@ -475,18 +497,25 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
475
497
|
func: (
|
476
498
|
call: stake.InitializeValidatorPayload,
|
477
499
|
ctx: aptos.AptosContext
|
478
|
-
) => void
|
500
|
+
) => void,
|
501
|
+
filter?: aptos.CallFilter
|
479
502
|
): stake {
|
480
503
|
this.onEntryFunctionCall(func, {
|
504
|
+
...filter,
|
481
505
|
function: "stake::initialize_validator",
|
482
506
|
});
|
483
507
|
return this;
|
484
508
|
}
|
485
509
|
|
486
510
|
onEntryJoinValidatorSet(
|
487
|
-
func: (
|
511
|
+
func: (
|
512
|
+
call: stake.JoinValidatorSetPayload,
|
513
|
+
ctx: aptos.AptosContext
|
514
|
+
) => void,
|
515
|
+
filter?: aptos.CallFilter
|
488
516
|
): stake {
|
489
517
|
this.onEntryFunctionCall(func, {
|
518
|
+
...filter,
|
490
519
|
function: "stake::join_validator_set",
|
491
520
|
});
|
492
521
|
return this;
|
@@ -496,18 +525,22 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
496
525
|
func: (
|
497
526
|
call: stake.LeaveValidatorSetPayload,
|
498
527
|
ctx: aptos.AptosContext
|
499
|
-
) => void
|
528
|
+
) => void,
|
529
|
+
filter?: aptos.CallFilter
|
500
530
|
): stake {
|
501
531
|
this.onEntryFunctionCall(func, {
|
532
|
+
...filter,
|
502
533
|
function: "stake::leave_validator_set",
|
503
534
|
});
|
504
535
|
return this;
|
505
536
|
}
|
506
537
|
|
507
538
|
onEntryReactivateStake(
|
508
|
-
func: (call: stake.ReactivateStakePayload, ctx: aptos.AptosContext) => void
|
539
|
+
func: (call: stake.ReactivateStakePayload, ctx: aptos.AptosContext) => void,
|
540
|
+
filter?: aptos.CallFilter
|
509
541
|
): stake {
|
510
542
|
this.onEntryFunctionCall(func, {
|
543
|
+
...filter,
|
511
544
|
function: "stake::reactivate_stake",
|
512
545
|
});
|
513
546
|
return this;
|
@@ -517,9 +550,11 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
517
550
|
func: (
|
518
551
|
call: stake.RotateConsensusKeyPayload,
|
519
552
|
ctx: aptos.AptosContext
|
520
|
-
) => void
|
553
|
+
) => void,
|
554
|
+
filter?: aptos.CallFilter
|
521
555
|
): stake {
|
522
556
|
this.onEntryFunctionCall(func, {
|
557
|
+
...filter,
|
523
558
|
function: "stake::rotate_consensus_key",
|
524
559
|
});
|
525
560
|
return this;
|
@@ -529,27 +564,33 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
529
564
|
func: (
|
530
565
|
call: stake.SetDelegatedVoterPayload,
|
531
566
|
ctx: aptos.AptosContext
|
532
|
-
) => void
|
567
|
+
) => void,
|
568
|
+
filter?: aptos.CallFilter
|
533
569
|
): stake {
|
534
570
|
this.onEntryFunctionCall(func, {
|
571
|
+
...filter,
|
535
572
|
function: "stake::set_delegated_voter",
|
536
573
|
});
|
537
574
|
return this;
|
538
575
|
}
|
539
576
|
|
540
577
|
onEntrySetOperator(
|
541
|
-
func: (call: stake.SetOperatorPayload, ctx: aptos.AptosContext) => void
|
578
|
+
func: (call: stake.SetOperatorPayload, ctx: aptos.AptosContext) => void,
|
579
|
+
filter?: aptos.CallFilter
|
542
580
|
): stake {
|
543
581
|
this.onEntryFunctionCall(func, {
|
582
|
+
...filter,
|
544
583
|
function: "stake::set_operator",
|
545
584
|
});
|
546
585
|
return this;
|
547
586
|
}
|
548
587
|
|
549
588
|
onEntryUnlock(
|
550
|
-
func: (call: stake.UnlockPayload, ctx: aptos.AptosContext) => void
|
589
|
+
func: (call: stake.UnlockPayload, ctx: aptos.AptosContext) => void,
|
590
|
+
filter?: aptos.CallFilter
|
551
591
|
): stake {
|
552
592
|
this.onEntryFunctionCall(func, {
|
593
|
+
...filter,
|
553
594
|
function: "stake::unlock",
|
554
595
|
});
|
555
596
|
return this;
|
@@ -559,18 +600,22 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
559
600
|
func: (
|
560
601
|
call: stake.UpdateNetworkAndFullnodeAddressesPayload,
|
561
602
|
ctx: aptos.AptosContext
|
562
|
-
) => void
|
603
|
+
) => void,
|
604
|
+
filter?: aptos.CallFilter
|
563
605
|
): stake {
|
564
606
|
this.onEntryFunctionCall(func, {
|
607
|
+
...filter,
|
565
608
|
function: "stake::update_network_and_fullnode_addresses",
|
566
609
|
});
|
567
610
|
return this;
|
568
611
|
}
|
569
612
|
|
570
613
|
onEntryWithdraw(
|
571
|
-
func: (call: stake.WithdrawPayload, ctx: aptos.AptosContext) => void
|
614
|
+
func: (call: stake.WithdrawPayload, ctx: aptos.AptosContext) => void,
|
615
|
+
filter?: aptos.CallFilter
|
572
616
|
): stake {
|
573
617
|
this.onEntryFunctionCall(func, {
|
618
|
+
...filter,
|
574
619
|
function: "stake::withdraw",
|
575
620
|
});
|
576
621
|
return this;
|
@@ -1200,9 +1245,11 @@ export class account extends aptos.AptosBaseProcessor {
|
|
1200
1245
|
func: (
|
1201
1246
|
call: account.OfferSignerCapabilityPayload,
|
1202
1247
|
ctx: aptos.AptosContext
|
1203
|
-
) => void
|
1248
|
+
) => void,
|
1249
|
+
filter?: aptos.CallFilter
|
1204
1250
|
): account {
|
1205
1251
|
this.onEntryFunctionCall(func, {
|
1252
|
+
...filter,
|
1206
1253
|
function: "account::offer_signer_capability",
|
1207
1254
|
});
|
1208
1255
|
return this;
|
@@ -1212,9 +1259,11 @@ export class account extends aptos.AptosBaseProcessor {
|
|
1212
1259
|
func: (
|
1213
1260
|
call: account.RevokeSignerCapabilityPayload,
|
1214
1261
|
ctx: aptos.AptosContext
|
1215
|
-
) => void
|
1262
|
+
) => void,
|
1263
|
+
filter?: aptos.CallFilter
|
1216
1264
|
): account {
|
1217
1265
|
this.onEntryFunctionCall(func, {
|
1266
|
+
...filter,
|
1218
1267
|
function: "account::revoke_signer_capability",
|
1219
1268
|
});
|
1220
1269
|
return this;
|
@@ -1224,9 +1273,11 @@ export class account extends aptos.AptosBaseProcessor {
|
|
1224
1273
|
func: (
|
1225
1274
|
call: account.RotateAuthenticationKeyPayload,
|
1226
1275
|
ctx: aptos.AptosContext
|
1227
|
-
) => void
|
1276
|
+
) => void,
|
1277
|
+
filter?: aptos.CallFilter
|
1228
1278
|
): account {
|
1229
1279
|
this.onEntryFunctionCall(func, {
|
1280
|
+
...filter,
|
1230
1281
|
function: "account::rotate_authentication_key",
|
1231
1282
|
});
|
1232
1283
|
return this;
|
@@ -1443,9 +1494,11 @@ export class version extends aptos.AptosBaseProcessor {
|
|
1443
1494
|
}
|
1444
1495
|
|
1445
1496
|
onEntrySetVersion(
|
1446
|
-
func: (call: version.SetVersionPayload, ctx: aptos.AptosContext) => void
|
1497
|
+
func: (call: version.SetVersionPayload, ctx: aptos.AptosContext) => void,
|
1498
|
+
filter?: aptos.CallFilter
|
1447
1499
|
): version {
|
1448
1500
|
this.onEntryFunctionCall(func, {
|
1501
|
+
...filter,
|
1449
1502
|
function: "version::set_version",
|
1450
1503
|
});
|
1451
1504
|
return this;
|
@@ -1492,18 +1545,22 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
1492
1545
|
}
|
1493
1546
|
|
1494
1547
|
onEntryAdminWithdraw(
|
1495
|
-
func: (call: vesting.AdminWithdrawPayload, ctx: aptos.AptosContext) => void
|
1548
|
+
func: (call: vesting.AdminWithdrawPayload, ctx: aptos.AptosContext) => void,
|
1549
|
+
filter?: aptos.CallFilter
|
1496
1550
|
): vesting {
|
1497
1551
|
this.onEntryFunctionCall(func, {
|
1552
|
+
...filter,
|
1498
1553
|
function: "vesting::admin_withdraw",
|
1499
1554
|
});
|
1500
1555
|
return this;
|
1501
1556
|
}
|
1502
1557
|
|
1503
1558
|
onEntryDistribute(
|
1504
|
-
func: (call: vesting.DistributePayload, ctx: aptos.AptosContext) => void
|
1559
|
+
func: (call: vesting.DistributePayload, ctx: aptos.AptosContext) => void,
|
1560
|
+
filter?: aptos.CallFilter
|
1505
1561
|
): vesting {
|
1506
1562
|
this.onEntryFunctionCall(func, {
|
1563
|
+
...filter,
|
1507
1564
|
function: "vesting::distribute",
|
1508
1565
|
});
|
1509
1566
|
return this;
|
@@ -1513,27 +1570,36 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
1513
1570
|
func: (
|
1514
1571
|
call: vesting.ResetBeneficiaryPayload,
|
1515
1572
|
ctx: aptos.AptosContext
|
1516
|
-
) => void
|
1573
|
+
) => void,
|
1574
|
+
filter?: aptos.CallFilter
|
1517
1575
|
): vesting {
|
1518
1576
|
this.onEntryFunctionCall(func, {
|
1577
|
+
...filter,
|
1519
1578
|
function: "vesting::reset_beneficiary",
|
1520
1579
|
});
|
1521
1580
|
return this;
|
1522
1581
|
}
|
1523
1582
|
|
1524
1583
|
onEntryResetLockup(
|
1525
|
-
func: (call: vesting.ResetLockupPayload, ctx: aptos.AptosContext) => void
|
1584
|
+
func: (call: vesting.ResetLockupPayload, ctx: aptos.AptosContext) => void,
|
1585
|
+
filter?: aptos.CallFilter
|
1526
1586
|
): vesting {
|
1527
1587
|
this.onEntryFunctionCall(func, {
|
1588
|
+
...filter,
|
1528
1589
|
function: "vesting::reset_lockup",
|
1529
1590
|
});
|
1530
1591
|
return this;
|
1531
1592
|
}
|
1532
1593
|
|
1533
1594
|
onEntrySetBeneficiary(
|
1534
|
-
func: (
|
1595
|
+
func: (
|
1596
|
+
call: vesting.SetBeneficiaryPayload,
|
1597
|
+
ctx: aptos.AptosContext
|
1598
|
+
) => void,
|
1599
|
+
filter?: aptos.CallFilter
|
1535
1600
|
): vesting {
|
1536
1601
|
this.onEntryFunctionCall(func, {
|
1602
|
+
...filter,
|
1537
1603
|
function: "vesting::set_beneficiary",
|
1538
1604
|
});
|
1539
1605
|
return this;
|
@@ -1543,9 +1609,11 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
1543
1609
|
func: (
|
1544
1610
|
call: vesting.SetBeneficiaryResetterPayload,
|
1545
1611
|
ctx: aptos.AptosContext
|
1546
|
-
) => void
|
1612
|
+
) => void,
|
1613
|
+
filter?: aptos.CallFilter
|
1547
1614
|
): vesting {
|
1548
1615
|
this.onEntryFunctionCall(func, {
|
1616
|
+
...filter,
|
1549
1617
|
function: "vesting::set_beneficiary_resetter",
|
1550
1618
|
});
|
1551
1619
|
return this;
|
@@ -1555,9 +1623,11 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
1555
1623
|
func: (
|
1556
1624
|
call: vesting.SetManagementRolePayload,
|
1557
1625
|
ctx: aptos.AptosContext
|
1558
|
-
) => void
|
1626
|
+
) => void,
|
1627
|
+
filter?: aptos.CallFilter
|
1559
1628
|
): vesting {
|
1560
1629
|
this.onEntryFunctionCall(func, {
|
1630
|
+
...filter,
|
1561
1631
|
function: "vesting::set_management_role",
|
1562
1632
|
});
|
1563
1633
|
return this;
|
@@ -1567,27 +1637,36 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
1567
1637
|
func: (
|
1568
1638
|
call: vesting.TerminateVestingContractPayload,
|
1569
1639
|
ctx: aptos.AptosContext
|
1570
|
-
) => void
|
1640
|
+
) => void,
|
1641
|
+
filter?: aptos.CallFilter
|
1571
1642
|
): vesting {
|
1572
1643
|
this.onEntryFunctionCall(func, {
|
1644
|
+
...filter,
|
1573
1645
|
function: "vesting::terminate_vesting_contract",
|
1574
1646
|
});
|
1575
1647
|
return this;
|
1576
1648
|
}
|
1577
1649
|
|
1578
1650
|
onEntryUnlockRewards(
|
1579
|
-
func: (call: vesting.UnlockRewardsPayload, ctx: aptos.AptosContext) => void
|
1651
|
+
func: (call: vesting.UnlockRewardsPayload, ctx: aptos.AptosContext) => void,
|
1652
|
+
filter?: aptos.CallFilter
|
1580
1653
|
): vesting {
|
1581
1654
|
this.onEntryFunctionCall(func, {
|
1655
|
+
...filter,
|
1582
1656
|
function: "vesting::unlock_rewards",
|
1583
1657
|
});
|
1584
1658
|
return this;
|
1585
1659
|
}
|
1586
1660
|
|
1587
1661
|
onEntryUpdateOperator(
|
1588
|
-
func: (
|
1662
|
+
func: (
|
1663
|
+
call: vesting.UpdateOperatorPayload,
|
1664
|
+
ctx: aptos.AptosContext
|
1665
|
+
) => void,
|
1666
|
+
filter?: aptos.CallFilter
|
1589
1667
|
): vesting {
|
1590
1668
|
this.onEntryFunctionCall(func, {
|
1669
|
+
...filter,
|
1591
1670
|
function: "vesting::update_operator",
|
1592
1671
|
});
|
1593
1672
|
return this;
|
@@ -1597,27 +1676,33 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
1597
1676
|
func: (
|
1598
1677
|
call: vesting.UpdateOperatorWithSameCommissionPayload,
|
1599
1678
|
ctx: aptos.AptosContext
|
1600
|
-
) => void
|
1679
|
+
) => void,
|
1680
|
+
filter?: aptos.CallFilter
|
1601
1681
|
): vesting {
|
1602
1682
|
this.onEntryFunctionCall(func, {
|
1683
|
+
...filter,
|
1603
1684
|
function: "vesting::update_operator_with_same_commission",
|
1604
1685
|
});
|
1605
1686
|
return this;
|
1606
1687
|
}
|
1607
1688
|
|
1608
1689
|
onEntryUpdateVoter(
|
1609
|
-
func: (call: vesting.UpdateVoterPayload, ctx: aptos.AptosContext) => void
|
1690
|
+
func: (call: vesting.UpdateVoterPayload, ctx: aptos.AptosContext) => void,
|
1691
|
+
filter?: aptos.CallFilter
|
1610
1692
|
): vesting {
|
1611
1693
|
this.onEntryFunctionCall(func, {
|
1694
|
+
...filter,
|
1612
1695
|
function: "vesting::update_voter",
|
1613
1696
|
});
|
1614
1697
|
return this;
|
1615
1698
|
}
|
1616
1699
|
|
1617
1700
|
onEntryVest(
|
1618
|
-
func: (call: vesting.VestPayload, ctx: aptos.AptosContext) => void
|
1701
|
+
func: (call: vesting.VestPayload, ctx: aptos.AptosContext) => void,
|
1702
|
+
filter?: aptos.CallFilter
|
1619
1703
|
): vesting {
|
1620
1704
|
this.onEntryFunctionCall(func, {
|
1705
|
+
...filter,
|
1621
1706
|
function: "vesting::vest",
|
1622
1707
|
});
|
1623
1708
|
return this;
|
@@ -2150,9 +2235,11 @@ export class aptos_coin extends aptos.AptosBaseProcessor {
|
|
2150
2235
|
func: (
|
2151
2236
|
call: aptos_coin.ClaimMintCapabilityPayload,
|
2152
2237
|
ctx: aptos.AptosContext
|
2153
|
-
) => void
|
2238
|
+
) => void,
|
2239
|
+
filter?: aptos.CallFilter
|
2154
2240
|
): aptos_coin {
|
2155
2241
|
this.onEntryFunctionCall(func, {
|
2242
|
+
...filter,
|
2156
2243
|
function: "aptos_coin::claim_mint_capability",
|
2157
2244
|
});
|
2158
2245
|
return this;
|
@@ -2162,18 +2249,22 @@ export class aptos_coin extends aptos.AptosBaseProcessor {
|
|
2162
2249
|
func: (
|
2163
2250
|
call: aptos_coin.DelegateMintCapabilityPayload,
|
2164
2251
|
ctx: aptos.AptosContext
|
2165
|
-
) => void
|
2252
|
+
) => void,
|
2253
|
+
filter?: aptos.CallFilter
|
2166
2254
|
): aptos_coin {
|
2167
2255
|
this.onEntryFunctionCall(func, {
|
2256
|
+
...filter,
|
2168
2257
|
function: "aptos_coin::delegate_mint_capability",
|
2169
2258
|
});
|
2170
2259
|
return this;
|
2171
2260
|
}
|
2172
2261
|
|
2173
2262
|
onEntryMint(
|
2174
|
-
func: (call: aptos_coin.MintPayload, ctx: aptos.AptosContext) => void
|
2263
|
+
func: (call: aptos_coin.MintPayload, ctx: aptos.AptosContext) => void,
|
2264
|
+
filter?: aptos.CallFilter
|
2175
2265
|
): aptos_coin {
|
2176
2266
|
this.onEntryFunctionCall(func, {
|
2267
|
+
...filter,
|
2177
2268
|
function: "aptos_coin::mint",
|
2178
2269
|
});
|
2179
2270
|
return this;
|
@@ -2408,9 +2499,11 @@ export class managed_coin extends aptos.AptosBaseProcessor {
|
|
2408
2499
|
}
|
2409
2500
|
|
2410
2501
|
onEntryBurn<T0>(
|
2411
|
-
func: (call: managed_coin.BurnPayload<T0>, ctx: aptos.AptosContext) => void
|
2502
|
+
func: (call: managed_coin.BurnPayload<T0>, ctx: aptos.AptosContext) => void,
|
2503
|
+
filter?: aptos.CallFilter
|
2412
2504
|
): managed_coin {
|
2413
2505
|
this.onEntryFunctionCall(func, {
|
2506
|
+
...filter,
|
2414
2507
|
function: "managed_coin::burn",
|
2415
2508
|
});
|
2416
2509
|
return this;
|
@@ -2420,18 +2513,22 @@ export class managed_coin extends aptos.AptosBaseProcessor {
|
|
2420
2513
|
func: (
|
2421
2514
|
call: managed_coin.InitializePayload<T0>,
|
2422
2515
|
ctx: aptos.AptosContext
|
2423
|
-
) => void
|
2516
|
+
) => void,
|
2517
|
+
filter?: aptos.CallFilter
|
2424
2518
|
): managed_coin {
|
2425
2519
|
this.onEntryFunctionCall(func, {
|
2520
|
+
...filter,
|
2426
2521
|
function: "managed_coin::initialize",
|
2427
2522
|
});
|
2428
2523
|
return this;
|
2429
2524
|
}
|
2430
2525
|
|
2431
2526
|
onEntryMint<T0>(
|
2432
|
-
func: (call: managed_coin.MintPayload<T0>, ctx: aptos.AptosContext) => void
|
2527
|
+
func: (call: managed_coin.MintPayload<T0>, ctx: aptos.AptosContext) => void,
|
2528
|
+
filter?: aptos.CallFilter
|
2433
2529
|
): managed_coin {
|
2434
2530
|
this.onEntryFunctionCall(func, {
|
2531
|
+
...filter,
|
2435
2532
|
function: "managed_coin::mint",
|
2436
2533
|
});
|
2437
2534
|
return this;
|
@@ -2441,9 +2538,11 @@ export class managed_coin extends aptos.AptosBaseProcessor {
|
|
2441
2538
|
func: (
|
2442
2539
|
call: managed_coin.RegisterPayload<T0>,
|
2443
2540
|
ctx: aptos.AptosContext
|
2444
|
-
) => void
|
2541
|
+
) => void,
|
2542
|
+
filter?: aptos.CallFilter
|
2445
2543
|
): managed_coin {
|
2446
2544
|
this.onEntryFunctionCall(func, {
|
2545
|
+
...filter,
|
2447
2546
|
function: "managed_coin::register",
|
2448
2547
|
});
|
2449
2548
|
return this;
|
@@ -2527,18 +2626,25 @@ export class aptos_account extends aptos.AptosBaseProcessor {
|
|
2527
2626
|
func: (
|
2528
2627
|
call: aptos_account.CreateAccountPayload,
|
2529
2628
|
ctx: aptos.AptosContext
|
2530
|
-
) => void
|
2629
|
+
) => void,
|
2630
|
+
filter?: aptos.CallFilter
|
2531
2631
|
): aptos_account {
|
2532
2632
|
this.onEntryFunctionCall(func, {
|
2633
|
+
...filter,
|
2533
2634
|
function: "aptos_account::create_account",
|
2534
2635
|
});
|
2535
2636
|
return this;
|
2536
2637
|
}
|
2537
2638
|
|
2538
2639
|
onEntryTransfer(
|
2539
|
-
func: (
|
2640
|
+
func: (
|
2641
|
+
call: aptos_account.TransferPayload,
|
2642
|
+
ctx: aptos.AptosContext
|
2643
|
+
) => void,
|
2644
|
+
filter?: aptos.CallFilter
|
2540
2645
|
): aptos_account {
|
2541
2646
|
this.onEntryFunctionCall(func, {
|
2647
|
+
...filter,
|
2542
2648
|
function: "aptos_account::transfer",
|
2543
2649
|
});
|
2544
2650
|
return this;
|
@@ -2619,9 +2725,11 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2619
2725
|
func: (
|
2620
2726
|
call: staking_proxy.SetOperatorPayload,
|
2621
2727
|
ctx: aptos.AptosContext
|
2622
|
-
) => void
|
2728
|
+
) => void,
|
2729
|
+
filter?: aptos.CallFilter
|
2623
2730
|
): staking_proxy {
|
2624
2731
|
this.onEntryFunctionCall(func, {
|
2732
|
+
...filter,
|
2625
2733
|
function: "staking_proxy::set_operator",
|
2626
2734
|
});
|
2627
2735
|
return this;
|
@@ -2631,9 +2739,11 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2631
2739
|
func: (
|
2632
2740
|
call: staking_proxy.SetStakePoolOperatorPayload,
|
2633
2741
|
ctx: aptos.AptosContext
|
2634
|
-
) => void
|
2742
|
+
) => void,
|
2743
|
+
filter?: aptos.CallFilter
|
2635
2744
|
): staking_proxy {
|
2636
2745
|
this.onEntryFunctionCall(func, {
|
2746
|
+
...filter,
|
2637
2747
|
function: "staking_proxy::set_stake_pool_operator",
|
2638
2748
|
});
|
2639
2749
|
return this;
|
@@ -2643,9 +2753,11 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2643
2753
|
func: (
|
2644
2754
|
call: staking_proxy.SetStakePoolVoterPayload,
|
2645
2755
|
ctx: aptos.AptosContext
|
2646
|
-
) => void
|
2756
|
+
) => void,
|
2757
|
+
filter?: aptos.CallFilter
|
2647
2758
|
): staking_proxy {
|
2648
2759
|
this.onEntryFunctionCall(func, {
|
2760
|
+
...filter,
|
2649
2761
|
function: "staking_proxy::set_stake_pool_voter",
|
2650
2762
|
});
|
2651
2763
|
return this;
|
@@ -2655,9 +2767,11 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2655
2767
|
func: (
|
2656
2768
|
call: staking_proxy.SetStakingContractOperatorPayload,
|
2657
2769
|
ctx: aptos.AptosContext
|
2658
|
-
) => void
|
2770
|
+
) => void,
|
2771
|
+
filter?: aptos.CallFilter
|
2659
2772
|
): staking_proxy {
|
2660
2773
|
this.onEntryFunctionCall(func, {
|
2774
|
+
...filter,
|
2661
2775
|
function: "staking_proxy::set_staking_contract_operator",
|
2662
2776
|
});
|
2663
2777
|
return this;
|
@@ -2667,9 +2781,11 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2667
2781
|
func: (
|
2668
2782
|
call: staking_proxy.SetStakingContractVoterPayload,
|
2669
2783
|
ctx: aptos.AptosContext
|
2670
|
-
) => void
|
2784
|
+
) => void,
|
2785
|
+
filter?: aptos.CallFilter
|
2671
2786
|
): staking_proxy {
|
2672
2787
|
this.onEntryFunctionCall(func, {
|
2788
|
+
...filter,
|
2673
2789
|
function: "staking_proxy::set_staking_contract_voter",
|
2674
2790
|
});
|
2675
2791
|
return this;
|
@@ -2679,9 +2795,11 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2679
2795
|
func: (
|
2680
2796
|
call: staking_proxy.SetVestingContractOperatorPayload,
|
2681
2797
|
ctx: aptos.AptosContext
|
2682
|
-
) => void
|
2798
|
+
) => void,
|
2799
|
+
filter?: aptos.CallFilter
|
2683
2800
|
): staking_proxy {
|
2684
2801
|
this.onEntryFunctionCall(func, {
|
2802
|
+
...filter,
|
2685
2803
|
function: "staking_proxy::set_vesting_contract_operator",
|
2686
2804
|
});
|
2687
2805
|
return this;
|
@@ -2691,18 +2809,25 @@ export class staking_proxy extends aptos.AptosBaseProcessor {
|
|
2691
2809
|
func: (
|
2692
2810
|
call: staking_proxy.SetVestingContractVoterPayload,
|
2693
2811
|
ctx: aptos.AptosContext
|
2694
|
-
) => void
|
2812
|
+
) => void,
|
2813
|
+
filter?: aptos.CallFilter
|
2695
2814
|
): staking_proxy {
|
2696
2815
|
this.onEntryFunctionCall(func, {
|
2816
|
+
...filter,
|
2697
2817
|
function: "staking_proxy::set_vesting_contract_voter",
|
2698
2818
|
});
|
2699
2819
|
return this;
|
2700
2820
|
}
|
2701
2821
|
|
2702
2822
|
onEntrySetVoter(
|
2703
|
-
func: (
|
2823
|
+
func: (
|
2824
|
+
call: staking_proxy.SetVoterPayload,
|
2825
|
+
ctx: aptos.AptosContext
|
2826
|
+
) => void,
|
2827
|
+
filter?: aptos.CallFilter
|
2704
2828
|
): staking_proxy {
|
2705
2829
|
this.onEntryFunctionCall(func, {
|
2830
|
+
...filter,
|
2706
2831
|
function: "staking_proxy::set_voter",
|
2707
2832
|
});
|
2708
2833
|
return this;
|
@@ -2898,9 +3023,11 @@ export class aptos_governance extends aptos.AptosBaseProcessor {
|
|
2898
3023
|
func: (
|
2899
3024
|
call: aptos_governance.AddApprovedScriptHashScriptPayload,
|
2900
3025
|
ctx: aptos.AptosContext
|
2901
|
-
) => void
|
3026
|
+
) => void,
|
3027
|
+
filter?: aptos.CallFilter
|
2902
3028
|
): aptos_governance {
|
2903
3029
|
this.onEntryFunctionCall(func, {
|
3030
|
+
...filter,
|
2904
3031
|
function: "aptos_governance::add_approved_script_hash_script",
|
2905
3032
|
});
|
2906
3033
|
return this;
|
@@ -2910,18 +3037,22 @@ export class aptos_governance extends aptos.AptosBaseProcessor {
|
|
2910
3037
|
func: (
|
2911
3038
|
call: aptos_governance.CreateProposalPayload,
|
2912
3039
|
ctx: aptos.AptosContext
|
2913
|
-
) => void
|
3040
|
+
) => void,
|
3041
|
+
filter?: aptos.CallFilter
|
2914
3042
|
): aptos_governance {
|
2915
3043
|
this.onEntryFunctionCall(func, {
|
3044
|
+
...filter,
|
2916
3045
|
function: "aptos_governance::create_proposal",
|
2917
3046
|
});
|
2918
3047
|
return this;
|
2919
3048
|
}
|
2920
3049
|
|
2921
3050
|
onEntryVote(
|
2922
|
-
func: (call: aptos_governance.VotePayload, ctx: aptos.AptosContext) => void
|
3051
|
+
func: (call: aptos_governance.VotePayload, ctx: aptos.AptosContext) => void,
|
3052
|
+
filter?: aptos.CallFilter
|
2923
3053
|
): aptos_governance {
|
2924
3054
|
this.onEntryFunctionCall(func, {
|
3055
|
+
...filter,
|
2925
3056
|
function: "aptos_governance::vote",
|
2926
3057
|
});
|
2927
3058
|
return this;
|
@@ -3091,9 +3222,11 @@ export class resource_account extends aptos.AptosBaseProcessor {
|
|
3091
3222
|
func: (
|
3092
3223
|
call: resource_account.CreateResourceAccountPayload,
|
3093
3224
|
ctx: aptos.AptosContext
|
3094
|
-
) => void
|
3225
|
+
) => void,
|
3226
|
+
filter?: aptos.CallFilter
|
3095
3227
|
): resource_account {
|
3096
3228
|
this.onEntryFunctionCall(func, {
|
3229
|
+
...filter,
|
3097
3230
|
function: "resource_account::create_resource_account",
|
3098
3231
|
});
|
3099
3232
|
return this;
|
@@ -3103,9 +3236,11 @@ export class resource_account extends aptos.AptosBaseProcessor {
|
|
3103
3236
|
func: (
|
3104
3237
|
call: resource_account.CreateResourceAccountAndFundPayload,
|
3105
3238
|
ctx: aptos.AptosContext
|
3106
|
-
) => void
|
3239
|
+
) => void,
|
3240
|
+
filter?: aptos.CallFilter
|
3107
3241
|
): resource_account {
|
3108
3242
|
this.onEntryFunctionCall(func, {
|
3243
|
+
...filter,
|
3109
3244
|
function: "resource_account::create_resource_account_and_fund",
|
3110
3245
|
});
|
3111
3246
|
return this;
|
@@ -3115,9 +3250,11 @@ export class resource_account extends aptos.AptosBaseProcessor {
|
|
3115
3250
|
func: (
|
3116
3251
|
call: resource_account.CreateResourceAccountAndPublishPackagePayload,
|
3117
3252
|
ctx: aptos.AptosContext
|
3118
|
-
) => void
|
3253
|
+
) => void,
|
3254
|
+
filter?: aptos.CallFilter
|
3119
3255
|
): resource_account {
|
3120
3256
|
this.onEntryFunctionCall(func, {
|
3257
|
+
...filter,
|
3121
3258
|
function: "resource_account::create_resource_account_and_publish_package",
|
3122
3259
|
});
|
3123
3260
|
return this;
|
@@ -3176,9 +3313,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3176
3313
|
func: (
|
3177
3314
|
call: staking_contract.AddStakePayload,
|
3178
3315
|
ctx: aptos.AptosContext
|
3179
|
-
) => void
|
3316
|
+
) => void,
|
3317
|
+
filter?: aptos.CallFilter
|
3180
3318
|
): staking_contract {
|
3181
3319
|
this.onEntryFunctionCall(func, {
|
3320
|
+
...filter,
|
3182
3321
|
function: "staking_contract::add_stake",
|
3183
3322
|
});
|
3184
3323
|
return this;
|
@@ -3188,9 +3327,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3188
3327
|
func: (
|
3189
3328
|
call: staking_contract.CreateStakingContractPayload,
|
3190
3329
|
ctx: aptos.AptosContext
|
3191
|
-
) => void
|
3330
|
+
) => void,
|
3331
|
+
filter?: aptos.CallFilter
|
3192
3332
|
): staking_contract {
|
3193
3333
|
this.onEntryFunctionCall(func, {
|
3334
|
+
...filter,
|
3194
3335
|
function: "staking_contract::create_staking_contract",
|
3195
3336
|
});
|
3196
3337
|
return this;
|
@@ -3200,9 +3341,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3200
3341
|
func: (
|
3201
3342
|
call: staking_contract.DistributePayload,
|
3202
3343
|
ctx: aptos.AptosContext
|
3203
|
-
) => void
|
3344
|
+
) => void,
|
3345
|
+
filter?: aptos.CallFilter
|
3204
3346
|
): staking_contract {
|
3205
3347
|
this.onEntryFunctionCall(func, {
|
3348
|
+
...filter,
|
3206
3349
|
function: "staking_contract::distribute",
|
3207
3350
|
});
|
3208
3351
|
return this;
|
@@ -3212,9 +3355,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3212
3355
|
func: (
|
3213
3356
|
call: staking_contract.RequestCommissionPayload,
|
3214
3357
|
ctx: aptos.AptosContext
|
3215
|
-
) => void
|
3358
|
+
) => void,
|
3359
|
+
filter?: aptos.CallFilter
|
3216
3360
|
): staking_contract {
|
3217
3361
|
this.onEntryFunctionCall(func, {
|
3362
|
+
...filter,
|
3218
3363
|
function: "staking_contract::request_commission",
|
3219
3364
|
});
|
3220
3365
|
return this;
|
@@ -3224,9 +3369,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3224
3369
|
func: (
|
3225
3370
|
call: staking_contract.ResetLockupPayload,
|
3226
3371
|
ctx: aptos.AptosContext
|
3227
|
-
) => void
|
3372
|
+
) => void,
|
3373
|
+
filter?: aptos.CallFilter
|
3228
3374
|
): staking_contract {
|
3229
3375
|
this.onEntryFunctionCall(func, {
|
3376
|
+
...filter,
|
3230
3377
|
function: "staking_contract::reset_lockup",
|
3231
3378
|
});
|
3232
3379
|
return this;
|
@@ -3236,9 +3383,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3236
3383
|
func: (
|
3237
3384
|
call: staking_contract.SwitchOperatorPayload,
|
3238
3385
|
ctx: aptos.AptosContext
|
3239
|
-
) => void
|
3386
|
+
) => void,
|
3387
|
+
filter?: aptos.CallFilter
|
3240
3388
|
): staking_contract {
|
3241
3389
|
this.onEntryFunctionCall(func, {
|
3390
|
+
...filter,
|
3242
3391
|
function: "staking_contract::switch_operator",
|
3243
3392
|
});
|
3244
3393
|
return this;
|
@@ -3248,9 +3397,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3248
3397
|
func: (
|
3249
3398
|
call: staking_contract.SwitchOperatorWithSameCommissionPayload,
|
3250
3399
|
ctx: aptos.AptosContext
|
3251
|
-
) => void
|
3400
|
+
) => void,
|
3401
|
+
filter?: aptos.CallFilter
|
3252
3402
|
): staking_contract {
|
3253
3403
|
this.onEntryFunctionCall(func, {
|
3404
|
+
...filter,
|
3254
3405
|
function: "staking_contract::switch_operator_with_same_commission",
|
3255
3406
|
});
|
3256
3407
|
return this;
|
@@ -3260,9 +3411,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3260
3411
|
func: (
|
3261
3412
|
call: staking_contract.UnlockRewardsPayload,
|
3262
3413
|
ctx: aptos.AptosContext
|
3263
|
-
) => void
|
3414
|
+
) => void,
|
3415
|
+
filter?: aptos.CallFilter
|
3264
3416
|
): staking_contract {
|
3265
3417
|
this.onEntryFunctionCall(func, {
|
3418
|
+
...filter,
|
3266
3419
|
function: "staking_contract::unlock_rewards",
|
3267
3420
|
});
|
3268
3421
|
return this;
|
@@ -3272,9 +3425,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3272
3425
|
func: (
|
3273
3426
|
call: staking_contract.UnlockStakePayload,
|
3274
3427
|
ctx: aptos.AptosContext
|
3275
|
-
) => void
|
3428
|
+
) => void,
|
3429
|
+
filter?: aptos.CallFilter
|
3276
3430
|
): staking_contract {
|
3277
3431
|
this.onEntryFunctionCall(func, {
|
3432
|
+
...filter,
|
3278
3433
|
function: "staking_contract::unlock_stake",
|
3279
3434
|
});
|
3280
3435
|
return this;
|
@@ -3284,9 +3439,11 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
3284
3439
|
func: (
|
3285
3440
|
call: staking_contract.UpdateVoterPayload,
|
3286
3441
|
ctx: aptos.AptosContext
|
3287
|
-
) => void
|
3442
|
+
) => void,
|
3443
|
+
filter?: aptos.CallFilter
|
3288
3444
|
): staking_contract {
|
3289
3445
|
this.onEntryFunctionCall(func, {
|
3446
|
+
...filter,
|
3290
3447
|
function: "staking_contract::update_voter",
|
3291
3448
|
});
|
3292
3449
|
return this;
|