@uniswap/client-data-api 0.0.58 → 0.0.60
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 +7 -7
- package/dist/data/v1/api-DataApiService_connectquery.js +7 -7
- package/dist/data/v1/api_connect.d.ts +6 -6
- package/dist/data/v1/api_connect.js +6 -6
- package/dist/data/v1/api_pb.d.ts +29 -29
- package/dist/data/v1/api_pb.js +52 -52
- package/dist/data/v1/auction-AuctionService_connectquery.d.ts +14 -1
- package/dist/data/v1/auction-AuctionService_connectquery.js +14 -1
- package/dist/data/v1/auction_connect.d.ts +10 -1
- package/dist/data/v1/auction_connect.js +10 -1
- package/dist/data/v1/auction_pb.d.ts +71 -0
- package/dist/data/v1/auction_pb.js +115 -0
- package/dist/data/v1/searchTypes_pb.d.ts +46 -1
- package/dist/data/v1/searchTypes_pb.js +65 -0
- package/dist/data/v1/search_pb.d.ts +5 -1
- package/dist/data/v1/search_pb.js +6 -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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse,
|
|
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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -222,14 +222,14 @@ export declare const listTopPools: {
|
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
224
|
/**
|
|
225
|
-
* @generated from rpc data.v1.DataApiService.
|
|
225
|
+
* @generated from rpc data.v1.DataApiService.ListTokens
|
|
226
226
|
*/
|
|
227
|
-
export declare const
|
|
228
|
-
readonly localName: "
|
|
229
|
-
readonly name: "
|
|
227
|
+
export declare const listTokens: {
|
|
228
|
+
readonly localName: "listTokens";
|
|
229
|
+
readonly name: "ListTokens";
|
|
230
230
|
readonly kind: MethodKind.Unary;
|
|
231
|
-
readonly I: typeof
|
|
232
|
-
readonly O: typeof
|
|
231
|
+
readonly I: typeof ListTokensRequest;
|
|
232
|
+
readonly O: typeof ListTokensResponse;
|
|
233
233
|
readonly service: {
|
|
234
234
|
readonly typeName: "data.v1.DataApiService";
|
|
235
235
|
};
|
|
@@ -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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse,
|
|
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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -226,14 +226,14 @@ export const listTopPools = {
|
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
/**
|
|
229
|
-
* @generated from rpc data.v1.DataApiService.
|
|
229
|
+
* @generated from rpc data.v1.DataApiService.ListTokens
|
|
230
230
|
*/
|
|
231
|
-
export const
|
|
232
|
-
localName: "
|
|
233
|
-
name: "
|
|
231
|
+
export const listTokens = {
|
|
232
|
+
localName: "listTokens",
|
|
233
|
+
name: "ListTokens",
|
|
234
234
|
kind: MethodKind.Unary,
|
|
235
|
-
I:
|
|
236
|
-
O:
|
|
235
|
+
I: ListTokensRequest,
|
|
236
|
+
O: ListTokensResponse,
|
|
237
237
|
service: {
|
|
238
238
|
typeName: "data.v1.DataApiService"
|
|
239
239
|
}
|
|
@@ -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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse,
|
|
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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, 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
|
|
@@ -160,12 +160,12 @@ export declare const DataApiService: {
|
|
|
160
160
|
readonly kind: MethodKind.Unary;
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
163
|
-
* @generated from rpc data.v1.DataApiService.
|
|
163
|
+
* @generated from rpc data.v1.DataApiService.ListTokens
|
|
164
164
|
*/
|
|
165
|
-
readonly
|
|
166
|
-
readonly name: "
|
|
167
|
-
readonly I: typeof
|
|
168
|
-
readonly O: typeof
|
|
165
|
+
readonly listTokens: {
|
|
166
|
+
readonly name: "ListTokens";
|
|
167
|
+
readonly I: typeof ListTokensRequest;
|
|
168
|
+
readonly O: typeof ListTokensResponse;
|
|
169
169
|
readonly kind: MethodKind.Unary;
|
|
170
170
|
};
|
|
171
171
|
/**
|
|
@@ -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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse,
|
|
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, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, 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
|
|
@@ -164,12 +164,12 @@ export const DataApiService = {
|
|
|
164
164
|
kind: MethodKind.Unary,
|
|
165
165
|
},
|
|
166
166
|
/**
|
|
167
|
-
* @generated from rpc data.v1.DataApiService.
|
|
167
|
+
* @generated from rpc data.v1.DataApiService.ListTokens
|
|
168
168
|
*/
|
|
169
|
-
|
|
170
|
-
name: "
|
|
171
|
-
I:
|
|
172
|
-
O:
|
|
169
|
+
listTokens: {
|
|
170
|
+
name: "ListTokens",
|
|
171
|
+
I: ListTokensRequest,
|
|
172
|
+
O: ListTokensResponse,
|
|
173
173
|
kind: MethodKind.Unary,
|
|
174
174
|
},
|
|
175
175
|
/**
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -58,43 +58,43 @@ export declare enum TopPoolsOrderBy {
|
|
|
58
58
|
REWARD_APR = 5
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* @generated from enum data.v1.
|
|
61
|
+
* @generated from enum data.v1.TokensOrderBy
|
|
62
62
|
*/
|
|
63
|
-
export declare enum
|
|
63
|
+
export declare enum TokensOrderBy {
|
|
64
64
|
/**
|
|
65
|
-
* @generated from enum value:
|
|
65
|
+
* @generated from enum value: TOKENS_ORDER_BY_UNSPECIFIED = 0;
|
|
66
66
|
*/
|
|
67
67
|
UNSPECIFIED = 0,
|
|
68
68
|
/**
|
|
69
|
-
* @generated from enum value:
|
|
69
|
+
* @generated from enum value: TOKENS_ORDER_BY_FDV = 1;
|
|
70
70
|
*/
|
|
71
71
|
FDV = 1,
|
|
72
72
|
/**
|
|
73
|
-
* @generated from enum value:
|
|
73
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_1H = 2;
|
|
74
74
|
*/
|
|
75
75
|
VOLUME_1H = 2,
|
|
76
76
|
/**
|
|
77
|
-
* @generated from enum value:
|
|
77
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_1D = 3;
|
|
78
78
|
*/
|
|
79
79
|
VOLUME_1D = 3,
|
|
80
80
|
/**
|
|
81
|
-
* @generated from enum value:
|
|
81
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_7D = 4;
|
|
82
82
|
*/
|
|
83
83
|
VOLUME_7D = 4,
|
|
84
84
|
/**
|
|
85
|
-
* @generated from enum value:
|
|
85
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_30D = 5;
|
|
86
86
|
*/
|
|
87
87
|
VOLUME_30D = 5,
|
|
88
88
|
/**
|
|
89
|
-
* @generated from enum value:
|
|
89
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_1Y = 6;
|
|
90
90
|
*/
|
|
91
91
|
VOLUME_1Y = 6,
|
|
92
92
|
/**
|
|
93
|
-
* @generated from enum value:
|
|
93
|
+
* @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1H = 7;
|
|
94
94
|
*/
|
|
95
95
|
PRICE_CHANGE_1H = 7,
|
|
96
96
|
/**
|
|
97
|
-
* @generated from enum value:
|
|
97
|
+
* @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1D = 8;
|
|
98
98
|
*/
|
|
99
99
|
PRICE_CHANGE_1D = 8
|
|
100
100
|
}
|
|
@@ -1074,17 +1074,17 @@ export declare class ListTopPoolsResponse extends Message<ListTopPoolsResponse>
|
|
|
1074
1074
|
static equals(a: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined, b: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined): boolean;
|
|
1075
1075
|
}
|
|
1076
1076
|
/**
|
|
1077
|
-
* @generated from message data.v1.
|
|
1077
|
+
* @generated from message data.v1.ListTokensRequest
|
|
1078
1078
|
*/
|
|
1079
|
-
export declare class
|
|
1079
|
+
export declare class ListTokensRequest extends Message<ListTokensRequest> {
|
|
1080
1080
|
/**
|
|
1081
1081
|
* @generated from field: repeated uint32 chain_ids = 1;
|
|
1082
1082
|
*/
|
|
1083
1083
|
chainIds: number[];
|
|
1084
1084
|
/**
|
|
1085
|
-
* @generated from field: optional data.v1.
|
|
1085
|
+
* @generated from field: optional data.v1.TokensOrderBy order_by = 2;
|
|
1086
1086
|
*/
|
|
1087
|
-
orderBy?:
|
|
1087
|
+
orderBy?: TokensOrderBy;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* default false
|
|
1090
1090
|
*
|
|
@@ -1103,19 +1103,19 @@ export declare class ListTopTokensRequest extends Message<ListTopTokensRequest>
|
|
|
1103
1103
|
* @generated from field: optional bool multichain = 6;
|
|
1104
1104
|
*/
|
|
1105
1105
|
multichain?: boolean;
|
|
1106
|
-
constructor(data?: PartialMessage<
|
|
1106
|
+
constructor(data?: PartialMessage<ListTokensRequest>);
|
|
1107
1107
|
static readonly runtime: typeof proto3;
|
|
1108
|
-
static readonly typeName = "data.v1.
|
|
1108
|
+
static readonly typeName = "data.v1.ListTokensRequest";
|
|
1109
1109
|
static readonly fields: FieldList;
|
|
1110
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1111
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1112
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1113
|
-
static equals(a:
|
|
1110
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTokensRequest;
|
|
1111
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTokensRequest;
|
|
1112
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTokensRequest;
|
|
1113
|
+
static equals(a: ListTokensRequest | PlainMessage<ListTokensRequest> | undefined, b: ListTokensRequest | PlainMessage<ListTokensRequest> | undefined): boolean;
|
|
1114
1114
|
}
|
|
1115
1115
|
/**
|
|
1116
|
-
* @generated from message data.v1.
|
|
1116
|
+
* @generated from message data.v1.ListTokensResponse
|
|
1117
1117
|
*/
|
|
1118
|
-
export declare class
|
|
1118
|
+
export declare class ListTokensResponse extends Message<ListTokensResponse> {
|
|
1119
1119
|
/**
|
|
1120
1120
|
* @generated from field: repeated data.v1.Token tokens = 1;
|
|
1121
1121
|
*/
|
|
@@ -1128,14 +1128,14 @@ export declare class ListTopTokensResponse extends Message<ListTopTokensResponse
|
|
|
1128
1128
|
* @generated from field: repeated data.v1.MultichainToken multichain_tokens = 3;
|
|
1129
1129
|
*/
|
|
1130
1130
|
multichainTokens: MultichainToken[];
|
|
1131
|
-
constructor(data?: PartialMessage<
|
|
1131
|
+
constructor(data?: PartialMessage<ListTokensResponse>);
|
|
1132
1132
|
static readonly runtime: typeof proto3;
|
|
1133
|
-
static readonly typeName = "data.v1.
|
|
1133
|
+
static readonly typeName = "data.v1.ListTokensResponse";
|
|
1134
1134
|
static readonly fields: FieldList;
|
|
1135
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1136
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1137
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1138
|
-
static equals(a:
|
|
1135
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTokensResponse;
|
|
1136
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTokensResponse;
|
|
1137
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTokensResponse;
|
|
1138
|
+
static equals(a: ListTokensResponse | PlainMessage<ListTokensResponse> | undefined, b: ListTokensResponse | PlainMessage<ListTokensResponse> | undefined): boolean;
|
|
1139
1139
|
}
|
|
1140
1140
|
/**
|
|
1141
1141
|
* @generated from message data.v1.GetProtocolStatsRequest
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -83,58 +83,58 @@ proto3.util.setEnumType(TopPoolsOrderBy, "data.v1.TopPoolsOrderBy", [
|
|
|
83
83
|
{ no: 5, name: "TOP_POOLS_ORDER_BY_REWARD_APR" },
|
|
84
84
|
]);
|
|
85
85
|
/**
|
|
86
|
-
* @generated from enum data.v1.
|
|
86
|
+
* @generated from enum data.v1.TokensOrderBy
|
|
87
87
|
*/
|
|
88
|
-
export var
|
|
89
|
-
(function (
|
|
88
|
+
export var TokensOrderBy;
|
|
89
|
+
(function (TokensOrderBy) {
|
|
90
90
|
/**
|
|
91
|
-
* @generated from enum value:
|
|
91
|
+
* @generated from enum value: TOKENS_ORDER_BY_UNSPECIFIED = 0;
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
TokensOrderBy[TokensOrderBy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
94
94
|
/**
|
|
95
|
-
* @generated from enum value:
|
|
95
|
+
* @generated from enum value: TOKENS_ORDER_BY_FDV = 1;
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
TokensOrderBy[TokensOrderBy["FDV"] = 1] = "FDV";
|
|
98
98
|
/**
|
|
99
|
-
* @generated from enum value:
|
|
99
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_1H = 2;
|
|
100
100
|
*/
|
|
101
|
-
|
|
101
|
+
TokensOrderBy[TokensOrderBy["VOLUME_1H"] = 2] = "VOLUME_1H";
|
|
102
102
|
/**
|
|
103
|
-
* @generated from enum value:
|
|
103
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_1D = 3;
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
TokensOrderBy[TokensOrderBy["VOLUME_1D"] = 3] = "VOLUME_1D";
|
|
106
106
|
/**
|
|
107
|
-
* @generated from enum value:
|
|
107
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_7D = 4;
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
TokensOrderBy[TokensOrderBy["VOLUME_7D"] = 4] = "VOLUME_7D";
|
|
110
110
|
/**
|
|
111
|
-
* @generated from enum value:
|
|
111
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_30D = 5;
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
TokensOrderBy[TokensOrderBy["VOLUME_30D"] = 5] = "VOLUME_30D";
|
|
114
114
|
/**
|
|
115
|
-
* @generated from enum value:
|
|
115
|
+
* @generated from enum value: TOKENS_ORDER_BY_VOLUME_1Y = 6;
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
TokensOrderBy[TokensOrderBy["VOLUME_1Y"] = 6] = "VOLUME_1Y";
|
|
118
118
|
/**
|
|
119
|
-
* @generated from enum value:
|
|
119
|
+
* @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1H = 7;
|
|
120
120
|
*/
|
|
121
|
-
|
|
121
|
+
TokensOrderBy[TokensOrderBy["PRICE_CHANGE_1H"] = 7] = "PRICE_CHANGE_1H";
|
|
122
122
|
/**
|
|
123
|
-
* @generated from enum value:
|
|
123
|
+
* @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1D = 8;
|
|
124
124
|
*/
|
|
125
|
-
|
|
126
|
-
})(
|
|
127
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
128
|
-
proto3.util.setEnumType(
|
|
129
|
-
{ no: 0, name: "
|
|
130
|
-
{ no: 1, name: "
|
|
131
|
-
{ no: 2, name: "
|
|
132
|
-
{ no: 3, name: "
|
|
133
|
-
{ no: 4, name: "
|
|
134
|
-
{ no: 5, name: "
|
|
135
|
-
{ no: 6, name: "
|
|
136
|
-
{ no: 7, name: "
|
|
137
|
-
{ no: 8, name: "
|
|
125
|
+
TokensOrderBy[TokensOrderBy["PRICE_CHANGE_1D"] = 8] = "PRICE_CHANGE_1D";
|
|
126
|
+
})(TokensOrderBy || (TokensOrderBy = {}));
|
|
127
|
+
// Retrieve enum metadata with: proto3.getEnumType(TokensOrderBy)
|
|
128
|
+
proto3.util.setEnumType(TokensOrderBy, "data.v1.TokensOrderBy", [
|
|
129
|
+
{ no: 0, name: "TOKENS_ORDER_BY_UNSPECIFIED" },
|
|
130
|
+
{ no: 1, name: "TOKENS_ORDER_BY_FDV" },
|
|
131
|
+
{ no: 2, name: "TOKENS_ORDER_BY_VOLUME_1H" },
|
|
132
|
+
{ no: 3, name: "TOKENS_ORDER_BY_VOLUME_1D" },
|
|
133
|
+
{ no: 4, name: "TOKENS_ORDER_BY_VOLUME_7D" },
|
|
134
|
+
{ no: 5, name: "TOKENS_ORDER_BY_VOLUME_30D" },
|
|
135
|
+
{ no: 6, name: "TOKENS_ORDER_BY_VOLUME_1Y" },
|
|
136
|
+
{ no: 7, name: "TOKENS_ORDER_BY_PRICE_CHANGE_1H" },
|
|
137
|
+
{ no: 8, name: "TOKENS_ORDER_BY_PRICE_CHANGE_1D" },
|
|
138
138
|
]);
|
|
139
139
|
/**
|
|
140
140
|
* @generated from enum data.v1.ChartPeriod
|
|
@@ -1485,9 +1485,9 @@ ListTopPoolsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1485
1485
|
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1486
1486
|
]);
|
|
1487
1487
|
/**
|
|
1488
|
-
* @generated from message data.v1.
|
|
1488
|
+
* @generated from message data.v1.ListTokensRequest
|
|
1489
1489
|
*/
|
|
1490
|
-
export class
|
|
1490
|
+
export class ListTokensRequest extends Message {
|
|
1491
1491
|
constructor(data) {
|
|
1492
1492
|
super();
|
|
1493
1493
|
/**
|
|
@@ -1497,32 +1497,32 @@ export class ListTopTokensRequest extends Message {
|
|
|
1497
1497
|
proto3.util.initPartial(data, this);
|
|
1498
1498
|
}
|
|
1499
1499
|
static fromBinary(bytes, options) {
|
|
1500
|
-
return new
|
|
1500
|
+
return new ListTokensRequest().fromBinary(bytes, options);
|
|
1501
1501
|
}
|
|
1502
1502
|
static fromJson(jsonValue, options) {
|
|
1503
|
-
return new
|
|
1503
|
+
return new ListTokensRequest().fromJson(jsonValue, options);
|
|
1504
1504
|
}
|
|
1505
1505
|
static fromJsonString(jsonString, options) {
|
|
1506
|
-
return new
|
|
1506
|
+
return new ListTokensRequest().fromJsonString(jsonString, options);
|
|
1507
1507
|
}
|
|
1508
1508
|
static equals(a, b) {
|
|
1509
|
-
return proto3.util.equals(
|
|
1509
|
+
return proto3.util.equals(ListTokensRequest, a, b);
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1512
|
+
ListTokensRequest.runtime = proto3;
|
|
1513
|
+
ListTokensRequest.typeName = "data.v1.ListTokensRequest";
|
|
1514
|
+
ListTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
1515
1515
|
{ no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
1516
|
-
{ no: 2, name: "order_by", kind: "enum", T: proto3.getEnumType(
|
|
1516
|
+
{ no: 2, name: "order_by", kind: "enum", T: proto3.getEnumType(TokensOrderBy), opt: true },
|
|
1517
1517
|
{ no: 3, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1518
1518
|
{ no: 4, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1519
1519
|
{ no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1520
1520
|
{ no: 6, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1521
1521
|
]);
|
|
1522
1522
|
/**
|
|
1523
|
-
* @generated from message data.v1.
|
|
1523
|
+
* @generated from message data.v1.ListTokensResponse
|
|
1524
1524
|
*/
|
|
1525
|
-
export class
|
|
1525
|
+
export class ListTokensResponse extends Message {
|
|
1526
1526
|
constructor(data) {
|
|
1527
1527
|
super();
|
|
1528
1528
|
/**
|
|
@@ -1536,21 +1536,21 @@ export class ListTopTokensResponse extends Message {
|
|
|
1536
1536
|
proto3.util.initPartial(data, this);
|
|
1537
1537
|
}
|
|
1538
1538
|
static fromBinary(bytes, options) {
|
|
1539
|
-
return new
|
|
1539
|
+
return new ListTokensResponse().fromBinary(bytes, options);
|
|
1540
1540
|
}
|
|
1541
1541
|
static fromJson(jsonValue, options) {
|
|
1542
|
-
return new
|
|
1542
|
+
return new ListTokensResponse().fromJson(jsonValue, options);
|
|
1543
1543
|
}
|
|
1544
1544
|
static fromJsonString(jsonString, options) {
|
|
1545
|
-
return new
|
|
1545
|
+
return new ListTokensResponse().fromJsonString(jsonString, options);
|
|
1546
1546
|
}
|
|
1547
1547
|
static equals(a, b) {
|
|
1548
|
-
return proto3.util.equals(
|
|
1548
|
+
return proto3.util.equals(ListTokensResponse, a, b);
|
|
1549
1549
|
}
|
|
1550
1550
|
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1551
|
+
ListTokensResponse.runtime = proto3;
|
|
1552
|
+
ListTokensResponse.typeName = "data.v1.ListTokensResponse";
|
|
1553
|
+
ListTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
1554
1554
|
{ no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
|
|
1555
1555
|
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1556
1556
|
{ no: 3, name: "multichain_tokens", kind: "message", T: MultichainToken, repeated: true },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
2
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
5
|
*/
|
|
@@ -117,3 +117,16 @@ export declare const getCheckpointsForBid: {
|
|
|
117
117
|
readonly typeName: "data.v1.AuctionService";
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
122
|
+
*/
|
|
123
|
+
export declare const getTickDetails: {
|
|
124
|
+
readonly localName: "getTickDetails";
|
|
125
|
+
readonly name: "GetTickDetails";
|
|
126
|
+
readonly kind: MethodKind.Unary;
|
|
127
|
+
readonly I: typeof GetTickDetailsRequest;
|
|
128
|
+
readonly O: typeof GetTickDetailsResponse;
|
|
129
|
+
readonly service: {
|
|
130
|
+
readonly typeName: "data.v1.AuctionService";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
6
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
9
|
*/
|
|
@@ -121,3 +121,16 @@ export const getCheckpointsForBid = {
|
|
|
121
121
|
typeName: "data.v1.AuctionService"
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
126
|
+
*/
|
|
127
|
+
export const getTickDetails = {
|
|
128
|
+
localName: "getTickDetails",
|
|
129
|
+
name: "GetTickDetails",
|
|
130
|
+
kind: MethodKind.Unary,
|
|
131
|
+
I: GetTickDetailsRequest,
|
|
132
|
+
O: GetTickDetailsResponse,
|
|
133
|
+
service: {
|
|
134
|
+
typeName: "data.v1.AuctionService"
|
|
135
|
+
}
|
|
136
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
1
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.AuctionService
|
|
@@ -87,5 +87,14 @@ export declare const AuctionService: {
|
|
|
87
87
|
readonly O: typeof GetCheckpointsForBidResponse;
|
|
88
88
|
readonly kind: MethodKind.Unary;
|
|
89
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
92
|
+
*/
|
|
93
|
+
readonly getTickDetails: {
|
|
94
|
+
readonly name: "GetTickDetails";
|
|
95
|
+
readonly I: typeof GetTickDetailsRequest;
|
|
96
|
+
readonly O: typeof GetTickDetailsResponse;
|
|
97
|
+
readonly kind: MethodKind.Unary;
|
|
98
|
+
};
|
|
90
99
|
};
|
|
91
100
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
5
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.AuctionService
|
|
@@ -91,5 +91,14 @@ export const AuctionService = {
|
|
|
91
91
|
O: GetCheckpointsForBidResponse,
|
|
92
92
|
kind: MethodKind.Unary,
|
|
93
93
|
},
|
|
94
|
+
/**
|
|
95
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
96
|
+
*/
|
|
97
|
+
getTickDetails: {
|
|
98
|
+
name: "GetTickDetails",
|
|
99
|
+
I: GetTickDetailsRequest,
|
|
100
|
+
O: GetTickDetailsResponse,
|
|
101
|
+
kind: MethodKind.Unary,
|
|
102
|
+
},
|
|
94
103
|
}
|
|
95
104
|
};
|
|
@@ -919,3 +919,74 @@ export declare class GetCheckpointsForBidResponse extends Message<GetCheckpoints
|
|
|
919
919
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCheckpointsForBidResponse;
|
|
920
920
|
static equals(a: GetCheckpointsForBidResponse | PlainMessage<GetCheckpointsForBidResponse> | undefined, b: GetCheckpointsForBidResponse | PlainMessage<GetCheckpointsForBidResponse> | undefined): boolean;
|
|
921
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* @generated from message data.v1.GetTickDetailsRequest
|
|
924
|
+
*/
|
|
925
|
+
export declare class GetTickDetailsRequest extends Message<GetTickDetailsRequest> {
|
|
926
|
+
/**
|
|
927
|
+
* @generated from field: int32 chain_id = 1;
|
|
928
|
+
*/
|
|
929
|
+
chainId: number;
|
|
930
|
+
/**
|
|
931
|
+
* @generated from field: string address = 2;
|
|
932
|
+
*/
|
|
933
|
+
address: string;
|
|
934
|
+
constructor(data?: PartialMessage<GetTickDetailsRequest>);
|
|
935
|
+
static readonly runtime: typeof proto3;
|
|
936
|
+
static readonly typeName = "data.v1.GetTickDetailsRequest";
|
|
937
|
+
static readonly fields: FieldList;
|
|
938
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTickDetailsRequest;
|
|
939
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTickDetailsRequest;
|
|
940
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTickDetailsRequest;
|
|
941
|
+
static equals(a: GetTickDetailsRequest | PlainMessage<GetTickDetailsRequest> | undefined, b: GetTickDetailsRequest | PlainMessage<GetTickDetailsRequest> | undefined): boolean;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* @generated from message data.v1.TickDetail
|
|
945
|
+
*/
|
|
946
|
+
export declare class TickDetail extends Message<TickDetail> {
|
|
947
|
+
/**
|
|
948
|
+
* @generated from field: string price_q96 = 1;
|
|
949
|
+
*/
|
|
950
|
+
priceQ96: string;
|
|
951
|
+
/**
|
|
952
|
+
* @generated from field: string currency_demand_q96 = 2;
|
|
953
|
+
*/
|
|
954
|
+
currencyDemandQ96: string;
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: string required_currency_demand_q96 = 3;
|
|
957
|
+
*/
|
|
958
|
+
requiredCurrencyDemandQ96: string;
|
|
959
|
+
/**
|
|
960
|
+
* @generated from field: string currency_required_q96 = 4;
|
|
961
|
+
*/
|
|
962
|
+
currencyRequiredQ96: string;
|
|
963
|
+
/**
|
|
964
|
+
* @generated from field: bool is_initialized = 5;
|
|
965
|
+
*/
|
|
966
|
+
isInitialized: boolean;
|
|
967
|
+
constructor(data?: PartialMessage<TickDetail>);
|
|
968
|
+
static readonly runtime: typeof proto3;
|
|
969
|
+
static readonly typeName = "data.v1.TickDetail";
|
|
970
|
+
static readonly fields: FieldList;
|
|
971
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TickDetail;
|
|
972
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TickDetail;
|
|
973
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TickDetail;
|
|
974
|
+
static equals(a: TickDetail | PlainMessage<TickDetail> | undefined, b: TickDetail | PlainMessage<TickDetail> | undefined): boolean;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* @generated from message data.v1.GetTickDetailsResponse
|
|
978
|
+
*/
|
|
979
|
+
export declare class GetTickDetailsResponse extends Message<GetTickDetailsResponse> {
|
|
980
|
+
/**
|
|
981
|
+
* @generated from field: repeated data.v1.TickDetail ticks = 1;
|
|
982
|
+
*/
|
|
983
|
+
ticks: TickDetail[];
|
|
984
|
+
constructor(data?: PartialMessage<GetTickDetailsResponse>);
|
|
985
|
+
static readonly runtime: typeof proto3;
|
|
986
|
+
static readonly typeName = "data.v1.GetTickDetailsResponse";
|
|
987
|
+
static readonly fields: FieldList;
|
|
988
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTickDetailsResponse;
|
|
989
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTickDetailsResponse;
|
|
990
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTickDetailsResponse;
|
|
991
|
+
static equals(a: GetTickDetailsResponse | PlainMessage<GetTickDetailsResponse> | undefined, b: GetTickDetailsResponse | PlainMessage<GetTickDetailsResponse> | undefined): boolean;
|
|
992
|
+
}
|
|
@@ -1218,3 +1218,118 @@ GetCheckpointsForBidResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1218
1218
|
{ no: 1, name: "checkpoint_A", kind: "message", T: Checkpoint },
|
|
1219
1219
|
{ no: 2, name: "checkpoint_B", kind: "message", T: Checkpoint, opt: true },
|
|
1220
1220
|
]);
|
|
1221
|
+
/**
|
|
1222
|
+
* @generated from message data.v1.GetTickDetailsRequest
|
|
1223
|
+
*/
|
|
1224
|
+
export class GetTickDetailsRequest extends Message {
|
|
1225
|
+
constructor(data) {
|
|
1226
|
+
super();
|
|
1227
|
+
/**
|
|
1228
|
+
* @generated from field: int32 chain_id = 1;
|
|
1229
|
+
*/
|
|
1230
|
+
this.chainId = 0;
|
|
1231
|
+
/**
|
|
1232
|
+
* @generated from field: string address = 2;
|
|
1233
|
+
*/
|
|
1234
|
+
this.address = "";
|
|
1235
|
+
proto3.util.initPartial(data, this);
|
|
1236
|
+
}
|
|
1237
|
+
static fromBinary(bytes, options) {
|
|
1238
|
+
return new GetTickDetailsRequest().fromBinary(bytes, options);
|
|
1239
|
+
}
|
|
1240
|
+
static fromJson(jsonValue, options) {
|
|
1241
|
+
return new GetTickDetailsRequest().fromJson(jsonValue, options);
|
|
1242
|
+
}
|
|
1243
|
+
static fromJsonString(jsonString, options) {
|
|
1244
|
+
return new GetTickDetailsRequest().fromJsonString(jsonString, options);
|
|
1245
|
+
}
|
|
1246
|
+
static equals(a, b) {
|
|
1247
|
+
return proto3.util.equals(GetTickDetailsRequest, a, b);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
GetTickDetailsRequest.runtime = proto3;
|
|
1251
|
+
GetTickDetailsRequest.typeName = "data.v1.GetTickDetailsRequest";
|
|
1252
|
+
GetTickDetailsRequest.fields = proto3.util.newFieldList(() => [
|
|
1253
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1254
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1255
|
+
]);
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from message data.v1.TickDetail
|
|
1258
|
+
*/
|
|
1259
|
+
export class TickDetail extends Message {
|
|
1260
|
+
constructor(data) {
|
|
1261
|
+
super();
|
|
1262
|
+
/**
|
|
1263
|
+
* @generated from field: string price_q96 = 1;
|
|
1264
|
+
*/
|
|
1265
|
+
this.priceQ96 = "";
|
|
1266
|
+
/**
|
|
1267
|
+
* @generated from field: string currency_demand_q96 = 2;
|
|
1268
|
+
*/
|
|
1269
|
+
this.currencyDemandQ96 = "";
|
|
1270
|
+
/**
|
|
1271
|
+
* @generated from field: string required_currency_demand_q96 = 3;
|
|
1272
|
+
*/
|
|
1273
|
+
this.requiredCurrencyDemandQ96 = "";
|
|
1274
|
+
/**
|
|
1275
|
+
* @generated from field: string currency_required_q96 = 4;
|
|
1276
|
+
*/
|
|
1277
|
+
this.currencyRequiredQ96 = "";
|
|
1278
|
+
/**
|
|
1279
|
+
* @generated from field: bool is_initialized = 5;
|
|
1280
|
+
*/
|
|
1281
|
+
this.isInitialized = false;
|
|
1282
|
+
proto3.util.initPartial(data, this);
|
|
1283
|
+
}
|
|
1284
|
+
static fromBinary(bytes, options) {
|
|
1285
|
+
return new TickDetail().fromBinary(bytes, options);
|
|
1286
|
+
}
|
|
1287
|
+
static fromJson(jsonValue, options) {
|
|
1288
|
+
return new TickDetail().fromJson(jsonValue, options);
|
|
1289
|
+
}
|
|
1290
|
+
static fromJsonString(jsonString, options) {
|
|
1291
|
+
return new TickDetail().fromJsonString(jsonString, options);
|
|
1292
|
+
}
|
|
1293
|
+
static equals(a, b) {
|
|
1294
|
+
return proto3.util.equals(TickDetail, a, b);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
TickDetail.runtime = proto3;
|
|
1298
|
+
TickDetail.typeName = "data.v1.TickDetail";
|
|
1299
|
+
TickDetail.fields = proto3.util.newFieldList(() => [
|
|
1300
|
+
{ no: 1, name: "price_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1301
|
+
{ no: 2, name: "currency_demand_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1302
|
+
{ no: 3, name: "required_currency_demand_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1303
|
+
{ no: 4, name: "currency_required_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1304
|
+
{ no: 5, name: "is_initialized", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1305
|
+
]);
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from message data.v1.GetTickDetailsResponse
|
|
1308
|
+
*/
|
|
1309
|
+
export class GetTickDetailsResponse extends Message {
|
|
1310
|
+
constructor(data) {
|
|
1311
|
+
super();
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: repeated data.v1.TickDetail ticks = 1;
|
|
1314
|
+
*/
|
|
1315
|
+
this.ticks = [];
|
|
1316
|
+
proto3.util.initPartial(data, this);
|
|
1317
|
+
}
|
|
1318
|
+
static fromBinary(bytes, options) {
|
|
1319
|
+
return new GetTickDetailsResponse().fromBinary(bytes, options);
|
|
1320
|
+
}
|
|
1321
|
+
static fromJson(jsonValue, options) {
|
|
1322
|
+
return new GetTickDetailsResponse().fromJson(jsonValue, options);
|
|
1323
|
+
}
|
|
1324
|
+
static fromJsonString(jsonString, options) {
|
|
1325
|
+
return new GetTickDetailsResponse().fromJsonString(jsonString, options);
|
|
1326
|
+
}
|
|
1327
|
+
static equals(a, b) {
|
|
1328
|
+
return proto3.util.equals(GetTickDetailsResponse, a, b);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
GetTickDetailsResponse.runtime = proto3;
|
|
1332
|
+
GetTickDetailsResponse.typeName = "data.v1.GetTickDetailsResponse";
|
|
1333
|
+
GetTickDetailsResponse.fields = proto3.util.newFieldList(() => [
|
|
1334
|
+
{ no: 1, name: "ticks", kind: "message", T: TickDetail, repeated: true },
|
|
1335
|
+
]);
|
|
@@ -15,7 +15,11 @@ export declare enum SearchType {
|
|
|
15
15
|
/**
|
|
16
16
|
* @generated from enum value: POOL = 2;
|
|
17
17
|
*/
|
|
18
|
-
POOL = 2
|
|
18
|
+
POOL = 2,
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: AUCTION = 3;
|
|
21
|
+
*/
|
|
22
|
+
AUCTION = 3
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
25
|
* @generated from enum search.v1.SpamCode
|
|
@@ -185,6 +189,47 @@ export declare class FeeData extends Message<FeeData> {
|
|
|
185
189
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeeData;
|
|
186
190
|
static equals(a: FeeData | PlainMessage<FeeData> | undefined, b: FeeData | PlainMessage<FeeData> | undefined): boolean;
|
|
187
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message search.v1.SearchAuction
|
|
194
|
+
*/
|
|
195
|
+
export declare class SearchAuction extends Message<SearchAuction> {
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: string auction_id = 1;
|
|
198
|
+
*/
|
|
199
|
+
auctionId: string;
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: uint32 chain_id = 2;
|
|
202
|
+
*/
|
|
203
|
+
chainId: number;
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: string auction_address = 3;
|
|
206
|
+
*/
|
|
207
|
+
auctionAddress: string;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: string token_address = 4;
|
|
210
|
+
*/
|
|
211
|
+
tokenAddress: string;
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string token_name = 5;
|
|
214
|
+
*/
|
|
215
|
+
tokenName: string;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: string token_symbol = 6;
|
|
218
|
+
*/
|
|
219
|
+
tokenSymbol: string;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string total_bid_volume_usd = 7;
|
|
222
|
+
*/
|
|
223
|
+
totalBidVolumeUsd: string;
|
|
224
|
+
constructor(data?: PartialMessage<SearchAuction>);
|
|
225
|
+
static readonly runtime: typeof proto3;
|
|
226
|
+
static readonly typeName = "search.v1.SearchAuction";
|
|
227
|
+
static readonly fields: FieldList;
|
|
228
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchAuction;
|
|
229
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchAuction;
|
|
230
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchAuction;
|
|
231
|
+
static equals(a: SearchAuction | PlainMessage<SearchAuction> | undefined, b: SearchAuction | PlainMessage<SearchAuction> | undefined): boolean;
|
|
232
|
+
}
|
|
188
233
|
/**
|
|
189
234
|
* @generated from message search.v1.BlockaidFees
|
|
190
235
|
*/
|
|
@@ -20,12 +20,17 @@ export var SearchType;
|
|
|
20
20
|
* @generated from enum value: POOL = 2;
|
|
21
21
|
*/
|
|
22
22
|
SearchType[SearchType["POOL"] = 2] = "POOL";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: AUCTION = 3;
|
|
25
|
+
*/
|
|
26
|
+
SearchType[SearchType["AUCTION"] = 3] = "AUCTION";
|
|
23
27
|
})(SearchType || (SearchType = {}));
|
|
24
28
|
// Retrieve enum metadata with: proto3.getEnumType(SearchType)
|
|
25
29
|
proto3.util.setEnumType(SearchType, "search.v1.SearchType", [
|
|
26
30
|
{ no: 0, name: "SEARCH_TYPE_UNSPECIFIED" },
|
|
27
31
|
{ no: 1, name: "TOKEN" },
|
|
28
32
|
{ no: 2, name: "POOL" },
|
|
33
|
+
{ no: 3, name: "AUCTION" },
|
|
29
34
|
]);
|
|
30
35
|
/**
|
|
31
36
|
* @generated from enum search.v1.SpamCode
|
|
@@ -252,6 +257,66 @@ FeeData.fields = proto3.util.newFieldList(() => [
|
|
|
252
257
|
{ no: 4, name: "external_transfer_failed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
253
258
|
{ no: 5, name: "sell_reverted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
254
259
|
]);
|
|
260
|
+
/**
|
|
261
|
+
* @generated from message search.v1.SearchAuction
|
|
262
|
+
*/
|
|
263
|
+
export class SearchAuction extends Message {
|
|
264
|
+
constructor(data) {
|
|
265
|
+
super();
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string auction_id = 1;
|
|
268
|
+
*/
|
|
269
|
+
this.auctionId = "";
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: uint32 chain_id = 2;
|
|
272
|
+
*/
|
|
273
|
+
this.chainId = 0;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string auction_address = 3;
|
|
276
|
+
*/
|
|
277
|
+
this.auctionAddress = "";
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: string token_address = 4;
|
|
280
|
+
*/
|
|
281
|
+
this.tokenAddress = "";
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string token_name = 5;
|
|
284
|
+
*/
|
|
285
|
+
this.tokenName = "";
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: string token_symbol = 6;
|
|
288
|
+
*/
|
|
289
|
+
this.tokenSymbol = "";
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string total_bid_volume_usd = 7;
|
|
292
|
+
*/
|
|
293
|
+
this.totalBidVolumeUsd = "";
|
|
294
|
+
proto3.util.initPartial(data, this);
|
|
295
|
+
}
|
|
296
|
+
static fromBinary(bytes, options) {
|
|
297
|
+
return new SearchAuction().fromBinary(bytes, options);
|
|
298
|
+
}
|
|
299
|
+
static fromJson(jsonValue, options) {
|
|
300
|
+
return new SearchAuction().fromJson(jsonValue, options);
|
|
301
|
+
}
|
|
302
|
+
static fromJsonString(jsonString, options) {
|
|
303
|
+
return new SearchAuction().fromJsonString(jsonString, options);
|
|
304
|
+
}
|
|
305
|
+
static equals(a, b) {
|
|
306
|
+
return proto3.util.equals(SearchAuction, a, b);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
SearchAuction.runtime = proto3;
|
|
310
|
+
SearchAuction.typeName = "search.v1.SearchAuction";
|
|
311
|
+
SearchAuction.fields = proto3.util.newFieldList(() => [
|
|
312
|
+
{ no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
313
|
+
{ no: 2, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
314
|
+
{ no: 3, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
|
+
{ no: 4, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
316
|
+
{ no: 5, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
317
|
+
{ no: 6, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
|
+
{ no: 7, name: "total_bid_volume_usd", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
319
|
+
]);
|
|
255
320
|
/**
|
|
256
321
|
* @generated from message search.v1.BlockaidFees
|
|
257
322
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { Pool, SearchType, Token } from "./searchTypes_pb.js";
|
|
3
|
+
import { Pool, SearchAuction, SearchType, Token } from "./searchTypes_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* @generated from message data.v1.SearchTokensRequest
|
|
6
6
|
*/
|
|
@@ -46,6 +46,10 @@ export declare class SearchTokensResponse extends Message<SearchTokensResponse>
|
|
|
46
46
|
* @generated from field: repeated search.v1.Pool pools = 2;
|
|
47
47
|
*/
|
|
48
48
|
pools: Pool[];
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: repeated search.v1.SearchAuction auctions = 3;
|
|
51
|
+
*/
|
|
52
|
+
auctions: SearchAuction[];
|
|
49
53
|
constructor(data?: PartialMessage<SearchTokensResponse>);
|
|
50
54
|
static readonly runtime: typeof proto3;
|
|
51
55
|
static readonly typeName = "data.v1.SearchTokensResponse";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { Pool, SearchType, Token } from "./searchTypes_pb.js";
|
|
6
|
+
import { Pool, SearchAuction, SearchType, Token } from "./searchTypes_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from message data.v1.SearchTokensRequest
|
|
9
9
|
*/
|
|
@@ -68,6 +68,10 @@ export class SearchTokensResponse extends Message {
|
|
|
68
68
|
* @generated from field: repeated search.v1.Pool pools = 2;
|
|
69
69
|
*/
|
|
70
70
|
this.pools = [];
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: repeated search.v1.SearchAuction auctions = 3;
|
|
73
|
+
*/
|
|
74
|
+
this.auctions = [];
|
|
71
75
|
proto3.util.initPartial(data, this);
|
|
72
76
|
}
|
|
73
77
|
static fromBinary(bytes, options) {
|
|
@@ -88,4 +92,5 @@ SearchTokensResponse.typeName = "data.v1.SearchTokensResponse";
|
|
|
88
92
|
SearchTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
89
93
|
{ no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
|
|
90
94
|
{ no: 2, name: "pools", kind: "message", T: Pool, repeated: true },
|
|
95
|
+
{ no: 3, name: "auctions", kind: "message", T: SearchAuction, repeated: true },
|
|
91
96
|
]);
|