@uniswap/client-data-api 0.0.99 → 0.0.101
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_pb.d.ts
CHANGED
|
@@ -163,7 +163,11 @@ export declare enum RwaCategory {
|
|
|
163
163
|
/**
|
|
164
164
|
* @generated from enum value: RWA_CATEGORY_COMMODITIES = 2;
|
|
165
165
|
*/
|
|
166
|
-
COMMODITIES = 2
|
|
166
|
+
COMMODITIES = 2,
|
|
167
|
+
/**
|
|
168
|
+
* @generated from enum value: RWA_CATEGORY_ETFS = 3;
|
|
169
|
+
*/
|
|
170
|
+
ETFS = 3
|
|
167
171
|
}
|
|
168
172
|
/**
|
|
169
173
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
@@ -374,9 +378,9 @@ export declare class GetPortfolioRequest extends Message<GetPortfolioRequest> {
|
|
|
374
378
|
*/
|
|
375
379
|
multichain?: boolean;
|
|
376
380
|
/**
|
|
377
|
-
* When true, token metadata (name, symbol, logo, project,
|
|
378
|
-
*
|
|
379
|
-
*
|
|
381
|
+
* When true, token metadata Aurora carries directly (name, symbol, logo, project,
|
|
382
|
+
* protection info, fees) is overridden with Substream-fed Aurora canonical_tokens data.
|
|
383
|
+
* safetyLevel and spamCode are NOT overridden. Defaults to false.
|
|
380
384
|
*
|
|
381
385
|
* @generated from field: optional bool use_substream_data = 5;
|
|
382
386
|
*/
|
|
@@ -1927,6 +1931,10 @@ export declare class Rwa extends Message<Rwa> {
|
|
|
1927
1931
|
issuerData: {
|
|
1928
1932
|
[key: string]: IssuerData;
|
|
1929
1933
|
};
|
|
1934
|
+
/**
|
|
1935
|
+
* @generated from field: repeated data.v1.RwaCategory categories = 6;
|
|
1936
|
+
*/
|
|
1937
|
+
categories: RwaCategory[];
|
|
1930
1938
|
constructor(data?: PartialMessage<Rwa>);
|
|
1931
1939
|
static readonly runtime: typeof proto3;
|
|
1932
1940
|
static readonly typeName = "data.v1.Rwa";
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -221,12 +221,17 @@ export var RwaCategory;
|
|
|
221
221
|
* @generated from enum value: RWA_CATEGORY_COMMODITIES = 2;
|
|
222
222
|
*/
|
|
223
223
|
RwaCategory[RwaCategory["COMMODITIES"] = 2] = "COMMODITIES";
|
|
224
|
+
/**
|
|
225
|
+
* @generated from enum value: RWA_CATEGORY_ETFS = 3;
|
|
226
|
+
*/
|
|
227
|
+
RwaCategory[RwaCategory["ETFS"] = 3] = "ETFS";
|
|
224
228
|
})(RwaCategory || (RwaCategory = {}));
|
|
225
229
|
// Retrieve enum metadata with: proto3.getEnumType(RwaCategory)
|
|
226
230
|
proto3.util.setEnumType(RwaCategory, "data.v1.RwaCategory", [
|
|
227
231
|
{ no: 0, name: "RWA_CATEGORY_UNSPECIFIED" },
|
|
228
232
|
{ no: 1, name: "RWA_CATEGORY_STOCKS" },
|
|
229
233
|
{ no: 2, name: "RWA_CATEGORY_COMMODITIES" },
|
|
234
|
+
{ no: 3, name: "RWA_CATEGORY_ETFS" },
|
|
230
235
|
]);
|
|
231
236
|
/**
|
|
232
237
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
@@ -2574,6 +2579,10 @@ export class Rwa extends Message {
|
|
|
2574
2579
|
* @generated from field: map<string, data.v1.IssuerData> issuer_data = 5;
|
|
2575
2580
|
*/
|
|
2576
2581
|
this.issuerData = {};
|
|
2582
|
+
/**
|
|
2583
|
+
* @generated from field: repeated data.v1.RwaCategory categories = 6;
|
|
2584
|
+
*/
|
|
2585
|
+
this.categories = [];
|
|
2577
2586
|
proto3.util.initPartial(data, this);
|
|
2578
2587
|
}
|
|
2579
2588
|
static fromBinary(bytes, options) {
|
|
@@ -2597,6 +2606,7 @@ Rwa.fields = proto3.util.newFieldList(() => [
|
|
|
2597
2606
|
{ no: 3, name: "issuer_tokens", kind: "message", T: IssuerToken, repeated: true },
|
|
2598
2607
|
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2599
2608
|
{ no: 5, name: "issuer_data", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: IssuerData } },
|
|
2609
|
+
{ no: 6, name: "categories", kind: "enum", T: proto3.getEnumType(RwaCategory), repeated: true },
|
|
2600
2610
|
]);
|
|
2601
2611
|
/**
|
|
2602
2612
|
* @generated from message data.v1.IssuerToken
|
|
@@ -33,6 +33,13 @@ export declare class SearchTokensRequest extends Message<SearchTokensRequest> {
|
|
|
33
33
|
* @generated from field: bool multichain = 7;
|
|
34
34
|
*/
|
|
35
35
|
multichain: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* When true, display metadata (name, symbol, logo, project) is overridden with
|
|
38
|
+
* Substream-fed Aurora canonical_tokens data. Defaults to false.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: bool use_substream_data = 8;
|
|
41
|
+
*/
|
|
42
|
+
useSubstreamData: boolean;
|
|
36
43
|
constructor(data?: PartialMessage<SearchTokensRequest>);
|
|
37
44
|
static readonly runtime: typeof proto3;
|
|
38
45
|
static readonly typeName = "data.v1.SearchTokensRequest";
|
|
@@ -38,6 +38,13 @@ export class SearchTokensRequest extends Message {
|
|
|
38
38
|
* @generated from field: bool multichain = 7;
|
|
39
39
|
*/
|
|
40
40
|
this.multichain = false;
|
|
41
|
+
/**
|
|
42
|
+
* When true, display metadata (name, symbol, logo, project) is overridden with
|
|
43
|
+
* Substream-fed Aurora canonical_tokens data. Defaults to false.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: bool use_substream_data = 8;
|
|
46
|
+
*/
|
|
47
|
+
this.useSubstreamData = false;
|
|
41
48
|
proto3.util.initPartial(data, this);
|
|
42
49
|
}
|
|
43
50
|
static fromBinary(bytes, options) {
|
|
@@ -63,6 +70,7 @@ SearchTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
|
63
70
|
{ no: 5, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
64
71
|
{ no: 6, name: "prioritize_svm", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
65
72
|
{ no: 7, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
73
|
+
{ no: 8, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
66
74
|
]);
|
|
67
75
|
/**
|
|
68
76
|
* @generated from message data.v1.SearchTokensResponse
|