@uniswap/client-liquidity 0.0.1
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/uniswap/liquidity/v1/api-LiquidityService_connectquery.d.ts +16 -0
- package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +20 -0
- package/dist/uniswap/liquidity/v1/api_connect.d.ts +20 -0
- package/dist/uniswap/liquidity/v1/api_connect.js +24 -0
- package/dist/uniswap/liquidity/v1/api_pb.d.ts +142 -0
- package/dist/uniswap/liquidity/v1/api_pb.js +197 -0
- package/package.json +10 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { MyMethodRequest, MyMethodResponse } from "./api_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MyMethod
|
|
5
|
+
*/
|
|
6
|
+
export declare const myMethod: {
|
|
7
|
+
readonly localName: "myMethod";
|
|
8
|
+
readonly name: "MyMethod";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof MyMethodRequest;
|
|
11
|
+
readonly O: typeof MyMethodResponse;
|
|
12
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
13
|
+
readonly service: {
|
|
14
|
+
readonly typeName: "uniswap.liquidity.v1.LiquidityService";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/liquidity/v1/api.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { MyMethodRequest, MyMethodResponse } from "./api_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MyMethod
|
|
9
|
+
*/
|
|
10
|
+
export const myMethod = {
|
|
11
|
+
localName: "myMethod",
|
|
12
|
+
name: "MyMethod",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: MyMethodRequest,
|
|
15
|
+
O: MyMethodResponse,
|
|
16
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
17
|
+
service: {
|
|
18
|
+
typeName: "uniswap.liquidity.v1.LiquidityService"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MyMethodRequest, MyMethodResponse } from "./api_pb.js";
|
|
2
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from service uniswap.liquidity.v1.LiquidityService
|
|
5
|
+
*/
|
|
6
|
+
export declare const LiquidityService: {
|
|
7
|
+
readonly typeName: "uniswap.liquidity.v1.LiquidityService";
|
|
8
|
+
readonly methods: {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MyMethod
|
|
11
|
+
*/
|
|
12
|
+
readonly myMethod: {
|
|
13
|
+
readonly name: "MyMethod";
|
|
14
|
+
readonly I: typeof MyMethodRequest;
|
|
15
|
+
readonly O: typeof MyMethodResponse;
|
|
16
|
+
readonly kind: MethodKind.Unary;
|
|
17
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/liquidity/v1/api.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MyMethodRequest, MyMethodResponse } from "./api_pb.js";
|
|
6
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from service uniswap.liquidity.v1.LiquidityService
|
|
9
|
+
*/
|
|
10
|
+
export const LiquidityService = {
|
|
11
|
+
typeName: "uniswap.liquidity.v1.LiquidityService",
|
|
12
|
+
methods: {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MyMethod
|
|
15
|
+
*/
|
|
16
|
+
myMethod: {
|
|
17
|
+
name: "MyMethod",
|
|
18
|
+
I: MyMethodRequest,
|
|
19
|
+
O: MyMethodResponse,
|
|
20
|
+
kind: MethodKind.Unary,
|
|
21
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from message uniswap.liquidity.v1.MyMethodRequest
|
|
5
|
+
*/
|
|
6
|
+
export declare class MyMethodRequest extends Message<MyMethodRequest> {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from field: string name = 1;
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
constructor(data?: PartialMessage<MyMethodRequest>);
|
|
12
|
+
static readonly runtime: typeof proto3;
|
|
13
|
+
static readonly typeName = "uniswap.liquidity.v1.MyMethodRequest";
|
|
14
|
+
static readonly fields: FieldList;
|
|
15
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MyMethodRequest;
|
|
16
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MyMethodRequest;
|
|
17
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MyMethodRequest;
|
|
18
|
+
static equals(a: MyMethodRequest | PlainMessage<MyMethodRequest> | undefined, b: MyMethodRequest | PlainMessage<MyMethodRequest> | undefined): boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message uniswap.liquidity.v1.MyMethodResponse
|
|
22
|
+
*/
|
|
23
|
+
export declare class MyMethodResponse extends Message<MyMethodResponse> {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string value = 1;
|
|
26
|
+
*/
|
|
27
|
+
value: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from oneof uniswap.liquidity.v1.MyMethodResponse.response
|
|
30
|
+
*/
|
|
31
|
+
response: {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: uniswap.liquidity.v1.SimpleResponse simple_response = 2;
|
|
34
|
+
*/
|
|
35
|
+
value: SimpleResponse;
|
|
36
|
+
case: "simpleResponse";
|
|
37
|
+
} | {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: uniswap.liquidity.v1.ComplexResponse complex_response = 3;
|
|
40
|
+
*/
|
|
41
|
+
value: ComplexResponse;
|
|
42
|
+
case: "complexResponse";
|
|
43
|
+
} | {
|
|
44
|
+
case: undefined;
|
|
45
|
+
value?: undefined;
|
|
46
|
+
};
|
|
47
|
+
constructor(data?: PartialMessage<MyMethodResponse>);
|
|
48
|
+
static readonly runtime: typeof proto3;
|
|
49
|
+
static readonly typeName = "uniswap.liquidity.v1.MyMethodResponse";
|
|
50
|
+
static readonly fields: FieldList;
|
|
51
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MyMethodResponse;
|
|
52
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MyMethodResponse;
|
|
53
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MyMethodResponse;
|
|
54
|
+
static equals(a: MyMethodResponse | PlainMessage<MyMethodResponse> | undefined, b: MyMethodResponse | PlainMessage<MyMethodResponse> | undefined): boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message uniswap.liquidity.v1.SimpleResponse
|
|
58
|
+
*/
|
|
59
|
+
export declare class SimpleResponse extends Message<SimpleResponse> {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: int32 code = 1;
|
|
62
|
+
*/
|
|
63
|
+
code: number;
|
|
64
|
+
constructor(data?: PartialMessage<SimpleResponse>);
|
|
65
|
+
static readonly runtime: typeof proto3;
|
|
66
|
+
static readonly typeName = "uniswap.liquidity.v1.SimpleResponse";
|
|
67
|
+
static readonly fields: FieldList;
|
|
68
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimpleResponse;
|
|
69
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimpleResponse;
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimpleResponse;
|
|
71
|
+
static equals(a: SimpleResponse | PlainMessage<SimpleResponse> | undefined, b: SimpleResponse | PlainMessage<SimpleResponse> | undefined): boolean;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @generated from message uniswap.liquidity.v1.ComplexResponse
|
|
75
|
+
*/
|
|
76
|
+
export declare class ComplexResponse extends Message<ComplexResponse> {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: int32 code = 1;
|
|
79
|
+
*/
|
|
80
|
+
code: number;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from oneof uniswap.liquidity.v1.ComplexResponse.detail
|
|
83
|
+
*/
|
|
84
|
+
detail: {
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: uniswap.liquidity.v1.DetailedResponse detailed_response = 2;
|
|
87
|
+
*/
|
|
88
|
+
value: DetailedResponse;
|
|
89
|
+
case: "detailedResponse";
|
|
90
|
+
} | {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: uniswap.liquidity.v1.SummaryResponse summary_response = 3;
|
|
93
|
+
*/
|
|
94
|
+
value: SummaryResponse;
|
|
95
|
+
case: "summaryResponse";
|
|
96
|
+
} | {
|
|
97
|
+
case: undefined;
|
|
98
|
+
value?: undefined;
|
|
99
|
+
};
|
|
100
|
+
constructor(data?: PartialMessage<ComplexResponse>);
|
|
101
|
+
static readonly runtime: typeof proto3;
|
|
102
|
+
static readonly typeName = "uniswap.liquidity.v1.ComplexResponse";
|
|
103
|
+
static readonly fields: FieldList;
|
|
104
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ComplexResponse;
|
|
105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ComplexResponse;
|
|
106
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ComplexResponse;
|
|
107
|
+
static equals(a: ComplexResponse | PlainMessage<ComplexResponse> | undefined, b: ComplexResponse | PlainMessage<ComplexResponse> | undefined): boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message uniswap.liquidity.v1.DetailedResponse
|
|
111
|
+
*/
|
|
112
|
+
export declare class DetailedResponse extends Message<DetailedResponse> {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string description = 1;
|
|
115
|
+
*/
|
|
116
|
+
description: string;
|
|
117
|
+
constructor(data?: PartialMessage<DetailedResponse>);
|
|
118
|
+
static readonly runtime: typeof proto3;
|
|
119
|
+
static readonly typeName = "uniswap.liquidity.v1.DetailedResponse";
|
|
120
|
+
static readonly fields: FieldList;
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DetailedResponse;
|
|
122
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DetailedResponse;
|
|
123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DetailedResponse;
|
|
124
|
+
static equals(a: DetailedResponse | PlainMessage<DetailedResponse> | undefined, b: DetailedResponse | PlainMessage<DetailedResponse> | undefined): boolean;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message uniswap.liquidity.v1.SummaryResponse
|
|
128
|
+
*/
|
|
129
|
+
export declare class SummaryResponse extends Message<SummaryResponse> {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string summary = 1;
|
|
132
|
+
*/
|
|
133
|
+
summary: string;
|
|
134
|
+
constructor(data?: PartialMessage<SummaryResponse>);
|
|
135
|
+
static readonly runtime: typeof proto3;
|
|
136
|
+
static readonly typeName = "uniswap.liquidity.v1.SummaryResponse";
|
|
137
|
+
static readonly fields: FieldList;
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SummaryResponse;
|
|
139
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SummaryResponse;
|
|
140
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SummaryResponse;
|
|
141
|
+
static equals(a: SummaryResponse | PlainMessage<SummaryResponse> | undefined, b: SummaryResponse | PlainMessage<SummaryResponse> | undefined): boolean;
|
|
142
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/liquidity/v1/api.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message uniswap.liquidity.v1.MyMethodRequest
|
|
8
|
+
*/
|
|
9
|
+
export class MyMethodRequest extends Message {
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super();
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string name = 1;
|
|
14
|
+
*/
|
|
15
|
+
this.name = "";
|
|
16
|
+
proto3.util.initPartial(data, this);
|
|
17
|
+
}
|
|
18
|
+
static fromBinary(bytes, options) {
|
|
19
|
+
return new MyMethodRequest().fromBinary(bytes, options);
|
|
20
|
+
}
|
|
21
|
+
static fromJson(jsonValue, options) {
|
|
22
|
+
return new MyMethodRequest().fromJson(jsonValue, options);
|
|
23
|
+
}
|
|
24
|
+
static fromJsonString(jsonString, options) {
|
|
25
|
+
return new MyMethodRequest().fromJsonString(jsonString, options);
|
|
26
|
+
}
|
|
27
|
+
static equals(a, b) {
|
|
28
|
+
return proto3.util.equals(MyMethodRequest, a, b);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
MyMethodRequest.runtime = proto3;
|
|
32
|
+
MyMethodRequest.typeName = "uniswap.liquidity.v1.MyMethodRequest";
|
|
33
|
+
MyMethodRequest.fields = proto3.util.newFieldList(() => [
|
|
34
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
35
|
+
]);
|
|
36
|
+
/**
|
|
37
|
+
* @generated from message uniswap.liquidity.v1.MyMethodResponse
|
|
38
|
+
*/
|
|
39
|
+
export class MyMethodResponse extends Message {
|
|
40
|
+
constructor(data) {
|
|
41
|
+
super();
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: string value = 1;
|
|
44
|
+
*/
|
|
45
|
+
this.value = "";
|
|
46
|
+
/**
|
|
47
|
+
* @generated from oneof uniswap.liquidity.v1.MyMethodResponse.response
|
|
48
|
+
*/
|
|
49
|
+
this.response = { case: undefined };
|
|
50
|
+
proto3.util.initPartial(data, this);
|
|
51
|
+
}
|
|
52
|
+
static fromBinary(bytes, options) {
|
|
53
|
+
return new MyMethodResponse().fromBinary(bytes, options);
|
|
54
|
+
}
|
|
55
|
+
static fromJson(jsonValue, options) {
|
|
56
|
+
return new MyMethodResponse().fromJson(jsonValue, options);
|
|
57
|
+
}
|
|
58
|
+
static fromJsonString(jsonString, options) {
|
|
59
|
+
return new MyMethodResponse().fromJsonString(jsonString, options);
|
|
60
|
+
}
|
|
61
|
+
static equals(a, b) {
|
|
62
|
+
return proto3.util.equals(MyMethodResponse, a, b);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
MyMethodResponse.runtime = proto3;
|
|
66
|
+
MyMethodResponse.typeName = "uniswap.liquidity.v1.MyMethodResponse";
|
|
67
|
+
MyMethodResponse.fields = proto3.util.newFieldList(() => [
|
|
68
|
+
{ no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
+
{ no: 2, name: "simple_response", kind: "message", T: SimpleResponse, oneof: "response" },
|
|
70
|
+
{ no: 3, name: "complex_response", kind: "message", T: ComplexResponse, oneof: "response" },
|
|
71
|
+
]);
|
|
72
|
+
/**
|
|
73
|
+
* @generated from message uniswap.liquidity.v1.SimpleResponse
|
|
74
|
+
*/
|
|
75
|
+
export class SimpleResponse extends Message {
|
|
76
|
+
constructor(data) {
|
|
77
|
+
super();
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: int32 code = 1;
|
|
80
|
+
*/
|
|
81
|
+
this.code = 0;
|
|
82
|
+
proto3.util.initPartial(data, this);
|
|
83
|
+
}
|
|
84
|
+
static fromBinary(bytes, options) {
|
|
85
|
+
return new SimpleResponse().fromBinary(bytes, options);
|
|
86
|
+
}
|
|
87
|
+
static fromJson(jsonValue, options) {
|
|
88
|
+
return new SimpleResponse().fromJson(jsonValue, options);
|
|
89
|
+
}
|
|
90
|
+
static fromJsonString(jsonString, options) {
|
|
91
|
+
return new SimpleResponse().fromJsonString(jsonString, options);
|
|
92
|
+
}
|
|
93
|
+
static equals(a, b) {
|
|
94
|
+
return proto3.util.equals(SimpleResponse, a, b);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
SimpleResponse.runtime = proto3;
|
|
98
|
+
SimpleResponse.typeName = "uniswap.liquidity.v1.SimpleResponse";
|
|
99
|
+
SimpleResponse.fields = proto3.util.newFieldList(() => [
|
|
100
|
+
{ no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
101
|
+
]);
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message uniswap.liquidity.v1.ComplexResponse
|
|
104
|
+
*/
|
|
105
|
+
export class ComplexResponse extends Message {
|
|
106
|
+
constructor(data) {
|
|
107
|
+
super();
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: int32 code = 1;
|
|
110
|
+
*/
|
|
111
|
+
this.code = 0;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from oneof uniswap.liquidity.v1.ComplexResponse.detail
|
|
114
|
+
*/
|
|
115
|
+
this.detail = { case: undefined };
|
|
116
|
+
proto3.util.initPartial(data, this);
|
|
117
|
+
}
|
|
118
|
+
static fromBinary(bytes, options) {
|
|
119
|
+
return new ComplexResponse().fromBinary(bytes, options);
|
|
120
|
+
}
|
|
121
|
+
static fromJson(jsonValue, options) {
|
|
122
|
+
return new ComplexResponse().fromJson(jsonValue, options);
|
|
123
|
+
}
|
|
124
|
+
static fromJsonString(jsonString, options) {
|
|
125
|
+
return new ComplexResponse().fromJsonString(jsonString, options);
|
|
126
|
+
}
|
|
127
|
+
static equals(a, b) {
|
|
128
|
+
return proto3.util.equals(ComplexResponse, a, b);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
ComplexResponse.runtime = proto3;
|
|
132
|
+
ComplexResponse.typeName = "uniswap.liquidity.v1.ComplexResponse";
|
|
133
|
+
ComplexResponse.fields = proto3.util.newFieldList(() => [
|
|
134
|
+
{ no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
135
|
+
{ no: 2, name: "detailed_response", kind: "message", T: DetailedResponse, oneof: "detail" },
|
|
136
|
+
{ no: 3, name: "summary_response", kind: "message", T: SummaryResponse, oneof: "detail" },
|
|
137
|
+
]);
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message uniswap.liquidity.v1.DetailedResponse
|
|
140
|
+
*/
|
|
141
|
+
export class DetailedResponse extends Message {
|
|
142
|
+
constructor(data) {
|
|
143
|
+
super();
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: string description = 1;
|
|
146
|
+
*/
|
|
147
|
+
this.description = "";
|
|
148
|
+
proto3.util.initPartial(data, this);
|
|
149
|
+
}
|
|
150
|
+
static fromBinary(bytes, options) {
|
|
151
|
+
return new DetailedResponse().fromBinary(bytes, options);
|
|
152
|
+
}
|
|
153
|
+
static fromJson(jsonValue, options) {
|
|
154
|
+
return new DetailedResponse().fromJson(jsonValue, options);
|
|
155
|
+
}
|
|
156
|
+
static fromJsonString(jsonString, options) {
|
|
157
|
+
return new DetailedResponse().fromJsonString(jsonString, options);
|
|
158
|
+
}
|
|
159
|
+
static equals(a, b) {
|
|
160
|
+
return proto3.util.equals(DetailedResponse, a, b);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
DetailedResponse.runtime = proto3;
|
|
164
|
+
DetailedResponse.typeName = "uniswap.liquidity.v1.DetailedResponse";
|
|
165
|
+
DetailedResponse.fields = proto3.util.newFieldList(() => [
|
|
166
|
+
{ no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
167
|
+
]);
|
|
168
|
+
/**
|
|
169
|
+
* @generated from message uniswap.liquidity.v1.SummaryResponse
|
|
170
|
+
*/
|
|
171
|
+
export class SummaryResponse extends Message {
|
|
172
|
+
constructor(data) {
|
|
173
|
+
super();
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string summary = 1;
|
|
176
|
+
*/
|
|
177
|
+
this.summary = "";
|
|
178
|
+
proto3.util.initPartial(data, this);
|
|
179
|
+
}
|
|
180
|
+
static fromBinary(bytes, options) {
|
|
181
|
+
return new SummaryResponse().fromBinary(bytes, options);
|
|
182
|
+
}
|
|
183
|
+
static fromJson(jsonValue, options) {
|
|
184
|
+
return new SummaryResponse().fromJson(jsonValue, options);
|
|
185
|
+
}
|
|
186
|
+
static fromJsonString(jsonString, options) {
|
|
187
|
+
return new SummaryResponse().fromJsonString(jsonString, options);
|
|
188
|
+
}
|
|
189
|
+
static equals(a, b) {
|
|
190
|
+
return proto3.util.equals(SummaryResponse, a, b);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
SummaryResponse.runtime = proto3;
|
|
194
|
+
SummaryResponse.typeName = "uniswap.liquidity.v1.SummaryResponse";
|
|
195
|
+
SummaryResponse.fields = proto3.util.newFieldList(() => [
|
|
196
|
+
{ no: 1, name: "summary", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
|
+
]);
|