@uniswap/client-data-api 0.0.23 → 0.0.25
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_pb.d.ts +12 -10
- package/dist/data/v1/auction_pb.js +16 -13
- package/package.json +1 -1
|
@@ -15,19 +15,13 @@ export declare class GetBidsByWalletRequest extends Message<GetBidsByWalletReque
|
|
|
15
15
|
/**
|
|
16
16
|
* Optional: filter by auction id if desired.
|
|
17
17
|
*
|
|
18
|
-
* @generated from field: string
|
|
19
|
-
*/
|
|
20
|
-
auctionId: string;
|
|
21
|
-
/**
|
|
22
|
-
* Optional: pagination
|
|
23
|
-
*
|
|
24
|
-
* @generated from field: int32 page_size = 3;
|
|
18
|
+
* @generated from field: string auction_address = 2;
|
|
25
19
|
*/
|
|
26
|
-
|
|
20
|
+
auctionAddress: string;
|
|
27
21
|
/**
|
|
28
|
-
* @generated from field:
|
|
22
|
+
* @generated from field: int32 chain_id = 3;
|
|
29
23
|
*/
|
|
30
|
-
|
|
24
|
+
chainId: number;
|
|
31
25
|
constructor(data?: PartialMessage<GetBidsByWalletRequest>);
|
|
32
26
|
static readonly runtime: typeof proto3;
|
|
33
27
|
static readonly typeName = "data.v1.GetBidsByWalletRequest";
|
|
@@ -83,6 +77,10 @@ export declare class Bid extends Message<Bid> {
|
|
|
83
77
|
* @generated from field: string status = 8;
|
|
84
78
|
*/
|
|
85
79
|
status: string;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string base_token_initial = 9;
|
|
82
|
+
*/
|
|
83
|
+
baseTokenInitial: string;
|
|
86
84
|
constructor(data?: PartialMessage<Bid>);
|
|
87
85
|
static readonly runtime: typeof proto3;
|
|
88
86
|
static readonly typeName = "data.v1.Bid";
|
|
@@ -267,6 +265,10 @@ export declare class Auction extends Message<Auction> {
|
|
|
267
265
|
* @generated from field: string updated_at = 12;
|
|
268
266
|
*/
|
|
269
267
|
updatedAt: string;
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: string clearing_price = 13;
|
|
270
|
+
*/
|
|
271
|
+
clearingPrice: string;
|
|
270
272
|
constructor(data?: PartialMessage<Auction>);
|
|
271
273
|
static readonly runtime: typeof proto3;
|
|
272
274
|
static readonly typeName = "data.v1.Auction";
|
|
@@ -20,19 +20,13 @@ export class GetBidsByWalletRequest extends Message {
|
|
|
20
20
|
/**
|
|
21
21
|
* Optional: filter by auction id if desired.
|
|
22
22
|
*
|
|
23
|
-
* @generated from field: string
|
|
24
|
-
*/
|
|
25
|
-
this.auctionId = "";
|
|
26
|
-
/**
|
|
27
|
-
* Optional: pagination
|
|
28
|
-
*
|
|
29
|
-
* @generated from field: int32 page_size = 3;
|
|
23
|
+
* @generated from field: string auction_address = 2;
|
|
30
24
|
*/
|
|
31
|
-
this.
|
|
25
|
+
this.auctionAddress = "";
|
|
32
26
|
/**
|
|
33
|
-
* @generated from field:
|
|
27
|
+
* @generated from field: int32 chain_id = 3;
|
|
34
28
|
*/
|
|
35
|
-
this.
|
|
29
|
+
this.chainId = 0;
|
|
36
30
|
proto3.util.initPartial(data, this);
|
|
37
31
|
}
|
|
38
32
|
static fromBinary(bytes, options) {
|
|
@@ -52,9 +46,8 @@ GetBidsByWalletRequest.runtime = proto3;
|
|
|
52
46
|
GetBidsByWalletRequest.typeName = "data.v1.GetBidsByWalletRequest";
|
|
53
47
|
GetBidsByWalletRequest.fields = proto3.util.newFieldList(() => [
|
|
54
48
|
{ no: 1, name: "wallet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
|
-
{ no: 2, name: "
|
|
56
|
-
{ no: 3, name: "
|
|
57
|
-
{ no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
+
{ no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
50
|
+
{ no: 3, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
58
51
|
]);
|
|
59
52
|
/**
|
|
60
53
|
* A single bid resource.
|
|
@@ -104,6 +97,10 @@ export class Bid extends Message {
|
|
|
104
97
|
* @generated from field: string status = 8;
|
|
105
98
|
*/
|
|
106
99
|
this.status = "";
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string base_token_initial = 9;
|
|
102
|
+
*/
|
|
103
|
+
this.baseTokenInitial = "";
|
|
107
104
|
proto3.util.initPartial(data, this);
|
|
108
105
|
}
|
|
109
106
|
static fromBinary(bytes, options) {
|
|
@@ -130,6 +127,7 @@ Bid.fields = proto3.util.newFieldList(() => [
|
|
|
130
127
|
{ no: 6, name: "max_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
131
128
|
{ no: 7, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
129
|
{ no: 8, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
130
|
+
{ no: 9, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
133
131
|
]);
|
|
134
132
|
/**
|
|
135
133
|
* Response containing all bids for a wallet.
|
|
@@ -375,6 +373,10 @@ export class Auction extends Message {
|
|
|
375
373
|
* @generated from field: string updated_at = 12;
|
|
376
374
|
*/
|
|
377
375
|
this.updatedAt = "";
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: string clearing_price = 13;
|
|
378
|
+
*/
|
|
379
|
+
this.clearingPrice = "";
|
|
378
380
|
proto3.util.initPartial(data, this);
|
|
379
381
|
}
|
|
380
382
|
static fromBinary(bytes, options) {
|
|
@@ -405,6 +407,7 @@ Auction.fields = proto3.util.newFieldList(() => [
|
|
|
405
407
|
{ no: 10, name: "creation_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
408
|
{ no: 11, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
407
409
|
{ no: 12, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
410
|
+
{ no: 13, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
408
411
|
]);
|
|
409
412
|
/**
|
|
410
413
|
* Response containing auctions.
|