@uniswap/client-data-api 0.0.283 → 0.0.285
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.
|
@@ -608,11 +608,10 @@ export declare class TokenMetadata extends Message<TokenMetadata> {
|
|
|
608
608
|
*/
|
|
609
609
|
isBridged: boolean;
|
|
610
610
|
/**
|
|
611
|
-
*
|
|
612
|
-
*
|
|
611
|
+
* Set on GetPortfolio balances only, ordered by display precedence (the
|
|
612
|
+
* first id is the preferred tag). Empty on every other v1 token surface.
|
|
613
613
|
*
|
|
614
|
-
* @generated from field: repeated string category_ids = 8
|
|
615
|
-
* @deprecated
|
|
614
|
+
* @generated from field: repeated string category_ids = 8;
|
|
616
615
|
*/
|
|
617
616
|
categoryIds: string[];
|
|
618
617
|
constructor(data?: PartialMessage<TokenMetadata>);
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -777,11 +777,10 @@ export class TokenMetadata extends Message {
|
|
|
777
777
|
*/
|
|
778
778
|
this.isBridged = false;
|
|
779
779
|
/**
|
|
780
|
-
*
|
|
781
|
-
*
|
|
780
|
+
* Set on GetPortfolio balances only, ordered by display precedence (the
|
|
781
|
+
* first id is the preferred tag). Empty on every other v1 token surface.
|
|
782
782
|
*
|
|
783
|
-
* @generated from field: repeated string category_ids = 8
|
|
784
|
-
* @deprecated
|
|
783
|
+
* @generated from field: repeated string category_ids = 8;
|
|
785
784
|
*/
|
|
786
785
|
this.categoryIds = [];
|
|
787
786
|
proto3.util.initPartial(data, this);
|
|
@@ -144,7 +144,7 @@ export declare class SearchResponse extends Message<SearchResponse> {
|
|
|
144
144
|
*/
|
|
145
145
|
pools: RankedPool[];
|
|
146
146
|
/**
|
|
147
|
-
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token
|
|
147
|
+
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token or name fails the server's safety checks is dropped; a pasted address serves it. Without TOKEN, a name query looks each auction's token up by address and serves the auction only when that token is servable or not found; a pasted address serves every match. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address: an UPCOMING or LIVE auction whose token is not tradeable yet (is_tradeable false) replaces its token's rows in tokens and suppressed_tokens; for any other auction a matching token row wins. An auction with no matching token row gives way to its token, appended after the ranked rows while tokens has room, when it is GRADUATED or FAILED or its token is tradeable; a GRADUATED or FAILED auction whose token is not appended is dropped, and so is an open one whose token cannot be checked, except that a pasted address keeps an auction whose token lookup finds no servable token. With TOKEN, an UNSPECIFIED auction is dropped. At most 30 tokens are looked up per request, open auctions first; on a name query an auction left unchecked beyond them is dropped. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: repeated data.v2.SearchAuction auctions = 4;
|
|
150
150
|
*/
|
|
@@ -276,6 +276,12 @@ export declare class SearchAuction extends Message<SearchAuction> {
|
|
|
276
276
|
* @generated from field: optional int32 bidder_count = 18;
|
|
277
277
|
*/
|
|
278
278
|
bidderCount?: number;
|
|
279
|
+
/**
|
|
280
|
+
* Same rules as data.v1.Auction.token_image_url: the ops-set override (liquidity's auction_token_logo_overrides config key), else the creator's moderation-passed image, else a provider-attributed logo when the launch has no servable image; an ipfs:// or https URL, unset when none applies.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: optional string token_image_url = 19;
|
|
283
|
+
*/
|
|
284
|
+
tokenImageUrl?: string;
|
|
279
285
|
constructor(data?: PartialMessage<SearchAuction>);
|
|
280
286
|
static readonly runtime: typeof proto3;
|
|
281
287
|
static readonly typeName = "data.v2.SearchAuction";
|
|
@@ -179,7 +179,7 @@ export class SearchResponse extends Message {
|
|
|
179
179
|
*/
|
|
180
180
|
this.pools = [];
|
|
181
181
|
/**
|
|
182
|
-
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token
|
|
182
|
+
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token or name fails the server's safety checks is dropped; a pasted address serves it. Without TOKEN, a name query looks each auction's token up by address and serves the auction only when that token is servable or not found; a pasted address serves every match. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address: an UPCOMING or LIVE auction whose token is not tradeable yet (is_tradeable false) replaces its token's rows in tokens and suppressed_tokens; for any other auction a matching token row wins. An auction with no matching token row gives way to its token, appended after the ranked rows while tokens has room, when it is GRADUATED or FAILED or its token is tradeable; a GRADUATED or FAILED auction whose token is not appended is dropped, and so is an open one whose token cannot be checked, except that a pasted address keeps an auction whose token lookup finds no servable token. With TOKEN, an UNSPECIFIED auction is dropped. At most 30 tokens are looked up per request, open auctions first; on a name query an auction left unchecked beyond them is dropped. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
|
|
183
183
|
*
|
|
184
184
|
* @generated from field: repeated data.v2.SearchAuction auctions = 4;
|
|
185
185
|
*/
|
|
@@ -306,4 +306,5 @@ SearchAuction.fields = proto3.util.newFieldList(() => [
|
|
|
306
306
|
{ no: 16, name: "currency_decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
307
307
|
{ no: 17, name: "is_tradeable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
308
308
|
{ no: 18, name: "bidder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
309
|
+
{ no: 19, name: "token_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
309
310
|
]);
|