@uniswap/client-data-api 0.0.233 → 0.0.235
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.
|
@@ -568,6 +568,18 @@ export declare class TokenListFilter extends Message<TokenListFilter> {
|
|
|
568
568
|
* @generated from field: repeated string category_ids = 6;
|
|
569
569
|
*/
|
|
570
570
|
categoryIds: string[];
|
|
571
|
+
/**
|
|
572
|
+
* Explore-search filter: free text prefix-matched (case-insensitive,
|
|
573
|
+
* normalized: trimmed, whitespace collapsed, capped at 100 chars) against
|
|
574
|
+
* token name and symbol — or, for a "0x"-prefixed query, against the
|
|
575
|
+
* token address. Narrows the listing; sort, quality gates, and pagination
|
|
576
|
+
* keep their ordinary meanings (filter-the-feed, not relevance search —
|
|
577
|
+
* the Search endpoint serves that). A multichain token matches when any
|
|
578
|
+
* of its per-chain members matches. Empty/whitespace = no filter.
|
|
579
|
+
*
|
|
580
|
+
* @generated from field: optional string search_query = 7;
|
|
581
|
+
*/
|
|
582
|
+
searchQuery?: string;
|
|
571
583
|
constructor(data?: PartialMessage<TokenListFilter>);
|
|
572
584
|
static readonly runtime: typeof proto3;
|
|
573
585
|
static readonly typeName = "data.v2.TokenListFilter";
|
|
@@ -1163,7 +1175,10 @@ export declare class Pool extends Message<Pool> {
|
|
|
1163
1175
|
*/
|
|
1164
1176
|
tickSpacing?: number;
|
|
1165
1177
|
/**
|
|
1166
|
-
*
|
|
1178
|
+
* The pool key's own fee in pips, always served: the V4 DYNAMIC_FEE_FLAG
|
|
1179
|
+
* sentinel (0x800000) for a dynamic-fee pool — the literal PoolKey.fee, which
|
|
1180
|
+
* is what hashing a v4 pool id needs — and the fixed 3000 for V2. Read
|
|
1181
|
+
* is_dynamic_fee, not this, to decide whether a pool has a fixed rate.
|
|
1167
1182
|
*
|
|
1168
1183
|
* @generated from field: optional uint32 fee_tier = 7;
|
|
1169
1184
|
*/
|
|
@@ -1373,6 +1388,19 @@ export declare class PoolListFilter extends Message<PoolListFilter> {
|
|
|
1373
1388
|
* @generated from field: optional bool rewards_only = 9;
|
|
1374
1389
|
*/
|
|
1375
1390
|
rewardsOnly?: boolean;
|
|
1391
|
+
/**
|
|
1392
|
+
* Explore-search filter: free text matched against the pool's tokens
|
|
1393
|
+
* (case-insensitive, normalized as in TokenListFilter.search_query). A
|
|
1394
|
+
* plain term prefix-matches either token's symbol or name; a "/" splits
|
|
1395
|
+
* the query into two halves, each prefix-matching one side's symbol (both
|
|
1396
|
+
* orientations; an empty half matches anything, so "usdc/" = all USDC
|
|
1397
|
+
* pools); a "0x"-prefixed query prefix-matches the token addresses or the
|
|
1398
|
+
* pool identifier instead. Narrows the listing; sort, gates, floors, and
|
|
1399
|
+
* pagination keep their ordinary meanings. Empty/whitespace = no filter.
|
|
1400
|
+
*
|
|
1401
|
+
* @generated from field: optional string search_query = 10;
|
|
1402
|
+
*/
|
|
1403
|
+
searchQuery?: string;
|
|
1376
1404
|
constructor(data?: PartialMessage<PoolListFilter>);
|
|
1377
1405
|
static readonly runtime: typeof proto3;
|
|
1378
1406
|
static readonly typeName = "data.v2.PoolListFilter";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -650,6 +650,7 @@ TokenListFilter.fields = proto3.util.newFieldList(() => [
|
|
|
650
650
|
{ no: 4, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
651
651
|
{ no: 5, name: "exclude_rwas", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
652
652
|
{ no: 6, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
653
|
+
{ no: 7, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
653
654
|
]);
|
|
654
655
|
/**
|
|
655
656
|
* @generated from message data.v2.FiatAmount
|
|
@@ -1480,6 +1481,7 @@ PoolListFilter.fields = proto3.util.newFieldList(() => [
|
|
|
1480
1481
|
{ no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1481
1482
|
{ no: 8, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1482
1483
|
{ no: 9, name: "rewards_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1484
|
+
{ no: 10, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1483
1485
|
]);
|
|
1484
1486
|
/**
|
|
1485
1487
|
* Returned by ListPools — wraps a Pool with its ranking stats.
|