@uniswap/client-liquidity 0.0.1 → 0.0.2
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 +7 -7
- package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +7 -7
- package/dist/uniswap/liquidity/v1/api_connect.d.ts +6 -6
- package/dist/uniswap/liquidity/v1/api_connect.js +6 -6
- package/dist/uniswap/liquidity/v1/api_pb.d.ts +43 -114
- package/dist/uniswap/liquidity/v1/api_pb.js +37 -154
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.d.ts +16 -0
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +20 -0
- package/dist/uniswap/liquidity/v1/auction_connect.d.ts +20 -0
- package/dist/uniswap/liquidity/v1/auction_connect.js +24 -0
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +75 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +93 -0
- package/dist/uniswap/liquidity/v1/types_pb.d.ts +286 -0
- package/dist/uniswap/liquidity/v1/types_pb.js +391 -0
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
2
|
+
import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
|
-
* @generated from rpc uniswap.liquidity.v1.LiquidityService.
|
|
4
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
7
|
-
readonly localName: "
|
|
8
|
-
readonly name: "
|
|
6
|
+
export declare const migrateV2ToV3LPPosition: {
|
|
7
|
+
readonly localName: "migrateV2ToV3LPPosition";
|
|
8
|
+
readonly name: "MigrateV2ToV3LPPosition";
|
|
9
9
|
readonly kind: MethodKind.Unary;
|
|
10
|
-
readonly I: typeof
|
|
11
|
-
readonly O: typeof
|
|
10
|
+
readonly I: typeof MigrateV2ToV3LPPositionRequest;
|
|
11
|
+
readonly O: typeof MigrateV2ToV3LPPositionResponse;
|
|
12
12
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
13
13
|
readonly service: {
|
|
14
14
|
readonly typeName: "uniswap.liquidity.v1.LiquidityService";
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
6
|
+
import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
|
-
* @generated from rpc uniswap.liquidity.v1.LiquidityService.
|
|
8
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
|
|
9
9
|
*/
|
|
10
|
-
export const
|
|
11
|
-
localName: "
|
|
12
|
-
name: "
|
|
10
|
+
export const migrateV2ToV3LPPosition = {
|
|
11
|
+
localName: "migrateV2ToV3LPPosition",
|
|
12
|
+
name: "MigrateV2ToV3LPPosition",
|
|
13
13
|
kind: MethodKind.Unary,
|
|
14
|
-
I:
|
|
15
|
-
O:
|
|
14
|
+
I: MigrateV2ToV3LPPositionRequest,
|
|
15
|
+
O: MigrateV2ToV3LPPositionResponse,
|
|
16
16
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
17
17
|
service: {
|
|
18
18
|
typeName: "uniswap.liquidity.v1.LiquidityService"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service uniswap.liquidity.v1.LiquidityService
|
|
@@ -7,12 +7,12 @@ export declare const LiquidityService: {
|
|
|
7
7
|
readonly typeName: "uniswap.liquidity.v1.LiquidityService";
|
|
8
8
|
readonly methods: {
|
|
9
9
|
/**
|
|
10
|
-
* @generated from rpc uniswap.liquidity.v1.LiquidityService.
|
|
10
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
|
|
11
11
|
*/
|
|
12
|
-
readonly
|
|
13
|
-
readonly name: "
|
|
14
|
-
readonly I: typeof
|
|
15
|
-
readonly O: typeof
|
|
12
|
+
readonly migrateV2ToV3LPPosition: {
|
|
13
|
+
readonly name: "MigrateV2ToV3LPPosition";
|
|
14
|
+
readonly I: typeof MigrateV2ToV3LPPositionRequest;
|
|
15
|
+
readonly O: typeof MigrateV2ToV3LPPositionResponse;
|
|
16
16
|
readonly kind: MethodKind.Unary;
|
|
17
17
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
18
18
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file uniswap/liquidity/v1/api.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service uniswap.liquidity.v1.LiquidityService
|
|
@@ -11,12 +11,12 @@ export const LiquidityService = {
|
|
|
11
11
|
typeName: "uniswap.liquidity.v1.LiquidityService",
|
|
12
12
|
methods: {
|
|
13
13
|
/**
|
|
14
|
-
* @generated from rpc uniswap.liquidity.v1.LiquidityService.
|
|
14
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
name: "
|
|
18
|
-
I:
|
|
19
|
-
O:
|
|
16
|
+
migrateV2ToV3LPPosition: {
|
|
17
|
+
name: "MigrateV2ToV3LPPosition",
|
|
18
|
+
I: MigrateV2ToV3LPPositionRequest,
|
|
19
|
+
O: MigrateV2ToV3LPPositionResponse,
|
|
20
20
|
kind: MethodKind.Unary,
|
|
21
21
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
22
22
|
},
|
|
@@ -1,142 +1,71 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { ChainId, TransactionRequest, V3Position } from "./types_pb.js";
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
+
* REQUESTS & RESPONSES
|
|
6
|
+
*
|
|
7
|
+
* @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest
|
|
5
8
|
*/
|
|
6
|
-
export declare class
|
|
9
|
+
export declare class MigrateV2ToV3LPPositionRequest extends Message<MigrateV2ToV3LPPositionRequest> {
|
|
7
10
|
/**
|
|
8
|
-
* @generated from field: string
|
|
11
|
+
* @generated from field: string wallet_address = 1;
|
|
9
12
|
*/
|
|
10
|
-
|
|
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> {
|
|
13
|
+
walletAddress: string;
|
|
24
14
|
/**
|
|
25
|
-
* @generated from field:
|
|
15
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
26
16
|
*/
|
|
27
|
-
|
|
17
|
+
chainId: ChainId;
|
|
28
18
|
/**
|
|
29
|
-
* @generated from
|
|
19
|
+
* @generated from field: uniswap.liquidity.v1.V3Position v3_params = 3;
|
|
30
20
|
*/
|
|
31
|
-
|
|
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> {
|
|
21
|
+
v3Params?: V3Position;
|
|
60
22
|
/**
|
|
61
|
-
* @generated from field: int32
|
|
23
|
+
* @generated from field: optional int32 slippage_bps = 4;
|
|
62
24
|
*/
|
|
63
|
-
|
|
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> {
|
|
25
|
+
slippageBps?: number;
|
|
77
26
|
/**
|
|
78
|
-
* @generated from field:
|
|
27
|
+
* @generated from field: optional string deadline = 5;
|
|
79
28
|
*/
|
|
80
|
-
|
|
29
|
+
deadline?: string;
|
|
81
30
|
/**
|
|
82
|
-
* @generated from
|
|
31
|
+
* @generated from field: optional bool refund_as_eth = 6;
|
|
83
32
|
*/
|
|
84
|
-
|
|
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> {
|
|
33
|
+
refundAsEth?: boolean;
|
|
113
34
|
/**
|
|
114
|
-
* @generated from field:
|
|
35
|
+
* @generated from field: optional bool simulate_transaction = 7;
|
|
115
36
|
*/
|
|
116
|
-
|
|
117
|
-
constructor(data?: PartialMessage<
|
|
37
|
+
simulateTransaction?: boolean;
|
|
38
|
+
constructor(data?: PartialMessage<MigrateV2ToV3LPPositionRequest>);
|
|
118
39
|
static readonly runtime: typeof proto3;
|
|
119
|
-
static readonly typeName = "uniswap.liquidity.v1.
|
|
40
|
+
static readonly typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest";
|
|
120
41
|
static readonly fields: FieldList;
|
|
121
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
122
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
123
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
124
|
-
static equals(a:
|
|
42
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV2ToV3LPPositionRequest;
|
|
43
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionRequest;
|
|
44
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionRequest;
|
|
45
|
+
static equals(a: MigrateV2ToV3LPPositionRequest | PlainMessage<MigrateV2ToV3LPPositionRequest> | undefined, b: MigrateV2ToV3LPPositionRequest | PlainMessage<MigrateV2ToV3LPPositionRequest> | undefined): boolean;
|
|
125
46
|
}
|
|
126
47
|
/**
|
|
127
|
-
* @generated from message uniswap.liquidity.v1.
|
|
48
|
+
* @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse
|
|
128
49
|
*/
|
|
129
|
-
export declare class
|
|
50
|
+
export declare class MigrateV2ToV3LPPositionResponse extends Message<MigrateV2ToV3LPPositionResponse> {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: string request_id = 1;
|
|
53
|
+
*/
|
|
54
|
+
requestId: string;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: uniswap.liquidity.v1.TransactionRequest migrate = 2;
|
|
57
|
+
*/
|
|
58
|
+
migrate?: TransactionRequest;
|
|
130
59
|
/**
|
|
131
|
-
* @generated from field: string
|
|
60
|
+
* @generated from field: optional string gasFee = 3;
|
|
132
61
|
*/
|
|
133
|
-
|
|
134
|
-
constructor(data?: PartialMessage<
|
|
62
|
+
gasFee?: string;
|
|
63
|
+
constructor(data?: PartialMessage<MigrateV2ToV3LPPositionResponse>);
|
|
135
64
|
static readonly runtime: typeof proto3;
|
|
136
|
-
static readonly typeName = "uniswap.liquidity.v1.
|
|
65
|
+
static readonly typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse";
|
|
137
66
|
static readonly fields: FieldList;
|
|
138
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
139
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
140
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
141
|
-
static equals(a:
|
|
67
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV2ToV3LPPositionResponse;
|
|
68
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionResponse;
|
|
69
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionResponse;
|
|
70
|
+
static equals(a: MigrateV2ToV3LPPositionResponse | PlainMessage<MigrateV2ToV3LPPositionResponse> | undefined, b: MigrateV2ToV3LPPositionResponse | PlainMessage<MigrateV2ToV3LPPositionResponse> | undefined): boolean;
|
|
142
71
|
}
|
|
@@ -3,195 +3,78 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
import { ChainId, TransactionRequest, V3Position } from "./types_pb.js";
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* REQUESTS & RESPONSES
|
|
9
|
+
*
|
|
10
|
+
* @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest
|
|
8
11
|
*/
|
|
9
|
-
export class
|
|
12
|
+
export class MigrateV2ToV3LPPositionRequest extends Message {
|
|
10
13
|
constructor(data) {
|
|
11
14
|
super();
|
|
12
15
|
/**
|
|
13
|
-
* @generated from field: string
|
|
16
|
+
* @generated from field: string wallet_address = 1;
|
|
14
17
|
*/
|
|
15
|
-
this.
|
|
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();
|
|
18
|
+
this.walletAddress = "";
|
|
144
19
|
/**
|
|
145
|
-
* @generated from field:
|
|
20
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
146
21
|
*/
|
|
147
|
-
this.
|
|
22
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
148
23
|
proto3.util.initPartial(data, this);
|
|
149
24
|
}
|
|
150
25
|
static fromBinary(bytes, options) {
|
|
151
|
-
return new
|
|
26
|
+
return new MigrateV2ToV3LPPositionRequest().fromBinary(bytes, options);
|
|
152
27
|
}
|
|
153
28
|
static fromJson(jsonValue, options) {
|
|
154
|
-
return new
|
|
29
|
+
return new MigrateV2ToV3LPPositionRequest().fromJson(jsonValue, options);
|
|
155
30
|
}
|
|
156
31
|
static fromJsonString(jsonString, options) {
|
|
157
|
-
return new
|
|
32
|
+
return new MigrateV2ToV3LPPositionRequest().fromJsonString(jsonString, options);
|
|
158
33
|
}
|
|
159
34
|
static equals(a, b) {
|
|
160
|
-
return proto3.util.equals(
|
|
35
|
+
return proto3.util.equals(MigrateV2ToV3LPPositionRequest, a, b);
|
|
161
36
|
}
|
|
162
37
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
{ no: 1, name: "
|
|
38
|
+
MigrateV2ToV3LPPositionRequest.runtime = proto3;
|
|
39
|
+
MigrateV2ToV3LPPositionRequest.typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest";
|
|
40
|
+
MigrateV2ToV3LPPositionRequest.fields = proto3.util.newFieldList(() => [
|
|
41
|
+
{ no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
43
|
+
{ no: 3, name: "v3_params", kind: "message", T: V3Position },
|
|
44
|
+
{ no: 4, name: "slippage_bps", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
45
|
+
{ no: 5, name: "deadline", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
46
|
+
{ no: 6, name: "refund_as_eth", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
47
|
+
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
167
48
|
]);
|
|
168
49
|
/**
|
|
169
|
-
* @generated from message uniswap.liquidity.v1.
|
|
50
|
+
* @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse
|
|
170
51
|
*/
|
|
171
|
-
export class
|
|
52
|
+
export class MigrateV2ToV3LPPositionResponse extends Message {
|
|
172
53
|
constructor(data) {
|
|
173
54
|
super();
|
|
174
55
|
/**
|
|
175
|
-
* @generated from field: string
|
|
56
|
+
* @generated from field: string request_id = 1;
|
|
176
57
|
*/
|
|
177
|
-
this.
|
|
58
|
+
this.requestId = "";
|
|
178
59
|
proto3.util.initPartial(data, this);
|
|
179
60
|
}
|
|
180
61
|
static fromBinary(bytes, options) {
|
|
181
|
-
return new
|
|
62
|
+
return new MigrateV2ToV3LPPositionResponse().fromBinary(bytes, options);
|
|
182
63
|
}
|
|
183
64
|
static fromJson(jsonValue, options) {
|
|
184
|
-
return new
|
|
65
|
+
return new MigrateV2ToV3LPPositionResponse().fromJson(jsonValue, options);
|
|
185
66
|
}
|
|
186
67
|
static fromJsonString(jsonString, options) {
|
|
187
|
-
return new
|
|
68
|
+
return new MigrateV2ToV3LPPositionResponse().fromJsonString(jsonString, options);
|
|
188
69
|
}
|
|
189
70
|
static equals(a, b) {
|
|
190
|
-
return proto3.util.equals(
|
|
71
|
+
return proto3.util.equals(MigrateV2ToV3LPPositionResponse, a, b);
|
|
191
72
|
}
|
|
192
73
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
{ no: 1, name: "
|
|
74
|
+
MigrateV2ToV3LPPositionResponse.runtime = proto3;
|
|
75
|
+
MigrateV2ToV3LPPositionResponse.typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse";
|
|
76
|
+
MigrateV2ToV3LPPositionResponse.fields = proto3.util.newFieldList(() => [
|
|
77
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
|
+
{ no: 2, name: "migrate", kind: "message", T: TransactionRequest },
|
|
79
|
+
{ no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
197
80
|
]);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
5
|
+
*/
|
|
6
|
+
export declare const submitBid: {
|
|
7
|
+
readonly localName: "submitBid";
|
|
8
|
+
readonly name: "SubmitBid";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof SubmitBidRequest;
|
|
11
|
+
readonly O: typeof SubmitBidResponse;
|
|
12
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
13
|
+
readonly service: {
|
|
14
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
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/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
9
|
+
*/
|
|
10
|
+
export const submitBid = {
|
|
11
|
+
localName: "submitBid",
|
|
12
|
+
name: "SubmitBid",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: SubmitBidRequest,
|
|
15
|
+
O: SubmitBidResponse,
|
|
16
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
17
|
+
service: {
|
|
18
|
+
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
2
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
5
|
+
*/
|
|
6
|
+
export declare const AuctionService: {
|
|
7
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
8
|
+
readonly methods: {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
11
|
+
*/
|
|
12
|
+
readonly submitBid: {
|
|
13
|
+
readonly name: "SubmitBid";
|
|
14
|
+
readonly I: typeof SubmitBidRequest;
|
|
15
|
+
readonly O: typeof SubmitBidResponse;
|
|
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/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
6
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
9
|
+
*/
|
|
10
|
+
export const AuctionService = {
|
|
11
|
+
typeName: "uniswap.liquidity.v1.AuctionService",
|
|
12
|
+
methods: {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
15
|
+
*/
|
|
16
|
+
submitBid: {
|
|
17
|
+
name: "SubmitBid",
|
|
18
|
+
I: SubmitBidRequest,
|
|
19
|
+
O: SubmitBidResponse,
|
|
20
|
+
kind: MethodKind.Unary,
|
|
21
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
};
|