@uniswap/client-data-api 0.0.63 → 0.0.65
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
|
@@ -719,6 +719,10 @@ export declare class GetPoolRequest extends Message<GetPoolRequest> {
|
|
|
719
719
|
* @generated from field: pools.v1.ProtocolVersion protocol_version = 3;
|
|
720
720
|
*/
|
|
721
721
|
protocolVersion: ProtocolVersion;
|
|
722
|
+
/**
|
|
723
|
+
* @generated from field: optional bool include_volume_30d = 4;
|
|
724
|
+
*/
|
|
725
|
+
includeVolume30d?: boolean;
|
|
722
726
|
constructor(data?: PartialMessage<GetPoolRequest>);
|
|
723
727
|
static readonly runtime: typeof proto3;
|
|
724
728
|
static readonly typeName = "data.v1.GetPoolRequest";
|
|
@@ -847,6 +851,10 @@ export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
|
|
|
847
851
|
* @generated from field: optional string page_token = 9;
|
|
848
852
|
*/
|
|
849
853
|
pageToken?: string;
|
|
854
|
+
/**
|
|
855
|
+
* @generated from field: optional bool include_volume_30d = 10;
|
|
856
|
+
*/
|
|
857
|
+
includeVolume30d?: boolean;
|
|
850
858
|
constructor(data?: PartialMessage<ListPoolsRequest>);
|
|
851
859
|
static readonly runtime: typeof proto3;
|
|
852
860
|
static readonly typeName = "data.v1.ListPoolsRequest";
|
|
@@ -1364,6 +1372,10 @@ export declare class GetTokenPricesRequest extends Message<GetTokenPricesRequest
|
|
|
1364
1372
|
* @generated from field: repeated data.v1.TokenPriceInput tokens = 1;
|
|
1365
1373
|
*/
|
|
1366
1374
|
tokens: TokenPriceInput[];
|
|
1375
|
+
/**
|
|
1376
|
+
* @generated from field: bool prefer_quote_prices = 2;
|
|
1377
|
+
*/
|
|
1378
|
+
preferQuotePrices: boolean;
|
|
1367
1379
|
constructor(data?: PartialMessage<GetTokenPricesRequest>);
|
|
1368
1380
|
static readonly runtime: typeof proto3;
|
|
1369
1381
|
static readonly typeName = "data.v1.GetTokenPricesRequest";
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -1067,6 +1067,7 @@ GetPoolRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1067
1067
|
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1068
1068
|
{ no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1069
1069
|
{ no: 3, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
|
|
1070
|
+
{ no: 4, name: "include_volume_30d", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1070
1071
|
]);
|
|
1071
1072
|
/**
|
|
1072
1073
|
* @generated from message data.v1.GetPoolResponse
|
|
@@ -1226,6 +1227,7 @@ ListPoolsRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1226
1227
|
{ no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1227
1228
|
{ no: 8, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1228
1229
|
{ no: 9, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1230
|
+
{ no: 10, name: "include_volume_30d", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1229
1231
|
]);
|
|
1230
1232
|
/**
|
|
1231
1233
|
* @generated from message data.v1.ListPoolsResponse
|
|
@@ -1887,6 +1889,10 @@ export class GetTokenPricesRequest extends Message {
|
|
|
1887
1889
|
* @generated from field: repeated data.v1.TokenPriceInput tokens = 1;
|
|
1888
1890
|
*/
|
|
1889
1891
|
this.tokens = [];
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from field: bool prefer_quote_prices = 2;
|
|
1894
|
+
*/
|
|
1895
|
+
this.preferQuotePrices = false;
|
|
1890
1896
|
proto3.util.initPartial(data, this);
|
|
1891
1897
|
}
|
|
1892
1898
|
static fromBinary(bytes, options) {
|
|
@@ -1906,6 +1912,7 @@ GetTokenPricesRequest.runtime = proto3;
|
|
|
1906
1912
|
GetTokenPricesRequest.typeName = "data.v1.GetTokenPricesRequest";
|
|
1907
1913
|
GetTokenPricesRequest.fields = proto3.util.newFieldList(() => [
|
|
1908
1914
|
{ no: 1, name: "tokens", kind: "message", T: TokenPriceInput, repeated: true },
|
|
1915
|
+
{ no: 2, name: "prefer_quote_prices", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1909
1916
|
]);
|
|
1910
1917
|
/**
|
|
1911
1918
|
* @generated from message data.v1.GetTokenPricesResponse
|
|
@@ -405,6 +405,10 @@ export declare class Pool extends Message<Pool> {
|
|
|
405
405
|
* @generated from field: float total_apr = 16;
|
|
406
406
|
*/
|
|
407
407
|
totalApr: number;
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: optional double volume_30d = 17;
|
|
410
|
+
*/
|
|
411
|
+
volume30d?: number;
|
|
408
412
|
constructor(data?: PartialMessage<Pool>);
|
|
409
413
|
static readonly runtime: typeof proto3;
|
|
410
414
|
static readonly typeName = "pools.v1.Pool";
|
|
@@ -530,6 +530,7 @@ Pool.fields = proto3.util.newFieldList(() => [
|
|
|
530
530
|
{ no: 14, name: "apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
531
531
|
{ no: 15, name: "boosted_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
532
532
|
{ no: 16, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
533
|
+
{ no: 17, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
533
534
|
]);
|
|
534
535
|
/**
|
|
535
536
|
* @generated from message pools.v1.Pair
|