@uniswap/client-data-api 0.0.77 → 0.0.78
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 +27 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +27 -1
- package/dist/data/v1/api_connect.d.ts +19 -1
- package/dist/data/v1/api_connect.js +19 -1
- package/dist/data/v1/api_pb.d.ts +138 -0
- package/dist/data/v1/api_pb.js +185 -0
- package/dist/data/v1/types_pb.d.ts +29 -0
- package/dist/data/v1/types_pb.js +45 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -299,6 +299,32 @@ export declare const getWalletTokenProfitLoss: {
|
|
|
299
299
|
readonly typeName: "data.v1.DataApiService";
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
|
+
/**
|
|
303
|
+
* @generated from rpc data.v1.DataApiService.GetWalletBalances
|
|
304
|
+
*/
|
|
305
|
+
export declare const getWalletBalances: {
|
|
306
|
+
readonly localName: "getWalletBalances";
|
|
307
|
+
readonly name: "GetWalletBalances";
|
|
308
|
+
readonly kind: MethodKind.Unary;
|
|
309
|
+
readonly I: typeof GetWalletBalancesRequest;
|
|
310
|
+
readonly O: typeof GetWalletBalancesResponse;
|
|
311
|
+
readonly service: {
|
|
312
|
+
readonly typeName: "data.v1.DataApiService";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* @generated from rpc data.v1.DataApiService.GetWalletsBalances
|
|
317
|
+
*/
|
|
318
|
+
export declare const getWalletsBalances: {
|
|
319
|
+
readonly localName: "getWalletsBalances";
|
|
320
|
+
readonly name: "GetWalletsBalances";
|
|
321
|
+
readonly kind: MethodKind.Unary;
|
|
322
|
+
readonly I: typeof GetWalletsBalancesRequest;
|
|
323
|
+
readonly O: typeof GetWalletsBalancesResponse;
|
|
324
|
+
readonly service: {
|
|
325
|
+
readonly typeName: "data.v1.DataApiService";
|
|
326
|
+
};
|
|
327
|
+
};
|
|
302
328
|
/**
|
|
303
329
|
* @generated from rpc data.v1.DataApiService.SubmitDataReport
|
|
304
330
|
*/
|
|
@@ -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, 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, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -303,6 +303,32 @@ export const getWalletTokenProfitLoss = {
|
|
|
303
303
|
typeName: "data.v1.DataApiService"
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
|
+
/**
|
|
307
|
+
* @generated from rpc data.v1.DataApiService.GetWalletBalances
|
|
308
|
+
*/
|
|
309
|
+
export const getWalletBalances = {
|
|
310
|
+
localName: "getWalletBalances",
|
|
311
|
+
name: "GetWalletBalances",
|
|
312
|
+
kind: MethodKind.Unary,
|
|
313
|
+
I: GetWalletBalancesRequest,
|
|
314
|
+
O: GetWalletBalancesResponse,
|
|
315
|
+
service: {
|
|
316
|
+
typeName: "data.v1.DataApiService"
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* @generated from rpc data.v1.DataApiService.GetWalletsBalances
|
|
321
|
+
*/
|
|
322
|
+
export const getWalletsBalances = {
|
|
323
|
+
localName: "getWalletsBalances",
|
|
324
|
+
name: "GetWalletsBalances",
|
|
325
|
+
kind: MethodKind.Unary,
|
|
326
|
+
I: GetWalletsBalancesRequest,
|
|
327
|
+
O: GetWalletsBalancesResponse,
|
|
328
|
+
service: {
|
|
329
|
+
typeName: "data.v1.DataApiService"
|
|
330
|
+
}
|
|
331
|
+
};
|
|
306
332
|
/**
|
|
307
333
|
* @generated from rpc data.v1.DataApiService.SubmitDataReport
|
|
308
334
|
*/
|
|
@@ -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, 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, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, 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
|
|
@@ -213,6 +213,24 @@ export declare const DataApiService: {
|
|
|
213
213
|
readonly O: typeof GetWalletTokenProfitLossResponse;
|
|
214
214
|
readonly kind: MethodKind.Unary;
|
|
215
215
|
};
|
|
216
|
+
/**
|
|
217
|
+
* @generated from rpc data.v1.DataApiService.GetWalletBalances
|
|
218
|
+
*/
|
|
219
|
+
readonly getWalletBalances: {
|
|
220
|
+
readonly name: "GetWalletBalances";
|
|
221
|
+
readonly I: typeof GetWalletBalancesRequest;
|
|
222
|
+
readonly O: typeof GetWalletBalancesResponse;
|
|
223
|
+
readonly kind: MethodKind.Unary;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @generated from rpc data.v1.DataApiService.GetWalletsBalances
|
|
227
|
+
*/
|
|
228
|
+
readonly getWalletsBalances: {
|
|
229
|
+
readonly name: "GetWalletsBalances";
|
|
230
|
+
readonly I: typeof GetWalletsBalancesRequest;
|
|
231
|
+
readonly O: typeof GetWalletsBalancesResponse;
|
|
232
|
+
readonly kind: MethodKind.Unary;
|
|
233
|
+
};
|
|
216
234
|
/**
|
|
217
235
|
* @generated from rpc data.v1.DataApiService.SubmitDataReport
|
|
218
236
|
*/
|
|
@@ -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, 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, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, 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
|
|
@@ -217,6 +217,24 @@ export const DataApiService = {
|
|
|
217
217
|
O: GetWalletTokenProfitLossResponse,
|
|
218
218
|
kind: MethodKind.Unary,
|
|
219
219
|
},
|
|
220
|
+
/**
|
|
221
|
+
* @generated from rpc data.v1.DataApiService.GetWalletBalances
|
|
222
|
+
*/
|
|
223
|
+
getWalletBalances: {
|
|
224
|
+
name: "GetWalletBalances",
|
|
225
|
+
I: GetWalletBalancesRequest,
|
|
226
|
+
O: GetWalletBalancesResponse,
|
|
227
|
+
kind: MethodKind.Unary,
|
|
228
|
+
},
|
|
229
|
+
/**
|
|
230
|
+
* @generated from rpc data.v1.DataApiService.GetWalletsBalances
|
|
231
|
+
*/
|
|
232
|
+
getWalletsBalances: {
|
|
233
|
+
name: "GetWalletsBalances",
|
|
234
|
+
I: GetWalletsBalancesRequest,
|
|
235
|
+
O: GetWalletsBalancesResponse,
|
|
236
|
+
kind: MethodKind.Unary,
|
|
237
|
+
},
|
|
220
238
|
/**
|
|
221
239
|
* @generated from rpc data.v1.DataApiService.SubmitDataReport
|
|
222
240
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1662,3 +1662,141 @@ export declare class GetWalletTokenProfitLossResponse extends Message<GetWalletT
|
|
|
1662
1662
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletTokenProfitLossResponse;
|
|
1663
1663
|
static equals(a: GetWalletTokenProfitLossResponse | PlainMessage<GetWalletTokenProfitLossResponse> | undefined, b: GetWalletTokenProfitLossResponse | PlainMessage<GetWalletTokenProfitLossResponse> | undefined): boolean;
|
|
1664
1664
|
}
|
|
1665
|
+
/**
|
|
1666
|
+
* @generated from message data.v1.GetWalletBalancesRequest
|
|
1667
|
+
*/
|
|
1668
|
+
export declare class GetWalletBalancesRequest extends Message<GetWalletBalancesRequest> {
|
|
1669
|
+
/**
|
|
1670
|
+
* @generated from field: data.v1.WalletAccount wallet_account = 1;
|
|
1671
|
+
*/
|
|
1672
|
+
walletAccount?: WalletAccount;
|
|
1673
|
+
/**
|
|
1674
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
1675
|
+
*/
|
|
1676
|
+
chainIds: number[];
|
|
1677
|
+
/**
|
|
1678
|
+
* @generated from field: optional data.v1.PortfolioValueModifier modifier = 3;
|
|
1679
|
+
*/
|
|
1680
|
+
modifier?: PortfolioValueModifier;
|
|
1681
|
+
constructor(data?: PartialMessage<GetWalletBalancesRequest>);
|
|
1682
|
+
static readonly runtime: typeof proto3;
|
|
1683
|
+
static readonly typeName = "data.v1.GetWalletBalancesRequest";
|
|
1684
|
+
static readonly fields: FieldList;
|
|
1685
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletBalancesRequest;
|
|
1686
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletBalancesRequest;
|
|
1687
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletBalancesRequest;
|
|
1688
|
+
static equals(a: GetWalletBalancesRequest | PlainMessage<GetWalletBalancesRequest> | undefined, b: GetWalletBalancesRequest | PlainMessage<GetWalletBalancesRequest> | undefined): boolean;
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* @generated from message data.v1.GetWalletBalancesResponse
|
|
1692
|
+
*/
|
|
1693
|
+
export declare class GetWalletBalancesResponse extends Message<GetWalletBalancesResponse> {
|
|
1694
|
+
/**
|
|
1695
|
+
* @generated from field: data.v1.WalletBalance balance = 1;
|
|
1696
|
+
*/
|
|
1697
|
+
balance?: WalletBalance;
|
|
1698
|
+
constructor(data?: PartialMessage<GetWalletBalancesResponse>);
|
|
1699
|
+
static readonly runtime: typeof proto3;
|
|
1700
|
+
static readonly typeName = "data.v1.GetWalletBalancesResponse";
|
|
1701
|
+
static readonly fields: FieldList;
|
|
1702
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletBalancesResponse;
|
|
1703
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletBalancesResponse;
|
|
1704
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletBalancesResponse;
|
|
1705
|
+
static equals(a: GetWalletBalancesResponse | PlainMessage<GetWalletBalancesResponse> | undefined, b: GetWalletBalancesResponse | PlainMessage<GetWalletBalancesResponse> | undefined): boolean;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* @generated from message data.v1.GetWalletsBalancesRequest
|
|
1709
|
+
*/
|
|
1710
|
+
export declare class GetWalletsBalancesRequest extends Message<GetWalletsBalancesRequest> {
|
|
1711
|
+
/**
|
|
1712
|
+
* @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
|
|
1713
|
+
*/
|
|
1714
|
+
walletAccounts: WalletAccount[];
|
|
1715
|
+
/**
|
|
1716
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
1717
|
+
*/
|
|
1718
|
+
chainIds: number[];
|
|
1719
|
+
/**
|
|
1720
|
+
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
1721
|
+
*/
|
|
1722
|
+
modifiers: PortfolioValueModifier[];
|
|
1723
|
+
constructor(data?: PartialMessage<GetWalletsBalancesRequest>);
|
|
1724
|
+
static readonly runtime: typeof proto3;
|
|
1725
|
+
static readonly typeName = "data.v1.GetWalletsBalancesRequest";
|
|
1726
|
+
static readonly fields: FieldList;
|
|
1727
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletsBalancesRequest;
|
|
1728
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletsBalancesRequest;
|
|
1729
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletsBalancesRequest;
|
|
1730
|
+
static equals(a: GetWalletsBalancesRequest | PlainMessage<GetWalletsBalancesRequest> | undefined, b: GetWalletsBalancesRequest | PlainMessage<GetWalletsBalancesRequest> | undefined): boolean;
|
|
1731
|
+
}
|
|
1732
|
+
/**
|
|
1733
|
+
* @generated from message data.v1.GetWalletsBalancesResponse
|
|
1734
|
+
*/
|
|
1735
|
+
export declare class GetWalletsBalancesResponse extends Message<GetWalletsBalancesResponse> {
|
|
1736
|
+
/**
|
|
1737
|
+
* @generated from field: repeated data.v1.WalletBalance balances = 1;
|
|
1738
|
+
*/
|
|
1739
|
+
balances: WalletBalance[];
|
|
1740
|
+
constructor(data?: PartialMessage<GetWalletsBalancesResponse>);
|
|
1741
|
+
static readonly runtime: typeof proto3;
|
|
1742
|
+
static readonly typeName = "data.v1.GetWalletsBalancesResponse";
|
|
1743
|
+
static readonly fields: FieldList;
|
|
1744
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletsBalancesResponse;
|
|
1745
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletsBalancesResponse;
|
|
1746
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletsBalancesResponse;
|
|
1747
|
+
static equals(a: GetWalletsBalancesResponse | PlainMessage<GetWalletsBalancesResponse> | undefined, b: GetWalletsBalancesResponse | PlainMessage<GetWalletsBalancesResponse> | undefined): boolean;
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* @generated from message data.v1.WalletBalance
|
|
1751
|
+
*/
|
|
1752
|
+
export declare class WalletBalance extends Message<WalletBalance> {
|
|
1753
|
+
/**
|
|
1754
|
+
* @generated from field: data.v1.BalanceComponent total = 1;
|
|
1755
|
+
*/
|
|
1756
|
+
total?: BalanceComponent;
|
|
1757
|
+
/**
|
|
1758
|
+
* @generated from field: data.v1.BalanceComponent tokens = 2;
|
|
1759
|
+
*/
|
|
1760
|
+
tokens?: BalanceComponent;
|
|
1761
|
+
/**
|
|
1762
|
+
* @generated from field: data.v1.BalanceComponent pools = 3;
|
|
1763
|
+
*/
|
|
1764
|
+
pools?: BalanceComponent;
|
|
1765
|
+
/**
|
|
1766
|
+
* @generated from field: data.v1.WalletAccount wallet_account = 4;
|
|
1767
|
+
*/
|
|
1768
|
+
walletAccount?: WalletAccount;
|
|
1769
|
+
constructor(data?: PartialMessage<WalletBalance>);
|
|
1770
|
+
static readonly runtime: typeof proto3;
|
|
1771
|
+
static readonly typeName = "data.v1.WalletBalance";
|
|
1772
|
+
static readonly fields: FieldList;
|
|
1773
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletBalance;
|
|
1774
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletBalance;
|
|
1775
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletBalance;
|
|
1776
|
+
static equals(a: WalletBalance | PlainMessage<WalletBalance> | undefined, b: WalletBalance | PlainMessage<WalletBalance> | undefined): boolean;
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* @generated from message data.v1.BalanceComponent
|
|
1780
|
+
*/
|
|
1781
|
+
export declare class BalanceComponent extends Message<BalanceComponent> {
|
|
1782
|
+
/**
|
|
1783
|
+
* @generated from field: optional double value_usd = 1;
|
|
1784
|
+
*/
|
|
1785
|
+
valueUsd?: number;
|
|
1786
|
+
/**
|
|
1787
|
+
* @generated from field: optional double absolute_change_1d = 2;
|
|
1788
|
+
*/
|
|
1789
|
+
absoluteChange1d?: number;
|
|
1790
|
+
/**
|
|
1791
|
+
* @generated from field: optional double percent_change_1d = 3;
|
|
1792
|
+
*/
|
|
1793
|
+
percentChange1d?: number;
|
|
1794
|
+
constructor(data?: PartialMessage<BalanceComponent>);
|
|
1795
|
+
static readonly runtime: typeof proto3;
|
|
1796
|
+
static readonly typeName = "data.v1.BalanceComponent";
|
|
1797
|
+
static readonly fields: FieldList;
|
|
1798
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BalanceComponent;
|
|
1799
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BalanceComponent;
|
|
1800
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BalanceComponent;
|
|
1801
|
+
static equals(a: BalanceComponent | PlainMessage<BalanceComponent> | undefined, b: BalanceComponent | PlainMessage<BalanceComponent> | undefined): boolean;
|
|
1802
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -2239,3 +2239,188 @@ GetWalletTokenProfitLossResponse.fields = proto3.util.newFieldList(() => [
|
|
|
2239
2239
|
{ no: 1, name: "profit_loss", kind: "message", T: TokenDetailProfitLoss },
|
|
2240
2240
|
{ no: 2, name: "chain_breakdown", kind: "message", T: ChainTokenProfitLoss, repeated: true },
|
|
2241
2241
|
]);
|
|
2242
|
+
/**
|
|
2243
|
+
* @generated from message data.v1.GetWalletBalancesRequest
|
|
2244
|
+
*/
|
|
2245
|
+
export class GetWalletBalancesRequest extends Message {
|
|
2246
|
+
constructor(data) {
|
|
2247
|
+
super();
|
|
2248
|
+
/**
|
|
2249
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
2250
|
+
*/
|
|
2251
|
+
this.chainIds = [];
|
|
2252
|
+
proto3.util.initPartial(data, this);
|
|
2253
|
+
}
|
|
2254
|
+
static fromBinary(bytes, options) {
|
|
2255
|
+
return new GetWalletBalancesRequest().fromBinary(bytes, options);
|
|
2256
|
+
}
|
|
2257
|
+
static fromJson(jsonValue, options) {
|
|
2258
|
+
return new GetWalletBalancesRequest().fromJson(jsonValue, options);
|
|
2259
|
+
}
|
|
2260
|
+
static fromJsonString(jsonString, options) {
|
|
2261
|
+
return new GetWalletBalancesRequest().fromJsonString(jsonString, options);
|
|
2262
|
+
}
|
|
2263
|
+
static equals(a, b) {
|
|
2264
|
+
return proto3.util.equals(GetWalletBalancesRequest, a, b);
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
GetWalletBalancesRequest.runtime = proto3;
|
|
2268
|
+
GetWalletBalancesRequest.typeName = "data.v1.GetWalletBalancesRequest";
|
|
2269
|
+
GetWalletBalancesRequest.fields = proto3.util.newFieldList(() => [
|
|
2270
|
+
{ no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
|
|
2271
|
+
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
2272
|
+
{ no: 3, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
|
|
2273
|
+
]);
|
|
2274
|
+
/**
|
|
2275
|
+
* @generated from message data.v1.GetWalletBalancesResponse
|
|
2276
|
+
*/
|
|
2277
|
+
export class GetWalletBalancesResponse extends Message {
|
|
2278
|
+
constructor(data) {
|
|
2279
|
+
super();
|
|
2280
|
+
proto3.util.initPartial(data, this);
|
|
2281
|
+
}
|
|
2282
|
+
static fromBinary(bytes, options) {
|
|
2283
|
+
return new GetWalletBalancesResponse().fromBinary(bytes, options);
|
|
2284
|
+
}
|
|
2285
|
+
static fromJson(jsonValue, options) {
|
|
2286
|
+
return new GetWalletBalancesResponse().fromJson(jsonValue, options);
|
|
2287
|
+
}
|
|
2288
|
+
static fromJsonString(jsonString, options) {
|
|
2289
|
+
return new GetWalletBalancesResponse().fromJsonString(jsonString, options);
|
|
2290
|
+
}
|
|
2291
|
+
static equals(a, b) {
|
|
2292
|
+
return proto3.util.equals(GetWalletBalancesResponse, a, b);
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
GetWalletBalancesResponse.runtime = proto3;
|
|
2296
|
+
GetWalletBalancesResponse.typeName = "data.v1.GetWalletBalancesResponse";
|
|
2297
|
+
GetWalletBalancesResponse.fields = proto3.util.newFieldList(() => [
|
|
2298
|
+
{ no: 1, name: "balance", kind: "message", T: WalletBalance },
|
|
2299
|
+
]);
|
|
2300
|
+
/**
|
|
2301
|
+
* @generated from message data.v1.GetWalletsBalancesRequest
|
|
2302
|
+
*/
|
|
2303
|
+
export class GetWalletsBalancesRequest extends Message {
|
|
2304
|
+
constructor(data) {
|
|
2305
|
+
super();
|
|
2306
|
+
/**
|
|
2307
|
+
* @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
|
|
2308
|
+
*/
|
|
2309
|
+
this.walletAccounts = [];
|
|
2310
|
+
/**
|
|
2311
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
2312
|
+
*/
|
|
2313
|
+
this.chainIds = [];
|
|
2314
|
+
/**
|
|
2315
|
+
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
2316
|
+
*/
|
|
2317
|
+
this.modifiers = [];
|
|
2318
|
+
proto3.util.initPartial(data, this);
|
|
2319
|
+
}
|
|
2320
|
+
static fromBinary(bytes, options) {
|
|
2321
|
+
return new GetWalletsBalancesRequest().fromBinary(bytes, options);
|
|
2322
|
+
}
|
|
2323
|
+
static fromJson(jsonValue, options) {
|
|
2324
|
+
return new GetWalletsBalancesRequest().fromJson(jsonValue, options);
|
|
2325
|
+
}
|
|
2326
|
+
static fromJsonString(jsonString, options) {
|
|
2327
|
+
return new GetWalletsBalancesRequest().fromJsonString(jsonString, options);
|
|
2328
|
+
}
|
|
2329
|
+
static equals(a, b) {
|
|
2330
|
+
return proto3.util.equals(GetWalletsBalancesRequest, a, b);
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
GetWalletsBalancesRequest.runtime = proto3;
|
|
2334
|
+
GetWalletsBalancesRequest.typeName = "data.v1.GetWalletsBalancesRequest";
|
|
2335
|
+
GetWalletsBalancesRequest.fields = proto3.util.newFieldList(() => [
|
|
2336
|
+
{ no: 1, name: "wallet_accounts", kind: "message", T: WalletAccount, repeated: true },
|
|
2337
|
+
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
2338
|
+
{ no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
|
|
2339
|
+
]);
|
|
2340
|
+
/**
|
|
2341
|
+
* @generated from message data.v1.GetWalletsBalancesResponse
|
|
2342
|
+
*/
|
|
2343
|
+
export class GetWalletsBalancesResponse extends Message {
|
|
2344
|
+
constructor(data) {
|
|
2345
|
+
super();
|
|
2346
|
+
/**
|
|
2347
|
+
* @generated from field: repeated data.v1.WalletBalance balances = 1;
|
|
2348
|
+
*/
|
|
2349
|
+
this.balances = [];
|
|
2350
|
+
proto3.util.initPartial(data, this);
|
|
2351
|
+
}
|
|
2352
|
+
static fromBinary(bytes, options) {
|
|
2353
|
+
return new GetWalletsBalancesResponse().fromBinary(bytes, options);
|
|
2354
|
+
}
|
|
2355
|
+
static fromJson(jsonValue, options) {
|
|
2356
|
+
return new GetWalletsBalancesResponse().fromJson(jsonValue, options);
|
|
2357
|
+
}
|
|
2358
|
+
static fromJsonString(jsonString, options) {
|
|
2359
|
+
return new GetWalletsBalancesResponse().fromJsonString(jsonString, options);
|
|
2360
|
+
}
|
|
2361
|
+
static equals(a, b) {
|
|
2362
|
+
return proto3.util.equals(GetWalletsBalancesResponse, a, b);
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
GetWalletsBalancesResponse.runtime = proto3;
|
|
2366
|
+
GetWalletsBalancesResponse.typeName = "data.v1.GetWalletsBalancesResponse";
|
|
2367
|
+
GetWalletsBalancesResponse.fields = proto3.util.newFieldList(() => [
|
|
2368
|
+
{ no: 1, name: "balances", kind: "message", T: WalletBalance, repeated: true },
|
|
2369
|
+
]);
|
|
2370
|
+
/**
|
|
2371
|
+
* @generated from message data.v1.WalletBalance
|
|
2372
|
+
*/
|
|
2373
|
+
export class WalletBalance extends Message {
|
|
2374
|
+
constructor(data) {
|
|
2375
|
+
super();
|
|
2376
|
+
proto3.util.initPartial(data, this);
|
|
2377
|
+
}
|
|
2378
|
+
static fromBinary(bytes, options) {
|
|
2379
|
+
return new WalletBalance().fromBinary(bytes, options);
|
|
2380
|
+
}
|
|
2381
|
+
static fromJson(jsonValue, options) {
|
|
2382
|
+
return new WalletBalance().fromJson(jsonValue, options);
|
|
2383
|
+
}
|
|
2384
|
+
static fromJsonString(jsonString, options) {
|
|
2385
|
+
return new WalletBalance().fromJsonString(jsonString, options);
|
|
2386
|
+
}
|
|
2387
|
+
static equals(a, b) {
|
|
2388
|
+
return proto3.util.equals(WalletBalance, a, b);
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
WalletBalance.runtime = proto3;
|
|
2392
|
+
WalletBalance.typeName = "data.v1.WalletBalance";
|
|
2393
|
+
WalletBalance.fields = proto3.util.newFieldList(() => [
|
|
2394
|
+
{ no: 1, name: "total", kind: "message", T: BalanceComponent },
|
|
2395
|
+
{ no: 2, name: "tokens", kind: "message", T: BalanceComponent },
|
|
2396
|
+
{ no: 3, name: "pools", kind: "message", T: BalanceComponent },
|
|
2397
|
+
{ no: 4, name: "wallet_account", kind: "message", T: WalletAccount },
|
|
2398
|
+
]);
|
|
2399
|
+
/**
|
|
2400
|
+
* @generated from message data.v1.BalanceComponent
|
|
2401
|
+
*/
|
|
2402
|
+
export class BalanceComponent extends Message {
|
|
2403
|
+
constructor(data) {
|
|
2404
|
+
super();
|
|
2405
|
+
proto3.util.initPartial(data, this);
|
|
2406
|
+
}
|
|
2407
|
+
static fromBinary(bytes, options) {
|
|
2408
|
+
return new BalanceComponent().fromBinary(bytes, options);
|
|
2409
|
+
}
|
|
2410
|
+
static fromJson(jsonValue, options) {
|
|
2411
|
+
return new BalanceComponent().fromJson(jsonValue, options);
|
|
2412
|
+
}
|
|
2413
|
+
static fromJsonString(jsonString, options) {
|
|
2414
|
+
return new BalanceComponent().fromJsonString(jsonString, options);
|
|
2415
|
+
}
|
|
2416
|
+
static equals(a, b) {
|
|
2417
|
+
return proto3.util.equals(BalanceComponent, a, b);
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
BalanceComponent.runtime = proto3;
|
|
2421
|
+
BalanceComponent.typeName = "data.v1.BalanceComponent";
|
|
2422
|
+
BalanceComponent.fields = proto3.util.newFieldList(() => [
|
|
2423
|
+
{ no: 1, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2424
|
+
{ no: 2, name: "absolute_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2425
|
+
{ no: 3, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2426
|
+
]);
|
|
@@ -709,6 +709,14 @@ export declare class PortfolioValueModifier extends Message<PortfolioValueModifi
|
|
|
709
709
|
* @generated from field: uint32 balance_limit = 6;
|
|
710
710
|
*/
|
|
711
711
|
balanceLimit: number;
|
|
712
|
+
/**
|
|
713
|
+
* @generated from field: repeated data.v1.PoolRef pool_include_overrides = 7;
|
|
714
|
+
*/
|
|
715
|
+
poolIncludeOverrides: PoolRef[];
|
|
716
|
+
/**
|
|
717
|
+
* @generated from field: repeated data.v1.PoolRef pool_exclude_overrides = 8;
|
|
718
|
+
*/
|
|
719
|
+
poolExcludeOverrides: PoolRef[];
|
|
712
720
|
constructor(data?: PartialMessage<PortfolioValueModifier>);
|
|
713
721
|
static readonly runtime: typeof proto3;
|
|
714
722
|
static readonly typeName = "data.v1.PortfolioValueModifier";
|
|
@@ -718,6 +726,27 @@ export declare class PortfolioValueModifier extends Message<PortfolioValueModifi
|
|
|
718
726
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortfolioValueModifier;
|
|
719
727
|
static equals(a: PortfolioValueModifier | PlainMessage<PortfolioValueModifier> | undefined, b: PortfolioValueModifier | PlainMessage<PortfolioValueModifier> | undefined): boolean;
|
|
720
728
|
}
|
|
729
|
+
/**
|
|
730
|
+
* @generated from message data.v1.PoolRef
|
|
731
|
+
*/
|
|
732
|
+
export declare class PoolRef extends Message<PoolRef> {
|
|
733
|
+
/**
|
|
734
|
+
* @generated from field: uint32 chain_id = 1;
|
|
735
|
+
*/
|
|
736
|
+
chainId: number;
|
|
737
|
+
/**
|
|
738
|
+
* @generated from field: string pool_id = 2;
|
|
739
|
+
*/
|
|
740
|
+
poolId: string;
|
|
741
|
+
constructor(data?: PartialMessage<PoolRef>);
|
|
742
|
+
static readonly runtime: typeof proto3;
|
|
743
|
+
static readonly typeName = "data.v1.PoolRef";
|
|
744
|
+
static readonly fields: FieldList;
|
|
745
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolRef;
|
|
746
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolRef;
|
|
747
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolRef;
|
|
748
|
+
static equals(a: PoolRef | PlainMessage<PoolRef> | undefined, b: PoolRef | PlainMessage<PoolRef> | undefined): boolean;
|
|
749
|
+
}
|
|
721
750
|
/**
|
|
722
751
|
* @generated from message data.v1.Portfolio
|
|
723
752
|
*/
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -941,6 +941,14 @@ export class PortfolioValueModifier extends Message {
|
|
|
941
941
|
* @generated from field: uint32 balance_limit = 6;
|
|
942
942
|
*/
|
|
943
943
|
this.balanceLimit = 0;
|
|
944
|
+
/**
|
|
945
|
+
* @generated from field: repeated data.v1.PoolRef pool_include_overrides = 7;
|
|
946
|
+
*/
|
|
947
|
+
this.poolIncludeOverrides = [];
|
|
948
|
+
/**
|
|
949
|
+
* @generated from field: repeated data.v1.PoolRef pool_exclude_overrides = 8;
|
|
950
|
+
*/
|
|
951
|
+
this.poolExcludeOverrides = [];
|
|
944
952
|
proto3.util.initPartial(data, this);
|
|
945
953
|
}
|
|
946
954
|
static fromBinary(bytes, options) {
|
|
@@ -965,6 +973,43 @@ PortfolioValueModifier.fields = proto3.util.newFieldList(() => [
|
|
|
965
973
|
{ no: 4, name: "include_small_balances", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
966
974
|
{ no: 5, name: "include_spam_tokens", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
967
975
|
{ no: 6, name: "balance_limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
976
|
+
{ no: 7, name: "pool_include_overrides", kind: "message", T: PoolRef, repeated: true },
|
|
977
|
+
{ no: 8, name: "pool_exclude_overrides", kind: "message", T: PoolRef, repeated: true },
|
|
978
|
+
]);
|
|
979
|
+
/**
|
|
980
|
+
* @generated from message data.v1.PoolRef
|
|
981
|
+
*/
|
|
982
|
+
export class PoolRef extends Message {
|
|
983
|
+
constructor(data) {
|
|
984
|
+
super();
|
|
985
|
+
/**
|
|
986
|
+
* @generated from field: uint32 chain_id = 1;
|
|
987
|
+
*/
|
|
988
|
+
this.chainId = 0;
|
|
989
|
+
/**
|
|
990
|
+
* @generated from field: string pool_id = 2;
|
|
991
|
+
*/
|
|
992
|
+
this.poolId = "";
|
|
993
|
+
proto3.util.initPartial(data, this);
|
|
994
|
+
}
|
|
995
|
+
static fromBinary(bytes, options) {
|
|
996
|
+
return new PoolRef().fromBinary(bytes, options);
|
|
997
|
+
}
|
|
998
|
+
static fromJson(jsonValue, options) {
|
|
999
|
+
return new PoolRef().fromJson(jsonValue, options);
|
|
1000
|
+
}
|
|
1001
|
+
static fromJsonString(jsonString, options) {
|
|
1002
|
+
return new PoolRef().fromJsonString(jsonString, options);
|
|
1003
|
+
}
|
|
1004
|
+
static equals(a, b) {
|
|
1005
|
+
return proto3.util.equals(PoolRef, a, b);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
PoolRef.runtime = proto3;
|
|
1009
|
+
PoolRef.typeName = "data.v1.PoolRef";
|
|
1010
|
+
PoolRef.fields = proto3.util.newFieldList(() => [
|
|
1011
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1012
|
+
{ no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
968
1013
|
]);
|
|
969
1014
|
/**
|
|
970
1015
|
* @generated from message data.v1.Portfolio
|