@kaiko-data/sdk-node 1.33.1 → 1.35.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.
- package/README.md +81 -0
- package/package.json +1 -1
- package/sdk/sdk_grpc_pb.d.ts +18 -0
- package/sdk/sdk_grpc_pb.js +41 -0
- package/sdk/sdk_pb.d.ts +2 -0
- package/sdk/sdk_pb.js +4 -0
- package/sdk/stream/staking_rates_v1/request_grpc_pb.d.ts +1 -0
- package/sdk/stream/staking_rates_v1/request_grpc_pb.js +1 -0
- package/sdk/stream/staking_rates_v1/request_pb.d.ts +39 -0
- package/sdk/stream/staking_rates_v1/request_pb.js +289 -0
- package/sdk/stream/staking_rates_v1/response_grpc_pb.d.ts +1 -0
- package/sdk/stream/staking_rates_v1/response_grpc_pb.js +1 -0
- package/sdk/stream/staking_rates_v1/response_pb.d.ts +207 -0
- package/sdk/stream/staking_rates_v1/response_pb.js +1600 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
// package: kaikosdk
|
|
2
|
+
// file: sdk/stream/staking_rates_v1/response.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
|
+
import * as sdk_stream_index_v1_commodity_pb from "../../../sdk/stream/index_v1/commodity_pb";
|
|
7
|
+
|
|
8
|
+
export class StakingRatesInterval extends jspb.Message {
|
|
9
|
+
hasStartTime(): boolean;
|
|
10
|
+
clearStartTime(): void;
|
|
11
|
+
getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
12
|
+
setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
13
|
+
|
|
14
|
+
hasEndTime(): boolean;
|
|
15
|
+
clearEndTime(): void;
|
|
16
|
+
getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
17
|
+
setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
18
|
+
|
|
19
|
+
serializeBinary(): Uint8Array;
|
|
20
|
+
toObject(includeInstance?: boolean): StakingRatesInterval.AsObject;
|
|
21
|
+
static toObject(includeInstance: boolean, msg: StakingRatesInterval): StakingRatesInterval.AsObject;
|
|
22
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
23
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
24
|
+
static serializeBinaryToWriter(message: StakingRatesInterval, writer: jspb.BinaryWriter): void;
|
|
25
|
+
static deserializeBinary(bytes: Uint8Array): StakingRatesInterval;
|
|
26
|
+
static deserializeBinaryFromReader(message: StakingRatesInterval, reader: jspb.BinaryReader): StakingRatesInterval;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export namespace StakingRatesInterval {
|
|
30
|
+
export type AsObject = {
|
|
31
|
+
startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
32
|
+
endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class StakingRatesQuantity extends jspb.Message {
|
|
37
|
+
getValue(): number;
|
|
38
|
+
setValue(value: number): void;
|
|
39
|
+
|
|
40
|
+
getBaseQuantity(): number;
|
|
41
|
+
setBaseQuantity(value: number): void;
|
|
42
|
+
|
|
43
|
+
getUtilizationRate(): number;
|
|
44
|
+
setUtilizationRate(value: number): void;
|
|
45
|
+
|
|
46
|
+
serializeBinary(): Uint8Array;
|
|
47
|
+
toObject(includeInstance?: boolean): StakingRatesQuantity.AsObject;
|
|
48
|
+
static toObject(includeInstance: boolean, msg: StakingRatesQuantity): StakingRatesQuantity.AsObject;
|
|
49
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
50
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
51
|
+
static serializeBinaryToWriter(message: StakingRatesQuantity, writer: jspb.BinaryWriter): void;
|
|
52
|
+
static deserializeBinary(bytes: Uint8Array): StakingRatesQuantity;
|
|
53
|
+
static deserializeBinaryFromReader(message: StakingRatesQuantity, reader: jspb.BinaryReader): StakingRatesQuantity;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export namespace StakingRatesQuantity {
|
|
57
|
+
export type AsObject = {
|
|
58
|
+
value: number,
|
|
59
|
+
baseQuantity: number,
|
|
60
|
+
utilizationRate: number,
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export class StakingRatesUnderlyingPrice extends jspb.Message {
|
|
65
|
+
getName(): string;
|
|
66
|
+
setName(value: string): void;
|
|
67
|
+
|
|
68
|
+
getPrice(): number;
|
|
69
|
+
setPrice(value: number): void;
|
|
70
|
+
|
|
71
|
+
hasTsEvent(): boolean;
|
|
72
|
+
clearTsEvent(): void;
|
|
73
|
+
getTsEvent(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
74
|
+
setTsEvent(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
75
|
+
|
|
76
|
+
serializeBinary(): Uint8Array;
|
|
77
|
+
toObject(includeInstance?: boolean): StakingRatesUnderlyingPrice.AsObject;
|
|
78
|
+
static toObject(includeInstance: boolean, msg: StakingRatesUnderlyingPrice): StakingRatesUnderlyingPrice.AsObject;
|
|
79
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
80
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
81
|
+
static serializeBinaryToWriter(message: StakingRatesUnderlyingPrice, writer: jspb.BinaryWriter): void;
|
|
82
|
+
static deserializeBinary(bytes: Uint8Array): StakingRatesUnderlyingPrice;
|
|
83
|
+
static deserializeBinaryFromReader(message: StakingRatesUnderlyingPrice, reader: jspb.BinaryReader): StakingRatesUnderlyingPrice;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export namespace StakingRatesUnderlyingPrice {
|
|
87
|
+
export type AsObject = {
|
|
88
|
+
name: string,
|
|
89
|
+
price: number,
|
|
90
|
+
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export class StakingRatesApr extends jspb.Message {
|
|
95
|
+
getName(): string;
|
|
96
|
+
setName(value: string): void;
|
|
97
|
+
|
|
98
|
+
getValue(): number;
|
|
99
|
+
setValue(value: number): void;
|
|
100
|
+
|
|
101
|
+
getForwardFilled(): boolean;
|
|
102
|
+
setForwardFilled(value: boolean): void;
|
|
103
|
+
|
|
104
|
+
hasTsEvent(): boolean;
|
|
105
|
+
clearTsEvent(): void;
|
|
106
|
+
getTsEvent(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
107
|
+
setTsEvent(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
108
|
+
|
|
109
|
+
serializeBinary(): Uint8Array;
|
|
110
|
+
toObject(includeInstance?: boolean): StakingRatesApr.AsObject;
|
|
111
|
+
static toObject(includeInstance: boolean, msg: StakingRatesApr): StakingRatesApr.AsObject;
|
|
112
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
113
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
114
|
+
static serializeBinaryToWriter(message: StakingRatesApr, writer: jspb.BinaryWriter): void;
|
|
115
|
+
static deserializeBinary(bytes: Uint8Array): StakingRatesApr;
|
|
116
|
+
static deserializeBinaryFromReader(message: StakingRatesApr, reader: jspb.BinaryReader): StakingRatesApr;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export namespace StakingRatesApr {
|
|
120
|
+
export type AsObject = {
|
|
121
|
+
name: string,
|
|
122
|
+
value: number,
|
|
123
|
+
forwardFilled: boolean,
|
|
124
|
+
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export class StakingRatesComposition extends jspb.Message {
|
|
129
|
+
hasQuantity(): boolean;
|
|
130
|
+
clearQuantity(): void;
|
|
131
|
+
getQuantity(): StakingRatesQuantity | undefined;
|
|
132
|
+
setQuantity(value?: StakingRatesQuantity): void;
|
|
133
|
+
|
|
134
|
+
hasUnderlyingPrice(): boolean;
|
|
135
|
+
clearUnderlyingPrice(): void;
|
|
136
|
+
getUnderlyingPrice(): StakingRatesUnderlyingPrice | undefined;
|
|
137
|
+
setUnderlyingPrice(value?: StakingRatesUnderlyingPrice): void;
|
|
138
|
+
|
|
139
|
+
hasApr(): boolean;
|
|
140
|
+
clearApr(): void;
|
|
141
|
+
getApr(): StakingRatesApr | undefined;
|
|
142
|
+
setApr(value?: StakingRatesApr): void;
|
|
143
|
+
|
|
144
|
+
serializeBinary(): Uint8Array;
|
|
145
|
+
toObject(includeInstance?: boolean): StakingRatesComposition.AsObject;
|
|
146
|
+
static toObject(includeInstance: boolean, msg: StakingRatesComposition): StakingRatesComposition.AsObject;
|
|
147
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
148
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
149
|
+
static serializeBinaryToWriter(message: StakingRatesComposition, writer: jspb.BinaryWriter): void;
|
|
150
|
+
static deserializeBinary(bytes: Uint8Array): StakingRatesComposition;
|
|
151
|
+
static deserializeBinaryFromReader(message: StakingRatesComposition, reader: jspb.BinaryReader): StakingRatesComposition;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export namespace StakingRatesComposition {
|
|
155
|
+
export type AsObject = {
|
|
156
|
+
quantity?: StakingRatesQuantity.AsObject,
|
|
157
|
+
underlyingPrice?: StakingRatesUnderlyingPrice.AsObject,
|
|
158
|
+
apr?: StakingRatesApr.AsObject,
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export class StreamStakingRatesServiceResponseV1 extends jspb.Message {
|
|
163
|
+
getIndexCode(): string;
|
|
164
|
+
setIndexCode(value: string): void;
|
|
165
|
+
|
|
166
|
+
getCommodity(): sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap];
|
|
167
|
+
setCommodity(value: sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap]): void;
|
|
168
|
+
|
|
169
|
+
hasInterval(): boolean;
|
|
170
|
+
clearInterval(): void;
|
|
171
|
+
getInterval(): StakingRatesInterval | undefined;
|
|
172
|
+
setInterval(value?: StakingRatesInterval): void;
|
|
173
|
+
|
|
174
|
+
hasComposition(): boolean;
|
|
175
|
+
clearComposition(): void;
|
|
176
|
+
getComposition(): StakingRatesComposition | undefined;
|
|
177
|
+
setComposition(value?: StakingRatesComposition): void;
|
|
178
|
+
|
|
179
|
+
getPrice(): number;
|
|
180
|
+
setPrice(value: number): void;
|
|
181
|
+
|
|
182
|
+
hasTsEvent(): boolean;
|
|
183
|
+
clearTsEvent(): void;
|
|
184
|
+
getTsEvent(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
185
|
+
setTsEvent(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
186
|
+
|
|
187
|
+
serializeBinary(): Uint8Array;
|
|
188
|
+
toObject(includeInstance?: boolean): StreamStakingRatesServiceResponseV1.AsObject;
|
|
189
|
+
static toObject(includeInstance: boolean, msg: StreamStakingRatesServiceResponseV1): StreamStakingRatesServiceResponseV1.AsObject;
|
|
190
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
191
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
192
|
+
static serializeBinaryToWriter(message: StreamStakingRatesServiceResponseV1, writer: jspb.BinaryWriter): void;
|
|
193
|
+
static deserializeBinary(bytes: Uint8Array): StreamStakingRatesServiceResponseV1;
|
|
194
|
+
static deserializeBinaryFromReader(message: StreamStakingRatesServiceResponseV1, reader: jspb.BinaryReader): StreamStakingRatesServiceResponseV1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export namespace StreamStakingRatesServiceResponseV1 {
|
|
198
|
+
export type AsObject = {
|
|
199
|
+
indexCode: string,
|
|
200
|
+
commodity: sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap],
|
|
201
|
+
interval?: StakingRatesInterval.AsObject,
|
|
202
|
+
composition?: StakingRatesComposition.AsObject,
|
|
203
|
+
price: number,
|
|
204
|
+
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|