@uniswap/client-data-api 0.0.89 → 0.0.91
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 +230 -0
- package/dist/data/v1/api_pb.js +311 -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, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, 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.ListRankedRwas
|
|
356
|
+
*/
|
|
357
|
+
export declare const listRankedRwas: {
|
|
358
|
+
readonly localName: "listRankedRwas";
|
|
359
|
+
readonly name: "ListRankedRwas";
|
|
360
|
+
readonly kind: MethodKind.Unary;
|
|
361
|
+
readonly I: typeof ListRankedRwasRequest;
|
|
362
|
+
readonly O: typeof ListRankedRwasResponse;
|
|
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, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, 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.ListRankedRwas
|
|
360
|
+
*/
|
|
361
|
+
export const listRankedRwas = {
|
|
362
|
+
localName: "listRankedRwas",
|
|
363
|
+
name: "ListRankedRwas",
|
|
364
|
+
kind: MethodKind.Unary,
|
|
365
|
+
I: ListRankedRwasRequest,
|
|
366
|
+
O: ListRankedRwasResponse,
|
|
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, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, 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.ListRankedRwas
|
|
254
|
+
*/
|
|
255
|
+
readonly listRankedRwas: {
|
|
256
|
+
readonly name: "ListRankedRwas";
|
|
257
|
+
readonly I: typeof ListRankedRwasRequest;
|
|
258
|
+
readonly O: typeof ListRankedRwasResponse;
|
|
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, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, 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.ListRankedRwas
|
|
258
|
+
*/
|
|
259
|
+
listRankedRwas: {
|
|
260
|
+
name: "ListRankedRwas",
|
|
261
|
+
I: ListRankedRwasRequest,
|
|
262
|
+
O: ListRankedRwasResponse,
|
|
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,220 @@ 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.ListRankedRwasRequest
|
|
1908
|
+
*/
|
|
1909
|
+
export declare class ListRankedRwasRequest extends Message<ListRankedRwasRequest> {
|
|
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<ListRankedRwasRequest>);
|
|
1921
|
+
static readonly runtime: typeof proto3;
|
|
1922
|
+
static readonly typeName = "data.v1.ListRankedRwasRequest";
|
|
1923
|
+
static readonly fields: FieldList;
|
|
1924
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRankedRwasRequest;
|
|
1925
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRankedRwasRequest;
|
|
1926
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRankedRwasRequest;
|
|
1927
|
+
static equals(a: ListRankedRwasRequest | PlainMessage<ListRankedRwasRequest> | undefined, b: ListRankedRwasRequest | PlainMessage<ListRankedRwasRequest> | undefined): boolean;
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* @generated from message data.v1.ListRankedRwasResponse
|
|
1931
|
+
*/
|
|
1932
|
+
export declare class ListRankedRwasResponse extends Message<ListRankedRwasResponse> {
|
|
1933
|
+
/**
|
|
1934
|
+
* @generated from field: repeated data.v1.RankedRwa rwas = 1;
|
|
1935
|
+
*/
|
|
1936
|
+
rwas: RankedRwa[];
|
|
1937
|
+
constructor(data?: PartialMessage<ListRankedRwasResponse>);
|
|
1938
|
+
static readonly runtime: typeof proto3;
|
|
1939
|
+
static readonly typeName = "data.v1.ListRankedRwasResponse";
|
|
1940
|
+
static readonly fields: FieldList;
|
|
1941
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRankedRwasResponse;
|
|
1942
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRankedRwasResponse;
|
|
1943
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRankedRwasResponse;
|
|
1944
|
+
static equals(a: ListRankedRwasResponse | PlainMessage<ListRankedRwasResponse> | undefined, b: ListRankedRwasResponse | PlainMessage<ListRankedRwasResponse> | undefined): boolean;
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* @generated from message data.v1.RankedRwa
|
|
1948
|
+
*/
|
|
1949
|
+
export declare class RankedRwa extends Message<RankedRwa> {
|
|
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: double price_usd = 4;
|
|
1964
|
+
*/
|
|
1965
|
+
priceUsd: number;
|
|
1966
|
+
/**
|
|
1967
|
+
* @generated from field: double volume_24h_usd = 5;
|
|
1968
|
+
*/
|
|
1969
|
+
volume24hUsd: number;
|
|
1970
|
+
/**
|
|
1971
|
+
* @generated from field: optional double market_cap_usd = 6;
|
|
1972
|
+
*/
|
|
1973
|
+
marketCapUsd?: 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.IssuerMultichainToken issuer_tokens = 11;
|
|
1992
|
+
*/
|
|
1993
|
+
issuerTokens: IssuerMultichainToken[];
|
|
1994
|
+
constructor(data?: PartialMessage<RankedRwa>);
|
|
1995
|
+
static readonly runtime: typeof proto3;
|
|
1996
|
+
static readonly typeName = "data.v1.RankedRwa";
|
|
1997
|
+
static readonly fields: FieldList;
|
|
1998
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RankedRwa;
|
|
1999
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RankedRwa;
|
|
2000
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedRwa;
|
|
2001
|
+
static equals(a: RankedRwa | PlainMessage<RankedRwa> | undefined, b: RankedRwa | PlainMessage<RankedRwa> | undefined): boolean;
|
|
2002
|
+
}
|
|
2003
|
+
/**
|
|
2004
|
+
* @generated from message data.v1.IssuerMultichainToken
|
|
2005
|
+
*/
|
|
2006
|
+
export declare class IssuerMultichainToken extends Message<IssuerMultichainToken> {
|
|
2007
|
+
/**
|
|
2008
|
+
* @generated from field: string symbol = 1;
|
|
2009
|
+
*/
|
|
2010
|
+
symbol: string;
|
|
2011
|
+
/**
|
|
2012
|
+
* @generated from field: string name = 2;
|
|
2013
|
+
*/
|
|
2014
|
+
name: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated from field: string logo_url = 3;
|
|
2017
|
+
*/
|
|
2018
|
+
logoUrl: string;
|
|
2019
|
+
/**
|
|
2020
|
+
* @generated from field: string issuer = 4;
|
|
2021
|
+
*/
|
|
2022
|
+
issuer: string;
|
|
2023
|
+
/**
|
|
2024
|
+
* @generated from field: double price_usd = 5;
|
|
2025
|
+
*/
|
|
2026
|
+
priceUsd: number;
|
|
2027
|
+
/**
|
|
2028
|
+
* @generated from field: double volume_24h_usd = 6;
|
|
2029
|
+
*/
|
|
2030
|
+
volume24hUsd: number;
|
|
2031
|
+
/**
|
|
2032
|
+
* @generated from field: optional double market_cap_usd = 7;
|
|
2033
|
+
*/
|
|
2034
|
+
marketCapUsd?: number;
|
|
2035
|
+
/**
|
|
2036
|
+
* @generated from field: optional double fdv_usd = 8;
|
|
2037
|
+
*/
|
|
2038
|
+
fdvUsd?: number;
|
|
2039
|
+
/**
|
|
2040
|
+
* @generated from field: optional double price_change_1h_pct = 9;
|
|
2041
|
+
*/
|
|
2042
|
+
priceChange1hPct?: number;
|
|
2043
|
+
/**
|
|
2044
|
+
* @generated from field: optional double price_change_24h_pct = 10;
|
|
2045
|
+
*/
|
|
2046
|
+
priceChange24hPct?: number;
|
|
2047
|
+
/**
|
|
2048
|
+
* @generated from field: data.v1.RwaSparkline sparkline_1d = 11;
|
|
2049
|
+
*/
|
|
2050
|
+
sparkline1d?: RwaSparkline;
|
|
2051
|
+
/**
|
|
2052
|
+
* @generated from field: repeated data.v1.RwaChainToken chain_tokens = 12;
|
|
2053
|
+
*/
|
|
2054
|
+
chainTokens: RwaChainToken[];
|
|
2055
|
+
constructor(data?: PartialMessage<IssuerMultichainToken>);
|
|
2056
|
+
static readonly runtime: typeof proto3;
|
|
2057
|
+
static readonly typeName = "data.v1.IssuerMultichainToken";
|
|
2058
|
+
static readonly fields: FieldList;
|
|
2059
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IssuerMultichainToken;
|
|
2060
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IssuerMultichainToken;
|
|
2061
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IssuerMultichainToken;
|
|
2062
|
+
static equals(a: IssuerMultichainToken | PlainMessage<IssuerMultichainToken> | undefined, b: IssuerMultichainToken | PlainMessage<IssuerMultichainToken> | undefined): boolean;
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
* @generated from message data.v1.RwaChainToken
|
|
2066
|
+
*/
|
|
2067
|
+
export declare class RwaChainToken extends Message<RwaChainToken> {
|
|
2068
|
+
/**
|
|
2069
|
+
* @generated from field: uint32 chain_id = 1;
|
|
2070
|
+
*/
|
|
2071
|
+
chainId: number;
|
|
2072
|
+
/**
|
|
2073
|
+
* @generated from field: string address = 2;
|
|
2074
|
+
*/
|
|
2075
|
+
address: string;
|
|
2076
|
+
constructor(data?: PartialMessage<RwaChainToken>);
|
|
2077
|
+
static readonly runtime: typeof proto3;
|
|
2078
|
+
static readonly typeName = "data.v1.RwaChainToken";
|
|
2079
|
+
static readonly fields: FieldList;
|
|
2080
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaChainToken;
|
|
2081
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaChainToken;
|
|
2082
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaChainToken;
|
|
2083
|
+
static equals(a: RwaChainToken | PlainMessage<RwaChainToken> | undefined, b: RwaChainToken | PlainMessage<RwaChainToken> | undefined): boolean;
|
|
2084
|
+
}
|
|
2085
|
+
/**
|
|
2086
|
+
* @generated from message data.v1.RwaSparkline
|
|
2087
|
+
*/
|
|
2088
|
+
export declare class RwaSparkline extends Message<RwaSparkline> {
|
|
2089
|
+
/**
|
|
2090
|
+
* @generated from field: repeated data.v1.RwaSparklinePoint points = 1;
|
|
2091
|
+
*/
|
|
2092
|
+
points: RwaSparklinePoint[];
|
|
2093
|
+
constructor(data?: PartialMessage<RwaSparkline>);
|
|
2094
|
+
static readonly runtime: typeof proto3;
|
|
2095
|
+
static readonly typeName = "data.v1.RwaSparkline";
|
|
2096
|
+
static readonly fields: FieldList;
|
|
2097
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaSparkline;
|
|
2098
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaSparkline;
|
|
2099
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaSparkline;
|
|
2100
|
+
static equals(a: RwaSparkline | PlainMessage<RwaSparkline> | undefined, b: RwaSparkline | PlainMessage<RwaSparkline> | undefined): boolean;
|
|
2101
|
+
}
|
|
2102
|
+
/**
|
|
2103
|
+
* @generated from message data.v1.RwaSparklinePoint
|
|
2104
|
+
*/
|
|
2105
|
+
export declare class RwaSparklinePoint extends Message<RwaSparklinePoint> {
|
|
2106
|
+
/**
|
|
2107
|
+
* @generated from field: int64 timestamp_s = 1;
|
|
2108
|
+
*/
|
|
2109
|
+
timestampS: bigint;
|
|
2110
|
+
/**
|
|
2111
|
+
* @generated from field: double value = 2;
|
|
2112
|
+
*/
|
|
2113
|
+
value: number;
|
|
2114
|
+
constructor(data?: PartialMessage<RwaSparklinePoint>);
|
|
2115
|
+
static readonly runtime: typeof proto3;
|
|
2116
|
+
static readonly typeName = "data.v1.RwaSparklinePoint";
|
|
2117
|
+
static readonly fields: FieldList;
|
|
2118
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaSparklinePoint;
|
|
2119
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaSparklinePoint;
|
|
2120
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaSparklinePoint;
|
|
2121
|
+
static equals(a: RwaSparklinePoint | PlainMessage<RwaSparklinePoint> | undefined, b: RwaSparklinePoint | PlainMessage<RwaSparklinePoint> | undefined): boolean;
|
|
2122
|
+
}
|
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,295 @@ 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.ListRankedRwasRequest
|
|
2591
|
+
*/
|
|
2592
|
+
export class ListRankedRwasRequest 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 ListRankedRwasRequest().fromBinary(bytes, options);
|
|
2609
|
+
}
|
|
2610
|
+
static fromJson(jsonValue, options) {
|
|
2611
|
+
return new ListRankedRwasRequest().fromJson(jsonValue, options);
|
|
2612
|
+
}
|
|
2613
|
+
static fromJsonString(jsonString, options) {
|
|
2614
|
+
return new ListRankedRwasRequest().fromJsonString(jsonString, options);
|
|
2615
|
+
}
|
|
2616
|
+
static equals(a, b) {
|
|
2617
|
+
return proto3.util.equals(ListRankedRwasRequest, a, b);
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
ListRankedRwasRequest.runtime = proto3;
|
|
2621
|
+
ListRankedRwasRequest.typeName = "data.v1.ListRankedRwasRequest";
|
|
2622
|
+
ListRankedRwasRequest.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.ListRankedRwasResponse
|
|
2628
|
+
*/
|
|
2629
|
+
export class ListRankedRwasResponse extends Message {
|
|
2630
|
+
constructor(data) {
|
|
2631
|
+
super();
|
|
2632
|
+
/**
|
|
2633
|
+
* @generated from field: repeated data.v1.RankedRwa rwas = 1;
|
|
2634
|
+
*/
|
|
2635
|
+
this.rwas = [];
|
|
2636
|
+
proto3.util.initPartial(data, this);
|
|
2637
|
+
}
|
|
2638
|
+
static fromBinary(bytes, options) {
|
|
2639
|
+
return new ListRankedRwasResponse().fromBinary(bytes, options);
|
|
2640
|
+
}
|
|
2641
|
+
static fromJson(jsonValue, options) {
|
|
2642
|
+
return new ListRankedRwasResponse().fromJson(jsonValue, options);
|
|
2643
|
+
}
|
|
2644
|
+
static fromJsonString(jsonString, options) {
|
|
2645
|
+
return new ListRankedRwasResponse().fromJsonString(jsonString, options);
|
|
2646
|
+
}
|
|
2647
|
+
static equals(a, b) {
|
|
2648
|
+
return proto3.util.equals(ListRankedRwasResponse, a, b);
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
ListRankedRwasResponse.runtime = proto3;
|
|
2652
|
+
ListRankedRwasResponse.typeName = "data.v1.ListRankedRwasResponse";
|
|
2653
|
+
ListRankedRwasResponse.fields = proto3.util.newFieldList(() => [
|
|
2654
|
+
{ no: 1, name: "rwas", kind: "message", T: RankedRwa, repeated: true },
|
|
2655
|
+
]);
|
|
2656
|
+
/**
|
|
2657
|
+
* @generated from message data.v1.RankedRwa
|
|
2658
|
+
*/
|
|
2659
|
+
export class RankedRwa 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: double price_usd = 4;
|
|
2676
|
+
*/
|
|
2677
|
+
this.priceUsd = 0;
|
|
2678
|
+
/**
|
|
2679
|
+
* @generated from field: double volume_24h_usd = 5;
|
|
2680
|
+
*/
|
|
2681
|
+
this.volume24hUsd = 0;
|
|
2682
|
+
/**
|
|
2683
|
+
* @generated from field: repeated data.v1.IssuerMultichainToken issuer_tokens = 11;
|
|
2684
|
+
*/
|
|
2685
|
+
this.issuerTokens = [];
|
|
2686
|
+
proto3.util.initPartial(data, this);
|
|
2687
|
+
}
|
|
2688
|
+
static fromBinary(bytes, options) {
|
|
2689
|
+
return new RankedRwa().fromBinary(bytes, options);
|
|
2690
|
+
}
|
|
2691
|
+
static fromJson(jsonValue, options) {
|
|
2692
|
+
return new RankedRwa().fromJson(jsonValue, options);
|
|
2693
|
+
}
|
|
2694
|
+
static fromJsonString(jsonString, options) {
|
|
2695
|
+
return new RankedRwa().fromJsonString(jsonString, options);
|
|
2696
|
+
}
|
|
2697
|
+
static equals(a, b) {
|
|
2698
|
+
return proto3.util.equals(RankedRwa, a, b);
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
RankedRwa.runtime = proto3;
|
|
2702
|
+
RankedRwa.typeName = "data.v1.RankedRwa";
|
|
2703
|
+
RankedRwa.fields = proto3.util.newFieldList(() => [
|
|
2704
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2705
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2706
|
+
{ no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2707
|
+
{ no: 4, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2708
|
+
{ no: 5, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2709
|
+
{ no: 6, name: "market_cap_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2710
|
+
{ no: 7, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2711
|
+
{ no: 8, name: "price_change_1h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2712
|
+
{ no: 9, name: "price_change_24h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2713
|
+
{ no: 10, name: "sparkline_1d", kind: "message", T: RwaSparkline },
|
|
2714
|
+
{ no: 11, name: "issuer_tokens", kind: "message", T: IssuerMultichainToken, repeated: true },
|
|
2715
|
+
]);
|
|
2716
|
+
/**
|
|
2717
|
+
* @generated from message data.v1.IssuerMultichainToken
|
|
2718
|
+
*/
|
|
2719
|
+
export class IssuerMultichainToken extends Message {
|
|
2720
|
+
constructor(data) {
|
|
2721
|
+
super();
|
|
2722
|
+
/**
|
|
2723
|
+
* @generated from field: string symbol = 1;
|
|
2724
|
+
*/
|
|
2725
|
+
this.symbol = "";
|
|
2726
|
+
/**
|
|
2727
|
+
* @generated from field: string name = 2;
|
|
2728
|
+
*/
|
|
2729
|
+
this.name = "";
|
|
2730
|
+
/**
|
|
2731
|
+
* @generated from field: string logo_url = 3;
|
|
2732
|
+
*/
|
|
2733
|
+
this.logoUrl = "";
|
|
2734
|
+
/**
|
|
2735
|
+
* @generated from field: string issuer = 4;
|
|
2736
|
+
*/
|
|
2737
|
+
this.issuer = "";
|
|
2738
|
+
/**
|
|
2739
|
+
* @generated from field: double price_usd = 5;
|
|
2740
|
+
*/
|
|
2741
|
+
this.priceUsd = 0;
|
|
2742
|
+
/**
|
|
2743
|
+
* @generated from field: double volume_24h_usd = 6;
|
|
2744
|
+
*/
|
|
2745
|
+
this.volume24hUsd = 0;
|
|
2746
|
+
/**
|
|
2747
|
+
* @generated from field: repeated data.v1.RwaChainToken chain_tokens = 12;
|
|
2748
|
+
*/
|
|
2749
|
+
this.chainTokens = [];
|
|
2750
|
+
proto3.util.initPartial(data, this);
|
|
2751
|
+
}
|
|
2752
|
+
static fromBinary(bytes, options) {
|
|
2753
|
+
return new IssuerMultichainToken().fromBinary(bytes, options);
|
|
2754
|
+
}
|
|
2755
|
+
static fromJson(jsonValue, options) {
|
|
2756
|
+
return new IssuerMultichainToken().fromJson(jsonValue, options);
|
|
2757
|
+
}
|
|
2758
|
+
static fromJsonString(jsonString, options) {
|
|
2759
|
+
return new IssuerMultichainToken().fromJsonString(jsonString, options);
|
|
2760
|
+
}
|
|
2761
|
+
static equals(a, b) {
|
|
2762
|
+
return proto3.util.equals(IssuerMultichainToken, a, b);
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
IssuerMultichainToken.runtime = proto3;
|
|
2766
|
+
IssuerMultichainToken.typeName = "data.v1.IssuerMultichainToken";
|
|
2767
|
+
IssuerMultichainToken.fields = proto3.util.newFieldList(() => [
|
|
2768
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2769
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2770
|
+
{ no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2771
|
+
{ no: 4, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2772
|
+
{ no: 5, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2773
|
+
{ no: 6, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2774
|
+
{ no: 7, name: "market_cap_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2775
|
+
{ no: 8, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2776
|
+
{ no: 9, name: "price_change_1h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2777
|
+
{ no: 10, name: "price_change_24h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2778
|
+
{ no: 11, name: "sparkline_1d", kind: "message", T: RwaSparkline },
|
|
2779
|
+
{ no: 12, name: "chain_tokens", kind: "message", T: RwaChainToken, repeated: true },
|
|
2780
|
+
]);
|
|
2781
|
+
/**
|
|
2782
|
+
* @generated from message data.v1.RwaChainToken
|
|
2783
|
+
*/
|
|
2784
|
+
export class RwaChainToken extends Message {
|
|
2785
|
+
constructor(data) {
|
|
2786
|
+
super();
|
|
2787
|
+
/**
|
|
2788
|
+
* @generated from field: uint32 chain_id = 1;
|
|
2789
|
+
*/
|
|
2790
|
+
this.chainId = 0;
|
|
2791
|
+
/**
|
|
2792
|
+
* @generated from field: string address = 2;
|
|
2793
|
+
*/
|
|
2794
|
+
this.address = "";
|
|
2795
|
+
proto3.util.initPartial(data, this);
|
|
2796
|
+
}
|
|
2797
|
+
static fromBinary(bytes, options) {
|
|
2798
|
+
return new RwaChainToken().fromBinary(bytes, options);
|
|
2799
|
+
}
|
|
2800
|
+
static fromJson(jsonValue, options) {
|
|
2801
|
+
return new RwaChainToken().fromJson(jsonValue, options);
|
|
2802
|
+
}
|
|
2803
|
+
static fromJsonString(jsonString, options) {
|
|
2804
|
+
return new RwaChainToken().fromJsonString(jsonString, options);
|
|
2805
|
+
}
|
|
2806
|
+
static equals(a, b) {
|
|
2807
|
+
return proto3.util.equals(RwaChainToken, a, b);
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
RwaChainToken.runtime = proto3;
|
|
2811
|
+
RwaChainToken.typeName = "data.v1.RwaChainToken";
|
|
2812
|
+
RwaChainToken.fields = proto3.util.newFieldList(() => [
|
|
2813
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2814
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2815
|
+
]);
|
|
2816
|
+
/**
|
|
2817
|
+
* @generated from message data.v1.RwaSparkline
|
|
2818
|
+
*/
|
|
2819
|
+
export class RwaSparkline extends Message {
|
|
2820
|
+
constructor(data) {
|
|
2821
|
+
super();
|
|
2822
|
+
/**
|
|
2823
|
+
* @generated from field: repeated data.v1.RwaSparklinePoint points = 1;
|
|
2824
|
+
*/
|
|
2825
|
+
this.points = [];
|
|
2826
|
+
proto3.util.initPartial(data, this);
|
|
2827
|
+
}
|
|
2828
|
+
static fromBinary(bytes, options) {
|
|
2829
|
+
return new RwaSparkline().fromBinary(bytes, options);
|
|
2830
|
+
}
|
|
2831
|
+
static fromJson(jsonValue, options) {
|
|
2832
|
+
return new RwaSparkline().fromJson(jsonValue, options);
|
|
2833
|
+
}
|
|
2834
|
+
static fromJsonString(jsonString, options) {
|
|
2835
|
+
return new RwaSparkline().fromJsonString(jsonString, options);
|
|
2836
|
+
}
|
|
2837
|
+
static equals(a, b) {
|
|
2838
|
+
return proto3.util.equals(RwaSparkline, a, b);
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
RwaSparkline.runtime = proto3;
|
|
2842
|
+
RwaSparkline.typeName = "data.v1.RwaSparkline";
|
|
2843
|
+
RwaSparkline.fields = proto3.util.newFieldList(() => [
|
|
2844
|
+
{ no: 1, name: "points", kind: "message", T: RwaSparklinePoint, repeated: true },
|
|
2845
|
+
]);
|
|
2846
|
+
/**
|
|
2847
|
+
* @generated from message data.v1.RwaSparklinePoint
|
|
2848
|
+
*/
|
|
2849
|
+
export class RwaSparklinePoint extends Message {
|
|
2850
|
+
constructor(data) {
|
|
2851
|
+
super();
|
|
2852
|
+
/**
|
|
2853
|
+
* @generated from field: int64 timestamp_s = 1;
|
|
2854
|
+
*/
|
|
2855
|
+
this.timestampS = protoInt64.zero;
|
|
2856
|
+
/**
|
|
2857
|
+
* @generated from field: double value = 2;
|
|
2858
|
+
*/
|
|
2859
|
+
this.value = 0;
|
|
2860
|
+
proto3.util.initPartial(data, this);
|
|
2861
|
+
}
|
|
2862
|
+
static fromBinary(bytes, options) {
|
|
2863
|
+
return new RwaSparklinePoint().fromBinary(bytes, options);
|
|
2864
|
+
}
|
|
2865
|
+
static fromJson(jsonValue, options) {
|
|
2866
|
+
return new RwaSparklinePoint().fromJson(jsonValue, options);
|
|
2867
|
+
}
|
|
2868
|
+
static fromJsonString(jsonString, options) {
|
|
2869
|
+
return new RwaSparklinePoint().fromJsonString(jsonString, options);
|
|
2870
|
+
}
|
|
2871
|
+
static equals(a, b) {
|
|
2872
|
+
return proto3.util.equals(RwaSparklinePoint, a, b);
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
RwaSparklinePoint.runtime = proto3;
|
|
2876
|
+
RwaSparklinePoint.typeName = "data.v1.RwaSparklinePoint";
|
|
2877
|
+
RwaSparklinePoint.fields = proto3.util.newFieldList(() => [
|
|
2878
|
+
{ no: 1, name: "timestamp_s", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
2879
|
+
{ no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2880
|
+
]);
|