@uniswap/client-data-api 0.0.51 → 0.0.53

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -130,19 +130,6 @@ export declare const createTokenFactoryPresignedUrl: {
130
130
  readonly typeName: "data.v1.DataApiService";
131
131
  };
132
132
  };
133
- /**
134
- * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
135
- */
136
- export declare const invokeTokenFactorySubgraphSyncer: {
137
- readonly localName: "invokeTokenFactorySubgraphSyncer";
138
- readonly name: "InvokeTokenFactorySubgraphSyncer";
139
- readonly kind: MethodKind.Unary;
140
- readonly I: typeof InvokeTokenFactorySubgraphSyncerRequest;
141
- readonly O: typeof InvokeTokenFactorySubgraphSyncerResponse;
142
- readonly service: {
143
- readonly typeName: "data.v1.DataApiService";
144
- };
145
- };
146
133
  /**
147
134
  * @generated from rpc data.v1.DataApiService.GetPair
148
135
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -134,19 +134,6 @@ export const createTokenFactoryPresignedUrl = {
134
134
  typeName: "data.v1.DataApiService"
135
135
  }
136
136
  };
137
- /**
138
- * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
139
- */
140
- export const invokeTokenFactorySubgraphSyncer = {
141
- localName: "invokeTokenFactorySubgraphSyncer",
142
- name: "InvokeTokenFactorySubgraphSyncer",
143
- kind: MethodKind.Unary,
144
- I: InvokeTokenFactorySubgraphSyncerRequest,
145
- O: InvokeTokenFactorySubgraphSyncerResponse,
146
- service: {
147
- typeName: "data.v1.DataApiService"
148
- }
149
- };
150
137
  /**
151
138
  * @generated from rpc data.v1.DataApiService.GetPair
152
139
  */
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -96,15 +96,6 @@ export declare const DataApiService: {
96
96
  readonly O: typeof CreateTokenFactoryPresignedUrlResponse;
97
97
  readonly kind: MethodKind.Unary;
98
98
  };
99
- /**
100
- * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
101
- */
102
- readonly invokeTokenFactorySubgraphSyncer: {
103
- readonly name: "InvokeTokenFactorySubgraphSyncer";
104
- readonly I: typeof InvokeTokenFactorySubgraphSyncerRequest;
105
- readonly O: typeof InvokeTokenFactorySubgraphSyncerResponse;
106
- readonly kind: MethodKind.Unary;
107
- };
108
99
  /**
109
100
  * @generated from rpc data.v1.DataApiService.GetPair
110
101
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/api.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -100,15 +100,6 @@ export const DataApiService = {
100
100
  O: CreateTokenFactoryPresignedUrlResponse,
101
101
  kind: MethodKind.Unary,
102
102
  },
103
- /**
104
- * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
105
- */
106
- invokeTokenFactorySubgraphSyncer: {
107
- name: "InvokeTokenFactorySubgraphSyncer",
108
- I: InvokeTokenFactorySubgraphSyncerRequest,
109
- O: InvokeTokenFactorySubgraphSyncerResponse,
110
- kind: MethodKind.Unary,
111
- },
112
103
  /**
113
104
  * @generated from rpc data.v1.DataApiService.GetPair
114
105
  */
@@ -1,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction, TransactionTypeFilter } from "./types_pb.js";
3
+ import { MultichainToken, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction, TransactionTypeFilter } from "./types_pb.js";
4
4
  import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
5
5
  /**
6
6
  * @generated from enum data.v1.Platform
@@ -527,6 +527,10 @@ export declare class ListTransactionsRequest extends Message<ListTransactionsReq
527
527
  * @generated from field: repeated data.v1.TransactionTypeFilter filter_transaction_types = 7;
528
528
  */
529
529
  filterTransactionTypes: TransactionTypeFilter[];
530
+ /**
531
+ * @generated from field: optional string search_text = 8;
532
+ */
533
+ searchText?: string;
530
534
  constructor(data?: PartialMessage<ListTransactionsRequest>);
531
535
  static readonly runtime: typeof proto3;
532
536
  static readonly typeName = "data.v1.ListTransactionsRequest";
@@ -661,36 +665,6 @@ export declare class CreateTokenFactoryPresignedUrlResponse extends Message<Crea
661
665
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
662
666
  static equals(a: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined, b: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined): boolean;
663
667
  }
