@uniswap/client-data-api 0.0.89 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +14 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v1/api_connect.d.ts +10 -1
- package/dist/data/v1/api_connect.js +10 -1
- package/dist/data/v1/api_pb.d.ts +169 -0
- package/dist/data/v1/api_pb.js +250 -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, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRwasRequest, ListRwasResponse, 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, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, 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
|
*/
|
|
@@ -351,3 +351,16 @@ export declare const listRwas: {
|
|
|
351
351
|
readonly typeName: "data.v1.DataApiService";
|
|
352
352
|
};
|
|
353
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* @generated from rpc data.v1.DataApiService.ListRwaTokens
|
|
356
|
+
*/
|
|
357
|
+
export declare const listRwaTokens: {
|
|
358
|
+
readonly localName: "listRwaTokens";
|
|
359
|
+
readonly name: "ListRwaTokens";
|
|
360
|
+
readonly kind: MethodKind.Unary;
|
|
361
|
+
readonly I: typeof ListRwaTokensRequest;
|
|
362
|
+
readonly O: typeof ListRwaTokensResponse;
|
|
363
|
+
readonly service: {
|
|
364
|
+
readonly typeName: "data.v1.DataApiService";
|
|
365
|
+
};
|
|
366
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRwasRequest, ListRwasResponse, 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, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, 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
|
*/
|
|
@@ -355,3 +355,16 @@ export const listRwas = {
|
|
|
355
355
|
typeName: "data.v1.DataApiService"
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
|
+
/**
|
|
359
|
+
* @generated from rpc data.v1.DataApiService.ListRwaTokens
|
|
360
|
+
*/
|
|
361
|
+
export const listRwaTokens = {
|
|
362
|
+
localName: "listRwaTokens",
|
|
363
|
+
name: "ListRwaTokens",
|
|
364
|
+
kind: MethodKind.Unary,
|
|
365
|
+
I: ListRwaTokensRequest,
|
|
366
|
+
O: ListRwaTokensResponse,
|
|
367
|
+
service: {
|
|
368
|
+
typeName: "data.v1.DataApiService"
|
|
369
|
+
}
|
|
370
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRwasRequest, ListRwasResponse, 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, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, 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
|
|
@@ -249,5 +249,14 @@ export declare const DataApiService: {
|
|
|
249
249
|
readonly O: typeof ListRwasResponse;
|
|
250
250
|
readonly kind: MethodKind.Unary;
|
|
251
251
|
};
|
|
252
|
+
/**
|
|
253
|
+
* @generated from rpc data.v1.DataApiService.ListRwaTokens
|
|
254
|
+
*/
|
|
255
|
+
readonly listRwaTokens: {
|
|
256
|
+
readonly name: "ListRwaTokens";
|
|
257
|
+
readonly I: typeof ListRwaTokensRequest;
|
|
258
|
+
readonly O: typeof ListRwaTokensResponse;
|
|
259
|
+
readonly kind: MethodKind.Unary;
|
|
260
|
+
};
|
|
252
261
|
};
|
|
253
262
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRwasRequest, ListRwasResponse, 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, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, 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
|
|
@@ -253,5 +253,14 @@ export const DataApiService = {
|
|
|
253
253
|
O: ListRwasResponse,
|
|
254
254
|
kind: MethodKind.Unary,
|
|
255
255
|
},
|
|
256
|
+
/**
|
|
257
|
+
* @generated from rpc data.v1.DataApiService.ListRwaTokens
|
|
258
|
+
*/
|
|
259
|
+
listRwaTokens: {
|
|
260
|
+
name: "ListRwaTokens",
|
|
261
|
+
I: ListRwaTokensRequest,
|
|
262
|
+
O: ListRwaTokensResponse,
|
|
263
|
+
kind: MethodKind.Unary,
|
|
264
|
+
},
|
|
256
265
|
}
|
|
257
266
|
};
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -131,6 +131,19 @@ export declare enum ChartPeriod {
|
|
|
131
131
|
*/
|
|
132
132
|
MAX = 6
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum data.v1.RwaCategory
|
|
136
|
+
*/
|
|
137
|
+
export declare enum RwaCategory {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: RWA_CATEGORY_UNSPECIFIED = 0;
|
|
140
|
+
*/
|
|
141
|
+
UNSPECIFIED = 0,
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: RWA_CATEGORY_STOCKS = 1;
|
|
144
|
+
*/
|
|
145
|
+
STOCKS = 1
|
|
146
|
+
}
|
|
134
147
|
/**
|
|
135
148
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
136
149
|
*/
|
|
@@ -1890,3 +1903,159 @@ export declare class IssuerToken extends Message<IssuerToken> {
|
|
|
1890
1903
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IssuerToken;
|
|
1891
1904
|
static equals(a: IssuerToken | PlainMessage<IssuerToken> | undefined, b: IssuerToken | PlainMessage<IssuerToken> | undefined): boolean;
|
|
1892
1905
|
}
|
|
1906
|
+
/**
|
|
1907
|
+
* @generated from message data.v1.ListRwaTokensRequest
|
|
1908
|
+
*/
|
|
1909
|
+
export declare class ListRwaTokensRequest extends Message<ListRwaTokensRequest> {
|
|
1910
|
+
/**
|
|
1911
|
+
* @generated from field: data.v1.RwaCategory category = 1;
|
|
1912
|
+
*/
|
|
1913
|
+
category: RwaCategory;
|
|
1914
|
+
/**
|
|
1915
|
+
* Required, non-empty.
|
|
1916
|
+
*
|
|
1917
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
1918
|
+
*/
|
|
1919
|
+
chainIds: number[];
|
|
1920
|
+
constructor(data?: PartialMessage<ListRwaTokensRequest>);
|
|
1921
|
+
static readonly runtime: typeof proto3;
|
|
1922
|
+
static readonly typeName = "data.v1.ListRwaTokensRequest";
|
|
1923
|
+
static readonly fields: FieldList;
|
|
1924
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRwaTokensRequest;
|
|
1925
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRwaTokensRequest;
|
|
1926
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRwaTokensRequest;
|
|
1927
|
+
static equals(a: ListRwaTokensRequest | PlainMessage<ListRwaTokensRequest> | undefined, b: ListRwaTokensRequest | PlainMessage<ListRwaTokensRequest> | undefined): boolean;
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* @generated from message data.v1.ListRwaTokensResponse
|
|
1931
|
+
*/
|
|
1932
|
+
export declare class ListRwaTokensResponse extends Message<ListRwaTokensResponse> {
|
|
1933
|
+
/**
|
|
1934
|
+
* @generated from field: repeated data.v1.RwaToken tokens = 1;
|
|
1935
|
+
*/
|
|
1936
|
+
tokens: RwaToken[];
|
|
1937
|
+
constructor(data?: PartialMessage<ListRwaTokensResponse>);
|
|
1938
|
+
static readonly runtime: typeof proto3;
|
|
1939
|
+
static readonly typeName = "data.v1.ListRwaTokensResponse";
|
|
1940
|
+
static readonly fields: FieldList;
|
|
1941
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRwaTokensResponse;
|
|
1942
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRwaTokensResponse;
|
|
1943
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRwaTokensResponse;
|
|
1944
|
+
static equals(a: ListRwaTokensResponse | PlainMessage<ListRwaTokensResponse> | undefined, b: ListRwaTokensResponse | PlainMessage<ListRwaTokensResponse> | undefined): boolean;
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* @generated from message data.v1.RwaToken
|
|
1948
|
+
*/
|
|
1949
|
+
export declare class RwaToken extends Message<RwaToken> {
|
|
1950
|
+
/**
|
|
1951
|
+
* @generated from field: string symbol = 1;
|
|
1952
|
+
*/
|
|
1953
|
+
symbol: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* @generated from field: string name = 2;
|
|
1956
|
+
*/
|
|
1957
|
+
name: string;
|
|
1958
|
+
/**
|
|
1959
|
+
* @generated from field: string logo_url = 3;
|
|
1960
|
+
*/
|
|
1961
|
+
logoUrl: string;
|
|
1962
|
+
/**
|
|
1963
|
+
* @generated from field: string issuer = 4;
|
|
1964
|
+
*/
|
|
1965
|
+
issuer: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* @generated from field: double price_usd = 5;
|
|
1968
|
+
*/
|
|
1969
|
+
priceUsd: number;
|
|
1970
|
+
/**
|
|
1971
|
+
* @generated from field: double volume_24h_usd = 6;
|
|
1972
|
+
*/
|
|
1973
|
+
volume24hUsd: number;
|
|
1974
|
+
/**
|
|
1975
|
+
* @generated from field: optional double fdv_usd = 7;
|
|
1976
|
+
*/
|
|
1977
|
+
fdvUsd?: number;
|
|
1978
|
+
/**
|
|
1979
|
+
* @generated from field: optional double price_change_1h_pct = 8;
|
|
1980
|
+
*/
|
|
1981
|
+
priceChange1hPct?: number;
|
|
1982
|
+
/**
|
|
1983
|
+
* @generated from field: optional double price_change_24h_pct = 9;
|
|
1984
|
+
*/
|
|
1985
|
+
priceChange24hPct?: number;
|
|
1986
|
+
/**
|
|
1987
|
+
* @generated from field: data.v1.RwaSparkline sparkline_1d = 10;
|
|
1988
|
+
*/
|
|
1989
|
+
sparkline1d?: RwaSparkline;
|
|
1990
|
+
/**
|
|
1991
|
+
* @generated from field: repeated data.v1.RwaChainToken chain_tokens = 11;
|
|
1992
|
+
*/
|
|
1993
|
+
chainTokens: RwaChainToken[];
|
|
1994
|
+
constructor(data?: PartialMessage<RwaToken>);
|
|
1995
|
+
static readonly runtime: typeof proto3;
|
|
1996
|
+
static readonly typeName = "data.v1.RwaToken";
|
|
1997
|
+
static readonly fields: FieldList;
|
|
1998
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaToken;
|
|
1999
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaToken;
|
|
2000
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaToken;
|
|
2001
|
+
static equals(a: RwaToken | PlainMessage<RwaToken> | undefined, b: RwaToken | PlainMessage<RwaToken> | undefined): boolean;
|
|
2002
|
+
}
|
|
2003
|
+
/**
|
|
2004
|
+
* @generated from message data.v1.RwaChainToken
|
|
2005
|
+
*/
|
|
2006
|
+
export declare class RwaChainToken extends Message<RwaChainToken> {
|
|
2007
|
+
/**
|
|
2008
|
+
* @generated from field: uint32 chain_id = 1;
|
|
2009
|
+
*/
|
|
2010
|
+
chainId: number;
|
|
2011
|
+
/**
|
|
2012
|
+
* @generated from field: string address = 2;
|
|
2013
|
+
*/
|
|
2014
|
+
address: string;
|
|
2015
|
+
constructor(data?: PartialMessage<RwaChainToken>);
|
|
2016
|
+
static readonly runtime: typeof proto3;
|
|
2017
|
+
static readonly typeName = "data.v1.RwaChainToken";
|
|
2018
|
+
static readonly fields: FieldList;
|
|
2019
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaChainToken;
|
|
2020
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaChainToken;
|
|
2021
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaChainToken;
|
|
2022
|
+
static equals(a: RwaChainToken | PlainMessage<RwaChainToken> | undefined, b: RwaChainToken | PlainMessage<RwaChainToken> | undefined): boolean;
|
|
2023
|
+
}
|
|
2024
|
+
/**
|
|
2025
|
+
* @generated from message data.v1.RwaSparkline
|
|
2026
|
+
*/
|
|
2027
|
+
export declare class RwaSparkline extends Message<RwaSparkline> {
|
|
2028
|
+
/**
|
|
2029
|
+
* @generated from field: repeated data.v1.RwaSparklinePoint points = 1;
|
|
2030
|
+
*/
|
|
2031
|
+
points: RwaSparklinePoint[];
|
|
2032
|
+
constructor(data?: PartialMessage<RwaSparkline>);
|
|
2033
|
+
static readonly runtime: typeof proto3;
|
|
2034
|
+
static readonly typeName = "data.v1.RwaSparkline";
|
|
2035
|
+
static readonly fields: FieldList;
|
|
2036
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaSparkline;
|
|
2037
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaSparkline;
|
|
2038
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaSparkline;
|
|
2039
|
+
static equals(a: RwaSparkline | PlainMessage<RwaSparkline> | undefined, b: RwaSparkline | PlainMessage<RwaSparkline> | undefined): boolean;
|
|
2040
|
+
}
|
|
2041
|
+
/**
|
|
2042
|
+
* @generated from message data.v1.RwaSparklinePoint
|
|
2043
|
+
*/
|
|
2044
|
+
export declare class RwaSparklinePoint extends Message<RwaSparklinePoint> {
|
|
2045
|
+
/**
|
|
2046
|
+
* @generated from field: int64 timestamp_s = 1;
|
|
2047
|
+
*/
|
|
2048
|
+
timestampS: bigint;
|
|
2049
|
+
/**
|
|
2050
|
+
* @generated from field: double value = 2;
|
|
2051
|
+
*/
|
|
2052
|
+
value: number;
|
|
2053
|
+
constructor(data?: PartialMessage<RwaSparklinePoint>);
|
|
2054
|
+
static readonly runtime: typeof proto3;
|
|
2055
|
+
static readonly typeName = "data.v1.RwaSparklinePoint";
|
|
2056
|
+
static readonly fields: FieldList;
|
|
2057
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaSparklinePoint;
|
|
2058
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaSparklinePoint;
|
|
2059
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaSparklinePoint;
|
|
2060
|
+
static equals(a: RwaSparklinePoint | PlainMessage<RwaSparklinePoint> | undefined, b: RwaSparklinePoint | PlainMessage<RwaSparklinePoint> | undefined): boolean;
|
|
2061
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -180,6 +180,25 @@ proto3.util.setEnumType(ChartPeriod, "data.v1.ChartPeriod", [
|
|
|
180
180
|
{ no: 5, name: "CHART_PERIOD_YEAR" },
|
|
181
181
|
{ no: 6, name: "CHART_PERIOD_MAX" },
|
|
182
182
|
]);
|
|
183
|
+
/**
|
|
184
|
+
* @generated from enum data.v1.RwaCategory
|
|
185
|
+
*/
|
|
186
|
+
export var RwaCategory;
|
|
187
|
+
(function (RwaCategory) {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from enum value: RWA_CATEGORY_UNSPECIFIED = 0;
|
|
190
|
+
*/
|
|
191
|
+
RwaCategory[RwaCategory["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: RWA_CATEGORY_STOCKS = 1;
|
|
194
|
+
*/
|
|
195
|
+
RwaCategory[RwaCategory["STOCKS"] = 1] = "STOCKS";
|
|
196
|
+
})(RwaCategory || (RwaCategory = {}));
|
|
197
|
+
// Retrieve enum metadata with: proto3.getEnumType(RwaCategory)
|
|
198
|
+
proto3.util.setEnumType(RwaCategory, "data.v1.RwaCategory", [
|
|
199
|
+
{ no: 0, name: "RWA_CATEGORY_UNSPECIFIED" },
|
|
200
|
+
{ no: 1, name: "RWA_CATEGORY_STOCKS" },
|
|
201
|
+
]);
|
|
183
202
|
/**
|
|
184
203
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
185
204
|
*/
|
|
@@ -2567,3 +2586,234 @@ IssuerToken.fields = proto3.util.newFieldList(() => [
|
|
|
2567
2586
|
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2568
2587
|
{ no: 3, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2569
2588
|
]);
|
|
2589
|
+
/**
|
|
2590
|
+
* @generated from message data.v1.ListRwaTokensRequest
|
|
2591
|
+
*/
|
|
2592
|
+
export class ListRwaTokensRequest extends Message {
|
|
2593
|
+
constructor(data) {
|
|
2594
|
+
super();
|
|
2595
|
+
/**
|
|
2596
|
+
* @generated from field: data.v1.RwaCategory category = 1;
|
|
2597
|
+
*/
|
|
2598
|
+
this.category = RwaCategory.UNSPECIFIED;
|
|
2599
|
+
/**
|
|
2600
|
+
* Required, non-empty.
|
|
2601
|
+
*
|
|
2602
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
2603
|
+
*/
|
|
2604
|
+
this.chainIds = [];
|
|
2605
|
+
proto3.util.initPartial(data, this);
|
|
2606
|
+
}
|
|
2607
|
+
static fromBinary(bytes, options) {
|
|
2608
|
+
return new ListRwaTokensRequest().fromBinary(bytes, options);
|
|
2609
|
+
}
|
|
2610
|
+
static fromJson(jsonValue, options) {
|
|
2611
|
+
return new ListRwaTokensRequest().fromJson(jsonValue, options);
|
|
2612
|
+
}
|
|
2613
|
+
static fromJsonString(jsonString, options) {
|
|
2614
|
+
return new ListRwaTokensRequest().fromJsonString(jsonString, options);
|
|
2615
|
+
}
|
|
2616
|
+
static equals(a, b) {
|
|
2617
|
+
return proto3.util.equals(ListRwaTokensRequest, a, b);
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
ListRwaTokensRequest.runtime = proto3;
|
|
2621
|
+
ListRwaTokensRequest.typeName = "data.v1.ListRwaTokensRequest";
|
|
2622
|
+
ListRwaTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
2623
|
+
{ no: 1, name: "category", kind: "enum", T: proto3.getEnumType(RwaCategory) },
|
|
2624
|
+
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
2625
|
+
]);
|
|
2626
|
+
/**
|
|
2627
|
+
* @generated from message data.v1.ListRwaTokensResponse
|
|
2628
|
+
*/
|
|
2629
|
+
export class ListRwaTokensResponse extends Message {
|
|
2630
|
+
constructor(data) {
|
|
2631
|
+
super();
|
|
2632
|
+
/**
|
|
2633
|
+
* @generated from field: repeated data.v1.RwaToken tokens = 1;
|
|
2634
|
+
*/
|
|
2635
|
+
this.tokens = [];
|
|
2636
|
+
proto3.util.initPartial(data, this);
|
|
2637
|
+
}
|
|
2638
|
+
static fromBinary(bytes, options) {
|
|
2639
|
+
return new ListRwaTokensResponse().fromBinary(bytes, options);
|
|
2640
|
+
}
|
|
2641
|
+
static fromJson(jsonValue, options) {
|
|
2642
|
+
return new ListRwaTokensResponse().fromJson(jsonValue, options);
|
|
2643
|
+
}
|
|
2644
|
+
static fromJsonString(jsonString, options) {
|
|
2645
|
+
return new ListRwaTokensResponse().fromJsonString(jsonString, options);
|
|
2646
|
+
}
|
|
2647
|
+
static equals(a, b) {
|
|
2648
|
+
return proto3.util.equals(ListRwaTokensResponse, a, b);
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
ListRwaTokensResponse.runtime = proto3;
|
|
2652
|
+
ListRwaTokensResponse.typeName = "data.v1.ListRwaTokensResponse";
|
|
2653
|
+
ListRwaTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
2654
|
+
{ no: 1, name: "tokens", kind: "message", T: RwaToken, repeated: true },
|
|
2655
|
+
]);
|
|
2656
|
+
/**
|
|
2657
|
+
* @generated from message data.v1.RwaToken
|
|
2658
|
+
*/
|
|
2659
|
+
export class RwaToken extends Message {
|
|
2660
|
+
constructor(data) {
|
|
2661
|
+
super();
|
|
2662
|
+
/**
|
|
2663
|
+
* @generated from field: string symbol = 1;
|
|
2664
|
+
*/
|
|
2665
|
+
this.symbol = "";
|
|
2666
|
+
/**
|
|
2667
|
+
* @generated from field: string name = 2;
|
|
2668
|
+
*/
|
|
2669
|
+
this.name = "";
|
|
2670
|
+
/**
|
|
2671
|
+
* @generated from field: string logo_url = 3;
|
|
2672
|
+
*/
|
|
2673
|
+
this.logoUrl = "";
|
|
2674
|
+
/**
|
|
2675
|
+
* @generated from field: string issuer = 4;
|
|
2676
|
+
*/
|
|
2677
|
+
this.issuer = "";
|
|
2678
|
+
/**
|
|
2679
|
+
* @generated from field: double price_usd = 5;
|
|
2680
|
+
*/
|
|
2681
|
+
this.priceUsd = 0;
|
|
2682
|
+
/**
|
|
2683
|
+
* @generated from field: double volume_24h_usd = 6;
|
|
2684
|
+
*/
|
|
2685
|
+
this.volume24hUsd = 0;
|
|
2686
|
+
/**
|
|
2687
|
+
* @generated from field: repeated data.v1.RwaChainToken chain_tokens = 11;
|
|
2688
|
+
*/
|
|
2689
|
+
this.chainTokens = [];
|
|
2690
|
+
proto3.util.initPartial(data, this);
|
|
2691
|
+
}
|
|
2692
|
+
static fromBinary(bytes, options) {
|
|
2693
|
+
return new RwaToken().fromBinary(bytes, options);
|
|
2694
|
+
}
|
|
2695
|
+
static fromJson(jsonValue, options) {
|
|
2696
|
+
return new RwaToken().fromJson(jsonValue, options);
|
|
2697
|
+
}
|
|
2698
|
+
static fromJsonString(jsonString, options) {
|
|
2699
|
+
return new RwaToken().fromJsonString(jsonString, options);
|
|
2700
|
+
}
|
|
2701
|
+
static equals(a, b) {
|
|
2702
|
+
return proto3.util.equals(RwaToken, a, b);
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
RwaToken.runtime = proto3;
|
|
2706
|
+
RwaToken.typeName = "data.v1.RwaToken";
|
|
2707
|
+
RwaToken.fields = proto3.util.newFieldList(() => [
|
|
2708
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2709
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2710
|
+
{ no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2711
|
+
{ no: 4, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2712
|
+
{ no: 5, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2713
|
+
{ no: 6, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2714
|
+
{ no: 7, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2715
|
+
{ no: 8, name: "price_change_1h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2716
|
+
{ no: 9, name: "price_change_24h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2717
|
+
{ no: 10, name: "sparkline_1d", kind: "message", T: RwaSparkline },
|
|
2718
|
+
{ no: 11, name: "chain_tokens", kind: "message", T: RwaChainToken, repeated: true },
|
|
2719
|
+
]);
|
|
2720
|
+
/**
|
|
2721
|
+
* @generated from message data.v1.RwaChainToken
|
|
2722
|
+
*/
|
|
2723
|
+
export class RwaChainToken extends Message {
|
|
2724
|
+
constructor(data) {
|
|
2725
|
+
super();
|
|
2726
|
+
/**
|
|
2727
|
+
* @generated from field: uint32 chain_id = 1;
|
|
2728
|
+
*/
|
|
2729
|
+
this.chainId = 0;
|
|
2730
|
+
/**
|
|
2731
|
+
* @generated from field: string address = 2;
|
|
2732
|
+
*/
|
|
2733
|
+
this.address = "";
|
|
2734
|
+
proto3.util.initPartial(data, this);
|
|
2735
|
+
}
|
|
2736
|
+
static fromBinary(bytes, options) {
|
|
2737
|
+
return new RwaChainToken().fromBinary(bytes, options);
|
|
2738
|
+
}
|
|
2739
|
+
static fromJson(jsonValue, options) {
|
|
2740
|
+
return new RwaChainToken().fromJson(jsonValue, options);
|
|
2741
|
+
}
|
|
2742
|
+
static fromJsonString(jsonString, options) {
|
|
2743
|
+
return new RwaChainToken().fromJsonString(jsonString, options);
|
|
2744
|
+
}
|
|
2745
|
+
static equals(a, b) {
|
|
2746
|
+
return proto3.util.equals(RwaChainToken, a, b);
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
RwaChainToken.runtime = proto3;
|
|
2750
|
+
RwaChainToken.typeName = "data.v1.RwaChainToken";
|
|
2751
|
+
RwaChainToken.fields = proto3.util.newFieldList(() => [
|
|
2752
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2753
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2754
|
+
]);
|
|
2755
|
+
/**
|
|
2756
|
+
* @generated from message data.v1.RwaSparkline
|
|
2757
|
+
*/
|
|
2758
|
+
export class RwaSparkline extends Message {
|
|
2759
|
+
constructor(data) {
|
|
2760
|
+
super();
|
|
2761
|
+
/**
|
|
2762
|
+
* @generated from field: repeated data.v1.RwaSparklinePoint points = 1;
|
|
2763
|
+
*/
|
|
2764
|
+
this.points = [];
|
|
2765
|
+
proto3.util.initPartial(data, this);
|
|
2766
|
+
}
|
|
2767
|
+
static fromBinary(bytes, options) {
|
|
2768
|
+
return new RwaSparkline().fromBinary(bytes, options);
|
|
2769
|
+
}
|
|
2770
|
+
static fromJson(jsonValue, options) {
|
|
2771
|
+
return new RwaSparkline().fromJson(jsonValue, options);
|
|
2772
|
+
}
|
|
2773
|
+
static fromJsonString(jsonString, options) {
|
|
2774
|
+
return new RwaSparkline().fromJsonString(jsonString, options);
|
|
2775
|
+
}
|
|
2776
|
+
static equals(a, b) {
|
|
2777
|
+
return proto3.util.equals(RwaSparkline, a, b);
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
RwaSparkline.runtime = proto3;
|
|
2781
|
+
RwaSparkline.typeName = "data.v1.RwaSparkline";
|
|
2782
|
+
RwaSparkline.fields = proto3.util.newFieldList(() => [
|
|
2783
|
+
{ no: 1, name: "points", kind: "message", T: RwaSparklinePoint, repeated: true },
|
|
2784
|
+
]);
|
|
2785
|
+
/**
|
|
2786
|
+
* @generated from message data.v1.RwaSparklinePoint
|
|
2787
|
+
*/
|
|
2788
|
+
export class RwaSparklinePoint extends Message {
|
|
2789
|
+
constructor(data) {
|
|
2790
|
+
super();
|
|
2791
|
+
/**
|
|
2792
|
+
* @generated from field: int64 timestamp_s = 1;
|
|
2793
|
+
*/
|
|
2794
|
+
this.timestampS = protoInt64.zero;
|
|
2795
|
+
/**
|
|
2796
|
+
* @generated from field: double value = 2;
|
|
2797
|
+
*/
|
|
2798
|
+
this.value = 0;
|
|
2799
|
+
proto3.util.initPartial(data, this);
|
|
2800
|
+
}
|
|
2801
|
+
static fromBinary(bytes, options) {
|
|
2802
|
+
return new RwaSparklinePoint().fromBinary(bytes, options);
|
|
2803
|
+
}
|
|
2804
|
+
static fromJson(jsonValue, options) {
|
|
2805
|
+
return new RwaSparklinePoint().fromJson(jsonValue, options);
|
|
2806
|
+
}
|
|
2807
|
+
static fromJsonString(jsonString, options) {
|
|
2808
|
+
return new RwaSparklinePoint().fromJsonString(jsonString, options);
|
|
2809
|
+
}
|
|
2810
|
+
static equals(a, b) {
|
|
2811
|
+
return proto3.util.equals(RwaSparklinePoint, a, b);
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
RwaSparklinePoint.runtime = proto3;
|
|
2815
|
+
RwaSparklinePoint.typeName = "data.v1.RwaSparklinePoint";
|
|
2816
|
+
RwaSparklinePoint.fields = proto3.util.newFieldList(() => [
|
|
2817
|
+
{ no: 1, name: "timestamp_s", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
2818
|
+
{ no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2819
|
+
]);
|