@uniswap/client-data-api 0.0.86 → 0.0.88

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.
@@ -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
  };
@@ -1804,3 +1804,83 @@ export declare class BalanceComponent extends Message<BalanceComponent> {
1804
1804
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BalanceComponent;
1805
1805
  static equals(a: BalanceComponent | PlainMessage<BalanceComponent> | undefined, b: BalanceComponent | PlainMessage<BalanceComponent> | undefined): boolean;
1806
1806
  }
1807
+ /**
1808
+ * @generated from message data.v1.ListRwasRequest
1809
+ */
1810
+ export declare class ListRwasRequest extends Message<ListRwasRequest> {
1811
+ constructor(data?: PartialMessage<ListRwasRequest>);
1812
+ static readonly runtime: typeof proto3;
1813
+ static readonly typeName = "data.v1.ListRwasRequest";
1814
+ static readonly fields: FieldList;
1815
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRwasRequest;
1816
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRwasRequest;
1817
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRwasRequest;
1818
+ static equals(a: ListRwasRequest | PlainMessage<ListRwasRequest> | undefined, b: ListRwasRequest | PlainMessage<ListRwasRequest> | undefined): boolean;
1819
+ }
1820
+ /**
1821
+ * @generated from message data.v1.ListRwasResponse
1822
+ */
1823
+ export declare class ListRwasResponse extends Message<ListRwasResponse> {
1824
+ /**
1825
+ * @generated from field: repeated data.v1.Rwa rwas = 1;
1826
+ */
1827
+ rwas: Rwa[];
1828
+ constructor(data?: PartialMessage<ListRwasResponse>);
1829
+ static readonly runtime: typeof proto3;
1830
+ static readonly typeName = "data.v1.ListRwasResponse";
1831
+ static readonly fields: FieldList;
1832
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRwasResponse;
1833
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRwasResponse;
1834
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRwasResponse;
1835
+ static equals(a: ListRwasResponse | PlainMessage<ListRwasResponse> | undefined, b: ListRwasResponse | PlainMessage<ListRwasResponse> | undefined): boolean;
1836
+ }
1837
+ /**
1838
+ * @generated from message data.v1.Rwa
1839
+ */
1840
+ export declare class Rwa extends Message<Rwa> {
1841
+ /**
1842
+ * @generated from field: string symbol = 1;
1843
+ */
1844
+ symbol: string;
1845
+ /**
1846
+ * @generated from field: string icon = 2;
1847
+ */
1848
+ icon: string;
1849
+ /**
1850
+ * @generated from field: repeated data.v1.RwaToken tokens = 3;
1851
+ */
1852
+ tokens: RwaToken[];
1853
+ constructor(data?: PartialMessage<Rwa>);
1854
+ static readonly runtime: typeof proto3;
1855
+ static readonly typeName = "data.v1.Rwa";
1856
+ static readonly fields: FieldList;
1857
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Rwa;
1858
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Rwa;
1859
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Rwa;
1860
+ static equals(a: Rwa | PlainMessage<Rwa> | undefined, b: Rwa | PlainMessage<Rwa> | undefined): boolean;
1861
+ }
1862
+ /**
1863
+ * @generated from message data.v1.RwaToken
1864
+ */
1865
+ export declare class RwaToken extends Message<RwaToken> {
1866
+ /**
1867
+ * @generated from field: uint32 chain_id = 1;
1868
+ */
1869
+ chainId: number;
1870
+ /**
1871
+ * @generated from field: string address = 2;
1872
+ */
1873
+ address: string;
1874
+ /**
1875
+ * @generated from field: string issuer = 3;
1876
+ */
1877
+ issuer: string;
1878
+ constructor(data?: PartialMessage<RwaToken>);
1879
+ static readonly runtime: typeof proto3;
1880
+ static readonly typeName = "data.v1.RwaToken";
1881
+ static readonly fields: FieldList;
1882
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RwaToken;
1883
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RwaToken;
1884
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RwaToken;
1885
+ static equals(a: RwaToken | PlainMessage<RwaToken> | undefined, b: RwaToken | PlainMessage<RwaToken> | undefined): boolean;
1886
+ }
@@ -2425,3 +2425,137 @@ BalanceComponent.fields = proto3.util.newFieldList(() => [
2425
2425
  { no: 3, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2426
2426
  { no: 4, name: "count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2427
2427
  ]);
2428
+ /**
2429
+ * @generated from message data.v1.ListRwasRequest
2430
+ */
2431
+ export class ListRwasRequest extends Message {
2432
+ constructor(data) {
2433
+ super();
2434
+ proto3.util.initPartial(data, this);
2435
+ }
2436
+ static fromBinary(bytes, options) {
2437
+ return new ListRwasRequest().fromBinary(bytes, options);
2438
+ }
2439
+ static fromJson(jsonValue, options) {
2440
+ return new ListRwasRequest().fromJson(jsonValue, options);
2441
+ }
2442
+ static fromJsonString(jsonString, options) {
2443
+ return new ListRwasRequest().fromJsonString(jsonString, options);
2444
+ }
2445
+ static equals(a, b) {
2446
+ return proto3.util.equals(ListRwasRequest, a, b);
2447
+ }
2448
+ }
2449
+ ListRwasRequest.runtime = proto3;
2450
+ ListRwasRequest.typeName = "data.v1.ListRwasRequest";
2451
+ ListRwasRequest.fields = proto3.util.newFieldList(() => []);
2452
+ /**
2453
+ * @generated from message data.v1.ListRwasResponse
2454
+ */
2455
+ export class ListRwasResponse extends Message {
2456
+ constructor(data) {
2457
+ super();
2458
+ /**
2459
+ * @generated from field: repeated data.v1.Rwa rwas = 1;
2460
+ */
2461
+ this.rwas = [];
2462
+ proto3.util.initPartial(data, this);
2463
+ }
2464
+ static fromBinary(bytes, options) {
2465
+ return new ListRwasResponse().fromBinary(bytes, options);
2466
+ }
2467
+ static fromJson(jsonValue, options) {
2468
+ return new ListRwasResponse().fromJson(jsonValue, options);
2469
+ }
2470
+ static fromJsonString(jsonString, options) {
2471
+ return new ListRwasResponse().fromJsonString(jsonString, options);
2472
+ }
2473
+ static equals(a, b) {
2474
+ return proto3.util.equals(ListRwasResponse, a, b);
2475
+ }
2476
+ }
2477
+ ListRwasResponse.runtime = proto3;
2478
+ ListRwasResponse.typeName = "data.v1.ListRwasResponse";
2479
+ ListRwasResponse.fields = proto3.util.newFieldList(() => [
2480
+ { no: 1, name: "rwas", kind: "message", T: Rwa, repeated: true },
2481
+ ]);
2482
+ /**
2483
+ * @generated from message data.v1.Rwa
2484
+ */
2485
+ export class Rwa extends Message {
2486
+ constructor(data) {
2487
+ super();
2488
+ /**
2489
+ * @generated from field: string symbol = 1;
2490
+ */
2491
+ this.symbol = "";
2492
+ /**
2493
+ * @generated from field: string icon = 2;
2494
+ */
2495
+ this.icon = "";
2496
+ /**
2497
+ * @generated from field: repeated data.v1.RwaToken tokens = 3;
2498
+ */
2499
+ this.tokens = [];
2500
+ proto3.util.initPartial(data, this);
2501
+ }
2502
+ static fromBinary(bytes, options) {
2503
+ return new Rwa().fromBinary(bytes, options);
2504
+ }
2505
+ static fromJson(jsonValue, options) {
2506
+ return new Rwa().fromJson(jsonValue, options);
2507
+ }
2508
+ static fromJsonString(jsonString, options) {
2509
+ return new Rwa().fromJsonString(jsonString, options);
2510
+ }
2511
+ static equals(a, b) {
2512
+ return proto3.util.equals(Rwa, a, b);
2513
+ }
2514
+ }
2515
+ Rwa.runtime = proto3;
2516
+ Rwa.typeName = "data.v1.Rwa";
2517
+ Rwa.fields = proto3.util.newFieldList(() => [
2518
+ { no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2519
+ { no: 2, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2520
+ { no: 3, name: "tokens", kind: "message", T: RwaToken, repeated: true },
2521
+ ]);
2522
+ /**
2523
+ * @generated from message data.v1.RwaToken
2524
+ */
2525
+ export class RwaToken extends Message {
2526
+ constructor(data) {
2527
+ super();
2528
+ /**
2529
+ * @generated from field: uint32 chain_id = 1;
2530
+ */
2531
+ this.chainId = 0;
2532
+ /**
2533
+ * @generated from field: string address = 2;
2534
+ */
2535
+ this.address = "";
2536
+ /**
2537
+ * @generated from field: string issuer = 3;
2538
+ */
2539
+ this.issuer = "";
2540
+ proto3.util.initPartial(data, this);
2541
+ }
2542
+ static fromBinary(bytes, options) {
2543
+ return new RwaToken().fromBinary(bytes, options);
2544
+ }
2545
+ static fromJson(jsonValue, options) {
2546
+ return new RwaToken().fromJson(jsonValue, options);
2547
+ }
2548
+ static fromJsonString(jsonString, options) {
2549
+ return new RwaToken().fromJsonString(jsonString, options);
2550
+ }
2551
+ static equals(a, b) {
2552
+ return proto3.util.equals(RwaToken, a, b);
2553
+ }
2554
+ }
2555
+ RwaToken.runtime = proto3;
2556
+ RwaToken.typeName = "data.v1.RwaToken";
2557
+ RwaToken.fields = proto3.util.newFieldList(() => [
2558
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2559
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2560
+ { no: 3, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2561
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.86",
3
+ "version": "0.0.88",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },