@uniswap/client-data-api 0.0.31 → 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 +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 +85 -0
- package/dist/data/v1/auction_pb.js +130 -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, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, 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
|
*/
|
|
@@ -65,3 +65,16 @@ export declare const getClearingPriceHistory: {
|
|
|
65
65
|
readonly typeName: "data.v1.AuctionService";
|
|
66
66
|
};
|
|
67
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, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, 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
|
*/
|
|
@@ -69,3 +69,16 @@ export const getClearingPriceHistory = {
|
|
|
69
69
|
typeName: "data.v1.AuctionService"
|
|
70
70
|
}
|
|
71
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, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, 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
|
|
@@ -51,5 +51,14 @@ export declare const AuctionService: {
|
|
|
51
51
|
readonly O: typeof GetClearingPriceHistoryResponse;
|
|
52
52
|
readonly kind: MethodKind.Unary;
|
|
53
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
|
+
};
|
|
54
63
|
};
|
|
55
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, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, 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
|
|
@@ -55,5 +55,14 @@ export const AuctionService = {
|
|
|
55
55
|
O: GetClearingPriceHistoryResponse,
|
|
56
56
|
kind: MethodKind.Unary,
|
|
57
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
|
+
},
|
|
58
67
|
}
|
|
59
68
|
};
|
|
@@ -495,3 +495,88 @@ export declare class GetClearingPriceHistoryResponse extends Message<GetClearing
|
|
|
495
495
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetClearingPriceHistoryResponse;
|
|
496
496
|
static equals(a: GetClearingPriceHistoryResponse | PlainMessage<GetClearingPriceHistoryResponse> | undefined, b: GetClearingPriceHistoryResponse | PlainMessage<GetClearingPriceHistoryResponse> | undefined): boolean;
|
|
497
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
|
+
}
|
|
@@ -727,3 +727,133 @@ GetClearingPriceHistoryResponse.typeName = "data.v1.GetClearingPriceHistoryRespo
|
|
|
727
727
|
GetClearingPriceHistoryResponse.fields = proto3.util.newFieldList(() => [
|
|
728
728
|
{ no: 1, name: "changes", kind: "message", T: ClearingPriceChange, repeated: true },
|
|
729
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
|
+
]);
|