@uniswap/client-data-api 0.0.20 → 0.0.22
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/data/v1/auction-AuctionService_connectquery.d.ts +14 -1
- package/dist/data/v1/auction-AuctionService_connectquery.js +14 -1
- package/dist/data/v1/auction_connect.d.ts +10 -1
- package/dist/data/v1/auction_connect.js +10 -1
- package/dist/data/v1/auction_pb.d.ts +111 -2
- package/dist/data/v1/auction_pb.js +164 -3
- package/dist/data/v1/types_pb.d.ts +25 -0
- package/dist/data/v1/types_pb.js +32 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
2
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
5
|
*/
|
|
@@ -26,3 +26,16 @@ export declare const getBids: {
|
|
|
26
26
|
readonly typeName: "data.v1.AuctionService";
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
31
|
+
*/
|
|
32
|
+
export declare const getAuction: {
|
|
33
|
+
readonly localName: "getAuction";
|
|
34
|
+
readonly name: "GetAuction";
|
|
35
|
+
readonly kind: MethodKind.Unary;
|
|
36
|
+
readonly I: typeof GetAuctionRequest;
|
|
37
|
+
readonly O: typeof GetAuctionResponse;
|
|
38
|
+
readonly service: {
|
|
39
|
+
readonly typeName: "data.v1.AuctionService";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
6
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
9
|
*/
|
|
@@ -30,3 +30,16 @@ export const getBids = {
|
|
|
30
30
|
typeName: "data.v1.AuctionService"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
35
|
+
*/
|
|
36
|
+
export const getAuction = {
|
|
37
|
+
localName: "getAuction",
|
|
38
|
+
name: "GetAuction",
|
|
39
|
+
kind: MethodKind.Unary,
|
|
40
|
+
I: GetAuctionRequest,
|
|
41
|
+
O: GetAuctionResponse,
|
|
42
|
+
service: {
|
|
43
|
+
typeName: "data.v1.AuctionService"
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
1
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.AuctionService
|
|
@@ -24,5 +24,14 @@ export declare const AuctionService: {
|
|
|
24
24
|
readonly O: typeof GetBidsResponse;
|
|
25
25
|
readonly kind: MethodKind.Unary;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
29
|
+
*/
|
|
30
|
+
readonly getAuction: {
|
|
31
|
+
readonly name: "GetAuction";
|
|
32
|
+
readonly I: typeof GetAuctionRequest;
|
|
33
|
+
readonly O: typeof GetAuctionResponse;
|
|
34
|
+
readonly kind: MethodKind.Unary;
|
|
35
|
+
};
|
|
27
36
|
};
|
|
28
37
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
5
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.AuctionService
|
|
@@ -28,5 +28,14 @@ export const AuctionService = {
|
|
|
28
28
|
O: GetBidsResponse,
|
|
29
29
|
kind: MethodKind.Unary,
|
|
30
30
|
},
|
|
31
|
+
/**
|
|
32
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
33
|
+
*/
|
|
34
|
+
getAuction: {
|
|
35
|
+
name: "GetAuction",
|
|
36
|
+
I: GetAuctionRequest,
|
|
37
|
+
O: GetAuctionResponse,
|
|
38
|
+
kind: MethodKind.Unary,
|
|
39
|
+
},
|
|
31
40
|
}
|
|
32
41
|
};
|
|
@@ -124,9 +124,13 @@ export declare class GetBidsByWalletResponse extends Message<GetBidsByWalletResp
|
|
|
124
124
|
*/
|
|
125
125
|
export declare class GetBidsRequest extends Message<GetBidsRequest> {
|
|
126
126
|
/**
|
|
127
|
-
* @generated from field:
|
|
127
|
+
* @generated from field: int32 chain_id = 1;
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
chainId: number;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string address = 2;
|
|
132
|
+
*/
|
|
133
|
+
address: string;
|
|
130
134
|
constructor(data?: PartialMessage<GetBidsRequest>);
|
|
131
135
|
static readonly runtime: typeof proto3;
|
|
132
136
|
static readonly typeName = "data.v1.GetBidsRequest";
|
|
@@ -186,3 +190,108 @@ export declare class GetBidsResponse extends Message<GetBidsResponse> {
|
|
|
186
190
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBidsResponse;
|
|
187
191
|
static equals(a: GetBidsResponse | PlainMessage<GetBidsResponse> | undefined, b: GetBidsResponse | PlainMessage<GetBidsResponse> | undefined): boolean;
|
|
188
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* Request to fetch auctions.
|
|
195
|
+
*
|
|
196
|
+
* @generated from message data.v1.GetAuctionRequest
|
|
197
|
+
*/
|
|
198
|
+
export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: int32 chain_id = 1;
|
|
201
|
+
*/
|
|
202
|
+
chainId: number;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: string address = 2;
|
|
205
|
+
*/
|
|
206
|
+
address: string;
|
|
207
|
+
constructor(data?: PartialMessage<GetAuctionRequest>);
|
|
208
|
+
static readonly runtime: typeof proto3;
|
|
209
|
+
static readonly typeName = "data.v1.GetAuctionRequest";
|
|
210
|
+
static readonly fields: FieldList;
|
|
211
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionRequest;
|
|
212
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionRequest;
|
|
213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionRequest;
|
|
214
|
+
static equals(a: GetAuctionRequest | PlainMessage<GetAuctionRequest> | undefined, b: GetAuctionRequest | PlainMessage<GetAuctionRequest> | undefined): boolean;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* A single auction resource.
|
|
218
|
+
*
|
|
219
|
+
* @generated from message data.v1.Auction
|
|
220
|
+
*/
|
|
221
|
+
export declare class Auction extends Message<Auction> {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: string auction_id = 1;
|
|
224
|
+
*/
|
|
225
|
+
auctionId: string;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: int32 chain_id = 2;
|
|
228
|
+
*/
|
|
229
|
+
chainId: number;
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: string token_symbol = 3;
|
|
232
|
+
*/
|
|
233
|
+
tokenSymbol: string;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: string token_address = 4;
|
|
236
|
+
*/
|
|
237
|
+
tokenAddress: string;
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string creator_address = 5;
|
|
240
|
+
*/
|
|
241
|
+
creatorAddress: string;
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: string start_block = 6;
|
|
244
|
+
*/
|
|
245
|
+
startBlock: string;
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: string end_block = 7;
|
|
248
|
+
*/
|
|
249
|
+
endBlock: string;
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: string total_supply = 8;
|
|
252
|
+
*/
|
|
253
|
+
totalSupply: string;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: string tick_size = 9;
|
|
256
|
+
*/
|
|
257
|
+
tickSize: string;
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: string creation_block = 10;
|
|
260
|
+
*/
|
|
261
|
+
creationBlock: string;
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string created_at = 11;
|
|
264
|
+
*/
|
|
265
|
+
createdAt: string;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string updated_at = 12;
|
|
268
|
+
*/
|
|
269
|
+
updatedAt: string;
|
|
270
|
+
constructor(data?: PartialMessage<Auction>);
|
|
271
|
+
static readonly runtime: typeof proto3;
|
|
272
|
+
static readonly typeName = "data.v1.Auction";
|
|
273
|
+
static readonly fields: FieldList;
|
|
274
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auction;
|
|
275
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Auction;
|
|
276
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Auction;
|
|
277
|
+
static equals(a: Auction | PlainMessage<Auction> | undefined, b: Auction | PlainMessage<Auction> | undefined): boolean;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Response containing auctions.
|
|
281
|
+
*
|
|
282
|
+
* @generated from message data.v1.GetAuctionResponse
|
|
283
|
+
*/
|
|
284
|
+
export declare class GetAuctionResponse extends Message<GetAuctionResponse> {
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: repeated data.v1.Auction auctions = 1;
|
|
287
|
+
*/
|
|
288
|
+
auctions: Auction[];
|
|
289
|
+
constructor(data?: PartialMessage<GetAuctionResponse>);
|
|
290
|
+
static readonly runtime: typeof proto3;
|
|
291
|
+
static readonly typeName = "data.v1.GetAuctionResponse";
|
|
292
|
+
static readonly fields: FieldList;
|
|
293
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionResponse;
|
|
294
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionResponse;
|
|
295
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionResponse;
|
|
296
|
+
static equals(a: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined, b: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined): boolean;
|
|
297
|
+
}
|
|
@@ -179,9 +179,13 @@ export class GetBidsRequest extends Message {
|
|
|
179
179
|
constructor(data) {
|
|
180
180
|
super();
|
|
181
181
|
/**
|
|
182
|
-
* @generated from field:
|
|
182
|
+
* @generated from field: int32 chain_id = 1;
|
|
183
183
|
*/
|
|
184
|
-
this.
|
|
184
|
+
this.chainId = 0;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: string address = 2;
|
|
187
|
+
*/
|
|
188
|
+
this.address = "";
|
|
185
189
|
proto3.util.initPartial(data, this);
|
|
186
190
|
}
|
|
187
191
|
static fromBinary(bytes, options) {
|
|
@@ -200,7 +204,8 @@ export class GetBidsRequest extends Message {
|
|
|
200
204
|
GetBidsRequest.runtime = proto3;
|
|
201
205
|
GetBidsRequest.typeName = "data.v1.GetBidsRequest";
|
|
202
206
|
GetBidsRequest.fields = proto3.util.newFieldList(() => [
|
|
203
|
-
{ no: 1, name: "
|
|
207
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
208
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
204
209
|
]);
|
|
205
210
|
/**
|
|
206
211
|
* A single bid concentration point.
|
|
@@ -277,3 +282,159 @@ GetBidsResponse.typeName = "data.v1.GetBidsResponse";
|
|
|
277
282
|
GetBidsResponse.fields = proto3.util.newFieldList(() => [
|
|
278
283
|
{ no: 1, name: "concentration", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: BidConcentrationPoint } },
|
|
279
284
|
]);
|
|
285
|
+
/**
|
|
286
|
+
* Request to fetch auctions.
|
|
287
|
+
*
|
|
288
|
+
* @generated from message data.v1.GetAuctionRequest
|
|
289
|
+
*/
|
|
290
|
+
export class GetAuctionRequest extends Message {
|
|
291
|
+
constructor(data) {
|
|
292
|
+
super();
|
|
293
|
+
/**
|
|
294
|
+
* @generated from field: int32 chain_id = 1;
|
|
295
|
+
*/
|
|
296
|
+
this.chainId = 0;
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string address = 2;
|
|
299
|
+
*/
|
|
300
|
+
this.address = "";
|
|
301
|
+
proto3.util.initPartial(data, this);
|
|
302
|
+
}
|
|
303
|
+
static fromBinary(bytes, options) {
|
|
304
|
+
return new GetAuctionRequest().fromBinary(bytes, options);
|
|
305
|
+
}
|
|
306
|
+
static fromJson(jsonValue, options) {
|
|
307
|
+
return new GetAuctionRequest().fromJson(jsonValue, options);
|
|
308
|
+
}
|
|
309
|
+
static fromJsonString(jsonString, options) {
|
|
310
|
+
return new GetAuctionRequest().fromJsonString(jsonString, options);
|
|
311
|
+
}
|
|
312
|
+
static equals(a, b) {
|
|
313
|
+
return proto3.util.equals(GetAuctionRequest, a, b);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
GetAuctionRequest.runtime = proto3;
|
|
317
|
+
GetAuctionRequest.typeName = "data.v1.GetAuctionRequest";
|
|
318
|
+
GetAuctionRequest.fields = proto3.util.newFieldList(() => [
|
|
319
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
320
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
321
|
+
]);
|
|
322
|
+
/**
|
|
323
|
+
* A single auction resource.
|
|
324
|
+
*
|
|
325
|
+
* @generated from message data.v1.Auction
|
|
326
|
+
*/
|
|
327
|
+
export class Auction extends Message {
|
|
328
|
+
constructor(data) {
|
|
329
|
+
super();
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: string auction_id = 1;
|
|
332
|
+
*/
|
|
333
|
+
this.auctionId = "";
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: int32 chain_id = 2;
|
|
336
|
+
*/
|
|
337
|
+
this.chainId = 0;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: string token_symbol = 3;
|
|
340
|
+
*/
|
|
341
|
+
this.tokenSymbol = "";
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string token_address = 4;
|
|
344
|
+
*/
|
|
345
|
+
this.tokenAddress = "";
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: string creator_address = 5;
|
|
348
|
+
*/
|
|
349
|
+
this.creatorAddress = "";
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: string start_block = 6;
|
|
352
|
+
*/
|
|
353
|
+
this.startBlock = "";
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: string end_block = 7;
|
|
356
|
+
*/
|
|
357
|
+
this.endBlock = "";
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: string total_supply = 8;
|
|
360
|
+
*/
|
|
361
|
+
this.totalSupply = "";
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: string tick_size = 9;
|
|
364
|
+
*/
|
|
365
|
+
this.tickSize = "";
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: string creation_block = 10;
|
|
368
|
+
*/
|
|
369
|
+
this.creationBlock = "";
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string created_at = 11;
|
|
372
|
+
*/
|
|
373
|
+
this.createdAt = "";
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: string updated_at = 12;
|
|
376
|
+
*/
|
|
377
|
+
this.updatedAt = "";
|
|
378
|
+
proto3.util.initPartial(data, this);
|
|
379
|
+
}
|
|
380
|
+
static fromBinary(bytes, options) {
|
|
381
|
+
return new Auction().fromBinary(bytes, options);
|
|
382
|
+
}
|
|
383
|
+
static fromJson(jsonValue, options) {
|
|
384
|
+
return new Auction().fromJson(jsonValue, options);
|
|
385
|
+
}
|
|
386
|
+
static fromJsonString(jsonString, options) {
|
|
387
|
+
return new Auction().fromJsonString(jsonString, options);
|
|
388
|
+
}
|
|
389
|
+
static equals(a, b) {
|
|
390
|
+
return proto3.util.equals(Auction, a, b);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
Auction.runtime = proto3;
|
|
394
|
+
Auction.typeName = "data.v1.Auction";
|
|
395
|
+
Auction.fields = proto3.util.newFieldList(() => [
|
|
396
|
+
{ no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
397
|
+
{ no: 2, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
398
|
+
{ no: 3, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
399
|
+
{ no: 4, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
400
|
+
{ no: 5, name: "creator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
401
|
+
{ no: 6, name: "start_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
402
|
+
{ no: 7, name: "end_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
|
+
{ no: 8, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
+
{ no: 9, name: "tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
|
+
{ no: 10, name: "creation_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
|
+
{ no: 11, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
407
|
+
{ no: 12, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
408
|
+
]);
|
|
409
|
+
/**
|
|
410
|
+
* Response containing auctions.
|
|
411
|
+
*
|
|
412
|
+
* @generated from message data.v1.GetAuctionResponse
|
|
413
|
+
*/
|
|
414
|
+
export class GetAuctionResponse extends Message {
|
|
415
|
+
constructor(data) {
|
|
416
|
+
super();
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: repeated data.v1.Auction auctions = 1;
|
|
419
|
+
*/
|
|
420
|
+
this.auctions = [];
|
|
421
|
+
proto3.util.initPartial(data, this);
|
|
422
|
+
}
|
|
423
|
+
static fromBinary(bytes, options) {
|
|
424
|
+
return new GetAuctionResponse().fromBinary(bytes, options);
|
|
425
|
+
}
|
|
426
|
+
static fromJson(jsonValue, options) {
|
|
427
|
+
return new GetAuctionResponse().fromJson(jsonValue, options);
|
|
428
|
+
}
|
|
429
|
+
static fromJsonString(jsonString, options) {
|
|
430
|
+
return new GetAuctionResponse().fromJsonString(jsonString, options);
|
|
431
|
+
}
|
|
432
|
+
static equals(a, b) {
|
|
433
|
+
return proto3.util.equals(GetAuctionResponse, a, b);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
GetAuctionResponse.runtime = proto3;
|
|
437
|
+
GetAuctionResponse.typeName = "data.v1.GetAuctionResponse";
|
|
438
|
+
GetAuctionResponse.fields = proto3.util.newFieldList(() => [
|
|
439
|
+
{ no: 1, name: "auctions", kind: "message", T: Auction, repeated: true },
|
|
440
|
+
]);
|
|
@@ -857,6 +857,10 @@ export declare class OnChainTransaction extends Message<OnChainTransaction> {
|
|
|
857
857
|
* @generated from field: data.v1.TransactionFee fee = 12;
|
|
858
858
|
*/
|
|
859
859
|
fee?: TransactionFee;
|
|
860
|
+
/**
|
|
861
|
+
* @generated from field: optional data.v1.Paymaster paymaster = 13;
|
|
862
|
+
*/
|
|
863
|
+
paymaster?: Paymaster;
|
|
860
864
|
constructor(data?: PartialMessage<OnChainTransaction>);
|
|
861
865
|
static readonly runtime: typeof proto3;
|
|
862
866
|
static readonly typeName = "data.v1.OnChainTransaction";
|
|
@@ -1335,3 +1339,24 @@ export declare class TokenStats extends Message<TokenStats> {
|
|
|
1335
1339
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenStats;
|
|
1336
1340
|
static equals(a: TokenStats | PlainMessage<TokenStats> | undefined, b: TokenStats | PlainMessage<TokenStats> | undefined): boolean;
|
|
1337
1341
|
}
|
|
1342
|
+
/**
|
|
1343
|
+
* @generated from message data.v1.Paymaster
|
|
1344
|
+
*/
|
|
1345
|
+
export declare class Paymaster extends Message<Paymaster> {
|
|
1346
|
+
/**
|
|
1347
|
+
* @generated from field: string address = 1;
|
|
1348
|
+
*/
|
|
1349
|
+
address: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* @generated from field: optional string name = 2;
|
|
1352
|
+
*/
|
|
1353
|
+
name?: string;
|
|
1354
|
+
constructor(data?: PartialMessage<Paymaster>);
|
|
1355
|
+
static readonly runtime: typeof proto3;
|
|
1356
|
+
static readonly typeName = "data.v1.Paymaster";
|
|
1357
|
+
static readonly fields: FieldList;
|
|
1358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Paymaster;
|
|
1359
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1360
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1361
|
+
static equals(a: Paymaster | PlainMessage<Paymaster> | undefined, b: Paymaster | PlainMessage<Paymaster> | undefined): boolean;
|
|
1362
|
+
}
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -1175,6 +1175,7 @@ OnChainTransaction.fields = proto3.util.newFieldList(() => [
|
|
|
1175
1175
|
{ no: 10, name: "status", kind: "enum", T: proto3.getEnumType(OnChainTransactionStatus) },
|
|
1176
1176
|
{ no: 11, name: "protocol", kind: "message", T: ProtocolMetadata, opt: true },
|
|
1177
1177
|
{ no: 12, name: "fee", kind: "message", T: TransactionFee },
|
|
1178
|
+
{ no: 13, name: "paymaster", kind: "message", T: Paymaster, opt: true },
|
|
1178
1179
|
]);
|
|
1179
1180
|
/**
|
|
1180
1181
|
* @generated from message data.v1.Transfer
|
|
@@ -1703,3 +1704,34 @@ TokenStats.fields = proto3.util.newFieldList(() => [
|
|
|
1703
1704
|
{ no: 9, name: "price_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
1704
1705
|
{ no: 10, name: "price_history_1d", kind: "message", T: TimestampedValue, repeated: true },
|
|
1705
1706
|
]);
|
|
1707
|
+
/**
|
|
1708
|
+
* @generated from message data.v1.Paymaster
|
|
1709
|
+
*/
|
|
1710
|
+
export class Paymaster extends Message {
|
|
1711
|
+
constructor(data) {
|
|
1712
|
+
super();
|
|
1713
|
+
/**
|
|
1714
|
+
* @generated from field: string address = 1;
|
|
1715
|
+
*/
|
|
1716
|
+
this.address = "";
|
|
1717
|
+
proto3.util.initPartial(data, this);
|
|
1718
|
+
}
|
|
1719
|
+
static fromBinary(bytes, options) {
|
|
1720
|
+
return new Paymaster().fromBinary(bytes, options);
|
|
1721
|
+
}
|
|
1722
|
+
static fromJson(jsonValue, options) {
|
|
1723
|
+
return new Paymaster().fromJson(jsonValue, options);
|
|
1724
|
+
}
|
|
1725
|
+
static fromJsonString(jsonString, options) {
|
|
1726
|
+
return new Paymaster().fromJsonString(jsonString, options);
|
|
1727
|
+
}
|
|
1728
|
+
static equals(a, b) {
|
|
1729
|
+
return proto3.util.equals(Paymaster, a, b);
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
Paymaster.runtime = proto3;
|
|
1733
|
+
Paymaster.typeName = "data.v1.Paymaster";
|
|
1734
|
+
Paymaster.fields = proto3.util.newFieldList(() => [
|
|
1735
|
+
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1736
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1737
|
+
]);
|