@uniswap/client-data-api 0.0.30 → 0.0.32
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 +27 -1
- package/dist/data/v1/auction-AuctionService_connectquery.js +27 -1
- package/dist/data/v1/auction_connect.d.ts +19 -1
- package/dist/data/v1/auction_connect.js +19 -1
- package/dist/data/v1/auction_pb.d.ts +156 -0
- package/dist/data/v1/auction_pb.js +243 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
2
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
5
|
*/
|
|
@@ -52,3 +52,29 @@ export declare const getLatestCheckpoint: {
|
|
|
52
52
|
readonly typeName: "data.v1.AuctionService";
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* @generated from rpc data.v1.AuctionService.GetClearingPriceHistory
|
|
57
|
+
*/
|
|
58
|
+
export declare const getClearingPriceHistory: {
|
|
59
|
+
readonly localName: "getClearingPriceHistory";
|
|
60
|
+
readonly name: "GetClearingPriceHistory";
|
|
61
|
+
readonly kind: MethodKind.Unary;
|
|
62
|
+
readonly I: typeof GetClearingPriceHistoryRequest;
|
|
63
|
+
readonly O: typeof GetClearingPriceHistoryResponse;
|
|
64
|
+
readonly service: {
|
|
65
|
+
readonly typeName: "data.v1.AuctionService";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @generated from rpc data.v1.AuctionService.GetAuctionActivity
|
|
70
|
+
*/
|
|
71
|
+
export declare const getAuctionActivity: {
|
|
72
|
+
readonly localName: "getAuctionActivity";
|
|
73
|
+
readonly name: "GetAuctionActivity";
|
|
74
|
+
readonly kind: MethodKind.Unary;
|
|
75
|
+
readonly I: typeof GetAuctionActivityRequest;
|
|
76
|
+
readonly O: typeof GetAuctionActivityResponse;
|
|
77
|
+
readonly service: {
|
|
78
|
+
readonly typeName: "data.v1.AuctionService";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
6
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
9
|
*/
|
|
@@ -56,3 +56,29 @@ export const getLatestCheckpoint = {
|
|
|
56
56
|
typeName: "data.v1.AuctionService"
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* @generated from rpc data.v1.AuctionService.GetClearingPriceHistory
|
|
61
|
+
*/
|
|
62
|
+
export const getClearingPriceHistory = {
|
|
63
|
+
localName: "getClearingPriceHistory",
|
|
64
|
+
name: "GetClearingPriceHistory",
|
|
65
|
+
kind: MethodKind.Unary,
|
|
66
|
+
I: GetClearingPriceHistoryRequest,
|
|
67
|
+
O: GetClearingPriceHistoryResponse,
|
|
68
|
+
service: {
|
|
69
|
+
typeName: "data.v1.AuctionService"
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @generated from rpc data.v1.AuctionService.GetAuctionActivity
|
|
74
|
+
*/
|
|
75
|
+
export const getAuctionActivity = {
|
|
76
|
+
localName: "getAuctionActivity",
|
|
77
|
+
name: "GetAuctionActivity",
|
|
78
|
+
kind: MethodKind.Unary,
|
|
79
|
+
I: GetAuctionActivityRequest,
|
|
80
|
+
O: GetAuctionActivityResponse,
|
|
81
|
+
service: {
|
|
82
|
+
typeName: "data.v1.AuctionService"
|
|
83
|
+
}
|
|
84
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
1
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.AuctionService
|
|
@@ -42,5 +42,23 @@ export declare const AuctionService: {
|
|
|
42
42
|
readonly O: typeof GetLatestCheckpointResponse;
|
|
43
43
|
readonly kind: MethodKind.Unary;
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc data.v1.AuctionService.GetClearingPriceHistory
|
|
47
|
+
*/
|
|
48
|
+
readonly getClearingPriceHistory: {
|
|
49
|
+
readonly name: "GetClearingPriceHistory";
|
|
50
|
+
readonly I: typeof GetClearingPriceHistoryRequest;
|
|
51
|
+
readonly O: typeof GetClearingPriceHistoryResponse;
|
|
52
|
+
readonly kind: MethodKind.Unary;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @generated from rpc data.v1.AuctionService.GetAuctionActivity
|
|
56
|
+
*/
|
|
57
|
+
readonly getAuctionActivity: {
|
|
58
|
+
readonly name: "GetAuctionActivity";
|
|
59
|
+
readonly I: typeof GetAuctionActivityRequest;
|
|
60
|
+
readonly O: typeof GetAuctionActivityResponse;
|
|
61
|
+
readonly kind: MethodKind.Unary;
|
|
62
|
+
};
|
|
45
63
|
};
|
|
46
64
|
};
|
|
@@ -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 { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
5
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.AuctionService
|
|
@@ -46,5 +46,23 @@ export const AuctionService = {
|
|
|
46
46
|
O: GetLatestCheckpointResponse,
|
|
47
47
|
kind: MethodKind.Unary,
|
|
48
48
|
},
|
|
49
|
+
/**
|
|
50
|
+
* @generated from rpc data.v1.AuctionService.GetClearingPriceHistory
|
|
51
|
+
*/
|
|
52
|
+
getClearingPriceHistory: {
|
|
53
|
+
name: "GetClearingPriceHistory",
|
|
54
|
+
I: GetClearingPriceHistoryRequest,
|
|
55
|
+
O: GetClearingPriceHistoryResponse,
|
|
56
|
+
kind: MethodKind.Unary,
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
* @generated from rpc data.v1.AuctionService.GetAuctionActivity
|
|
60
|
+
*/
|
|
61
|
+
getAuctionActivity: {
|
|
62
|
+
name: "GetAuctionActivity",
|
|
63
|
+
I: GetAuctionActivityRequest,
|
|
64
|
+
O: GetAuctionActivityResponse,
|
|
65
|
+
kind: MethodKind.Unary,
|
|
66
|
+
},
|
|
49
67
|
}
|
|
50
68
|
};
|
|
@@ -424,3 +424,159 @@ export declare class GetLatestCheckpointResponse extends Message<GetLatestCheckp
|
|
|
424
424
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLatestCheckpointResponse;
|
|
425
425
|
static equals(a: GetLatestCheckpointResponse | PlainMessage<GetLatestCheckpointResponse> | undefined, b: GetLatestCheckpointResponse | PlainMessage<GetLatestCheckpointResponse> | undefined): boolean;
|
|
426
426
|
}
|
|
427
|
+
/**
|
|
428
|
+
* Request to fetch clearing price history for an auction.
|
|
429
|
+
*
|
|
430
|
+
* @generated from message data.v1.GetClearingPriceHistoryRequest
|
|
431
|
+
*/
|
|
432
|
+
export declare class GetClearingPriceHistoryRequest extends Message<GetClearingPriceHistoryRequest> {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: int32 chain_id = 1;
|
|
435
|
+
*/
|
|
436
|
+
chainId: number;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: string address = 2;
|
|
439
|
+
*/
|
|
440
|
+
address: string;
|
|
441
|
+
constructor(data?: PartialMessage<GetClearingPriceHistoryRequest>);
|
|
442
|
+
static readonly runtime: typeof proto3;
|
|
443
|
+
static readonly typeName = "data.v1.GetClearingPriceHistoryRequest";
|
|
444
|
+
static readonly fields: FieldList;
|
|
445
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetClearingPriceHistoryRequest;
|
|
446
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetClearingPriceHistoryRequest;
|
|
447
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetClearingPriceHistoryRequest;
|
|
448
|
+
static equals(a: GetClearingPriceHistoryRequest | PlainMessage<GetClearingPriceHistoryRequest> | undefined, b: GetClearingPriceHistoryRequest | PlainMessage<GetClearingPriceHistoryRequest> | undefined): boolean;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* A single clearing price change point.
|
|
452
|
+
*
|
|
453
|
+
* @generated from message data.v1.ClearingPriceChange
|
|
454
|
+
*/
|
|
455
|
+
export declare class ClearingPriceChange extends Message<ClearingPriceChange> {
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: string clearing_price = 1;
|
|
458
|
+
*/
|
|
459
|
+
clearingPrice: string;
|
|
460
|
+
/**
|
|
461
|
+
* ISO 8601 timestamp
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: string created_at = 2;
|
|
464
|
+
*/
|
|
465
|
+
createdAt: string;
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: string start_block = 3;
|
|
468
|
+
*/
|
|
469
|
+
startBlock: string;
|
|
470
|
+
constructor(data?: PartialMessage<ClearingPriceChange>);
|
|
471
|
+
static readonly runtime: typeof proto3;
|
|
472
|
+
static readonly typeName = "data.v1.ClearingPriceChange";
|
|
473
|
+
static readonly fields: FieldList;
|
|
474
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClearingPriceChange;
|
|
475
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClearingPriceChange;
|
|
476
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClearingPriceChange;
|
|
477
|
+
static equals(a: ClearingPriceChange | PlainMessage<ClearingPriceChange> | undefined, b: ClearingPriceChange | PlainMessage<ClearingPriceChange> | undefined): boolean;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Response containing clearing price history.
|
|
481
|
+
*
|
|
482
|
+
* @generated from message data.v1.GetClearingPriceHistoryResponse
|
|
483
|
+
*/
|
|
484
|
+
export declare class GetClearingPriceHistoryResponse extends Message<GetClearingPriceHistoryResponse> {
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: repeated data.v1.ClearingPriceChange changes = 1;
|
|
487
|
+
*/
|
|
488
|
+
changes: ClearingPriceChange[];
|
|
489
|
+
constructor(data?: PartialMessage<GetClearingPriceHistoryResponse>);
|
|
490
|
+
static readonly runtime: typeof proto3;
|
|
491
|
+
static readonly typeName = "data.v1.GetClearingPriceHistoryResponse";
|
|
492
|
+
static readonly fields: FieldList;
|
|
493
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetClearingPriceHistoryResponse;
|
|
494
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetClearingPriceHistoryResponse;
|
|
495
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetClearingPriceHistoryResponse;
|
|
496
|
+
static equals(a: GetClearingPriceHistoryResponse | PlainMessage<GetClearingPriceHistoryResponse> | undefined, b: GetClearingPriceHistoryResponse | PlainMessage<GetClearingPriceHistoryResponse> | undefined): boolean;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Request to fetch recent auction activity (latest bids).
|
|
500
|
+
*
|
|
501
|
+
* @generated from message data.v1.GetAuctionActivityRequest
|
|
502
|
+
*/
|
|
503
|
+
export declare class GetAuctionActivityRequest extends Message<GetAuctionActivityRequest> {
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: int32 chain_id = 1;
|
|
506
|
+
*/
|
|
507
|
+
chainId: number;
|
|
508
|
+
/**
|
|
509
|
+
* @generated from field: string address = 2;
|
|
510
|
+
*/
|
|
511
|
+
address: string;
|
|
512
|
+
constructor(data?: PartialMessage<GetAuctionActivityRequest>);
|
|
513
|
+
static readonly runtime: typeof proto3;
|
|
514
|
+
static readonly typeName = "data.v1.GetAuctionActivityRequest";
|
|
515
|
+
static readonly fields: FieldList;
|
|
516
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionActivityRequest;
|
|
517
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionActivityRequest;
|
|
518
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionActivityRequest;
|
|
519
|
+
static equals(a: GetAuctionActivityRequest | PlainMessage<GetAuctionActivityRequest> | undefined, b: GetAuctionActivityRequest | PlainMessage<GetAuctionActivityRequest> | undefined): boolean;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* A single activity entry representing a bid.
|
|
523
|
+
*
|
|
524
|
+
* @generated from message data.v1.AuctionActivityEntry
|
|
525
|
+
*/
|
|
526
|
+
export declare class AuctionActivityEntry extends Message<AuctionActivityEntry> {
|
|
527
|
+
/**
|
|
528
|
+
* @generated from field: string bid_id = 1;
|
|
529
|
+
*/
|
|
530
|
+
bidId: string;
|
|
531
|
+
/**
|
|
532
|
+
* @generated from field: string wallet = 2;
|
|
533
|
+
*/
|
|
534
|
+
wallet: string;
|
|
535
|
+
/**
|
|
536
|
+
* bid price as string
|
|
537
|
+
*
|
|
538
|
+
* @generated from field: string price = 3;
|
|
539
|
+
*/
|
|
540
|
+
price: string;
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: string base_token_initial = 4;
|
|
543
|
+
*/
|
|
544
|
+
baseTokenInitial: string;
|
|
545
|
+
/**
|
|
546
|
+
* ISO 8601 timestamp
|
|
547
|
+
*
|
|
548
|
+
* @generated from field: string created_at = 5;
|
|
549
|
+
*/
|
|
550
|
+
createdAt: string;
|
|
551
|
+
/**
|
|
552
|
+
* @generated from field: string status = 6;
|
|
553
|
+
*/
|
|
554
|
+
status: string;
|
|
555
|
+
constructor(data?: PartialMessage<AuctionActivityEntry>);
|
|
556
|
+
static readonly runtime: typeof proto3;
|
|
557
|
+
static readonly typeName = "data.v1.AuctionActivityEntry";
|
|
558
|
+
static readonly fields: FieldList;
|
|
559
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuctionActivityEntry;
|
|
560
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuctionActivityEntry;
|
|
561
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuctionActivityEntry;
|
|
562
|
+
static equals(a: AuctionActivityEntry | PlainMessage<AuctionActivityEntry> | undefined, b: AuctionActivityEntry | PlainMessage<AuctionActivityEntry> | undefined): boolean;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Response containing recent auction activity.
|
|
566
|
+
*
|
|
567
|
+
* @generated from message data.v1.GetAuctionActivityResponse
|
|
568
|
+
*/
|
|
569
|
+
export declare class GetAuctionActivityResponse extends Message<GetAuctionActivityResponse> {
|
|
570
|
+
/**
|
|
571
|
+
* @generated from field: repeated data.v1.AuctionActivityEntry activity = 1;
|
|
572
|
+
*/
|
|
573
|
+
activity: AuctionActivityEntry[];
|
|
574
|
+
constructor(data?: PartialMessage<GetAuctionActivityResponse>);
|
|
575
|
+
static readonly runtime: typeof proto3;
|
|
576
|
+
static readonly typeName = "data.v1.GetAuctionActivityResponse";
|
|
577
|
+
static readonly fields: FieldList;
|
|
578
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionActivityResponse;
|
|
579
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionActivityResponse;
|
|
580
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionActivityResponse;
|
|
581
|
+
static equals(a: GetAuctionActivityResponse | PlainMessage<GetAuctionActivityResponse> | undefined, b: GetAuctionActivityResponse | PlainMessage<GetAuctionActivityResponse> | undefined): boolean;
|
|
582
|
+
}
|
|
@@ -614,3 +614,246 @@ GetLatestCheckpointResponse.typeName = "data.v1.GetLatestCheckpointResponse";
|
|
|
614
614
|
GetLatestCheckpointResponse.fields = proto3.util.newFieldList(() => [
|
|
615
615
|
{ no: 1, name: "checkpoint", kind: "message", T: Checkpoint },
|
|
616
616
|
]);
|
|
617
|
+
/**
|
|
618
|
+
* Request to fetch clearing price history for an auction.
|
|
619
|
+
*
|
|
620
|
+
* @generated from message data.v1.GetClearingPriceHistoryRequest
|
|
621
|
+
*/
|
|
622
|
+
export class GetClearingPriceHistoryRequest extends Message {
|
|
623
|
+
constructor(data) {
|
|
624
|
+
super();
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: int32 chain_id = 1;
|
|
627
|
+
*/
|
|
628
|
+
this.chainId = 0;
|
|
629
|
+
/**
|
|
630
|
+
* @generated from field: string address = 2;
|
|
631
|
+
*/
|
|
632
|
+
this.address = "";
|
|
633
|
+
proto3.util.initPartial(data, this);
|
|
634
|
+
}
|
|
635
|
+
static fromBinary(bytes, options) {
|
|
636
|
+
return new GetClearingPriceHistoryRequest().fromBinary(bytes, options);
|
|
637
|
+
}
|
|
638
|
+
static fromJson(jsonValue, options) {
|
|
639
|
+
return new GetClearingPriceHistoryRequest().fromJson(jsonValue, options);
|
|
640
|
+
}
|
|
641
|
+
static fromJsonString(jsonString, options) {
|
|
642
|
+
return new GetClearingPriceHistoryRequest().fromJsonString(jsonString, options);
|
|
643
|
+
}
|
|
644
|
+
static equals(a, b) {
|
|
645
|
+
return proto3.util.equals(GetClearingPriceHistoryRequest, a, b);
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
GetClearingPriceHistoryRequest.runtime = proto3;
|
|
649
|
+
GetClearingPriceHistoryRequest.typeName = "data.v1.GetClearingPriceHistoryRequest";
|
|
650
|
+
GetClearingPriceHistoryRequest.fields = proto3.util.newFieldList(() => [
|
|
651
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
652
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
653
|
+
]);
|
|
654
|
+
/**
|
|
655
|
+
* A single clearing price change point.
|
|
656
|
+
*
|
|
657
|
+
* @generated from message data.v1.ClearingPriceChange
|
|
658
|
+
*/
|
|
659
|
+
export class ClearingPriceChange extends Message {
|
|
660
|
+
constructor(data) {
|
|
661
|
+
super();
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: string clearing_price = 1;
|
|
664
|
+
*/
|
|
665
|
+
this.clearingPrice = "";
|
|
666
|
+
/**
|
|
667
|
+
* ISO 8601 timestamp
|
|
668
|
+
*
|
|
669
|
+
* @generated from field: string created_at = 2;
|
|
670
|
+
*/
|
|
671
|
+
this.createdAt = "";
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: string start_block = 3;
|
|
674
|
+
*/
|
|
675
|
+
this.startBlock = "";
|
|
676
|
+
proto3.util.initPartial(data, this);
|
|
677
|
+
}
|
|
678
|
+
static fromBinary(bytes, options) {
|
|
679
|
+
return new ClearingPriceChange().fromBinary(bytes, options);
|
|
680
|
+
}
|
|
681
|
+
static fromJson(jsonValue, options) {
|
|
682
|
+
return new ClearingPriceChange().fromJson(jsonValue, options);
|
|
683
|
+
}
|
|
684
|
+
static fromJsonString(jsonString, options) {
|
|
685
|
+
return new ClearingPriceChange().fromJsonString(jsonString, options);
|
|
686
|
+
}
|
|
687
|
+
static equals(a, b) {
|
|
688
|
+
return proto3.util.equals(ClearingPriceChange, a, b);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
ClearingPriceChange.runtime = proto3;
|
|
692
|
+
ClearingPriceChange.typeName = "data.v1.ClearingPriceChange";
|
|
693
|
+
ClearingPriceChange.fields = proto3.util.newFieldList(() => [
|
|
694
|
+
{ no: 1, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
695
|
+
{ no: 2, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
696
|
+
{ no: 3, name: "start_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
697
|
+
]);
|
|
698
|
+
/**
|
|
699
|
+
* Response containing clearing price history.
|
|
700
|
+
*
|
|
701
|
+
* @generated from message data.v1.GetClearingPriceHistoryResponse
|
|
702
|
+
*/
|
|
703
|
+
export class GetClearingPriceHistoryResponse extends Message {
|
|
704
|
+
constructor(data) {
|
|
705
|
+
super();
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: repeated data.v1.ClearingPriceChange changes = 1;
|
|
708
|
+
*/
|
|
709
|
+
this.changes = [];
|
|
710
|
+
proto3.util.initPartial(data, this);
|
|
711
|
+
}
|
|
712
|
+
static fromBinary(bytes, options) {
|
|
713
|
+
return new GetClearingPriceHistoryResponse().fromBinary(bytes, options);
|
|
714
|
+
}
|
|
715
|
+
static fromJson(jsonValue, options) {
|
|
716
|
+
return new GetClearingPriceHistoryResponse().fromJson(jsonValue, options);
|
|
717
|
+
}
|
|
718
|
+
static fromJsonString(jsonString, options) {
|
|
719
|
+
return new GetClearingPriceHistoryResponse().fromJsonString(jsonString, options);
|
|
720
|
+
}
|
|
721
|
+
static equals(a, b) {
|
|
722
|
+
return proto3.util.equals(GetClearingPriceHistoryResponse, a, b);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
GetClearingPriceHistoryResponse.runtime = proto3;
|
|
726
|
+
GetClearingPriceHistoryResponse.typeName = "data.v1.GetClearingPriceHistoryResponse";
|
|
727
|
+
GetClearingPriceHistoryResponse.fields = proto3.util.newFieldList(() => [
|
|
728
|
+
{ no: 1, name: "changes", kind: "message", T: ClearingPriceChange, repeated: true },
|
|
729
|
+
]);
|
|
730
|
+
/**
|
|
731
|
+
* Request to fetch recent auction activity (latest bids).
|
|
732
|
+
*
|
|
733
|
+
* @generated from message data.v1.GetAuctionActivityRequest
|
|
734
|
+
*/
|
|
735
|
+
export class GetAuctionActivityRequest extends Message {
|
|
736
|
+
constructor(data) {
|
|
737
|
+
super();
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: int32 chain_id = 1;
|
|
740
|
+
*/
|
|
741
|
+
this.chainId = 0;
|
|
742
|
+
/**
|
|
743
|
+
* @generated from field: string address = 2;
|
|
744
|
+
*/
|
|
745
|
+
this.address = "";
|
|
746
|
+
proto3.util.initPartial(data, this);
|
|
747
|
+
}
|
|
748
|
+
static fromBinary(bytes, options) {
|
|
749
|
+
return new GetAuctionActivityRequest().fromBinary(bytes, options);
|
|
750
|
+
}
|
|
751
|
+
static fromJson(jsonValue, options) {
|
|
752
|
+
return new GetAuctionActivityRequest().fromJson(jsonValue, options);
|
|
753
|
+
}
|
|
754
|
+
static fromJsonString(jsonString, options) {
|
|
755
|
+
return new GetAuctionActivityRequest().fromJsonString(jsonString, options);
|
|
756
|
+
}
|
|
757
|
+
static equals(a, b) {
|
|
758
|
+
return proto3.util.equals(GetAuctionActivityRequest, a, b);
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
GetAuctionActivityRequest.runtime = proto3;
|
|
762
|
+
GetAuctionActivityRequest.typeName = "data.v1.GetAuctionActivityRequest";
|
|
763
|
+
GetAuctionActivityRequest.fields = proto3.util.newFieldList(() => [
|
|
764
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
765
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
766
|
+
]);
|
|
767
|
+
/**
|
|
768
|
+
* A single activity entry representing a bid.
|
|
769
|
+
*
|
|
770
|
+
* @generated from message data.v1.AuctionActivityEntry
|
|
771
|
+
*/
|
|
772
|
+
export class AuctionActivityEntry extends Message {
|
|
773
|
+
constructor(data) {
|
|
774
|
+
super();
|
|
775
|
+
/**
|
|
776
|
+
* @generated from field: string bid_id = 1;
|
|
777
|
+
*/
|
|
778
|
+
this.bidId = "";
|
|
779
|
+
/**
|
|
780
|
+
* @generated from field: string wallet = 2;
|
|
781
|
+
*/
|
|
782
|
+
this.wallet = "";
|
|
783
|
+
/**
|
|
784
|
+
* bid price as string
|
|
785
|
+
*
|
|
786
|
+
* @generated from field: string price = 3;
|
|
787
|
+
*/
|
|
788
|
+
this.price = "";
|
|
789
|
+
/**
|
|
790
|
+
* @generated from field: string base_token_initial = 4;
|
|
791
|
+
*/
|
|
792
|
+
this.baseTokenInitial = "";
|
|
793
|
+
/**
|
|
794
|
+
* ISO 8601 timestamp
|
|
795
|
+
*
|
|
796
|
+
* @generated from field: string created_at = 5;
|
|
797
|
+
*/
|
|
798
|
+
this.createdAt = "";
|
|
799
|
+
/**
|
|
800
|
+
* @generated from field: string status = 6;
|
|
801
|
+
*/
|
|
802
|
+
this.status = "";
|
|
803
|
+
proto3.util.initPartial(data, this);
|
|
804
|
+
}
|
|
805
|
+
static fromBinary(bytes, options) {
|
|
806
|
+
return new AuctionActivityEntry().fromBinary(bytes, options);
|
|
807
|
+
}
|
|
808
|
+
static fromJson(jsonValue, options) {
|
|
809
|
+
return new AuctionActivityEntry().fromJson(jsonValue, options);
|
|
810
|
+
}
|
|
811
|
+
static fromJsonString(jsonString, options) {
|
|
812
|
+
return new AuctionActivityEntry().fromJsonString(jsonString, options);
|
|
813
|
+
}
|
|
814
|
+
static equals(a, b) {
|
|
815
|
+
return proto3.util.equals(AuctionActivityEntry, a, b);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
AuctionActivityEntry.runtime = proto3;
|
|
819
|
+
AuctionActivityEntry.typeName = "data.v1.AuctionActivityEntry";
|
|
820
|
+
AuctionActivityEntry.fields = proto3.util.newFieldList(() => [
|
|
821
|
+
{ no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
822
|
+
{ no: 2, name: "wallet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
823
|
+
{ no: 3, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
824
|
+
{ no: 4, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
825
|
+
{ no: 5, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
826
|
+
{ no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
827
|
+
]);
|
|
828
|
+
/**
|
|
829
|
+
* Response containing recent auction activity.
|
|
830
|
+
*
|
|
831
|
+
* @generated from message data.v1.GetAuctionActivityResponse
|
|
832
|
+
*/
|
|
833
|
+
export class GetAuctionActivityResponse extends Message {
|
|
834
|
+
constructor(data) {
|
|
835
|
+
super();
|
|
836
|
+
/**
|
|
837
|
+
* @generated from field: repeated data.v1.AuctionActivityEntry activity = 1;
|
|
838
|
+
*/
|
|
839
|
+
this.activity = [];
|
|
840
|
+
proto3.util.initPartial(data, this);
|
|
841
|
+
}
|
|
842
|
+
static fromBinary(bytes, options) {
|
|
843
|
+
return new GetAuctionActivityResponse().fromBinary(bytes, options);
|
|
844
|
+
}
|
|
845
|
+
static fromJson(jsonValue, options) {
|
|
846
|
+
return new GetAuctionActivityResponse().fromJson(jsonValue, options);
|
|
847
|
+
}
|
|
848
|
+
static fromJsonString(jsonString, options) {
|
|
849
|
+
return new GetAuctionActivityResponse().fromJsonString(jsonString, options);
|
|
850
|
+
}
|
|
851
|
+
static equals(a, b) {
|
|
852
|
+
return proto3.util.equals(GetAuctionActivityResponse, a, b);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
GetAuctionActivityResponse.runtime = proto3;
|
|
856
|
+
GetAuctionActivityResponse.typeName = "data.v1.GetAuctionActivityResponse";
|
|
857
|
+
GetAuctionActivityResponse.fields = proto3.util.newFieldList(() => [
|
|
858
|
+
{ no: 1, name: "activity", kind: "message", T: AuctionActivityEntry, repeated: true },
|
|
859
|
+
]);
|