@uniswap/client-data-api 0.0.47 → 0.0.50
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.
|
@@ -336,6 +336,42 @@ export declare class Auction extends Message<Auction> {
|
|
|
336
336
|
* @generated from field: data.v1.ProtectionInfo token_protection_info = 27;
|
|
337
337
|
*/
|
|
338
338
|
tokenProtectionInfo?: ProtectionInfo;
|
|
339
|
+
/**
|
|
340
|
+
* USD price of the currency token (for calculating auction USD value)
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: optional string currency_price_usd = 28;
|
|
343
|
+
*/
|
|
344
|
+
currencyPriceUsd?: string;
|
|
345
|
+
/**
|
|
346
|
+
* Computed: total_bid_volume * currency_price_usd (convenience field for clients)
|
|
347
|
+
*
|
|
348
|
+
* @generated from field: optional string total_bid_volume_usd = 29;
|
|
349
|
+
*/
|
|
350
|
+
totalBidVolumeUsd?: string;
|
|
351
|
+
/**
|
|
352
|
+
* ERC-20 metadata for the auctioned token (fetched via on-chain RPC)
|
|
353
|
+
*
|
|
354
|
+
* @generated from field: optional string token_name = 30;
|
|
355
|
+
*/
|
|
356
|
+
tokenName?: string;
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: optional int32 token_decimals = 31;
|
|
359
|
+
*/
|
|
360
|
+
tokenDecimals?: number;
|
|
361
|
+
/**
|
|
362
|
+
* ERC-20 metadata for the currency token (fetched via on-chain RPC, or native defaults for zero address)
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: optional string currency_token_name = 32;
|
|
365
|
+
*/
|
|
366
|
+
currencyTokenName?: string;
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: optional string currency_token_symbol = 33;
|
|
369
|
+
*/
|
|
370
|
+
currencyTokenSymbol?: string;
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: optional int32 currency_token_decimals = 34;
|
|
373
|
+
*/
|
|
374
|
+
currencyTokenDecimals?: number;
|
|
339
375
|
constructor(data?: PartialMessage<Auction>);
|
|
340
376
|
static readonly runtime: typeof proto3;
|
|
341
377
|
static readonly typeName = "data.v1.Auction";
|
|
@@ -474,6 +474,13 @@ Auction.fields = proto3.util.newFieldList(() => [
|
|
|
474
474
|
{ no: 25, name: "parsed_auction_steps", kind: "message", T: AuctionStep, repeated: true },
|
|
475
475
|
{ no: 26, name: "total_bid_volume", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
476
476
|
{ no: 27, name: "token_protection_info", kind: "message", T: ProtectionInfo },
|
|
477
|
+
{ no: 28, name: "currency_price_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
478
|
+
{ no: 29, name: "total_bid_volume_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
479
|
+
{ no: 30, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
480
|
+
{ no: 31, name: "token_decimals", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
481
|
+
{ no: 32, name: "currency_token_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
482
|
+
{ no: 33, name: "currency_token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
483
|
+
{ no: 34, name: "currency_token_decimals", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
477
484
|
]);
|
|
478
485
|
/**
|
|
479
486
|
* Response containing auctions.
|