@sentio/sdk 2.23.0-rc.1 → 2.24.0-rc.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.
Files changed (228) hide show
  1. package/lib/aptos/aptos-processor.d.ts +1 -2
  2. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  3. package/lib/aptos/aptos-processor.js +11 -11
  4. package/lib/aptos/aptos-processor.js.map +1 -1
  5. package/lib/aptos/aptos-resource-processor-template.d.ts +1 -1
  6. package/lib/aptos/aptos-resource-processor-template.d.ts.map +1 -1
  7. package/lib/aptos/aptos-resource-processor-template.js +6 -6
  8. package/lib/aptos/builtin/0x1.d.ts +342 -339
  9. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  10. package/lib/aptos/builtin/0x1.js +65 -188
  11. package/lib/aptos/builtin/0x1.js.map +1 -1
  12. package/lib/aptos/builtin/0x3.d.ts +73 -54
  13. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  14. package/lib/aptos/builtin/0x3.js +24 -65
  15. package/lib/aptos/builtin/0x3.js.map +1 -1
  16. package/lib/aptos/codegen/codegen.d.ts.map +1 -1
  17. package/lib/aptos/codegen/codegen.js +40 -10
  18. package/lib/aptos/codegen/codegen.js.map +1 -1
  19. package/lib/aptos/context.d.ts +1 -2
  20. package/lib/aptos/context.d.ts.map +1 -1
  21. package/lib/aptos/context.js +2 -2
  22. package/lib/aptos/context.js.map +1 -1
  23. package/lib/aptos/ext/coin-event.js +1 -1
  24. package/lib/aptos/ext/coin.js +193 -193
  25. package/lib/aptos/ext/coin.js.map +1 -1
  26. package/lib/aptos/index.d.ts +4 -4
  27. package/lib/aptos/index.d.ts.map +1 -1
  28. package/lib/aptos/index.js +3 -4
  29. package/lib/aptos/index.js.map +1 -1
  30. package/lib/aptos/models.d.ts +2 -2
  31. package/lib/aptos/models.d.ts.map +1 -1
  32. package/lib/aptos/move-coder.d.ts +1 -13
  33. package/lib/aptos/move-coder.d.ts.map +1 -1
  34. package/lib/aptos/move-coder.js +4 -55
  35. package/lib/aptos/move-coder.js.map +1 -1
  36. package/lib/aptos/network.d.ts +1 -0
  37. package/lib/aptos/network.d.ts.map +1 -1
  38. package/lib/aptos/network.js +8 -1
  39. package/lib/aptos/network.js.map +1 -1
  40. package/lib/eth/codegen/codegen.d.ts.map +1 -1
  41. package/lib/eth/codegen/codegen.js +4 -3
  42. package/lib/eth/codegen/codegen.js.map +1 -1
  43. package/lib/move/ext/move-dex.d.ts +1 -1
  44. package/lib/move/ext/move-dex.d.ts.map +1 -1
  45. package/lib/move/ext/move-dex.js +4 -4
  46. package/lib/move/index.d.ts +1 -4
  47. package/lib/move/index.d.ts.map +1 -1
  48. package/lib/move/index.js +1 -4
  49. package/lib/move/index.js.map +1 -1
  50. package/lib/move/move-context.d.ts +3 -3
  51. package/lib/move/move-context.d.ts.map +1 -1
  52. package/lib/move/move-context.js.map +1 -1
  53. package/lib/move/shared-network-codegen.d.ts +14 -0
  54. package/lib/move/shared-network-codegen.d.ts.map +1 -0
  55. package/lib/move/shared-network-codegen.js +116 -0
  56. package/lib/move/shared-network-codegen.js.map +1 -0
  57. package/lib/sui/builtin/0x1.d.ts +4 -2
  58. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  59. package/lib/sui/builtin/0x1.js +7 -14
  60. package/lib/sui/builtin/0x1.js.map +1 -1
  61. package/lib/sui/builtin/0x2.d.ts +52 -168
  62. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  63. package/lib/sui/builtin/0x2.js +24 -65
  64. package/lib/sui/builtin/0x2.js.map +1 -1
  65. package/lib/sui/builtin/0x3.d.ts +113 -331
  66. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  67. package/lib/sui/builtin/0x3.js +13 -32
  68. package/lib/sui/builtin/0x3.js.map +1 -1
  69. package/lib/sui/codegen/codegen.d.ts.map +1 -1
  70. package/lib/sui/codegen/codegen.js +72 -51
  71. package/lib/sui/codegen/codegen.js.map +1 -1
  72. package/lib/sui/context.d.ts +4 -4
  73. package/lib/sui/context.d.ts.map +1 -1
  74. package/lib/sui/context.js +2 -2
  75. package/lib/sui/context.js.map +1 -1
  76. package/lib/sui/ext/coin.js +74 -74
  77. package/lib/sui/ext/move-dex.d.ts +2 -3
  78. package/lib/sui/ext/move-dex.d.ts.map +1 -1
  79. package/lib/sui/index.d.ts +4 -4
  80. package/lib/sui/index.d.ts.map +1 -1
  81. package/lib/sui/index.js +4 -4
  82. package/lib/sui/index.js.map +1 -1
  83. package/lib/sui/models.d.ts +2 -2
  84. package/lib/sui/models.d.ts.map +1 -1
  85. package/lib/sui/move-coder.d.ts +1 -16
  86. package/lib/sui/move-coder.d.ts.map +1 -1
  87. package/lib/sui/move-coder.js +4 -93
  88. package/lib/sui/move-coder.js.map +1 -1
  89. package/lib/sui/network.d.ts +3 -2
  90. package/lib/sui/network.d.ts.map +1 -1
  91. package/lib/sui/network.js +10 -3
  92. package/lib/sui/network.js.map +1 -1
  93. package/lib/sui/sui-object-processor-template.d.ts +1 -1
  94. package/lib/sui/sui-object-processor-template.d.ts.map +1 -1
  95. package/lib/sui/sui-object-processor-template.js +7 -7
  96. package/lib/sui/sui-object-processor-template.js.map +1 -1
  97. package/lib/sui/sui-object-processor.d.ts +1 -1
  98. package/lib/sui/sui-object-processor.d.ts.map +1 -1
  99. package/lib/sui/sui-object-processor.js +5 -5
  100. package/lib/sui/sui-processor.d.ts +2 -2
  101. package/lib/sui/sui-processor.d.ts.map +1 -1
  102. package/lib/sui/sui-processor.js +10 -10
  103. package/lib/sui/sui-processor.js.map +1 -1
  104. package/lib/sui/utils.d.ts +2 -2
  105. package/lib/sui/utils.d.ts.map +1 -1
  106. package/lib/sui/utils.js +3 -4
  107. package/lib/sui/utils.js.map +1 -1
  108. package/lib/testing/aptos-facet.d.ts.map +1 -1
  109. package/lib/testing/aptos-facet.js +8 -9
  110. package/lib/testing/aptos-facet.js.map +1 -1
  111. package/lib/testing/sui-facet.d.ts +1 -1
  112. package/lib/testing/sui-facet.d.ts.map +1 -1
  113. package/lib/testing/sui-facet.js +8 -9
  114. package/lib/testing/sui-facet.js.map +1 -1
  115. package/package.json +10 -7
  116. package/src/aptos/aptos-processor.ts +13 -12
  117. package/src/aptos/aptos-resource-processor-template.ts +7 -7
  118. package/src/aptos/builtin/0x1.ts +970 -1168
  119. package/src/aptos/builtin/0x3.ts +205 -249
  120. package/src/aptos/codegen/codegen.ts +50 -11
  121. package/src/aptos/context.ts +4 -4
  122. package/src/aptos/ext/coin-event.ts +2 -2
  123. package/src/aptos/ext/coin.ts +193 -193
  124. package/src/aptos/index.ts +15 -4
  125. package/src/aptos/models.ts +2 -2
  126. package/src/aptos/move-coder.ts +4 -73
  127. package/src/aptos/network.ts +9 -1
  128. package/src/eth/codegen/codegen.ts +5 -4
  129. package/src/move/ext/move-dex.ts +5 -5
  130. package/src/move/index.ts +2 -4
  131. package/src/move/move-context.ts +3 -3
  132. package/src/move/shared-network-codegen.ts +160 -0
  133. package/src/sui/builtin/0x1.ts +17 -41
  134. package/src/sui/builtin/0x2.ts +196 -410
  135. package/src/sui/builtin/0x3.ts +271 -479
  136. package/src/sui/codegen/codegen.ts +80 -54
  137. package/src/sui/context.ts +8 -7
  138. package/src/sui/ext/coin.ts +75 -75
  139. package/src/sui/ext/move-dex.ts +3 -3
  140. package/src/sui/index.ts +5 -5
  141. package/src/sui/models.ts +2 -2
  142. package/src/sui/move-coder.ts +4 -108
  143. package/src/sui/network.ts +12 -4
  144. package/src/sui/sui-object-processor-template.ts +8 -8
  145. package/src/sui/sui-object-processor.ts +6 -6
  146. package/src/sui/sui-processor.ts +12 -16
  147. package/src/sui/utils.ts +6 -7
  148. package/src/testing/aptos-facet.ts +8 -9
  149. package/src/testing/sui-facet.ts +9 -10
  150. package/lib/aptos/aptos-chain-adapter.d.ts +0 -15
  151. package/lib/aptos/aptos-chain-adapter.d.ts.map +0 -1
  152. package/lib/aptos/aptos-chain-adapter.js +0 -72
  153. package/lib/aptos/aptos-chain-adapter.js.map +0 -1
  154. package/lib/aptos/module-client.d.ts +0 -7
  155. package/lib/aptos/module-client.d.ts.map +0 -1
  156. package/lib/aptos/module-client.js +0 -25
  157. package/lib/aptos/module-client.js.map +0 -1
  158. package/lib/aptos/module-client.test.d.ts +0 -2
  159. package/lib/aptos/module-client.test.d.ts.map +0 -1
  160. package/lib/aptos/module-client.test.js.map +0 -1
  161. package/lib/aptos/move-types.d.ts +0 -17
  162. package/lib/aptos/move-types.d.ts.map +0 -1
  163. package/lib/aptos/move-types.js +0 -53
  164. package/lib/aptos/move-types.js.map +0 -1
  165. package/lib/aptos/utils.d.ts +0 -2
  166. package/lib/aptos/utils.d.ts.map +0 -1
  167. package/lib/aptos/utils.js +0 -16
  168. package/lib/aptos/utils.js.map +0 -1
  169. package/lib/move/abstract-codegen.d.ts +0 -50
  170. package/lib/move/abstract-codegen.d.ts.map +0 -1
  171. package/lib/move/abstract-codegen.js +0 -489
  172. package/lib/move/abstract-codegen.js.map +0 -1
  173. package/lib/move/abstract-move-coder.d.ts +0 -29
  174. package/lib/move/abstract-move-coder.d.ts.map +0 -1
  175. package/lib/move/abstract-move-coder.js +0 -301
  176. package/lib/move/abstract-move-coder.js.map +0 -1
  177. package/lib/move/account.d.ts +0 -16
  178. package/lib/move/account.d.ts.map +0 -1
  179. package/lib/move/account.js +0 -71
  180. package/lib/move/account.js.map +0 -1
  181. package/lib/move/chain-adapter.d.ts +0 -13
  182. package/lib/move/chain-adapter.d.ts.map +0 -1
  183. package/lib/move/chain-adapter.js +0 -7
  184. package/lib/move/chain-adapter.js.map +0 -1
  185. package/lib/move/internal-models.d.ts +0 -35
  186. package/lib/move/internal-models.d.ts.map +0 -1
  187. package/lib/move/internal-models.js +0 -7
  188. package/lib/move/internal-models.js.map +0 -1
  189. package/lib/move/ts-type.test.d.ts +0 -2
  190. package/lib/move/ts-type.test.d.ts.map +0 -1
  191. package/lib/move/ts-type.test.js.map +0 -1
  192. package/lib/move/types.d.ts +0 -42
  193. package/lib/move/types.d.ts.map +0 -1
  194. package/lib/move/types.js +0 -205
  195. package/lib/move/types.js.map +0 -1
  196. package/lib/move/utils.d.ts +0 -16
  197. package/lib/move/utils.d.ts.map +0 -1
  198. package/lib/move/utils.js +0 -53
  199. package/lib/move/utils.js.map +0 -1
  200. package/lib/move/utils.test.d.ts +0 -2
  201. package/lib/move/utils.test.d.ts.map +0 -1
  202. package/lib/move/utils.test.js.map +0 -1
  203. package/lib/sui/module-client.d.ts +0 -4
  204. package/lib/sui/module-client.d.ts.map +0 -1
  205. package/lib/sui/module-client.js +0 -7
  206. package/lib/sui/module-client.js.map +0 -1
  207. package/lib/sui/move-types.d.ts +0 -9
  208. package/lib/sui/move-types.d.ts.map +0 -1
  209. package/lib/sui/move-types.js +0 -82
  210. package/lib/sui/move-types.js.map +0 -1
  211. package/lib/sui/sui-chain-adapter.d.ts +0 -15
  212. package/lib/sui/sui-chain-adapter.d.ts.map +0 -1
  213. package/lib/sui/sui-chain-adapter.js +0 -71
  214. package/lib/sui/sui-chain-adapter.js.map +0 -1
  215. package/src/aptos/aptos-chain-adapter.ts +0 -86
  216. package/src/aptos/module-client.ts +0 -30
  217. package/src/aptos/move-types.ts +0 -73
  218. package/src/aptos/utils.ts +0 -15
  219. package/src/move/abstract-codegen.ts +0 -596
  220. package/src/move/abstract-move-coder.ts +0 -337
  221. package/src/move/account.ts +0 -81
  222. package/src/move/chain-adapter.ts +0 -24
  223. package/src/move/internal-models.ts +0 -40
  224. package/src/move/types.ts +0 -241
  225. package/src/move/utils.ts +0 -69
  226. package/src/sui/module-client.ts +0 -7
  227. package/src/sui/move-types.ts +0 -108
  228. package/src/sui/sui-chain-adapter.ts +0 -93
