@injectivelabs/indexer-proto-ts-v2 1.17.0

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.
Files changed (75) hide show
  1. package/esm/generated/event_provider_api_pb.client.d.ts +156 -0
  2. package/esm/generated/event_provider_api_pb.client.mjs +76 -0
  3. package/esm/generated/event_provider_api_pb.d.ts +1966 -0
  4. package/esm/generated/event_provider_api_pb.mjs +1761 -0
  5. package/esm/generated/health_pb.client.d.ts +53 -0
  6. package/esm/generated/health_pb.client.mjs +22 -0
  7. package/esm/generated/health_pb.d.ts +309 -0
  8. package/esm/generated/health_pb.mjs +265 -0
  9. package/esm/generated/injective_accounts_rpc_pb.client.d.ts +211 -0
  10. package/esm/generated/injective_accounts_rpc_pb.client.mjs +105 -0
  11. package/esm/generated/injective_accounts_rpc_pb.d.ts +5307 -0
  12. package/esm/generated/injective_accounts_rpc_pb.mjs +4784 -0
  13. package/esm/generated/injective_archiver_rpc_pb.client.d.ts +224 -0
  14. package/esm/generated/injective_archiver_rpc_pb.client.mjs +112 -0
  15. package/esm/generated/injective_archiver_rpc_pb.d.ts +2902 -0
  16. package/esm/generated/injective_archiver_rpc_pb.mjs +2561 -0
  17. package/esm/generated/injective_auction_rpc_pb.client.d.ts +173 -0
  18. package/esm/generated/injective_auction_rpc_pb.client.mjs +85 -0
  19. package/esm/generated/injective_auction_rpc_pb.d.ts +1986 -0
  20. package/esm/generated/injective_auction_rpc_pb.mjs +1787 -0
  21. package/esm/generated/injective_campaign_rpc_pb.client.d.ts +138 -0
  22. package/esm/generated/injective_campaign_rpc_pb.client.mjs +67 -0
  23. package/esm/generated/injective_campaign_rpc_pb.d.ts +2766 -0
  24. package/esm/generated/injective_campaign_rpc_pb.mjs +2542 -0
  25. package/esm/generated/injective_chart_rpc_pb.client.d.ts +159 -0
  26. package/esm/generated/injective_chart_rpc_pb.client.mjs +78 -0
  27. package/esm/generated/injective_chart_rpc_pb.d.ts +1840 -0
  28. package/esm/generated/injective_chart_rpc_pb.mjs +1690 -0
  29. package/esm/generated/injective_derivative_exchange_rpc_pb.client.d.ts +504 -0
  30. package/esm/generated/injective_derivative_exchange_rpc_pb.client.mjs +259 -0
  31. package/esm/generated/injective_derivative_exchange_rpc_pb.d.ts +9158 -0
  32. package/esm/generated/injective_derivative_exchange_rpc_pb.mjs +8351 -0
  33. package/esm/generated/injective_exchange_rpc_pb.client.d.ts +155 -0
  34. package/esm/generated/injective_exchange_rpc_pb.client.mjs +76 -0
  35. package/esm/generated/injective_exchange_rpc_pb.d.ts +1925 -0
  36. package/esm/generated/injective_exchange_rpc_pb.mjs +1740 -0
  37. package/esm/generated/injective_explorer_rpc_pb.client.d.ts +495 -0
  38. package/esm/generated/injective_explorer_rpc_pb.client.mjs +255 -0
  39. package/esm/generated/injective_explorer_rpc_pb.d.ts +9394 -0
  40. package/esm/generated/injective_explorer_rpc_pb.mjs +8921 -0
  41. package/esm/generated/injective_insurance_rpc_pb.client.d.ts +87 -0
  42. package/esm/generated/injective_insurance_rpc_pb.client.mjs +40 -0
  43. package/esm/generated/injective_insurance_rpc_pb.d.ts +904 -0
  44. package/esm/generated/injective_insurance_rpc_pb.mjs +807 -0
  45. package/esm/generated/injective_megavault_rpc_pb.client.d.ts +155 -0
  46. package/esm/generated/injective_megavault_rpc_pb.client.mjs +76 -0
  47. package/esm/generated/injective_megavault_rpc_pb.d.ts +3380 -0
  48. package/esm/generated/injective_megavault_rpc_pb.mjs +2987 -0
  49. package/esm/generated/injective_meta_rpc_pb.client.d.ts +124 -0
  50. package/esm/generated/injective_meta_rpc_pb.client.mjs +59 -0
  51. package/esm/generated/injective_meta_rpc_pb.d.ts +825 -0
  52. package/esm/generated/injective_meta_rpc_pb.mjs +716 -0
  53. package/esm/generated/injective_oracle_rpc_pb.client.d.ts +124 -0
  54. package/esm/generated/injective_oracle_rpc_pb.client.mjs +59 -0
  55. package/esm/generated/injective_oracle_rpc_pb.d.ts +1044 -0
  56. package/esm/generated/injective_oracle_rpc_pb.mjs +915 -0
  57. package/esm/generated/injective_portfolio_rpc_pb.client.d.ts +105 -0
  58. package/esm/generated/injective_portfolio_rpc_pb.client.mjs +49 -0
  59. package/esm/generated/injective_portfolio_rpc_pb.d.ts +1464 -0
  60. package/esm/generated/injective_portfolio_rpc_pb.mjs +1286 -0
  61. package/esm/generated/injective_referral_rpc_pb.client.d.ts +89 -0
  62. package/esm/generated/injective_referral_rpc_pb.client.mjs +41 -0
  63. package/esm/generated/injective_referral_rpc_pb.d.ts +575 -0
  64. package/esm/generated/injective_referral_rpc_pb.mjs +497 -0
  65. package/esm/generated/injective_spot_exchange_rpc_pb.client.d.ts +343 -0
  66. package/esm/generated/injective_spot_exchange_rpc_pb.client.mjs +175 -0
  67. package/esm/generated/injective_spot_exchange_rpc_pb.d.ts +5958 -0
  68. package/esm/generated/injective_spot_exchange_rpc_pb.mjs +5426 -0
  69. package/esm/generated/injective_trading_rpc_pb.client.d.ts +90 -0
  70. package/esm/generated/injective_trading_rpc_pb.client.mjs +40 -0
  71. package/esm/generated/injective_trading_rpc_pb.d.ts +1882 -0
  72. package/esm/generated/injective_trading_rpc_pb.mjs +1754 -0
  73. package/esm/index.d.ts +42 -0
  74. package/esm/index.mjs +74 -0
  75. package/package.json +48 -0
