@uniswap/client-data-api 0.0.52 → 0.0.54

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, GetTokenPricesRequest, GetTokenPricesResponse, 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
  */
@@ -260,3 +247,16 @@ export declare const getProtocolStats: {
260
247
  readonly typeName: "data.v1.DataApiService";
261
248
  };
262
249
  };
250
+ /**
251
+ * @generated from rpc data.v1.DataApiService.GetTokenPrices
252
+ */
253
+ export declare const getTokenPrices: {
254
+ readonly localName: "getTokenPrices";
255
+ readonly name: "GetTokenPrices";
256
+ readonly kind: MethodKind.Unary;
257
+ readonly I: typeof GetTokenPricesRequest;
258
+ readonly O: typeof GetTokenPricesResponse;
259
+ readonly service: {
260
+ readonly typeName: "data.v1.DataApiService";
261
+ };
262
+ };
@@ -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, GetTokenPricesRequest, GetTokenPricesResponse, 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
  */
@@ -264,3 +251,16 @@ export const getProtocolStats = {
264
251
  typeName: "data.v1.DataApiService"
265
252
  }
266
253
  };
254
+ /**
255
+ * @generated from rpc data.v1.DataApiService.GetTokenPrices
256
+ */
257
+ export const getTokenPrices = {
258
+ localName: "getTokenPrices",
259
+ name: "GetTokenPrices",
260
+ kind: MethodKind.Unary,
261
+ I: GetTokenPricesRequest,
262
+ O: GetTokenPricesResponse,
263
+ service: {
264
+ typeName: "data.v1.DataApiService"
265
+ }
266
+ };
@@ -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, GetTokenPricesRequest, GetTokenPricesResponse, 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
  */
@@ -186,5 +177,14 @@ export declare const DataApiService: {
186
177
  readonly O: typeof GetProtocolStatsResponse;
187
178
  readonly kind: MethodKind.Unary;
188
179
  };
180
+ /**
181
+ * @generated from rpc data.v1.DataApiService.GetTokenPrices
182
+ */
183
+ readonly getTokenPrices: {
184
+ readonly name: "GetTokenPrices";
185
+ readonly I: typeof GetTokenPricesRequest;
186
+ readonly O: typeof GetTokenPricesResponse;
187
+ readonly kind: MethodKind.Unary;
188
+ };
189
189
  };
190
190
  };
@@ -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, GetTokenPricesRequest, GetTokenPricesResponse, 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
  */
@@ -190,5 +181,14 @@ export const DataApiService = {
190
181
  O: GetProtocolStatsResponse,
191
182
  kind: MethodKind.Unary,
192
183
  },
184
+ /**
185
+ * @generated from rpc data.v1.DataApiService.GetTokenPrices
186
+ */
187
+ getTokenPrices: {
188
+ name: "GetTokenPrices",
189
+ I: GetTokenPricesRequest,
190
+ O: GetTokenPricesResponse,
191
+ kind: MethodKind.Unary,
192
+ },
193
193
  }
194
194
  };
@@ -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
  */
@@ -1332,3 +1306,87 @@ export declare class GetPortfolioChartResponse extends Message<GetPortfolioChart
1332
1306
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortfolioChartResponse;
1333
1307
  static equals(a: GetPortfolioChartResponse | PlainMessage<GetPortfolioChartResponse> | undefined, b: GetPortfolioChartResponse | PlainMessage<GetPortfolioChartResponse> | undefined): boolean;
1334
1308
  }
1309
+ /**
1310
+ * @generated from message data.v1.TokenPriceInput
1311
+ */
1312
+ export declare class TokenPriceInput extends Message<TokenPriceInput> {
1313
+ /**
1314
+ * @generated from field: uint32 chain_id = 1;
1315
+ */
1316
+ chainId: number;
1317
+ /**
1318
+ * @generated from field: string address = 2;
1319
+ */
1320
+ address: string;
1321
+ constructor(data?: PartialMessage<TokenPriceInput>);
1322
+ static readonly runtime: typeof proto3;
1323
+ static readonly typeName = "data.v1.TokenPriceInput";
1324
+ static readonly fields: FieldList;
1325
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPriceInput;
1326
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPriceInput;
1327
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPriceInput;
1328
+ static equals(a: TokenPriceInput | PlainMessage<TokenPriceInput> | undefined, b: TokenPriceInput | PlainMessage<TokenPriceInput> | undefined): boolean;
1329
+ }
1330
+ /**
1331
+ * @generated from message data.v1.TokenPrice
1332
+ */
1333
+ export declare class TokenPrice extends Message<TokenPrice> {
1334
+ /**
1335
+ * @generated from field: uint32 chain_id = 1;
1336
+ */
1337
+ chainId: number;
1338
+ /**
1339
+ * @generated from field: string address = 2;
1340
+ */
1341
+ address: string;
1342
+ /**
1343
+ * @generated from field: optional double price_usd = 3;
1344
+ */
1345
+ priceUsd?: number;
1346
+ /**
1347
+ * @generated from field: optional string updated_at = 4;
1348
+ */
1349
+ updatedAt?: string;
1350
+ constructor(data?: PartialMessage<TokenPrice>);
1351
+ static readonly runtime: typeof proto3;
1352
+ static readonly typeName = "data.v1.TokenPrice";
1353
+ static readonly fields: FieldList;
1354
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPrice;
1355
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPrice;
1356
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPrice;
1357
+ static equals(a: TokenPrice | PlainMessage<TokenPrice> | undefined, b: TokenPrice | PlainMessage<TokenPrice> | undefined): boolean;
1358
+ }
1359
+ /**
1360
+ * @generated from message data.v1.GetTokenPricesRequest
1361
+ */
1362
+ export declare class GetTokenPricesRequest extends Message<GetTokenPricesRequest> {
1363
+ /**
1364
+ * @generated from field: repeated data.v1.TokenPriceInput tokens = 1;
1365
+ */
1366
+ tokens: TokenPriceInput[];
1367
+ constructor(data?: PartialMessage<GetTokenPricesRequest>);
1368
+ static readonly runtime: typeof proto3;
1369
+ static readonly typeName = "data.v1.GetTokenPricesRequest";
1370
+ static readonly fields: FieldList;
1371
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenPricesRequest;
1372
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenPricesRequest;
1373
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenPricesRequest;
1374
+ static equals(a: GetTokenPricesRequest | PlainMessage<GetTokenPricesRequest> | undefined, b: GetTokenPricesRequest | PlainMessage<GetTokenPricesRequest> | undefined): boolean;
1375
+ }
1376
+ /**
1377
+ * @generated from message data.v1.GetTokenPricesResponse
1378
+ */
1379
+ export declare class GetTokenPricesResponse extends Message<GetTokenPricesResponse> {
1380
+ /**
1381
+ * @generated from field: repeated data.v1.TokenPrice token_prices = 1;
1382
+ */
1383
+ tokenPrices: TokenPrice[];
1384
+ constructor(data?: PartialMessage<GetTokenPricesResponse>);
1385
+ static readonly runtime: typeof proto3;
1386
+ static readonly typeName = "data.v1.GetTokenPricesResponse";
1387
+ static readonly fields: FieldList;
1388
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenPricesResponse;
1389
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenPricesResponse;
1390
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenPricesResponse;
1391
+ static equals(a: GetTokenPricesResponse | PlainMessage<GetTokenPricesResponse> | undefined, b: GetTokenPricesResponse | PlainMessage<GetTokenPricesResponse> | undefined): boolean;
1392
+ }
@@ -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
  */
