@uniswap/client-data-api 0.0.52 → 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.
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +1 -14
- package/dist/data/v1/api-DataApiService_connectquery.js +1 -14
- package/dist/data/v1/api_connect.d.ts +1 -10
- package/dist/data/v1/api_connect.js +1 -10
- package/dist/data/v1/api_pb.d.ts +4 -30
- package/dist/data/v1/api_pb.js +1 -54
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +14 -1
- package/dist/data/v1/workerService-WorkerService_connectquery.js +14 -1
- package/dist/data/v1/workerService_connect.d.ts +10 -1
- package/dist/data/v1/workerService_connect.js +10 -1
- package/dist/data/v1/workerService_pb.d.ts +71 -0
- package/dist/data/v1/workerService_pb.js +114 -0
- package/package.json +1 -1
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -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
|
*/
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -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
|
*/
|
|
@@ -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(() => []);
|