@@ -2,8 +2,9 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /* Generated modules for account 0x1 */
5
- import { TypeDescriptor, ANY_TYPE, } from "@sentio/sdk/move";
6
- import { defaultMoveCoder, AptosBaseProcessor, AptosNetwork, } from "@sentio/sdk/aptos";
5
+ import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
6
+ import { defaultMoveCoder } from "@sentio/sdk/aptos";
7
+ import { AptosBaseProcessor, AptosNetwork, } from "@sentio/sdk/aptos";
7
8
  export var acl;
8
9
  (function (acl) {
9
10
  let ACL;
@@ -143,15 +144,11 @@ export class coin extends AptosBaseProcessor {
143
144
  return this;
144
145
  }
145
146
  onEventDepositEvent(func, fetchConfig) {
146
- this.onMoveEvent(func, {
147
- type: "coin::DepositEvent",
148
- }, fetchConfig);
147
+ this.onMoveEvent(func, { type: "coin::DepositEvent" }, fetchConfig);
149
148
  return this;
150
149
  }
151
150
  onEventWithdrawEvent(func, fetchConfig) {
152
- this.onMoveEvent(func, {
153
- type: "coin::WithdrawEvent",
154
- }, fetchConfig);
151
+ this.onMoveEvent(func, { type: "coin::WithdrawEvent" }, fetchConfig);
155
152
  return this;
156
153
  }
157
154
  }
@@ -280,15 +277,11 @@ export class block extends AptosBaseProcessor {
280
277
  return new block({ ...block.DEFAULT_OPTIONS, ...options });
281
278
  }
282
279
  onEventNewBlockEvent(func, fetchConfig) {
283
- this.onMoveEvent(func, {
284
- type: "block::NewBlockEvent",
285
- }, fetchConfig);
280
+ this.onMoveEvent(func, { type: "block::NewBlockEvent" }, fetchConfig);
286
281
  return this;
287
282
  }
288
283
  onEventUpdateEpochIntervalEvent(func, fetchConfig) {
289
- this.onMoveEvent(func, {
290
- type: "block::UpdateEpochIntervalEvent",
291
- }, fetchConfig);
284
+ this.onMoveEvent(func, { type: "block::UpdateEpochIntervalEvent" }, fetchConfig);
292
285
  return this;
293
286
  }
294
287
  }
