@uniswap/client-pools
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -49,5 +49,5 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
/** | ||
* @generated from message pools.v1.PoolNotification | ||
* @generated from message pools.v1.PoolIndexerNotification | ||
*/ | ||
export declare class PoolNotification extends Message<PoolNotification> { | ||
export declare class PoolIndexerNotification extends Message<PoolIndexerNotification> { | ||
/** | ||
@@ -73,10 +73,10 @@ * @generated from field: uint32 chain_id = 1; | ||
finalizedHeight: number; | ||
constructor(data?: PartialMessage<PoolNotification>); | ||
constructor(data?: PartialMessage<PoolIndexerNotification>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "pools.v1.PoolNotification"; | ||
static readonly typeName = "pools.v1.PoolIndexerNotification"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolNotification; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolNotification; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolNotification; | ||
static equals(a: PoolNotification | PlainMessage<PoolNotification> | undefined, b: PoolNotification | PlainMessage<PoolNotification> | undefined): boolean; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolIndexerNotification; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolIndexerNotification; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolIndexerNotification; | ||
static equals(a: PoolIndexerNotification | PlainMessage<PoolIndexerNotification> | undefined, b: PoolIndexerNotification | PlainMessage<PoolIndexerNotification> | undefined): boolean; | ||
} |
@@ -72,5 +72,5 @@ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts" | ||
/** | ||
* @generated from message pools.v1.PoolNotification | ||
* @generated from message pools.v1.PoolIndexerNotification | ||
*/ | ||
export class PoolNotification extends Message { | ||
export class PoolIndexerNotification extends Message { | ||
constructor(data) { | ||
@@ -101,17 +101,17 @@ super(); | ||
static fromBinary(bytes, options) { | ||
return new PoolNotification().fromBinary(bytes, options); | ||
return new PoolIndexerNotification().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new PoolNotification().fromJson(jsonValue, options); | ||
return new PoolIndexerNotification().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new PoolNotification().fromJsonString(jsonString, options); | ||
return new PoolIndexerNotification().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(PoolNotification, a, b); | ||
return proto3.util.equals(PoolIndexerNotification, a, b); | ||
} | ||
} | ||
PoolNotification.runtime = proto3; | ||
PoolNotification.typeName = "pools.v1.PoolNotification"; | ||
PoolNotification.fields = proto3.util.newFieldList(() => [ | ||
PoolIndexerNotification.runtime = proto3; | ||
PoolIndexerNotification.typeName = "pools.v1.PoolIndexerNotification"; | ||
PoolIndexerNotification.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, | ||
@@ -118,0 +118,0 @@ { no: 2, name: "v2_pairs_created", kind: "message", T: V2Pair, repeated: true }, |
@@ -73,2 +73,6 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
logo?: string; | ||
/** | ||
* @generated from field: bool is_native = 7; | ||
*/ | ||
isNative: boolean; | ||
constructor(data?: PartialMessage<Token>); | ||
@@ -147,2 +151,10 @@ static readonly runtime: typeof proto3; | ||
poolId: string; | ||
/** | ||
* @generated from field: bool is_dynamic_fee = 16; | ||
*/ | ||
isDynamicFee: boolean; | ||
/** | ||
* @generated from field: string total_liquidity_usd = 17; | ||
*/ | ||
totalLiquidityUsd: string; | ||
constructor(data?: PartialMessage<PoolPosition>); | ||
@@ -342,2 +354,10 @@ static readonly runtime: typeof proto3; | ||
chainId: number; | ||
/** | ||
* @generated from field: bool is_dynamic_fee = 12; | ||
*/ | ||
isDynamicFee: boolean; | ||
/** | ||
* @generated from field: string total_liquidity_usd = 13; | ||
*/ | ||
totalLiquidityUsd: string; | ||
constructor(data?: PartialMessage<Pool>); | ||
@@ -344,0 +364,0 @@ static readonly runtime: typeof proto3; |
@@ -90,2 +90,6 @@ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts" | ||
this.name = ""; | ||
/** | ||
* @generated from field: bool is_native = 7; | ||
*/ | ||
this.isNative = false; | ||
proto3.util.initPartial(data, this); | ||
@@ -115,2 +119,3 @@ } | ||
{ no: 6, name: "logo", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
{ no: 7, name: "is_native", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
]); | ||
@@ -175,2 +180,10 @@ /** | ||
this.poolId = ""; | ||
/** | ||
* @generated from field: bool is_dynamic_fee = 16; | ||
*/ | ||
this.isDynamicFee = false; | ||
/** | ||
* @generated from field: string total_liquidity_usd = 17; | ||
*/ | ||
this.totalLiquidityUsd = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -209,2 +222,4 @@ } | ||
{ no: 15, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 16, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 17, name: "total_liquidity_usd", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -423,2 +438,10 @@ /** | ||
this.chainId = 0; | ||
/** | ||
* @generated from field: bool is_dynamic_fee = 12; | ||
*/ | ||
this.isDynamicFee = false; | ||
/** | ||
* @generated from field: string total_liquidity_usd = 13; | ||
*/ | ||
this.totalLiquidityUsd = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -453,2 +476,4 @@ } | ||
{ no: 11, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, | ||
{ no: 12, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 13, name: "total_liquidity_usd", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -455,0 +480,0 @@ /** |
{ | ||
"name": "@uniswap/client-pools", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
74595
2099