@uniswap/client-data-api 0.0.101 → 0.0.103
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 +14 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v1/api_connect.d.ts +10 -1
- package/dist/data/v1/api_connect.js +10 -1
- package/dist/data/v1/api_pb.d.ts +57 -0
- package/dist/data/v1/api_pb.js +91 -0
- 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 +26 -0
- package/dist/data/v1/workerService_pb.js +48 -0
- package/dist/data/v2/api-DataApiService_connectquery.d.ts +14 -1
- package/dist/data/v2/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v2/api_connect.d.ts +10 -1
- package/dist/data/v2/api_connect.js +10 -1
- package/dist/data/v2/api_pb.d.ts +139 -0
- package/dist/data/v2/api_pb.js +165 -1
- 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, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, 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, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -130,6 +130,19 @@ export declare const createTokenFactoryPresignedUrl: {
|
|
|
130
130
|
readonly typeName: "data.v1.DataApiService";
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
+
/**
|
|
134
|
+
* @generated from rpc data.v1.DataApiService.VerifyTokenFactoryImage
|
|
135
|
+
*/
|
|
136
|
+
export declare const verifyTokenFactoryImage: {
|
|
137
|
+
readonly localName: "verifyTokenFactoryImage";
|
|
138
|
+
readonly name: "VerifyTokenFactoryImage";
|
|
139
|
+
readonly kind: MethodKind.Unary;
|
|
140
|
+
readonly I: typeof VerifyTokenFactoryImageRequest;
|
|
141
|
+
readonly O: typeof VerifyTokenFactoryImageResponse;
|
|
142
|
+
readonly service: {
|
|
143
|
+
readonly typeName: "data.v1.DataApiService";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
133
146
|
/**
|
|
134
147
|
* @generated from rpc data.v1.DataApiService.GetPair
|
|
135
148
|
*/
|
|
@@ -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, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, 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, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -134,6 +134,19 @@ export const createTokenFactoryPresignedUrl = {
|
|
|
134
134
|
typeName: "data.v1.DataApiService"
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* @generated from rpc data.v1.DataApiService.VerifyTokenFactoryImage
|
|
139
|
+
*/
|
|
140
|
+
export const verifyTokenFactoryImage = {
|
|
141
|
+
localName: "verifyTokenFactoryImage",
|
|
142
|
+
name: "VerifyTokenFactoryImage",
|
|
143
|
+
kind: MethodKind.Unary,
|
|
144
|
+
I: VerifyTokenFactoryImageRequest,
|
|
145
|
+
O: VerifyTokenFactoryImageResponse,
|
|
146
|
+
service: {
|
|
147
|
+
typeName: "data.v1.DataApiService"
|
|
148
|
+
}
|
|
149
|
+
};
|
|
137
150
|
/**
|
|
138
151
|
* @generated from rpc data.v1.DataApiService.GetPair
|
|
139
152
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
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, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, 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, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -96,6 +96,15 @@ 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.VerifyTokenFactoryImage
|
|
101
|
+
*/
|
|
102
|
+
readonly verifyTokenFactoryImage: {
|
|
103
|
+
readonly name: "VerifyTokenFactoryImage";
|
|
104
|
+
readonly I: typeof VerifyTokenFactoryImageRequest;
|
|
105
|
+
readonly O: typeof VerifyTokenFactoryImageResponse;
|
|
106
|
+
readonly kind: MethodKind.Unary;
|
|
107
|
+
};
|
|
99
108
|
/**
|
|
100
109
|
* @generated from rpc data.v1.DataApiService.GetPair
|
|
101
110
|
*/
|
|
@@ -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, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, 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, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -100,6 +100,15 @@ export const DataApiService = {
|
|
|
100
100
|
O: CreateTokenFactoryPresignedUrlResponse,
|
|
101
101
|
kind: MethodKind.Unary,
|
|
102
102
|
},
|
|
103
|
+
/**
|
|
104
|
+
* @generated from rpc data.v1.DataApiService.VerifyTokenFactoryImage
|
|
105
|
+
*/
|
|
106
|
+
verifyTokenFactoryImage: {
|
|
107
|
+
name: "VerifyTokenFactoryImage",
|
|
108
|
+
I: VerifyTokenFactoryImageRequest,
|
|
109
|
+
O: VerifyTokenFactoryImageResponse,
|
|
110
|
+
kind: MethodKind.Unary,
|
|
111
|
+
},
|
|
103
112
|
/**
|
|
104
113
|
* @generated from rpc data.v1.DataApiService.GetPair
|
|
105
114
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -780,6 +780,63 @@ export declare class CreateTokenFactoryPresignedUrlResponse extends Message<Crea
|
|
|
780
780
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
|
|
781
781
|
static equals(a: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined, b: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined): boolean;
|
|
782
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
* @generated from message data.v1.VerifyTokenFactoryImageRequest
|
|
785
|
+
*/
|
|
786
|
+
export declare class VerifyTokenFactoryImageRequest extends Message<VerifyTokenFactoryImageRequest> {
|
|
787
|
+
/**
|
|
788
|
+
* @generated from field: string cid = 1;
|
|
789
|
+
*/
|
|
790
|
+
cid: string;
|
|
791
|
+
constructor(data?: PartialMessage<VerifyTokenFactoryImageRequest>);
|
|
792
|
+
static readonly runtime: typeof proto3;
|
|
793
|
+
static readonly typeName = "data.v1.VerifyTokenFactoryImageRequest";
|
|
794
|
+
static readonly fields: FieldList;
|
|
795
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyTokenFactoryImageRequest;
|
|
796
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyTokenFactoryImageRequest;
|
|
797
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyTokenFactoryImageRequest;
|
|
798
|
+
static equals(a: VerifyTokenFactoryImageRequest | PlainMessage<VerifyTokenFactoryImageRequest> | undefined, b: VerifyTokenFactoryImageRequest | PlainMessage<VerifyTokenFactoryImageRequest> | undefined): boolean;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* @generated from message data.v1.VerifyTokenFactoryImageResponse
|
|
802
|
+
*/
|
|
803
|
+
export declare class VerifyTokenFactoryImageResponse extends Message<VerifyTokenFactoryImageResponse> {
|
|
804
|
+
/**
|
|
805
|
+
* @generated from field: data.v1.VerifyTokenFactoryImageResponse.Status status = 1;
|
|
806
|
+
*/
|
|
807
|
+
status: VerifyTokenFactoryImageResponse_Status;
|
|
808
|
+
/**
|
|
809
|
+
* empty when APPROVED; enum-style slug otherwise
|
|
810
|
+
*
|
|
811
|
+
* @generated from field: string blocked_reason = 2;
|
|
812
|
+
*/
|
|
813
|
+
blockedReason: string;
|
|
814
|
+
constructor(data?: PartialMessage<VerifyTokenFactoryImageResponse>);
|
|
815
|
+
static readonly runtime: typeof proto3;
|
|
816
|
+
static readonly typeName = "data.v1.VerifyTokenFactoryImageResponse";
|
|
817
|
+
static readonly fields: FieldList;
|
|
818
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyTokenFactoryImageResponse;
|
|
819
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyTokenFactoryImageResponse;
|
|
820
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyTokenFactoryImageResponse;
|
|
821
|
+
static equals(a: VerifyTokenFactoryImageResponse | PlainMessage<VerifyTokenFactoryImageResponse> | undefined, b: VerifyTokenFactoryImageResponse | PlainMessage<VerifyTokenFactoryImageResponse> | undefined): boolean;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* @generated from enum data.v1.VerifyTokenFactoryImageResponse.Status
|
|
825
|
+
*/
|
|
826
|
+
export declare enum VerifyTokenFactoryImageResponse_Status {
|
|
827
|
+
/**
|
|
828
|
+
* @generated from enum value: STATUS_UNSPECIFIED = 0;
|
|
829
|
+
*/
|
|
830
|
+
UNSPECIFIED = 0,
|
|
831
|
+
/**
|
|
832
|
+
* @generated from enum value: STATUS_APPROVED = 1;
|
|
833
|
+
*/
|
|
834
|
+
APPROVED = 1,
|
|
835
|
+
/**
|
|
836
|
+
* @generated from enum value: STATUS_BLOCKED = 2;
|
|
837
|
+
*/
|
|
838
|
+
BLOCKED = 2
|
|
839
|
+
}
|
|
783
840
|
/**
|
|
784
841
|
* @generated from message data.v1.GetPairRequest
|
|
785
842
|
*/
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -1097,6 +1097,97 @@ CreateTokenFactoryPresignedUrlResponse.typeName = "data.v1.CreateTokenFactoryPre
|
|
|
1097
1097
|
CreateTokenFactoryPresignedUrlResponse.fields = proto3.util.newFieldList(() => [
|
|
1098
1098
|
{ no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1099
1099
|
]);
|
|
1100
|
+
/**
|
|
1101
|
+
* @generated from message data.v1.VerifyTokenFactoryImageRequest
|
|
1102
|
+
*/
|
|
1103
|
+
export class VerifyTokenFactoryImageRequest extends Message {
|
|
1104
|
+
constructor(data) {
|
|
1105
|
+
super();
|
|
1106
|
+
/**
|
|
1107
|
+
* @generated from field: string cid = 1;
|
|
1108
|
+
*/
|
|
1109
|
+
this.cid = "";
|
|
1110
|
+
proto3.util.initPartial(data, this);
|
|
1111
|
+
}
|
|
1112
|
+
static fromBinary(bytes, options) {
|
|
1113
|
+
return new VerifyTokenFactoryImageRequest().fromBinary(bytes, options);
|
|
1114
|
+
}
|
|
1115
|
+
static fromJson(jsonValue, options) {
|
|
1116
|
+
return new VerifyTokenFactoryImageRequest().fromJson(jsonValue, options);
|
|
1117
|
+
}
|
|
1118
|
+
static fromJsonString(jsonString, options) {
|
|
1119
|
+
return new VerifyTokenFactoryImageRequest().fromJsonString(jsonString, options);
|
|
1120
|
+
}
|
|
1121
|
+
static equals(a, b) {
|
|
1122
|
+
return proto3.util.equals(VerifyTokenFactoryImageRequest, a, b);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
VerifyTokenFactoryImageRequest.runtime = proto3;
|
|
1126
|
+
VerifyTokenFactoryImageRequest.typeName = "data.v1.VerifyTokenFactoryImageRequest";
|
|
1127
|
+
VerifyTokenFactoryImageRequest.fields = proto3.util.newFieldList(() => [
|
|
1128
|
+
{ no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1129
|
+
]);
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from message data.v1.VerifyTokenFactoryImageResponse
|
|
1132
|
+
*/
|
|
1133
|
+
export class VerifyTokenFactoryImageResponse extends Message {
|
|
1134
|
+
constructor(data) {
|
|
1135
|
+
super();
|
|
1136
|
+
/**
|
|
1137
|
+
* @generated from field: data.v1.VerifyTokenFactoryImageResponse.Status status = 1;
|
|
1138
|
+
*/
|
|
1139
|
+
this.status = VerifyTokenFactoryImageResponse_Status.UNSPECIFIED;
|
|
1140
|
+
/**
|
|
1141
|
+
* empty when APPROVED; enum-style slug otherwise
|
|
1142
|
+
*
|
|
1143
|
+
* @generated from field: string blocked_reason = 2;
|
|
1144
|
+
*/
|
|
1145
|
+
this.blockedReason = "";
|
|
1146
|
+
proto3.util.initPartial(data, this);
|
|
1147
|
+
}
|
|
1148
|
+
static fromBinary(bytes, options) {
|
|
1149
|
+
return new VerifyTokenFactoryImageResponse().fromBinary(bytes, options);
|
|
1150
|
+
}
|
|
1151
|
+
static fromJson(jsonValue, options) {
|
|
1152
|
+
return new VerifyTokenFactoryImageResponse().fromJson(jsonValue, options);
|
|
1153
|
+
}
|
|
1154
|
+
static fromJsonString(jsonString, options) {
|
|
1155
|
+
return new VerifyTokenFactoryImageResponse().fromJsonString(jsonString, options);
|
|
1156
|
+
}
|
|
1157
|
+
static equals(a, b) {
|
|
1158
|
+
return proto3.util.equals(VerifyTokenFactoryImageResponse, a, b);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
VerifyTokenFactoryImageResponse.runtime = proto3;
|
|
1162
|
+
VerifyTokenFactoryImageResponse.typeName = "data.v1.VerifyTokenFactoryImageResponse";
|
|
1163
|
+
VerifyTokenFactoryImageResponse.fields = proto3.util.newFieldList(() => [
|
|
1164
|
+
{ no: 1, name: "status", kind: "enum", T: proto3.getEnumType(VerifyTokenFactoryImageResponse_Status) },
|
|
1165
|
+
{ no: 2, name: "blocked_reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1166
|
+
]);
|
|
1167
|
+
/**
|
|
1168
|
+
* @generated from enum data.v1.VerifyTokenFactoryImageResponse.Status
|
|
1169
|
+
*/
|
|
1170
|
+
export var VerifyTokenFactoryImageResponse_Status;
|
|
1171
|
+
(function (VerifyTokenFactoryImageResponse_Status) {
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from enum value: STATUS_UNSPECIFIED = 0;
|
|
1174
|
+
*/
|
|
1175
|
+
VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from enum value: STATUS_APPROVED = 1;
|
|
1178
|
+
*/
|
|
1179
|
+
VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["APPROVED"] = 1] = "APPROVED";
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from enum value: STATUS_BLOCKED = 2;
|
|
1182
|
+
*/
|
|
1183
|
+
VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["BLOCKED"] = 2] = "BLOCKED";
|
|
1184
|
+
})(VerifyTokenFactoryImageResponse_Status || (VerifyTokenFactoryImageResponse_Status = {}));
|
|
1185
|
+
// Retrieve enum metadata with: proto3.getEnumType(VerifyTokenFactoryImageResponse_Status)
|
|
1186
|
+
proto3.util.setEnumType(VerifyTokenFactoryImageResponse_Status, "data.v1.VerifyTokenFactoryImageResponse.Status", [
|
|
1187
|
+
{ no: 0, name: "STATUS_UNSPECIFIED" },
|
|
1188
|
+
{ no: 1, name: "STATUS_APPROVED" },
|
|
1189
|
+
{ no: 2, name: "STATUS_BLOCKED" },
|
|
1190
|
+
]);
|
|
1100
1191
|
/**
|
|
1101
1192
|
* @generated from message data.v1.GetPairRequest
|
|
1102
1193
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
2
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse } from "./workerService_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
5
5
|
*/
|
|
@@ -39,3 +39,16 @@ export declare const ingestBlockaidMetadata: {
|
|
|
39
39
|
readonly typeName: "data.v1.WorkerService";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc data.v1.WorkerService.RunLaunchpadOrphanCleanup
|
|
44
|
+
*/
|
|
45
|
+
export declare const runLaunchpadOrphanCleanup: {
|
|
46
|
+
readonly localName: "runLaunchpadOrphanCleanup";
|
|
47
|
+
readonly name: "RunLaunchpadOrphanCleanup";
|
|
48
|
+
readonly kind: MethodKind.Unary;
|
|
49
|
+
readonly I: typeof RunLaunchpadOrphanCleanupRequest;
|
|
50
|
+
readonly O: typeof RunLaunchpadOrphanCleanupResponse;
|
|
51
|
+
readonly service: {
|
|
52
|
+
readonly typeName: "data.v1.WorkerService";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
6
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse } from "./workerService_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
9
9
|
*/
|
|
@@ -43,3 +43,16 @@ export const ingestBlockaidMetadata = {
|
|
|
43
43
|
typeName: "data.v1.WorkerService"
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @generated from rpc data.v1.WorkerService.RunLaunchpadOrphanCleanup
|
|
48
|
+
*/
|
|
49
|
+
export const runLaunchpadOrphanCleanup = {
|
|
50
|
+
localName: "runLaunchpadOrphanCleanup",
|
|
51
|
+
name: "RunLaunchpadOrphanCleanup",
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
I: RunLaunchpadOrphanCleanupRequest,
|
|
54
|
+
O: RunLaunchpadOrphanCleanupResponse,
|
|
55
|
+
service: {
|
|
56
|
+
typeName: "data.v1.WorkerService"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
1
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse } from "./workerService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.WorkerService
|
|
@@ -33,5 +33,14 @@ export declare const WorkerService: {
|
|
|
33
33
|
readonly O: typeof IngestBlockaidMetadataResponse;
|
|
34
34
|
readonly kind: MethodKind.Unary;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc data.v1.WorkerService.RunLaunchpadOrphanCleanup
|
|
38
|
+
*/
|
|
39
|
+
readonly runLaunchpadOrphanCleanup: {
|
|
40
|
+
readonly name: "RunLaunchpadOrphanCleanup";
|
|
41
|
+
readonly I: typeof RunLaunchpadOrphanCleanupRequest;
|
|
42
|
+
readonly O: typeof RunLaunchpadOrphanCleanupResponse;
|
|
43
|
+
readonly kind: MethodKind.Unary;
|
|
44
|
+
};
|
|
36
45
|
};
|
|
37
46
|
};
|
|
@@ -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, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
5
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse } from "./workerService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.WorkerService
|
|
@@ -37,5 +37,14 @@ export const WorkerService = {
|
|
|
37
37
|
O: IngestBlockaidMetadataResponse,
|
|
38
38
|
kind: MethodKind.Unary,
|
|
39
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* @generated from rpc data.v1.WorkerService.RunLaunchpadOrphanCleanup
|
|
42
|
+
*/
|
|
43
|
+
runLaunchpadOrphanCleanup: {
|
|
44
|
+
name: "RunLaunchpadOrphanCleanup",
|
|
45
|
+
I: RunLaunchpadOrphanCleanupRequest,
|
|
46
|
+
O: RunLaunchpadOrphanCleanupResponse,
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
},
|
|
40
49
|
}
|
|
41
50
|
};
|
|
@@ -127,3 +127,29 @@ export declare class IngestBlockaidMetadataResponse extends Message<IngestBlocka
|
|
|
127
127
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestBlockaidMetadataResponse;
|
|
128
128
|
static equals(a: IngestBlockaidMetadataResponse | PlainMessage<IngestBlockaidMetadataResponse> | undefined, b: IngestBlockaidMetadataResponse | PlainMessage<IngestBlockaidMetadataResponse> | undefined): boolean;
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @generated from message data.v1.RunLaunchpadOrphanCleanupRequest
|
|
132
|
+
*/
|
|
133
|
+
export declare class RunLaunchpadOrphanCleanupRequest extends Message<RunLaunchpadOrphanCleanupRequest> {
|
|
134
|
+
constructor(data?: PartialMessage<RunLaunchpadOrphanCleanupRequest>);
|
|
135
|
+
static readonly runtime: typeof proto3;
|
|
136
|
+
static readonly typeName = "data.v1.RunLaunchpadOrphanCleanupRequest";
|
|
137
|
+
static readonly fields: FieldList;
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunLaunchpadOrphanCleanupRequest;
|
|
139
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunLaunchpadOrphanCleanupRequest;
|
|
140
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunLaunchpadOrphanCleanupRequest;
|
|
141
|
+
static equals(a: RunLaunchpadOrphanCleanupRequest | PlainMessage<RunLaunchpadOrphanCleanupRequest> | undefined, b: RunLaunchpadOrphanCleanupRequest | PlainMessage<RunLaunchpadOrphanCleanupRequest> | undefined): boolean;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @generated from message data.v1.RunLaunchpadOrphanCleanupResponse
|
|
145
|
+
*/
|
|
146
|
+
export declare class RunLaunchpadOrphanCleanupResponse extends Message<RunLaunchpadOrphanCleanupResponse> {
|
|
147
|
+
constructor(data?: PartialMessage<RunLaunchpadOrphanCleanupResponse>);
|
|
148
|
+
static readonly runtime: typeof proto3;
|
|
149
|
+
static readonly typeName = "data.v1.RunLaunchpadOrphanCleanupResponse";
|
|
150
|
+
static readonly fields: FieldList;
|
|
151
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunLaunchpadOrphanCleanupResponse;
|
|
152
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunLaunchpadOrphanCleanupResponse;
|
|
153
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunLaunchpadOrphanCleanupResponse;
|
|
154
|
+
static equals(a: RunLaunchpadOrphanCleanupResponse | PlainMessage<RunLaunchpadOrphanCleanupResponse> | undefined, b: RunLaunchpadOrphanCleanupResponse | PlainMessage<RunLaunchpadOrphanCleanupResponse> | undefined): boolean;
|
|
155
|
+
}
|
|
@@ -218,3 +218,51 @@ export class IngestBlockaidMetadataResponse extends Message {
|
|
|
218
218
|
IngestBlockaidMetadataResponse.runtime = proto3;
|
|
219
219
|
IngestBlockaidMetadataResponse.typeName = "data.v1.IngestBlockaidMetadataResponse";
|
|
220
220
|
IngestBlockaidMetadataResponse.fields = proto3.util.newFieldList(() => []);
|
|
221
|
+
/**
|
|
222
|
+
* @generated from message data.v1.RunLaunchpadOrphanCleanupRequest
|
|
223
|
+
*/
|
|
224
|
+
export class RunLaunchpadOrphanCleanupRequest extends Message {
|
|
225
|
+
constructor(data) {
|
|
226
|
+
super();
|
|
227
|
+
proto3.util.initPartial(data, this);
|
|
228
|
+
}
|
|
229
|
+
static fromBinary(bytes, options) {
|
|
230
|
+
return new RunLaunchpadOrphanCleanupRequest().fromBinary(bytes, options);
|
|
231
|
+
}
|
|
232
|
+
static fromJson(jsonValue, options) {
|
|
233
|
+
return new RunLaunchpadOrphanCleanupRequest().fromJson(jsonValue, options);
|
|
234
|
+
}
|
|
235
|
+
static fromJsonString(jsonString, options) {
|
|
236
|
+
return new RunLaunchpadOrphanCleanupRequest().fromJsonString(jsonString, options);
|
|
237
|
+
}
|
|
238
|
+
static equals(a, b) {
|
|
239
|
+
return proto3.util.equals(RunLaunchpadOrphanCleanupRequest, a, b);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
RunLaunchpadOrphanCleanupRequest.runtime = proto3;
|
|
243
|
+
RunLaunchpadOrphanCleanupRequest.typeName = "data.v1.RunLaunchpadOrphanCleanupRequest";
|
|
244
|
+
RunLaunchpadOrphanCleanupRequest.fields = proto3.util.newFieldList(() => []);
|
|
245
|
+
/**
|
|
246
|
+
* @generated from message data.v1.RunLaunchpadOrphanCleanupResponse
|
|
247
|
+
*/
|
|
248
|
+
export class RunLaunchpadOrphanCleanupResponse extends Message {
|
|
249
|
+
constructor(data) {
|
|
250
|
+
super();
|
|
251
|
+
proto3.util.initPartial(data, this);
|
|
252
|
+
}
|
|
253
|
+
static fromBinary(bytes, options) {
|
|
254
|
+
return new RunLaunchpadOrphanCleanupResponse().fromBinary(bytes, options);
|
|
255
|
+
}
|
|
256
|
+
static fromJson(jsonValue, options) {
|
|
257
|
+
return new RunLaunchpadOrphanCleanupResponse().fromJson(jsonValue, options);
|
|
258
|
+
}
|
|
259
|
+
static fromJsonString(jsonString, options) {
|
|
260
|
+
return new RunLaunchpadOrphanCleanupResponse().fromJsonString(jsonString, options);
|
|
261
|
+
}
|
|
262
|
+
static equals(a, b) {
|
|
263
|
+
return proto3.util.equals(RunLaunchpadOrphanCleanupResponse, a, b);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
RunLaunchpadOrphanCleanupResponse.runtime = proto3;
|
|
267
|
+
RunLaunchpadOrphanCleanupResponse.typeName = "data.v1.RunLaunchpadOrphanCleanupResponse";
|
|
268
|
+
RunLaunchpadOrphanCleanupResponse.fields = proto3.util.newFieldList(() => []);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
2
|
+
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
5
5
|
*/
|
|
@@ -78,6 +78,19 @@ export declare const getTokenMarketsMultiChain: {
|
|
|
78
78
|
readonly typeName: "data.v2.DataApiService";
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
|
|
83
|
+
*/
|
|
84
|
+
export declare const getTokenHistoryOHLC: {
|
|
85
|
+
readonly localName: "getTokenHistoryOHLC";
|
|
86
|
+
readonly name: "GetTokenHistoryOHLC";
|
|
87
|
+
readonly kind: MethodKind.Unary;
|
|
88
|
+
readonly I: typeof GetTokenHistoryOHLCRequest;
|
|
89
|
+
readonly O: typeof GetTokenHistoryOHLCResponse;
|
|
90
|
+
readonly service: {
|
|
91
|
+
readonly typeName: "data.v2.DataApiService";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
81
94
|
/**
|
|
82
95
|
* @generated from rpc data.v2.DataApiService.ListEarnVaults
|
|
83
96
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
6
|
+
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
9
9
|
*/
|
|
@@ -82,6 +82,19 @@ export const getTokenMarketsMultiChain = {
|
|
|
82
82
|
typeName: "data.v2.DataApiService"
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
|
|
87
|
+
*/
|
|
88
|
+
export const getTokenHistoryOHLC = {
|
|
89
|
+
localName: "getTokenHistoryOHLC",
|
|
90
|
+
name: "GetTokenHistoryOHLC",
|
|
91
|
+
kind: MethodKind.Unary,
|
|
92
|
+
I: GetTokenHistoryOHLCRequest,
|
|
93
|
+
O: GetTokenHistoryOHLCResponse,
|
|
94
|
+
service: {
|
|
95
|
+
typeName: "data.v2.DataApiService"
|
|
96
|
+
}
|
|
97
|
+
};
|
|
85
98
|
/**
|
|
86
99
|
* @generated from rpc data.v2.DataApiService.ListEarnVaults
|
|
87
100
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
1
|
+
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v2.DataApiService
|
|
@@ -60,6 +60,15 @@ export declare const DataApiService: {
|
|
|
60
60
|
readonly O: typeof GetTokenMarketsMultiChainResponse;
|
|
61
61
|
readonly kind: MethodKind.Unary;
|
|
62
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
|
|
65
|
+
*/
|
|
66
|
+
readonly getTokenHistoryOHLC: {
|
|
67
|
+
readonly name: "GetTokenHistoryOHLC";
|
|
68
|
+
readonly I: typeof GetTokenHistoryOHLCRequest;
|
|
69
|
+
readonly O: typeof GetTokenHistoryOHLCResponse;
|
|
70
|
+
readonly kind: MethodKind.Unary;
|
|
71
|
+
};
|
|
63
72
|
/**
|
|
64
73
|
* @generated from rpc data.v2.DataApiService.ListEarnVaults
|
|
65
74
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v2/api.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
5
|
+
import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v2.DataApiService
|
|
@@ -64,6 +64,15 @@ export const DataApiService = {
|
|
|
64
64
|
O: GetTokenMarketsMultiChainResponse,
|
|
65
65
|
kind: MethodKind.Unary,
|
|
66
66
|
},
|
|
67
|
+
/**
|
|
68
|
+
* @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
|
|
69
|
+
*/
|
|
70
|
+
getTokenHistoryOHLC: {
|
|
71
|
+
name: "GetTokenHistoryOHLC",
|
|
72
|
+
I: GetTokenHistoryOHLCRequest,
|
|
73
|
+
O: GetTokenHistoryOHLCResponse,
|
|
74
|
+
kind: MethodKind.Unary,
|
|
75
|
+
},
|
|
67
76
|
/**
|
|
68
77
|
* @generated from rpc data.v2.DataApiService.ListEarnVaults
|
|
69
78
|
*/
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -104,6 +104,145 @@ export declare class GetTokenMarketsMultiChainResponse extends Message<GetTokenM
|
|
|
104
104
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenMarketsMultiChainResponse;
|
|
105
105
|
static equals(a: GetTokenMarketsMultiChainResponse | PlainMessage<GetTokenMarketsMultiChainResponse> | undefined, b: GetTokenMarketsMultiChainResponse | PlainMessage<GetTokenMarketsMultiChainResponse> | undefined): boolean;
|
|
106
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* OHLC candle history powering a token's price chart — for a single chain, or
|
|
109
|
+
* the canonical cross-chain view of a bridged asset.
|
|
110
|
+
*
|
|
111
|
+
* @generated from message data.v2.GetTokenHistoryOHLCRequest
|
|
112
|
+
*/
|
|
113
|
+
export declare class GetTokenHistoryOHLCRequest extends Message<GetTokenHistoryOHLCRequest> {
|
|
114
|
+
/**
|
|
115
|
+
* @generated from oneof data.v2.GetTokenHistoryOHLCRequest.target
|
|
116
|
+
*/
|
|
117
|
+
target: {
|
|
118
|
+
/**
|
|
119
|
+
* exactly this chain's candles
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: data.v2.TokenIdentifier single_chain = 1;
|
|
122
|
+
*/
|
|
123
|
+
value: TokenIdentifier;
|
|
124
|
+
case: "singleChain";
|
|
125
|
+
} | {
|
|
126
|
+
/**
|
|
127
|
+
* canonical chain's candles (mainnet -> else lowest chainId)
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: data.v2.MultichainTarget multichain = 2;
|
|
130
|
+
*/
|
|
131
|
+
value: MultichainTarget;
|
|
132
|
+
case: "multichain";
|
|
133
|
+
} | {
|
|
134
|
+
case: undefined;
|
|
135
|
+
value?: undefined;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Chart time range. UNSPECIFIED defaults to DAY; candle width is derived
|
|
139
|
+
* server-side from the duration.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: data.v2.HistoryDuration duration = 3;
|
|
142
|
+
*/
|
|
143
|
+
duration: HistoryDuration;
|
|
144
|
+
constructor(data?: PartialMessage<GetTokenHistoryOHLCRequest>);
|
|
145
|
+
static readonly runtime: typeof proto3;
|
|
146
|
+
static readonly typeName = "data.v2.GetTokenHistoryOHLCRequest";
|
|
147
|
+
static readonly fields: FieldList;
|
|
148
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenHistoryOHLCRequest;
|
|
149
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCRequest;
|
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCRequest;
|
|
151
|
+
static equals(a: GetTokenHistoryOHLCRequest | PlainMessage<GetTokenHistoryOHLCRequest> | undefined, b: GetTokenHistoryOHLCRequest | PlainMessage<GetTokenHistoryOHLCRequest> | undefined): boolean;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* A logical cross-chain asset, by a member token or its multichain id.
|
|
155
|
+
* Reusable across the v2 chart endpoints.
|
|
156
|
+
*
|
|
157
|
+
* @generated from message data.v2.MultichainTarget
|
|
158
|
+
*/
|
|
159
|
+
export declare class MultichainTarget extends Message<MultichainTarget> {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from oneof data.v2.MultichainTarget.identifier
|
|
162
|
+
*/
|
|
163
|
+
identifier: {
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: data.v2.TokenIdentifier token = 1;
|
|
166
|
+
*/
|
|
167
|
+
value: TokenIdentifier;
|
|
168
|
+
case: "token";
|
|
169
|
+
} | {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string multichain_id = 2;
|
|
172
|
+
*/
|
|
173
|
+
value: string;
|
|
174
|
+
case: "multichainId";
|
|
175
|
+
} | {
|
|
176
|
+
case: undefined;
|
|
177
|
+
value?: undefined;
|
|
178
|
+
};
|
|
179
|
+
constructor(data?: PartialMessage<MultichainTarget>);
|
|
180
|
+
static readonly runtime: typeof proto3;
|
|
181
|
+
static readonly typeName = "data.v2.MultichainTarget";
|
|
182
|
+
static readonly fields: FieldList;
|
|
183
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultichainTarget;
|
|
184
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainTarget;
|
|
185
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainTarget;
|
|
186
|
+
static equals(a: MultichainTarget | PlainMessage<MultichainTarget> | undefined, b: MultichainTarget | PlainMessage<MultichainTarget> | undefined): boolean;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @generated from message data.v2.GetTokenHistoryOHLCResponse
|
|
190
|
+
*/
|
|
191
|
+
export declare class GetTokenHistoryOHLCResponse extends Message<GetTokenHistoryOHLCResponse> {
|
|
192
|
+
/**
|
|
193
|
+
* Candles in ascending time order. Buckets before the token's first known
|
|
194
|
+
* price are omitted; later gaps are forward-filled (a flat candle at the
|
|
195
|
+
* previous close).
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: repeated data.v2.OhlcCandle candles = 1;
|
|
198
|
+
*/
|
|
199
|
+
candles: OhlcCandle[];
|
|
200
|
+
constructor(data?: PartialMessage<GetTokenHistoryOHLCResponse>);
|
|
201
|
+
static readonly runtime: typeof proto3;
|
|
202
|
+
static readonly typeName = "data.v2.GetTokenHistoryOHLCResponse";
|
|
203
|
+
static readonly fields: FieldList;
|
|
204
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenHistoryOHLCResponse;
|
|
205
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCResponse;
|
|
206
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCResponse;
|
|
207
|
+
static equals(a: GetTokenHistoryOHLCResponse | PlainMessage<GetTokenHistoryOHLCResponse> | undefined, b: GetTokenHistoryOHLCResponse | PlainMessage<GetTokenHistoryOHLCResponse> | undefined): boolean;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* One USD-denominated OHLC candle, labeled by its bucket-start time.
|
|
211
|
+
*
|
|
212
|
+
* @generated from message data.v2.OhlcCandle
|
|
213
|
+
*/
|
|
214
|
+
export declare class OhlcCandle extends Message<OhlcCandle> {
|
|
215
|
+
/**
|
|
216
|
+
* unix seconds, bucket start (inclusive)
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: int64 timestamp = 1;
|
|
219
|
+
*/
|
|
220
|
+
timestamp: bigint;
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: double open_usd = 2;
|
|
223
|
+
*/
|
|
224
|
+
openUsd: number;
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: double high_usd = 3;
|
|
227
|
+
*/
|
|
228
|
+
highUsd: number;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: double low_usd = 4;
|
|
231
|
+
*/
|
|
232
|
+
lowUsd: number;
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: double close_usd = 5;
|
|
235
|
+
*/
|
|
236
|
+
closeUsd: number;
|
|
237
|
+
constructor(data?: PartialMessage<OhlcCandle>);
|
|
238
|
+
static readonly runtime: typeof proto3;
|
|
239
|
+
static readonly typeName = "data.v2.OhlcCandle";
|
|
240
|
+
static readonly fields: FieldList;
|
|
241
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OhlcCandle;
|
|
242
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OhlcCandle;
|
|
243
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OhlcCandle;
|
|
244
|
+
static equals(a: OhlcCandle | PlainMessage<OhlcCandle> | undefined, b: OhlcCandle | PlainMessage<OhlcCandle> | undefined): boolean;
|
|
245
|
+
}
|
|
107
246
|
/**
|
|
108
247
|
* @generated from message data.v2.GetTokenRequest
|
|
109
248
|
*/
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v2/api.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
6
|
import { HistoryDuration, MultichainToken, MultichainTokenMarket, RankedMultichainToken, Token, TokenListFilter, TokenMarket, TokensSort } from "./types_pb.js";
|
|
7
7
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
8
8
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
@@ -147,6 +147,170 @@ GetTokenMarketsMultiChainResponse.typeName = "data.v2.GetTokenMarketsMultiChainR
|
|
|
147
147
|
GetTokenMarketsMultiChainResponse.fields = proto3.util.newFieldList(() => [
|
|
148
148
|
{ no: 1, name: "markets", kind: "message", T: MultichainTokenMarket, repeated: true },
|
|
149
149
|
]);
|
|
150
|
+
/**
|
|
151
|
+
* OHLC candle history powering a token's price chart — for a single chain, or
|
|
152
|
+
* the canonical cross-chain view of a bridged asset.
|
|
153
|
+
*
|
|
154
|
+
* @generated from message data.v2.GetTokenHistoryOHLCRequest
|
|
155
|
+
*/
|
|
156
|
+
export class GetTokenHistoryOHLCRequest extends Message {
|
|
157
|
+
constructor(data) {
|
|
158
|
+
super();
|
|
159
|
+
/**
|
|
160
|
+
* @generated from oneof data.v2.GetTokenHistoryOHLCRequest.target
|
|
161
|
+
*/
|
|
162
|
+
this.target = { case: undefined };
|
|
163
|
+
/**
|
|
164
|
+
* Chart time range. UNSPECIFIED defaults to DAY; candle width is derived
|
|
165
|
+
* server-side from the duration.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: data.v2.HistoryDuration duration = 3;
|
|
168
|
+
*/
|
|
169
|
+
this.duration = HistoryDuration.UNSPECIFIED;
|
|
170
|
+
proto3.util.initPartial(data, this);
|
|
171
|
+
}
|
|
172
|
+
static fromBinary(bytes, options) {
|
|
173
|
+
return new GetTokenHistoryOHLCRequest().fromBinary(bytes, options);
|
|
174
|
+
}
|
|
175
|
+
static fromJson(jsonValue, options) {
|
|
176
|
+
return new GetTokenHistoryOHLCRequest().fromJson(jsonValue, options);
|
|
177
|
+
}
|
|
178
|
+
static fromJsonString(jsonString, options) {
|
|
179
|
+
return new GetTokenHistoryOHLCRequest().fromJsonString(jsonString, options);
|
|
180
|
+
}
|
|
181
|
+
static equals(a, b) {
|
|
182
|
+
return proto3.util.equals(GetTokenHistoryOHLCRequest, a, b);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
GetTokenHistoryOHLCRequest.runtime = proto3;
|
|
186
|
+
GetTokenHistoryOHLCRequest.typeName = "data.v2.GetTokenHistoryOHLCRequest";
|
|
187
|
+
GetTokenHistoryOHLCRequest.fields = proto3.util.newFieldList(() => [
|
|
188
|
+
{ no: 1, name: "single_chain", kind: "message", T: TokenIdentifier, oneof: "target" },
|
|
189
|
+
{ no: 2, name: "multichain", kind: "message", T: MultichainTarget, oneof: "target" },
|
|
190
|
+
{ no: 3, name: "duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
|
|
191
|
+
]);
|
|
192
|
+
/**
|
|
193
|
+
* A logical cross-chain asset, by a member token or its multichain id.
|
|
194
|
+
* Reusable across the v2 chart endpoints.
|
|
195
|
+
*
|
|
196
|
+
* @generated from message data.v2.MultichainTarget
|
|
197
|
+
*/
|
|
198
|
+
export class MultichainTarget extends Message {
|
|
199
|
+
constructor(data) {
|
|
200
|
+
super();
|
|
201
|
+
/**
|
|
202
|
+
* @generated from oneof data.v2.MultichainTarget.identifier
|
|
203
|
+
*/
|
|
204
|
+
this.identifier = { case: undefined };
|
|
205
|
+
proto3.util.initPartial(data, this);
|
|
206
|
+
}
|
|
207
|
+
static fromBinary(bytes, options) {
|
|
208
|
+
return new MultichainTarget().fromBinary(bytes, options);
|
|
209
|
+
}
|
|
210
|
+
static fromJson(jsonValue, options) {
|
|
211
|
+
return new MultichainTarget().fromJson(jsonValue, options);
|
|
212
|
+
}
|
|
213
|
+
static fromJsonString(jsonString, options) {
|
|
214
|
+
return new MultichainTarget().fromJsonString(jsonString, options);
|
|
215
|
+
}
|
|
216
|
+
static equals(a, b) {
|
|
217
|
+
return proto3.util.equals(MultichainTarget, a, b);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
MultichainTarget.runtime = proto3;
|
|
221
|
+
MultichainTarget.typeName = "data.v2.MultichainTarget";
|
|
222
|
+
MultichainTarget.fields = proto3.util.newFieldList(() => [
|
|
223
|
+
{ no: 1, name: "token", kind: "message", T: TokenIdentifier, oneof: "identifier" },
|
|
224
|
+
{ no: 2, name: "multichain_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identifier" },
|
|
225
|
+
]);
|
|
226
|
+
/**
|
|
227
|
+
* @generated from message data.v2.GetTokenHistoryOHLCResponse
|
|
228
|
+
*/
|
|
229
|
+
export class GetTokenHistoryOHLCResponse extends Message {
|
|
230
|
+
constructor(data) {
|
|
231
|
+
super();
|
|
232
|
+
/**
|
|
233
|
+
* Candles in ascending time order. Buckets before the token's first known
|
|
234
|
+
* price are omitted; later gaps are forward-filled (a flat candle at the
|
|
235
|
+
* previous close).
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: repeated data.v2.OhlcCandle candles = 1;
|
|
238
|
+
*/
|
|
239
|
+
this.candles = [];
|
|
240
|
+
proto3.util.initPartial(data, this);
|
|
241
|
+
}
|
|
242
|
+
static fromBinary(bytes, options) {
|
|
243
|
+
return new GetTokenHistoryOHLCResponse().fromBinary(bytes, options);
|
|
244
|
+
}
|
|
245
|
+
static fromJson(jsonValue, options) {
|
|
246
|
+
return new GetTokenHistoryOHLCResponse().fromJson(jsonValue, options);
|
|
247
|
+
}
|
|
248
|
+
static fromJsonString(jsonString, options) {
|
|
249
|
+
return new GetTokenHistoryOHLCResponse().fromJsonString(jsonString, options);
|
|
250
|
+
}
|
|
251
|
+
static equals(a, b) {
|
|
252
|
+
return proto3.util.equals(GetTokenHistoryOHLCResponse, a, b);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
GetTokenHistoryOHLCResponse.runtime = proto3;
|
|
256
|
+
GetTokenHistoryOHLCResponse.typeName = "data.v2.GetTokenHistoryOHLCResponse";
|
|
257
|
+
GetTokenHistoryOHLCResponse.fields = proto3.util.newFieldList(() => [
|
|
258
|
+
{ no: 1, name: "candles", kind: "message", T: OhlcCandle, repeated: true },
|
|
259
|
+
]);
|
|
260
|
+
/**
|
|
261
|
+
* One USD-denominated OHLC candle, labeled by its bucket-start time.
|
|
262
|
+
*
|
|
263
|
+
* @generated from message data.v2.OhlcCandle
|
|
264
|
+
*/
|
|
265
|
+
export class OhlcCandle extends Message {
|
|
266
|
+
constructor(data) {
|
|
267
|
+
super();
|
|
268
|
+
/**
|
|
269
|
+
* unix seconds, bucket start (inclusive)
|
|
270
|
+
*
|
|
271
|
+
* @generated from field: int64 timestamp = 1;
|
|
272
|
+
*/
|
|
273
|
+
this.timestamp = protoInt64.zero;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: double open_usd = 2;
|
|
276
|
+
*/
|
|
277
|
+
this.openUsd = 0;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: double high_usd = 3;
|
|
280
|
+
*/
|
|
281
|
+
this.highUsd = 0;
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: double low_usd = 4;
|
|
284
|
+
*/
|
|
285
|
+
this.lowUsd = 0;
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: double close_usd = 5;
|
|
288
|
+
*/
|
|
289
|
+
this.closeUsd = 0;
|
|
290
|
+
proto3.util.initPartial(data, this);
|
|
291
|
+
}
|
|
292
|
+
static fromBinary(bytes, options) {
|
|
293
|
+
return new OhlcCandle().fromBinary(bytes, options);
|
|
294
|
+
}
|
|
295
|
+
static fromJson(jsonValue, options) {
|
|
296
|
+
return new OhlcCandle().fromJson(jsonValue, options);
|
|
297
|
+
}
|
|
298
|
+
static fromJsonString(jsonString, options) {
|
|
299
|
+
return new OhlcCandle().fromJsonString(jsonString, options);
|
|
300
|
+
}
|
|
301
|
+
static equals(a, b) {
|
|
302
|
+
return proto3.util.equals(OhlcCandle, a, b);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
OhlcCandle.runtime = proto3;
|
|
306
|
+
OhlcCandle.typeName = "data.v2.OhlcCandle";
|
|
307
|
+
OhlcCandle.fields = proto3.util.newFieldList(() => [
|
|
308
|
+
{ no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
309
|
+
{ no: 2, name: "open_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
310
|
+
{ no: 3, name: "high_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
311
|
+
{ no: 4, name: "low_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
312
|
+
{ no: 5, name: "close_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
313
|
+
]);
|
|
150
314
|
/**
|
|
151
315
|
* @generated from message data.v2.GetTokenRequest
|
|
152
316
|
*/
|