664
- /**
665
- * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerRequest
666
- */
667
- export declare class InvokeTokenFactorySubgraphSyncerRequest extends Message<InvokeTokenFactorySubgraphSyncerRequest> {
668
- constructor(data?: PartialMessage<InvokeTokenFactorySubgraphSyncerRequest>);
669
- static readonly runtime: typeof proto3;
670
- static readonly typeName = "data.v1.InvokeTokenFactorySubgraphSyncerRequest";
671
- static readonly fields: FieldList;
672
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvokeTokenFactorySubgraphSyncerRequest;
673
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerRequest;
674
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerRequest;
675
- static equals(a: InvokeTokenFactorySubgraphSyncerRequest | PlainMessage<InvokeTokenFactorySubgraphSyncerRequest> | undefined, b: InvokeTokenFactorySubgraphSyncerRequest | PlainMessage<InvokeTokenFactorySubgraphSyncerRequest> | undefined): boolean;
676
- }
677
- /**
678
- * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerResponse
679
- */
680
- export declare class InvokeTokenFactorySubgraphSyncerResponse extends Message<InvokeTokenFactorySubgraphSyncerResponse> {
681
- /**
682
- * @generated from field: bool success = 1;
683
- */
684
- success: boolean;
685
- constructor(data?: PartialMessage<InvokeTokenFactorySubgraphSyncerResponse>);
686
- static readonly runtime: typeof proto3;
687
- static readonly typeName = "data.v1.InvokeTokenFactorySubgraphSyncerResponse";
688
- static readonly fields: FieldList;
689
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvokeTokenFactorySubgraphSyncerResponse;
690
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerResponse;
691
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerResponse;
692
- static equals(a: InvokeTokenFactorySubgraphSyncerResponse | PlainMessage<InvokeTokenFactorySubgraphSyncerResponse> | undefined, b: InvokeTokenFactorySubgraphSyncerResponse | PlainMessage<InvokeTokenFactorySubgraphSyncerResponse> | undefined): boolean;
693
- }
694
668
  /**
695
669
  * @generated from message data.v1.GetPairRequest
696
670
  */
@@ -1125,6 +1099,10 @@ export declare class ListTopTokensRequest extends Message<ListTopTokensRequest>
1125
1099
  * @generated from field: optional string page_token = 5;
1126
1100
  */
1127
1101
  pageToken?: string;
1102
+ /**
1103
+ * @generated from field: optional bool multichain = 6;
1104
+ */
1105
+ multichain?: boolean;
1128
1106
  constructor(data?: PartialMessage<ListTopTokensRequest>);
1129
1107
  static readonly runtime: typeof proto3;
1130
1108
  static readonly typeName = "data.v1.ListTopTokensRequest";
@@ -1146,6 +1124,10 @@ export declare class ListTopTokensResponse extends Message<ListTopTokensResponse
1146
1124
  * @generated from field: optional string next_page_token = 2;
1147
1125
  */
1148
1126
  nextPageToken?: string;
1127
+ /**
1128
+ * @generated from field: repeated data.v1.MultichainToken multichain_tokens = 3;
1129
+ */
1130
+ multichainTokens: MultichainToken[];
1149
1131
  constructor(data?: PartialMessage<ListTopTokensResponse>);
1150
1132
  static readonly runtime: typeof proto3;
1151
1133
  static readonly typeName = "data.v1.ListTopTokensResponse";
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- import { Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction, TransactionTypeFilter } from "./types_pb.js";
6
+ import { MultichainToken, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction, TransactionTypeFilter } from "./types_pb.js";
7
7
  import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
8
8
  /**
9
9
  * @generated from enum data.v1.Platform
@@ -774,6 +774,7 @@ ListTransactionsRequest.fields = proto3.util.newFieldList(() => [
774
774
  { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
775
775
  { no: 6, name: "include_plans", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
776
776
  { no: 7, name: "filter_transaction_types", kind: "enum", T: proto3.getEnumType(TransactionTypeFilter), repeated: true },
777
+ { no: 8, name: "search_text", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
777
778
  ]);
778
779
  /**
779
780
  * @generated from message data.v1.FiatOnRampParams
@@ -966,60 +967,6 @@ CreateTokenFactoryPresignedUrlResponse.typeName = "data.v1.CreateTokenFactoryPre
966
967
  CreateTokenFactoryPresignedUrlResponse.fields = proto3.util.newFieldList(() => [
967
968
  { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
968
969
  ]);
969
- /**
970
- * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerRequest
971
- */
972
- export class InvokeTokenFactorySubgraphSyncerRequest extends Message {
973
- constructor(data) {
974
- super();
975
- proto3.util.initPartial(data, this);
976
- }
977
- static fromBinary(bytes, options) {
978
- return new InvokeTokenFactorySubgraphSyncerRequest().fromBinary(bytes, options);
979
- }
980
- static fromJson(jsonValue, options) {
981
- return new InvokeTokenFactorySubgraphSyncerRequest().fromJson(jsonValue, options);
982
- }
983
- static fromJsonString(jsonString, options) {
984
- return new InvokeTokenFactorySubgraphSyncerRequest().fromJsonString(jsonString, options);
985
- }
986
- static equals(a, b) {
987
- return proto3.util.equals(InvokeTokenFactorySubgraphSyncerRequest, a, b);
988
- }
989
- }
990
- InvokeTokenFactorySubgraphSyncerRequest.runtime = proto3;
991
- InvokeTokenFactorySubgraphSyncerRequest.typeName = "data.v1.InvokeTokenFactorySubgraphSyncerRequest";
992
- InvokeTokenFactorySubgraphSyncerRequest.fields = proto3.util.newFieldList(() => []);
993
- /**
994
- * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerResponse
995
- */
996
- export class InvokeTokenFactorySubgraphSyncerResponse extends Message {
997
- constructor(data) {
998
- super();
999
- /**
1000
- * @generated from field: bool success = 1;
1001
- */
1002
- this.success = false;
1003
- proto3.util.initPartial(data, this);
1004
- }
1005
- static fromBinary(bytes, options) {
1006
- return new InvokeTokenFactorySubgraphSyncerResponse().fromBinary(bytes, options);
1007
- }
1008
- static fromJson(jsonValue, options) {
1009
- return new InvokeTokenFactorySubgraphSyncerResponse().fromJson(jsonValue, options);
1010
- }
1011
- static fromJsonString(jsonString, options) {
1012
- return new InvokeTokenFactorySubgraphSyncerResponse().fromJsonString(jsonString, options);
1013
- }
1014
- static equals(a, b) {
1015
- return proto3.util.equals(InvokeTokenFactorySubgraphSyncerResponse, a, b);
1016
- }
1017
- }
1018
- InvokeTokenFactorySubgraphSyncerResponse.runtime = proto3;
1019
- InvokeTokenFactorySubgraphSyncerResponse.typeName = "data.v1.InvokeTokenFactorySubgraphSyncerResponse";
1020
- InvokeTokenFactorySubgraphSyncerResponse.fields = proto3.util.newFieldList(() => [
1021
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1022
- ]);
1023
970
  /**
1024
971
  * @generated from message data.v1.GetPairRequest
1025
972
  */
@@ -1570,6 +1517,7 @@ ListTopTokensRequest.fields = proto3.util.newFieldList(() => [
1570
1517
  { no: 3, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1571
1518
  { no: 4, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1572
1519
  { no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1520
+ { no: 6, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1573
1521
  ]);
1574
1522
  /**
1575
1523
  * @generated from message data.v1.ListTopTokensResponse
@@ -1581,6 +1529,10 @@ export class ListTopTokensResponse extends Message {
1581
1529
  * @generated from field: repeated data.v1.Token tokens = 1;
1582
1530
  */
1583
1531
  this.tokens = [];
1532
+ /**
1533
+ * @generated from field: repeated data.v1.MultichainToken multichain_tokens = 3;
1534
+ */
1535
+ this.multichainTokens = [];
1584
1536
  proto3.util.initPartial(data, this);
1585
1537
  }
1586
1538
  static fromBinary(bytes, options) {
@@ -1601,6 +1553,7 @@ ListTopTokensResponse.typeName = "data.v1.ListTopTokensResponse";
1601
1553
  ListTopTokensResponse.fields = proto3.util.newFieldList(() => [
1602
1554
  { no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
1603
1555
  { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1556
+ { no: 3, name: "multichain_tokens", kind: "message", T: MultichainToken, repeated: true },
1604
1557
  ]);
1605
1558
  /**
1606
1559
  * @generated from message data.v1.GetProtocolStatsRequest
@@ -915,6 +915,137 @@ export declare class Amount extends Message<Amount> {
915
915
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Amount;
916
916
  static equals(a: Amount | PlainMessage<Amount> | undefined, b: Amount | PlainMessage<Amount> | undefined): boolean;
917
917
  }
918
+ /**
919
+ * Chain-specific token info within a multichain token group
920
+ *
921
+ * @generated from message data.v1.ChainToken
922
+ */
923
+ export declare class ChainToken extends Message<ChainToken> {
924
+ /**
925
+ * @generated from field: uint32 chain_id = 1;
926
+ */
927
+ chainId: number;
928
+ /**
929
+ * @generated from field: string address = 2;
930
+ */
931
+ address: string;
932
+ /**
933
+ * @generated from field: uint32 decimals = 3;
934
+ */
935
+ decimals: number;
936
+ /**
937
+ * @generated from field: bool is_bridged = 4;
938
+ */
939
+ isBridged: boolean;
940
+ /**
941
+ * @generated from field: data.v1.ChainTokenStats stats = 5;
942
+ */
943
+ stats?: ChainTokenStats;
944
+ constructor(data?: PartialMessage<ChainToken>);
945
+ static readonly runtime: typeof proto3;
946
+ static readonly typeName = "data.v1.ChainToken";
947
+ static readonly fields: FieldList;
948
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChainToken;
949
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChainToken;
950
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChainToken;
951
+ static equals(a: ChainToken | PlainMessage<ChainToken> | undefined, b: ChainToken | PlainMessage<ChainToken> | undefined): boolean;
952
+ }
953
+ /**
954
+ * @generated from message data.v1.ChainTokenStats
955
+ */
956
+ export declare class ChainTokenStats extends Message<ChainTokenStats> {
957
+ /**
958
+ * @generated from field: optional double volume_1h = 1;
959
+ */
960
+ volume1h?: number;
961
+ /**
962
+ * @generated from field: optional double volume_1d = 2;
963
+ */
964
+ volume1d?: number;
965
+ /**
966
+ * @generated from field: optional double volume_7d = 3;
967
+ */
968
+ volume7d?: number;
969
+ /**
970
+ * @generated from field: optional double volume_30d = 4;
971
+ */
972
+ volume30d?: number;
973
+ /**
974
+ * @generated from field: optional double volume_1y = 5;
975
+ */
976
+ volume1y?: number;
977
+ constructor(data?: PartialMessage<ChainTokenStats>);
978
+ static readonly runtime: typeof proto3;
979
+ static readonly typeName = "data.v1.ChainTokenStats";
980
+ static readonly fields: FieldList;
981
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChainTokenStats;
982
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChainTokenStats;
983
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChainTokenStats;
984
+ static equals(a: ChainTokenStats | PlainMessage<ChainTokenStats> | undefined, b: ChainTokenStats | PlainMessage<ChainTokenStats> | undefined): boolean;
985
+ }
986
+ /**
987
+ * A token aggregated across multiple chains
988
+ *
989
+ * @generated from message data.v1.MultichainToken
990
+ */
991
+ export declare class MultichainToken extends Message<MultichainToken> {
992
+ /**
993
+ * @generated from field: string multichain_id = 1;
994
+ */
995
+ multichainId: string;
996
+ /**
997
+ * @generated from field: string symbol = 2;
998
+ */
999
+ symbol: string;
1000
+ /**
1001
+ * @generated from field: string name = 3;
1002
+ */
1003
+ name: string;
1004
+ /**
1005
+ * @generated from field: data.v1.TokenType type = 4;
1006
+ */
1007
+ type: TokenType;
1008
+ /**
1009
+ * @generated from field: string project_name = 5;
1010
+ */
1011
+ projectName: string;
1012
+ /**
1013
+ * @generated from field: string logo_url = 6;
1014
+ */
1015
+ logoUrl: string;
1016
+ /**
1017
+ * @generated from field: data.v1.ProtectionInfo protection_info = 7;
1018
+ */
1019
+ protectionInfo?: ProtectionInfo;
1020
+ /**
1021
+ * @generated from field: data.v1.FeeData fee_data = 8;
1022
+ */
1023
+ feeData?: FeeData;
1024
+ /**
1025
+ * @generated from field: data.v1.SafetyLevel safety_level = 9;
1026
+ */
1027
+ safetyLevel: SafetyLevel;
1028
+ /**
1029
+ * @generated from field: data.v1.SpamCode spam_code = 10;
1030
+ */
1031
+ spamCode: SpamCode;
1032
+ /**
1033
+ * @generated from field: data.v1.TokenStats stats = 11;
1034
+ */
1035
+ stats?: TokenStats;
1036
+ /**
1037
+ * @generated from field: repeated data.v1.ChainToken chain_tokens = 12;
1038
+ */
1039
+ chainTokens: ChainToken[];
1040
+ constructor(data?: PartialMessage<MultichainToken>);
1041
+ static readonly runtime: typeof proto3;
1042
+ static readonly typeName = "data.v1.MultichainToken";
1043
+ static readonly fields: FieldList;
1044
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultichainToken;
1045
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainToken;
1046
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainToken;
1047
+ static equals(a: MultichainToken | PlainMessage<MultichainToken> | undefined, b: MultichainToken | PlainMessage<MultichainToken> | undefined): boolean;
1048
+ }
918
1049
  /**
919
1050
  * @generated from message data.v1.Contract
920
1051
  */
@@ -1231,6 +1231,159 @@ Amount.fields = proto3.util.newFieldList(() => [
1231
1231
  { no: 1, name: "raw", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1232
1232
  { no: 2, name: "amount", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1233
1233
  ]);
1234
+ /**
1235
+ * Chain-specific token info within a multichain token group
1236
+ *
1237
+ * @generated from message data.v1.ChainToken
1238
+ */
1239
+ export class ChainToken extends Message {
1240
+ constructor(data) {
1241
+ super();
1242
+ /**
1243
+ * @generated from field: uint32 chain_id = 1;
1244
+ */
1245
+ this.chainId = 0;
1246
+ /**
1247
+ * @generated from field: string address = 2;
1248
+ */
1249
+ this.address = "";
1250
+ /**
1251
+ * @generated from field: uint32 decimals = 3;
1252
+ */
1253
+ this.decimals = 0;
1254
+ /**
1255
+ * @generated from field: bool is_bridged = 4;
1256
+ */
1257
+ this.isBridged = false;
1258
+ proto3.util.initPartial(data, this);
1259
+ }
1260
+ static fromBinary(bytes, options) {
1261
+ return new ChainToken().fromBinary(bytes, options);
1262
+ }
1263
+ static fromJson(jsonValue, options) {
1264
+ return new ChainToken().fromJson(jsonValue, options);
1265
+ }
1266
+ static fromJsonString(jsonString, options) {
1267
+ return new ChainToken().fromJsonString(jsonString, options);
1268
+ }
1269
+ static equals(a, b) {
1270
+ return proto3.util.equals(ChainToken, a, b);
1271
+ }
1272
+ }
1273
+ ChainToken.runtime = proto3;
1274
+ ChainToken.typeName = "data.v1.ChainToken";
1275
+ ChainToken.fields = proto3.util.newFieldList(() => [
1276
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1277
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1278
+ { no: 3, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1279
+ { no: 4, name: "is_bridged", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1280
+ { no: 5, name: "stats", kind: "message", T: ChainTokenStats },
1281
+ ]);
1282
+ /**
1283
+ * @generated from message data.v1.ChainTokenStats
1284
+ */
1285
+ export class ChainTokenStats extends Message {
1286
+ constructor(data) {
1287
+ super();
1288
+ proto3.util.initPartial(data, this);
1289
+ }
1290
+ static fromBinary(bytes, options) {
1291
+ return new ChainTokenStats().fromBinary(bytes, options);
1292
+ }
1293
+ static fromJson(jsonValue, options) {
1294
+ return new ChainTokenStats().fromJson(jsonValue, options);
1295
+ }
1296
+ static fromJsonString(jsonString, options) {
1297
+ return new ChainTokenStats().fromJsonString(jsonString, options);
1298
+ }
1299
+ static equals(a, b) {
1300
+ return proto3.util.equals(ChainTokenStats, a, b);
1301
+ }
1302
+ }
1303
+ ChainTokenStats.runtime = proto3;
1304
+ ChainTokenStats.typeName = "data.v1.ChainTokenStats";
1305
+ ChainTokenStats.fields = proto3.util.newFieldList(() => [
1306
+ { no: 1, name: "volume_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1307
+ { no: 2, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1308
+ { no: 3, name: "volume_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1309
+ { no: 4, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1310
+ { no: 5, name: "volume_1y", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1311
+ ]);
1312
+ /**
1313
+ * A token aggregated across multiple chains
1314
+ *
1315
+ * @generated from message data.v1.MultichainToken
1316
+ */
1317
+ export class MultichainToken extends Message {
1318
+ constructor(data) {
1319
+ super();
1320
+ /**
1321
+ * @generated from field: string multichain_id = 1;
1322
+ */
1323
+ this.multichainId = "";
1324
+ /**
1325
+ * @generated from field: string symbol = 2;
1326
+ */
1327
+ this.symbol = "";
1328
+ /**
1329
+ * @generated from field: string name = 3;
1330
+ */
1331
+ this.name = "";
1332
+ /**
1333
+ * @generated from field: data.v1.TokenType type = 4;
1334
+ */
1335
+ this.type = TokenType.UNKNOWN;
1336
+ /**
1337
+ * @generated from field: string project_name = 5;
1338
+ */
1339
+ this.projectName = "";
1340
+ /**
1341
+ * @generated from field: string logo_url = 6;
1342
+ */
1343
+ this.logoUrl = "";
1344
+ /**
1345
+ * @generated from field: data.v1.SafetyLevel safety_level = 9;
1346
+ */
1347
+ this.safetyLevel = SafetyLevel.UNKNOWN;
1348
+ /**
1349
+ * @generated from field: data.v1.SpamCode spam_code = 10;
1350
+ */
1351
+ this.spamCode = SpamCode.UNKNOWN;
1352
+ /**
1353
+ * @generated from field: repeated data.v1.ChainToken chain_tokens = 12;
1354
+ */
1355
+ this.chainTokens = [];
1356
+ proto3.util.initPartial(data, this);
1357
+ }
1358
+ static fromBinary(bytes, options) {
1359
+ return new MultichainToken().fromBinary(bytes, options);
1360
+ }
1361
+ static fromJson(jsonValue, options) {
1362
+ return new MultichainToken().fromJson(jsonValue, options);
1363
+ }
1364
+ static fromJsonString(jsonString, options) {
1365
+ return new MultichainToken().fromJsonString(jsonString, options);
1366
+ }
1367
+ static equals(a, b) {
1368
+ return proto3.util.equals(MultichainToken, a, b);
1369
+ }
1370
+ }
1371
+ MultichainToken.runtime = proto3;
1372
+ MultichainToken.typeName = "data.v1.MultichainToken";
1373
+ MultichainToken.fields = proto3.util.newFieldList(() => [
1374
+ { no: 1, name: "multichain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1375
+ { no: 2, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1376
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1377
+ { no: 4, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
1378
+ { no: 5, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1379
+ { no: 6, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1380
+ { no: 7, name: "protection_info", kind: "message", T: ProtectionInfo },
1381
+ { no: 8, name: "fee_data", kind: "message", T: FeeData },
1382
+ { no: 9, name: "safety_level", kind: "enum", T: proto3.getEnumType(SafetyLevel) },
1383
+ { no: 10, name: "spam_code", kind: "enum", T: proto3.getEnumType(SpamCode) },
1384
+ { no: 11, name: "stats", kind: "message", T: TokenStats },
1385
+ { no: 12, name: "chain_tokens", kind: "message", T: ChainToken, repeated: true },
1386
+ ]);
1234
1387
  /**
1235
1388
  * @generated from message data.v1.Contract
1236
1389
  */
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
2
+ import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.WorkerService.RefreshProtocolStats
5
5
  */
@@ -26,3 +26,16 @@ export declare const checkSubgraphHealth: {
26
26
  readonly typeName: "data.v1.WorkerService";
27
27
  };
28
28
  };
29
+ /**
30
+ * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
31
+ */
32
+ export declare const ingestBlockaidMetadata: {
33
+ readonly localName: "ingestBlockaidMetadata";
34
+ readonly name: "IngestBlockaidMetadata";
35
+ readonly kind: MethodKind.Unary;
36
+ readonly I: typeof IngestBlockaidMetadataRequest;
37
+ readonly O: typeof IngestBlockaidMetadataResponse;
38
+ readonly service: {
39
+ readonly typeName: "data.v1.WorkerService";
40
+ };
41
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
6
+ import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.WorkerService.RefreshProtocolStats
9
9
  */
@@ -30,3 +30,16 @@ export const checkSubgraphHealth = {
30
30
  typeName: "data.v1.WorkerService"
31
31
  }
32
32
  };
33
+ /**
34
+ * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
35
+ */
36
+ export const ingestBlockaidMetadata = {
37
+ localName: "ingestBlockaidMetadata",
38
+ name: "IngestBlockaidMetadata",
39
+ kind: MethodKind.Unary,
40
+ I: IngestBlockaidMetadataRequest,
41
+ O: IngestBlockaidMetadataResponse,
42
+ service: {
43
+ typeName: "data.v1.WorkerService"
44
+ }
45
+ };
@@ -1,4 +1,4 @@
1
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
1
+ import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.WorkerService
@@ -24,5 +24,14 @@ export declare const WorkerService: {
24
24
  readonly O: typeof CheckSubgraphHealthResponse;
25
25
  readonly kind: MethodKind.Unary;
26
26
  };
27
+ /**
28
+ * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
29
+ */
30
+ readonly ingestBlockaidMetadata: {
31
+ readonly name: "IngestBlockaidMetadata";
32
+ readonly I: typeof IngestBlockaidMetadataRequest;
33
+ readonly O: typeof IngestBlockaidMetadataResponse;
34
+ readonly kind: MethodKind.Unary;
35
+ };
27
36
  };
28
37
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
5
+ import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.WorkerService
@@ -28,5 +28,14 @@ export const WorkerService = {
28
28
  O: CheckSubgraphHealthResponse,
29
29
  kind: MethodKind.Unary,
30
30
  },
31
+ /**
32
+ * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
33
+ */
34
+ ingestBlockaidMetadata: {
35
+ name: "IngestBlockaidMetadata",
36
+ I: IngestBlockaidMetadataRequest,
37
+ O: IngestBlockaidMetadataResponse,
38
+ kind: MethodKind.Unary,
39
+ },
31
40
  }
32
41
  };
@@ -52,3 +52,74 @@ export declare class CheckSubgraphHealthResponse extends Message<CheckSubgraphHe
52
52
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckSubgraphHealthResponse;
53
53
  static equals(a: CheckSubgraphHealthResponse | PlainMessage<CheckSubgraphHealthResponse> | undefined, b: CheckSubgraphHealthResponse | PlainMessage<CheckSubgraphHealthResponse> | undefined): boolean;
54
54
  }
55
+ /**
56
+ * @generated from message data.v1.BlockaidMetadataItem
57
+ */
58
+ export declare class BlockaidMetadataItem extends Message<BlockaidMetadataItem> {
59
+ /**
60
+ * @generated from field: string chain = 1;
61
+ */
62
+ chain: string;
63
+ /**
64
+ * @generated from field: string address = 2;
65
+ */
66
+ address: string;
67
+ /**
68
+ * @generated from field: string result_type = 3;
69
+ */
70
+ resultType: string;
71
+ /**
72
+ * @generated from field: repeated string attack_types = 4;
73
+ */
74
+ attackTypes: string[];
75
+ /**
76
+ * @generated from field: double fee_buy = 5;
77
+ */
78
+ feeBuy: number;
79
+ /**
80
+ * @generated from field: double fee_sell = 6;
81
+ */
82
+ feeSell: number;
83
+ /**
84
+ * @generated from field: double fee_transfer = 7;
85
+ */
86
+ feeTransfer: number;
87
+ constructor(data?: PartialMessage<BlockaidMetadataItem>);
88
+ static readonly runtime: typeof proto3;
89
+ static readonly typeName = "data.v1.BlockaidMetadataItem";
90
+ static readonly fields: FieldList;
91
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlockaidMetadataItem;
92
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlockaidMetadataItem;
93
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlockaidMetadataItem;
94
+ static equals(a: BlockaidMetadataItem | PlainMessage<BlockaidMetadataItem> | undefined, b: BlockaidMetadataItem | PlainMessage<BlockaidMetadataItem> | undefined): boolean;
95
+ }
96
+ /**
97
+ * @generated from message data.v1.IngestBlockaidMetadataRequest
98
+ */
99
+ export declare class IngestBlockaidMetadataRequest extends Message<IngestBlockaidMetadataRequest> {
100
+ /**
101
+ * @generated from field: repeated data.v1.BlockaidMetadataItem items = 1;
102
+ */
103
+ items: BlockaidMetadataItem[];
104
+ constructor(data?: PartialMessage<IngestBlockaidMetadataRequest>);
105
+ static readonly runtime: typeof proto3;
106
+ static readonly typeName = "data.v1.IngestBlockaidMetadataRequest";
107
+ static readonly fields: FieldList;
108
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestBlockaidMetadataRequest;
109
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestBlockaidMetadataRequest;
110
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestBlockaidMetadataRequest;
111
+ static equals(a: IngestBlockaidMetadataRequest | PlainMessage<IngestBlockaidMetadataRequest> | undefined, b: IngestBlockaidMetadataRequest | PlainMessage<IngestBlockaidMetadataRequest> | undefined): boolean;
112
+ }
113
+ /**
114
+ * @generated from message data.v1.IngestBlockaidMetadataResponse
115
+ */
116
+ export declare class IngestBlockaidMetadataResponse extends Message<IngestBlockaidMetadataResponse> {
117
+ constructor(data?: PartialMessage<IngestBlockaidMetadataResponse>);
118
+ static readonly runtime: typeof proto3;
119
+ static readonly typeName = "data.v1.IngestBlockaidMetadataResponse";
120
+ static readonly fields: FieldList;
121
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestBlockaidMetadataResponse;
122
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestBlockaidMetadataResponse;
123
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestBlockaidMetadataResponse;
124
+ static equals(a: IngestBlockaidMetadataResponse | PlainMessage<IngestBlockaidMetadataResponse> | undefined, b: IngestBlockaidMetadataResponse | PlainMessage<IngestBlockaidMetadataResponse> | undefined): boolean;
125
+ }
@@ -99,3 +99,117 @@ export class CheckSubgraphHealthResponse extends Message {
99
99
  CheckSubgraphHealthResponse.runtime = proto3;
100
100
  CheckSubgraphHealthResponse.typeName = "data.v1.CheckSubgraphHealthResponse";
101
101
  CheckSubgraphHealthResponse.fields = proto3.util.newFieldList(() => []);
102
+ /**
103
+ * @generated from message data.v1.BlockaidMetadataItem
104
+ */
105
+ export class BlockaidMetadataItem extends Message {
106
+ constructor(data) {
107
+ super();
108
+ /**
109
+ * @generated from field: string chain = 1;
110
+ */
111
+ this.chain = "";
112
+ /**
113
+ * @generated from field: string address = 2;
114
+ */
115
+ this.address = "";
116
+ /**
117
+ * @generated from field: string result_type = 3;
118
+ */
119
+ this.resultType = "";
120
+ /**
121
+ * @generated from field: repeated string attack_types = 4;
122
+ */
123
+ this.attackTypes = [];
124
+ /**
125
+ * @generated from field: double fee_buy = 5;
126
+ */
127
+ this.feeBuy = 0;
128
+ /**
129
+ * @generated from field: double fee_sell = 6;
130
+ */
131
+ this.feeSell = 0;
132
+ /**
133
+ * @generated from field: double fee_transfer = 7;
134
+ */
135
+ this.feeTransfer = 0;
136
+ proto3.util.initPartial(data, this);
137
+ }
138
+ static fromBinary(bytes, options) {
139
+ return new BlockaidMetadataItem().fromBinary(bytes, options);
140
+ }
141
+ static fromJson(jsonValue, options) {
142
+ return new BlockaidMetadataItem().fromJson(jsonValue, options);
143
+ }
144
+ static fromJsonString(jsonString, options) {
145
+ return new BlockaidMetadataItem().fromJsonString(jsonString, options);
146
+ }
147
+ static equals(a, b) {
148
+ return proto3.util.equals(BlockaidMetadataItem, a, b);
149
+ }
150
+ }
151
+ BlockaidMetadataItem.runtime = proto3;
152
+ BlockaidMetadataItem.typeName = "data.v1.BlockaidMetadataItem";
153
+ BlockaidMetadataItem.fields = proto3.util.newFieldList(() => [
154
+ { no: 1, name: "chain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
155
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
156
+ { no: 3, name: "result_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
157
+ { no: 4, name: "attack_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
158
+ { no: 5, name: "fee_buy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
159
+ { no: 6, name: "fee_sell", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
160
+ { no: 7, name: "fee_transfer", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
161
+ ]);
162
+ /**
163
+ * @generated from message data.v1.IngestBlockaidMetadataRequest
164
+ */
165
+ export class IngestBlockaidMetadataRequest extends Message {
166
+ constructor(data) {
167
+ super();
168
+ /**
169
+ * @generated from field: repeated data.v1.BlockaidMetadataItem items = 1;
170
+ */
171
+ this.items = [];
172
+ proto3.util.initPartial(data, this);
173
+ }
174
+ static fromBinary(bytes, options) {
175
+ return new IngestBlockaidMetadataRequest().fromBinary(bytes, options);
176
+ }
177
+ static fromJson(jsonValue, options) {
178
+ return new IngestBlockaidMetadataRequest().fromJson(jsonValue, options);
179
+ }
180
+ static fromJsonString(jsonString, options) {
181
+ return new IngestBlockaidMetadataRequest().fromJsonString(jsonString, options);
182
+ }
183
+ static equals(a, b) {
184
+ return proto3.util.equals(IngestBlockaidMetadataRequest, a, b);
185
+ }
186
+ }
187
+ IngestBlockaidMetadataRequest.runtime = proto3;
188
+ IngestBlockaidMetadataRequest.typeName = "data.v1.IngestBlockaidMetadataRequest";
189
+ IngestBlockaidMetadataRequest.fields = proto3.util.newFieldList(() => [
190
+ { no: 1, name: "items", kind: "message", T: BlockaidMetadataItem, repeated: true },
191
+ ]);
192
+ /**
193
+ * @generated from message data.v1.IngestBlockaidMetadataResponse
194
+ */
195
+ export class IngestBlockaidMetadataResponse extends Message {
196
+ constructor(data) {
197
+ super();
198
+ proto3.util.initPartial(data, this);
199
+ }
200
+ static fromBinary(bytes, options) {
201
+ return new IngestBlockaidMetadataResponse().fromBinary(bytes, options);
202
+ }
203
+ static fromJson(jsonValue, options) {
204
+ return new IngestBlockaidMetadataResponse().fromJson(jsonValue, options);
205
+ }
206
+ static fromJsonString(jsonString, options) {
207
+ return new IngestBlockaidMetadataResponse().fromJsonString(jsonString, options);
208
+ }
209
+ static equals(a, b) {
210
+ return proto3.util.equals(IngestBlockaidMetadataResponse, a, b);
211
+ }
212
+ }
213
+ IngestBlockaidMetadataResponse.runtime = proto3;
214
+ IngestBlockaidMetadataResponse.typeName = "data.v1.IngestBlockaidMetadataResponse";
215
+ IngestBlockaidMetadataResponse.fields = proto3.util.newFieldList(() => []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },