@uniswap/client-data-api 0.0.86 → 0.0.87
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 +97 -0
- package/dist/data/v1/api_pb.js +158 -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, 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, 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
|
*/
|
|
@@ -338,3 +338,16 @@ export declare const submitDataReport: {
|
|
|
338
338
|
readonly typeName: "data.v1.DataApiService";
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
|
+
/**
|
|
342
|
+
* @generated from rpc data.v1.DataApiService.ListRwas
|
|
343
|
+
*/
|
|
344
|
+
export declare const listRwas: {
|
|
345
|
+
readonly localName: "listRwas";
|
|
346
|
+
readonly name: "ListRwas";
|
|
347
|
+
readonly kind: MethodKind.Unary;
|
|
348
|
+
readonly I: typeof ListRwasRequest;
|
|
349
|
+
readonly O: typeof ListRwasResponse;
|
|
350
|
+
readonly service: {
|
|
351
|
+
readonly typeName: "data.v1.DataApiService";
|
|
352
|
+
};
|
|
353
|
+
};
|
|
@@ -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, 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, 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
|
*/
|
|
@@ -342,3 +342,16 @@ export const submitDataReport = {
|
|
|
342
342
|
typeName: "data.v1.DataApiService"
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
|
+
/**
|
|
346
|
+
* @generated from rpc data.v1.DataApiService.ListRwas
|
|
347
|
+
*/
|
|
348
|
+
export const listRwas = {
|
|
349
|
+
localName: "listRwas",
|
|
350
|
+
name: "ListRwas",
|
|
351
|
+
kind: MethodKind.Unary,
|
|
352
|
+
I: ListRwasRequest,
|
|
353
|
+
O: ListRwasResponse,
|
|
354
|
+
service: {
|
|
355
|
+
typeName: "data.v1.DataApiService"
|
|
356
|
+
}
|
|
357
|
+
};
|
|
@@ -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, 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, 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
|
|
@@ -240,5 +240,14 @@ export declare const DataApiService: {
|
|
|
240
240
|
readonly O: typeof SubmitDataReportResponse;
|
|
241
241
|
readonly kind: MethodKind.Unary;
|
|
242
242
|
};
|
|
243
|
+
/**
|
|
244
|
+
* @generated from rpc data.v1.DataApiService.ListRwas
|
|
245
|
+
*/
|
|
246
|
+
readonly listRwas: {
|
|
247
|
+
readonly name: "ListRwas";
|
|
248
|
+
readonly I: typeof ListRwasRequest;
|
|
249
|
+
readonly O: typeof ListRwasResponse;
|
|
250
|
+
readonly kind: MethodKind.Unary;
|
|
251
|
+
};
|
|
243
252
|
};
|
|
244
253
|
};
|
|
@@ -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, 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, 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
|
|
@@ -244,5 +244,14 @@ export const DataApiService = {
|
|
|
244
244
|
O: SubmitDataReportResponse,
|
|
245
245
|
kind: MethodKind.Unary,
|
|
246
246
|
},
|
|
247
|
+
/**
|
|
248
|
+
* @generated from rpc data.v1.DataApiService.ListRwas
|
|
249
|
+
*/
|
|
250
|
+
listRwas: {
|
|
251
|
+
name: "ListRwas",
|
|
252
|
+
I: ListRwasRequest,
|
|
253
|
+
O: ListRwasResponse,
|
|
254
|
+
kind: MethodKind.Unary,
|
|
255
|
+
},
|
|
247
256
|
}
|
|
248
257
|
};
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -131,6 +131,23 @@ export declare enum ChartPeriod {
|
|
|
131
131
|
*/
|
|
132
132
|
MAX = 6
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum data.v1.Issuer
|
|
136
|
+
*/
|
|
137
|
+
export declare enum Issuer {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: ISSUER_UNSPECIFIED = 0;
|
|
140
|
+
*/
|
|
141
|
+
UNSPECIFIED = 0,
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: ISSUER_ONDO = 1;
|
|
144
|
+
*/
|
|
145
|
+
ONDO = 1,
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum value: ISSUER_XSTOCK = 2;
|
|
148
|
+
*/
|
|
149
|
+
XSTOCK = 2
|
|
150
|
+
}
|
|
134
151
|
/**
|
|
135
152
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
136
153
|
*/
|
|
@@ -1804,3 +1821,83 @@ export declare class BalanceComponent extends Message<BalanceComponent> {
|
|
|
1804
1821
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BalanceComponent;
|
|
1805
1822
|
static equals(a: BalanceComponent | PlainMessage<BalanceComponent> | undefined, b: BalanceComponent | PlainMessage<BalanceComponent> | undefined): boolean;
|
|
1806
1823
|
}
|
|
1824
|
+
/**
|
|
1825
|
+
* @generated from message data.v1.ListRwasRequest
|
|
1826
|
+
*/
|
|
1827
|
+
export declare class ListRwasRequest extends Message<ListRwasRequest> {
|
|
1828
|
+
constructor(data?: PartialMessage<ListRwasRequest>);
|
|
1829
|
+
static readonly runtime: typeof proto3;
|
|
1830
|
+
static readonly typeName = "data.v1.ListRwasRequest";
|
|
1831
|
+
static readonly fields: FieldList;
|
|
1832
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRwasRequest;
|
|
1833
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRwasRequest;
|
|
1834
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRwasRequest;
|
|
1835
|
+
static equals(a: ListRwasRequest | PlainMessage<ListRwasRequest> | undefined, b: ListRwasRequest | PlainMessage<ListRwasRequest> | undefined): boolean;
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* @generated from message data.v1.ListRwasResponse
|
|
1839
|
+
*/
|
|
1840
|
+
export declare class ListRwasResponse extends Message<ListRwasResponse> {
|
|
1841
|
+
/**
|
|
1842
|
+
* @generated from field: repeated data.v1.Rwa rwas = 1;
|
|
1843
|
+
*/
|
|
1844
|
+
rwas: Rwa[];
|
|
1845
|
+
constructor(data?: PartialMessage<ListRwasResponse>);
|
|
1846
|
+
static readonly runtime: typeof proto3;
|
|
1847
|
+
static readonly typeName = "data.v1.ListRwasResponse";
|
|
1848
|
+
static readonly fields: FieldList;
|
|
1849
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRwasResponse;
|
|
1850
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRwasResponse;
|
|
1851
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRwasResponse;
|
|
1852
|
+
static equals(a: ListRwasResponse | PlainMessage<ListRwasResponse> | undefined, b: ListRwasResponse | PlainMessage<ListRwasResponse> | undefined): boolean;
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* @generated from message data.v1.Rwa
|
|
1856
|
+
*/
|
|
1857
|
+
export declare class Rwa extends Message<Rwa> {
|
|
1858
|
+
/**
|
|
1859
|
+
* @generated from field: string symbol = 1;
|
|
1860
|
+
*/
|
|
1861
|
+
symbol: string;
|
|
1862
|
+
/**
|
|
1863
|
+
* @generated from field: string icon = 2;
|
|
1864
|
+
*/
|
|
1865
|
+
icon: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* @generated from field: repeated data.v1.RwaToken tokens = 3;
|
|
1868
|
+
*/
|
|
1869
|
+
tokens: RwaToken[];
|
|
1870
|
+
constructor(data?: PartialMessage<Rwa>);
|
|
1871
|
+
static readonly runtime: typeof proto3;
|
|
1872
|
+
static readonly typeName = "data.v1.Rwa";
|
|
1873
|
+
static readonly fields: FieldList;
|
|
1874
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Rwa;
|
|
1875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Rwa;
|
|
1876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Rwa;
|
|
1877
|
+
static equals(a: Rwa | PlainMessage<Rwa> | undefined, b: Rwa | PlainMessage<Rwa> | undefined): boolean;
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
* @generated from message data.v1.RwaToken
|
|
1881
|
+
*/
|
|
1882
|
+
export declare class RwaToken extends Message<RwaToken> {
|
|
1883
|
+
/**
|
|
1884
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1885
|
+
*/
|
|
1886
|
+
chainId: number;
|
|
1887
|
+
/**
|
|
1888
|
+
* @generated from field: string address = 2;
|
|
1889
|
+
*/
|
|
1890
|
+
address: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* @generated from field: data.v1.Issuer issuer = 3;
|
|
1893
|
+
*/
|
|
1894
|
+
issuer: Issuer;
|
|
1895
|
+
constructor(data?: PartialMessage<RwaToken>);
|
|
1896
|
+
static readonly runtime: typeof proto3;
|
|
1897
|
+
static readonly typeName = "data.v1.RwaToken";
|
|
1898
|
+
static readonly fields: FieldList;
|
|
1899
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaToken;
|
|
1900
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaToken;
|
|
1901
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaToken;
|
|
1902
|
+
static equals(a: RwaToken | PlainMessage<RwaToken> | undefined, b: RwaToken | PlainMessage<RwaToken> | undefined): boolean;
|
|
1903
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -180,6 +180,30 @@ 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.Issuer
|
|
185
|
+
*/
|
|
186
|
+
export var Issuer;
|
|
187
|
+
(function (Issuer) {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from enum value: ISSUER_UNSPECIFIED = 0;
|
|
190
|
+
*/
|
|
191
|
+
Issuer[Issuer["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: ISSUER_ONDO = 1;
|
|
194
|
+
*/
|
|
195
|
+
Issuer[Issuer["ONDO"] = 1] = "ONDO";
|
|
196
|
+
/**
|
|
197
|
+
* @generated from enum value: ISSUER_XSTOCK = 2;
|
|
198
|
+
*/
|
|
199
|
+
Issuer[Issuer["XSTOCK"] = 2] = "XSTOCK";
|
|
200
|
+
})(Issuer || (Issuer = {}));
|
|
201
|
+
// Retrieve enum metadata with: proto3.getEnumType(Issuer)
|
|
202
|
+
proto3.util.setEnumType(Issuer, "data.v1.Issuer", [
|
|
203
|
+
{ no: 0, name: "ISSUER_UNSPECIFIED" },
|
|
204
|
+
{ no: 1, name: "ISSUER_ONDO" },
|
|
205
|
+
{ no: 2, name: "ISSUER_XSTOCK" },
|
|
206
|
+
]);
|
|
183
207
|
/**
|
|
184
208
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
185
209
|
*/
|
|
@@ -2425,3 +2449,137 @@ BalanceComponent.fields = proto3.util.newFieldList(() => [
|
|
|
2425
2449
|
{ no: 3, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2426
2450
|
{ no: 4, name: "count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
2427
2451
|
]);
|
|
2452
|
+
/**
|
|
2453
|
+
* @generated from message data.v1.ListRwasRequest
|
|
2454
|
+
*/
|
|
2455
|
+
export class ListRwasRequest extends Message {
|
|
2456
|
+
constructor(data) {
|
|
2457
|
+
super();
|
|
2458
|
+
proto3.util.initPartial(data, this);
|
|
2459
|
+
}
|
|
2460
|
+
static fromBinary(bytes, options) {
|
|
2461
|
+
return new ListRwasRequest().fromBinary(bytes, options);
|
|
2462
|
+
}
|
|
2463
|
+
static fromJson(jsonValue, options) {
|
|
2464
|
+
return new ListRwasRequest().fromJson(jsonValue, options);
|
|
2465
|
+
}
|
|
2466
|
+
static fromJsonString(jsonString, options) {
|
|
2467
|
+
return new ListRwasRequest().fromJsonString(jsonString, options);
|
|
2468
|
+
}
|
|
2469
|
+
static equals(a, b) {
|
|
2470
|
+
return proto3.util.equals(ListRwasRequest, a, b);
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
ListRwasRequest.runtime = proto3;
|
|
2474
|
+
ListRwasRequest.typeName = "data.v1.ListRwasRequest";
|
|
2475
|
+
ListRwasRequest.fields = proto3.util.newFieldList(() => []);
|
|
2476
|
+
/**
|
|
2477
|
+
* @generated from message data.v1.ListRwasResponse
|
|
2478
|
+
*/
|
|
2479
|
+
export class ListRwasResponse extends Message {
|
|
2480
|
+
constructor(data) {
|
|
2481
|
+
super();
|
|
2482
|
+
/**
|
|
2483
|
+
* @generated from field: repeated data.v1.Rwa rwas = 1;
|
|
2484
|
+
*/
|
|
2485
|
+
this.rwas = [];
|
|
2486
|
+
proto3.util.initPartial(data, this);
|
|
2487
|
+
}
|
|
2488
|
+
static fromBinary(bytes, options) {
|
|
2489
|
+
return new ListRwasResponse().fromBinary(bytes, options);
|
|
2490
|
+
}
|
|
2491
|
+
static fromJson(jsonValue, options) {
|
|
2492
|
+
return new ListRwasResponse().fromJson(jsonValue, options);
|
|
2493
|
+
}
|
|
2494
|
+
static fromJsonString(jsonString, options) {
|
|
2495
|
+
return new ListRwasResponse().fromJsonString(jsonString, options);
|
|
2496
|
+
}
|
|
2497
|
+
static equals(a, b) {
|
|
2498
|
+
return proto3.util.equals(ListRwasResponse, a, b);
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
ListRwasResponse.runtime = proto3;
|
|
2502
|
+
ListRwasResponse.typeName = "data.v1.ListRwasResponse";
|
|
2503
|
+
ListRwasResponse.fields = proto3.util.newFieldList(() => [
|
|
2504
|
+
{ no: 1, name: "rwas", kind: "message", T: Rwa, repeated: true },
|
|
2505
|
+
]);
|
|
2506
|
+
/**
|
|
2507
|
+
* @generated from message data.v1.Rwa
|
|
2508
|
+
*/
|
|
2509
|
+
export class Rwa extends Message {
|
|
2510
|
+
constructor(data) {
|
|
2511
|
+
super();
|
|
2512
|
+
/**
|
|
2513
|
+
* @generated from field: string symbol = 1;
|
|
2514
|
+
*/
|
|
2515
|
+
this.symbol = "";
|
|
2516
|
+
/**
|
|
2517
|
+
* @generated from field: string icon = 2;
|
|
2518
|
+
*/
|
|
2519
|
+
this.icon = "";
|
|
2520
|
+
/**
|
|
2521
|
+
* @generated from field: repeated data.v1.RwaToken tokens = 3;
|
|
2522
|
+
*/
|
|
2523
|
+
this.tokens = [];
|
|
2524
|
+
proto3.util.initPartial(data, this);
|
|
2525
|
+
}
|
|
2526
|
+
static fromBinary(bytes, options) {
|
|
2527
|
+
return new Rwa().fromBinary(bytes, options);
|
|
2528
|
+
}
|
|
2529
|
+
static fromJson(jsonValue, options) {
|
|
2530
|
+
return new Rwa().fromJson(jsonValue, options);
|
|
2531
|
+
}
|
|
2532
|
+
static fromJsonString(jsonString, options) {
|
|
2533
|
+
return new Rwa().fromJsonString(jsonString, options);
|
|
2534
|
+
}
|
|
2535
|
+
static equals(a, b) {
|
|
2536
|
+
return proto3.util.equals(Rwa, a, b);
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
Rwa.runtime = proto3;
|
|
2540
|
+
Rwa.typeName = "data.v1.Rwa";
|
|
2541
|
+
Rwa.fields = proto3.util.newFieldList(() => [
|
|
2542
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2543
|
+
{ no: 2, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2544
|
+
{ no: 3, name: "tokens", kind: "message", T: RwaToken, repeated: true },
|
|
2545
|
+
]);
|
|
2546
|
+
/**
|
|
2547
|
+
* @generated from message data.v1.RwaToken
|
|
2548
|
+
*/
|
|
2549
|
+
export class RwaToken extends Message {
|
|
2550
|
+
constructor(data) {
|
|
2551
|
+
super();
|
|
2552
|
+
/**
|
|
2553
|
+
* @generated from field: uint32 chain_id = 1;
|
|
2554
|
+
*/
|
|
2555
|
+
this.chainId = 0;
|
|
2556
|
+
/**
|
|
2557
|
+
* @generated from field: string address = 2;
|
|
2558
|
+
*/
|
|
2559
|
+
this.address = "";
|
|
2560
|
+
/**
|
|
2561
|
+
* @generated from field: data.v1.Issuer issuer = 3;
|
|
2562
|
+
*/
|
|
2563
|
+
this.issuer = Issuer.UNSPECIFIED;
|
|
2564
|
+
proto3.util.initPartial(data, this);
|
|
2565
|
+
}
|
|
2566
|
+
static fromBinary(bytes, options) {
|
|
2567
|
+
return new RwaToken().fromBinary(bytes, options);
|
|
2568
|
+
}
|
|
2569
|
+
static fromJson(jsonValue, options) {
|
|
2570
|
+
return new RwaToken().fromJson(jsonValue, options);
|
|
2571
|
+
}
|
|
2572
|
+
static fromJsonString(jsonString, options) {
|
|
2573
|
+
return new RwaToken().fromJsonString(jsonString, options);
|
|
2574
|
+
}
|
|
2575
|
+
static equals(a, b) {
|
|
2576
|
+
return proto3.util.equals(RwaToken, a, b);
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
RwaToken.runtime = proto3;
|
|
2580
|
+
RwaToken.typeName = "data.v1.RwaToken";
|
|
2581
|
+
RwaToken.fields = proto3.util.newFieldList(() => [
|
|
2582
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2583
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2584
|
+
{ no: 3, name: "issuer", kind: "enum", T: proto3.getEnumType(Issuer) },
|
|
2585
|
+
]);
|