@uniswap/client-data-api 0.0.31 → 0.0.33

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.
@@ -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
  };
@@ -396,6 +396,10 @@ export declare class Checkpoint extends Message<Checkpoint> {
396
396
  * @generated from field: int32 total_bid_count = 5;
397
397
  */
398
398
  totalBidCount: number;
399
+ /**
400
+ * @generated from field: string currency_raised = 6;
401
+ */
402
+ currencyRaised: string;
399
403
  constructor(data?: PartialMessage<Checkpoint>);
400
404
  static readonly runtime: typeof proto3;
401
405
  static readonly typeName = "data.v1.Checkpoint";
@@ -495,3 +499,80 @@ export declare class GetClearingPriceHistoryResponse extends Message<GetClearing
495
499
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetClearingPriceHistoryResponse;
496
500
  static equals(a: GetClearingPriceHistoryResponse | PlainMessage<GetClearingPriceHistoryResponse> | undefined, b: GetClearingPriceHistoryResponse | PlainMessage<GetClearingPriceHistoryResponse> | undefined): boolean;
497
501
  }
502
+ /**
503
+ * @generated from message data.v1.GetAuctionActivityRequest
504
+ */
505
+ export declare class GetAuctionActivityRequest extends Message<GetAuctionActivityRequest> {
506
+ /**
507
+ * @generated from field: int32 chain_id = 1;
508
+ */
509
+ chainId: number;
510
+ /**
511
+ * @generated from field: string address = 2;
512
+ */
513
+ address: string;
514
+ constructor(data?: PartialMessage<GetAuctionActivityRequest>);
515
+ static readonly runtime: typeof proto3;
516
+ static readonly typeName = "data.v1.GetAuctionActivityRequest";
517
+ static readonly fields: FieldList;
518
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionActivityRequest;
519
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionActivityRequest;
520
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionActivityRequest;
521
+ static equals(a: GetAuctionActivityRequest | PlainMessage<GetAuctionActivityRequest> | undefined, b: GetAuctionActivityRequest | PlainMessage<GetAuctionActivityRequest> | undefined): boolean;
522
+ }
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
+ * @generated from field: string price = 3;
537
+ */
538
+ price: string;
539
+ /**
540
+ * @generated from field: string base_token_initial = 4;
541
+ */
542
+ baseTokenInitial: string;
543
+ /**
544
+ * ISO 8601 timestamp
545
+ *
546
+ * @generated from field: string created_at = 5;
547
+ */
548
+ createdAt: string;
549
+ /**
550
+ * @generated from field: string status = 6;
551
+ */
552
+ status: string;
553
+ constructor(data?: PartialMessage<AuctionActivityEntry>);
554
+ static readonly runtime: typeof proto3;
555
+ static readonly typeName = "data.v1.AuctionActivityEntry";
556
+ static readonly fields: FieldList;
557
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuctionActivityEntry;
558
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuctionActivityEntry;
559
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuctionActivityEntry;
560
+ static equals(a: AuctionActivityEntry | PlainMessage<AuctionActivityEntry> | undefined, b: AuctionActivityEntry | PlainMessage<AuctionActivityEntry> | undefined): boolean;
561
+ }
562
+ /**
563
+ * @generated from message data.v1.GetAuctionActivityResponse
564
+ */
565
+ export declare class GetAuctionActivityResponse extends Message<GetAuctionActivityResponse> {
566
+ /**
567
+ * @generated from field: repeated data.v1.AuctionActivityEntry activity = 1;
568
+ */
569
+ activity: AuctionActivityEntry[];
570
+ constructor(data?: PartialMessage<GetAuctionActivityResponse>);
571
+ static readonly runtime: typeof proto3;
572
+ static readonly typeName = "data.v1.GetAuctionActivityResponse";
573
+ static readonly fields: FieldList;
574
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionActivityResponse;
575
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionActivityResponse;
576
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionActivityResponse;
577
+ static equals(a: GetAuctionActivityResponse | PlainMessage<GetAuctionActivityResponse> | undefined, b: GetAuctionActivityResponse | PlainMessage<GetAuctionActivityResponse> | undefined): boolean;
578
+ }
@@ -562,6 +562,10 @@ export class Checkpoint extends Message {
562
562
  * @generated from field: int32 total_bid_count = 5;
563
563
  */
564
564
  this.totalBidCount = 0;
565
+ /**
566
+ * @generated from field: string currency_raised = 6;
567
+ */
568
+ this.currencyRaised = "";
565
569
  proto3.util.initPartial(data, this);
566
570
  }