@@ -436,75 +429,51 @@ export class stake extends AptosBaseProcessor {
436
429
  return this;
437
430
  }
438
431
  onEventRegisterValidatorCandidateEvent(func, fetchConfig) {
439
- this.onMoveEvent(func, {
440
- type: "stake::RegisterValidatorCandidateEvent",
441
- }, fetchConfig);
432
+ this.onMoveEvent(func, { type: "stake::RegisterValidatorCandidateEvent" }, fetchConfig);
442
433
  return this;
443
434
  }
444
435
  onEventSetOperatorEvent(func, fetchConfig) {
445
- this.onMoveEvent(func, {
446
- type: "stake::SetOperatorEvent",
447
- }, fetchConfig);
436
+ this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
448
437
  return this;
449
438
  }
450
439
  onEventAddStakeEvent(func, fetchConfig) {
451
- this.onMoveEvent(func, {
452
- type: "stake::AddStakeEvent",
453
- }, fetchConfig);
440
+ this.onMoveEvent(func, { type: "stake::AddStakeEvent" }, fetchConfig);
454
441
  return this;
455
442
  }
456
443
  onEventReactivateStakeEvent(func, fetchConfig) {
457
- this.onMoveEvent(func, {
458
- type: "stake::ReactivateStakeEvent",
459
- }, fetchConfig);
444
+ this.onMoveEvent(func, { type: "stake::ReactivateStakeEvent" }, fetchConfig);
460
445
  return this;
461
446
  }
