@uniswap/client-liquidity 1.0.2 → 1.0.3
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.
|
@@ -440,6 +440,35 @@ export declare class HookEntry extends Message<HookEntry> {
|
|
|
440
440
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HookEntry;
|
|
441
441
|
static equals(a: HookEntry | PlainMessage<HookEntry> | undefined, b: HookEntry | PlainMessage<HookEntry> | undefined): boolean;
|
|
442
442
|
}
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message uniswap.liquidity.v2.TokenMetadata
|
|
445
|
+
*/
|
|
446
|
+
export declare class TokenMetadata extends Message<TokenMetadata> {
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: optional string symbol = 1;
|
|
449
|
+
*/
|
|
450
|
+
symbol?: string;
|
|
451
|
+
/**
|
|
452
|
+
* @generated from field: optional string name = 2;
|
|
453
|
+
*/
|
|
454
|
+
name?: string;
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: optional int32 decimals = 3;
|
|
457
|
+
*/
|
|
458
|
+
decimals?: number;
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: optional string logo_url = 4;
|
|
461
|
+
*/
|
|
462
|
+
logoUrl?: string;
|
|
463
|
+
constructor(data?: PartialMessage<TokenMetadata>);
|
|
464
|
+
static readonly runtime: typeof proto3;
|
|
465
|
+
static readonly typeName = "uniswap.liquidity.v2.TokenMetadata";
|
|
466
|
+
static readonly fields: FieldList;
|
|
467
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenMetadata;
|
|
468
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenMetadata;
|
|
469
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMetadata;
|
|
470
|
+
static equals(a: TokenMetadata | PlainMessage<TokenMetadata> | undefined, b: TokenMetadata | PlainMessage<TokenMetadata> | undefined): boolean;
|
|
471
|
+
}
|
|
443
472
|
/**
|
|
444
473
|
* @generated from message uniswap.liquidity.v2.PoolSummary
|
|
445
474
|
*/
|
|
@@ -496,6 +525,14 @@ export declare class PoolSummary extends Message<PoolSummary> {
|
|
|
496
525
|
* @generated from field: optional string hook_address = 13;
|
|
497
526
|
*/
|
|
498
527
|
hookAddress?: string;
|
|
528
|
+
/**
|
|
529
|
+
* @generated from field: optional uniswap.liquidity.v2.TokenMetadata token0_metadata = 14;
|
|
530
|
+
*/
|
|
531
|
+
token0Metadata?: TokenMetadata;
|
|
532
|
+
/**
|
|
533
|
+
* @generated from field: optional uniswap.liquidity.v2.TokenMetadata token1_metadata = 15;
|
|
534
|
+
*/
|
|
535
|
+
token1Metadata?: TokenMetadata;
|
|
499
536
|
constructor(data?: PartialMessage<PoolSummary>);
|
|
500
537
|
static readonly runtime: typeof proto3;
|
|
501
538
|
static readonly typeName = "uniswap.liquidity.v2.PoolSummary";
|
|
@@ -646,6 +646,35 @@ HookEntry.fields = proto3.util.newFieldList(() => [
|
|
|
646
646
|
{ no: 9, name: "flags", kind: "message", T: HookFlags },
|
|
647
647
|
{ no: 10, name: "properties", kind: "message", T: HookProperties },
|
|
648
648
|
]);
|
|
649
|
+
/**
|
|
650
|
+
* @generated from message uniswap.liquidity.v2.TokenMetadata
|
|
651
|
+
*/
|
|
652
|
+
export class TokenMetadata extends Message {
|
|
653
|
+
constructor(data) {
|
|
654
|
+
super();
|
|
655
|
+
proto3.util.initPartial(data, this);
|
|
656
|
+
}
|
|
657
|
+
static fromBinary(bytes, options) {
|
|
658
|
+
return new TokenMetadata().fromBinary(bytes, options);
|
|
659
|
+
}
|
|
660
|
+
static fromJson(jsonValue, options) {
|
|
661
|
+
return new TokenMetadata().fromJson(jsonValue, options);
|
|
662
|
+
}
|
|
663
|
+
static fromJsonString(jsonString, options) {
|
|
664
|
+
return new TokenMetadata().fromJsonString(jsonString, options);
|
|
665
|
+
}
|
|
666
|
+
static equals(a, b) {
|
|
667
|
+
return proto3.util.equals(TokenMetadata, a, b);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
TokenMetadata.runtime = proto3;
|
|
671
|
+
TokenMetadata.typeName = "uniswap.liquidity.v2.TokenMetadata";
|
|
672
|
+
TokenMetadata.fields = proto3.util.newFieldList(() => [
|
|
673
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
674
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
675
|
+
{ no: 3, name: "decimals", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
676
|
+
{ no: 4, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
677
|
+
]);
|
|
649
678
|
/**
|
|
650
679
|
* @generated from message uniswap.liquidity.v2.PoolSummary
|
|
651
680
|
*/
|
|
@@ -715,6 +744,8 @@ PoolSummary.fields = proto3.util.newFieldList(() => [
|
|
|
715
744
|
{ no: 11, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
716
745
|
{ no: 12, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
717
746
|
{ no: 13, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
747
|
+
{ no: 14, name: "token0_metadata", kind: "message", T: TokenMetadata, opt: true },
|
|
748
|
+
{ no: 15, name: "token1_metadata", kind: "message", T: TokenMetadata, opt: true },
|
|
718
749
|
]);
|
|
719
750
|
/**
|
|
720
751
|
* @generated from message uniswap.liquidity.v2.PoolListCursor
|