dash-platform-sdk 1.6.0-dev.2 → 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 +33 -15
- package/bundle.min.js +1 -1
- package/index.d.ts +3 -1
- package/index.js +2 -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 +350 -2
- package/proto/generated/platform.js +737 -8
- package/src/DashPlatformSDK.d.ts +19 -1
- package/src/DashPlatformSDK.js +28 -10
- package/src/QueryExecutor.d.ts +122 -0
- package/src/QueryExecutor.js +205 -0
- package/src/constants.d.ts +6 -0
- package/src/constants.js +6 -0
- package/src/contestedResources/getContestedResourceVoteState.d.ts +2 -1
- package/src/contestedResources/getContestedResourceVoteState.js +69 -49
- package/src/contestedResources/getVotePollsByEndDate.d.ts +4 -0
- package/src/contestedResources/getVotePollsByEndDate.js +39 -0
- package/src/contestedResources/index.d.ts +16 -2
- package/src/contestedResources/index.js +19 -2
- package/src/dataContracts/getDataContractByIdentifier.d.ts +2 -1
- package/src/dataContracts/getDataContractByIdentifier.js +15 -27
- package/src/dataContracts/index.d.ts +4 -1
- package/src/dataContracts/index.js +5 -2
- package/src/documents/getActionFeeAgreement.d.ts +2 -1
- package/src/documents/getActionFeeAgreement.js +3 -3
- package/src/documents/index.d.ts +12 -8
- package/src/documents/index.js +16 -13
- package/src/documents/query.d.ts +2 -1
- package/src/documents/query.js +16 -8
- package/src/documents/queryAggregate.d.ts +8 -1
- package/src/documents/queryAggregate.js +49 -15
- package/src/documents/queryJoined.d.ts +3 -2
- package/src/documents/queryJoined.js +54 -13
- package/src/documents/queryRanked.d.ts +3 -2
- package/src/documents/queryRanked.js +49 -15
- package/src/documents/v1.d.ts +25 -8
- package/src/documents/v1.js +50 -14
- package/src/grpcConnectionPool.d.ts +30 -4
- package/src/grpcConnectionPool.js +169 -39
- package/src/identities/getIdentityBalance.d.ts +2 -1
- package/src/identities/getIdentityBalance.js +13 -27
- package/src/identities/getIdentityByIdentifier.d.ts +2 -1
- package/src/identities/getIdentityByIdentifier.js +14 -28
- package/src/identities/getIdentityByNonUniquePublicKeyHash.d.ts +2 -1
- package/src/identities/getIdentityByNonUniquePublicKeyHash.js +49 -28
- package/src/identities/getIdentityByPublicKeyHash.d.ts +2 -1
- package/src/identities/getIdentityByPublicKeyHash.js +14 -28
- package/src/identities/getIdentityContractNonce.d.ts +2 -1
- package/src/identities/getIdentityContractNonce.js +10 -27
- package/src/identities/getIdentityNonce.d.ts +2 -1
- package/src/identities/getIdentityNonce.js +10 -27
- package/src/identities/getIdentityPublicKeys.d.ts +2 -1
- package/src/identities/getIdentityPublicKeys.js +16 -29
- package/src/identities/index.d.ts +4 -1
- package/src/identities/index.js +11 -8
- package/src/names/index.d.ts +4 -1
- package/src/names/index.js +8 -5
- package/src/names/registerName.d.ts +2 -1
- package/src/names/registerName.js +4 -4
- package/src/names/searchByIdentity.d.ts +2 -1
- package/src/names/searchByIdentity.js +2 -2
- package/src/names/searchByName.d.ts +2 -1
- package/src/names/searchByName.js +2 -2
- package/src/node/epochInfos.d.ts +2 -1
- package/src/node/epochInfos.js +27 -31
- package/src/node/finalizedEpochInfos.d.ts +4 -3
- package/src/node/finalizedEpochInfos.js +45 -39
- package/src/node/index.d.ts +4 -1
- package/src/node/index.js +7 -4
- package/src/node/totalCredits.d.ts +2 -1
- package/src/node/totalCredits.js +10 -25
- package/src/platformAddresses/getAddressInfo.d.ts +2 -1
- package/src/platformAddresses/getAddressInfo.js +17 -31
- package/src/platformAddresses/getAddressesBranchState.d.ts +2 -1
- package/src/platformAddresses/getAddressesBranchState.js +22 -8
- package/src/platformAddresses/getAddressesInfos.d.ts +2 -1
- package/src/platformAddresses/getAddressesInfos.js +18 -29
- package/src/platformAddresses/getAddressesTrunkState.d.ts +2 -1
- package/src/platformAddresses/getAddressesTrunkState.js +25 -23
- package/src/platformAddresses/getRecentAddressBalanceChanges.d.ts +2 -1
- package/src/platformAddresses/getRecentAddressBalanceChanges.js +26 -26
- package/src/platformAddresses/getRecentCompactedAddressBalanceChanges.d.ts +2 -1
- package/src/platformAddresses/getRecentCompactedAddressBalanceChanges.js +30 -26
- package/src/platformAddresses/index.d.ts +4 -1
- package/src/platformAddresses/index.js +10 -7
- package/src/quorumKeyProvider.d.ts +23 -0
- package/src/quorumKeyProvider.js +28 -0
- package/src/shielded/getMostRecentShieldedAnchor.d.ts +2 -1
- package/src/shielded/getMostRecentShieldedAnchor.js +8 -25
- package/src/shielded/getShieldedAnchors.d.ts +2 -1
- package/src/shielded/getShieldedAnchors.js +8 -25
- package/src/shielded/getShieldedEncryptedNotes.d.ts +2 -1
- package/src/shielded/getShieldedEncryptedNotes.js +16 -30
- package/src/shielded/getShieldedNotesCount.d.ts +2 -1
- package/src/shielded/getShieldedNotesCount.js +8 -25
- package/src/shielded/getShieldedNullifiers.d.ts +2 -1
- package/src/shielded/getShieldedNullifiers.js +14 -28
- package/src/shielded/getShieldedPoolState.d.ts +2 -1
- package/src/shielded/getShieldedPoolState.js +8 -25
- package/src/shielded/index.d.ts +4 -1
- package/src/shielded/index.js +10 -7
- package/src/stateTransitions/index.d.ts +4 -1
- package/src/stateTransitions/index.js +5 -2
- package/src/stateTransitions/waitForStateTransitionResult.d.ts +2 -1
- package/src/stateTransitions/waitForStateTransitionResult.js +42 -44
- package/src/tokens/getIdentitiesTokenBalances.d.ts +2 -1
- package/src/tokens/getIdentitiesTokenBalances.js +17 -28
- package/src/tokens/getIdentityTokensBalances.d.ts +2 -1
- package/src/tokens/getIdentityTokensBalances.js +17 -28
- package/src/tokens/getTokenContractInfo.d.ts +2 -1
- package/src/tokens/getTokenContractInfo.js +16 -30
- package/src/tokens/getTokenDirectPurchasePrices.d.ts +2 -1
- package/src/tokens/getTokenDirectPurchasePrices.js +26 -28
- package/src/tokens/getTokenTotalSupply.d.ts +2 -1
- package/src/tokens/getTokenTotalSupply.js +16 -28
- package/src/tokens/index.d.ts +4 -1
- package/src/tokens/index.js +11 -8
- package/src/utils/ProofError.d.ts +9 -0
- package/src/utils/ProofError.js +10 -0
- package/src/utils/verifyTenderdashProof.js +2 -1
- package/test/unit/SDK.spec.js +42 -0
- package/src/utils/getQuorumPublicKey.d.ts +0 -1
- package/src/utils/getQuorumPublicKey.js +0 -19
package/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { DashPlatformSDK } from './src/DashPlatformSDK.js';
|
|
2
2
|
import GRPCConnectionPool, { createClient } from './src/grpcConnectionPool.js';
|
|
3
3
|
import { decodeFetchError, decodeFetchErrorDetails, fetchWithDetails } from './src/utils/fetchWithDetails.js';
|
|
4
|
+
import { PlatformExplorerQuorumKeyProvider } from './src/quorumKeyProvider.js';
|
|
4
5
|
export type { GRPCOptions, GRPCPool } from './src/grpcConnectionPool.js';
|
|
5
|
-
export {
|
|
6
|
+
export type { QuorumKeyProvider } from './src/quorumKeyProvider.js';
|
|
7
|
+
export { DashPlatformSDK, GRPCConnectionPool, PlatformExplorerQuorumKeyProvider, createClient, decodeFetchError, decodeFetchErrorDetails, fetchWithDetails };
|
package/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DashPlatformSDK } from './src/DashPlatformSDK.js';
|
|
2
2
|
import GRPCConnectionPool, { createClient } from './src/grpcConnectionPool.js';
|
|
3
3
|
import { decodeFetchError, decodeFetchErrorDetails, fetchWithDetails } from './src/utils/fetchWithDetails.js';
|
|
4
|
-
|
|
4
|
+
import { PlatformExplorerQuorumKeyProvider } from './src/quorumKeyProvider.js';
|
|
5
|
+
export { DashPlatformSDK, GRPCConnectionPool, PlatformExplorerQuorumKeyProvider, createClient, decodeFetchError, decodeFetchErrorDetails, fetchWithDetails };
|
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
|
}
|
|
@@ -1922,6 +1922,12 @@ export interface GetIdentityByNonUniquePublicKeyHashRequest {
|
|
|
1922
1922
|
* @generated from protobuf field: org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0 v0 = 1
|
|
1923
1923
|
*/
|
|
1924
1924
|
v0: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0;
|
|
1925
|
+
} | {
|
|
1926
|
+
oneofKind: "v1";
|
|
1927
|
+
/**
|
|
1928
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1 v1 = 2
|
|
1929
|
+
*/
|
|
1930
|
+
v1: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1;
|
|
1925
1931
|
} | {
|
|
1926
1932
|
oneofKind: undefined;
|
|
1927
1933
|
};
|
|
@@ -1943,6 +1949,23 @@ export interface GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniq
|
|
|
1943
1949
|
*/
|
|
1944
1950
|
prove: boolean;
|
|
1945
1951
|
}
|
|
1952
|
+
/**
|
|
1953
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1
|
|
1954
|
+
*/
|
|
1955
|
+
export interface GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1 {
|
|
1956
|
+
/**
|
|
1957
|
+
* @generated from protobuf field: bytes public_key_hash = 1
|
|
1958
|
+
*/
|
|
1959
|
+
publicKeyHash: Uint8Array;
|
|
1960
|
+
/**
|
|
1961
|
+
* @generated from protobuf field: optional bytes start_after = 2
|
|
1962
|
+
*/
|
|
1963
|
+
startAfter?: Uint8Array;
|
|
1964
|
+
/**
|
|
1965
|
+
* @generated from protobuf field: bool prove = 3
|
|
1966
|
+
*/
|
|
1967
|
+
prove: boolean;
|
|
1968
|
+
}
|
|
1946
1969
|
/**
|
|
1947
1970
|
* @generated from protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse
|
|
1948
1971
|
*/
|
|
@@ -1956,6 +1979,12 @@ export interface GetIdentityByNonUniquePublicKeyHashResponse {
|
|
|
1956
1979
|
* @generated from protobuf field: org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0 v0 = 1
|
|
1957
1980
|
*/
|
|
1958
1981
|
v0: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0;
|
|
1982
|
+
} | {
|
|
1983
|
+
oneofKind: "v1";
|
|
1984
|
+
/**
|
|
1985
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1 v1 = 2
|
|
1986
|
+
*/
|
|
1987
|
+
v1: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1;
|
|
1959
1988
|
} | {
|
|
1960
1989
|
oneofKind: undefined;
|
|
1961
1990
|
};
|
|
@@ -1976,9 +2005,17 @@ export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUni
|
|
|
1976
2005
|
} | {
|
|
1977
2006
|
oneofKind: "proof";
|
|
1978
2007
|
/**
|
|
1979
|
-
* @generated from protobuf field: org.dash.platform.dapi.v0.
|
|
2008
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse proof = 2
|
|
1980
2009
|
*/
|
|
1981
|
-
proof:
|
|
2010
|
+
proof: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse;
|
|
2011
|
+
} | {
|
|
2012
|
+
oneofKind: "legacyProof";
|
|
2013
|
+
/**
|
|
2014
|
+
* single proof of nodes before v5.0.0-rc.8, reserved upstream since then
|
|
2015
|
+
*
|
|
2016
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.Proof legacy_proof = 4
|
|
2017
|
+
*/
|
|
2018
|
+
legacyProof: Proof;
|
|
1982
2019
|
} | {
|
|
1983
2020
|
oneofKind: undefined;
|
|
1984
2021
|
};
|
|
@@ -1996,6 +2033,55 @@ export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUni
|
|
|
1996
2033
|
*/
|
|
1997
2034
|
identity?: Uint8Array;
|
|
1998
2035
|
}
|
|
2036
|
+
/**
|
|
2037
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse
|
|
2038
|
+
*/
|
|
2039
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse {
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.Proof grovedb_identity_public_key_hash_proof = 1
|
|
2042
|
+
*/
|
|
2043
|
+
grovedbIdentityPublicKeyHashProof?: Proof;
|
|
2044
|
+
/**
|
|
2045
|
+
* @generated from protobuf field: optional bytes identity_proof_bytes = 2
|
|
2046
|
+
*/
|
|
2047
|
+
identityProofBytes?: Uint8Array;
|
|
2048
|
+
}
|
|
2049
|
+
/**
|
|
2050
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1
|
|
2051
|
+
*/
|
|
2052
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1 {
|
|
2053
|
+
/**
|
|
2054
|
+
* @generated from protobuf oneof: result
|
|
2055
|
+
*/
|
|
2056
|
+
result: {
|
|
2057
|
+
oneofKind: "identity";
|
|
2058
|
+
/**
|
|
2059
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse identity = 1
|
|
2060
|
+
*/
|
|
2061
|
+
identity: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse;
|
|
2062
|
+
} | {
|
|
2063
|
+
oneofKind: "proof";
|
|
2064
|
+
/**
|
|
2065
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.Proof proof = 2
|
|
2066
|
+
*/
|
|
2067
|
+
proof: Proof;
|
|
2068
|
+
} | {
|
|
2069
|
+
oneofKind: undefined;
|
|
2070
|
+
};
|
|
2071
|
+
/**
|
|
2072
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.ResponseMetadata metadata = 3
|
|
2073
|
+
*/
|
|
2074
|
+
metadata?: ResponseMetadata;
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse
|
|
2078
|
+
*/
|
|
2079
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse {
|
|
2080
|
+
/**
|
|
2081
|
+
* @generated from protobuf field: optional bytes identity = 1
|
|
2082
|
+
*/
|
|
2083
|
+
identity?: Uint8Array;
|
|
2084
|
+
}
|
|
1999
2085
|
/**
|
|
2000
2086
|
* @generated from protobuf message org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest
|
|
2001
2087
|
*/
|
|
@@ -2374,6 +2460,148 @@ export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0
|
|
|
2374
2460
|
*/
|
|
2375
2461
|
blockCount: number;
|
|
2376
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
|
+
}
|
|
2377
2605
|
/**
|
|
2378
2606
|
* @generated from protobuf message org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest
|
|
2379
2607
|
*/
|
|
@@ -5567,6 +5795,16 @@ declare class GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniqueP
|
|
|
5567
5795
|
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0
|
|
5568
5796
|
*/
|
|
5569
5797
|
export declare const GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0$Type;
|
|
5798
|
+
declare class GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1$Type extends MessageType<GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1> {
|
|
5799
|
+
constructor();
|
|
5800
|
+
create(value?: PartialMessage<GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1>): GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1;
|
|
5801
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1): GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1;
|
|
5802
|
+
internalBinaryWrite(message: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5803
|
+
}
|
|
5804
|
+
/**
|
|
5805
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1
|
|
5806
|
+
*/
|
|
5807
|
+
export declare const GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV1$Type;
|
|
5570
5808
|
declare class GetIdentityByNonUniquePublicKeyHashResponse$Type extends MessageType<GetIdentityByNonUniquePublicKeyHashResponse> {
|
|
5571
5809
|
constructor();
|
|
5572
5810
|
create(value?: PartialMessage<GetIdentityByNonUniquePublicKeyHashResponse>): GetIdentityByNonUniquePublicKeyHashResponse;
|
|
@@ -5597,6 +5835,36 @@ declare class GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUnique
|
|
|
5597
5835
|
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse
|
|
5598
5836
|
*/
|
|
5599
5837
|
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityResponse: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityResponse$Type;
|
|
5838
|
+
declare class GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse$Type extends MessageType<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse> {
|
|
5839
|
+
constructor();
|
|
5840
|
+
create(value?: PartialMessage<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse>): GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse;
|
|
5841
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse): GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse;
|
|
5842
|
+
internalBinaryWrite(message: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5843
|
+
}
|
|
5844
|
+
/**
|
|
5845
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse
|
|
5846
|
+
*/
|
|
5847
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse$Type;
|
|
5848
|
+
declare class GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1$Type extends MessageType<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1> {
|
|
5849
|
+
constructor();
|
|
5850
|
+
create(value?: PartialMessage<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1>): GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1;
|
|
5851
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1): GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1;
|
|
5852
|
+
internalBinaryWrite(message: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5853
|
+
}
|
|
5854
|
+
/**
|
|
5855
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1
|
|
5856
|
+
*/
|
|
5857
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1$Type;
|
|
5858
|
+
declare class GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse$Type extends MessageType<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse> {
|
|
5859
|
+
constructor();
|
|
5860
|
+
create(value?: PartialMessage<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse>): GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse;
|
|
5861
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse): GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse;
|
|
5862
|
+
internalBinaryWrite(message: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5863
|
+
}
|
|
5864
|
+
/**
|
|
5865
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse
|
|
5866
|
+
*/
|
|
5867
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV1_IdentityResponse$Type;
|
|
5600
5868
|
declare class WaitForStateTransitionResultRequest$Type extends MessageType<WaitForStateTransitionResultRequest> {
|
|
5601
5869
|
constructor();
|
|
5602
5870
|
create(value?: PartialMessage<WaitForStateTransitionResultRequest>): WaitForStateTransitionResultRequest;
|
|
@@ -5777,6 +6045,86 @@ declare class GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_Bl
|
|
|
5777
6045
|
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer
|
|
5778
6046
|
*/
|
|
5779
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;
|
|
5780
6128
|
declare class GetContestedResourceVoteStateRequest$Type extends MessageType<GetContestedResourceVoteStateRequest> {
|
|
5781
6129
|
constructor();
|
|
5782
6130
|
create(value?: PartialMessage<GetContestedResourceVoteStateRequest>): GetContestedResourceVoteStateRequest;
|