462
447
  onEventRotateConsensusKeyEvent(func, fetchConfig) {
463
- this.onMoveEvent(func, {
464
- type: "stake::RotateConsensusKeyEvent",
465
- }, fetchConfig);
448
+ this.onMoveEvent(func, { type: "stake::RotateConsensusKeyEvent" }, fetchConfig);
466
449
  return this;
467
450
  }
468
451
  onEventUpdateNetworkAndFullnodeAddressesEvent(func, fetchConfig) {
469
- this.onMoveEvent(func, {
470
- type: "stake::UpdateNetworkAndFullnodeAddressesEvent",
471
- }, fetchConfig);
452
+ this.onMoveEvent(func, { type: "stake::UpdateNetworkAndFullnodeAddressesEvent" }, fetchConfig);
472
453
  return this;
473
454
  }
474
455
  onEventIncreaseLockupEvent(func, fetchConfig) {
475
- this.onMoveEvent(func, {
476
- type: "stake::IncreaseLockupEvent",
477
- }, fetchConfig);
456
+ this.onMoveEvent(func, { type: "stake::IncreaseLockupEvent" }, fetchConfig);
478
457
  return this;
479
458
  }
480
459
  onEventJoinValidatorSetEvent(func, fetchConfig) {
481
- this.onMoveEvent(func, {
482
- type: "stake::JoinValidatorSetEvent",
483
- }, fetchConfig);
460
+ this.onMoveEvent(func, { type: "stake::JoinValidatorSetEvent" }, fetchConfig);
484
461
  return this;
485
462
  }
486
463
  onEventDistributeRewardsEvent(func, fetchConfig) {
487
- this.onMoveEvent(func, {
488
- type: "stake::DistributeRewardsEvent",
489
- }, fetchConfig);
464
+ this.onMoveEvent(func, { type: "stake::DistributeRewardsEvent" }, fetchConfig);
490
465
  return this;
491
466
  }
492
467
  onEventUnlockStakeEvent(func, fetchConfig) {
493
- this.onMoveEvent(func, {
494
- type: "stake::UnlockStakeEvent",
495
- }, fetchConfig);
468
+ this.onMoveEvent(func, { type: "stake::UnlockStakeEvent" }, fetchConfig);
496
469
  return this;
497
470
  }
498
471
  onEventWithdrawStakeEvent(func, fetchConfig) {
499
- this.onMoveEvent(func, {
500
- type: "stake::WithdrawStakeEvent",
501
- }, fetchConfig);
472
+ this.onMoveEvent(func, { type: "stake::WithdrawStakeEvent" }, fetchConfig);
502
473
  return this;
503
474
  }
504
475
  onEventLeaveValidatorSetEvent(func, fetchConfig) {
505
- this.onMoveEvent(func, {
506
- type: "stake::LeaveValidatorSetEvent",
507
- }, fetchConfig);
476
+ this.onMoveEvent(func, { type: "stake::LeaveValidatorSetEvent" }, fetchConfig);
508
477
  return this;
509
478
  }
510
479
  }
@@ -748,9 +717,7 @@ export class object_ extends AptosBaseProcessor {
748
717
  return this;
749
718
  }
750
719
  onEventTransferEvent(func, fetchConfig) {
751
- this.onMoveEvent(func, {
752
- type: "object::TransferEvent",
753
- }, fetchConfig);
720
+ this.onMoveEvent(func, { type: "object::TransferEvent" }, fetchConfig);
754
721
  return this;
755
722
  }
756
723
  }
@@ -873,27 +840,19 @@ export class voting extends AptosBaseProcessor {
873
840
  return new voting({ ...voting.DEFAULT_OPTIONS, ...options });
874
841
  }
875
842
  onEventCreateProposalEvent(func, fetchConfig) {
876
- this.onMoveEvent(func, {
877
- type: "voting::CreateProposalEvent",
878
- }, fetchConfig);
843
+ this.onMoveEvent(func, { type: "voting::CreateProposalEvent" }, fetchConfig);
879
844
  return this;
880
845
  }
881
846
  onEventRegisterForumEvent(func, fetchConfig) {
882
- this.onMoveEvent(func, {
883
- type: "voting::RegisterForumEvent",
884
- }, fetchConfig);
847
+ this.onMoveEvent(func, { type: "voting::RegisterForumEvent" }, fetchConfig);
885
848
  return this;
886
849
  }
887
850
  onEventResolveProposal(func, fetchConfig) {
888
- this.onMoveEvent(func, {
889
- type: "voting::ResolveProposal",
890
- }, fetchConfig);
851
+ this.onMoveEvent(func, { type: "voting::ResolveProposal" }, fetchConfig);
891
852
  return this;
892
853
  }
893
854
  onEventVoteEvent(func, fetchConfig) {
894
- this.onMoveEvent(func, {
895
- type: "voting::VoteEvent",
896
- }, fetchConfig);
855
+ this.onMoveEvent(func, { type: "voting::VoteEvent" }, fetchConfig);
897
856
  return this;
898
857
  }
899
858
  }
@@ -1030,15 +989,11 @@ export class account extends AptosBaseProcessor {
1030
989
  return this;
1031
990
  }
1032
991
  onEventCoinRegisterEvent(func, fetchConfig) {
1033
- this.onMoveEvent(func, {
1034
- type: "account::CoinRegisterEvent",
1035
- }, fetchConfig);
992
+ this.onMoveEvent(func, { type: "account::CoinRegisterEvent" }, fetchConfig);
1036
993
  return this;
1037
994
  }
1038
995
  onEventKeyRotationEvent(func, fetchConfig) {
1039
- this.onMoveEvent(func, {
1040
- type: "account::KeyRotationEvent",
1041
- }, fetchConfig);
996
+ this.onMoveEvent(func, { type: "account::KeyRotationEvent" }, fetchConfig);
1042
997
  return this;
1043
998
  }
1044
999
  }
@@ -1393,63 +1348,43 @@ export class vesting extends AptosBaseProcessor {
1393
1348
  return this;
1394
1349
  }
1395
1350
  onEventCreateVestingContractEvent(func, fetchConfig) {
1396
- this.onMoveEvent(func, {
1397
- type: "vesting::CreateVestingContractEvent",
1398
- }, fetchConfig);
1351
+ this.onMoveEvent(func, { type: "vesting::CreateVestingContractEvent" }, fetchConfig);
1399
1352
  return this;
1400
1353
  }
1401
1354
  onEventUpdateOperatorEvent(func, fetchConfig) {
1402
- this.onMoveEvent(func, {
1403
- type: "vesting::UpdateOperatorEvent",
1404
- }, fetchConfig);
1355
+ this.onMoveEvent(func, { type: "vesting::UpdateOperatorEvent" }, fetchConfig);
1405
1356
  return this;
1406
1357
  }
1407
1358
  onEventUpdateVoterEvent(func, fetchConfig) {
1408
- this.onMoveEvent(func, {
1409
- type: "vesting::UpdateVoterEvent",
1410
- }, fetchConfig);
1359
+ this.onMoveEvent(func, { type: "vesting::UpdateVoterEvent" }, fetchConfig);
1411
1360
  return this;
1412
1361
  }
1413
1362
  onEventResetLockupEvent(func, fetchConfig) {
1414
- this.onMoveEvent(func, {
1415
- type: "vesting::ResetLockupEvent",
1416
- }, fetchConfig);
1363
+ this.onMoveEvent(func, { type: "vesting::ResetLockupEvent" }, fetchConfig);
1417
1364
  return this;
1418
1365
  }
1419
1366
  onEventSetBeneficiaryEvent(func, fetchConfig) {
1420
- this.onMoveEvent(func, {
1421
- type: "vesting::SetBeneficiaryEvent",
1422
- }, fetchConfig);
1367
+ this.onMoveEvent(func, { type: "vesting::SetBeneficiaryEvent" }, fetchConfig);
1423
1368
  return this;
1424
1369
  }
1425
1370
  onEventUnlockRewardsEvent(func, fetchConfig) {
1426
- this.onMoveEvent(func, {
1427
- type: "vesting::UnlockRewardsEvent",
1428
- }, fetchConfig);
1371
+ this.onMoveEvent(func, { type: "vesting::UnlockRewardsEvent" }, fetchConfig);
1429
1372
  return this;
1430
1373
  }
1431
1374
  onEventVestEvent(func, fetchConfig) {
1432
- this.onMoveEvent(func, {
1433
- type: "vesting::VestEvent",
1434
- }, fetchConfig);
1375
+ this.onMoveEvent(func, { type: "vesting::VestEvent" }, fetchConfig);
1435
1376
  return this;
1436
1377
  }
1437
1378
  onEventDistributeEvent(func, fetchConfig) {
1438
- this.onMoveEvent(func, {
1439
- type: "vesting::DistributeEvent",
1440
- }, fetchConfig);
1379
+ this.onMoveEvent(func, { type: "vesting::DistributeEvent" }, fetchConfig);
1441
1380
  return this;
1442
1381
  }
1443
1382
  onEventTerminateEvent(func, fetchConfig) {
1444
- this.onMoveEvent(func, {
1445
- type: "vesting::TerminateEvent",
1446
- }, fetchConfig);
1383
+ this.onMoveEvent(func, { type: "vesting::TerminateEvent" }, fetchConfig);
1447
1384
  return this;
1448
1385
  }
1449
1386
  onEventAdminWithdrawEvent(func, fetchConfig) {
1450
- this.onMoveEvent(func, {
1451
- type: "vesting::AdminWithdrawEvent",
1452
- }, fetchConfig);
1387
+ this.onMoveEvent(func, { type: "vesting::AdminWithdrawEvent" }, fetchConfig);
1453
1388
  return this;
1454
1389
  }
1455
1390
  }
@@ -2177,9 +2112,7 @@ export class aptos_account extends AptosBaseProcessor {
2177
2112
  return this;
2178
2113
  }
2179
2114
  onEventDirectCoinTransferConfigUpdatedEvent(func, fetchConfig) {
2180
- this.onMoveEvent(func, {
2181
- type: "aptos_account::DirectCoinTransferConfigUpdatedEvent",
2182
- }, fetchConfig);
2115
+ this.onMoveEvent(func, { type: "aptos_account::DirectCoinTransferConfigUpdatedEvent" }, fetchConfig);
2183
2116
  return this;
2184
2117
  }
2185
2118
  }
@@ -2426,33 +2359,23 @@ export class delegation_pool extends AptosBaseProcessor {
2426
2359
  return this;
2427
2360
  }
2428
2361
  onEventAddStakeEvent(func, fetchConfig) {
2429
- this.onMoveEvent(func, {
2430
- type: "delegation_pool::AddStakeEvent",
2431
- }, fetchConfig);
2362
+ this.onMoveEvent(func, { type: "delegation_pool::AddStakeEvent" }, fetchConfig);
2432
2363
  return this;
2433
2364
  }
2434
2365
  onEventReactivateStakeEvent(func, fetchConfig) {
2435
- this.onMoveEvent(func, {
2436
- type: "delegation_pool::ReactivateStakeEvent",
2437
- }, fetchConfig);
2366
+ this.onMoveEvent(func, { type: "delegation_pool::ReactivateStakeEvent" }, fetchConfig);
2438
2367
  return this;
2439
2368
  }
2440
2369
  onEventUnlockStakeEvent(func, fetchConfig) {
2441
- this.onMoveEvent(func, {
2442
- type: "delegation_pool::UnlockStakeEvent",
2443
- }, fetchConfig);
2370
+ this.onMoveEvent(func, { type: "delegation_pool::UnlockStakeEvent" }, fetchConfig);
2444
2371
  return this;
2445
2372
  }
2446
2373
  onEventWithdrawStakeEvent(func, fetchConfig) {
2447
- this.onMoveEvent(func, {
2448
- type: "delegation_pool::WithdrawStakeEvent",
2449
- }, fetchConfig);
2374
+ this.onMoveEvent(func, { type: "delegation_pool::WithdrawStakeEvent" }, fetchConfig);
2450
2375
  return this;
2451
2376
  }
2452
2377
  onEventDistributeCommissionEvent(func, fetchConfig) {
2453
- this.onMoveEvent(func, {
2454
- type: "delegation_pool::DistributeCommissionEvent",
2455
- }, fetchConfig);
2378
+ this.onMoveEvent(func, { type: "delegation_pool::DistributeCommissionEvent" }, fetchConfig);
2456
2379
  return this;
2457
2380
  }
2458
2381
  }
@@ -2545,9 +2468,7 @@ export class reconfiguration extends AptosBaseProcessor {
2545
2468
  });
2546
2469
  }
2547
2470
  onEventNewEpochEvent(func, fetchConfig) {
2548
- this.onMoveEvent(func, {
2549
- type: "reconfiguration::NewEpochEvent",
2550
- }, fetchConfig);
2471
+ this.onMoveEvent(func, { type: "reconfiguration::NewEpochEvent" }, fetchConfig);
2551
2472
  return this;
2552
2473
  }
2553
2474
  }
@@ -2644,21 +2565,15 @@ export class aptos_governance extends AptosBaseProcessor {
2644
2565
  return this;
2645
2566
  }
2646
2567
  onEventCreateProposalEvent(func, fetchConfig) {
2647
- this.onMoveEvent(func, {
2648
- type: "aptos_governance::CreateProposalEvent",
2649
- }, fetchConfig);
2568
+ this.onMoveEvent(func, { type: "aptos_governance::CreateProposalEvent" }, fetchConfig);
2650
2569
  return this;
2651
2570
  }
2652
2571
  onEventUpdateConfigEvent(func, fetchConfig) {
2653
- this.onMoveEvent(func, {
2654
- type: "aptos_governance::UpdateConfigEvent",
2655
- }, fetchConfig);
2572
+ this.onMoveEvent(func, { type: "aptos_governance::UpdateConfigEvent" }, fetchConfig);
2656
2573
  return this;
2657
2574
  }
2658
2575
  onEventVoteEvent(func, fetchConfig) {
2659
- this.onMoveEvent(func, {
2660
- type: "aptos_governance::VoteEvent",
2661
- }, fetchConfig);
2576
+ this.onMoveEvent(func, { type: "aptos_governance::VoteEvent" }, fetchConfig);
2662
2577
  return this;
2663
2578
  }
2664
2579
  }
@@ -2877,57 +2792,39 @@ export class multisig_account extends AptosBaseProcessor {
2877
2792
  return this;
2878
2793
  }
2879
2794
  onEventAddOwnersEvent(func, fetchConfig) {
2880
- this.onMoveEvent(func, {
2881
- type: "multisig_account::AddOwnersEvent",
2882
- }, fetchConfig);
2795
+ this.onMoveEvent(func, { type: "multisig_account::AddOwnersEvent" }, fetchConfig);
2883
2796
  return this;
2884
2797
  }
2885
2798
  onEventRemoveOwnersEvent(func, fetchConfig) {
2886
- this.onMoveEvent(func, {
2887
- type: "multisig_account::RemoveOwnersEvent",
2888
- }, fetchConfig);
2799
+ this.onMoveEvent(func, { type: "multisig_account::RemoveOwnersEvent" }, fetchConfig);
2889
2800
  return this;
2890
2801
  }
2891
2802
  onEventUpdateSignaturesRequiredEvent(func, fetchConfig) {
2892
- this.onMoveEvent(func, {
2893
- type: "multisig_account::UpdateSignaturesRequiredEvent",
2894
- }, fetchConfig);
2803
+ this.onMoveEvent(func, { type: "multisig_account::UpdateSignaturesRequiredEvent" }, fetchConfig);
2895
2804
  return this;
2896
2805
  }
2897
2806
  onEventCreateTransactionEvent(func, fetchConfig) {
2898
- this.onMoveEvent(func, {
2899
- type: "multisig_account::CreateTransactionEvent",
2900
- }, fetchConfig);
2807
+ this.onMoveEvent(func, { type: "multisig_account::CreateTransactionEvent" }, fetchConfig);
2901
2808
  return this;
2902
2809
  }
2903
2810
  onEventVoteEvent(func, fetchConfig) {
2904
- this.onMoveEvent(func, {
2905
- type: "multisig_account::VoteEvent",
2906
- }, fetchConfig);
2811
+ this.onMoveEvent(func, { type: "multisig_account::VoteEvent" }, fetchConfig);
2907
2812
  return this;
2908
2813
  }
2909
2814
  onEventExecuteRejectedTransactionEvent(func, fetchConfig) {
2910
- this.onMoveEvent(func, {
2911
- type: "multisig_account::ExecuteRejectedTransactionEvent",
2912
- }, fetchConfig);
2815
+ this.onMoveEvent(func, { type: "multisig_account::ExecuteRejectedTransactionEvent" }, fetchConfig);
2913
2816
  return this;
2914
2817
  }
2915
2818
  onEventTransactionExecutionSucceededEvent(func, fetchConfig) {
2916
- this.onMoveEvent(func, {
2917
- type: "multisig_account::TransactionExecutionSucceededEvent",
2918
- }, fetchConfig);
2819
+ this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionSucceededEvent" }, fetchConfig);
2919
2820
  return this;
2920
2821
  }
2921
2822
  onEventTransactionExecutionFailedEvent(func, fetchConfig) {
2922
- this.onMoveEvent(func, {
2923
- type: "multisig_account::TransactionExecutionFailedEvent",
2924
- }, fetchConfig);
2823
+ this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionFailedEvent" }, fetchConfig);
2925
2824
  return this;
2926
2825
  }
2927
2826
  onEventMetadataUpdatedEvent(func, fetchConfig) {
2928
- this.onMoveEvent(func, {
2929
- type: "multisig_account::MetadataUpdatedEvent",
2930
- }, fetchConfig);
2827
+ this.onMoveEvent(func, { type: "multisig_account::MetadataUpdatedEvent" }, fetchConfig);
2931
2828
  return this;
2932
2829
  }
2933
2830
  }
@@ -3201,63 +3098,43 @@ export class staking_contract extends AptosBaseProcessor {
3201
3098
  return this;
3202
3099
  }
3203
3100
  onEventUpdateCommissionEvent(func, fetchConfig) {
3204
- this.onMoveEvent(func, {
3205
- type: "staking_contract::UpdateCommissionEvent",
3206
- }, fetchConfig);
3101
+ this.onMoveEvent(func, { type: "staking_contract::UpdateCommissionEvent" }, fetchConfig);
3207
3102
  return this;
3208
3103
  }
3209
3104
  onEventCreateStakingContractEvent(func, fetchConfig) {
3210
- this.onMoveEvent(func, {
3211
- type: "staking_contract::CreateStakingContractEvent",
3212
- }, fetchConfig);
3105
+ this.onMoveEvent(func, { type: "staking_contract::CreateStakingContractEvent" }, fetchConfig);
3213
3106
  return this;
3214
3107
  }
3215
3108
  onEventUpdateVoterEvent(func, fetchConfig) {
3216
- this.onMoveEvent(func, {
3217
- type: "staking_contract::UpdateVoterEvent",
3218
- }, fetchConfig);
3109
+ this.onMoveEvent(func, { type: "staking_contract::UpdateVoterEvent" }, fetchConfig);
3219
3110
  return this;
3220
3111
  }
3221
3112
  onEventResetLockupEvent(func, fetchConfig) {
3222
- this.onMoveEvent(func, {
3223
- type: "staking_contract::ResetLockupEvent",
3224
- }, fetchConfig);
3113
+ this.onMoveEvent(func, { type: "staking_contract::ResetLockupEvent" }, fetchConfig);
3225
3114
  return this;
3226
3115
  }
3227
3116
  onEventAddStakeEvent(func, fetchConfig) {
3228
- this.onMoveEvent(func, {
3229
- type: "staking_contract::AddStakeEvent",
3230
- }, fetchConfig);
3117
+ this.onMoveEvent(func, { type: "staking_contract::AddStakeEvent" }, fetchConfig);
3231
3118
  return this;
3232
3119
  }
3233
3120
  onEventRequestCommissionEvent(func, fetchConfig) {
3234
- this.onMoveEvent(func, {
3235
- type: "staking_contract::RequestCommissionEvent",
3236
- }, fetchConfig);
3121
+ this.onMoveEvent(func, { type: "staking_contract::RequestCommissionEvent" }, fetchConfig);
3237
3122
  return this;
3238
3123
  }
3239
3124
  onEventUnlockStakeEvent(func, fetchConfig) {
3240
- this.onMoveEvent(func, {
3241
- type: "staking_contract::UnlockStakeEvent",
3242
- }, fetchConfig);
3125
+ this.onMoveEvent(func, { type: "staking_contract::UnlockStakeEvent" }, fetchConfig);
3243
3126
  return this;
3244
3127
  }
3245
3128
  onEventSwitchOperatorEvent(func, fetchConfig) {
3246
- this.onMoveEvent(func, {
3247
- type: "staking_contract::SwitchOperatorEvent",
3248
- }, fetchConfig);
3129
+ this.onMoveEvent(func, { type: "staking_contract::SwitchOperatorEvent" }, fetchConfig);
3249
3130
  return this;
3250
3131
  }
3251
3132
  onEventAddDistributionEvent(func, fetchConfig) {
3252
- this.onMoveEvent(func, {
3253
- type: "staking_contract::AddDistributionEvent",
3254
- }, fetchConfig);
3133
+ this.onMoveEvent(func, { type: "staking_contract::AddDistributionEvent" }, fetchConfig);
3255
3134
  return this;
3256
3135
  }
3257
3136
  onEventDistributeEvent(func, fetchConfig) {
3258
- this.onMoveEvent(func, {
3259
- type: "staking_contract::DistributeEvent",
3260
- }, fetchConfig);
3137
+ this.onMoveEvent(func, { type: "staking_contract::DistributeEvent" }, fetchConfig);
3261
3138
  return this;
3262
3139
  }
3263
3140
  }