dash-platform-sdk 1.6.0-dev.3 → 1.6.0-dev.4
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 +14 -14
- package/bundle.min.js +1 -1
- package/package.json +2 -2
- package/proto/generated/platform.client.d.ts +10 -0
- package/proto/generated/platform.client.js +27 -20
- package/proto/generated/platform.d.ts +222 -0
- package/proto/generated/platform.js +471 -0
- package/src/contestedResources/getVotePollsByEndDate.d.ts +4 -0
- package/src/contestedResources/getVotePollsByEndDate.js +39 -0
- package/src/contestedResources/index.d.ts +12 -1
- package/src/contestedResources/index.js +14 -0
- package/src/grpcConnectionPool.d.ts +6 -0
- package/src/grpcConnectionPool.js +18 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dash-platform-sdk",
|
|
3
|
-
"version": "1.6.0-dev.
|
|
3
|
+
"version": "1.6.0-dev.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Lightweight SDK for accessing Dash Platform blockchain",
|
|
6
6
|
"repository": {
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"@scure/bip32": "^2.0.0",
|
|
60
60
|
"@scure/bip39": "^2.0.0",
|
|
61
61
|
"@scure/btc-signer": "^2.0.1",
|
|
62
|
-
"pshenmic-dpp": "2.0.1-dev.
|
|
62
|
+
"pshenmic-dpp": "2.0.1-dev.5"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -40,6 +40,8 @@ import type { GetStatusResponse } from "./platform.js";
|
|
|
40
40
|
import type { GetStatusRequest } from "./platform.js";
|
|
41
41
|
import type { GetTotalCreditsInPlatformResponse } from "./platform.js";
|
|
42
42
|
import type { GetTotalCreditsInPlatformRequest } from "./platform.js";
|
|
43
|
+
import type { GetVotePollsByEndDateResponse } from "./platform.js";
|
|
44
|
+
import type { GetVotePollsByEndDateRequest } from "./platform.js";
|
|
43
45
|
import type { GetContestedResourceVoteStateResponse } from "./platform.js";
|
|
44
46
|
import type { GetContestedResourceVoteStateRequest } from "./platform.js";
|
|
45
47
|
import type { GetFinalizedEpochInfosResponse } from "./platform.js";
|
|
@@ -130,6 +132,10 @@ export interface IPlatformClient {
|
|
|
130
132
|
* @generated from protobuf rpc: getContestedResourceVoteState
|
|
131
133
|
*/
|
|
132
134
|
getContestedResourceVoteState(input: GetContestedResourceVoteStateRequest, options?: RpcOptions): UnaryCall<GetContestedResourceVoteStateRequest, GetContestedResourceVoteStateResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from protobuf rpc: getVotePollsByEndDate
|
|
137
|
+
*/
|
|
138
|
+
getVotePollsByEndDate(input: GetVotePollsByEndDateRequest, options?: RpcOptions): UnaryCall<GetVotePollsByEndDateRequest, GetVotePollsByEndDateResponse>;
|
|
133
139
|
/**
|
|
134
140
|
* @generated from protobuf rpc: getTotalCreditsInPlatform
|
|
135
141
|
*/
|
|
@@ -278,6 +284,10 @@ export declare class PlatformClient implements IPlatformClient, ServiceInfo {
|
|
|
278
284
|
* @generated from protobuf rpc: getContestedResourceVoteState
|
|
279
285
|
*/
|
|
280
286
|
getContestedResourceVoteState(input: GetContestedResourceVoteStateRequest, options?: RpcOptions): UnaryCall<GetContestedResourceVoteStateRequest, GetContestedResourceVoteStateResponse>;
|
|
287
|
+
/**
|
|
288
|
+
* @generated from protobuf rpc: getVotePollsByEndDate
|
|
289
|
+
*/
|
|
290
|
+
getVotePollsByEndDate(input: GetVotePollsByEndDateRequest, options?: RpcOptions): UnaryCall<GetVotePollsByEndDateRequest, GetVotePollsByEndDateResponse>;
|
|
281
291
|
/**
|
|
282
292
|
* @generated from protobuf rpc: getTotalCreditsInPlatform
|
|
283
293
|
*/
|
|
@@ -109,144 +109,151 @@ export class PlatformClient {
|
|
|
109
109
|
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
110
110
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf rpc: getVotePollsByEndDate
|
|
114
|
+
*/
|
|
115
|
+
getVotePollsByEndDate(input, options) {
|
|
116
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
117
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
118
|
+
}
|
|
112
119
|
/**
|
|
113
120
|
* @generated from protobuf rpc: getTotalCreditsInPlatform
|
|
114
121
|
*/
|
|
115
122
|
getTotalCreditsInPlatform(input, options) {
|
|
116
|
-
const method = this.methods[
|
|
123
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
117
124
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
118
125
|
}
|
|
119
126
|
/**
|
|
120
127
|
* @generated from protobuf rpc: getStatus
|
|
121
128
|
*/
|
|
122
129
|
getStatus(input, options) {
|
|
123
|
-
const method = this.methods[
|
|
130
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
124
131
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
125
132
|
}
|
|
126
133
|
/**
|
|
127
134
|
* @generated from protobuf rpc: getCurrentQuorumsInfo
|
|
128
135
|
*/
|
|
129
136
|
getCurrentQuorumsInfo(input, options) {
|
|
130
|
-
const method = this.methods[
|
|
137
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
131
138
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
132
139
|
}
|
|
133
140
|
/**
|
|
134
141
|
* @generated from protobuf rpc: getIdentityTokenBalances
|
|
135
142
|
*/
|
|
136
143
|
getIdentityTokenBalances(input, options) {
|
|
137
|
-
const method = this.methods[
|
|
144
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
138
145
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
139
146
|
}
|
|
140
147
|
/**
|
|
141
148
|
* @generated from protobuf rpc: getIdentitiesTokenBalances
|
|
142
149
|
*/
|
|
143
150
|
getIdentitiesTokenBalances(input, options) {
|
|
144
|
-
const method = this.methods[
|
|
151
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
145
152
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
146
153
|
}
|
|
147
154
|
/**
|
|
148
155
|
* @generated from protobuf rpc: getTokenDirectPurchasePrices
|
|
149
156
|
*/
|
|
150
157
|
getTokenDirectPurchasePrices(input, options) {
|
|
151
|
-
const method = this.methods[
|
|
158
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
152
159
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
153
160
|
}
|
|
154
161
|
/**
|
|
155
162
|
* @generated from protobuf rpc: getTokenContractInfo
|
|
156
163
|
*/
|
|
157
164
|
getTokenContractInfo(input, options) {
|
|
158
|
-
const method = this.methods[
|
|
165
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
159
166
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
160
167
|
}
|
|
161
168
|
/**
|
|
162
169
|
* @generated from protobuf rpc: getTokenTotalSupply
|
|
163
170
|
*/
|
|
164
171
|
getTokenTotalSupply(input, options) {
|
|
165
|
-
const method = this.methods[
|
|
172
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
166
173
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
167
174
|
}
|
|
168
175
|
/**
|
|
169
176
|
* @generated from protobuf rpc: getAddressInfo
|
|
170
177
|
*/
|
|
171
178
|
getAddressInfo(input, options) {
|
|
172
|
-
const method = this.methods[
|
|
179
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
173
180
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
174
181
|
}
|
|
175
182
|
/**
|
|
176
183
|
* @generated from protobuf rpc: getAddressesInfos
|
|
177
184
|
*/
|
|
178
185
|
getAddressesInfos(input, options) {
|
|
179
|
-
const method = this.methods[
|
|
186
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
180
187
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
181
188
|
}
|
|
182
189
|
/**
|
|
183
190
|
* @generated from protobuf rpc: getAddressesTrunkState
|
|
184
191
|
*/
|
|
185
192
|
getAddressesTrunkState(input, options) {
|
|
186
|
-
const method = this.methods[
|
|
193
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
187
194
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
188
195
|
}
|
|
189
196
|
/**
|
|
190
197
|
* @generated from protobuf rpc: getAddressesBranchState
|
|
191
198
|
*/
|
|
192
199
|
getAddressesBranchState(input, options) {
|
|
193
|
-
const method = this.methods[
|
|
200
|
+
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
194
201
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
195
202
|
}
|
|
196
203
|
/**
|
|
197
204
|
* @generated from protobuf rpc: getRecentAddressBalanceChanges
|
|
198
205
|
*/
|
|
199
206
|
getRecentAddressBalanceChanges(input, options) {
|
|
200
|
-
const method = this.methods[
|
|
207
|
+
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
201
208
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
202
209
|
}
|
|
203
210
|
/**
|
|
204
211
|
* @generated from protobuf rpc: getRecentCompactedAddressBalanceChanges
|
|
205
212
|
*/
|
|
206
213
|
getRecentCompactedAddressBalanceChanges(input, options) {
|
|
207
|
-
const method = this.methods[
|
|
214
|
+
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
208
215
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
209
216
|
}
|
|
210
217
|
/**
|
|
211
218
|
* @generated from protobuf rpc: getShieldedEncryptedNotes
|
|
212
219
|
*/
|
|
213
220
|
getShieldedEncryptedNotes(input, options) {
|
|
214
|
-
const method = this.methods[
|
|
221
|
+
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
215
222
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
216
223
|
}
|
|
217
224
|
/**
|
|
218
225
|
* @generated from protobuf rpc: getShieldedAnchors
|
|
219
226
|
*/
|
|
220
227
|
getShieldedAnchors(input, options) {
|
|
221
|
-
const method = this.methods[
|
|
228
|
+
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
222
229
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
223
230
|
}
|
|
224
231
|
/**
|
|
225
232
|
* @generated from protobuf rpc: getMostRecentShieldedAnchor
|
|
226
233
|
*/
|
|
227
234
|
getMostRecentShieldedAnchor(input, options) {
|
|
228
|
-
const method = this.methods[
|
|
235
|
+
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
229
236
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
230
237
|
}
|
|
231
238
|
/**
|
|
232
239
|
* @generated from protobuf rpc: getShieldedPoolState
|
|
233
240
|
*/
|
|
234
241
|
getShieldedPoolState(input, options) {
|
|
235
|
-
const method = this.methods[
|
|
242
|
+
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
236
243
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
237
244
|
}
|
|
238
245
|
/**
|
|
239
246
|
* @generated from protobuf rpc: getShieldedNotesCount
|
|
240
247
|
*/
|
|
241
248
|
getShieldedNotesCount(input, options) {
|
|
242
|
-
const method = this.methods[
|
|
249
|
+
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
243
250
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
244
251
|
}
|
|
245
252
|
/**
|
|
246
253
|
* @generated from protobuf rpc: getShieldedNullifiers
|
|
247
254
|
*/
|
|
248
255
|
getShieldedNullifiers(input, options) {
|
|
249
|
-
const method = this.methods[
|
|
256
|
+
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
250
257
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
251
258
|
}
|
|
252
259
|
}
|
|
@@ -2460,6 +2460,148 @@ export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0
|
|
|
2460
2460
|
*/
|
|
2461
2461
|
blockCount: number;
|
|
2462
2462
|
}
|
|
2463
|
+
/**
|
|
2464
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest
|
|
2465
|
+
*/
|
|
2466
|
+
export interface GetVotePollsByEndDateRequest {
|
|
2467
|
+
/**
|
|
2468
|
+
* @generated from protobuf oneof: version
|
|
2469
|
+
*/
|
|
2470
|
+
version: {
|
|
2471
|
+
oneofKind: "v0";
|
|
2472
|
+
/**
|
|
2473
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0 v0 = 1
|
|
2474
|
+
*/
|
|
2475
|
+
v0: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0;
|
|
2476
|
+
} | {
|
|
2477
|
+
oneofKind: undefined;
|
|
2478
|
+
};
|
|
2479
|
+
}
|
|
2480
|
+
/**
|
|
2481
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0
|
|
2482
|
+
*/
|
|
2483
|
+
export interface GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0 {
|
|
2484
|
+
/**
|
|
2485
|
+
* @generated from protobuf field: optional org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo start_time_info = 1
|
|
2486
|
+
*/
|
|
2487
|
+
startTimeInfo?: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo;
|
|
2488
|
+
/**
|
|
2489
|
+
* @generated from protobuf field: optional org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo end_time_info = 2
|
|
2490
|
+
*/
|
|
2491
|
+
endTimeInfo?: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo;
|
|
2492
|
+
/**
|
|
2493
|
+
* @generated from protobuf field: optional uint32 limit = 3
|
|
2494
|
+
*/
|
|
2495
|
+
limit?: number;
|
|
2496
|
+
/**
|
|
2497
|
+
* @generated from protobuf field: optional uint32 offset = 4
|
|
2498
|
+
*/
|
|
2499
|
+
offset?: number;
|
|
2500
|
+
/**
|
|
2501
|
+
* @generated from protobuf field: bool ascending = 5
|
|
2502
|
+
*/
|
|
2503
|
+
ascending: boolean;
|
|
2504
|
+
/**
|
|
2505
|
+
* @generated from protobuf field: bool prove = 6
|
|
2506
|
+
*/
|
|
2507
|
+
prove: boolean;
|
|
2508
|
+
}
|
|
2509
|
+
/**
|
|
2510
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo
|
|
2511
|
+
*/
|
|
2512
|
+
export interface GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo {
|
|
2513
|
+
/**
|
|
2514
|
+
* @generated from protobuf field: uint64 start_time_ms = 1 [jstype = JS_STRING]
|
|
2515
|
+
*/
|
|
2516
|
+
startTimeMs: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* @generated from protobuf field: bool start_time_included = 2
|
|
2519
|
+
*/
|
|
2520
|
+
startTimeIncluded: boolean;
|
|
2521
|
+
}
|
|
2522
|
+
/**
|
|
2523
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo
|
|
2524
|
+
*/
|
|
2525
|
+
export interface GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo {
|
|
2526
|
+
/**
|
|
2527
|
+
* @generated from protobuf field: uint64 end_time_ms = 1 [jstype = JS_STRING]
|
|
2528
|
+
*/
|
|
2529
|
+
endTimeMs: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* @generated from protobuf field: bool end_time_included = 2
|
|
2532
|
+
*/
|
|
2533
|
+
endTimeIncluded: boolean;
|
|
2534
|
+
}
|
|
2535
|
+
/**
|
|
2536
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse
|
|
2537
|
+
*/
|
|
2538
|
+
export interface GetVotePollsByEndDateResponse {
|
|
2539
|
+
/**
|
|
2540
|
+
* @generated from protobuf oneof: version
|
|
2541
|
+
*/
|
|
2542
|
+
version: {
|
|
2543
|
+
oneofKind: "v0";
|
|
2544
|
+
/**
|
|
2545
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0 v0 = 1
|
|
2546
|
+
*/
|
|
2547
|
+
v0: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0;
|
|
2548
|
+
} | {
|
|
2549
|
+
oneofKind: undefined;
|
|
2550
|
+
};
|
|
2551
|
+
}
|
|
2552
|
+
/**
|
|
2553
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0
|
|
2554
|
+
*/
|
|
2555
|
+
export interface GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0 {
|
|
2556
|
+
/**
|
|
2557
|
+
* @generated from protobuf oneof: result
|
|
2558
|
+
*/
|
|
2559
|
+
result: {
|
|
2560
|
+
oneofKind: "votePollsByTimestamps";
|
|
2561
|
+
/**
|
|
2562
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps vote_polls_by_timestamps = 1
|
|
2563
|
+
*/
|
|
2564
|
+
votePollsByTimestamps: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps;
|
|
2565
|
+
} | {
|
|
2566
|
+
oneofKind: "proof";
|
|
2567
|
+
/**
|
|
2568
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.Proof proof = 2
|
|
2569
|
+
*/
|
|
2570
|
+
proof: Proof;
|
|
2571
|
+
} | {
|
|
2572
|
+
oneofKind: undefined;
|
|
2573
|
+
};
|
|
2574
|
+
/**
|
|
2575
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.ResponseMetadata metadata = 3
|
|
2576
|
+
*/
|
|
2577
|
+
metadata?: ResponseMetadata;
|
|
2578
|
+
}
|
|
2579
|
+
/**
|
|
2580
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp
|
|
2581
|
+
*/
|
|
2582
|
+
export interface GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp {
|
|
2583
|
+
/**
|
|
2584
|
+
* @generated from protobuf field: uint64 timestamp = 1 [jstype = JS_STRING]
|
|
2585
|
+
*/
|
|
2586
|
+
timestamp: string;
|
|
2587
|
+
/**
|
|
2588
|
+
* @generated from protobuf field: repeated bytes serialized_vote_polls = 2
|
|
2589
|
+
*/
|
|
2590
|
+
serializedVotePolls: Uint8Array[];
|
|
2591
|
+
}
|
|
2592
|
+
/**
|
|
2593
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps
|
|
2594
|
+
*/
|
|
2595
|
+
export interface GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps {
|
|
2596
|
+
/**
|
|
2597
|
+
* @generated from protobuf field: repeated org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp vote_polls_by_timestamps = 1
|
|
2598
|
+
*/
|
|
2599
|
+
votePollsByTimestamps: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp[];
|
|
2600
|
+
/**
|
|
2601
|
+
* @generated from protobuf field: bool finished_results = 2
|
|
2602
|
+
*/
|
|
2603
|
+
finishedResults: boolean;
|
|
2604
|
+
}
|
|
2463
2605
|
/**
|
|
2464
2606
|
* @generated from protobuf message org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest
|
|
2465
2607
|
*/
|
|
@@ -5903,6 +6045,86 @@ declare class GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_Bl
|
|
|
5903
6045
|
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer
|
|
5904
6046
|
*/
|
|
5905
6047
|
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer$Type;
|
|
6048
|
+
declare class GetVotePollsByEndDateRequest$Type extends MessageType<GetVotePollsByEndDateRequest> {
|
|
6049
|
+
constructor();
|
|
6050
|
+
create(value?: PartialMessage<GetVotePollsByEndDateRequest>): GetVotePollsByEndDateRequest;
|
|
6051
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateRequest): GetVotePollsByEndDateRequest;
|
|
6052
|
+
internalBinaryWrite(message: GetVotePollsByEndDateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6053
|
+
}
|
|
6054
|
+
/**
|
|
6055
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest
|
|
6056
|
+
*/
|
|
6057
|
+
export declare const GetVotePollsByEndDateRequest: GetVotePollsByEndDateRequest$Type;
|
|
6058
|
+
declare class GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0$Type extends MessageType<GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0> {
|
|
6059
|
+
constructor();
|
|
6060
|
+
create(value?: PartialMessage<GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0>): GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0;
|
|
6061
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0): GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0;
|
|
6062
|
+
internalBinaryWrite(message: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6063
|
+
}
|
|
6064
|
+
/**
|
|
6065
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0
|
|
6066
|
+
*/
|
|
6067
|
+
export declare const GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0$Type;
|
|
6068
|
+
declare class GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo$Type extends MessageType<GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo> {
|
|
6069
|
+
constructor();
|
|
6070
|
+
create(value?: PartialMessage<GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo>): GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo;
|
|
6071
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo): GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo;
|
|
6072
|
+
internalBinaryWrite(message: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6073
|
+
}
|
|
6074
|
+
/**
|
|
6075
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo
|
|
6076
|
+
*/
|
|
6077
|
+
export declare const GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_StartAtTimeInfo$Type;
|
|
6078
|
+
declare class GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo$Type extends MessageType<GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo> {
|
|
6079
|
+
constructor();
|
|
6080
|
+
create(value?: PartialMessage<GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo>): GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo;
|
|
6081
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo): GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo;
|
|
6082
|
+
internalBinaryWrite(message: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6083
|
+
}
|
|
6084
|
+
/**
|
|
6085
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo
|
|
6086
|
+
*/
|
|
6087
|
+
export declare const GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo: GetVotePollsByEndDateRequest_GetVotePollsByEndDateRequestV0_EndAtTimeInfo$Type;
|
|
6088
|
+
declare class GetVotePollsByEndDateResponse$Type extends MessageType<GetVotePollsByEndDateResponse> {
|
|
6089
|
+
constructor();
|
|
6090
|
+
create(value?: PartialMessage<GetVotePollsByEndDateResponse>): GetVotePollsByEndDateResponse;
|
|
6091
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateResponse): GetVotePollsByEndDateResponse;
|
|
6092
|
+
internalBinaryWrite(message: GetVotePollsByEndDateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6093
|
+
}
|
|
6094
|
+
/**
|
|
6095
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse
|
|
6096
|
+
*/
|
|
6097
|
+
export declare const GetVotePollsByEndDateResponse: GetVotePollsByEndDateResponse$Type;
|
|
6098
|
+
declare class GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0$Type extends MessageType<GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0> {
|
|
6099
|
+
constructor();
|
|
6100
|
+
create(value?: PartialMessage<GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0>): GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0;
|
|
6101
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0): GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0;
|
|
6102
|
+
internalBinaryWrite(message: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6103
|
+
}
|
|
6104
|
+
/**
|
|
6105
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0
|
|
6106
|
+
*/
|
|
6107
|
+
export declare const GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0$Type;
|
|
6108
|
+
declare class GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp$Type extends MessageType<GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp> {
|
|
6109
|
+
constructor();
|
|
6110
|
+
create(value?: PartialMessage<GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp>): GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp;
|
|
6111
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp): GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp;
|
|
6112
|
+
internalBinaryWrite(message: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6113
|
+
}
|
|
6114
|
+
/**
|
|
6115
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp
|
|
6116
|
+
*/
|
|
6117
|
+
export declare const GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamp$Type;
|
|
6118
|
+
declare class GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps$Type extends MessageType<GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps> {
|
|
6119
|
+
constructor();
|
|
6120
|
+
create(value?: PartialMessage<GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps>): GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps;
|
|
6121
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps): GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps;
|
|
6122
|
+
internalBinaryWrite(message: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6123
|
+
}
|
|
6124
|
+
/**
|
|
6125
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps
|
|
6126
|
+
*/
|
|
6127
|
+
export declare const GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps: GetVotePollsByEndDateResponse_GetVotePollsByEndDateResponseV0_SerializedVotePollsByTimestamps$Type;
|
|
5906
6128
|
declare class GetContestedResourceVoteStateRequest$Type extends MessageType<GetContestedResourceVoteStateRequest> {
|
|
5907
6129
|
constructor();
|
|
5908
6130
|
create(value?: PartialMessage<GetContestedResourceVoteStateRequest>): GetContestedResourceVoteStateRequest;
|