@uniswap/client-data-api 0.0.295 → 0.0.297
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/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
- package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
- package/dist/data/v1/api_pb.d.ts +843 -845
- package/dist/data/v1/api_pb.js +393 -2676
- package/dist/data/v1/featureGating_pb.d.ts +31 -26
- package/dist/data/v1/featureGating_pb.js +13 -50
- package/dist/data/v1/plan_pb.d.ts +29 -0
- package/dist/data/v1/plan_pb.js +30 -69
- package/dist/data/v1/poolTypes_pb.d.ts +118 -127
- package/dist/data/v1/poolTypes_pb.js +47 -438
- package/dist/data/v1/types_pb.d.ts +1276 -1334
- package/dist/data/v1/types_pb.js +249 -2021
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
- package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
- package/dist/data/v1/workerService_pb.d.ts +99 -92
- package/dist/data/v1/workerService_pb.js +37 -248
- package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
- package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
- package/dist/data/v2/api_pb.d.ts +1087 -1054
- package/dist/data/v2/api_pb.js +483 -3805
- package/dist/data/v2/categories_pb.d.ts +130 -142
- package/dist/data/v2/categories_pb.js +55 -457
- package/dist/data/v2/common_pb.d.ts +23 -25
- package/dist/data/v2/common_pb.js +12 -59
- package/dist/data/v2/earn_pb.d.ts +92 -92
- package/dist/data/v2/earn_pb.js +33 -229
- package/dist/data/v2/hooks_pb.d.ts +119 -135
- package/dist/data/v2/hooks_pb.js +49 -315
- package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
- package/dist/data/v2/search-SearchService_connectquery.js +3 -14
- package/dist/data/v2/search_pb.d.ts +139 -120
- package/dist/data/v2/search_pb.js +34 -225
- package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
- package/dist/data/v2/tokenGroups_pb.js +16 -126
- package/dist/data/v2/types_pb.d.ts +1823 -1846
- package/dist/data/v2/types_pb.js +282 -2141
- package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
- package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
- package/dist/data/v2/workerService_pb.d.ts +35 -22
- package/dist/data/v2/workerService_pb.js +20 -47
- package/package.json +1 -1
- package/dist/data/v1/api_connect.d.ts +0 -208
- package/dist/data/v1/api_connect.js +0 -212
- package/dist/data/v1/workerService_connect.d.ts +0 -46
- package/dist/data/v1/workerService_connect.js +0 -50
- package/dist/data/v2/api_connect.d.ts +0 -343
- package/dist/data/v2/api_connect.js +0 -347
- package/dist/data/v2/search_connect.d.ts +0 -21
- package/dist/data/v2/search_connect.js +0 -25
- package/dist/data/v2/workerService_connect.d.ts +0 -23
- package/dist/data/v2/workerService_connect.js +0 -27
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { RefreshSolanaTopTokensRequest, RefreshSolanaTopTokensResponse } from "./workerService_pb.js";
|
|
3
1
|
/**
|
|
4
2
|
* @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
|
|
5
3
|
*/
|
|
6
4
|
export declare const refreshSolanaTopTokens: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly O: typeof RefreshSolanaTopTokensResponse;
|
|
12
|
-
readonly service: {
|
|
13
|
-
readonly typeName: "data.v2.WorkerService";
|
|
14
|
-
};
|
|
15
|
-
};
|
|
5
|
+
methodKind: "unary";
|
|
6
|
+
input: typeof import("./workerService_pb").RefreshSolanaTopTokensRequestSchema;
|
|
7
|
+
output: typeof import("./workerService_pb").RefreshSolanaTopTokensResponseSchema;
|
|
8
|
+
} & import("@bufbuild/protobuf").DescMethod;
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query
|
|
1
|
+
// @generated by protoc-gen-connect-query v2.3.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v2/workerService.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { RefreshSolanaTopTokensRequest, RefreshSolanaTopTokensResponse } from "./workerService_pb.js";
|
|
4
|
+
import { WorkerService } from "./workerService_pb";
|
|
7
5
|
/**
|
|
8
6
|
* @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
|
|
9
7
|
*/
|
|
10
|
-
export const refreshSolanaTopTokens =
|
|
11
|
-
localName: "refreshSolanaTopTokens",
|
|
12
|
-
name: "RefreshSolanaTopTokens",
|
|
13
|
-
kind: MethodKind.Unary,
|
|
14
|
-
I: RefreshSolanaTopTokensRequest,
|
|
15
|
-
O: RefreshSolanaTopTokensResponse,
|
|
16
|
-
service: {
|
|
17
|
-
typeName: "data.v2.WorkerService"
|
|
18
|
-
}
|
|
19
|
-
};
|
|
8
|
+
export const refreshSolanaTopTokens = WorkerService.method.refreshSolanaTopTokens;
|
|
@@ -1,28 +1,41 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file data/v2/workerService.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_data_v2_workerService: GenFile;
|
|
3
7
|
/**
|
|
4
8
|
* @generated from message data.v2.RefreshSolanaTopTokensRequest
|
|
5
9
|
*/
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshSolanaTopTokensRequest;
|
|
13
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshSolanaTopTokensRequest;
|
|
14
|
-
static equals(a: RefreshSolanaTopTokensRequest | PlainMessage<RefreshSolanaTopTokensRequest> | undefined, b: RefreshSolanaTopTokensRequest | PlainMessage<RefreshSolanaTopTokensRequest> | undefined): boolean;
|
|
15
|
-
}
|
|
10
|
+
export type RefreshSolanaTopTokensRequest = Message<"data.v2.RefreshSolanaTopTokensRequest"> & {};
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message data.v2.RefreshSolanaTopTokensRequest.
|
|
13
|
+
* Use `create(RefreshSolanaTopTokensRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RefreshSolanaTopTokensRequestSchema: GenMessage<RefreshSolanaTopTokensRequest>;
|
|
16
16
|
/**
|
|
17
17
|
* @generated from message data.v2.RefreshSolanaTopTokensResponse
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
export type RefreshSolanaTopTokensResponse = Message<"data.v2.RefreshSolanaTopTokensResponse"> & {};
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message data.v2.RefreshSolanaTopTokensResponse.
|
|
22
|
+
* Use `create(RefreshSolanaTopTokensResponseSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export declare const RefreshSolanaTopTokensResponseSchema: GenMessage<RefreshSolanaTopTokensResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Internal worker/cron RPCs for the V2 data API. Triggered by EventBridge
|
|
27
|
+
* schedules (not client-facing), but kept in the v2 namespace alongside the v2
|
|
28
|
+
* data surface they feed.
|
|
29
|
+
*
|
|
30
|
+
* @generated from service data.v2.WorkerService
|
|
31
|
+
*/
|
|
32
|
+
export declare const WorkerService: GenService<{
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
|
|
35
|
+
*/
|
|
36
|
+
refreshSolanaTopTokens: {
|
|
37
|
+
methodKind: "unary";
|
|
38
|
+
input: typeof RefreshSolanaTopTokensRequestSchema;
|
|
39
|
+
output: typeof RefreshSolanaTopTokensResponseSchema;
|
|
40
|
+
};
|
|
41
|
+
}>;
|
|
@@ -1,53 +1,26 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v2/workerService.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
5
|
/**
|
|
7
|
-
*
|
|
6
|
+
* Describes the file data/v2/workerService.proto.
|
|
8
7
|
*/
|
|
9
|
-
export
|
|
10
|
-
constructor(data) {
|
|
11
|
-
super();
|
|
12
|
-
proto3.util.initPartial(data, this);
|
|
13
|
-
}
|
|
14
|
-
static fromBinary(bytes, options) {
|
|
15
|
-
return new RefreshSolanaTopTokensRequest().fromBinary(bytes, options);
|
|
16
|
-
}
|
|
17
|
-
static fromJson(jsonValue, options) {
|
|
18
|
-
return new RefreshSolanaTopTokensRequest().fromJson(jsonValue, options);
|
|
19
|
-
}
|
|
20
|
-
static fromJsonString(jsonString, options) {
|
|
21
|
-
return new RefreshSolanaTopTokensRequest().fromJsonString(jsonString, options);
|
|
22
|
-
}
|
|
23
|
-
static equals(a, b) {
|
|
24
|
-
return proto3.util.equals(RefreshSolanaTopTokensRequest, a, b);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
RefreshSolanaTopTokensRequest.runtime = proto3;
|
|
28
|
-
RefreshSolanaTopTokensRequest.typeName = "data.v2.RefreshSolanaTopTokensRequest";
|
|
29
|
-
RefreshSolanaTopTokensRequest.fields = proto3.util.newFieldList(() => []);
|
|
8
|
+
export const file_data_v2_workerService = /*@__PURE__*/ fileDesc("ChtkYXRhL3YyL3dvcmtlclNlcnZpY2UucHJvdG8SB2RhdGEudjIiHwodUmVmcmVzaFNvbGFuYVRvcFRva2Vuc1JlcXVlc3QiIAoeUmVmcmVzaFNvbGFuYVRvcFRva2Vuc1Jlc3BvbnNlMnoKDVdvcmtlclNlcnZpY2USaQoWUmVmcmVzaFNvbGFuYVRvcFRva2VucxImLmRhdGEudjIuUmVmcmVzaFNvbGFuYVRvcFRva2Vuc1JlcXVlc3QaJy5kYXRhLnYyLlJlZnJlc2hTb2xhbmFUb3BUb2tlbnNSZXNwb25zZWIGcHJvdG8z");
|
|
30
9
|
/**
|
|
31
|
-
*
|
|
10
|
+
* Describes the message data.v2.RefreshSolanaTopTokensRequest.
|
|
11
|
+
* Use `create(RefreshSolanaTopTokensRequestSchema)` to create a new message.
|
|
32
12
|
*/
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
static equals(a, b) {
|
|
48
|
-
return proto3.util.equals(RefreshSolanaTopTokensResponse, a, b);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
RefreshSolanaTopTokensResponse.runtime = proto3;
|
|
52
|
-
RefreshSolanaTopTokensResponse.typeName = "data.v2.RefreshSolanaTopTokensResponse";
|
|
53
|
-
RefreshSolanaTopTokensResponse.fields = proto3.util.newFieldList(() => []);
|
|
13
|
+
export const RefreshSolanaTopTokensRequestSchema = /*@__PURE__*/ messageDesc(file_data_v2_workerService, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message data.v2.RefreshSolanaTopTokensResponse.
|
|
16
|
+
* Use `create(RefreshSolanaTopTokensResponseSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const RefreshSolanaTopTokensResponseSchema = /*@__PURE__*/ messageDesc(file_data_v2_workerService, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Internal worker/cron RPCs for the V2 data API. Triggered by EventBridge
|
|
21
|
+
* schedules (not client-facing), but kept in the v2 namespace alongside the v2
|
|
22
|
+
* data surface they feed.
|
|
23
|
+
*
|
|
24
|
+
* @generated from service data.v2.WorkerService
|
|
25
|
+
*/
|
|
26
|
+
export const WorkerService = /*@__PURE__*/ serviceDesc(file_data_v2_workerService, 0);
|
package/package.json
CHANGED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
2
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service data.v1.DataApiService
|
|
5
|
-
*/
|
|
6
|
-
export declare const DataApiService: {
|
|
7
|
-
readonly typeName: "data.v1.DataApiService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc data.v1.DataApiService.GetToken
|
|
11
|
-
*/
|
|
12
|
-
readonly getToken: {
|
|
13
|
-
readonly name: "GetToken";
|
|
14
|
-
readonly I: typeof GetTokenRequest;
|
|
15
|
-
readonly O: typeof GetTokenResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc data.v1.DataApiService.SubmitReport
|
|
20
|
-
*/
|
|
21
|
-
readonly submitReport: {
|
|
22
|
-
readonly name: "SubmitReport";
|
|
23
|
-
readonly I: typeof SubmitReportRequest;
|
|
24
|
-
readonly O: typeof SubmitReportResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @generated from rpc data.v1.DataApiService.GetPortfolio
|
|
29
|
-
*/
|
|
30
|
-
readonly getPortfolio: {
|
|
31
|
-
readonly name: "GetPortfolio";
|
|
32
|
-
readonly I: typeof GetPortfolioRequest;
|
|
33
|
-
readonly O: typeof GetPortfolioResponse;
|
|
34
|
-
readonly kind: MethodKind.Unary;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
38
|
-
*/
|
|
39
|
-
readonly listPortfolios: {
|
|
40
|
-
readonly name: "ListPortfolios";
|
|
41
|
-
readonly I: typeof ListPortfoliosRequest;
|
|
42
|
-
readonly O: typeof ListPortfoliosResponse;
|
|
43
|
-
readonly kind: MethodKind.Unary;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @generated from rpc data.v1.DataApiService.GetPortfolioChart
|
|
47
|
-
*/
|
|
48
|
-
readonly getPortfolioChart: {
|
|
49
|
-
readonly name: "GetPortfolioChart";
|
|
50
|
-
readonly I: typeof GetPortfolioChartRequest;
|
|
51
|
-
readonly O: typeof GetPortfolioChartResponse;
|
|
52
|
-
readonly kind: MethodKind.Unary;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @generated from rpc data.v1.DataApiService.GetTransaction
|
|
56
|
-
*/
|
|
57
|
-
readonly getTransaction: {
|
|
58
|
-
readonly name: "GetTransaction";
|
|
59
|
-
readonly I: typeof GetTransactionRequest;
|
|
60
|
-
readonly O: typeof GetTransactionResponse;
|
|
61
|
-
readonly kind: MethodKind.Unary;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
65
|
-
*/
|
|
66
|
-
readonly listTransactions: {
|
|
67
|
-
readonly name: "ListTransactions";
|
|
68
|
-
readonly I: typeof ListTransactionsRequest;
|
|
69
|
-
readonly O: typeof ListTransactionsResponse;
|
|
70
|
-
readonly kind: MethodKind.Unary;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* @generated from rpc data.v1.DataApiService.CreateTokenFactoryPresignedUrl
|
|
74
|
-
*/
|
|
75
|
-
readonly createTokenFactoryPresignedUrl: {
|
|
76
|
-
readonly name: "CreateTokenFactoryPresignedUrl";
|
|
77
|
-
readonly I: typeof CreateTokenFactoryPresignedUrlRequest;
|
|
78
|
-
readonly O: typeof CreateTokenFactoryPresignedUrlResponse;
|
|
79
|
-
readonly kind: MethodKind.Unary;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @generated from rpc data.v1.DataApiService.VerifyTokenFactoryImage
|
|
83
|
-
*/
|
|
84
|
-
readonly verifyTokenFactoryImage: {
|
|
85
|
-
readonly name: "VerifyTokenFactoryImage";
|
|
86
|
-
readonly I: typeof VerifyTokenFactoryImageRequest;
|
|
87
|
-
readonly O: typeof VerifyTokenFactoryImageResponse;
|
|
88
|
-
readonly kind: MethodKind.Unary;
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* @generated from rpc data.v1.DataApiService.GetRewards
|
|
92
|
-
*/
|
|
93
|
-
readonly getRewards: {
|
|
94
|
-
readonly name: "GetRewards";
|
|
95
|
-
readonly I: typeof GetRewardsRequest;
|
|
96
|
-
readonly O: typeof GetRewardsResponse;
|
|
97
|
-
readonly kind: MethodKind.Unary;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* @generated from rpc data.v1.DataApiService.GetPositionRewards
|
|
101
|
-
*/
|
|
102
|
-
readonly getPositionRewards: {
|
|
103
|
-
readonly name: "GetPositionRewards";
|
|
104
|
-
readonly I: typeof GetPositionRewardsRequest;
|
|
105
|
-
readonly O: typeof GetPositionRewardsResponse;
|
|
106
|
-
readonly kind: MethodKind.Unary;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* @generated from rpc data.v1.DataApiService.GetPoolRewards
|
|
110
|
-
*/
|
|
111
|
-
readonly getPoolRewards: {
|
|
112
|
-
readonly name: "GetPoolRewards";
|
|
113
|
-
readonly I: typeof GetPoolRewardsRequest;
|
|
114
|
-
readonly O: typeof GetPoolRewardsResponse;
|
|
115
|
-
readonly kind: MethodKind.Unary;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* @generated from rpc data.v1.DataApiService.GetTokenPrices
|
|
119
|
-
*/
|
|
120
|
-
readonly getTokenPrices: {
|
|
121
|
-
readonly name: "GetTokenPrices";
|
|
122
|
-
readonly I: typeof GetTokenPricesRequest;
|
|
123
|
-
readonly O: typeof GetTokenPricesResponse;
|
|
124
|
-
readonly kind: MethodKind.Unary;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* @generated from rpc data.v1.DataApiService.GetWalletProfitLoss
|
|
128
|
-
*/
|
|
129
|
-
readonly getWalletProfitLoss: {
|
|
130
|
-
readonly name: "GetWalletProfitLoss";
|
|
131
|
-
readonly I: typeof GetWalletProfitLossRequest;
|
|
132
|
-
readonly O: typeof GetWalletProfitLossResponse;
|
|
133
|
-
readonly kind: MethodKind.Unary;
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* @generated from rpc data.v1.DataApiService.GetWalletTokensProfitLoss
|
|
137
|
-
*/
|
|
138
|
-
readonly getWalletTokensProfitLoss: {
|
|
139
|
-
readonly name: "GetWalletTokensProfitLoss";
|
|
140
|
-
readonly I: typeof GetWalletTokensProfitLossRequest;
|
|
141
|
-
readonly O: typeof GetWalletTokensProfitLossResponse;
|
|
142
|
-
readonly kind: MethodKind.Unary;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* @generated from rpc data.v1.DataApiService.GetWalletTokenProfitLoss
|
|
146
|
-
*/
|
|
147
|
-
readonly getWalletTokenProfitLoss: {
|
|
148
|
-
readonly name: "GetWalletTokenProfitLoss";
|
|
149
|
-
readonly I: typeof GetWalletTokenProfitLossRequest;
|
|
150
|
-
readonly O: typeof GetWalletTokenProfitLossResponse;
|
|
151
|
-
readonly kind: MethodKind.Unary;
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* @generated from rpc data.v1.DataApiService.GetWalletBalances
|
|
155
|
-
*/
|
|
156
|
-
readonly getWalletBalances: {
|
|
157
|
-
readonly name: "GetWalletBalances";
|
|
158
|
-
readonly I: typeof GetWalletBalancesRequest;
|
|
159
|
-
readonly O: typeof GetWalletBalancesResponse;
|
|
160
|
-
readonly kind: MethodKind.Unary;
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* @generated from rpc data.v1.DataApiService.GetWalletsBalances
|
|
164
|
-
*/
|
|
165
|
-
readonly getWalletsBalances: {
|
|
166
|
-
readonly name: "GetWalletsBalances";
|
|
167
|
-
readonly I: typeof GetWalletsBalancesRequest;
|
|
168
|
-
readonly O: typeof GetWalletsBalancesResponse;
|
|
169
|
-
readonly kind: MethodKind.Unary;
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* @generated from rpc data.v1.DataApiService.SubmitDataReport
|
|
173
|
-
*/
|
|
174
|
-
readonly submitDataReport: {
|
|
175
|
-
readonly name: "SubmitDataReport";
|
|
176
|
-
readonly I: typeof SubmitDataReportRequest;
|
|
177
|
-
readonly O: typeof SubmitDataReportResponse;
|
|
178
|
-
readonly kind: MethodKind.Unary;
|
|
179
|
-
};
|
|
180
|
-
/**
|
|
181
|
-
* @generated from rpc data.v1.DataApiService.ListRwas
|
|
182
|
-
*/
|
|
183
|
-
readonly listRwas: {
|
|
184
|
-
readonly name: "ListRwas";
|
|
185
|
-
readonly I: typeof ListRwasRequest;
|
|
186
|
-
readonly O: typeof ListRwasResponse;
|
|
187
|
-
readonly kind: MethodKind.Unary;
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* @generated from rpc data.v1.DataApiService.ListRankedRwas
|
|
191
|
-
*/
|
|
192
|
-
readonly listRankedRwas: {
|
|
193
|
-
readonly name: "ListRankedRwas";
|
|
194
|
-
readonly I: typeof ListRankedRwasRequest;
|
|
195
|
-
readonly O: typeof ListRankedRwasResponse;
|
|
196
|
-
readonly kind: MethodKind.Unary;
|
|
197
|
-
};
|
|
198
|
-
/**
|
|
199
|
-
* @generated from rpc data.v1.DataApiService.ListRwaTokens
|
|
200
|
-
*/
|
|
201
|
-
readonly listRwaTokens: {
|
|
202
|
-
readonly name: "ListRwaTokens";
|
|
203
|
-
readonly I: typeof ListRwaTokensRequest;
|
|
204
|
-
readonly O: typeof ListRwaTokensResponse;
|
|
205
|
-
readonly kind: MethodKind.Unary;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
};
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
import { CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
6
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
/**
|
|
8
|
-
* @generated from service data.v1.DataApiService
|
|
9
|
-
*/
|
|
10
|
-
export const DataApiService = {
|
|
11
|
-
typeName: "data.v1.DataApiService",
|
|
12
|
-
methods: {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from rpc data.v1.DataApiService.GetToken
|
|
15
|
-
*/
|
|
16
|
-
getToken: {
|
|
17
|
-
name: "GetToken",
|
|
18
|
-
I: GetTokenRequest,
|
|
19
|
-
O: GetTokenResponse,
|
|
20
|
-
kind: MethodKind.Unary,
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* @generated from rpc data.v1.DataApiService.SubmitReport
|
|
24
|
-
*/
|
|
25
|
-
submitReport: {
|
|
26
|
-
name: "SubmitReport",
|
|
27
|
-
I: SubmitReportRequest,
|
|
28
|
-
O: SubmitReportResponse,
|
|
29
|
-
kind: MethodKind.Unary,
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* @generated from rpc data.v1.DataApiService.GetPortfolio
|
|
33
|
-
*/
|
|
34
|
-
getPortfolio: {
|
|
35
|
-
name: "GetPortfolio",
|
|
36
|
-
I: GetPortfolioRequest,
|
|
37
|
-
O: GetPortfolioResponse,
|
|
38
|
-
kind: MethodKind.Unary,
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
42
|
-
*/
|
|
43
|
-
listPortfolios: {
|
|
44
|
-
name: "ListPortfolios",
|
|
45
|
-
I: ListPortfoliosRequest,
|
|
46
|
-
O: ListPortfoliosResponse,
|
|
47
|
-
kind: MethodKind.Unary,
|
|
48
|
-
},
|
|
49
|
-
/**
|
|
50
|
-
* @generated from rpc data.v1.DataApiService.GetPortfolioChart
|
|
51
|
-
*/
|
|
52
|
-
getPortfolioChart: {
|
|
53
|
-
name: "GetPortfolioChart",
|
|
54
|
-
I: GetPortfolioChartRequest,
|
|
55
|
-
O: GetPortfolioChartResponse,
|
|
56
|
-
kind: MethodKind.Unary,
|
|
57
|
-
},
|
|
58
|
-
/**
|
|
59
|
-
* @generated from rpc data.v1.DataApiService.GetTransaction
|
|
60
|
-
*/
|
|
61
|
-
getTransaction: {
|
|
62
|
-
name: "GetTransaction",
|
|
63
|
-
I: GetTransactionRequest,
|
|
64
|
-
O: GetTransactionResponse,
|
|
65
|
-
kind: MethodKind.Unary,
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
69
|
-
*/
|
|
70
|
-
listTransactions: {
|
|
71
|
-
name: "ListTransactions",
|
|
72
|
-
I: ListTransactionsRequest,
|
|
73
|
-
O: ListTransactionsResponse,
|
|
74
|
-
kind: MethodKind.Unary,
|
|
75
|
-
},
|
|
76
|
-
/**
|
|
77
|
-
* @generated from rpc data.v1.DataApiService.CreateTokenFactoryPresignedUrl
|
|
78
|
-
*/
|
|
79
|
-
createTokenFactoryPresignedUrl: {
|
|
80
|
-
name: "CreateTokenFactoryPresignedUrl",
|
|
81
|
-
I: CreateTokenFactoryPresignedUrlRequest,
|
|
82
|
-
O: CreateTokenFactoryPresignedUrlResponse,
|
|
83
|
-
kind: MethodKind.Unary,
|
|
84
|
-
},
|
|
85
|
-
/**
|
|
86
|
-
* @generated from rpc data.v1.DataApiService.VerifyTokenFactoryImage
|
|
87
|
-
*/
|
|
88
|
-
verifyTokenFactoryImage: {
|
|
89
|
-
name: "VerifyTokenFactoryImage",
|
|
90
|
-
I: VerifyTokenFactoryImageRequest,
|
|
91
|
-
O: VerifyTokenFactoryImageResponse,
|
|
92
|
-
kind: MethodKind.Unary,
|
|
93
|
-
},
|
|
94
|
-
/**
|
|
95
|
-
* @generated from rpc data.v1.DataApiService.GetRewards
|
|
96
|
-
*/
|
|
97
|
-
getRewards: {
|
|
98
|
-
name: "GetRewards",
|
|
99
|
-
I: GetRewardsRequest,
|
|
100
|
-
O: GetRewardsResponse,
|
|
101
|
-
kind: MethodKind.Unary,
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* @generated from rpc data.v1.DataApiService.GetPositionRewards
|
|
105
|
-
*/
|
|
106
|
-
getPositionRewards: {
|
|
107
|
-
name: "GetPositionRewards",
|
|
108
|
-
I: GetPositionRewardsRequest,
|
|
109
|
-
O: GetPositionRewardsResponse,
|
|
110
|
-
kind: MethodKind.Unary,
|
|
111
|
-
},
|
|
112
|
-
/**
|
|
113
|
-
* @generated from rpc data.v1.DataApiService.GetPoolRewards
|
|
114
|
-
*/
|
|
115
|
-
getPoolRewards: {
|
|
116
|
-
name: "GetPoolRewards",
|
|
117
|
-
I: GetPoolRewardsRequest,
|
|
118
|
-
O: GetPoolRewardsResponse,
|
|
119
|
-
kind: MethodKind.Unary,
|
|
120
|
-
},
|
|
121
|
-
/**
|
|
122
|
-
* @generated from rpc data.v1.DataApiService.GetTokenPrices
|
|
123
|
-
*/
|
|
124
|
-
getTokenPrices: {
|
|
125
|
-
name: "GetTokenPrices",
|
|
126
|
-
I: GetTokenPricesRequest,
|
|
127
|
-
O: GetTokenPricesResponse,
|
|
128
|
-
kind: MethodKind.Unary,
|
|
129
|
-
},
|
|
130
|
-
/**
|
|
131
|
-
* @generated from rpc data.v1.DataApiService.GetWalletProfitLoss
|
|
132
|
-
*/
|
|
133
|
-
getWalletProfitLoss: {
|
|
134
|
-
name: "GetWalletProfitLoss",
|
|
135
|
-
I: GetWalletProfitLossRequest,
|
|
136
|
-
O: GetWalletProfitLossResponse,
|
|
137
|
-
kind: MethodKind.Unary,
|
|
138
|
-
},
|
|
139
|
-
/**
|
|
140
|
-
* @generated from rpc data.v1.DataApiService.GetWalletTokensProfitLoss
|
|
141
|
-
*/
|
|
142
|
-
getWalletTokensProfitLoss: {
|
|
143
|
-
name: "GetWalletTokensProfitLoss",
|
|
144
|
-
I: GetWalletTokensProfitLossRequest,
|
|
145
|
-
O: GetWalletTokensProfitLossResponse,
|
|
146
|
-
kind: MethodKind.Unary,
|
|
147
|
-
},
|
|
148
|
-
/**
|
|
149
|
-
* @generated from rpc data.v1.DataApiService.GetWalletTokenProfitLoss
|
|
150
|
-
*/
|
|
151
|
-
getWalletTokenProfitLoss: {
|
|
152
|
-
name: "GetWalletTokenProfitLoss",
|
|
153
|
-
I: GetWalletTokenProfitLossRequest,
|
|
154
|
-
O: GetWalletTokenProfitLossResponse,
|
|
155
|
-
kind: MethodKind.Unary,
|
|
156
|
-
},
|
|
157
|
-
/**
|
|
158
|
-
* @generated from rpc data.v1.DataApiService.GetWalletBalances
|
|
159
|
-
*/
|
|
160
|
-
getWalletBalances: {
|
|
161
|
-
name: "GetWalletBalances",
|
|
162
|
-
I: GetWalletBalancesRequest,
|
|
163
|
-
O: GetWalletBalancesResponse,
|
|
164
|
-
kind: MethodKind.Unary,
|
|
165
|
-
},
|
|
166
|
-
/**
|
|
167
|
-
* @generated from rpc data.v1.DataApiService.GetWalletsBalances
|
|
168
|
-
*/
|
|
169
|
-
getWalletsBalances: {
|
|
170
|
-
name: "GetWalletsBalances",
|
|
171
|
-
I: GetWalletsBalancesRequest,
|
|
172
|
-
O: GetWalletsBalancesResponse,
|
|
173
|
-
kind: MethodKind.Unary,
|
|
174
|
-
},
|
|
175
|
-
/**
|
|
176
|
-
* @generated from rpc data.v1.DataApiService.SubmitDataReport
|
|
177
|
-
*/
|
|
178
|
-
submitDataReport: {
|
|
179
|
-
name: "SubmitDataReport",
|
|
180
|
-
I: SubmitDataReportRequest,
|
|
181
|
-
O: SubmitDataReportResponse,
|
|
182
|
-
kind: MethodKind.Unary,
|
|
183
|
-
},
|
|
184
|
-
/**
|
|
185
|
-
* @generated from rpc data.v1.DataApiService.ListRwas
|
|
186
|
-
*/
|
|
187
|
-
listRwas: {
|
|
188
|
-
name: "ListRwas",
|
|
189
|
-
I: ListRwasRequest,
|
|
190
|
-
O: ListRwasResponse,
|
|
191
|
-
kind: MethodKind.Unary,
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
* @generated from rpc data.v1.DataApiService.ListRankedRwas
|
|
195
|
-
*/
|
|
196
|
-
listRankedRwas: {
|
|
197
|
-
name: "ListRankedRwas",
|
|
198
|
-
I: ListRankedRwasRequest,
|
|
199
|
-
O: ListRankedRwasResponse,
|
|
200
|
-
kind: MethodKind.Unary,
|
|
201
|
-
},
|
|
202
|
-
/**
|
|
203
|
-
* @generated from rpc data.v1.DataApiService.ListRwaTokens
|
|
204
|
-
*/
|
|
205
|
-
listRwaTokens: {
|
|
206
|
-
name: "ListRwaTokens",
|
|
207
|
-
I: ListRwaTokensRequest,
|
|
208
|
-
O: ListRwaTokensResponse,
|
|
209
|
-
kind: MethodKind.Unary,
|
|
210
|
-
},
|
|
211
|
-
}
|
|
212
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
|
|
2
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service data.v1.WorkerService
|
|
5
|
-
*/
|
|
6
|
-
export declare const WorkerService: {
|
|
7
|
-
readonly typeName: "data.v1.WorkerService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
11
|
-
*/
|
|
12
|
-
readonly refreshProtocolStats: {
|
|
13
|
-
readonly name: "RefreshProtocolStats";
|
|
14
|
-
readonly I: typeof RefreshProtocolStatsRequest;
|
|
15
|
-
readonly O: typeof RefreshProtocolStatsResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
|
|
20
|
-
*/
|
|
21
|
-
readonly ingestBlockaidMetadata: {
|
|
22
|
-
readonly name: "IngestBlockaidMetadata";
|
|
23
|
-
readonly I: typeof IngestBlockaidMetadataRequest;
|
|
24
|
-
readonly O: typeof IngestBlockaidMetadataResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @generated from rpc data.v1.WorkerService.RunLaunchpadOrphanCleanup
|
|
29
|
-
*/
|
|
30
|
-
readonly runLaunchpadOrphanCleanup: {
|
|
31
|
-
readonly name: "RunLaunchpadOrphanCleanup";
|
|
32
|
-
readonly I: typeof RunLaunchpadOrphanCleanupRequest;
|
|
33
|
-
readonly O: typeof RunLaunchpadOrphanCleanupResponse;
|
|
34
|
-
readonly kind: MethodKind.Unary;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @generated from rpc data.v1.WorkerService.RunQuickLaunchSweep
|
|
38
|
-
*/
|
|
39
|
-
readonly runQuickLaunchSweep: {
|
|
40
|
-
readonly name: "RunQuickLaunchSweep";
|
|
41
|
-
readonly I: typeof RunQuickLaunchSweepRequest;
|
|
42
|
-
readonly O: typeof RunQuickLaunchSweepResponse;
|
|
43
|
-
readonly kind: MethodKind.Unary;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|