@@ -1858,3 +1805,135 @@ GetPortfolioChartResponse.fields = proto3.util.newFieldList(() => [
1858
1805
  { no: 2, name: "begin_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1859
1806
  { no: 3, name: "end_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1860
1807
  ]);
1808
+ /**
1809
+ * @generated from message data.v1.TokenPriceInput
1810
+ */
1811
+ export class TokenPriceInput extends Message {
1812
+ constructor(data) {
1813
+ super();
1814
+ /**
1815
+ * @generated from field: uint32 chain_id = 1;
1816
+ */
1817
+ this.chainId = 0;
1818
+ /**
1819
+ * @generated from field: string address = 2;
1820
+ */
1821
+ this.address = "";
1822
+ proto3.util.initPartial(data, this);
1823
+ }
1824
+ static fromBinary(bytes, options) {
1825
+ return new TokenPriceInput().fromBinary(bytes, options);
1826
+ }
1827
+ static fromJson(jsonValue, options) {
1828
+ return new TokenPriceInput().fromJson(jsonValue, options);
1829
+ }
1830
+ static fromJsonString(jsonString, options) {
1831
+ return new TokenPriceInput().fromJsonString(jsonString, options);
1832
+ }
1833
+ static equals(a, b) {
1834
+ return proto3.util.equals(TokenPriceInput, a, b);
1835
+ }
1836
+ }
1837
+ TokenPriceInput.runtime = proto3;
1838
+ TokenPriceInput.typeName = "data.v1.TokenPriceInput";
1839
+ TokenPriceInput.fields = proto3.util.newFieldList(() => [
1840
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1841
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1842
+ ]);
1843
+ /**
1844
+ * @generated from message data.v1.TokenPrice
1845
+ */
1846
+ export class TokenPrice extends Message {
1847
+ constructor(data) {
1848
+ super();
1849
+ /**
1850
+ * @generated from field: uint32 chain_id = 1;
1851
+ */
1852
+ this.chainId = 0;
1853
+ /**
1854
+ * @generated from field: string address = 2;
1855
+ */
1856
+ this.address = "";
1857
+ proto3.util.initPartial(data, this);
1858
+ }
1859
+ static fromBinary(bytes, options) {
1860
+ return new TokenPrice().fromBinary(bytes, options);
1861
+ }
1862
+ static fromJson(jsonValue, options) {
1863
+ return new TokenPrice().fromJson(jsonValue, options);
1864
+ }
1865
+ static fromJsonString(jsonString, options) {
1866
+ return new TokenPrice().fromJsonString(jsonString, options);
1867
+ }
1868
+ static equals(a, b) {
1869
+ return proto3.util.equals(TokenPrice, a, b);
1870
+ }
1871
+ }
1872
+ TokenPrice.runtime = proto3;
1873
+ TokenPrice.typeName = "data.v1.TokenPrice";
1874
+ TokenPrice.fields = proto3.util.newFieldList(() => [
1875
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1876
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1877
+ { no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1878
+ { no: 4, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1879
+ ]);
1880
+ /**
1881
+ * @generated from message data.v1.GetTokenPricesRequest
1882
+ */
1883
+ export class GetTokenPricesRequest extends Message {
1884
+ constructor(data) {
1885
+ super();
1886
+ /**
1887
+ * @generated from field: repeated data.v1.TokenPriceInput tokens = 1;
1888
+ */
1889
+ this.tokens = [];
1890
+ proto3.util.initPartial(data, this);
1891
+ }
1892
+ static fromBinary(bytes, options) {
1893
+ return new GetTokenPricesRequest().fromBinary(bytes, options);
1894
+ }
1895
+ static fromJson(jsonValue, options) {
1896
+ return new GetTokenPricesRequest().fromJson(jsonValue, options);
1897
+ }
1898
+ static fromJsonString(jsonString, options) {
1899
+ return new GetTokenPricesRequest().fromJsonString(jsonString, options);
1900
+ }
1901
+ static equals(a, b) {
1902
+ return proto3.util.equals(GetTokenPricesRequest, a, b);
1903
+ }
1904
+ }
1905
+ GetTokenPricesRequest.runtime = proto3;
1906
+ GetTokenPricesRequest.typeName = "data.v1.GetTokenPricesRequest";
1907
+ GetTokenPricesRequest.fields = proto3.util.newFieldList(() => [
1908
+ { no: 1, name: "tokens", kind: "message", T: TokenPriceInput, repeated: true },
1909
+ ]);
1910
+ /**
1911
+ * @generated from message data.v1.GetTokenPricesResponse
1912
+ */
1913
+ export class GetTokenPricesResponse extends Message {
1914
+ constructor(data) {
1915
+ super();
1916
+ /**
1917
+ * @generated from field: repeated data.v1.TokenPrice token_prices = 1;
1918
+ */
1919
+ this.tokenPrices = [];
1920
+ proto3.util.initPartial(data, this);
1921
+ }
1922
+ static fromBinary(bytes, options) {
1923
+ return new GetTokenPricesResponse().fromBinary(bytes, options);
1924
+ }
1925
+ static fromJson(jsonValue, options) {
1926
+ return new GetTokenPricesResponse().fromJson(jsonValue, options);
1927
+ }
1928
+ static fromJsonString(jsonString, options) {
1929
+ return new GetTokenPricesResponse().fromJsonString(jsonString, options);
1930
+ }
1931
+ static equals(a, b) {
1932
+ return proto3.util.equals(GetTokenPricesResponse, a, b);
1933
+ }
1934
+ }
1935
+ GetTokenPricesResponse.runtime = proto3;
1936
+ GetTokenPricesResponse.typeName = "data.v1.GetTokenPricesResponse";
1937
+ GetTokenPricesResponse.fields = proto3.util.newFieldList(() => [
1938
+ { no: 1, name: "token_prices", kind: "message", T: TokenPrice, repeated: true },
1939
+ ]);
@@ -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.52",
3
+ "version": "0.0.54",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },