@uniswap/client-pools
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -5,2 +5,15 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
/** | ||
* @generated from enum pools.v1.OrderBy | ||
*/ | ||
export declare enum OrderBy { | ||
/** | ||
* @generated from enum value: ORDER_BY_UNSPECIFIED = 0; | ||
*/ | ||
UNSPECIFIED = 0, | ||
/** | ||
* @generated from enum value: ORDER_BY_CREATION_DATE = 1; | ||
*/ | ||
CREATION_DATE = 1 | ||
} | ||
/** | ||
* @generated from message pools.v1.GetPositionsRequest | ||
@@ -14,2 +27,4 @@ */ | ||
/** | ||
* default all chains | ||
* | ||
* @generated from field: repeated uint32 chain_ids = 2; | ||
@@ -19,2 +34,4 @@ */ | ||
/** | ||
* default all versions | ||
* | ||
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 3; | ||
@@ -24,2 +41,4 @@ */ | ||
/** | ||
* default all position statuses | ||
* | ||
* @generated from field: repeated pools.v1.PositionStatus position_statuses = 4; | ||
@@ -36,2 +55,26 @@ */ | ||
pageToken?: string; | ||
/** | ||
* default creation date | ||
* | ||
* @generated from field: optional pools.v1.OrderBy order_by = 7; | ||
*/ | ||
orderBy?: OrderBy; | ||
/** | ||
* default false | ||
* | ||
* @generated from field: optional bool ascending = 8; | ||
*/ | ||
ascending?: boolean; | ||
/** | ||
* @generated from field: optional string poolId = 9; | ||
*/ | ||
poolId?: string; | ||
/** | ||
* @generated from field: optional string token0 = 10; | ||
*/ | ||
token0?: string; | ||
/** | ||
* @generated from field: optional string token1 = 11; | ||
*/ | ||
token1?: string; | ||
constructor(data?: PartialMessage<GetPositionsRequest>); | ||
@@ -38,0 +81,0 @@ static readonly runtime: typeof proto3; |
@@ -8,2 +8,21 @@ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts" | ||
/** | ||
* @generated from enum pools.v1.OrderBy | ||
*/ | ||
export var OrderBy; | ||
(function (OrderBy) { | ||
/** | ||
* @generated from enum value: ORDER_BY_UNSPECIFIED = 0; | ||
*/ | ||
OrderBy[OrderBy["UNSPECIFIED"] = 0] = "UNSPECIFIED"; | ||
/** | ||
* @generated from enum value: ORDER_BY_CREATION_DATE = 1; | ||
*/ | ||
OrderBy[OrderBy["CREATION_DATE"] = 1] = "CREATION_DATE"; | ||
})(OrderBy || (OrderBy = {})); | ||
// Retrieve enum metadata with: proto3.getEnumType(OrderBy) | ||
proto3.util.setEnumType(OrderBy, "pools.v1.OrderBy", [ | ||
{ no: 0, name: "ORDER_BY_UNSPECIFIED" }, | ||
{ no: 1, name: "ORDER_BY_CREATION_DATE" }, | ||
]); | ||
/** | ||
* @generated from message pools.v1.GetPositionsRequest | ||
@@ -19,2 +38,4 @@ */ | ||
/** | ||
* default all chains | ||
* | ||
* @generated from field: repeated uint32 chain_ids = 2; | ||
@@ -24,2 +45,4 @@ */ | ||
/** | ||
* default all versions | ||
* | ||
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 3; | ||
@@ -29,2 +52,4 @@ */ | ||
/** | ||
* default all position statuses | ||
* | ||
* @generated from field: repeated pools.v1.PositionStatus position_statuses = 4; | ||
@@ -57,2 +82,7 @@ */ | ||
{ no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
{ no: 7, name: "order_by", kind: "enum", T: proto3.getEnumType(OrderBy), opt: true }, | ||
{ no: 8, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
{ no: 9, name: "poolId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
{ no: 10, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
{ no: 11, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
]); | ||
@@ -59,0 +89,0 @@ /** |
@@ -65,2 +65,10 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
decimals: number; | ||
/** | ||
* @generated from field: string name = 5; | ||
*/ | ||
name: string; | ||
/** | ||
* @generated from field: optional string logo = 6; | ||
*/ | ||
logo?: string; | ||
constructor(data?: PartialMessage<Token>); | ||
@@ -127,2 +135,14 @@ static readonly runtime: typeof proto3; | ||
token1UncollectedFees: string; | ||
/** | ||
* @generated from field: string amount0 = 13; | ||
*/ | ||
amount0: string; | ||
/** | ||
* @generated from field: string amount1 = 14; | ||
*/ | ||
amount1: string; | ||
/** | ||
* @generated from field: string poolId = 15; | ||
*/ | ||
poolId: string; | ||
constructor(data?: PartialMessage<PoolPosition>); | ||
@@ -129,0 +149,0 @@ static readonly runtime: typeof proto3; |
@@ -86,2 +86,6 @@ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts" | ||
this.decimals = 0; | ||
/** | ||
* @generated from field: string name = 5; | ||
*/ | ||
this.name = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -109,2 +113,4 @@ } | ||
{ no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, | ||
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 6, name: "logo", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
]); | ||
@@ -157,2 +163,14 @@ /** | ||
this.token1UncollectedFees = ""; | ||
/** | ||
* @generated from field: string amount0 = 13; | ||
*/ | ||
this.amount0 = ""; | ||
/** | ||
* @generated from field: string amount1 = 14; | ||
*/ | ||
this.amount1 = ""; | ||
/** | ||
* @generated from field: string poolId = 15; | ||
*/ | ||
this.poolId = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -188,2 +206,5 @@ } | ||
{ no: 12, name: "token1_uncollected_fees", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 13, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 14, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 15, name: "poolId", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -190,0 +211,0 @@ /** |
{ | ||
"name": "@uniswap/client-pools", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
32403
921