@uniswap/client-liquidity 0.0.15 → 0.0.17
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/auction-AuctionService_connectquery.d.ts +29 -1
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +29 -1
- package/dist/uniswap/liquidity/v1/auction_connect.d.ts +21 -1
- package/dist/uniswap/liquidity/v1/auction_connect.js +21 -1
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +120 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +157 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
2
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
5
5
|
*/
|
|
@@ -28,3 +28,31 @@ export declare const exitBidPosition: {
|
|
|
28
28
|
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
|
|
33
|
+
*/
|
|
34
|
+
export declare const claimTokens: {
|
|
35
|
+
readonly localName: "claimTokens";
|
|
36
|
+
readonly name: "ClaimTokens";
|
|
37
|
+
readonly kind: MethodKind.Unary;
|
|
38
|
+
readonly I: typeof ClaimTokensRequest;
|
|
39
|
+
readonly O: typeof ClaimTokensResponse;
|
|
40
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
41
|
+
readonly service: {
|
|
42
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidAndClaimTokens
|
|
47
|
+
*/
|
|
48
|
+
export declare const exitBidAndClaimTokens: {
|
|
49
|
+
readonly localName: "exitBidAndClaimTokens";
|
|
50
|
+
readonly name: "ExitBidAndClaimTokens";
|
|
51
|
+
readonly kind: MethodKind.Unary;
|
|
52
|
+
readonly I: typeof ExitBidAndClaimTokensRequest;
|
|
53
|
+
readonly O: typeof ExitBidAndClaimTokensResponse;
|
|
54
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
55
|
+
readonly service: {
|
|
56
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
6
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
9
9
|
*/
|
|
@@ -32,3 +32,31 @@ export const exitBidPosition = {
|
|
|
32
32
|
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
|
|
37
|
+
*/
|
|
38
|
+
export const claimTokens = {
|
|
39
|
+
localName: "claimTokens",
|
|
40
|
+
name: "ClaimTokens",
|
|
41
|
+
kind: MethodKind.Unary,
|
|
42
|
+
I: ClaimTokensRequest,
|
|
43
|
+
O: ClaimTokensResponse,
|
|
44
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
45
|
+
service: {
|
|
46
|
+
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidAndClaimTokens
|
|
51
|
+
*/
|
|
52
|
+
export const exitBidAndClaimTokens = {
|
|
53
|
+
localName: "exitBidAndClaimTokens",
|
|
54
|
+
name: "ExitBidAndClaimTokens",
|
|
55
|
+
kind: MethodKind.Unary,
|
|
56
|
+
I: ExitBidAndClaimTokensRequest,
|
|
57
|
+
O: ExitBidAndClaimTokensResponse,
|
|
58
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
59
|
+
service: {
|
|
60
|
+
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
61
|
+
}
|
|
62
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
1
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
@@ -26,5 +26,25 @@ export declare const AuctionService: {
|
|
|
26
26
|
readonly kind: MethodKind.Unary;
|
|
27
27
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
28
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
|
|
31
|
+
*/
|
|
32
|
+
readonly claimTokens: {
|
|
33
|
+
readonly name: "ClaimTokens";
|
|
34
|
+
readonly I: typeof ClaimTokensRequest;
|
|
35
|
+
readonly O: typeof ClaimTokensResponse;
|
|
36
|
+
readonly kind: MethodKind.Unary;
|
|
37
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidAndClaimTokens
|
|
41
|
+
*/
|
|
42
|
+
readonly exitBidAndClaimTokens: {
|
|
43
|
+
readonly name: "ExitBidAndClaimTokens";
|
|
44
|
+
readonly I: typeof ExitBidAndClaimTokensRequest;
|
|
45
|
+
readonly O: typeof ExitBidAndClaimTokensResponse;
|
|
46
|
+
readonly kind: MethodKind.Unary;
|
|
47
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
48
|
+
};
|
|
29
49
|
};
|
|
30
50
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
5
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
@@ -30,5 +30,25 @@ export const AuctionService = {
|
|
|
30
30
|
kind: MethodKind.Unary,
|
|
31
31
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
|
|
35
|
+
*/
|
|
36
|
+
claimTokens: {
|
|
37
|
+
name: "ClaimTokens",
|
|
38
|
+
I: ClaimTokensRequest,
|
|
39
|
+
O: ClaimTokensResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidAndClaimTokens
|
|
45
|
+
*/
|
|
46
|
+
exitBidAndClaimTokens: {
|
|
47
|
+
name: "ExitBidAndClaimTokens",
|
|
48
|
+
I: ExitBidAndClaimTokensRequest,
|
|
49
|
+
O: ExitBidAndClaimTokensResponse,
|
|
50
|
+
kind: MethodKind.Unary,
|
|
51
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
52
|
+
},
|
|
33
53
|
}
|
|
34
54
|
};
|
|
@@ -131,3 +131,123 @@ export declare class ExitBidPositionResponse extends Message<ExitBidPositionResp
|
|
|
131
131
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidPositionResponse;
|
|
132
132
|
static equals(a: ExitBidPositionResponse | PlainMessage<ExitBidPositionResponse> | undefined, b: ExitBidPositionResponse | PlainMessage<ExitBidPositionResponse> | undefined): boolean;
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message uniswap.liquidity.v1.ClaimTokensRequest
|
|
136
|
+
*/
|
|
137
|
+
export declare class ClaimTokensRequest extends Message<ClaimTokensRequest> {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: repeated string bids = 1;
|
|
140
|
+
*/
|
|
141
|
+
bids: string[];
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string auction_contract_address = 2;
|
|
144
|
+
*/
|
|
145
|
+
auctionContractAddress: string;
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
148
|
+
*/
|
|
149
|
+
chainId: ChainId;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: optional bool simulate_transaction = 4;
|
|
152
|
+
*/
|
|
153
|
+
simulateTransaction?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string wallet_address = 5;
|
|
156
|
+
*/
|
|
157
|
+
walletAddress: string;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: optional bool should_claim_all = 6;
|
|
160
|
+
*/
|
|
161
|
+
shouldClaimAll?: boolean;
|
|
162
|
+
constructor(data?: PartialMessage<ClaimTokensRequest>);
|
|
163
|
+
static readonly runtime: typeof proto3;
|
|
164
|
+
static readonly typeName = "uniswap.liquidity.v1.ClaimTokensRequest";
|
|
165
|
+
static readonly fields: FieldList;
|
|
166
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimTokensRequest;
|
|
167
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimTokensRequest;
|
|
168
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimTokensRequest;
|
|
169
|
+
static equals(a: ClaimTokensRequest | PlainMessage<ClaimTokensRequest> | undefined, b: ClaimTokensRequest | PlainMessage<ClaimTokensRequest> | undefined): boolean;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @generated from message uniswap.liquidity.v1.ClaimTokensResponse
|
|
173
|
+
*/
|
|
174
|
+
export declare class ClaimTokensResponse extends Message<ClaimTokensResponse> {
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: string request_id = 1;
|
|
177
|
+
*/
|
|
178
|
+
requestId: string;
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: uniswap.liquidity.v1.TransactionRequest claim_tokens = 2;
|
|
181
|
+
*/
|
|
182
|
+
claimTokens?: TransactionRequest;
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: optional string gas_fee = 3;
|
|
185
|
+
*/
|
|
186
|
+
gasFee?: string;
|
|
187
|
+
constructor(data?: PartialMessage<ClaimTokensResponse>);
|
|
188
|
+
static readonly runtime: typeof proto3;
|
|
189
|
+
static readonly typeName = "uniswap.liquidity.v1.ClaimTokensResponse";
|
|
190
|
+
static readonly fields: FieldList;
|
|
191
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimTokensResponse;
|
|
192
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimTokensResponse;
|
|
193
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimTokensResponse;
|
|
194
|
+
static equals(a: ClaimTokensResponse | PlainMessage<ClaimTokensResponse> | undefined, b: ClaimTokensResponse | PlainMessage<ClaimTokensResponse> | undefined): boolean;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message uniswap.liquidity.v1.ExitBidAndClaimTokensRequest
|
|
198
|
+
*/
|
|
199
|
+
export declare class ExitBidAndClaimTokensRequest extends Message<ExitBidAndClaimTokensRequest> {
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string bid_id = 1;
|
|
202
|
+
*/
|
|
203
|
+
bidId: string;
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: string auction_contract_address = 2;
|
|
206
|
+
*/
|
|
207
|
+
auctionContractAddress: string;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
210
|
+
*/
|
|
211
|
+
chainId: ChainId;
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string wallet_address = 4;
|
|
214
|
+
*/
|
|
215
|
+
walletAddress: string;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: optional bool simulate_transaction = 5;
|
|
218
|
+
*/
|
|
219
|
+
simulateTransaction?: boolean;
|
|
220
|
+
constructor(data?: PartialMessage<ExitBidAndClaimTokensRequest>);
|
|
221
|
+
static readonly runtime: typeof proto3;
|
|
222
|
+
static readonly typeName = "uniswap.liquidity.v1.ExitBidAndClaimTokensRequest";
|
|
223
|
+
static readonly fields: FieldList;
|
|
224
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitBidAndClaimTokensRequest;
|
|
225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitBidAndClaimTokensRequest;
|
|
226
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidAndClaimTokensRequest;
|
|
227
|
+
static equals(a: ExitBidAndClaimTokensRequest | PlainMessage<ExitBidAndClaimTokensRequest> | undefined, b: ExitBidAndClaimTokensRequest | PlainMessage<ExitBidAndClaimTokensRequest> | undefined): boolean;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message uniswap.liquidity.v1.ExitBidAndClaimTokensResponse
|
|
231
|
+
*/
|
|
232
|
+
export declare class ExitBidAndClaimTokensResponse extends Message<ExitBidAndClaimTokensResponse> {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string request_id = 1;
|
|
235
|
+
*/
|
|
236
|
+
requestId: string;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: uniswap.liquidity.v1.TransactionRequest exit_bid_and_claim_tokens = 2;
|
|
239
|
+
*/
|
|
240
|
+
exitBidAndClaimTokens?: TransactionRequest;
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: optional string gas_fee = 3;
|
|
243
|
+
*/
|
|
244
|
+
gasFee?: string;
|
|
245
|
+
constructor(data?: PartialMessage<ExitBidAndClaimTokensResponse>);
|
|
246
|
+
static readonly runtime: typeof proto3;
|
|
247
|
+
static readonly typeName = "uniswap.liquidity.v1.ExitBidAndClaimTokensResponse";
|
|
248
|
+
static readonly fields: FieldList;
|
|
249
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitBidAndClaimTokensResponse;
|
|
250
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitBidAndClaimTokensResponse;
|
|
251
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidAndClaimTokensResponse;
|
|
252
|
+
static equals(a: ExitBidAndClaimTokensResponse | PlainMessage<ExitBidAndClaimTokensResponse> | undefined, b: ExitBidAndClaimTokensResponse | PlainMessage<ExitBidAndClaimTokensResponse> | undefined): boolean;
|
|
253
|
+
}
|
|
@@ -169,3 +169,160 @@ ExitBidPositionResponse.fields = proto3.util.newFieldList(() => [
|
|
|
169
169
|
{ no: 2, name: "exitBid", kind: "message", T: TransactionRequest },
|
|
170
170
|
{ no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
171
171
|
]);
|
|
172
|
+
/**
|
|
173
|
+
* @generated from message uniswap.liquidity.v1.ClaimTokensRequest
|
|
174
|
+
*/
|
|
175
|
+
export class ClaimTokensRequest extends Message {
|
|
176
|
+
constructor(data) {
|
|
177
|
+
super();
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: repeated string bids = 1;
|
|
180
|
+
*/
|
|
181
|
+
this.bids = [];
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: string auction_contract_address = 2;
|
|
184
|
+
*/
|
|
185
|
+
this.auctionContractAddress = "";
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
188
|
+
*/
|
|
189
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: string wallet_address = 5;
|
|
192
|
+
*/
|
|
193
|
+
this.walletAddress = "";
|
|
194
|
+
proto3.util.initPartial(data, this);
|
|
195
|
+
}
|
|
196
|
+
static fromBinary(bytes, options) {
|
|
197
|
+
return new ClaimTokensRequest().fromBinary(bytes, options);
|
|
198
|
+
}
|
|
199
|
+
static fromJson(jsonValue, options) {
|
|
200
|
+
return new ClaimTokensRequest().fromJson(jsonValue, options);
|
|
201
|
+
}
|
|
202
|
+
static fromJsonString(jsonString, options) {
|
|
203
|
+
return new ClaimTokensRequest().fromJsonString(jsonString, options);
|
|
204
|
+
}
|
|
205
|
+
static equals(a, b) {
|
|
206
|
+
return proto3.util.equals(ClaimTokensRequest, a, b);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
ClaimTokensRequest.runtime = proto3;
|
|
210
|
+
ClaimTokensRequest.typeName = "uniswap.liquidity.v1.ClaimTokensRequest";
|
|
211
|
+
ClaimTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
212
|
+
{ no: 1, name: "bids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
213
|
+
{ no: 2, name: "auction_contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
215
|
+
{ no: 4, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
216
|
+
{ no: 5, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
217
|
+
{ no: 6, name: "should_claim_all", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
218
|
+
]);
|
|
219
|
+
/**
|
|
220
|
+
* @generated from message uniswap.liquidity.v1.ClaimTokensResponse
|
|
221
|
+
*/
|
|
222
|
+
export class ClaimTokensResponse extends Message {
|
|
223
|
+
constructor(data) {
|
|
224
|
+
super();
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: string request_id = 1;
|
|
227
|
+
*/
|
|
228
|
+
this.requestId = "";
|
|
229
|
+
proto3.util.initPartial(data, this);
|
|
230
|
+
}
|
|
231
|
+
static fromBinary(bytes, options) {
|
|
232
|
+
return new ClaimTokensResponse().fromBinary(bytes, options);
|
|
233
|
+
}
|
|
234
|
+
static fromJson(jsonValue, options) {
|
|
235
|
+
return new ClaimTokensResponse().fromJson(jsonValue, options);
|
|
236
|
+
}
|
|
237
|
+
static fromJsonString(jsonString, options) {
|
|
238
|
+
return new ClaimTokensResponse().fromJsonString(jsonString, options);
|
|
239
|
+
}
|
|
240
|
+
static equals(a, b) {
|
|
241
|
+
return proto3.util.equals(ClaimTokensResponse, a, b);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
ClaimTokensResponse.runtime = proto3;
|
|
245
|
+
ClaimTokensResponse.typeName = "uniswap.liquidity.v1.ClaimTokensResponse";
|
|
246
|
+
ClaimTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
247
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
248
|
+
{ no: 2, name: "claim_tokens", kind: "message", T: TransactionRequest },
|
|
249
|
+
{ no: 3, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
250
|
+
]);
|
|
251
|
+
/**
|
|
252
|
+
* @generated from message uniswap.liquidity.v1.ExitBidAndClaimTokensRequest
|
|
253
|
+
*/
|
|
254
|
+
export class ExitBidAndClaimTokensRequest extends Message {
|
|
255
|
+
constructor(data) {
|
|
256
|
+
super();
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string bid_id = 1;
|
|
259
|
+
*/
|
|
260
|
+
this.bidId = "";
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: string auction_contract_address = 2;
|
|
263
|
+
*/
|
|
264
|
+
this.auctionContractAddress = "";
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
267
|
+
*/
|
|
268
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: string wallet_address = 4;
|
|
271
|
+
*/
|
|
272
|
+
this.walletAddress = "";
|
|
273
|
+
proto3.util.initPartial(data, this);
|
|
274
|
+
}
|
|
275
|
+
static fromBinary(bytes, options) {
|
|
276
|
+
return new ExitBidAndClaimTokensRequest().fromBinary(bytes, options);
|
|
277
|
+
}
|
|
278
|
+
static fromJson(jsonValue, options) {
|
|
279
|
+
return new ExitBidAndClaimTokensRequest().fromJson(jsonValue, options);
|
|
280
|
+
}
|
|
281
|
+
static fromJsonString(jsonString, options) {
|
|
282
|
+
return new ExitBidAndClaimTokensRequest().fromJsonString(jsonString, options);
|
|
283
|
+
}
|
|
284
|
+
static equals(a, b) {
|
|
285
|
+
return proto3.util.equals(ExitBidAndClaimTokensRequest, a, b);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
ExitBidAndClaimTokensRequest.runtime = proto3;
|
|
289
|
+
ExitBidAndClaimTokensRequest.typeName = "uniswap.liquidity.v1.ExitBidAndClaimTokensRequest";
|
|
290
|
+
ExitBidAndClaimTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
291
|
+
{ no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
292
|
+
{ no: 2, name: "auction_contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
293
|
+
{ no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
294
|
+
{ no: 4, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
295
|
+
{ no: 5, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
296
|
+
]);
|
|
297
|
+
/**
|
|
298
|
+
* @generated from message uniswap.liquidity.v1.ExitBidAndClaimTokensResponse
|
|
299
|
+
*/
|
|
300
|
+
export class ExitBidAndClaimTokensResponse extends Message {
|
|
301
|
+
constructor(data) {
|
|
302
|
+
super();
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: string request_id = 1;
|
|
305
|
+
*/
|
|
306
|
+
this.requestId = "";
|
|
307
|
+
proto3.util.initPartial(data, this);
|
|
308
|
+
}
|
|
309
|
+
static fromBinary(bytes, options) {
|
|
310
|
+
return new ExitBidAndClaimTokensResponse().fromBinary(bytes, options);
|
|
311
|
+
}
|
|
312
|
+
static fromJson(jsonValue, options) {
|
|
313
|
+
return new ExitBidAndClaimTokensResponse().fromJson(jsonValue, options);
|
|
314
|
+
}
|
|
315
|
+
static fromJsonString(jsonString, options) {
|
|
316
|
+
return new ExitBidAndClaimTokensResponse().fromJsonString(jsonString, options);
|
|
317
|
+
}
|
|
318
|
+
static equals(a, b) {
|
|
319
|
+
return proto3.util.equals(ExitBidAndClaimTokensResponse, a, b);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
ExitBidAndClaimTokensResponse.runtime = proto3;
|
|
323
|
+
ExitBidAndClaimTokensResponse.typeName = "uniswap.liquidity.v1.ExitBidAndClaimTokensResponse";
|
|
324
|
+
ExitBidAndClaimTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
325
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
326
|
+
{ no: 2, name: "exit_bid_and_claim_tokens", kind: "message", T: TransactionRequest },
|
|
327
|
+
{ no: 3, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
328
|
+
]);
|