@sentio/protos 2.22.3 → 2.22.4

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.
@@ -1912,7 +1912,7 @@ export const BlockHandlerConfig = {
1912
1912
  },
1913
1913
  };
1914
1914
  function createBaseEthFetchConfig() {
1915
- return { transaction: false, transactionReceipt: false, block: false, trace: false };
1915
+ return { transaction: false, transactionReceipt: false, transactionReceiptLogs: false, block: false, trace: false };
1916
1916
  }
1917
1917
  export const EthFetchConfig = {
1918
1918
  encode(message, writer = _m0.Writer.create()) {
@@ -1922,6 +1922,9 @@ export const EthFetchConfig = {
1922
1922
  if (message.transactionReceipt === true) {
1923
1923
  writer.uint32(16).bool(message.transactionReceipt);
1924
1924
  }
1925
+ if (message.transactionReceiptLogs === true) {
1926
+ writer.uint32(40).bool(message.transactionReceiptLogs);
1927
+ }
1925
1928
  if (message.block === true) {
1926
1929
  writer.uint32(24).bool(message.block);
1927
1930
  }
@@ -1943,6 +1946,9 @@ export const EthFetchConfig = {
1943
1946
  case 2:
1944
1947
  message.transactionReceipt = reader.bool();
1945
1948
  break;
1949
+ case 5:
1950
+ message.transactionReceiptLogs = reader.bool();
1951
+ break;
1946
1952
  case 3:
1947
1953
  message.block = reader.bool();
1948
1954
  break;
@@ -1960,6 +1966,7 @@ export const EthFetchConfig = {
1960
1966
  return {
1961
1967
  transaction: isSet(object.transaction) ? Boolean(object.transaction) : false,
1962
1968
  transactionReceipt: isSet(object.transactionReceipt) ? Boolean(object.transactionReceipt) : false,
1969
+ transactionReceiptLogs: isSet(object.transactionReceiptLogs) ? Boolean(object.transactionReceiptLogs) : false,
1963
1970
  block: isSet(object.block) ? Boolean(object.block) : false,
1964
1971
  trace: isSet(object.trace) ? Boolean(object.trace) : false,
1965
1972
  };
@@ -1968,6 +1975,7 @@ export const EthFetchConfig = {
1968
1975
  const obj = {};
1969
1976
  message.transaction !== undefined && (obj.transaction = message.transaction);
1970
1977
  message.transactionReceipt !== undefined && (obj.transactionReceipt = message.transactionReceipt);
1978
+ message.transactionReceiptLogs !== undefined && (obj.transactionReceiptLogs = message.transactionReceiptLogs);
1971
1979
  message.block !== undefined && (obj.block = message.block);
1972
1980
  message.trace !== undefined && (obj.trace = message.trace);
1973
1981
  return obj;
@@ -1979,6 +1987,7 @@ export const EthFetchConfig = {
1979
1987
  const message = createBaseEthFetchConfig();
1980
1988
  message.transaction = object.transaction ?? false;
1981
1989
  message.transactionReceipt = object.transactionReceipt ?? false;
1990
+ message.transactionReceiptLogs = object.transactionReceiptLogs ?? false;
1982
1991
  message.block = object.block ?? false;
1983
1992
  message.trace = object.trace ?? false;
1984
1993
  return message;
@@ -2614,7 +2623,14 @@ export const MoveCallHandlerConfig = {
2614
2623
  },
2615
2624
  };
2616
2625
  function createBaseMoveCallFilter() {
2617
- return { function: "", typeArguments: [], withTypeArguments: false, includeFailed: false, publicKeyPrefix: "" };
2626
+ return {
2627
+ function: "",
2628
+ typeArguments: [],
2629
+ withTypeArguments: false,
2630
+ includeFailed: false,
2631
+ publicKeyPrefix: "",
2632
+ fromAndToAddress: undefined,
2633
+ };
2618
2634
  }
2619
2635
  export const MoveCallFilter = {
2620
2636
  encode(message, writer = _m0.Writer.create()) {
@@ -2633,6 +2649,9 @@ export const MoveCallFilter = {
2633
2649
  if (message.publicKeyPrefix !== "") {
2634
2650
  writer.uint32(42).string(message.publicKeyPrefix);
2635
2651
  }
2652
+ if (message.fromAndToAddress !== undefined) {
2653
+ MoveCallFilter_FromAndToAddress.encode(message.fromAndToAddress, writer.uint32(50).fork()).ldelim();
2654
+ }
2636
2655
  return writer;
2637
2656
  },
2638
2657
  decode(input, length) {
@@ -2657,6 +2676,9 @@ export const MoveCallFilter = {
2657
2676
  case 5:
2658
2677
  message.publicKeyPrefix = reader.string();
2659
2678
  break;
2679
+ case 6:
2680
+ message.fromAndToAddress = MoveCallFilter_FromAndToAddress.decode(reader, reader.uint32());
2681
+ break;
2660
2682
  default:
2661
2683
  reader.skipType(tag & 7);
2662
2684
  break;
@@ -2671,6 +2693,9 @@ export const MoveCallFilter = {
2671
2693
  withTypeArguments: isSet(object.withTypeArguments) ? Boolean(object.withTypeArguments) : false,
2672
2694
  includeFailed: isSet(object.includeFailed) ? Boolean(object.includeFailed) : false,
2673
2695
  publicKeyPrefix: isSet(object.publicKeyPrefix) ? String(object.publicKeyPrefix) : "",
2696
+ fromAndToAddress: isSet(object.fromAndToAddress)
2697
+ ? MoveCallFilter_FromAndToAddress.fromJSON(object.fromAndToAddress)
2698
+ : undefined,
2674
2699
  };
2675
2700
  },
2676
2701
  toJSON(message) {
@@ -2685,6 +2710,9 @@ export const MoveCallFilter = {
2685
2710
  message.withTypeArguments !== undefined && (obj.withTypeArguments = message.withTypeArguments);
2686
2711
  message.includeFailed !== undefined && (obj.includeFailed = message.includeFailed);
2687
2712
  message.publicKeyPrefix !== undefined && (obj.publicKeyPrefix = message.publicKeyPrefix);
2713
+ message.fromAndToAddress !== undefined && (obj.fromAndToAddress = message.fromAndToAddress
2714
+ ? MoveCallFilter_FromAndToAddress.toJSON(message.fromAndToAddress)
2715
+ : undefined);
2688
2716
  return obj;
2689
2717
  },
2690
2718
  create(base) {
@@ -2697,6 +2725,61 @@ export const MoveCallFilter = {
2697
2725
  message.withTypeArguments = object.withTypeArguments ?? false;
2698
2726
  message.includeFailed = object.includeFailed ?? false;
2699
2727
  message.publicKeyPrefix = object.publicKeyPrefix ?? "";
2728
+ message.fromAndToAddress = (object.fromAndToAddress !== undefined && object.fromAndToAddress !== null)
2729
+ ? MoveCallFilter_FromAndToAddress.fromPartial(object.fromAndToAddress)
2730
+ : undefined;
2731
+ return message;
2732
+ },
2733
+ };
2734
+ function createBaseMoveCallFilter_FromAndToAddress() {
2735
+ return { from: "", to: "" };
2736
+ }
2737
+ export const MoveCallFilter_FromAndToAddress = {
2738
+ encode(message, writer = _m0.Writer.create()) {
2739
+ if (message.from !== "") {
2740
+ writer.uint32(10).string(message.from);
2741
+ }
2742
+ if (message.to !== "") {
2743
+ writer.uint32(18).string(message.to);
2744
+ }
2745
+ return writer;
2746
+ },
2747
+ decode(input, length) {
2748
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2749
+ let end = length === undefined ? reader.len : reader.pos + length;
2750
+ const message = createBaseMoveCallFilter_FromAndToAddress();
2751
+ while (reader.pos < end) {
2752
+ const tag = reader.uint32();
2753
+ switch (tag >>> 3) {
2754
+ case 1:
2755
+ message.from = reader.string();
2756
+ break;
2757
+ case 2:
2758
+ message.to = reader.string();
2759
+ break;
2760
+ default:
2761
+ reader.skipType(tag & 7);
2762
+ break;
2763
+ }
2764
+ }
2765
+ return message;
2766
+ },
2767
+ fromJSON(object) {
2768
+ return { from: isSet(object.from) ? String(object.from) : "", to: isSet(object.to) ? String(object.to) : "" };
2769
+ },
2770
+ toJSON(message) {
2771
+ const obj = {};
2772
+ message.from !== undefined && (obj.from = message.from);
2773
+ message.to !== undefined && (obj.to = message.to);
2774
+ return obj;
2775
+ },
2776
+ create(base) {
2777
+ return MoveCallFilter_FromAndToAddress.fromPartial(base ?? {});
2778
+ },
2779
+ fromPartial(object) {
2780
+ const message = createBaseMoveCallFilter_FromAndToAddress();
2781
+ message.from = object.from ?? "";
2782
+ message.to = object.to ?? "";
2700
2783
  return message;
2701
2784
  },
2702
2785
  };