@@ -0,0 +1,173 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
2
+ // @generated from protobuf file "injective_auction_rpc.proto" (package "injective_auction_rpc", syntax proto3)
3
+ // tslint:disable
4
+ //
5
+ // Code generated with goa v3.7.0, DO NOT EDIT.
6
+ //
7
+ // InjectiveAuctionRPC protocol buffer definition
8
+ //
9
+ // Command:
10
+ // $ goa gen github.com/InjectiveLabs/injective-indexer/api/design -o ../
11
+ //
12
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
13
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
14
+ import { InjectiveAuctionRPC } from "./injective_auction_rpc_pb";
15
+ import type { AuctionsStatsResponse } from "./injective_auction_rpc_pb";
16
+ import type { AuctionsStatsRequest } from "./injective_auction_rpc_pb";
17
+ import type { InjBurntEndpointResponse } from "./injective_auction_rpc_pb";
18
+ import type { InjBurntEndpointRequest } from "./injective_auction_rpc_pb";
19
+ import type { StreamBidsResponse } from "./injective_auction_rpc_pb";
20
+ import type { StreamBidsRequest } from "./injective_auction_rpc_pb";
21
+ import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
22
+ import type { AccountAuctionsV2Response } from "./injective_auction_rpc_pb";
23
+ import type { AccountAuctionsV2Request } from "./injective_auction_rpc_pb";
24
+ import type { AuctionV2Response } from "./injective_auction_rpc_pb";
25
+ import type { AuctionV2Request } from "./injective_auction_rpc_pb";
26
+ import type { AuctionsHistoryV2Response } from "./injective_auction_rpc_pb";
27
+ import type { AuctionsHistoryV2Request } from "./injective_auction_rpc_pb";
28
+ import type { AuctionsResponse } from "./injective_auction_rpc_pb";
29
+ import type { AuctionsRequest } from "./injective_auction_rpc_pb";
30
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
31
+ import type { AuctionEndpointResponse } from "./injective_auction_rpc_pb";
32
+ import type { AuctionEndpointRequest } from "./injective_auction_rpc_pb";
33
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
34
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
35
+ /**
36
+ * InjectiveAuctionRPC defines gRPC API of the Auction API.
37
+ *
38
+ * @generated from protobuf service injective_auction_rpc.InjectiveAuctionRPC
39
+ */
40
+ export interface IInjectiveAuctionRPCClient {
41
+ /**
42
+ * Provide historical auction info for a given auction
43
+ *
44
+ * @generated from protobuf rpc: AuctionEndpoint
45
+ */
46
+ auctionEndpoint(input: AuctionEndpointRequest, options?: RpcOptions): UnaryCall<AuctionEndpointRequest, AuctionEndpointResponse>;
47
+ /**
48
+ * Provide the historical auctions info
49
+ *
50
+ * @generated from protobuf rpc: Auctions
51
+ */
52
+ auctions(input: AuctionsRequest, options?: RpcOptions): UnaryCall<AuctionsRequest, AuctionsResponse>;
53
+ /**
54
+ * Provide the historical auctions info
55
+ *
56
+ * @generated from protobuf rpc: AuctionsHistoryV2
57
+ */
58
+ auctionsHistoryV2(input: AuctionsHistoryV2Request, options?: RpcOptions): UnaryCall<AuctionsHistoryV2Request, AuctionsHistoryV2Response>;
59
+ /**
60
+ * Provide historical auction info for a given auction
61
+ *
62
+ * @generated from protobuf rpc: AuctionV2
63
+ */
64
+ auctionV2(input: AuctionV2Request, options?: RpcOptions): UnaryCall<AuctionV2Request, AuctionV2Response>;
65
+ /**
66
+ * Provide the historical auctions info for a given account
67
+ *
68
+ * @generated from protobuf rpc: AccountAuctionsV2
69
+ */
70
+ accountAuctionsV2(input: AccountAuctionsV2Request, options?: RpcOptions): UnaryCall<AccountAuctionsV2Request, AccountAuctionsV2Response>;
71
+ /**
72
+ * StreamBids streams new bids of an auction.
73
+ *
74
+ * @generated from protobuf rpc: StreamBids
75
+ */
76
+ streamBids(input: StreamBidsRequest, options?: RpcOptions): ServerStreamingCall<StreamBidsRequest, StreamBidsResponse>;
77
+ /**
78
+ * InjBurntEndpoint returns the total amount of INJ burnt in auctions.
79
+ *
80
+ * @generated from protobuf rpc: InjBurntEndpoint
81
+ */
82
+ injBurntEndpoint(input: InjBurntEndpointRequest, options?: RpcOptions): UnaryCall<InjBurntEndpointRequest, InjBurntEndpointResponse>;
83
+ /**
84
+ * Returns total INJ burnt and its total USD value in auctions.
85
+ *
86
+ * @generated from protobuf rpc: AuctionsStats
87
+ */
88
+ auctionsStats(input: AuctionsStatsRequest, options?: RpcOptions): UnaryCall<AuctionsStatsRequest, AuctionsStatsResponse>;
89
+ }
90
+ /**
91
+ * InjectiveAuctionRPC defines gRPC API of the Auction API.
92
+ *
93
+ * @generated from protobuf service injective_auction_rpc.InjectiveAuctionRPC
94
+ */
95
+ export class InjectiveAuctionRPCClient implements IInjectiveAuctionRPCClient, ServiceInfo {
96
+ typeName = InjectiveAuctionRPC.typeName;
97
+ methods = InjectiveAuctionRPC.methods;
98
+ options = InjectiveAuctionRPC.options;
99
+ constructor(private readonly _transport: RpcTransport) {
100
+ }
101
+ /**
102
+ * Provide historical auction info for a given auction
103
+ *
104
+ * @generated from protobuf rpc: AuctionEndpoint
105
+ */
106
+ auctionEndpoint(input: AuctionEndpointRequest, options?: RpcOptions): UnaryCall<AuctionEndpointRequest, AuctionEndpointResponse> {
107
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
108
+ return stackIntercept<AuctionEndpointRequest, AuctionEndpointResponse>("unary", this._transport, method, opt, input);
109
+ }
110
+ /**
111
+ * Provide the historical auctions info
112
+ *
113
+ * @generated from protobuf rpc: Auctions
114
+ */
115
+ auctions(input: AuctionsRequest, options?: RpcOptions): UnaryCall<AuctionsRequest, AuctionsResponse> {
116
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
117
+ return stackIntercept<AuctionsRequest, AuctionsResponse>("unary", this._transport, method, opt, input);
118
+ }
119
+ /**
120
+ * Provide the historical auctions info
121
+ *
122
+ * @generated from protobuf rpc: AuctionsHistoryV2
123
+ */
124
+ auctionsHistoryV2(input: AuctionsHistoryV2Request, options?: RpcOptions): UnaryCall<AuctionsHistoryV2Request, AuctionsHistoryV2Response> {
125
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
126
+ return stackIntercept<AuctionsHistoryV2Request, AuctionsHistoryV2Response>("unary", this._transport, method, opt, input);
127
+ }
128
+ /**
129
+ * Provide historical auction info for a given auction
130
+ *
131
+ * @generated from protobuf rpc: AuctionV2
132
+ */
133
+ auctionV2(input: AuctionV2Request, options?: RpcOptions): UnaryCall<AuctionV2Request, AuctionV2Response> {
134
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
135
+ return stackIntercept<AuctionV2Request, AuctionV2Response>("unary", this._transport, method, opt, input);
136
+ }
137
+ /**
138
+ * Provide the historical auctions info for a given account
139
+ *
140
+ * @generated from protobuf rpc: AccountAuctionsV2
141
+ */
142
+ accountAuctionsV2(input: AccountAuctionsV2Request, options?: RpcOptions): UnaryCall<AccountAuctionsV2Request, AccountAuctionsV2Response> {
143
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
144
+ return stackIntercept<AccountAuctionsV2Request, AccountAuctionsV2Response>("unary", this._transport, method, opt, input);
145
+ }
146
+ /**
147
+ * StreamBids streams new bids of an auction.
148
+ *
149
+ * @generated from protobuf rpc: StreamBids
150
+ */
151
+ streamBids(input: StreamBidsRequest, options?: RpcOptions): ServerStreamingCall<StreamBidsRequest, StreamBidsResponse> {
152
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
153
+ return stackIntercept<StreamBidsRequest, StreamBidsResponse>("serverStreaming", this._transport, method, opt, input);
154
+ }
155
+ /**
156
+ * InjBurntEndpoint returns the total amount of INJ burnt in auctions.
157
+ *
158
+ * @generated from protobuf rpc: InjBurntEndpoint
159
+ */
160
+ injBurntEndpoint(input: InjBurntEndpointRequest, options?: RpcOptions): UnaryCall<InjBurntEndpointRequest, InjBurntEndpointResponse> {
161
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
162
+ return stackIntercept<InjBurntEndpointRequest, InjBurntEndpointResponse>("unary", this._transport, method, opt, input);
163
+ }
164
+ /**
165
+ * Returns total INJ burnt and its total USD value in auctions.
166
+ *
167
+ * @generated from protobuf rpc: AuctionsStats
168
+ */
169
+ auctionsStats(input: AuctionsStatsRequest, options?: RpcOptions): UnaryCall<AuctionsStatsRequest, AuctionsStatsResponse> {
170
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
171
+ return stackIntercept<AuctionsStatsRequest, AuctionsStatsResponse>("unary", this._transport, method, opt, input);
172
+ }
173
+ }
@@ -0,0 +1,85 @@
1
+ import { InjectiveAuctionRPC } from "./injective_auction_rpc_pb.mjs";
2
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
+ class InjectiveAuctionRPCClient {
4
+ constructor(_transport) {
5
+ this._transport = _transport;
6
+ this.typeName = InjectiveAuctionRPC.typeName;
7
+ this.methods = InjectiveAuctionRPC.methods;
8
+ this.options = InjectiveAuctionRPC.options;
9
+ }
10
+ /**
11
+ * Provide historical auction info for a given auction
12
+ *
13
+ * @generated from protobuf rpc: AuctionEndpoint
14
+ */
15
+ auctionEndpoint(input, options) {
16
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
17
+ return stackIntercept("unary", this._transport, method, opt, input);
18
+ }
19
+ /**
20
+ * Provide the historical auctions info
21
+ *
22
+ * @generated from protobuf rpc: Auctions
23
+ */
24
+ auctions(input, options) {
25
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
26
+ return stackIntercept("unary", this._transport, method, opt, input);
27
+ }
28
+ /**
29
+ * Provide the historical auctions info
30
+ *
31
+ * @generated from protobuf rpc: AuctionsHistoryV2
32
+ */
33
+ auctionsHistoryV2(input, options) {
34
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
35
+ return stackIntercept("unary", this._transport, method, opt, input);
36
+ }
37
+ /**
38
+ * Provide historical auction info for a given auction
39
+ *
40
+ * @generated from protobuf rpc: AuctionV2
41
+ */
42
+ auctionV2(input, options) {
43
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
44
+ return stackIntercept("unary", this._transport, method, opt, input);
45
+ }
46
+ /**
47
+ * Provide the historical auctions info for a given account
48
+ *
49
+ * @generated from protobuf rpc: AccountAuctionsV2
50
+ */
51
+ accountAuctionsV2(input, options) {
52
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
53
+ return stackIntercept("unary", this._transport, method, opt, input);
54
+ }
55
+ /**
56
+ * StreamBids streams new bids of an auction.
57
+ *
58
+ * @generated from protobuf rpc: StreamBids
59
+ */
60
+ streamBids(input, options) {
61
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
62
+ return stackIntercept("serverStreaming", this._transport, method, opt, input);
63
+ }
64
+ /**
65
+ * InjBurntEndpoint returns the total amount of INJ burnt in auctions.
66
+ *
67
+ * @generated from protobuf rpc: InjBurntEndpoint
68
+ */
69
+ injBurntEndpoint(input, options) {
70
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
71
+ return stackIntercept("unary", this._transport, method, opt, input);
72
+ }
73
+ /**
74
+ * Returns total INJ burnt and its total USD value in auctions.
75
+ *
76
+ * @generated from protobuf rpc: AuctionsStats
77
+ */
78
+ auctionsStats(input, options) {
79
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
80
+ return stackIntercept("unary", this._transport, method, opt, input);
81
+ }
82
+ }
83
+ export {
84
+ InjectiveAuctionRPCClient
85
+ };