@sentio/sdk 2.57.9-rc.3 → 2.57.9-rc.5

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 (49) hide show
  1. package/lib/aptos/builtin/0x1.d.ts +155 -155
  2. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  3. package/lib/aptos/builtin/0x1.js +395 -308
  4. package/lib/aptos/builtin/0x1.js.map +1 -1
  5. package/lib/aptos/builtin/0x3.d.ts +52 -52
  6. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  7. package/lib/aptos/builtin/0x3.js +135 -102
  8. package/lib/aptos/builtin/0x3.js.map +1 -1
  9. package/lib/aptos/builtin/0x4.d.ts +12 -12
  10. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  11. package/lib/aptos/builtin/0x4.js +22 -22
  12. package/lib/aptos/builtin/0x4.js.map +1 -1
  13. package/lib/eth/abi-decoder/parse-log-worker.d.ts +14 -0
  14. package/lib/eth/abi-decoder/parse-log-worker.d.ts.map +1 -0
  15. package/lib/eth/abi-decoder/parse-log-worker.js +40 -0
  16. package/lib/eth/abi-decoder/parse-log-worker.js.map +1 -0
  17. package/lib/eth/abi-decoder/parse-log.d.ts +4 -0
  18. package/lib/eth/abi-decoder/parse-log.d.ts.map +1 -0
  19. package/lib/eth/abi-decoder/parse-log.js +43 -0
  20. package/lib/eth/abi-decoder/parse-log.js.map +1 -0
  21. package/lib/eth/base-processor.d.ts.map +1 -1
  22. package/lib/eth/base-processor.js +3 -3
  23. package/lib/eth/base-processor.js.map +1 -1
  24. package/lib/move/shared-network-codegen.js +3 -3
  25. package/lib/move/shared-network-codegen.js.map +1 -1
  26. package/lib/sui/builtin/0x1.d.ts +7 -7
  27. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  28. package/lib/sui/builtin/0x1.js +12 -12
  29. package/lib/sui/builtin/0x1.js.map +1 -1
  30. package/lib/sui/builtin/0x2.d.ts +34 -34
  31. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  32. package/lib/sui/builtin/0x2.js +72 -66
  33. package/lib/sui/builtin/0x2.js.map +1 -1
  34. package/lib/sui/builtin/0x3.d.ts +14 -14
  35. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  36. package/lib/sui/builtin/0x3.js +44 -26
  37. package/lib/sui/builtin/0x3.js.map +1 -1
  38. package/package.json +5 -3
  39. package/src/aptos/builtin/0x1.ts +644 -155
  40. package/src/aptos/builtin/0x3.ts +208 -52
  41. package/src/aptos/builtin/0x4.ts +59 -12
  42. package/src/bundle.config.ts +1 -1
  43. package/src/eth/abi-decoder/parse-log-worker.ts +52 -0
  44. package/src/eth/abi-decoder/parse-log.ts +44 -0
  45. package/src/eth/base-processor.ts +15 -16
  46. package/src/move/shared-network-codegen.ts +3 -3
  47. package/src/sui/builtin/0x1.ts +33 -7
  48. package/src/sui/builtin/0x2.ts +177 -34
  49. package/src/sui/builtin/0x3.ts +45 -14
@@ -210,16 +210,16 @@ export class authenticator_state extends SuiBaseProcessor {
210
210
  ...options,
211
211
  });
212
212
  }
213
- onEventActiveJwk(func, fetchConfig) {
214
- this.onMoveEvent(func, { type: "authenticator_state::ActiveJwk" }, fetchConfig);
213
+ onEventActiveJwk(func, fetchConfig, eventFilter) {
214
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "authenticator_state::ActiveJwk" }, fetchConfig);
215
215
  return this;
216
216
  }
217
- onEventJWK(func, fetchConfig) {
218
- this.onMoveEvent(func, { type: "authenticator_state::JWK" }, fetchConfig);
217
+ onEventJWK(func, fetchConfig, eventFilter) {
218
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "authenticator_state::JWK" }, fetchConfig);
219
219
  return this;
220
220
  }
221
- onEventJwkId(func, fetchConfig) {
222
- this.onMoveEvent(func, { type: "authenticator_state::JwkId" }, fetchConfig);
221
+ onEventJwkId(func, fetchConfig, eventFilter) {
222
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "authenticator_state::JwkId" }, fetchConfig);
223
223
  return this;
224
224
  }
225
225
  }
@@ -855,8 +855,8 @@ export class bcs extends SuiBaseProcessor {
855
855
  static bind(options = {}) {
856
856
  return new bcs({ ...bcs.DEFAULT_OPTIONS, ...options });
857
857
  }
858
- onEventBCS(func, fetchConfig) {
859
- this.onMoveEvent(func, { type: "bcs::BCS" }, fetchConfig);
858
+ onEventBCS(func, fetchConfig, eventFilter) {
859
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "bcs::BCS" }, fetchConfig);
860
860
  return this;
861
861
  }
862
862
  }
@@ -2618,8 +2618,8 @@ export class coin extends SuiBaseProcessor {
2618
2618
  }, fetchConfig);
2619
2619
  return this;
2620
2620
  }
2621
- onEventCurrencyCreated(func, fetchConfig) {
2622
- this.onMoveEvent(func, { type: "coin::CurrencyCreated" }, fetchConfig);
2621
+ onEventCurrencyCreated(func, fetchConfig, eventFilter) {
2622
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "coin::CurrencyCreated" }, fetchConfig);
2623
2623
  return this;
2624
2624
  }
2625
2625
  }
@@ -4215,20 +4215,20 @@ export class deny_list extends SuiBaseProcessor {
4215
4215
  static bind(options = {}) {
4216
4216
  return new deny_list({ ...deny_list.DEFAULT_OPTIONS, ...options });
4217
4217
  }
4218
- onEventAddressKey(func, fetchConfig) {
4219
- this.onMoveEvent(func, { type: "deny_list::AddressKey" }, fetchConfig);
4218
+ onEventAddressKey(func, fetchConfig, eventFilter) {
4219
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "deny_list::AddressKey" }, fetchConfig);
4220
4220
  return this;
4221
4221
  }
4222
- onEventConfigKey(func, fetchConfig) {
4223
- this.onMoveEvent(func, { type: "deny_list::ConfigKey" }, fetchConfig);
4222
+ onEventConfigKey(func, fetchConfig, eventFilter) {
4223
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "deny_list::ConfigKey" }, fetchConfig);
4224
4224
  return this;
4225
4225
  }
4226
- onEventGlobalPauseKey(func, fetchConfig) {
4227
- this.onMoveEvent(func, { type: "deny_list::GlobalPauseKey" }, fetchConfig);
4226
+ onEventGlobalPauseKey(func, fetchConfig, eventFilter) {
4227
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "deny_list::GlobalPauseKey" }, fetchConfig);
4228
4228
  return this;
4229
4229
  }
4230
- onEventPerTypeConfigCreated(func, fetchConfig) {
4231
- this.onMoveEvent(func, { type: "deny_list::PerTypeConfigCreated" }, fetchConfig);
4230
+ onEventPerTypeConfigCreated(func, fetchConfig, eventFilter) {
4231
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "deny_list::PerTypeConfigCreated" }, fetchConfig);
4232
4232
  return this;
4233
4233
  }
4234
4234
  }
@@ -4627,12 +4627,12 @@ export class display extends SuiBaseProcessor {
4627
4627
  }, fetchConfig);
4628
4628
  return this;
4629
4629
  }
4630
- onEventDisplayCreated(func, fetchConfig) {
4631
- this.onMoveEvent(func, { type: "display::DisplayCreated" }, fetchConfig);
4630
+ onEventDisplayCreated(func, fetchConfig, eventFilter) {
4631
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "display::DisplayCreated" }, fetchConfig);
4632
4632
  return this;
4633
4633
  }
4634
- onEventVersionUpdated(func, fetchConfig) {
4635
- this.onMoveEvent(func, { type: "display::VersionUpdated" }, fetchConfig);
4634
+ onEventVersionUpdated(func, fetchConfig, eventFilter) {
4635
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "display::VersionUpdated" }, fetchConfig);
4636
4636
  return this;
4637
4637
  }
4638
4638
  }
@@ -5417,8 +5417,8 @@ export class dynamic_object_field extends SuiBaseProcessor {
5417
5417
  ...options,
5418
5418
  });
5419
5419
  }
5420
- onEventWrapper(func, fetchConfig) {
5421
- this.onMoveEvent(func, { type: "dynamic_object_field::Wrapper" }, fetchConfig);
5420
+ onEventWrapper(func, fetchConfig, eventFilter) {
5421
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "dynamic_object_field::Wrapper" }, fetchConfig);
5422
5422
  return this;
5423
5423
  }
5424
5424
  }
@@ -6019,20 +6019,20 @@ export class groth16 extends SuiBaseProcessor {
6019
6019
  static bind(options = {}) {
6020
6020
  return new groth16({ ...groth16.DEFAULT_OPTIONS, ...options });
6021
6021
  }
6022
- onEventCurve(func, fetchConfig) {
6023
- this.onMoveEvent(func, { type: "groth16::Curve" }, fetchConfig);
6022
+ onEventCurve(func, fetchConfig, eventFilter) {
6023
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "groth16::Curve" }, fetchConfig);
6024
6024
  return this;
6025
6025
  }
6026
- onEventPreparedVerifyingKey(func, fetchConfig) {
6027
- this.onMoveEvent(func, { type: "groth16::PreparedVerifyingKey" }, fetchConfig);
6026
+ onEventPreparedVerifyingKey(func, fetchConfig, eventFilter) {
6027
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "groth16::PreparedVerifyingKey" }, fetchConfig);
6028
6028
  return this;
6029
6029
  }
6030
- onEventProofPoints(func, fetchConfig) {
6031
- this.onMoveEvent(func, { type: "groth16::ProofPoints" }, fetchConfig);
6030
+ onEventProofPoints(func, fetchConfig, eventFilter) {
6031
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "groth16::ProofPoints" }, fetchConfig);
6032
6032
  return this;
6033
6033
  }
6034
- onEventPublicProofInputs(func, fetchConfig) {
6035
- this.onMoveEvent(func, { type: "groth16::PublicProofInputs" }, fetchConfig);
6034
+ onEventPublicProofInputs(func, fetchConfig, eventFilter) {
6035
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "groth16::PublicProofInputs" }, fetchConfig);
6036
6036
  return this;
6037
6037
  }
6038
6038
  }
@@ -6256,8 +6256,8 @@ export class group_ops extends SuiBaseProcessor {
6256
6256
  static bind(options = {}) {
6257
6257
  return new group_ops({ ...group_ops.DEFAULT_OPTIONS, ...options });
6258
6258
  }
6259
- onEventElement(func, fetchConfig) {
6260
- this.onMoveEvent(func, { type: "group_ops::Element" }, fetchConfig);
6259
+ onEventElement(func, fetchConfig, eventFilter) {
6260
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "group_ops::Element" }, fetchConfig);
6261
6261
  return this;
6262
6262
  }
6263
6263
  }
@@ -6783,28 +6783,28 @@ export class kiosk extends SuiBaseProcessor {
6783
6783
  }, fetchConfig);
6784
6784
  return this;
6785
6785
  }
6786
- onEventItem(func, fetchConfig) {
6787
- this.onMoveEvent(func, { type: "kiosk::Item" }, fetchConfig);
6786
+ onEventItem(func, fetchConfig, eventFilter) {
6787
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk::Item" }, fetchConfig);
6788
6788
  return this;
6789
6789
  }
6790
- onEventItemDelisted(func, fetchConfig) {
6791
- this.onMoveEvent(func, { type: "kiosk::ItemDelisted" }, fetchConfig);
6790
+ onEventItemDelisted(func, fetchConfig, eventFilter) {
6791
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk::ItemDelisted" }, fetchConfig);
6792
6792
  return this;
6793
6793
  }
6794
- onEventItemListed(func, fetchConfig) {
6795
- this.onMoveEvent(func, { type: "kiosk::ItemListed" }, fetchConfig);
6794
+ onEventItemListed(func, fetchConfig, eventFilter) {
6795
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk::ItemListed" }, fetchConfig);
6796
6796
  return this;
6797
6797
  }
6798
- onEventItemPurchased(func, fetchConfig) {
6799
- this.onMoveEvent(func, { type: "kiosk::ItemPurchased" }, fetchConfig);
6798
+ onEventItemPurchased(func, fetchConfig, eventFilter) {
6799
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk::ItemPurchased" }, fetchConfig);
6800
6800
  return this;
6801
6801
  }
6802
- onEventListing(func, fetchConfig) {
6803
- this.onMoveEvent(func, { type: "kiosk::Listing" }, fetchConfig);
6802
+ onEventListing(func, fetchConfig, eventFilter) {
6803
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk::Listing" }, fetchConfig);
6804
6804
  return this;
6805
6805
  }
6806
- onEventLock(func, fetchConfig) {
6807
- this.onMoveEvent(func, { type: "kiosk::Lock" }, fetchConfig);
6806
+ onEventLock(func, fetchConfig, eventFilter) {
6807
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk::Lock" }, fetchConfig);
6808
6808
  return this;
6809
6809
  }
6810
6810
  }
@@ -7877,8 +7877,8 @@ export class kiosk_extension extends SuiBaseProcessor {
7877
7877
  ...options,
7878
7878
  });
7879
7879
  }
7880
- onEventExtensionKey(func, fetchConfig) {
7881
- this.onMoveEvent(func, { type: "kiosk_extension::ExtensionKey" }, fetchConfig);
7880
+ onEventExtensionKey(func, fetchConfig, eventFilter) {
7881
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "kiosk_extension::ExtensionKey" }, fetchConfig);
7882
7882
  return this;
7883
7883
  }
7884
7884
  }
@@ -12006,12 +12006,12 @@ export class token extends SuiBaseProcessor {
12006
12006
  static bind(options = {}) {
12007
12007
  return new token({ ...token.DEFAULT_OPTIONS, ...options });
12008
12008
  }
12009
- onEventRuleKey(func, fetchConfig) {
12010
- this.onMoveEvent(func, { type: "token::RuleKey" }, fetchConfig);
12009
+ onEventRuleKey(func, fetchConfig, eventFilter) {
12010
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "token::RuleKey" }, fetchConfig);
12011
12011
  return this;
12012
12012
  }
12013
- onEventTokenPolicyCreated(func, fetchConfig) {
12014
- this.onMoveEvent(func, { type: "token::TokenPolicyCreated" }, fetchConfig);
12013
+ onEventTokenPolicyCreated(func, fetchConfig, eventFilter) {
12014
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "token::TokenPolicyCreated" }, fetchConfig);
12015
12015
  return this;
12016
12016
  }