567
571
  static fromBinary(bytes, options) {
@@ -585,6 +589,7 @@ Checkpoint.fields = proto3.util.newFieldList(() => [
585
589
  { no: 3, name: "cumulative_mps_per_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
586
590
  { no: 4, name: "cumulative_mps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
587
591
  { no: 5, name: "total_bid_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
592
+ { no: 6, name: "currency_raised", kind: "scalar", T: 9 /* ScalarType.STRING */ },
588
593
  ]);
589
594
  /**
590
595
  * Response containing the latest checkpoint.
@@ -727,3 +732,125 @@ GetClearingPriceHistoryResponse.typeName = "data.v1.GetClearingPriceHistoryRespo
727
732
  GetClearingPriceHistoryResponse.fields = proto3.util.newFieldList(() => [
728
733
  { no: 1, name: "changes", kind: "message", T: ClearingPriceChange, repeated: true },
729
734
  ]);
735
+ /**
736
+ * @generated from message data.v1.GetAuctionActivityRequest
737
+ */
738
+ export class GetAuctionActivityRequest extends Message {
739
+ constructor(data) {
740
+ super();
741
+ /**
742
+ * @generated from field: int32 chain_id = 1;
743
+ */
744
+ this.chainId = 0;
745
+ /**
746
+ * @generated from field: string address = 2;
747
+ */
748
+ this.address = "";
749
+ proto3.util.initPartial(data, this);
750
+ }
751
+ static fromBinary(bytes, options) {
752
+ return new GetAuctionActivityRequest().fromBinary(bytes, options);
753
+ }
754
+ static fromJson(jsonValue, options) {
755
+ return new GetAuctionActivityRequest().fromJson(jsonValue, options);
756
+ }
757
+ static fromJsonString(jsonString, options) {
758
+ return new GetAuctionActivityRequest().fromJsonString(jsonString, options);
759
+ }
760
+ static equals(a, b) {
761
+ return proto3.util.equals(GetAuctionActivityRequest, a, b);
762
+ }
763
+ }
764
+ GetAuctionActivityRequest.runtime = proto3;
765
+ GetAuctionActivityRequest.typeName = "data.v1.GetAuctionActivityRequest";
766
+ GetAuctionActivityRequest.fields = proto3.util.newFieldList(() => [
767
+ { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
768
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
769
+ ]);
770
+ /**
771
+ * @generated from message data.v1.AuctionActivityEntry
772
+ */
773
+ export class AuctionActivityEntry extends Message {
774
+ constructor(data) {
775
+ super();
776
+ /**
777
+ * @generated from field: string bid_id = 1;
778
+ */
779
+ this.bidId = "";
780
+ /**
781
+ * @generated from field: string wallet = 2;
782
+ */
783
+ this.wallet = "";
784
+ /**
785
+ * @generated from field: string price = 3;
786
+ */
787
+ this.price = "";
788
+ /**
789
+ * @generated from field: string base_token_initial = 4;
790
+ */
791
+ this.baseTokenInitial = "";
792
+ /**
793
+ * ISO 8601 timestamp
794
+ *
795
+ * @generated from field: string created_at = 5;
796
+ */
797
+ this.createdAt = "";
798
+ /**
799
+ * @generated from field: string status = 6;
800
+ */
801
+ this.status = "";
802
+ proto3.util.initPartial(data, this);
803
+ }
804
+ static fromBinary(bytes, options) {
805
+ return new AuctionActivityEntry().fromBinary(bytes, options);
806
+ }
807
+ static fromJson(jsonValue, options) {
808
+ return new AuctionActivityEntry().fromJson(jsonValue, options);
809
+ }
810
+ static fromJsonString(jsonString, options) {
811
+ return new AuctionActivityEntry().fromJsonString(jsonString, options);
812
+ }
813
+ static equals(a, b) {
814
+ return proto3.util.equals(AuctionActivityEntry, a, b);
815
+ }
816
+ }
817
+ AuctionActivityEntry.runtime = proto3;
818
+ AuctionActivityEntry.typeName = "data.v1.AuctionActivityEntry";
819
+ AuctionActivityEntry.fields = proto3.util.newFieldList(() => [
820
+ { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
821
+ { no: 2, name: "wallet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
822
+ { no: 3, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
823
+ { no: 4, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
824
+ { no: 5, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
825
+ { no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
826
+ ]);
827
+ /**
828
+ * @generated from message data.v1.GetAuctionActivityResponse
829
+ */
830
+ export class GetAuctionActivityResponse extends Message {
831
+ constructor(data) {
832
+ super();
833
+ /**
834
+ * @generated from field: repeated data.v1.AuctionActivityEntry activity = 1;
835
+ */
836
+ this.activity = [];
837
+ proto3.util.initPartial(data, this);
838
+ }
839
+ static fromBinary(bytes, options) {
840
+ return new GetAuctionActivityResponse().fromBinary(bytes, options);
841
+ }
842
+ static fromJson(jsonValue, options) {
843
+ return new GetAuctionActivityResponse().fromJson(jsonValue, options);
844
+ }
845
+ static fromJsonString(jsonString, options) {
846
+ return new GetAuctionActivityResponse().fromJsonString(jsonString, options);
847
+ }
848
+ static equals(a, b) {
849
+ return proto3.util.equals(GetAuctionActivityResponse, a, b);
850
+ }
851
+ }
852
+ GetAuctionActivityResponse.runtime = proto3;
853
+ GetAuctionActivityResponse.typeName = "data.v1.GetAuctionActivityResponse";
854
+ GetAuctionActivityResponse.fields = proto3.util.newFieldList(() => [
855
+ { no: 1, name: "activity", kind: "message", T: AuctionActivityEntry, repeated: true },
856
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },