@uniswap/client-data-api 0.0.14 → 0.0.15
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 +79 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +79 -1
- package/dist/data/v1/api_connect.d.ts +55 -1
- package/dist/data/v1/api_connect.js +55 -1
- package/dist/data/v1/api_pb.d.ts +356 -0
- package/dist/data/v1/api_pb.js +466 -0
- package/dist/data/v1/poolTypes_pb.d.ts +457 -0
- package/dist/data/v1/poolTypes_pb.js +593 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
2
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -117,3 +117,81 @@ export declare const createTokenFactoryPresignedUrl: {
|
|
|
117
117
|
readonly typeName: "data.v1.DataApiService";
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* @generated from rpc data.v1.DataApiService.GetPair
|
|
122
|
+
*/
|
|
123
|
+
export declare const getPair: {
|
|
124
|
+
readonly localName: "getPair";
|
|
125
|
+
readonly name: "GetPair";
|
|
126
|
+
readonly kind: MethodKind.Unary;
|
|
127
|
+
readonly I: typeof GetPairRequest;
|
|
128
|
+
readonly O: typeof GetPairResponse;
|
|
129
|
+
readonly service: {
|
|
130
|
+
readonly typeName: "data.v1.DataApiService";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* @generated from rpc data.v1.DataApiService.GetPool
|
|
135
|
+
*/
|
|
136
|
+
export declare const getPool: {
|
|
137
|
+
readonly localName: "getPool";
|
|
138
|
+
readonly name: "GetPool";
|
|
139
|
+
readonly kind: MethodKind.Unary;
|
|
140
|
+
readonly I: typeof GetPoolRequest;
|
|
141
|
+
readonly O: typeof GetPoolResponse;
|
|
142
|
+
readonly service: {
|
|
143
|
+
readonly typeName: "data.v1.DataApiService";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* @generated from rpc data.v1.DataApiService.GetPosition
|
|
148
|
+
*/
|
|
149
|
+
export declare const getPosition: {
|
|
150
|
+
readonly localName: "getPosition";
|
|
151
|
+
readonly name: "GetPosition";
|
|
152
|
+
readonly kind: MethodKind.Unary;
|
|
153
|
+
readonly I: typeof GetPositionRequest;
|
|
154
|
+
readonly O: typeof GetPositionResponse;
|
|
155
|
+
readonly service: {
|
|
156
|
+
readonly typeName: "data.v1.DataApiService";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @generated from rpc data.v1.DataApiService.ListPools
|
|
161
|
+
*/
|
|
162
|
+
export declare const listPools: {
|
|
163
|
+
readonly localName: "listPools";
|
|
164
|
+
readonly name: "ListPools";
|
|
165
|
+
readonly kind: MethodKind.Unary;
|
|
166
|
+
readonly I: typeof ListPoolsRequest;
|
|
167
|
+
readonly O: typeof ListPoolsResponse;
|
|
168
|
+
readonly service: {
|
|
169
|
+
readonly typeName: "data.v1.DataApiService";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* @generated from rpc data.v1.DataApiService.ListPositions
|
|
174
|
+
*/
|
|
175
|
+
export declare const listPositions: {
|
|
176
|
+
readonly localName: "listPositions";
|
|
177
|
+
readonly name: "ListPositions";
|
|
178
|
+
readonly kind: MethodKind.Unary;
|
|
179
|
+
readonly I: typeof ListPositionsRequest;
|
|
180
|
+
readonly O: typeof ListPositionsResponse;
|
|
181
|
+
readonly service: {
|
|
182
|
+
readonly typeName: "data.v1.DataApiService";
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* @generated from rpc data.v1.DataApiService.GetRewards
|
|
187
|
+
*/
|
|
188
|
+
export declare const getRewards: {
|
|
189
|
+
readonly localName: "getRewards";
|
|
190
|
+
readonly name: "GetRewards";
|
|
191
|
+
readonly kind: MethodKind.Unary;
|
|
192
|
+
readonly I: typeof GetRewardsRequest;
|
|
193
|
+
readonly O: typeof GetRewardsResponse;
|
|
194
|
+
readonly service: {
|
|
195
|
+
readonly typeName: "data.v1.DataApiService";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
@@ -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, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
6
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -121,3 +121,81 @@ export const createTokenFactoryPresignedUrl = {
|
|
|
121
121
|
typeName: "data.v1.DataApiService"
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* @generated from rpc data.v1.DataApiService.GetPair
|
|
126
|
+
*/
|
|
127
|
+
export const getPair = {
|
|
128
|
+
localName: "getPair",
|
|
129
|
+
name: "GetPair",
|
|
130
|
+
kind: MethodKind.Unary,
|
|
131
|
+
I: GetPairRequest,
|
|
132
|
+
O: GetPairResponse,
|
|
133
|
+
service: {
|
|
134
|
+
typeName: "data.v1.DataApiService"
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* @generated from rpc data.v1.DataApiService.GetPool
|
|
139
|
+
*/
|
|
140
|
+
export const getPool = {
|
|
141
|
+
localName: "getPool",
|
|
142
|
+
name: "GetPool",
|
|
143
|
+
kind: MethodKind.Unary,
|
|
144
|
+
I: GetPoolRequest,
|
|
145
|
+
O: GetPoolResponse,
|
|
146
|
+
service: {
|
|
147
|
+
typeName: "data.v1.DataApiService"
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @generated from rpc data.v1.DataApiService.GetPosition
|
|
152
|
+
*/
|
|
153
|
+
export const getPosition = {
|
|
154
|
+
localName: "getPosition",
|
|
155
|
+
name: "GetPosition",
|
|
156
|
+
kind: MethodKind.Unary,
|
|
157
|
+
I: GetPositionRequest,
|
|
158
|
+
O: GetPositionResponse,
|
|
159
|
+
service: {
|
|
160
|
+
typeName: "data.v1.DataApiService"
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @generated from rpc data.v1.DataApiService.ListPools
|
|
165
|
+
*/
|
|
166
|
+
export const listPools = {
|
|
167
|
+
localName: "listPools",
|
|
168
|
+
name: "ListPools",
|
|
169
|
+
kind: MethodKind.Unary,
|
|
170
|
+
I: ListPoolsRequest,
|
|
171
|
+
O: ListPoolsResponse,
|
|
172
|
+
service: {
|
|
173
|
+
typeName: "data.v1.DataApiService"
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @generated from rpc data.v1.DataApiService.ListPositions
|
|
178
|
+
*/
|
|
179
|
+
export const listPositions = {
|
|
180
|
+
localName: "listPositions",
|
|
181
|
+
name: "ListPositions",
|
|
182
|
+
kind: MethodKind.Unary,
|
|
183
|
+
I: ListPositionsRequest,
|
|
184
|
+
O: ListPositionsResponse,
|
|
185
|
+
service: {
|
|
186
|
+
typeName: "data.v1.DataApiService"
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* @generated from rpc data.v1.DataApiService.GetRewards
|
|
191
|
+
*/
|
|
192
|
+
export const getRewards = {
|
|
193
|
+
localName: "getRewards",
|
|
194
|
+
name: "GetRewards",
|
|
195
|
+
kind: MethodKind.Unary,
|
|
196
|
+
I: GetRewardsRequest,
|
|
197
|
+
O: GetRewardsResponse,
|
|
198
|
+
service: {
|
|
199
|
+
typeName: "data.v1.DataApiService"
|
|
200
|
+
}
|
|
201
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
1
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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
|
|
@@ -87,5 +87,59 @@ export declare const DataApiService: {
|
|
|
87
87
|
readonly O: typeof CreateTokenFactoryPresignedUrlResponse;
|
|
88
88
|
readonly kind: MethodKind.Unary;
|
|
89
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* @generated from rpc data.v1.DataApiService.GetPair
|
|
92
|
+
*/
|
|
93
|
+
readonly getPair: {
|
|
94
|
+
readonly name: "GetPair";
|
|
95
|
+
readonly I: typeof GetPairRequest;
|
|
96
|
+
readonly O: typeof GetPairResponse;
|
|
97
|
+
readonly kind: MethodKind.Unary;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @generated from rpc data.v1.DataApiService.GetPool
|
|
101
|
+
*/
|
|
102
|
+
readonly getPool: {
|
|
103
|
+
readonly name: "GetPool";
|
|
104
|
+
readonly I: typeof GetPoolRequest;
|
|
105
|
+
readonly O: typeof GetPoolResponse;
|
|
106
|
+
readonly kind: MethodKind.Unary;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @generated from rpc data.v1.DataApiService.GetPosition
|
|
110
|
+
*/
|
|
111
|
+
readonly getPosition: {
|
|
112
|
+
readonly name: "GetPosition";
|
|
113
|
+
readonly I: typeof GetPositionRequest;
|
|
114
|
+
readonly O: typeof GetPositionResponse;
|
|
115
|
+
readonly kind: MethodKind.Unary;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @generated from rpc data.v1.DataApiService.ListPools
|
|
119
|
+
*/
|
|
120
|
+
readonly listPools: {
|
|
121
|
+
readonly name: "ListPools";
|
|
122
|
+
readonly I: typeof ListPoolsRequest;
|
|
123
|
+
readonly O: typeof ListPoolsResponse;
|
|
124
|
+
readonly kind: MethodKind.Unary;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @generated from rpc data.v1.DataApiService.ListPositions
|
|
128
|
+
*/
|
|
129
|
+
readonly listPositions: {
|
|
130
|
+
readonly name: "ListPositions";
|
|
131
|
+
readonly I: typeof ListPositionsRequest;
|
|
132
|
+
readonly O: typeof ListPositionsResponse;
|
|
133
|
+
readonly kind: MethodKind.Unary;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* @generated from rpc data.v1.DataApiService.GetRewards
|
|
137
|
+
*/
|
|
138
|
+
readonly getRewards: {
|
|
139
|
+
readonly name: "GetRewards";
|
|
140
|
+
readonly I: typeof GetRewardsRequest;
|
|
141
|
+
readonly O: typeof GetRewardsResponse;
|
|
142
|
+
readonly kind: MethodKind.Unary;
|
|
143
|
+
};
|
|
90
144
|
};
|
|
91
145
|
};
|
|
@@ -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, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
5
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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
|
|
@@ -91,5 +91,59 @@ export const DataApiService = {
|
|
|
91
91
|
O: CreateTokenFactoryPresignedUrlResponse,
|
|
92
92
|
kind: MethodKind.Unary,
|
|
93
93
|
},
|
|
94
|
+
/**
|
|
95
|
+
* @generated from rpc data.v1.DataApiService.GetPair
|
|
96
|
+
*/
|
|
97
|
+
getPair: {
|
|
98
|
+
name: "GetPair",
|
|
99
|
+
I: GetPairRequest,
|
|
100
|
+
O: GetPairResponse,
|
|
101
|
+
kind: MethodKind.Unary,
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* @generated from rpc data.v1.DataApiService.GetPool
|
|
105
|
+
*/
|
|
106
|
+
getPool: {
|
|
107
|
+
name: "GetPool",
|
|
108
|
+
I: GetPoolRequest,
|
|
109
|
+
O: GetPoolResponse,
|
|
110
|
+
kind: MethodKind.Unary,
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* @generated from rpc data.v1.DataApiService.GetPosition
|
|
114
|
+
*/
|
|
115
|
+
getPosition: {
|
|
116
|
+
name: "GetPosition",
|
|
117
|
+
I: GetPositionRequest,
|
|
118
|
+
O: GetPositionResponse,
|
|
119
|
+
kind: MethodKind.Unary,
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* @generated from rpc data.v1.DataApiService.ListPools
|
|
123
|
+
*/
|
|
124
|
+
listPools: {
|
|
125
|
+
name: "ListPools",
|
|
126
|
+
I: ListPoolsRequest,
|
|
127
|
+
O: ListPoolsResponse,
|
|
128
|
+
kind: MethodKind.Unary,
|
|
129
|
+
},
|
|
130
|
+
/**
|
|
131
|
+
* @generated from rpc data.v1.DataApiService.ListPositions
|
|
132
|
+
*/
|
|
133
|
+
listPositions: {
|
|
134
|
+
name: "ListPositions",
|
|
135
|
+
I: ListPositionsRequest,
|
|
136
|
+
O: ListPositionsResponse,
|
|
137
|
+
kind: MethodKind.Unary,
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* @generated from rpc data.v1.DataApiService.GetRewards
|
|
141
|
+
*/
|
|
142
|
+
getRewards: {
|
|
143
|
+
name: "GetRewards",
|
|
144
|
+
I: GetRewardsRequest,
|
|
145
|
+
O: GetRewardsResponse,
|
|
146
|
+
kind: MethodKind.Unary,
|
|
147
|
+
},
|
|
94
148
|
}
|
|
95
149
|
};
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
4
|
+
import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
|
|
4
5
|
/**
|
|
5
6
|
* @generated from enum data.v1.Platform
|
|
6
7
|
*/
|
|
@@ -14,6 +15,19 @@ export declare enum Platform {
|
|
|
14
15
|
*/
|
|
15
16
|
SVM = 1
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum data.v1.OrderBy
|
|
20
|
+
*/
|
|
21
|
+
export declare enum OrderBy {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: ORDER_BY_UNSPECIFIED = 0;
|
|
24
|
+
*/
|
|
25
|
+
UNSPECIFIED = 0,
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: ORDER_BY_CREATION_DATE = 1;
|
|
28
|
+
*/
|
|
29
|
+
CREATION_DATE = 1
|
|
30
|
+
}
|
|
17
31
|
/**
|
|
18
32
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
19
33
|
*/
|
|
@@ -532,3 +546,345 @@ export declare class CreateTokenFactoryPresignedUrlResponse extends Message<Crea
|
|
|
532
546
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
|
|
533
547
|
static equals(a: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined, b: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined): boolean;
|
|
534
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* @generated from message data.v1.GetPairRequest
|
|
551
|
+
*/
|
|
552
|
+
export declare class GetPairRequest extends Message<GetPairRequest> {
|
|
553
|
+
/**
|
|
554
|
+
* @generated from field: uint32 chain_id = 1;
|
|
555
|
+
*/
|
|
556
|
+
chainId: number;
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: string pair_address = 2;
|
|
559
|
+
*/
|
|
560
|
+
pairAddress: string;
|
|
561
|
+
constructor(data?: PartialMessage<GetPairRequest>);
|
|
562
|
+
static readonly runtime: typeof proto3;
|
|
563
|
+
static readonly typeName = "data.v1.GetPairRequest";
|
|
564
|
+
static readonly fields: FieldList;
|
|
565
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPairRequest;
|
|
566
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPairRequest;
|
|
567
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPairRequest;
|
|
568
|
+
static equals(a: GetPairRequest | PlainMessage<GetPairRequest> | undefined, b: GetPairRequest | PlainMessage<GetPairRequest> | undefined): boolean;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* @generated from message data.v1.GetPairResponse
|
|
572
|
+
*/
|
|
573
|
+
export declare class GetPairResponse extends Message<GetPairResponse> {
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: pools.v1.Pair pair = 1;
|
|
576
|
+
*/
|
|
577
|
+
pair?: Pair;
|
|
578
|
+
constructor(data?: PartialMessage<GetPairResponse>);
|
|
579
|
+
static readonly runtime: typeof proto3;
|
|
580
|
+
static readonly typeName = "data.v1.GetPairResponse";
|
|
581
|
+
static readonly fields: FieldList;
|
|
582
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPairResponse;
|
|
583
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPairResponse;
|
|
584
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPairResponse;
|
|
585
|
+
static equals(a: GetPairResponse | PlainMessage<GetPairResponse> | undefined, b: GetPairResponse | PlainMessage<GetPairResponse> | undefined): boolean;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* @generated from message data.v1.GetPoolRequest
|
|
589
|
+
*/
|
|
590
|
+
export declare class GetPoolRequest extends Message<GetPoolRequest> {
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: uint32 chain_id = 1;
|
|
593
|
+
*/
|
|
594
|
+
chainId: number;
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: string pool_id = 2;
|
|
597
|
+
*/
|
|
598
|
+
poolId: string;
|
|
599
|
+
/**
|
|
600
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 3;
|
|
601
|
+
*/
|
|
602
|
+
protocolVersion: ProtocolVersion;
|
|
603
|
+
constructor(data?: PartialMessage<GetPoolRequest>);
|
|
604
|
+
static readonly runtime: typeof proto3;
|
|
605
|
+
static readonly typeName = "data.v1.GetPoolRequest";
|
|
606
|
+
static readonly fields: FieldList;
|
|
607
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoolRequest;
|
|
608
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoolRequest;
|
|
609
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoolRequest;
|
|
610
|
+
static equals(a: GetPoolRequest | PlainMessage<GetPoolRequest> | undefined, b: GetPoolRequest | PlainMessage<GetPoolRequest> | undefined): boolean;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* @generated from message data.v1.GetPoolResponse
|
|
614
|
+
*/
|
|
615
|
+
export declare class GetPoolResponse extends Message<GetPoolResponse> {
|
|
616
|
+
/**
|
|
617
|
+
* @generated from field: pools.v1.Pool pool = 1;
|
|
618
|
+
*/
|
|
619
|
+
pool?: Pool;
|
|
620
|
+
constructor(data?: PartialMessage<GetPoolResponse>);
|
|
621
|
+
static readonly runtime: typeof proto3;
|
|
622
|
+
static readonly typeName = "data.v1.GetPoolResponse";
|
|
623
|
+
static readonly fields: FieldList;
|
|
624
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoolResponse;
|
|
625
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoolResponse;
|
|
626
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoolResponse;
|
|
627
|
+
static equals(a: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined, b: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined): boolean;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @generated from message data.v1.GetPositionRequest
|
|
631
|
+
*/
|
|
632
|
+
export declare class GetPositionRequest extends Message<GetPositionRequest> {
|
|
633
|
+
/**
|
|
634
|
+
* @generated from field: uint32 chain_id = 1;
|
|
635
|
+
*/
|
|
636
|
+
chainId: number;
|
|
637
|
+
/**
|
|
638
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
|
|
639
|
+
*/
|
|
640
|
+
protocolVersion: ProtocolVersion;
|
|
641
|
+
/**
|
|
642
|
+
* required for V3/V4
|
|
643
|
+
*
|
|
644
|
+
* @generated from field: string token_id = 3;
|
|
645
|
+
*/
|
|
646
|
+
tokenId: string;
|
|
647
|
+
/**
|
|
648
|
+
* required for V2
|
|
649
|
+
*
|
|
650
|
+
* @generated from field: string pair_address = 4;
|
|
651
|
+
*/
|
|
652
|
+
pairAddress: string;
|
|
653
|
+
/**
|
|
654
|
+
* required for V2
|
|
655
|
+
*
|
|
656
|
+
* @generated from field: string owner = 5;
|
|
657
|
+
*/
|
|
658
|
+
owner: string;
|
|
659
|
+
constructor(data?: PartialMessage<GetPositionRequest>);
|
|
660
|
+
static readonly runtime: typeof proto3;
|
|
661
|
+
static readonly typeName = "data.v1.GetPositionRequest";
|
|
662
|
+
static readonly fields: FieldList;
|
|
663
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionRequest;
|
|
664
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
665
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
666
|
+
static equals(a: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined, b: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined): boolean;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* @generated from message data.v1.GetPositionResponse
|
|
670
|
+
*/
|
|
671
|
+
export declare class GetPositionResponse extends Message<GetPositionResponse> {
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: pools.v1.Position position = 1;
|
|
674
|
+
*/
|
|
675
|
+
position?: Position;
|
|
676
|
+
constructor(data?: PartialMessage<GetPositionResponse>);
|
|
677
|
+
static readonly runtime: typeof proto3;
|
|
678
|
+
static readonly typeName = "data.v1.GetPositionResponse";
|
|
679
|
+
static readonly fields: FieldList;
|
|
680
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionResponse;
|
|
681
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
682
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
683
|
+
static equals(a: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined, b: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined): boolean;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message data.v1.ListPoolsRequest
|
|
687
|
+
*/
|
|
688
|
+
export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: uint32 chain_id = 1;
|
|
691
|
+
*/
|
|
692
|
+
chainId: number;
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: string token0 = 2;
|
|
695
|
+
*/
|
|
696
|
+
token0: string;
|
|
697
|
+
/**
|
|
698
|
+
* @generated from field: string token1 = 3;
|
|
699
|
+
*/
|
|
700
|
+
token1: string;
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 4;
|
|
703
|
+
*/
|
|
704
|
+
protocolVersions: ProtocolVersion[];
|
|
705
|
+
/**
|
|
706
|
+
* @generated from field: optional uint32 fee = 5;
|
|
707
|
+
*/
|
|
708
|
+
fee?: number;
|
|
709
|
+
/**
|
|
710
|
+
* @generated from field: optional int32 tick_spacing = 6;
|
|
711
|
+
*/
|
|
712
|
+
tickSpacing?: number;
|
|
713
|
+
/**
|
|
714
|
+
* @generated from field: optional string hooks = 7;
|
|
715
|
+
*/
|
|
716
|
+
hooks?: string;
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: optional uint32 page_size = 8;
|
|
719
|
+
*/
|
|
720
|
+
pageSize?: number;
|
|
721
|
+
/**
|
|
722
|
+
* @generated from field: optional string page_token = 9;
|
|
723
|
+
*/
|
|
724
|
+
pageToken?: string;
|
|
725
|
+
constructor(data?: PartialMessage<ListPoolsRequest>);
|
|
726
|
+
static readonly runtime: typeof proto3;
|
|
727
|
+
static readonly typeName = "data.v1.ListPoolsRequest";
|
|
728
|
+
static readonly fields: FieldList;
|
|
729
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPoolsRequest;
|
|
730
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPoolsRequest;
|
|
731
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPoolsRequest;
|
|
732
|
+
static equals(a: ListPoolsRequest | PlainMessage<ListPoolsRequest> | undefined, b: ListPoolsRequest | PlainMessage<ListPoolsRequest> | undefined): boolean;
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* @generated from message data.v1.ListPoolsResponse
|
|
736
|
+
*/
|
|
737
|
+
export declare class ListPoolsResponse extends Message<ListPoolsResponse> {
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: repeated pools.v1.Pool pools = 1;
|
|
740
|
+
*/
|
|
741
|
+
pools: Pool[];
|
|
742
|
+
/**
|
|
743
|
+
* @generated from field: optional string next_page_token = 2;
|
|
744
|
+
*/
|
|
745
|
+
nextPageToken?: string;
|
|
746
|
+
constructor(data?: PartialMessage<ListPoolsResponse>);
|
|
747
|
+
static readonly runtime: typeof proto3;
|
|
748
|
+
static readonly typeName = "data.v1.ListPoolsResponse";
|
|
749
|
+
static readonly fields: FieldList;
|
|
750
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPoolsResponse;
|
|
751
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPoolsResponse;
|
|
752
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPoolsResponse;
|
|
753
|
+
static equals(a: ListPoolsResponse | PlainMessage<ListPoolsResponse> | undefined, b: ListPoolsResponse | PlainMessage<ListPoolsResponse> | undefined): boolean;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* @generated from message data.v1.ListPositionsRequest
|
|
757
|
+
*/
|
|
758
|
+
export declare class ListPositionsRequest extends Message<ListPositionsRequest> {
|
|
759
|
+
/**
|
|
760
|
+
* @generated from field: string address = 1;
|
|
761
|
+
*/
|
|
762
|
+
address: string;
|
|
763
|
+
/**
|
|
764
|
+
* default all chains
|
|
765
|
+
*
|
|
766
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
767
|
+
*/
|
|
768
|
+
chainIds: number[];
|
|
769
|
+
/**
|
|
770
|
+
* default all versions
|
|
771
|
+
*
|
|
772
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 3;
|
|
773
|
+
*/
|
|
774
|
+
protocolVersions: ProtocolVersion[];
|
|
775
|
+
/**
|
|
776
|
+
* default all position statuses
|
|
777
|
+
*
|
|
778
|
+
* @generated from field: repeated pools.v1.PositionStatus position_statuses = 4;
|
|
779
|
+
*/
|
|
780
|
+
positionStatuses: PositionStatus[];
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: optional uint32 page_size = 5;
|
|
783
|
+
*/
|
|
784
|
+
pageSize?: number;
|
|
785
|
+
/**
|
|
786
|
+
* @generated from field: optional string page_token = 6;
|
|
787
|
+
*/
|
|
788
|
+
pageToken?: string;
|
|
789
|
+
/**
|
|
790
|
+
* default creation date
|
|
791
|
+
*
|
|
792
|
+
* @generated from field: optional data.v1.OrderBy order_by = 7;
|
|
793
|
+
*/
|
|
794
|
+
orderBy?: OrderBy;
|
|
795
|
+
/**
|
|
796
|
+
* default false
|
|
797
|
+
*
|
|
798
|
+
* @generated from field: optional bool ascending = 8;
|
|
799
|
+
*/
|
|
800
|
+
ascending?: boolean;
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: optional string poolId = 9;
|
|
803
|
+
*/
|
|
804
|
+
poolId?: string;
|
|
805
|
+
/**
|
|
806
|
+
* @generated from field: optional string token0 = 10;
|
|
807
|
+
*/
|
|
808
|
+
token0?: string;
|
|
809
|
+
/**
|
|
810
|
+
* @generated from field: optional string token1 = 11;
|
|
811
|
+
*/
|
|
812
|
+
token1?: string;
|
|
813
|
+
/**
|
|
814
|
+
* default false; hides spam
|
|
815
|
+
*
|
|
816
|
+
* @generated from field: optional bool include_hidden = 12;
|
|
817
|
+
*/
|
|
818
|
+
includeHidden?: boolean;
|
|
819
|
+
constructor(data?: PartialMessage<ListPositionsRequest>);
|
|
820
|
+
static readonly runtime: typeof proto3;
|
|
821
|
+
static readonly typeName = "data.v1.ListPositionsRequest";
|
|
822
|
+
static readonly fields: FieldList;
|
|
823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPositionsRequest;
|
|
824
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPositionsRequest;
|
|
825
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPositionsRequest;
|
|
826
|
+
static equals(a: ListPositionsRequest | PlainMessage<ListPositionsRequest> | undefined, b: ListPositionsRequest | PlainMessage<ListPositionsRequest> | undefined): boolean;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @generated from message data.v1.ListPositionsResponse
|
|
830
|
+
*/
|
|
831
|
+
export declare class ListPositionsResponse extends Message<ListPositionsResponse> {
|
|
832
|
+
/**
|
|
833
|
+
* @generated from field: repeated pools.v1.Position positions = 1;
|
|
834
|
+
*/
|
|
835
|
+
positions: Position[];
|
|
836
|
+
/**
|
|
837
|
+
* @generated from field: optional string next_page_token = 2;
|
|
838
|
+
*/
|
|
839
|
+
nextPageToken?: string;
|
|
840
|
+
constructor(data?: PartialMessage<ListPositionsResponse>);
|
|
841
|
+
static readonly runtime: typeof proto3;
|
|
842
|
+
static readonly typeName = "data.v1.ListPositionsResponse";
|
|
843
|
+
static readonly fields: FieldList;
|
|
844
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPositionsResponse;
|
|
845
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPositionsResponse;
|
|
846
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPositionsResponse;
|
|
847
|
+
static equals(a: ListPositionsResponse | PlainMessage<ListPositionsResponse> | undefined, b: ListPositionsResponse | PlainMessage<ListPositionsResponse> | undefined): boolean;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* @generated from message data.v1.GetRewardsRequest
|
|
851
|
+
*/
|
|
852
|
+
export declare class GetRewardsRequest extends Message<GetRewardsRequest> {
|
|
853
|
+
/**
|
|
854
|
+
* @generated from field: string wallet_address = 1;
|
|
855
|
+
*/
|
|
856
|
+
walletAddress: string;
|
|
857
|
+
/**
|
|
858
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
859
|
+
*/
|
|
860
|
+
chainIds: number[];
|
|
861
|
+
/**
|
|
862
|
+
* @generated from field: optional bool reload = 3;
|
|
863
|
+
*/
|
|
864
|
+
reload?: boolean;
|
|
865
|
+
constructor(data?: PartialMessage<GetRewardsRequest>);
|
|
866
|
+
static readonly runtime: typeof proto3;
|
|
867
|
+
static readonly typeName = "data.v1.GetRewardsRequest";
|
|
868
|
+
static readonly fields: FieldList;
|
|
869
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRewardsRequest;
|
|
870
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRewardsRequest;
|
|
871
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRewardsRequest;
|
|
872
|
+
static equals(a: GetRewardsRequest | PlainMessage<GetRewardsRequest> | undefined, b: GetRewardsRequest | PlainMessage<GetRewardsRequest> | undefined): boolean;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* @generated from message data.v1.GetRewardsResponse
|
|
876
|
+
*/
|
|
877
|
+
export declare class GetRewardsResponse extends Message<GetRewardsResponse> {
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: string total_unclaimed_amount_uni = 1;
|
|
880
|
+
*/
|
|
881
|
+
totalUnclaimedAmountUni: string;
|
|
882
|
+
constructor(data?: PartialMessage<GetRewardsResponse>);
|
|
883
|
+
static readonly runtime: typeof proto3;
|
|
884
|
+
static readonly typeName = "data.v1.GetRewardsResponse";
|
|
885
|
+
static readonly fields: FieldList;
|
|
886
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRewardsResponse;
|
|
887
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRewardsResponse;
|
|
888
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRewardsResponse;
|
|
889
|
+
static equals(a: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined, b: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined): boolean;
|
|
890
|
+
}
|