12017
12017
  }
@@ -13569,16 +13569,22 @@ export class transfer_policy extends SuiBaseProcessor {
13569
13569
  }, fetchConfig);
13570
13570
  return this;
13571
13571
  }
13572
- onEventRuleKey(func, fetchConfig) {
13573
- this.onMoveEvent(func, { type: "transfer_policy::RuleKey" }, fetchConfig);
13572
+ onEventRuleKey(func, fetchConfig, eventFilter) {
13573
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "transfer_policy::RuleKey" }, fetchConfig);
13574
13574
  return this;
13575
13575
  }
13576
- onEventTransferPolicyCreated(func, fetchConfig) {
13577
- this.onMoveEvent(func, { type: "transfer_policy::TransferPolicyCreated" }, fetchConfig);
13576
+ onEventTransferPolicyCreated(func, fetchConfig, eventFilter) {
13577
+ this.onMoveEvent(func, {
13578
+ ...(eventFilter ?? {}),
13579
+ type: "transfer_policy::TransferPolicyCreated",
13580
+ }, fetchConfig);
13578
13581
  return this;
13579
13582
  }
13580
- onEventTransferPolicyDestroyed(func, fetchConfig) {
13581
- this.onMoveEvent(func, { type: "transfer_policy::TransferPolicyDestroyed" }, fetchConfig);
13583
+ onEventTransferPolicyDestroyed(func, fetchConfig, eventFilter) {
13584
+ this.onMoveEvent(func, {
13585
+ ...(eventFilter ?? {}),
13586
+ type: "transfer_policy::TransferPolicyDestroyed",
13587
+ }, fetchConfig);
13582
13588
  return this;
13583
13589
  }
13584
13590
  }
@@ -14284,8 +14290,8 @@ export class url extends SuiBaseProcessor {
14284
14290
  static bind(options = {}) {
14285
14291
  return new url({ ...url.DEFAULT_OPTIONS, ...options });
14286
14292
  }
14287
- onEventUrl(func, fetchConfig) {
14288
- this.onMoveEvent(func, { type: "url::Url" }, fetchConfig);
14293
+ onEventUrl(func, fetchConfig, eventFilter) {
14294
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "url::Url" }, fetchConfig);
14289
14295
  return this;
14290
14296
  }
14291
14297
  }
@@ -14450,12 +14456,12 @@ export class vec_map extends SuiBaseProcessor {
14450
14456
  static bind(options = {}) {
14451
14457
  return new vec_map({ ...vec_map.DEFAULT_OPTIONS, ...options });
14452
14458
  }
14453
- onEventEntry(func, fetchConfig) {
14454
- this.onMoveEvent(func, { type: "vec_map::Entry" }, fetchConfig);
14459
+ onEventEntry(func, fetchConfig, eventFilter) {
14460
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vec_map::Entry" }, fetchConfig);
14455
14461
  return this;
14456
14462
  }
14457
- onEventVecMap(func, fetchConfig) {
14458
- this.onMoveEvent(func, { type: "vec_map::VecMap" }, fetchConfig);
14463
+ onEventVecMap(func, fetchConfig, eventFilter) {
14464
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vec_map::VecMap" }, fetchConfig);
14459
14465
  return this;
14460
14466
  }
14461
14467
  }
@@ -15040,8 +15046,8 @@ export class vec_set extends SuiBaseProcessor {
15040
15046
  static bind(options = {}) {
15041
15047
  return new vec_set({ ...vec_set.DEFAULT_OPTIONS, ...options });
15042
15048
  }
15043
- onEventVecSet(func, fetchConfig) {
15044
- this.onMoveEvent(func, { type: "vec_set::VecSet" }, fetchConfig);
15049
+ onEventVecSet(func, fetchConfig, eventFilter) {
15050
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "vec_set::VecSet" }, fetchConfig);
15045
15051
  return this;
15046
15052
  }
15047
15053
  }