diff --git a/docs/sdk/sdk-parity-manifest.json b/docs/sdk/sdk-parity-manifest.json index addcb451cca..62bb831f911 100644 --- a/docs/sdk/sdk-parity-manifest.json +++ b/docs/sdk/sdk-parity-manifest.json @@ -1915,7 +1915,7 @@ "sdk": "supported", "example_app": "unsupported", "restart": "tested", - "reason": "Swift exposes preview, execution, and status with durable operation UUIDs. Restart recovery resumes the exact asset-lock outpoint: a fresh Type18 that Platform executes, or that Platform rejects because the outpoint was already consumed by an earlier attempt, durably completes the operation. Unit tests cover store reopen, failed persistence and the terminal DrainCompleted rule. An iOS wallet testnet process-death test confirmed recovery after dispatch and enabled a subsequent Max transfer. SwiftExampleApp does not yet expose this flow." + "reason": "Swift exposes preview, execution, and status with durable operation UUIDs. Restart recovery resumes the exact asset-lock outpoint. An already-consumed rejection preserves the typed error, proof and pending recovery state: outpoint consumption alone does not prove the requested Orchard output landed. Unit tests cover store reopen, failed persistence, pending consumed reports and the terminal DrainCompleted rule. An iOS wallet testnet process-death test confirmed recovery after dispatch and enabled a subsequent Max transfer. SwiftExampleApp does not yet expose this flow." }, "kotlin": { "sdk": "unsupported", @@ -1953,9 +1953,9 @@ "host": "shared", "kind": "unit", "file": "packages/rs-platform-wallet/src/wallet/shielded/fund_from_asset_lock.rs", - "id": "settle_completes_drain_on_exact_outpoint_already_consumed_report", - "command": "cargo test -p platform-wallet --features shielded --lib settle_completes_drain_on_exact_outpoint_already_consumed_report", - "covers_restart": true + "id": "should_keep_drain_pending_on_exact_outpoint_already_consumed_report", + "command": "cargo test -p platform-wallet --features shielded --lib should_keep_drain_pending_on_exact_outpoint_already_consumed_report", + "covers_restart": false }, { "host": "shared", diff --git a/packages/dapi-grpc/build.rs b/packages/dapi-grpc/build.rs index d236cb8b97a..271cfc55db4 100644 --- a/packages/dapi-grpc/build.rs +++ b/packages/dapi-grpc/build.rs @@ -111,7 +111,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig { // Derive features for versioned messages // // "GetConsensusParamsRequest" is excluded as this message does not support proofs - const VERSIONED_REQUESTS: [&str; 75] = [ + const VERSIONED_REQUESTS: [&str; 76] = [ "GetContractModerationStatusRequest", "GetContractModerationEntriesRequest", "GetContractDocumentRemovalsRequest", @@ -124,6 +124,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig { "GetContractGroupsForContractRequest", "GetDataContractHistoryRequest", "GetDataContractsLatestVersionsRequest", + "GetAssetLockOutpointInfoRequest", "GetDataContractRequest", "GetDataContractsRequest", "GetDataContractsByRangeRequest", @@ -204,7 +205,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig { // - "GetIdentityByNonUniquePublicKeyHashResponse" (V0 carries two proofs) // // "GetEvonodesProposedEpochBlocksResponse" is used for 2 Requests - const VERSIONED_RESPONSES: [&str; 69] = [ + const VERSIONED_RESPONSES: [&str; 70] = [ "GetContractModerationStatusResponse", "GetContractModerationEntriesResponse", "GetContractDocumentRemovalsResponse", @@ -217,6 +218,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig { "GetContractGroupsForContractResponse", "GetDataContractHistoryResponse", "GetDataContractsLatestVersionsResponse", + "GetAssetLockOutpointInfoResponse", "GetDataContractResponse", "GetDataContractsResponse", "GetDocumentHistoryResponse", diff --git a/packages/dapi-grpc/clients/drive/v0/nodejs/drive_pbjs.js b/packages/dapi-grpc/clients/drive/v0/nodejs/drive_pbjs.js index 00576814bc2..4264aa4a913 100644 --- a/packages/dapi-grpc/clients/drive/v0/nodejs/drive_pbjs.js +++ b/packages/dapi-grpc/clients/drive/v0/nodejs/drive_pbjs.js @@ -1089,6 +1089,39 @@ $root.org = (function() { * @variation 2 */ + /** + * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getAssetLockOutpointInfo}. + * @memberof org.dash.platform.dapi.v0.Platform + * @typedef getAssetLockOutpointInfoCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} [response] GetAssetLockOutpointInfoResponse + */ + + /** + * Calls getAssetLockOutpointInfo. + * @function getAssetLockOutpointInfo + * @memberof org.dash.platform.dapi.v0.Platform + * @instance + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} request GetAssetLockOutpointInfoRequest message or plain object + * @param {org.dash.platform.dapi.v0.Platform.getAssetLockOutpointInfoCallback} callback Node-style callback called with the error, if any, and GetAssetLockOutpointInfoResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(Platform.prototype.getAssetLockOutpointInfo = function getAssetLockOutpointInfo(request, callback) { + return this.rpcCall(getAssetLockOutpointInfo, $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest, $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse, request, callback); + }, "name", { value: "getAssetLockOutpointInfo" }); + + /** + * Calls getAssetLockOutpointInfo. + * @function getAssetLockOutpointInfo + * @memberof org.dash.platform.dapi.v0.Platform + * @instance + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} request GetAssetLockOutpointInfoRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + /** * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getDataContracts}. * @memberof org.dash.platform.dapi.v0.Platform @@ -19464,6 +19497,1185 @@ $root.org = (function() { return GetDataContractsLatestVersionsRequest; })(); + v0.GetAssetLockOutpointInfoRequest = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoRequest. + * @memberof org.dash.platform.dapi.v0 + * @interface IGetAssetLockOutpointInfoRequest + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0|null} [v0] GetAssetLockOutpointInfoRequest v0 + */ + + /** + * Constructs a new GetAssetLockOutpointInfoRequest. + * @memberof org.dash.platform.dapi.v0 + * @classdesc Represents a GetAssetLockOutpointInfoRequest. + * @implements IGetAssetLockOutpointInfoRequest + * @constructor + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoRequest v0. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0|null|undefined} v0 + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @instance + */ + GetAssetLockOutpointInfoRequest.prototype.v0 = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetAssetLockOutpointInfoRequest version. + * @member {"v0"|undefined} version + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @instance + */ + Object.defineProperty(GetAssetLockOutpointInfoRequest.prototype, "version", { + get: $util.oneOfGetter($oneOfFields = ["v0"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetAssetLockOutpointInfoRequest instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest instance + */ + GetAssetLockOutpointInfoRequest.create = function create(properties) { + return new GetAssetLockOutpointInfoRequest(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} message GetAssetLockOutpointInfoRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.v0 != null && Object.hasOwnProperty.call(message, "v0")) + $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} message GetAssetLockOutpointInfoRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequest message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoRequest message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + properties.version = 1; + { + var error = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.verify(message.v0); + if (error) + return "v0." + error; + } + } + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest + */ + GetAssetLockOutpointInfoRequest.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest(); + if (object.v0 != null) { + if (typeof object.v0 !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.v0: object expected"); + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.fromObject(object.v0); + } + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} message GetAssetLockOutpointInfoRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + object.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject(message.v0, options); + if (options.oneofs) + object.version = "v0"; + } + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoRequest to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoRequestV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @interface IGetAssetLockOutpointInfoRequestV0 + * @property {Uint8Array|null} [outpoint] GetAssetLockOutpointInfoRequestV0 outpoint + * @property {boolean|null} [prove] GetAssetLockOutpointInfoRequestV0 prove + */ + + /** + * Constructs a new GetAssetLockOutpointInfoRequestV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @classdesc Represents a GetAssetLockOutpointInfoRequestV0. + * @implements IGetAssetLockOutpointInfoRequestV0 + * @constructor + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoRequestV0(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoRequestV0 outpoint. + * @member {Uint8Array} outpoint + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @instance + */ + GetAssetLockOutpointInfoRequestV0.prototype.outpoint = $util.newBuffer([]); + + /** + * GetAssetLockOutpointInfoRequestV0 prove. + * @member {boolean} prove + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @instance + */ + GetAssetLockOutpointInfoRequestV0.prototype.prove = false; + + /** + * Creates a new GetAssetLockOutpointInfoRequestV0 instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 instance + */ + GetAssetLockOutpointInfoRequestV0.create = function create(properties) { + return new GetAssetLockOutpointInfoRequestV0(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0} message GetAssetLockOutpointInfoRequestV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequestV0.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.outpoint != null && Object.hasOwnProperty.call(message, "outpoint")) + writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.outpoint); + if (message.prove != null && Object.hasOwnProperty.call(message, "prove")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.prove); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0} message GetAssetLockOutpointInfoRequestV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequestV0.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequestV0 message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequestV0.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.outpoint = reader.bytes(); + break; + case 2: + message.prove = reader.bool(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequestV0 message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequestV0.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoRequestV0 message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoRequestV0.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.outpoint != null && message.hasOwnProperty("outpoint")) + if (!(message.outpoint && typeof message.outpoint.length === "number" || $util.isString(message.outpoint))) + return "outpoint: buffer expected"; + if (message.prove != null && message.hasOwnProperty("prove")) + if (typeof message.prove !== "boolean") + return "prove: boolean expected"; + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoRequestV0 message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 + */ + GetAssetLockOutpointInfoRequestV0.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0(); + if (object.outpoint != null) + if (typeof object.outpoint === "string") + $util.base64.decode(object.outpoint, message.outpoint = $util.newBuffer($util.base64.length(object.outpoint)), 0); + else if (object.outpoint.length >= 0) + message.outpoint = object.outpoint; + if (object.prove != null) + message.prove = Boolean(object.prove); + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoRequestV0 message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} message GetAssetLockOutpointInfoRequestV0 + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoRequestV0.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if (options.bytes === String) + object.outpoint = ""; + else { + object.outpoint = []; + if (options.bytes !== Array) + object.outpoint = $util.newBuffer(object.outpoint); + } + object.prove = false; + } + if (message.outpoint != null && message.hasOwnProperty("outpoint")) + object.outpoint = options.bytes === String ? $util.base64.encode(message.outpoint, 0, message.outpoint.length) : options.bytes === Array ? Array.prototype.slice.call(message.outpoint) : message.outpoint; + if (message.prove != null && message.hasOwnProperty("prove")) + object.prove = message.prove; + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoRequestV0 to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoRequestV0.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return GetAssetLockOutpointInfoRequestV0; + })(); + + return GetAssetLockOutpointInfoRequest; + })(); + + v0.GetAssetLockOutpointInfoResponse = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoResponse. + * @memberof org.dash.platform.dapi.v0 + * @interface IGetAssetLockOutpointInfoResponse + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0|null} [v0] GetAssetLockOutpointInfoResponse v0 + */ + + /** + * Constructs a new GetAssetLockOutpointInfoResponse. + * @memberof org.dash.platform.dapi.v0 + * @classdesc Represents a GetAssetLockOutpointInfoResponse. + * @implements IGetAssetLockOutpointInfoResponse + * @constructor + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoResponse v0. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0|null|undefined} v0 + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @instance + */ + GetAssetLockOutpointInfoResponse.prototype.v0 = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetAssetLockOutpointInfoResponse version. + * @member {"v0"|undefined} version + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @instance + */ + Object.defineProperty(GetAssetLockOutpointInfoResponse.prototype, "version", { + get: $util.oneOfGetter($oneOfFields = ["v0"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetAssetLockOutpointInfoResponse instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse instance + */ + GetAssetLockOutpointInfoResponse.create = function create(properties) { + return new GetAssetLockOutpointInfoResponse(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse} message GetAssetLockOutpointInfoResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.v0 != null && Object.hasOwnProperty.call(message, "v0")) + $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse} message GetAssetLockOutpointInfoResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponse message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoResponse message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + properties.version = 1; + { + var error = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.verify(message.v0); + if (error) + return "v0." + error; + } + } + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse + */ + GetAssetLockOutpointInfoResponse.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse(); + if (object.v0 != null) { + if (typeof object.v0 !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.v0: object expected"); + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.fromObject(object.v0); + } + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} message GetAssetLockOutpointInfoResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + object.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject(message.v0, options); + if (options.oneofs) + object.version = "v0"; + } + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoResponse to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Status enum. + * @name org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status + * @enum {number} + * @property {number} STATUS_UNSPECIFIED=0 STATUS_UNSPECIFIED value + * @property {number} NOT_PRESENT=1 NOT_PRESENT value + * @property {number} PARTIALLY_CONSUMED=2 PARTIALLY_CONSUMED value + * @property {number} FULLY_CONSUMED=3 FULLY_CONSUMED value + */ + GetAssetLockOutpointInfoResponse.Status = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "STATUS_UNSPECIFIED"] = 0; + values[valuesById[1] = "NOT_PRESENT"] = 1; + values[valuesById[2] = "PARTIALLY_CONSUMED"] = 2; + values[valuesById[3] = "FULLY_CONSUMED"] = 3; + return values; + })(); + + GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo = (function() { + + /** + * Properties of an AssetLockOutpointInfo. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @interface IAssetLockOutpointInfo + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status|null} [status] AssetLockOutpointInfo status + * @property {number|Long|null} [remainingCredits] AssetLockOutpointInfo remainingCredits + */ + + /** + * Constructs a new AssetLockOutpointInfo. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @classdesc Represents an AssetLockOutpointInfo. + * @implements IAssetLockOutpointInfo + * @constructor + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo=} [properties] Properties to set + */ + function AssetLockOutpointInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * AssetLockOutpointInfo status. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} status + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @instance + */ + AssetLockOutpointInfo.prototype.status = 0; + + /** + * AssetLockOutpointInfo remainingCredits. + * @member {number|Long} remainingCredits + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @instance + */ + AssetLockOutpointInfo.prototype.remainingCredits = $util.Long ? $util.Long.fromBits(0,0,true) : 0; + + /** + * Creates a new AssetLockOutpointInfo instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo instance + */ + AssetLockOutpointInfo.create = function create(properties) { + return new AssetLockOutpointInfo(properties); + }; + + /** + * Encodes the specified AssetLockOutpointInfo message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo} message AssetLockOutpointInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AssetLockOutpointInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.status != null && Object.hasOwnProperty.call(message, "status")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status); + if (message.remainingCredits != null && Object.hasOwnProperty.call(message, "remainingCredits")) + writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.remainingCredits); + return writer; + }; + + /** + * Encodes the specified AssetLockOutpointInfo message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo} message AssetLockOutpointInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AssetLockOutpointInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AssetLockOutpointInfo message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AssetLockOutpointInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.status = reader.int32(); + break; + case 2: + message.remainingCredits = reader.uint64(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AssetLockOutpointInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AssetLockOutpointInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AssetLockOutpointInfo message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AssetLockOutpointInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.status != null && message.hasOwnProperty("status")) + switch (message.status) { + default: + return "status: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.remainingCredits != null && message.hasOwnProperty("remainingCredits")) + if (!$util.isInteger(message.remainingCredits) && !(message.remainingCredits && $util.isInteger(message.remainingCredits.low) && $util.isInteger(message.remainingCredits.high))) + return "remainingCredits: integer|Long expected"; + return null; + }; + + /** + * Creates an AssetLockOutpointInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo + */ + AssetLockOutpointInfo.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo(); + switch (object.status) { + case "STATUS_UNSPECIFIED": + case 0: + message.status = 0; + break; + case "NOT_PRESENT": + case 1: + message.status = 1; + break; + case "PARTIALLY_CONSUMED": + case 2: + message.status = 2; + break; + case "FULLY_CONSUMED": + case 3: + message.status = 3; + break; + } + if (object.remainingCredits != null) + if ($util.Long) + (message.remainingCredits = $util.Long.fromValue(object.remainingCredits)).unsigned = true; + else if (typeof object.remainingCredits === "string") + message.remainingCredits = parseInt(object.remainingCredits, 10); + else if (typeof object.remainingCredits === "number") + message.remainingCredits = object.remainingCredits; + else if (typeof object.remainingCredits === "object") + message.remainingCredits = new $util.LongBits(object.remainingCredits.low >>> 0, object.remainingCredits.high >>> 0).toNumber(true); + return message; + }; + + /** + * Creates a plain object from an AssetLockOutpointInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} message AssetLockOutpointInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AssetLockOutpointInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.status = options.enums === String ? "STATUS_UNSPECIFIED" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.remainingCredits = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.remainingCredits = options.longs === String ? "0" : 0; + } + if (message.status != null && message.hasOwnProperty("status")) + object.status = options.enums === String ? $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status[message.status] : message.status; + if (message.remainingCredits != null && message.hasOwnProperty("remainingCredits")) + if (typeof message.remainingCredits === "number") + object.remainingCredits = options.longs === String ? String(message.remainingCredits) : message.remainingCredits; + else + object.remainingCredits = options.longs === String ? $util.Long.prototype.toString.call(message.remainingCredits) : options.longs === Number ? new $util.LongBits(message.remainingCredits.low >>> 0, message.remainingCredits.high >>> 0).toNumber(true) : message.remainingCredits; + return object; + }; + + /** + * Converts this AssetLockOutpointInfo to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @instance + * @returns {Object.} JSON object + */ + AssetLockOutpointInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return AssetLockOutpointInfo; + })(); + + GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoResponseV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @interface IGetAssetLockOutpointInfoResponseV0 + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo|null} [assetLockOutpointInfo] GetAssetLockOutpointInfoResponseV0 assetLockOutpointInfo + * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetAssetLockOutpointInfoResponseV0 proof + * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetAssetLockOutpointInfoResponseV0 metadata + */ + + /** + * Constructs a new GetAssetLockOutpointInfoResponseV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @classdesc Represents a GetAssetLockOutpointInfoResponseV0. + * @implements IGetAssetLockOutpointInfoResponseV0 + * @constructor + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoResponseV0(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoResponseV0 assetLockOutpointInfo. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo|null|undefined} assetLockOutpointInfo + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + GetAssetLockOutpointInfoResponseV0.prototype.assetLockOutpointInfo = null; + + /** + * GetAssetLockOutpointInfoResponseV0 proof. + * @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + GetAssetLockOutpointInfoResponseV0.prototype.proof = null; + + /** + * GetAssetLockOutpointInfoResponseV0 metadata. + * @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + GetAssetLockOutpointInfoResponseV0.prototype.metadata = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetAssetLockOutpointInfoResponseV0 result. + * @member {"assetLockOutpointInfo"|"proof"|undefined} result + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + Object.defineProperty(GetAssetLockOutpointInfoResponseV0.prototype, "result", { + get: $util.oneOfGetter($oneOfFields = ["assetLockOutpointInfo", "proof"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetAssetLockOutpointInfoResponseV0 instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 instance + */ + GetAssetLockOutpointInfoResponseV0.create = function create(properties) { + return new GetAssetLockOutpointInfoResponseV0(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0} message GetAssetLockOutpointInfoResponseV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponseV0.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.assetLockOutpointInfo != null && Object.hasOwnProperty.call(message, "assetLockOutpointInfo")) + $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.encode(message.assetLockOutpointInfo, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.proof != null && Object.hasOwnProperty.call(message, "proof")) + $root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) + $root.org.dash.platform.dapi.v0.ResponseMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0} message GetAssetLockOutpointInfoResponseV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponseV0.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponseV0 message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponseV0.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.assetLockOutpointInfo = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.decode(reader, reader.uint32()); + break; + case 2: + message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32()); + break; + case 3: + message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponseV0 message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponseV0.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoResponseV0 message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoResponseV0.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.assetLockOutpointInfo != null && message.hasOwnProperty("assetLockOutpointInfo")) { + properties.result = 1; + { + var error = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.verify(message.assetLockOutpointInfo); + if (error) + return "assetLockOutpointInfo." + error; + } + } + if (message.proof != null && message.hasOwnProperty("proof")) { + if (properties.result === 1) + return "result: multiple values"; + properties.result = 1; + { + var error = $root.org.dash.platform.dapi.v0.Proof.verify(message.proof); + if (error) + return "proof." + error; + } + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.org.dash.platform.dapi.v0.ResponseMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoResponseV0 message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 + */ + GetAssetLockOutpointInfoResponseV0.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0(); + if (object.assetLockOutpointInfo != null) { + if (typeof object.assetLockOutpointInfo !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.assetLockOutpointInfo: object expected"); + message.assetLockOutpointInfo = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.fromObject(object.assetLockOutpointInfo); + } + if (object.proof != null) { + if (typeof object.proof !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.proof: object expected"); + message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof); + } + if (object.metadata != null) { + if (typeof object.metadata !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.metadata: object expected"); + message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata); + } + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoResponseV0 message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} message GetAssetLockOutpointInfoResponseV0 + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoResponseV0.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.metadata = null; + if (message.assetLockOutpointInfo != null && message.hasOwnProperty("assetLockOutpointInfo")) { + object.assetLockOutpointInfo = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject(message.assetLockOutpointInfo, options); + if (options.oneofs) + object.result = "assetLockOutpointInfo"; + } + if (message.proof != null && message.hasOwnProperty("proof")) { + object.proof = $root.org.dash.platform.dapi.v0.Proof.toObject(message.proof, options); + if (options.oneofs) + object.result = "proof"; + } + if (message.metadata != null && message.hasOwnProperty("metadata")) + object.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.toObject(message.metadata, options); + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoResponseV0 to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoResponseV0.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return GetAssetLockOutpointInfoResponseV0; + })(); + + return GetAssetLockOutpointInfoResponse; + })(); + v0.GetDataContractsLatestVersionsResponse = (function() { /** diff --git a/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java b/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java index 35152ec0762..427efe5273a 100644 --- a/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java +++ b/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java @@ -480,6 +480,37 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsLatestVersionsRespo return getGetDataContractsLatestVersionsMethod; } + private static volatile io.grpc.MethodDescriptor getGetAssetLockOutpointInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "getAssetLockOutpointInfo", + requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest.class, + responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAssetLockOutpointInfoMethod() { + io.grpc.MethodDescriptor getGetAssetLockOutpointInfoMethod; + if ((getGetAssetLockOutpointInfoMethod = PlatformGrpc.getGetAssetLockOutpointInfoMethod) == null) { + synchronized (PlatformGrpc.class) { + if ((getGetAssetLockOutpointInfoMethod = PlatformGrpc.getGetAssetLockOutpointInfoMethod) == null) { + PlatformGrpc.getGetAssetLockOutpointInfoMethod = getGetAssetLockOutpointInfoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getAssetLockOutpointInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoResponse.getDefaultInstance())) + .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getAssetLockOutpointInfo")) + .build(); + } + } + } + return getGetAssetLockOutpointInfoMethod; + } + private static volatile io.grpc.MethodDescriptor getGetDataContractsMethod; @@ -2620,6 +2651,13 @@ public void getDataContractsLatestVersions(org.dash.platform.dapi.v0.PlatformOut io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataContractsLatestVersionsMethod(), responseObserver); } + /** + */ + public void getAssetLockOutpointInfo(org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAssetLockOutpointInfoMethod(), responseObserver); + } + /** */ public void getDataContracts(org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsRequest request, @@ -3215,6 +3253,13 @@ public void getBlocks(org.dash.platform.dapi.v0.PlatformOuterClass.GetBlocksRequ org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsLatestVersionsRequest, org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsLatestVersionsResponse>( this, METHODID_GET_DATA_CONTRACTS_LATEST_VERSIONS))) + .addMethod( + getGetAssetLockOutpointInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest, + org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoResponse>( + this, METHODID_GET_ASSET_LOCK_OUTPOINT_INFO))) .addMethod( getGetDataContractsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -3804,6 +3849,14 @@ public void getDataContractsLatestVersions(org.dash.platform.dapi.v0.PlatformOut getChannel().newCall(getGetDataContractsLatestVersionsMethod(), getCallOptions()), request, responseObserver); } + /** + */ + public void getAssetLockOutpointInfo(org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAssetLockOutpointInfoMethod(), getCallOptions()), request, responseObserver); + } + /** */ public void getDataContracts(org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsRequest request, @@ -4479,6 +4532,13 @@ public org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsLatestVersio getChannel(), getGetDataContractsLatestVersionsMethod(), getCallOptions(), request); } + /** + */ + public org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoResponse getAssetLockOutpointInfo(org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAssetLockOutpointInfoMethod(), getCallOptions(), request); + } + /** */ public org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsResponse getDataContracts(org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsRequest request) { @@ -5105,6 +5165,14 @@ public com.google.common.util.concurrent.ListenableFuture getAssetLockOutpointInfo( + org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAssetLockOutpointInfoMethod(), getCallOptions()), request); + } + /** */ public com.google.common.util.concurrent.ListenableFuture getDataContracts( @@ -5673,70 +5741,71 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -5815,6 +5884,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.getDataContractsLatestVersions((org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsLatestVersionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_ASSET_LOCK_OUTPOINT_INFO: + serviceImpl.getAssetLockOutpointInfo((org.dash.platform.dapi.v0.PlatformOuterClass.GetAssetLockOutpointInfoRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_GET_DATA_CONTRACTS: serviceImpl.getDataContracts((org.dash.platform.dapi.v0.PlatformOuterClass.GetDataContractsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); @@ -6147,6 +6220,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetDataContractMethod()) .addMethod(getGetDataContractHistoryMethod()) .addMethod(getGetDataContractsLatestVersionsMethod()) + .addMethod(getGetAssetLockOutpointInfoMethod()) .addMethod(getGetDataContractsMethod()) .addMethod(getGetDataContractsByRangeMethod()) .addMethod(getGetContractGroupInfoMethod()) diff --git a/packages/dapi-grpc/clients/platform/v0/nodejs/PlatformPromiseClient.js b/packages/dapi-grpc/clients/platform/v0/nodejs/PlatformPromiseClient.js index 1137408afa4..466eff9dcd0 100644 --- a/packages/dapi-grpc/clients/platform/v0/nodejs/PlatformPromiseClient.js +++ b/packages/dapi-grpc/clients/platform/v0/nodejs/PlatformPromiseClient.js @@ -26,6 +26,8 @@ const { v0: { BroadcastStateTransitionRequest: PBJSBroadcastStateTransitionRequest, BroadcastStateTransitionResponse: PBJSBroadcastStateTransitionResponse, + GetAssetLockOutpointInfoRequest: PBJSGetAssetLockOutpointInfoRequest, + GetAssetLockOutpointInfoResponse: PBJSGetAssetLockOutpointInfoResponse, GetIdentityRequest: PBJSGetIdentityRequest, GetIdentityResponse: PBJSGetIdentityResponse, GetIdentitiesContractKeysRequest: PBJSGetIdentitiesContractKeysRequest, @@ -85,6 +87,7 @@ const { const { BroadcastStateTransitionResponse: ProtocBroadcastStateTransitionResponse, + GetAssetLockOutpointInfoResponse: ProtocGetAssetLockOutpointInfoResponse, GetIdentityResponse: ProtocGetIdentityResponse, GetIdentitiesContractKeysResponse: ProtocGetIdentitiesContractKeysResponse, GetDataContractResponse: ProtocGetDataContractResponse, @@ -139,6 +142,10 @@ class PlatformPromiseClient { this.client.broadcastStateTransition.bind(this.client), ); + this.client.getAssetLockOutpointInfo = promisify( + this.client.getAssetLockOutpointInfo.bind(this.client), + ); + this.client.getIdentity = promisify( this.client.getIdentity.bind(this.client), ); @@ -269,6 +276,41 @@ class PlatformPromiseClient { ); } + /** + * @param {!GetAssetLockOutpointInfoRequest} getAssetLockOutpointInfoRequest + * @param {?Object} metadata + * @param {CallOptions} [options={}] + * @return {Promise} + */ + getAssetLockOutpointInfo( + getAssetLockOutpointInfoRequest, + metadata = {}, + options = {}, + ) { + if (!isObject(metadata)) { + throw new Error('metadata must be an object'); + } + + return this.client.getAssetLockOutpointInfo( + getAssetLockOutpointInfoRequest, + convertObjectToMetadata(metadata), + { + interceptors: [ + jsonToProtobufInterceptorFactory( + jsonToProtobufFactory( + ProtocGetAssetLockOutpointInfoResponse, + PBJSGetAssetLockOutpointInfoResponse, + ), + protobufToJsonFactory( + PBJSGetAssetLockOutpointInfoRequest, + ), + ), + ], + ...options, + }, + ); + } + /** * @param {!GetIdentityRequest} getIdentityRequest * @param {?Object} metadata diff --git a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js index 4719f1306f4..c1d69517fed 100644 --- a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js +++ b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js @@ -581,6 +581,39 @@ $root.org = (function() { * @variation 2 */ + /** + * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getAssetLockOutpointInfo}. + * @memberof org.dash.platform.dapi.v0.Platform + * @typedef getAssetLockOutpointInfoCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} [response] GetAssetLockOutpointInfoResponse + */ + + /** + * Calls getAssetLockOutpointInfo. + * @function getAssetLockOutpointInfo + * @memberof org.dash.platform.dapi.v0.Platform + * @instance + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} request GetAssetLockOutpointInfoRequest message or plain object + * @param {org.dash.platform.dapi.v0.Platform.getAssetLockOutpointInfoCallback} callback Node-style callback called with the error, if any, and GetAssetLockOutpointInfoResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(Platform.prototype.getAssetLockOutpointInfo = function getAssetLockOutpointInfo(request, callback) { + return this.rpcCall(getAssetLockOutpointInfo, $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest, $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse, request, callback); + }, "name", { value: "getAssetLockOutpointInfo" }); + + /** + * Calls getAssetLockOutpointInfo. + * @function getAssetLockOutpointInfo + * @memberof org.dash.platform.dapi.v0.Platform + * @instance + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} request GetAssetLockOutpointInfoRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + /** * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getDataContracts}. * @memberof org.dash.platform.dapi.v0.Platform @@ -18956,6 +18989,1185 @@ $root.org = (function() { return GetDataContractsLatestVersionsRequest; })(); + v0.GetAssetLockOutpointInfoRequest = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoRequest. + * @memberof org.dash.platform.dapi.v0 + * @interface IGetAssetLockOutpointInfoRequest + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0|null} [v0] GetAssetLockOutpointInfoRequest v0 + */ + + /** + * Constructs a new GetAssetLockOutpointInfoRequest. + * @memberof org.dash.platform.dapi.v0 + * @classdesc Represents a GetAssetLockOutpointInfoRequest. + * @implements IGetAssetLockOutpointInfoRequest + * @constructor + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoRequest v0. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0|null|undefined} v0 + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @instance + */ + GetAssetLockOutpointInfoRequest.prototype.v0 = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetAssetLockOutpointInfoRequest version. + * @member {"v0"|undefined} version + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @instance + */ + Object.defineProperty(GetAssetLockOutpointInfoRequest.prototype, "version", { + get: $util.oneOfGetter($oneOfFields = ["v0"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetAssetLockOutpointInfoRequest instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest instance + */ + GetAssetLockOutpointInfoRequest.create = function create(properties) { + return new GetAssetLockOutpointInfoRequest(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} message GetAssetLockOutpointInfoRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.v0 != null && Object.hasOwnProperty.call(message, "v0")) + $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoRequest} message GetAssetLockOutpointInfoRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequest message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoRequest message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + properties.version = 1; + { + var error = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.verify(message.v0); + if (error) + return "v0." + error; + } + } + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} GetAssetLockOutpointInfoRequest + */ + GetAssetLockOutpointInfoRequest.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest(); + if (object.v0 != null) { + if (typeof object.v0 !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.v0: object expected"); + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.fromObject(object.v0); + } + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} message GetAssetLockOutpointInfoRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + object.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject(message.v0, options); + if (options.oneofs) + object.version = "v0"; + } + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoRequest to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoRequestV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @interface IGetAssetLockOutpointInfoRequestV0 + * @property {Uint8Array|null} [outpoint] GetAssetLockOutpointInfoRequestV0 outpoint + * @property {boolean|null} [prove] GetAssetLockOutpointInfoRequestV0 prove + */ + + /** + * Constructs a new GetAssetLockOutpointInfoRequestV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest + * @classdesc Represents a GetAssetLockOutpointInfoRequestV0. + * @implements IGetAssetLockOutpointInfoRequestV0 + * @constructor + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoRequestV0(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoRequestV0 outpoint. + * @member {Uint8Array} outpoint + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @instance + */ + GetAssetLockOutpointInfoRequestV0.prototype.outpoint = $util.newBuffer([]); + + /** + * GetAssetLockOutpointInfoRequestV0 prove. + * @member {boolean} prove + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @instance + */ + GetAssetLockOutpointInfoRequestV0.prototype.prove = false; + + /** + * Creates a new GetAssetLockOutpointInfoRequestV0 instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 instance + */ + GetAssetLockOutpointInfoRequestV0.create = function create(properties) { + return new GetAssetLockOutpointInfoRequestV0(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0} message GetAssetLockOutpointInfoRequestV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequestV0.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.outpoint != null && Object.hasOwnProperty.call(message, "outpoint")) + writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.outpoint); + if (message.prove != null && Object.hasOwnProperty.call(message, "prove")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.prove); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.IGetAssetLockOutpointInfoRequestV0} message GetAssetLockOutpointInfoRequestV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoRequestV0.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequestV0 message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequestV0.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.outpoint = reader.bytes(); + break; + case 2: + message.prove = reader.bool(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoRequestV0 message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoRequestV0.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoRequestV0 message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoRequestV0.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.outpoint != null && message.hasOwnProperty("outpoint")) + if (!(message.outpoint && typeof message.outpoint.length === "number" || $util.isString(message.outpoint))) + return "outpoint: buffer expected"; + if (message.prove != null && message.hasOwnProperty("prove")) + if (typeof message.prove !== "boolean") + return "prove: boolean expected"; + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoRequestV0 message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} GetAssetLockOutpointInfoRequestV0 + */ + GetAssetLockOutpointInfoRequestV0.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0(); + if (object.outpoint != null) + if (typeof object.outpoint === "string") + $util.base64.decode(object.outpoint, message.outpoint = $util.newBuffer($util.base64.length(object.outpoint)), 0); + else if (object.outpoint.length >= 0) + message.outpoint = object.outpoint; + if (object.prove != null) + message.prove = Boolean(object.prove); + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoRequestV0 message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} message GetAssetLockOutpointInfoRequestV0 + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoRequestV0.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if (options.bytes === String) + object.outpoint = ""; + else { + object.outpoint = []; + if (options.bytes !== Array) + object.outpoint = $util.newBuffer(object.outpoint); + } + object.prove = false; + } + if (message.outpoint != null && message.hasOwnProperty("outpoint")) + object.outpoint = options.bytes === String ? $util.base64.encode(message.outpoint, 0, message.outpoint.length) : options.bytes === Array ? Array.prototype.slice.call(message.outpoint) : message.outpoint; + if (message.prove != null && message.hasOwnProperty("prove")) + object.prove = message.prove; + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoRequestV0 to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoRequestV0.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return GetAssetLockOutpointInfoRequestV0; + })(); + + return GetAssetLockOutpointInfoRequest; + })(); + + v0.GetAssetLockOutpointInfoResponse = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoResponse. + * @memberof org.dash.platform.dapi.v0 + * @interface IGetAssetLockOutpointInfoResponse + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0|null} [v0] GetAssetLockOutpointInfoResponse v0 + */ + + /** + * Constructs a new GetAssetLockOutpointInfoResponse. + * @memberof org.dash.platform.dapi.v0 + * @classdesc Represents a GetAssetLockOutpointInfoResponse. + * @implements IGetAssetLockOutpointInfoResponse + * @constructor + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoResponse v0. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0|null|undefined} v0 + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @instance + */ + GetAssetLockOutpointInfoResponse.prototype.v0 = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetAssetLockOutpointInfoResponse version. + * @member {"v0"|undefined} version + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @instance + */ + Object.defineProperty(GetAssetLockOutpointInfoResponse.prototype, "version", { + get: $util.oneOfGetter($oneOfFields = ["v0"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetAssetLockOutpointInfoResponse instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse instance + */ + GetAssetLockOutpointInfoResponse.create = function create(properties) { + return new GetAssetLockOutpointInfoResponse(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse} message GetAssetLockOutpointInfoResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.v0 != null && Object.hasOwnProperty.call(message, "v0")) + $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.IGetAssetLockOutpointInfoResponse} message GetAssetLockOutpointInfoResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponse message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoResponse message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + properties.version = 1; + { + var error = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.verify(message.v0); + if (error) + return "v0." + error; + } + } + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} GetAssetLockOutpointInfoResponse + */ + GetAssetLockOutpointInfoResponse.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse(); + if (object.v0 != null) { + if (typeof object.v0 !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.v0: object expected"); + message.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.fromObject(object.v0); + } + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} message GetAssetLockOutpointInfoResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.v0 != null && message.hasOwnProperty("v0")) { + object.v0 = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject(message.v0, options); + if (options.oneofs) + object.version = "v0"; + } + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoResponse to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Status enum. + * @name org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status + * @enum {number} + * @property {number} STATUS_UNSPECIFIED=0 STATUS_UNSPECIFIED value + * @property {number} NOT_PRESENT=1 NOT_PRESENT value + * @property {number} PARTIALLY_CONSUMED=2 PARTIALLY_CONSUMED value + * @property {number} FULLY_CONSUMED=3 FULLY_CONSUMED value + */ + GetAssetLockOutpointInfoResponse.Status = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "STATUS_UNSPECIFIED"] = 0; + values[valuesById[1] = "NOT_PRESENT"] = 1; + values[valuesById[2] = "PARTIALLY_CONSUMED"] = 2; + values[valuesById[3] = "FULLY_CONSUMED"] = 3; + return values; + })(); + + GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo = (function() { + + /** + * Properties of an AssetLockOutpointInfo. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @interface IAssetLockOutpointInfo + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status|null} [status] AssetLockOutpointInfo status + * @property {number|Long|null} [remainingCredits] AssetLockOutpointInfo remainingCredits + */ + + /** + * Constructs a new AssetLockOutpointInfo. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @classdesc Represents an AssetLockOutpointInfo. + * @implements IAssetLockOutpointInfo + * @constructor + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo=} [properties] Properties to set + */ + function AssetLockOutpointInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * AssetLockOutpointInfo status. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} status + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @instance + */ + AssetLockOutpointInfo.prototype.status = 0; + + /** + * AssetLockOutpointInfo remainingCredits. + * @member {number|Long} remainingCredits + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @instance + */ + AssetLockOutpointInfo.prototype.remainingCredits = $util.Long ? $util.Long.fromBits(0,0,true) : 0; + + /** + * Creates a new AssetLockOutpointInfo instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo instance + */ + AssetLockOutpointInfo.create = function create(properties) { + return new AssetLockOutpointInfo(properties); + }; + + /** + * Encodes the specified AssetLockOutpointInfo message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo} message AssetLockOutpointInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AssetLockOutpointInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.status != null && Object.hasOwnProperty.call(message, "status")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status); + if (message.remainingCredits != null && Object.hasOwnProperty.call(message, "remainingCredits")) + writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.remainingCredits); + return writer; + }; + + /** + * Encodes the specified AssetLockOutpointInfo message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo} message AssetLockOutpointInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AssetLockOutpointInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AssetLockOutpointInfo message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AssetLockOutpointInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.status = reader.int32(); + break; + case 2: + message.remainingCredits = reader.uint64(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AssetLockOutpointInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AssetLockOutpointInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AssetLockOutpointInfo message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AssetLockOutpointInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.status != null && message.hasOwnProperty("status")) + switch (message.status) { + default: + return "status: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.remainingCredits != null && message.hasOwnProperty("remainingCredits")) + if (!$util.isInteger(message.remainingCredits) && !(message.remainingCredits && $util.isInteger(message.remainingCredits.low) && $util.isInteger(message.remainingCredits.high))) + return "remainingCredits: integer|Long expected"; + return null; + }; + + /** + * Creates an AssetLockOutpointInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} AssetLockOutpointInfo + */ + AssetLockOutpointInfo.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo(); + switch (object.status) { + case "STATUS_UNSPECIFIED": + case 0: + message.status = 0; + break; + case "NOT_PRESENT": + case 1: + message.status = 1; + break; + case "PARTIALLY_CONSUMED": + case 2: + message.status = 2; + break; + case "FULLY_CONSUMED": + case 3: + message.status = 3; + break; + } + if (object.remainingCredits != null) + if ($util.Long) + (message.remainingCredits = $util.Long.fromValue(object.remainingCredits)).unsigned = true; + else if (typeof object.remainingCredits === "string") + message.remainingCredits = parseInt(object.remainingCredits, 10); + else if (typeof object.remainingCredits === "number") + message.remainingCredits = object.remainingCredits; + else if (typeof object.remainingCredits === "object") + message.remainingCredits = new $util.LongBits(object.remainingCredits.low >>> 0, object.remainingCredits.high >>> 0).toNumber(true); + return message; + }; + + /** + * Creates a plain object from an AssetLockOutpointInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} message AssetLockOutpointInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AssetLockOutpointInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.status = options.enums === String ? "STATUS_UNSPECIFIED" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.remainingCredits = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.remainingCredits = options.longs === String ? "0" : 0; + } + if (message.status != null && message.hasOwnProperty("status")) + object.status = options.enums === String ? $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status[message.status] : message.status; + if (message.remainingCredits != null && message.hasOwnProperty("remainingCredits")) + if (typeof message.remainingCredits === "number") + object.remainingCredits = options.longs === String ? String(message.remainingCredits) : message.remainingCredits; + else + object.remainingCredits = options.longs === String ? $util.Long.prototype.toString.call(message.remainingCredits) : options.longs === Number ? new $util.LongBits(message.remainingCredits.low >>> 0, message.remainingCredits.high >>> 0).toNumber(true) : message.remainingCredits; + return object; + }; + + /** + * Converts this AssetLockOutpointInfo to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo + * @instance + * @returns {Object.} JSON object + */ + AssetLockOutpointInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return AssetLockOutpointInfo; + })(); + + GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 = (function() { + + /** + * Properties of a GetAssetLockOutpointInfoResponseV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @interface IGetAssetLockOutpointInfoResponseV0 + * @property {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo|null} [assetLockOutpointInfo] GetAssetLockOutpointInfoResponseV0 assetLockOutpointInfo + * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetAssetLockOutpointInfoResponseV0 proof + * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetAssetLockOutpointInfoResponseV0 metadata + */ + + /** + * Constructs a new GetAssetLockOutpointInfoResponseV0. + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse + * @classdesc Represents a GetAssetLockOutpointInfoResponseV0. + * @implements IGetAssetLockOutpointInfoResponseV0 + * @constructor + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0=} [properties] Properties to set + */ + function GetAssetLockOutpointInfoResponseV0(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetAssetLockOutpointInfoResponseV0 assetLockOutpointInfo. + * @member {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IAssetLockOutpointInfo|null|undefined} assetLockOutpointInfo + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + GetAssetLockOutpointInfoResponseV0.prototype.assetLockOutpointInfo = null; + + /** + * GetAssetLockOutpointInfoResponseV0 proof. + * @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + GetAssetLockOutpointInfoResponseV0.prototype.proof = null; + + /** + * GetAssetLockOutpointInfoResponseV0 metadata. + * @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + GetAssetLockOutpointInfoResponseV0.prototype.metadata = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetAssetLockOutpointInfoResponseV0 result. + * @member {"assetLockOutpointInfo"|"proof"|undefined} result + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + */ + Object.defineProperty(GetAssetLockOutpointInfoResponseV0.prototype, "result", { + get: $util.oneOfGetter($oneOfFields = ["assetLockOutpointInfo", "proof"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetAssetLockOutpointInfoResponseV0 instance using the specified properties. + * @function create + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0=} [properties] Properties to set + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 instance + */ + GetAssetLockOutpointInfoResponseV0.create = function create(properties) { + return new GetAssetLockOutpointInfoResponseV0(properties); + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.verify|verify} messages. + * @function encode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0} message GetAssetLockOutpointInfoResponseV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponseV0.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.assetLockOutpointInfo != null && Object.hasOwnProperty.call(message, "assetLockOutpointInfo")) + $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.encode(message.assetLockOutpointInfo, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.proof != null && Object.hasOwnProperty.call(message, "proof")) + $root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) + $root.org.dash.platform.dapi.v0.ResponseMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified GetAssetLockOutpointInfoResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.verify|verify} messages. + * @function encodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.IGetAssetLockOutpointInfoResponseV0} message GetAssetLockOutpointInfoResponseV0 message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetAssetLockOutpointInfoResponseV0.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponseV0 message from the specified reader or buffer. + * @function decode + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponseV0.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.assetLockOutpointInfo = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.decode(reader, reader.uint32()); + break; + case 2: + message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32()); + break; + case 3: + message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a GetAssetLockOutpointInfoResponseV0 message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetAssetLockOutpointInfoResponseV0.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a GetAssetLockOutpointInfoResponseV0 message. + * @function verify + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetAssetLockOutpointInfoResponseV0.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.assetLockOutpointInfo != null && message.hasOwnProperty("assetLockOutpointInfo")) { + properties.result = 1; + { + var error = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.verify(message.assetLockOutpointInfo); + if (error) + return "assetLockOutpointInfo." + error; + } + } + if (message.proof != null && message.hasOwnProperty("proof")) { + if (properties.result === 1) + return "result: multiple values"; + properties.result = 1; + { + var error = $root.org.dash.platform.dapi.v0.Proof.verify(message.proof); + if (error) + return "proof." + error; + } + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.org.dash.platform.dapi.v0.ResponseMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + return null; + }; + + /** + * Creates a GetAssetLockOutpointInfoResponseV0 message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {Object.} object Plain object + * @returns {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} GetAssetLockOutpointInfoResponseV0 + */ + GetAssetLockOutpointInfoResponseV0.fromObject = function fromObject(object) { + if (object instanceof $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0) + return object; + var message = new $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0(); + if (object.assetLockOutpointInfo != null) { + if (typeof object.assetLockOutpointInfo !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.assetLockOutpointInfo: object expected"); + message.assetLockOutpointInfo = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.fromObject(object.assetLockOutpointInfo); + } + if (object.proof != null) { + if (typeof object.proof !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.proof: object expected"); + message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof); + } + if (object.metadata != null) { + if (typeof object.metadata !== "object") + throw TypeError(".org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.metadata: object expected"); + message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata); + } + return message; + }; + + /** + * Creates a plain object from a GetAssetLockOutpointInfoResponseV0 message. Also converts values to other types if specified. + * @function toObject + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @static + * @param {org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} message GetAssetLockOutpointInfoResponseV0 + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + GetAssetLockOutpointInfoResponseV0.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.metadata = null; + if (message.assetLockOutpointInfo != null && message.hasOwnProperty("assetLockOutpointInfo")) { + object.assetLockOutpointInfo = $root.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject(message.assetLockOutpointInfo, options); + if (options.oneofs) + object.result = "assetLockOutpointInfo"; + } + if (message.proof != null && message.hasOwnProperty("proof")) { + object.proof = $root.org.dash.platform.dapi.v0.Proof.toObject(message.proof, options); + if (options.oneofs) + object.result = "proof"; + } + if (message.metadata != null && message.hasOwnProperty("metadata")) + object.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.toObject(message.metadata, options); + return object; + }; + + /** + * Converts this GetAssetLockOutpointInfoResponseV0 to JSON. + * @function toJSON + * @memberof org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 + * @instance + * @returns {Object.} JSON object + */ + GetAssetLockOutpointInfoResponseV0.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return GetAssetLockOutpointInfoResponseV0; + })(); + + return GetAssetLockOutpointInfoResponse; + })(); + v0.GetDataContractsLatestVersionsResponse = (function() { /** diff --git a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js index b73ac6da250..e373d27a0ff 100644 --- a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js +++ b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js @@ -69,6 +69,15 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.VersionCase', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlocksRequest', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlocksRequest.GetBlocksRequestV0', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlocksRequest.VersionCase', null, { proto }); @@ -2294,6 +2303,111 @@ if (goog.DEBUG && !COMPILED) { */ proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -26790,6 +26904,1009 @@ proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype. +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase = { + VERSION_NOT_SET: 0, + V0: 1 +}; + +/** + * @return {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.getVersionCase = function() { + return /** @type {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.toObject = function(includeInstance, msg) { + var f, obj = { + v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinaryFromReader); + msg.setV0(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getV0(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject = function(includeInstance, msg) { + var f, obj = { + outpoint: msg.getOutpoint_asB64(), + prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setOutpoint(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProve(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutpoint_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getProve(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional bytes outpoint = 1; + * @return {string} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getOutpoint = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes outpoint = 1; + * This is a type-conversion wrapper around `getOutpoint()` + * @return {string} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getOutpoint_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getOutpoint())); +}; + + +/** + * optional bytes outpoint = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getOutpoint()` + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getOutpoint_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getOutpoint())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.setOutpoint = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bool prove = 2; + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getProve = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.setProve = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + +/** + * optional GetAssetLockOutpointInfoRequestV0 v0 = 1; + * @return {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.getV0 = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0, 1)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.setV0 = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.clearV0 = function() { + return this.setV0(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.hasV0 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase = { + VERSION_NOT_SET: 0, + V0: 1 +}; + +/** + * @return {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.getVersionCase = function() { + return /** @type {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.toObject = function(includeInstance, msg) { + var f, obj = { + v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinaryFromReader); + msg.setV0(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getV0(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.serializeBinaryToWriter + ); + } +}; + + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status = { + STATUS_UNSPECIFIED: 0, + NOT_PRESENT: 1, + PARTIALLY_CONSUMED: 2, + FULLY_CONSUMED: 3 +}; + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + remainingCredits: jspb.Message.getFieldWithDefault(msg, 2, "0") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} */ (reader.readEnum()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readUint64String()); + msg.setRemainingCredits(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeUint64String( + 2, + f + ); + } +}; + + +/** + * optional Status status = 1; + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.getStatus = function() { + return /** @type {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.setStatus = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional uint64 remaining_credits = 2; + * @return {string} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.getRemainingCredits = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0")); +}; + + +/** + * @param {string} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.setRemainingCredits = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.clearRemainingCredits = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.hasRemainingCredits = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase = { + RESULT_NOT_SET: 0, + ASSET_LOCK_OUTPOINT_INFO: 1, + PROOF: 2 +}; + +/** + * @return {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getResultCase = function() { + return /** @type {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject = function(includeInstance, msg) { + var f, obj = { + assetLockOutpointInfo: (f = msg.getAssetLockOutpointInfo()) && proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject(includeInstance, f), + proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f), + metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinaryFromReader); + msg.setAssetLockOutpointInfo(value); + break; + case 2: + var value = new proto.org.dash.platform.dapi.v0.Proof; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader); + msg.setProof(value); + break; + case 3: + var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader); + msg.setMetadata(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAssetLockOutpointInfo(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.serializeBinaryToWriter + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter + ); + } + f = message.getMetadata(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * optional AssetLockOutpointInfo asset_lock_outpoint_info = 1; + * @return {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getAssetLockOutpointInfo = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo, 1)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.setAssetLockOutpointInfo = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.clearAssetLockOutpointInfo = function() { + return this.setAssetLockOutpointInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.hasAssetLockOutpointInfo = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Proof proof = 2; + * @return {?proto.org.dash.platform.dapi.v0.Proof} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getProof = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.setProof = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.hasProof = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ResponseMetadata metadata = 3; + * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getMetadata = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.setMetadata = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.clearMetadata = function() { + return this.setMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.hasMetadata = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional GetAssetLockOutpointInfoResponseV0 v0 = 1; + * @return {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.getV0 = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0, 1)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.setV0 = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.clearV0 = function() { + return this.setV0(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.hasV0 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + /** * Oneof group definitions for this message. Each group defines the field * numbers belonging to that group. When of these fields' value is set, all diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h index 6f9904238e9..a8c405cbc9f 100644 --- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h +++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h @@ -54,6 +54,9 @@ CF_EXTERN_C_BEGIN @class GetAddressesInfosResponse_GetAddressesInfosResponseV0; @class GetAddressesTrunkStateRequest_GetAddressesTrunkStateRequestV0; @class GetAddressesTrunkStateResponse_GetAddressesTrunkStateResponseV0; +@class GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0; +@class GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo; +@class GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0; @class GetBlocksRequest_GetBlocksRequestV0; @class GetBlocksResponse_GetBlocksResponseV0; @class GetBlocksResponse_GetBlocksResponseV0_Block; @@ -501,6 +504,29 @@ GPBEnumDescriptor *SecurityLevelMap_KeyKindRequestType_EnumDescriptor(void); **/ BOOL SecurityLevelMap_KeyKindRequestType_IsValidValue(int32_t value); +#pragma mark - Enum GetAssetLockOutpointInfoResponse_Status + +typedef GPB_ENUM(GetAssetLockOutpointInfoResponse_Status) { + /** + * Value used if any message's field encounters a value that is not defined + * by this enum. The message will also have C functions to get/set the rawValue + * of the field. + **/ + GetAssetLockOutpointInfoResponse_Status_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue, + GetAssetLockOutpointInfoResponse_Status_StatusUnspecified = 0, + GetAssetLockOutpointInfoResponse_Status_NotPresent = 1, + GetAssetLockOutpointInfoResponse_Status_PartiallyConsumed = 2, + GetAssetLockOutpointInfoResponse_Status_FullyConsumed = 3, +}; + +GPBEnumDescriptor *GetAssetLockOutpointInfoResponse_Status_EnumDescriptor(void); + +/** + * Checks to see if the given value is defined by the enum or was not known at + * the time this source was generated. + **/ +BOOL GetAssetLockOutpointInfoResponse_Status_IsValidValue(int32_t value); + #pragma mark - Enum GetContractTeamActionsRequest_ActionStatus typedef GPB_ENUM(GetContractTeamActionsRequest_ActionStatus) { @@ -2672,6 +2698,132 @@ GPB_FINAL @interface GetDataContractsLatestVersionsRequest_GetDataContractsLates @end +#pragma mark - GetAssetLockOutpointInfoRequest + +typedef GPB_ENUM(GetAssetLockOutpointInfoRequest_FieldNumber) { + GetAssetLockOutpointInfoRequest_FieldNumber_V0 = 1, +}; + +typedef GPB_ENUM(GetAssetLockOutpointInfoRequest_Version_OneOfCase) { + GetAssetLockOutpointInfoRequest_Version_OneOfCase_GPBUnsetOneOfCase = 0, + GetAssetLockOutpointInfoRequest_Version_OneOfCase_V0 = 1, +}; + +GPB_FINAL @interface GetAssetLockOutpointInfoRequest : GPBMessage + +@property(nonatomic, readonly) GetAssetLockOutpointInfoRequest_Version_OneOfCase versionOneOfCase; + +@property(nonatomic, readwrite, strong, null_resettable) GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 *v0; + +@end + +/** + * Clears whatever value was set for the oneof 'version'. + **/ +void GetAssetLockOutpointInfoRequest_ClearVersionOneOfCase(GetAssetLockOutpointInfoRequest *message); + +#pragma mark - GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 + +typedef GPB_ENUM(GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0_FieldNumber) { + GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0_FieldNumber_Outpoint = 1, + GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0_FieldNumber_Prove = 2, +}; + +GPB_FINAL @interface GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 : GPBMessage + +/** 32-byte transaction id followed by a 4-byte little-endian output index */ +@property(nonatomic, readwrite, copy, null_resettable) NSData *outpoint; + +/** Flag to request a proof as the response */ +@property(nonatomic, readwrite) BOOL prove; + +@end + +#pragma mark - GetAssetLockOutpointInfoResponse + +typedef GPB_ENUM(GetAssetLockOutpointInfoResponse_FieldNumber) { + GetAssetLockOutpointInfoResponse_FieldNumber_V0 = 1, +}; + +typedef GPB_ENUM(GetAssetLockOutpointInfoResponse_Version_OneOfCase) { + GetAssetLockOutpointInfoResponse_Version_OneOfCase_GPBUnsetOneOfCase = 0, + GetAssetLockOutpointInfoResponse_Version_OneOfCase_V0 = 1, +}; + +GPB_FINAL @interface GetAssetLockOutpointInfoResponse : GPBMessage + +@property(nonatomic, readonly) GetAssetLockOutpointInfoResponse_Version_OneOfCase versionOneOfCase; + +@property(nonatomic, readwrite, strong, null_resettable) GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 *v0; + +@end + +/** + * Clears whatever value was set for the oneof 'version'. + **/ +void GetAssetLockOutpointInfoResponse_ClearVersionOneOfCase(GetAssetLockOutpointInfoResponse *message); + +#pragma mark - GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo + +typedef GPB_ENUM(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber) { + GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber_Status = 1, + GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber_RemainingCredits = 2, +}; + +GPB_FINAL @interface GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo : GPBMessage + +@property(nonatomic, readwrite) GetAssetLockOutpointInfoResponse_Status status; + +@property(nonatomic, readwrite) uint64_t remainingCredits; + +@property(nonatomic, readwrite) BOOL hasRemainingCredits; +@end + +/** + * Fetches the raw value of a @c GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo's @c status property, even + * if the value was not defined by the enum at the time the code was generated. + **/ +int32_t GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_Status_RawValue(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo *message); +/** + * Sets the raw value of an @c GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo's @c status property, allowing + * it to be set to a value that was not defined by the enum at the time the code + * was generated. + **/ +void SetGetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_Status_RawValue(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo *message, int32_t value); + +#pragma mark - GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 + +typedef GPB_ENUM(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber) { + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber_AssetLockOutpointInfo = 1, + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber_Proof = 2, + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber_Metadata = 3, +}; + +typedef GPB_ENUM(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_Result_OneOfCase) { + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_Result_OneOfCase_GPBUnsetOneOfCase = 0, + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_Result_OneOfCase_AssetLockOutpointInfo = 1, + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_Result_OneOfCase_Proof = 2, +}; + +GPB_FINAL @interface GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 : GPBMessage + +@property(nonatomic, readonly) GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_Result_OneOfCase resultOneOfCase; + +@property(nonatomic, readwrite, strong, null_resettable) GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo *assetLockOutpointInfo; + +@property(nonatomic, readwrite, strong, null_resettable) Proof *proof; + +@property(nonatomic, readwrite, strong, null_resettable) ResponseMetadata *metadata; +/** Test to see if @c metadata has been set. */ +@property(nonatomic, readwrite) BOOL hasMetadata; + +@end + +/** + * Clears whatever value was set for the oneof 'result'. + **/ +void GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_ClearResultOneOfCase(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 *message); + #pragma mark - GetDataContractsLatestVersionsResponse typedef GPB_ENUM(GetDataContractsLatestVersionsResponse_FieldNumber) { diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m index 2a3d605b2ae..f40c6203367 100644 --- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m +++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m @@ -62,6 +62,11 @@ GPBObjCClassDeclaration(GetAddressesTrunkStateRequest_GetAddressesTrunkStateRequestV0); GPBObjCClassDeclaration(GetAddressesTrunkStateResponse); GPBObjCClassDeclaration(GetAddressesTrunkStateResponse_GetAddressesTrunkStateResponseV0); +GPBObjCClassDeclaration(GetAssetLockOutpointInfoRequest); +GPBObjCClassDeclaration(GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0); +GPBObjCClassDeclaration(GetAssetLockOutpointInfoResponse); +GPBObjCClassDeclaration(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo); +GPBObjCClassDeclaration(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0); GPBObjCClassDeclaration(GetBlocksRequest); GPBObjCClassDeclaration(GetBlocksRequest_GetBlocksRequestV0); GPBObjCClassDeclaration(GetBlocksResponse); @@ -5021,6 +5026,365 @@ + (GPBDescriptor *)descriptor { @end +#pragma mark - GetAssetLockOutpointInfoRequest + +@implementation GetAssetLockOutpointInfoRequest + +@dynamic versionOneOfCase; +@dynamic v0; + +typedef struct GetAssetLockOutpointInfoRequest__storage_ { + uint32_t _has_storage_[2]; + GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 *v0; +} GetAssetLockOutpointInfoRequest__storage_; + +// This method is threadsafe because it is initially called +// in +initialize for each subclass. ++ (GPBDescriptor *)descriptor { + static GPBDescriptor *descriptor = nil; + if (!descriptor) { + static GPBMessageFieldDescription fields[] = { + { + .name = "v0", + .dataTypeSpecific.clazz = GPBObjCClass(GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0), + .number = GetAssetLockOutpointInfoRequest_FieldNumber_V0, + .hasIndex = -1, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoRequest__storage_, v0), + .flags = GPBFieldOptional, + .dataType = GPBDataTypeMessage, + }, + }; + GPBDescriptor *localDescriptor = + [GPBDescriptor allocDescriptorForClass:[GetAssetLockOutpointInfoRequest class] + rootClass:[PlatformRoot class] + file:PlatformRoot_FileDescriptor() + fields:fields + fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) + storageSize:sizeof(GetAssetLockOutpointInfoRequest__storage_) + flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; + static const char *oneofs[] = { + "version", + }; + [localDescriptor setupOneofs:oneofs + count:(uint32_t)(sizeof(oneofs) / sizeof(char*)) + firstHasIndex:-1]; + #if defined(DEBUG) && DEBUG + NSAssert(descriptor == nil, @"Startup recursed!"); + #endif // DEBUG + descriptor = localDescriptor; + } + return descriptor; +} + +@end + +void GetAssetLockOutpointInfoRequest_ClearVersionOneOfCase(GetAssetLockOutpointInfoRequest *message) { + GPBDescriptor *descriptor = [GetAssetLockOutpointInfoRequest descriptor]; + GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0]; + GPBClearOneof(message, oneof); +} +#pragma mark - GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 + +@implementation GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 + +@dynamic outpoint; +@dynamic prove; + +typedef struct GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0__storage_ { + uint32_t _has_storage_[1]; + NSData *outpoint; +} GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0__storage_; + +// This method is threadsafe because it is initially called +// in +initialize for each subclass. ++ (GPBDescriptor *)descriptor { + static GPBDescriptor *descriptor = nil; + if (!descriptor) { + static GPBMessageFieldDescription fields[] = { + { + .name = "outpoint", + .dataTypeSpecific.clazz = Nil, + .number = GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0_FieldNumber_Outpoint, + .hasIndex = 0, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0__storage_, outpoint), + .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero), + .dataType = GPBDataTypeBytes, + }, + { + .name = "prove", + .dataTypeSpecific.clazz = Nil, + .number = GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0_FieldNumber_Prove, + .hasIndex = 1, + .offset = 2, // Stored in _has_storage_ to save space. + .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero), + .dataType = GPBDataTypeBool, + }, + }; + GPBDescriptor *localDescriptor = + [GPBDescriptor allocDescriptorForClass:[GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0 class] + rootClass:[PlatformRoot class] + file:PlatformRoot_FileDescriptor() + fields:fields + fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) + storageSize:sizeof(GetAssetLockOutpointInfoRequest_GetAssetLockOutpointInfoRequestV0__storage_) + flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; + [localDescriptor setupContainingMessageClass:GPBObjCClass(GetAssetLockOutpointInfoRequest)]; + #if defined(DEBUG) && DEBUG + NSAssert(descriptor == nil, @"Startup recursed!"); + #endif // DEBUG + descriptor = localDescriptor; + } + return descriptor; +} + +@end + +#pragma mark - GetAssetLockOutpointInfoResponse + +@implementation GetAssetLockOutpointInfoResponse + +@dynamic versionOneOfCase; +@dynamic v0; + +typedef struct GetAssetLockOutpointInfoResponse__storage_ { + uint32_t _has_storage_[2]; + GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 *v0; +} GetAssetLockOutpointInfoResponse__storage_; + +// This method is threadsafe because it is initially called +// in +initialize for each subclass. ++ (GPBDescriptor *)descriptor { + static GPBDescriptor *descriptor = nil; + if (!descriptor) { + static GPBMessageFieldDescription fields[] = { + { + .name = "v0", + .dataTypeSpecific.clazz = GPBObjCClass(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0), + .number = GetAssetLockOutpointInfoResponse_FieldNumber_V0, + .hasIndex = -1, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoResponse__storage_, v0), + .flags = GPBFieldOptional, + .dataType = GPBDataTypeMessage, + }, + }; + GPBDescriptor *localDescriptor = + [GPBDescriptor allocDescriptorForClass:[GetAssetLockOutpointInfoResponse class] + rootClass:[PlatformRoot class] + file:PlatformRoot_FileDescriptor() + fields:fields + fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) + storageSize:sizeof(GetAssetLockOutpointInfoResponse__storage_) + flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; + static const char *oneofs[] = { + "version", + }; + [localDescriptor setupOneofs:oneofs + count:(uint32_t)(sizeof(oneofs) / sizeof(char*)) + firstHasIndex:-1]; + #if defined(DEBUG) && DEBUG + NSAssert(descriptor == nil, @"Startup recursed!"); + #endif // DEBUG + descriptor = localDescriptor; + } + return descriptor; +} + +@end + +void GetAssetLockOutpointInfoResponse_ClearVersionOneOfCase(GetAssetLockOutpointInfoResponse *message) { + GPBDescriptor *descriptor = [GetAssetLockOutpointInfoResponse descriptor]; + GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0]; + GPBClearOneof(message, oneof); +} +#pragma mark - Enum GetAssetLockOutpointInfoResponse_Status + +GPBEnumDescriptor *GetAssetLockOutpointInfoResponse_Status_EnumDescriptor(void) { + static _Atomic(GPBEnumDescriptor*) descriptor = nil; + if (!descriptor) { + static const char *valueNames = + "StatusUnspecified\000NotPresent\000PartiallyCo" + "nsumed\000FullyConsumed\000"; + static const int32_t values[] = { + GetAssetLockOutpointInfoResponse_Status_StatusUnspecified, + GetAssetLockOutpointInfoResponse_Status_NotPresent, + GetAssetLockOutpointInfoResponse_Status_PartiallyConsumed, + GetAssetLockOutpointInfoResponse_Status_FullyConsumed, + }; + GPBEnumDescriptor *worker = + [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GetAssetLockOutpointInfoResponse_Status) + valueNames:valueNames + values:values + count:(uint32_t)(sizeof(values) / sizeof(int32_t)) + enumVerifier:GetAssetLockOutpointInfoResponse_Status_IsValidValue]; + GPBEnumDescriptor *expected = nil; + if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) { + [worker release]; + } + } + return descriptor; +} + +BOOL GetAssetLockOutpointInfoResponse_Status_IsValidValue(int32_t value__) { + switch (value__) { + case GetAssetLockOutpointInfoResponse_Status_StatusUnspecified: + case GetAssetLockOutpointInfoResponse_Status_NotPresent: + case GetAssetLockOutpointInfoResponse_Status_PartiallyConsumed: + case GetAssetLockOutpointInfoResponse_Status_FullyConsumed: + return YES; + default: + return NO; + } +} + +#pragma mark - GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo + +@implementation GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo + +@dynamic status; +@dynamic hasRemainingCredits, remainingCredits; + +typedef struct GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo__storage_ { + uint32_t _has_storage_[1]; + GetAssetLockOutpointInfoResponse_Status status; + uint64_t remainingCredits; +} GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo__storage_; + +// This method is threadsafe because it is initially called +// in +initialize for each subclass. ++ (GPBDescriptor *)descriptor { + static GPBDescriptor *descriptor = nil; + if (!descriptor) { + static GPBMessageFieldDescription fields[] = { + { + .name = "status", + .dataTypeSpecific.enumDescFunc = GetAssetLockOutpointInfoResponse_Status_EnumDescriptor, + .number = GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber_Status, + .hasIndex = 0, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo__storage_, status), + .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero), + .dataType = GPBDataTypeEnum, + }, + { + .name = "remainingCredits", + .dataTypeSpecific.clazz = Nil, + .number = GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber_RemainingCredits, + .hasIndex = 1, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo__storage_, remainingCredits), + .flags = GPBFieldOptional, + .dataType = GPBDataTypeUInt64, + }, + }; + GPBDescriptor *localDescriptor = + [GPBDescriptor allocDescriptorForClass:[GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo class] + rootClass:[PlatformRoot class] + file:PlatformRoot_FileDescriptor() + fields:fields + fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) + storageSize:sizeof(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo__storage_) + flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; + [localDescriptor setupContainingMessageClass:GPBObjCClass(GetAssetLockOutpointInfoResponse)]; + #if defined(DEBUG) && DEBUG + NSAssert(descriptor == nil, @"Startup recursed!"); + #endif // DEBUG + descriptor = localDescriptor; + } + return descriptor; +} + +@end + +int32_t GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_Status_RawValue(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo *message) { + GPBDescriptor *descriptor = [GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo descriptor]; + GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber_Status]; + return GPBGetMessageRawEnumField(message, field); +} + +void SetGetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_Status_RawValue(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo *message, int32_t value) { + GPBDescriptor *descriptor = [GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo descriptor]; + GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo_FieldNumber_Status]; + GPBSetMessageRawEnumField(message, field, value); +} + +#pragma mark - GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 + +@implementation GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 + +@dynamic resultOneOfCase; +@dynamic assetLockOutpointInfo; +@dynamic proof; +@dynamic hasMetadata, metadata; + +typedef struct GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0__storage_ { + uint32_t _has_storage_[2]; + GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo *assetLockOutpointInfo; + Proof *proof; + ResponseMetadata *metadata; +} GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0__storage_; + +// This method is threadsafe because it is initially called +// in +initialize for each subclass. ++ (GPBDescriptor *)descriptor { + static GPBDescriptor *descriptor = nil; + if (!descriptor) { + static GPBMessageFieldDescription fields[] = { + { + .name = "assetLockOutpointInfo", + .dataTypeSpecific.clazz = GPBObjCClass(GetAssetLockOutpointInfoResponse_AssetLockOutpointInfo), + .number = GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber_AssetLockOutpointInfo, + .hasIndex = -1, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0__storage_, assetLockOutpointInfo), + .flags = GPBFieldOptional, + .dataType = GPBDataTypeMessage, + }, + { + .name = "proof", + .dataTypeSpecific.clazz = GPBObjCClass(Proof), + .number = GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber_Proof, + .hasIndex = -1, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0__storage_, proof), + .flags = GPBFieldOptional, + .dataType = GPBDataTypeMessage, + }, + { + .name = "metadata", + .dataTypeSpecific.clazz = GPBObjCClass(ResponseMetadata), + .number = GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_FieldNumber_Metadata, + .hasIndex = 0, + .offset = (uint32_t)offsetof(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0__storage_, metadata), + .flags = GPBFieldOptional, + .dataType = GPBDataTypeMessage, + }, + }; + GPBDescriptor *localDescriptor = + [GPBDescriptor allocDescriptorForClass:[GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 class] + rootClass:[PlatformRoot class] + file:PlatformRoot_FileDescriptor() + fields:fields + fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) + storageSize:sizeof(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0__storage_) + flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; + static const char *oneofs[] = { + "result", + }; + [localDescriptor setupOneofs:oneofs + count:(uint32_t)(sizeof(oneofs) / sizeof(char*)) + firstHasIndex:-1]; + [localDescriptor setupContainingMessageClass:GPBObjCClass(GetAssetLockOutpointInfoResponse)]; + #if defined(DEBUG) && DEBUG + NSAssert(descriptor == nil, @"Startup recursed!"); + #endif // DEBUG + descriptor = localDescriptor; + } + return descriptor; +} + +@end + +void GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0_ClearResultOneOfCase(GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 *message) { + GPBDescriptor *descriptor = [GetAssetLockOutpointInfoResponse_GetAssetLockOutpointInfoResponseV0 descriptor]; + GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0]; + GPBClearOneof(message, oneof); +} #pragma mark - GetDataContractsLatestVersionsResponse @implementation GetDataContractsLatestVersionsResponse diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h index 775380a36b1..9566b93b8e7 100644 --- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h +++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h @@ -24,6 +24,8 @@ @class GetAddressesInfosResponse; @class GetAddressesTrunkStateRequest; @class GetAddressesTrunkStateResponse; +@class GetAssetLockOutpointInfoRequest; +@class GetAssetLockOutpointInfoResponse; @class GetBlocksRequest; @class GetBlocksResponse; @class GetConsensusParamsRequest; @@ -263,6 +265,10 @@ NS_ASSUME_NONNULL_BEGIN - (GRPCUnaryProtoCall *)getDataContractsLatestVersionsWithMessage:(GetDataContractsLatestVersionsRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions; +#pragma mark getAssetLockOutpointInfo(GetAssetLockOutpointInfoRequest) returns (GetAssetLockOutpointInfoResponse) + +- (GRPCUnaryProtoCall *)getAssetLockOutpointInfoWithMessage:(GetAssetLockOutpointInfoRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions; + #pragma mark getDataContracts(GetDataContractsRequest) returns (GetDataContractsResponse) - (GRPCUnaryProtoCall *)getDataContractsWithMessage:(GetDataContractsRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions; @@ -682,6 +688,13 @@ NS_ASSUME_NONNULL_BEGIN - (GRPCProtoCall *)RPCTogetDataContractsLatestVersionsWithRequest:(GetDataContractsLatestVersionsRequest *)request handler:(void(^)(GetDataContractsLatestVersionsResponse *_Nullable response, NSError *_Nullable error))handler; +#pragma mark getAssetLockOutpointInfo(GetAssetLockOutpointInfoRequest) returns (GetAssetLockOutpointInfoResponse) + +- (void)getAssetLockOutpointInfoWithRequest:(GetAssetLockOutpointInfoRequest *)request handler:(void(^)(GetAssetLockOutpointInfoResponse *_Nullable response, NSError *_Nullable error))handler; + +- (GRPCProtoCall *)RPCTogetAssetLockOutpointInfoWithRequest:(GetAssetLockOutpointInfoRequest *)request handler:(void(^)(GetAssetLockOutpointInfoResponse *_Nullable response, NSError *_Nullable error))handler; + + #pragma mark getDataContracts(GetDataContractsRequest) returns (GetDataContractsResponse) - (void)getDataContractsWithRequest:(GetDataContractsRequest *)request handler:(void(^)(GetDataContractsResponse *_Nullable response, NSError *_Nullable error))handler; diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m index d554a852e89..d28462f1013 100644 --- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m +++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m @@ -383,6 +383,26 @@ - (GRPCUnaryProtoCall *)getDataContractsLatestVersionsWithMessage:(GetDataContra responseClass:[GetDataContractsLatestVersionsResponse class]]; } +#pragma mark getAssetLockOutpointInfo(GetAssetLockOutpointInfoRequest) returns (GetAssetLockOutpointInfoResponse) + +- (void)getAssetLockOutpointInfoWithRequest:(GetAssetLockOutpointInfoRequest *)request handler:(void(^)(GetAssetLockOutpointInfoResponse *_Nullable response, NSError *_Nullable error))handler{ + [[self RPCTogetAssetLockOutpointInfoWithRequest:request handler:handler] start]; +} +// Returns a not-yet-started RPC object. +- (GRPCProtoCall *)RPCTogetAssetLockOutpointInfoWithRequest:(GetAssetLockOutpointInfoRequest *)request handler:(void(^)(GetAssetLockOutpointInfoResponse *_Nullable response, NSError *_Nullable error))handler{ + return [self RPCToMethod:@"getAssetLockOutpointInfo" + requestsWriter:[GRXWriter writerWithValue:request] + responseClass:[GetAssetLockOutpointInfoResponse class] + responsesWriteable:[GRXWriteable writeableWithSingleHandler:handler]]; +} +- (GRPCUnaryProtoCall *)getAssetLockOutpointInfoWithMessage:(GetAssetLockOutpointInfoRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions { + return [self RPCToMethod:@"getAssetLockOutpointInfo" + message:message + responseHandler:handler + callOptions:callOptions + responseClass:[GetAssetLockOutpointInfoResponse class]]; +} + #pragma mark getDataContracts(GetDataContractsRequest) returns (GetDataContractsResponse) - (void)getDataContractsWithRequest:(GetDataContractsRequest *)request handler:(void(^)(GetDataContractsResponse *_Nullable response, NSError *_Nullable error))handler{ diff --git a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py index ddcf3317116..3fb85e0039a 100644 --- a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py +++ b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py @@ -23,7 +23,7 @@ syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0eplatform.proto\x12\x19org.dash.platform.dapi.v0\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x01\n\x05Proof\x12\x15\n\rgrovedb_proof\x18\x01 \x01(\x0c\x12\x13\n\x0bquorum_hash\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\r\n\x05round\x18\x04 \x01(\r\x12\x15\n\rblock_id_hash\x18\x05 \x01(\x0c\x12\x13\n\x0bquorum_type\x18\x06 \x01(\r\"\x98\x01\n\x10ResponseMetadata\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x02 \x01(\r\x12\r\n\x05\x65poch\x18\x03 \x01(\r\x12\x13\n\x07time_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x10protocol_version\x18\x05 \x01(\r\x12\x10\n\x08\x63hain_id\x18\x06 \x01(\t\"L\n\x1dStateTransitionBroadcastError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\";\n\x1f\x42roadcastStateTransitionRequest\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\"\"\n BroadcastStateTransitionResponse\"\xa4\x01\n\x12GetIdentityRequest\x12P\n\x02v0\x18\x01 \x01(\x0b\x32\x42.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0H\x00\x1a\x31\n\x14GetIdentityRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xc1\x01\n\x17GetIdentityNonceRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0H\x00\x1a?\n\x19GetIdentityNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf6\x01\n\x1fGetIdentityContractNonceRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0H\x00\x1a\\\n!GetIdentityContractNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xc0\x01\n\x19GetIdentityBalanceRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0H\x00\x1a\x38\n\x1bGetIdentityBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xec\x01\n$GetIdentityBalanceAndRevisionRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0H\x00\x1a\x43\n&GetIdentityBalanceAndRevisionRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9e\x02\n\x13GetIdentityResponse\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0H\x00\x1a\xa7\x01\n\x15GetIdentityResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbc\x02\n\x18GetIdentityNonceResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0H\x00\x1a\xb6\x01\n\x1aGetIdentityNonceResponseV0\x12\x1c\n\x0eidentity_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe5\x02\n GetIdentityContractNonceResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0H\x00\x1a\xc7\x01\n\"GetIdentityContractNonceResponseV0\x12%\n\x17identity_contract_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x8e\x02\n&GetIdentityKeysRemainingBudgetsRequest\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsRequest.GetIdentityKeysRemainingBudgetsRequestV0H\x00\x1a_\n(GetIdentityKeysRemainingBudgetsRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x0f\n\x07key_ids\x18\x02 \x03(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x96\x06\n\'GetIdentityKeysRemainingBudgetsResponse\x12z\n\x02v0\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse.GetIdentityKeysRemainingBudgetsResponseV0H\x00\x1a\xe3\x04\n)GetIdentityKeysRemainingBudgetsResponseV0\x12\xa4\x01\n\x16keys_remaining_budgets\x18\x01 \x01(\x0b\x32\x81\x01.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse.GetIdentityKeysRemainingBudgetsResponseV0.KeysRemainingBudgetsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x61\n\x17KeyRemainingBudgetEntry\x12\x0e\n\x06key_id\x18\x01 \x01(\r\x12!\n\x10remaining_budget\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x13\n\x11_remaining_budget\x1a\xaf\x01\n\x14KeysRemainingBudgets\x12\x96\x01\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse.GetIdentityKeysRemainingBudgetsResponseV0.KeyRemainingBudgetEntryB\x08\n\x06resultB\t\n\x07version\"\xbd\x02\n\x1aGetIdentityBalanceResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.GetIdentityBalanceResponseV0H\x00\x1a\xb1\x01\n\x1cGetIdentityBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb1\x04\n%GetIdentityBalanceAndRevisionResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0H\x00\x1a\x84\x03\n\'GetIdentityBalanceAndRevisionResponseV0\x12\x9b\x01\n\x14\x62\x61lance_and_revision\x18\x01 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0.BalanceAndRevisionH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x12\x42\x61lanceAndRevision\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06resultB\t\n\x07version\"\xd1\x01\n\x0eKeyRequestType\x12\x36\n\x08\x61ll_keys\x18\x01 \x01(\x0b\x32\".org.dash.platform.dapi.v0.AllKeysH\x00\x12@\n\rspecific_keys\x18\x02 \x01(\x0b\x32\'.org.dash.platform.dapi.v0.SpecificKeysH\x00\x12:\n\nsearch_key\x18\x03 \x01(\x0b\x32$.org.dash.platform.dapi.v0.SearchKeyH\x00\x42\t\n\x07request\"\t\n\x07\x41llKeys\"\x1f\n\x0cSpecificKeys\x12\x0f\n\x07key_ids\x18\x01 \x03(\r\"\xb6\x01\n\tSearchKey\x12I\n\x0bpurpose_map\x18\x01 \x03(\x0b\x32\x34.org.dash.platform.dapi.v0.SearchKey.PurposeMapEntry\x1a^\n\x0fPurposeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.org.dash.platform.dapi.v0.SecurityLevelMap:\x02\x38\x01\"\xbf\x02\n\x10SecurityLevelMap\x12]\n\x12security_level_map\x18\x01 \x03(\x0b\x32\x41.org.dash.platform.dapi.v0.SecurityLevelMap.SecurityLevelMapEntry\x1aw\n\x15SecurityLevelMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12M\n\x05value\x18\x02 \x01(\x0e\x32>.org.dash.platform.dapi.v0.SecurityLevelMap.KeyKindRequestType:\x02\x38\x01\"S\n\x12KeyKindRequestType\x12\x1f\n\x1b\x43URRENT_KEY_OF_KIND_REQUEST\x10\x00\x12\x1c\n\x18\x41LL_KEYS_OF_KIND_REQUEST\x10\x01\"\xda\x02\n\x16GetIdentityKeysRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetIdentityKeysRequest.GetIdentityKeysRequestV0H\x00\x1a\xda\x01\n\x18GetIdentityKeysRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12?\n\x0crequest_type\x18\x02 \x01(\x0b\x32).org.dash.platform.dapi.v0.KeyRequestType\x12+\n\x05limit\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\x99\x03\n\x17GetIdentityKeysResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0H\x00\x1a\x96\x02\n\x19GetIdentityKeysResponseV0\x12\x61\n\x04keys\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0.KeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x04Keys\x12\x12\n\nkeys_bytes\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xef\x02\n GetIdentitiesContractKeysRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0H\x00\x1a\xd1\x01\n\"GetIdentitiesContractKeysRequestV0\x12\x16\n\x0eidentities_ids\x18\x01 \x03(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\x1f\n\x12\x64ocument_type_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x08purposes\x18\x04 \x03(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x15\n\x13_document_type_nameB\t\n\x07version\"\xdf\x06\n!GetIdentitiesContractKeysResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0H\x00\x1a\xbe\x05\n#GetIdentitiesContractKeysResponseV0\x12\x8a\x01\n\x0fidentities_keys\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aY\n\x0bPurposeKeys\x12\x36\n\x07purpose\x18\x01 \x01(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\x12\n\nkeys_bytes\x18\x02 \x03(\x0c\x1a\x9f\x01\n\x0cIdentityKeys\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12z\n\x04keys\x18\x02 \x03(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys\x1a\x90\x01\n\x0eIdentitiesKeys\x12~\n\x07\x65ntries\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeysB\x08\n\x06resultB\t\n\x07version\"\xa4\x02\n*GetEvonodesProposedEpochBlocksByIdsRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0H\x00\x1ah\n,GetEvonodesProposedEpochBlocksByIdsRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0b\n\x03ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x08\n\x06_epochB\t\n\x07version\"\x92\x06\n&GetEvonodesProposedEpochBlocksResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0H\x00\x1a\xe2\x04\n(GetEvonodesProposedEpochBlocksResponseV0\x12\xb1\x01\n#evonodes_proposed_block_counts_info\x18\x01 \x01(\x0b\x32\x81\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocksH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x15\x45vonodeProposedBlocks\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x02 \x01(\x04\x42\x02\x30\x01\x1a\xc4\x01\n\x16\x45vonodesProposedBlocks\x12\xa9\x01\n\x1e\x65vonodes_proposed_block_counts\x18\x01 \x03(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodeProposedBlocksB\x08\n\x06resultB\t\n\x07version\"\xf2\x02\n,GetEvonodesProposedEpochBlocksByRangeRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0H\x00\x1a\xaf\x01\n.GetEvonodesProposedEpochBlocksByRangeRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x03 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x04 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x07\n\x05startB\x08\n\x06_epochB\x08\n\x06_limitB\t\n\x07version\"\xcd\x01\n\x1cGetIdentitiesBalancesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0H\x00\x1a<\n\x1eGetIdentitiesBalancesRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9f\x05\n\x1dGetIdentitiesBalancesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0H\x00\x1a\x8a\x04\n\x1fGetIdentitiesBalancesResponseV0\x12\x8a\x01\n\x13identities_balances\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentitiesBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aL\n\x0fIdentityBalance\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x18\n\x07\x62\x61lance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x8f\x01\n\x12IdentitiesBalances\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentityBalanceB\x08\n\x06resultB\t\n\x07version\"\xb4\x01\n\x16GetDataContractRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetDataContractRequest.GetDataContractRequestV0H\x00\x1a\x35\n\x18GetDataContractRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xb3\x02\n\x17GetDataContractResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0H\x00\x1a\xb0\x01\n\x19GetDataContractResponseV0\x12\x17\n\rdata_contract\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x8c\x02\n%GetDataContractsLatestVersionsRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0H\x00\x1a`\n\'GetDataContractsLatestVersionsRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\x19\n\x11include_contracts\x18\x02 \x01(\x08\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xfa\x05\n&GetDataContractsLatestVersionsResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0H\x00\x1a\x84\x01\n\x1e\x44\x61taContractLatestVersionEntry\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x14\n\x07version\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1a\n\rdata_contract\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x42\n\n\x08_versionB\x10\n\x0e_data_contract\x1a\x90\x01\n\x1b\x44\x61taContractsLatestVersions\x12q\n\x07\x65ntries\x18\x01 \x03(\x0b\x32`.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry\x1a\xb0\x02\n(GetDataContractsLatestVersionsResponseV0\x12\x87\x01\n\x1e\x64\x61ta_contracts_latest_versions\x18\x01 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"R\n\x1f\x43ontractGroupDocumentTypeMember\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\"G\n\x18\x43ontractGroupTokenMember\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x16\n\x0etoken_position\x18\x02 \x01(\r\"\xd7\x01\n\x1bGetContractGroupInfoRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetContractGroupInfoRequest.GetContractGroupInfoRequestV0H\x00\x1aI\n\x1dGetContractGroupInfoRequestV0\x12\x19\n\x11\x63ontract_group_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x98\x04\n\x1cGetContractGroupInfoResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetContractGroupInfoResponse.GetContractGroupInfoResponseV0H\x00\x1a~\n\x11\x43ontractGroupInfo\x12\x10\n\x08owner_id\x18\x01 \x01(\x0c\x12\x11\n\tadmin_ids\x18\x02 \x03(\x0c\x12\x11\n\x04name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\x1a\x86\x02\n\x1eGetContractGroupInfoResponseV0\x12h\n\x13\x63ontract_group_info\x18\x01 \x01(\x0b\x32I.org.dash.platform.dapi.v0.GetContractGroupInfoResponse.ContractGroupInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf8\x06\n\x1eGetContractGroupMembersRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.GetContractGroupMembersRequestV0H\x00\x1a@\n\x14\x43ontractMembersQuery\x12\x18\n\x0bstart_after\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0e\n\x0c_start_after\x1a\x80\x01\n\x18\x44ocumentTypeMembersQuery\x12T\n\x0bstart_after\x18\x01 \x01(\x0b\x32:.org.dash.platform.dapi.v0.ContractGroupDocumentTypeMemberH\x00\x88\x01\x01\x42\x0e\n\x0c_start_after\x1ar\n\x11TokenMembersQuery\x12M\n\x0bstart_after\x18\x01 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractGroupTokenMemberH\x00\x88\x01\x01\x42\x0e\n\x0c_start_after\x1a\xa7\x03\n GetContractGroupMembersRequestV0\x12\x19\n\x11\x63ontract_group_id\x18\x01 \x01(\x0c\x12\x63\n\tcontracts\x18\x02 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.ContractMembersQueryH\x00\x12l\n\x0e\x64ocument_types\x18\x03 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.DocumentTypeMembersQueryH\x00\x12]\n\x06tokens\x18\x04 \x01(\x0b\x32K.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.TokenMembersQueryH\x00\x12\x12\n\x05limit\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x42\t\n\x07membersB\x08\n\x06_limitB\t\n\x07version\"\xc9\x06\n\x1fGetContractGroupMembersResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.GetContractGroupMembersResponseV0H\x00\x1a\'\n\x0f\x43ontractMembers\x12\x14\n\x0c\x63ontract_ids\x18\x01 \x03(\x0c\x1ai\n\x13\x44ocumentTypeMembers\x12R\n\x0e\x64ocument_types\x18\x01 \x03(\x0b\x32:.org.dash.platform.dapi.v0.ContractGroupDocumentTypeMember\x1aS\n\x0cTokenMembers\x12\x43\n\x06tokens\x18\x01 \x03(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractGroupTokenMember\x1a\xc5\x03\n!GetContractGroupMembersResponseV0\x12_\n\tcontracts\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.ContractMembersH\x00\x12h\n\x0e\x64ocument_types\x18\x02 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.DocumentTypeMembersH\x00\x12Y\n\x06tokens\x18\x03 \x01(\x0b\x32G.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.TokenMembersH\x00\x12\x31\n\x05proof\x18\x04 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x05 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"M\n\x1a\x43ontractModerationDocument\x12\x1a\n\x12\x64ocument_type_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\x0c\"\xc6\x01\n\x18\x43ontractModerationReason\x12\x11\n\x04\x63ode\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04text\x18\x02 \x01(\t\x12H\n\tdocuments\x18\x03 \x03(\x0b\x32\x35.org.dash.platform.dapi.v0.ContractModerationDocument\x12\x1f\n\x12reason_document_id\x18\x04 \x01(\x0cH\x01\x88\x01\x01\x42\x07\n\x05_codeB\x15\n\x13_reason_document_id\"i\n\x0f\x43ontractWarning\x12\x11\n\twarned_at\x18\x01 \x01(\x04\x12\x43\n\x06reason\x18\x02 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReason\"\xc5\x02\n\"GetContractModerationStatusRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetContractModerationStatusRequest.GetContractModerationStatusRequestV0H\x00\x1a\xa1\x01\n$GetContractModerationStatusRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x13\n\x0bidentity_id\x18\x02 \x01(\x0c\x12@\n\x05lists\x18\x03 \x03(\x0e\x32\x31.org.dash.platform.dapi.v0.ContractModerationList\x12\r\n\x05prove\x18\x04 \x01(\x08\x42\t\n\x07version\"\xec\x06\n#GetContractModerationStatusResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.GetContractModerationStatusResponseV0H\x00\x1a\xb4\x03\n\x18\x43ontractModerationStatus\x12\x13\n\x06\x62\x61nned\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x0fsuspended_until\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12@\n\x05lists\x18\x03 \x03(\x0e\x32\x31.org.dash.platform.dapi.v0.ContractModerationList\x12L\n\nban_reason\x18\x04 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReasonH\x02\x88\x01\x01\x12S\n\x11suspension_reason\x18\x05 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReasonH\x03\x88\x01\x01\x12<\n\x08warnings\x18\x06 \x03(\x0b\x32*.org.dash.platform.dapi.v0.ContractWarningB\t\n\x07_bannedB\x12\n\x10_suspended_untilB\r\n\x0b_ban_reasonB\x14\n\x12_suspension_reason\x1a\x8e\x02\n%GetContractModerationStatusResponseV0\x12i\n\x06status\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatusH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xfb\x02\n#GetContractModerationEntriesRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractModerationEntriesRequest.GetContractModerationEntriesRequestV0H\x00\x1a\xd4\x01\n%GetContractModerationEntriesRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12?\n\x04list\x18\x02 \x01(\x0e\x32\x31.org.dash.platform.dapi.v0.ContractModerationList\x12\x18\n\x0bstart_after\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x0e\n\x0c_start_afterB\x08\n\x06_limitB\t\n\x07version\"\x96\x06\n$GetContractModerationEntriesResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.GetContractModerationEntriesResponseV0H\x00\x1a\xcf\x01\n\x17\x43ontractModerationEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x12\n\x05until\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x43\n\x06reason\x18\x03 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReason\x12<\n\x08warnings\x18\x04 \x03(\x0b\x32*.org.dash.platform.dapi.v0.ContractWarningB\x08\n\x06_until\x1a\x85\x01\n\x19\x43ontractModerationEntries\x12h\n\x07\x65ntries\x18\x01 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry\x1a\x92\x02\n&GetContractModerationEntriesResponseV0\x12l\n\x07\x65ntries\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x04\n\"GetContractDocumentRemovalsRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest.GetContractDocumentRemovalsRequestV0H\x00\x1a#\n\x0b\x44ocumentIds\x12\x14\n\x0c\x64ocument_ids\x18\x01 \x03(\x0c\x1aN\n\x04Page\x12\x18\n\x0bstart_after\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x01\x88\x01\x01\x42\x0e\n\x0c_start_afterB\x08\n\x06_limit\x1a\xaa\x02\n$GetContractDocumentRemovalsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x61\n\x0c\x64ocument_ids\x18\x03 \x01(\x0b\x32I.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest.DocumentIdsH\x00\x12R\n\x04page\x18\x04 \x01(\x0b\x32\x42.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest.PageH\x00\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x0b\n\tselectionB\t\n\x07version\"\xe0\x07\n#GetContractDocumentRemovalsResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.GetContractDocumentRemovalsResponseV0H\x00\x1aH\n\x1b\x43ontractDocumentRestoration\x12\x14\n\x0cmoderator_id\x18\x01 \x01(\x0c\x12\x13\n\x0brestored_at\x18\x02 \x01(\x04\x1a\xd5\x02\n\x17\x43ontractDocumentRemoval\x12\x13\n\x0b\x64ocument_id\x18\x01 \x01(\x0c\x12\x19\n\x11\x64ocument_owner_id\x18\x02 \x01(\x0c\x12\x14\n\x0cmoderator_id\x18\x03 \x01(\x0c\x12\x12\n\nremoved_at\x18\x04 \x01(\x04\x12\x43\n\x06reason\x18\x05 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReason\x12\x15\n\rdocument_hash\x18\x06 \x01(\x0c\x12o\n\x0brestoration\x18\x07 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration\x12\x13\n\x0bkept_fields\x18\x08 \x01(\x0c\x1a\x84\x01\n\x18\x43ontractDocumentRemovals\x12h\n\x08removals\x18\x01 \x03(\x0b\x32V.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval\x1a\x90\x02\n%GetContractDocumentRemovalsResponseV0\x12k\n\x08removals\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemovalsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc7\x04\n\x1dGetContractTeamActionsRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContractTeamActionsRequest.GetContractTeamActionsRequestV0H\x00\x1aL\n\x0fStartAtActionId\x12\x17\n\x0fstart_action_id\x18\x01 \x01(\x0c\x12 \n\x18start_action_id_included\x18\x02 \x01(\x08\x1a\xbc\x02\n\x1fGetContractTeamActionsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12U\n\x06status\x18\x02 \x01(\x0e\x32\x45.org.dash.platform.dapi.v0.GetContractTeamActionsRequest.ActionStatus\x12i\n\x12start_at_action_id\x18\x03 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetContractTeamActionsRequest.StartAtActionIdH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x15\n\x13_start_at_action_idB\x08\n\x06_count\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\xe0\x07\n\x1eGetContractTeamActionsResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.GetContractTeamActionsResponseV0H\x00\x1a\xe6\x01\n\x15\x44\x65leteSettledDocument\x12\x1a\n\x12\x64ocument_type_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\x0c\x12!\n\x19\x64ocument_last_modified_at\x18\x03 \x01(\x04\x12\x1e\n\x11\x64ocument_revision\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x43\n\x06reason\x18\x05 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReasonB\x14\n\x12_document_revision\x1a\xe6\x01\n\x12\x43ontractTeamAction\x12\x11\n\taction_id\x18\x01 \x01(\x0c\x12\x13\n\x0bproposer_id\x18\x02 \x01(\x0c\x12\x13\n\x0bproposed_at\x18\x03 \x01(\x04\x12r\n\x17\x64\x65lete_settled_document\x18\x04 \x01(\x0b\x32O.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.DeleteSettledDocumentH\x00\x12\x16\n\x0e\x61pproval_count\x18\x05 \x01(\rB\x07\n\x05\x65vent\x1at\n\x13\x43ontractTeamActions\x12]\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32L.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.ContractTeamAction\x1a\x80\x02\n GetContractTeamActionsResponseV0\x12`\n\x07\x61\x63tions\x18\x01 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.ContractTeamActionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x8a\x03\n#GetContractTeamActionSignersRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractTeamActionSignersRequest.GetContractTeamActionSignersRequestV0H\x00\x1a\xbb\x01\n%GetContractTeamActionSignersRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12[\n\x06status\x18\x02 \x01(\x0e\x32K.org.dash.platform.dapi.v0.GetContractTeamActionSignersRequest.ActionStatus\x12\x11\n\taction_id\x18\x03 \x01(\x0c\x12\r\n\x05prove\x18\x04 \x01(\x08\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\xed\x03\n$GetContractTeamActionSignersResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContractTeamActionSignersResponse.GetContractTeamActionSignersResponseV0H\x00\x1a/\n\x19\x43ontractTeamActionSigners\x12\x12\n\nsigner_ids\x18\x01 \x03(\x0c\x1a\x92\x02\n&GetContractTeamActionSignersResponseV0\x12l\n\x07signers\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetContractTeamActionSignersResponse.ContractTeamActionSignersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x85\x02\n(GetContractModerationActionCountsRequest\x12|\n\x02v0\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetContractModerationActionCountsRequest.GetContractModerationActionCountsRequestV0H\x00\x1aP\n*GetContractModerationActionCountsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xb5\x05\n)GetContractModerationActionCountsResponse\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse.GetContractModerationActionCountsResponseV0H\x00\x1a\x43\n\x1d\x43ontractModerationActionCount\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x1a\x94\x01\n\x1e\x43ontractModerationActionCounts\x12r\n\x06\x63ounts\x18\x01 \x03(\x0b\x32\x62.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse.ContractModerationActionCount\x1a\xa0\x02\n+GetContractModerationActionCountsResponseV0\x12u\n\x06\x63ounts\x18\x01 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse.ContractModerationActionCountsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc9\x01\n\x19GetContractFeePotsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetContractFeePotsRequest.GetContractFeePotsRequestV0H\x00\x1a\x41\n\x1bGetContractFeePotsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9f\x06\n\x1aGetContractFeePotsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetContractFeePotsResponse.GetContractFeePotsResponseV0H\x00\x1aR\n\x17\x43ontractFeePotLastClaim\x12\r\n\x05\x65poch\x18\x01 \x01(\r\x12\x13\n\x07time_ms\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x63laimant_id\x18\x03 \x01(\x0c\x1a\x88\x01\n\x0e\x43ontractFeePot\x12\x13\n\x07\x63redits\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x61\n\nlast_claim\x18\x02 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePotLastClaim\x1a\xc0\x01\n\x0f\x43ontractFeePots\x12S\n\x05owner\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePot\x12X\n\nmoderators\x18\x02 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePot\x1a\xf1\x01\n\x1cGetContractFeePotsResponseV0\x12U\n\x04pots\x18\x01 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePotsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf1\x01\n#GetContractGroupsForContractRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractGroupsForContractRequest.GetContractGroupsForContractRequestV0H\x00\x1aK\n%GetContractGroupsForContractRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf5\x06\n$GetContractGroupsForContractResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.GetContractGroupsForContractResponseV0H\x00\x1aQ\n\x17\x44ocumentTypeMemberships\x12\x1a\n\x12\x64ocument_type_name\x18\x01 \x01(\t\x12\x1a\n\x12\x63ontract_group_ids\x18\x02 \x03(\x0c\x1a\x46\n\x10TokenMemberships\x12\x16\n\x0etoken_position\x18\x01 \x01(\r\x12\x1a\n\x12\x63ontract_group_ids\x18\x02 \x03(\x0c\x1a\x89\x02\n\x18\x43ontractGroupMemberships\x12\x1a\n\x12\x63ontract_group_ids\x18\x01 \x03(\x0c\x12o\n\x0e\x64ocument_types\x18\x02 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.DocumentTypeMemberships\x12`\n\x06tokens\x18\x03 \x03(\x0b\x32P.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.TokenMemberships\x1a\xa4\x02\n&GetContractGroupsForContractResponseV0\x12~\n\x1a\x63ontract_group_memberships\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.ContractGroupMembershipsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb9\x01\n\x17GetDataContractsRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0H\x00\x1a\x37\n\x19GetDataContractsRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xad\x02\n\x1eGetDataContractsByRangeRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0H\x00\x1a\x95\x01\n GetDataContractsByRangeRequestV0\x12\x12\n\x05limit\x18\x01 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x03 \x01(\x0cH\x00\x12\x10\n\x08ids_only\x18\x04 \x01(\x08\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x07\n\x05startB\x08\n\x06_limitB\t\n\x07version\"\xcf\x04\n\x18GetDataContractsResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0H\x00\x1a[\n\x11\x44\x61taContractEntry\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x32\n\rdata_contract\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\x1au\n\rDataContracts\x12\x64\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32\x45.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractEntry\x1a\xf5\x01\n\x1aGetDataContractsResponseV0\x12[\n\x0e\x64\x61ta_contracts\x18\x01 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc5\x02\n\x1dGetDataContractHistoryRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.GetDataContractHistoryRequestV0H\x00\x1a\xb0\x01\n\x1fGetDataContractHistoryRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0bstart_at_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xb2\x05\n\x1eGetDataContractHistoryResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0H\x00\x1a\x9a\x04\n GetDataContractHistoryResponseV0\x12\x8f\x01\n\x15\x64\x61ta_contract_history\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a;\n\x18\x44\x61taContractHistoryEntry\x12\x10\n\x04\x64\x61te\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\xaa\x01\n\x13\x44\x61taContractHistory\x12\x92\x01\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32s.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryEntryB\x08\n\x06resultB\t\n\x07version\"\xf8\"\n\x13GetDocumentsRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0H\x00\x12R\n\x02v1\x18\x02 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1H\x00\x1a\xfe\x02\n\x12\x44ocumentFieldValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x19\n\x0bint64_value\x18\x02 \x01(\x12\x42\x02\x30\x01H\x00\x12\x1a\n\x0cuint64_value\x18\x03 \x01(\x04\x42\x02\x30\x01H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12\x0e\n\x04text\x18\x05 \x01(\tH\x00\x12\x15\n\x0b\x62ytes_value\x18\x06 \x01(\x0cH\x00\x12[\n\x04list\x18\x07 \x01(\x0b\x32K.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.ValueListH\x00\x12\x14\n\nnull_value\x18\x08 \x01(\x08H\x00\x1a^\n\tValueList\x12Q\n\x06values\x18\x01 \x03(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValueB\t\n\x07variant\x1a\xe2\x02\n\x12TimeRangeSelection\x12\\\n\x08selector\x18\x01 \x01(\x0e\x32J.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector\x12\x19\n\x08start_ms\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x12T\n\x04grid\x18\x03 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid\x1a>\n\x04Grid\x12\x11\n\x05range\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x04step\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x11\n\x05phase\x18\x03 \x01(\x04\x42\x02\x30\x01\"0\n\x08Selector\x12\n\n\x06NEWEST\x10\x00\x12\n\n\x06OLDEST\x10\x01\x12\x0c\n\x08\x42Y_START\x10\x02\x42\x0b\n\t_start_ms\x1a\x82\x02\n\x15IntegerRangeSelection\x12P\n\x05start\x18\x01 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue\x12W\n\x04grid\x18\x02 \x01(\x0b\x32I.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid\x1a>\n\x04Grid\x12\x11\n\x05range\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x04step\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x11\n\x05phase\x18\x03 \x01(\x04\x42\x02\x30\x01\x1a\xf2\x02\n\x0bWhereClause\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12N\n\x08operator\x18\x02 \x01(\x0e\x32<.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator\x12P\n\x05value\x18\x03 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue\x12U\n\ntime_range\x18\x04 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection\x12[\n\rinteger_range\x18\x05 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection\x1a\xa4\x01\n\x0fHavingAggregate\x12Y\n\x08\x66unction\x18\x01 \x01(\x0e\x32G.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function\x12\r\n\x05\x66ield\x18\x02 \x01(\t\"\'\n\x08\x46unction\x12\t\n\x05\x43OUNT\x10\x00\x12\x07\n\x03SUM\x10\x01\x12\x07\n\x03\x41VG\x10\x02\x1a\xf9\x03\n\x0cHavingClause\x12Q\n\taggregate\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate\x12V\n\x08operator\x18\x02 \x01(\x0e\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.Operator\x12R\n\x05value\x18\x03 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValueH\x00\"\xe0\x01\n\x08Operator\x12\t\n\x05\x45QUAL\x10\x00\x12\r\n\tNOT_EQUAL\x10\x01\x12\x10\n\x0cGREATER_THAN\x10\x02\x12\x1a\n\x16GREATER_THAN_OR_EQUALS\x10\x03\x12\r\n\tLESS_THAN\x10\x04\x12\x17\n\x13LESS_THAN_OR_EQUALS\x10\x05\x12\x0b\n\x07\x42\x45TWEEN\x10\x06\x12\x1a\n\x16\x42\x45TWEEN_EXCLUDE_BOUNDS\x10\x07\x12\x18\n\x14\x42\x45TWEEN_EXCLUDE_LEFT\x10\x08\x12\x19\n\x15\x42\x45TWEEN_EXCLUDE_RIGHT\x10\t\x12\x06\n\x02IN\x10\nB\x07\n\x05right\x1a\x90\x01\n\x0bOrderClause\x12\x0f\n\x05\x66ield\x18\x01 \x01(\tH\x00\x12S\n\taggregate\x18\x03 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregateH\x00\x12\x11\n\tascending\x18\x02 \x01(\x08\x42\x08\n\x06target\x1a\xbb\x01\n\x15GetDocumentsRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12\r\n\x05where\x18\x03 \x01(\x0c\x12\x10\n\x08order_by\x18\x04 \x01(\x0c\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x42\x07\n\x05start\x1a\xa6\x0c\n\x15GetDocumentsRequestV1\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12Q\n\rwhere_clauses\x18\x03 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause\x12L\n\x08order_by\x18\x04 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause\x12\x12\n\x05limit\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x12\\\n\x07selects\x18\t \x03(\x0b\x32K.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select\x12\x10\n\x08group_by\x18\n \x03(\t\x12K\n\x06having\x18\x0b \x03(\x0b\x32;.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause\x12\x13\n\x06offset\x18\x0c \x01(\rH\x02\x88\x01\x01\x12\x61\n\x07\x63hained\x18\r \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin\x12\x62\n\x0bsub_queries\x18\x0e \x03(\x0b\x32M.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery\x1a\xc9\x01\n\x06Select\x12\x66\n\x08\x66unction\x18\x01 \x01(\x0e\x32T.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select.Function\x12\r\n\x05\x66ield\x18\x02 \x01(\t\"H\n\x08\x46unction\x12\r\n\tDOCUMENTS\x10\x00\x12\t\n\x05\x43OUNT\x10\x01\x12\x07\n\x03SUM\x10\x02\x12\x07\n\x03\x41VG\x10\x03\x12\x07\n\x03MIN\x10\x04\x12\x07\n\x03MAX\x10\x05\x1a\x41\n\x0b\x43hainedJoin\x12\x15\n\rjoin_property\x18\x01 \x01(\t\x12\x1b\n\x13outer_document_type\x18\x02 \x01(\t\x1a\xa6\x04\n\x08SubQuery\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12Q\n\rwhere_clauses\x18\x03 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause\x12L\n\x08order_by\x18\x04 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause\x12\x12\n\x05limit\x18\x05 \x01(\rH\x00\x88\x01\x01\x12`\n\x04kind\x18\x06 \x01(\x0e\x32R.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind\x12\x63\n\x04\x62ind\x18\x07 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding\x1a\x41\n\x07\x42inding\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x17\n\x0fsource_property\x18\x02 \x01(\t\x12\r\n\x05\x66ield\x18\x03 \x01(\t\" \n\x04Kind\x12\r\n\tDOCUMENTS\x10\x00\x12\t\n\x05\x43OUNT\x10\x01\x42\x08\n\x06_limitB\x07\n\x05startB\x08\n\x06_limitB\t\n\x07_offset\"\xb0\x02\n\rWhereOperator\x12\t\n\x05\x45QUAL\x10\x00\x12\x10\n\x0cGREATER_THAN\x10\x01\x12\x1a\n\x16GREATER_THAN_OR_EQUALS\x10\x02\x12\r\n\tLESS_THAN\x10\x03\x12\x17\n\x13LESS_THAN_OR_EQUALS\x10\x04\x12\x0b\n\x07\x42\x45TWEEN\x10\x05\x12\x1a\n\x16\x42\x45TWEEN_EXCLUDE_BOUNDS\x10\x06\x12\x18\n\x14\x42\x45TWEEN_EXCLUDE_LEFT\x10\x07\x12\x19\n\x15\x42\x45TWEEN_EXCLUDE_RIGHT\x10\x08\x12\x06\n\x02IN\x10\t\x12\x0f\n\x0bSTARTS_WITH\x10\n\x12\x11\n\rIN_TIME_RANGE\x10\x0b\x12\x14\n\x10IN_INTEGER_RANGE\x10\x0c\x12\x0c\n\x08\x43ONTAINS\x10\r\x12\x10\n\x0c\x43ONTAINS_ANY\x10\x0e\x42\t\n\x07version\"\xd5\x1d\n\x14GetDocumentsResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0H\x00\x12T\n\x02v1\x18\x02 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1H\x00\x1a\x9b\x02\n\x16GetDocumentsResponseV0\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.DocumentsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x42\x08\n\x06result\x1a\xe7\x19\n\x16GetDocumentsResponseV1\x12\x61\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x1aL\n\nCountEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x03 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07_in_key\x1ar\n\x0c\x43ountEntries\x12\x62\n\x07\x65ntries\x18\x01 \x03(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry\x1a\xa0\x01\n\x0c\x43ountResults\x12\x1d\n\x0f\x61ggregate_count\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x66\n\x07\x65ntries\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntriesH\x00\x42\t\n\x07variant\x1aH\n\x08SumEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0f\n\x03sum\x18\x03 \x01(\x12\x42\x02\x30\x01\x42\t\n\x07_in_key\x1an\n\nSumEntries\x12`\n\x07\x65ntries\x18\x01 \x03(\x0b\x32O.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumEntry\x1a\x9a\x01\n\nSumResults\x12\x1b\n\raggregate_sum\x18\x01 \x01(\x12\x42\x02\x30\x01H\x00\x12\x64\n\x07\x65ntries\x18\x02 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumEntriesH\x00\x42\t\n\x07variant\x1a_\n\x0c\x41verageEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x0f\n\x03sum\x18\x04 \x01(\x12\x42\x02\x30\x01\x42\t\n\x07_in_key\x1av\n\x0e\x41verageEntries\x12\x64\n\x07\x65ntries\x18\x01 \x03(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageEntry\x1a\x36\n\x10\x41verageAggregate\x12\x11\n\x05\x63ount\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0f\n\x03sum\x18\x02 \x01(\x12\x42\x02\x30\x01\x1a\xfb\x01\n\x0e\x41verageResults\x12t\n\x11\x61ggregate_average\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageAggregateH\x00\x12h\n\x07\x65ntries\x18\x02 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageEntriesH\x00\x42\t\n\x07variant\x1az\n\x0bRankedEntry\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x13\n\x05\x63ount\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x11\n\x03sum\x18\x03 \x01(\x12\x42\x02\x30\x01H\x00\x12\r\n\x03\x61vg\x18\x04 \x01(\x01H\x00\x12\x13\n\x06in_key\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x42\x07\n\x05valueB\t\n\x07_in_key\x1a\x9a\x01\n\rRankedEntries\x12\x63\n\x07\x65ntries\x18\x01 \x03(\x0b\x32R.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry\x12\x18\n\x07skipped\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\n\n\x08_skipped\x1a\xf7\x05\n\nResultData\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.DocumentsH\x00\x12\x65\n\x06\x63ounts\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResultsH\x00\x12\x61\n\x04sums\x18\x03 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumResultsH\x00\x12i\n\x08\x61verages\x18\x04 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResultsH\x00\x12\x66\n\x06ranked\x18\x05 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntriesH\x00\x12j\n\x07\x63hained\x18\x06 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocumentsH\x00\x12n\n\tcomposite\x18\x07 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocumentsH\x00\x42\t\n\x07variant\x1a\xd8\x01\n\x10\x43hainedDocuments\x12\x17\n\x0finner_documents\x18\x01 \x03(\x0c\x12\x17\n\x0fouter_documents\x18\x02 \x03(\x0c\x12\x19\n\x11missing_outer_ids\x18\x03 \x03(\x0c\x12w\n\x17removed_outer_documents\x18\x04 \x03(\x0b\x32V.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval\x1a\x94\x04\n\x12\x43ompositeDocuments\x12\x16\n\x0epage_documents\x18\x01 \x03(\x0c\x12}\n\x0bsub_results\x18\x02 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult\x1a\xe6\x02\n\x0eSubQueryResult\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.DocumentsH\x00\x12\x65\n\x06\x63ounts\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntriesH\x00\x12\x13\n\x0bmissing_ids\x18\x03 \x03(\x0c\x12g\n\x07removed\x18\x04 \x03(\x0b\x32V.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemovalB\x08\n\x06resultB\x08\n\x06resultB\t\n\x07version\"\xfe\x06\n\x19GetDocumentHistoryRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentHistoryRequest.GetDocumentHistoryRequestV0H\x00\x12^\n\x02v1\x18\x02 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentHistoryRequest.GetDocumentHistoryRequestV1H\x00\x1a\xeb\x01\n\x1bGetDocumentHistoryRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x03 \x01(\x0c\x12+\n\x05limit\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0bstart_at_ms\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x07 \x01(\x08\x1a\xa7\x03\n\x1bGetDocumentHistoryRequestV1\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x03 \x01(\x0c\x12+\n\x05limit\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05prove\x18\x05 \x01(\x08\x12\x19\n\x0bstart_at_ms\x18\x06 \x01(\x04\x42\x02\x30\x01H\x00\x12n\n\x0bstart_after\x18\x07 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetDocumentHistoryRequest.GetDocumentHistoryRequestV1.CursorH\x00\x12\x1f\n\x11start_at_revision\x18\x08 \x01(\x04\x42\x02\x30\x01H\x00\x12\x16\n\x08revision\x18\t \x01(\x04\x42\x02\x30\x01H\x00\x1a\x33\n\x06\x43ursor\x12\x13\n\x07time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06\x66ilterB\t\n\x07version\"\xd6\x0b\n\x1aGetDocumentHistoryResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV0H\x00\x12`\n\x02v1\x18\x02 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1H\x00\x1a\xeb\x03\n\x1cGetDocumentHistoryResponseV0\x12~\n\x10\x64ocument_history\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV0.DocumentHistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x37\n\x14\x44ocumentHistoryEntry\x12\x10\n\x04\x64\x61te\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\x95\x01\n\x0f\x44ocumentHistory\x12\x81\x01\n\x10\x64ocument_entries\x18\x01 \x03(\x0b\x32g.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV0.DocumentHistoryEntryB\x08\n\x06result\x1a\xfa\x05\n\x1cGetDocumentHistoryResponseV1\x12m\n\x07history\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.HistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x44\n\x05\x45ntry\x12\x13\n\x07time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x64ocument\x18\x03 \x01(\x0c\x1a\xc0\x01\n\tLifecycle\x12q\n\x05state\x18\x01 \x01(\x0e\x32\x62.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.Lifecycle.State\x12\x1f\n\x13remaining_revisions\x18\x02 \x01(\x04\x42\x02\x30\x01\"\x1f\n\x05State\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x41\x42SENT\x10\x01\x1a\xe5\x01\n\x07History\x12i\n\x07\x65ntries\x18\x01 \x03(\x0b\x32X.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.Entry\x12o\n\tlifecycle\x18\x02 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.LifecycleB\x08\n\x06resultB\t\n\x07version\"\xed\x01\n!GetIdentityByPublicKeyHashRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0H\x00\x1aM\n#GetIdentityByPublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xda\x02\n\"GetIdentityByPublicKeyHashResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0H\x00\x1a\xb6\x01\n$GetIdentityByPublicKeyHashResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x04\n*GetIdentityByNonUniquePublicKeyHashRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0H\x00\x12\x80\x01\n\x02v1\x18\x02 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1H\x00\x1a\x80\x01\n,GetIdentityByNonUniquePublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\x18\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x0e\n\x0c_start_after\x1a\x80\x01\n,GetIdentityByNonUniquePublicKeyHashRequestV1\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\x18\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x0e\n\x0c_start_afterB\t\n\x07version\"\xe4\n\n+GetIdentityByNonUniquePublicKeyHashResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0H\x00\x12\x82\x01\n\x02v1\x18\x02 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1H\x00\x1a\x9c\x05\n-GetIdentityByNonUniquePublicKeyHashResponseV0\x12\x9a\x01\n\x08identity\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponseH\x00\x12\x9d\x01\n\x05proof\x18\x02 \x01(\x0b\x32\x8b\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponseH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x10IdentityResponse\x12\x15\n\x08identity\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_identity\x1a\xa6\x01\n\x16IdentityProvedResponse\x12P\n&grovedb_identity_public_key_hash_proof\x18\x01 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12!\n\x14identity_proof_bytes\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x17\n\x15_identity_proof_bytesB\x08\n\x06resultJ\x04\x08\x04\x10\x05\x1a\x80\x03\n-GetIdentityByNonUniquePublicKeyHashResponseV1\x12\x9a\x01\n\x08identity\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponseH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x10IdentityResponse\x12\x15\n\x08identity\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_identityB\x08\n\x06resultB\t\n\x07version\"\x99\x02\n#WaitForStateTransitionResultRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0H\x00\x1as\n%WaitForStateTransitionResultRequestV0\x12\x1d\n\x15state_transition_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x1c\n\x14request_user_balance\x18\x03 \x01(\x08\x42\t\n\x07version\"\xce\x04\n$WaitForStateTransitionResultResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0H\x00\x1a\x34\n\x17SuccessWithOwnerBalance\x12\x19\n\rowner_balance\x18\x01 \x01(\x04\x42\x02\x30\x01\x1a\xee\x02\n&WaitForStateTransitionResultResponseV0\x12I\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x38.org.dash.platform.dapi.v0.StateTransitionBroadcastErrorH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12}\n\x1asuccess_with_owner_balance\x18\x04 \x01(\x0b\x32W.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalanceH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf4\x01\n%GetRecentStateTransitionStatusRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusRequest.GetRecentStateTransitionStatusRequestV0H\x00\x1aH\n\'GetRecentStateTransitionStatusRequestV0\x12\x1d\n\x15state_transition_hash\x18\x01 \x01(\x0c\x42\t\n\x07version\"\xbf\x06\n&GetRecentStateTransitionStatusResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0H\x00\x1a\x8f\x05\n(GetRecentStateTransitionStatusResponseV0\x12\x89\x01\n\tcommitted\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0.CommittedH\x00\x12\x85\x01\n\x07pending\x18\x02 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0.PendingH\x00\x12\x85\x01\n\x07unknown\x18\x03 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0.UnknownH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ah\n\tCommitted\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12G\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x38.org.dash.platform.dapi.v0.StateTransitionBroadcastError\x1a\t\n\x07Pending\x1a\t\n\x07UnknownB\x08\n\x06statusB\t\n\x07version\"\xc4\x01\n\x19GetConsensusParamsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetConsensusParamsRequest.GetConsensusParamsRequestV0H\x00\x1a<\n\x1bGetConsensusParamsRequestV0\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9c\x04\n\x1aGetConsensusParamsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetConsensusParamsResponse.GetConsensusParamsResponseV0H\x00\x1aP\n\x14\x43onsensusParamsBlock\x12\x11\n\tmax_bytes\x18\x01 \x01(\t\x12\x0f\n\x07max_gas\x18\x02 \x01(\t\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\t\x1a\x62\n\x17\x43onsensusParamsEvidence\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\t\x12\x18\n\x10max_age_duration\x18\x02 \x01(\t\x12\x11\n\tmax_bytes\x18\x03 \x01(\t\x1a\xda\x01\n\x1cGetConsensusParamsResponseV0\x12Y\n\x05\x62lock\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsBlock\x12_\n\x08\x65vidence\x18\x02 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsEvidenceB\t\n\x07version\"\xe4\x01\n%GetProtocolVersionUpgradeStateRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0H\x00\x1a\x38\n\'GetProtocolVersionUpgradeStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xb5\x05\n&GetProtocolVersionUpgradeStateResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0H\x00\x1a\x85\x04\n(GetProtocolVersionUpgradeStateResponseV0\x12\x87\x01\n\x08versions\x18\x01 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x96\x01\n\x08Versions\x12\x89\x01\n\x08versions\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry\x1a:\n\x0cVersionEntry\x12\x16\n\x0eversion_number\x18\x01 \x01(\r\x12\x12\n\nvote_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xa3\x02\n*GetProtocolVersionUpgradeVoteStatusRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0H\x00\x1ag\n,GetProtocolVersionUpgradeVoteStatusRequestV0\x12\x19\n\x11start_pro_tx_hash\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xef\x05\n+GetProtocolVersionUpgradeVoteStatusResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0H\x00\x1a\xaf\x04\n-GetProtocolVersionUpgradeVoteStatusResponseV0\x12\x98\x01\n\x08versions\x18\x01 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignalsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xaf\x01\n\x0eVersionSignals\x12\x9c\x01\n\x0fversion_signals\x18\x01 \x03(\x0b\x32\x82\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal\x1a\x35\n\rVersionSignal\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07version\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xf5\x01\n\x14GetEpochsInfoRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetEpochsInfoRequest.GetEpochsInfoRequestV0H\x00\x1a|\n\x16GetEpochsInfoRequestV0\x12\x31\n\x0bstart_epoch\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\x11\n\tascending\x18\x03 \x01(\x08\x12\r\n\x05prove\x18\x04 \x01(\x08\x42\t\n\x07version\"\x99\x05\n\x15GetEpochsInfoResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0H\x00\x1a\x9c\x04\n\x17GetEpochsInfoResponseV0\x12\x65\n\x06\x65pochs\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1au\n\nEpochInfos\x12g\n\x0b\x65poch_infos\x18\x01 \x03(\x0b\x32R.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo\x1a\xa6\x01\n\tEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x16\n\nstart_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xbf\x02\n\x1dGetFinalizedEpochInfosRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0H\x00\x1a\xaa\x01\n\x1fGetFinalizedEpochInfosRequestV0\x12\x19\n\x11start_epoch_index\x18\x01 \x01(\r\x12\"\n\x1astart_epoch_index_included\x18\x02 \x01(\x08\x12\x17\n\x0f\x65nd_epoch_index\x18\x03 \x01(\r\x12 \n\x18\x65nd_epoch_index_included\x18\x04 \x01(\x08\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xbd\t\n\x1eGetFinalizedEpochInfosResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0H\x00\x1a\xa5\x08\n GetFinalizedEpochInfosResponseV0\x12\x80\x01\n\x06\x65pochs\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xa4\x01\n\x13\x46inalizedEpochInfos\x12\x8c\x01\n\x15\x66inalized_epoch_infos\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo\x1a\x9f\x04\n\x12\x46inalizedEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x1c\n\x10\x66irst_block_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\r\x12!\n\x15total_blocks_in_epoch\x18\x07 \x01(\x04\x42\x02\x30\x01\x12*\n\"next_epoch_start_core_block_height\x18\x08 \x01(\r\x12!\n\x15total_processing_fees\x18\t \x01(\x04\x42\x02\x30\x01\x12*\n\x1etotal_distributed_storage_fees\x18\n \x01(\x04\x42\x02\x30\x01\x12&\n\x1atotal_created_storage_fees\x18\x0b \x01(\x04\x42\x02\x30\x01\x12\x1e\n\x12\x63ore_block_rewards\x18\x0c \x01(\x04\x42\x02\x30\x01\x12\x81\x01\n\x0f\x62lock_proposers\x18\r \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer\x1a\x39\n\rBlockProposer\x12\x13\n\x0bproposer_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x62lock_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xde\x04\n\x1cGetContestedResourcesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0H\x00\x1a\xcc\x03\n\x1eGetContestedResourcesRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x1a\n\x12start_index_values\x18\x04 \x03(\x0c\x12\x18\n\x10\x65nd_index_values\x18\x05 \x03(\x0c\x12\x89\x01\n\x13start_at_value_info\x18\x06 \x01(\x0b\x32g.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1a\x45\n\x10StartAtValueInfo\x12\x13\n\x0bstart_value\x18\x01 \x01(\x0c\x12\x1c\n\x14start_value_included\x18\x02 \x01(\x08\x42\x16\n\x14_start_at_value_infoB\x08\n\x06_countB\t\n\x07version\"\x88\x04\n\x1dGetContestedResourcesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0H\x00\x1a\xf3\x02\n\x1fGetContestedResourcesResponseV0\x12\x95\x01\n\x19\x63ontested_resource_values\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValuesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a<\n\x17\x43ontestedResourceValues\x12!\n\x19\x63ontested_resource_values\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x05\n\x1cGetVotePollsByEndDateRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0H\x00\x1a\xc0\x04\n\x1eGetVotePollsByEndDateRequestV0\x12\x84\x01\n\x0fstart_time_info\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfoH\x00\x88\x01\x01\x12\x80\x01\n\rend_time_info\x18\x02 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfoH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x11\n\tascending\x18\x05 \x01(\x08\x12\r\n\x05prove\x18\x06 \x01(\x08\x1aI\n\x0fStartAtTimeInfo\x12\x19\n\rstart_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13start_time_included\x18\x02 \x01(\x08\x1a\x43\n\rEndAtTimeInfo\x12\x17\n\x0b\x65nd_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x65nd_time_included\x18\x02 \x01(\x08\x42\x12\n\x10_start_time_infoB\x10\n\x0e_end_time_infoB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07version\"\x83\x06\n\x1dGetVotePollsByEndDateResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0H\x00\x1a\xee\x04\n\x1fGetVotePollsByEndDateResponseV0\x12\x9c\x01\n\x18vote_polls_by_timestamps\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestampsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aV\n\x1eSerializedVotePollsByTimestamp\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x15serialized_vote_polls\x18\x02 \x03(\x0c\x1a\xd7\x01\n\x1fSerializedVotePollsByTimestamps\x12\x99\x01\n\x18vote_polls_by_timestamps\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xd6\x01\n\x1cGetYesNoVotePollStateRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetYesNoVotePollStateRequest.GetYesNoVotePollStateRequestV0H\x00\x1a\x45\n\x1eGetYesNoVotePollStateRequestV0\x12\x14\n\x0cvote_poll_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xa8\x11\n\x1dGetYesNoVotePollStateResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0H\x00\x1a\x93\x10\n\x1fGetYesNoVotePollStateResponseV0\x12|\n\x05state\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollStateH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x61\n\x12YesNoVotePollBlock\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x63ore_height\x18\x02 \x01(\r\x12\x13\n\x07time_ms\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05\x65poch\x18\x04 \x01(\r\x1a\xa4\x03\n\x15\x46inishedYesNoVotePoll\x12\x0e\n\x06passed\x18\x01 \x01(\x08\x12\x18\n\x10yes_voting_power\x18\x02 \x01(\r\x12\x17\n\x0fno_voting_power\x18\x03 \x01(\r\x12\x1c\n\x14\x61\x62stain_voting_power\x18\x04 \x01(\r\x12\x1d\n\x15required_voting_power\x18\x05 \x01(\r\x12\x80\x01\n\x0bstart_block\x18\x06 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollBlock\x12\x87\x01\n\x12\x66inalization_block\x18\x07 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollBlock\x1a\xf9\x05\n\rYesNoVotePoll\x12\x94\x01\n\x11\x64\x65\x63ision_proposal\x18\x01 \x01(\x0b\x32w.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePoll.DecisionProposalH\x00\x12\x1f\n\x17supermajority_numerator\x18\x02 \x01(\r\x12!\n\x19supermajority_denominator\x18\x03 \x01(\r\x12\x12\n\x08\x61\x62solute\x18\x04 \x01(\rH\x01\x12\x93\x01\n\x11\x66raction_of_total\x18\x05 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePoll.FractionOfTotalH\x01\x1a\'\n\x10\x44\x65\x63isionProposal\x12\x13\n\x0b\x64ocument_id\x18\x01 \x01(\x0c\x1a\xc8\x01\n\x0f\x46ractionOfTotal\x12\x11\n\tnumerator\x18\x01 \x01(\r\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\r\x12\x8c\x01\n\x08rounding\x18\x03 \x01(\x0e\x32z.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePoll.VotingPowerRounding\"L\n\x13VotingPowerRounding\x12\x08\n\x04\x44OWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x11\n\rDOWN_PLUS_ONE\x10\x02\x12\x10\n\x0cUP_MINUS_ONE\x10\x03\x42\t\n\x07purposeB\x16\n\x14minimum_voting_power\x1a\xef\x03\n\x12YesNoVotePollState\x12~\n\x07started\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollBlockH\x00\x12\x82\x01\n\x08\x66inished\x18\x02 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.FinishedYesNoVotePollH\x00\x12\x18\n\x10yes_voting_power\x18\x03 \x01(\r\x12\x17\n\x0fno_voting_power\x18\x04 \x01(\r\x12\x1c\n\x14\x61\x62stain_voting_power\x18\x05 \x01(\r\x12y\n\tvote_poll\x18\x06 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollB\x08\n\x06statusB\x08\n\x06resultB\t\n\x07version\"\xef\x01\n\x1dGetMasternodeYesNoVoteRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteRequest.GetMasternodeYesNoVoteRequestV0H\x00\x1a[\n\x1fGetMasternodeYesNoVoteRequestV0\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x14\n\x0cvote_poll_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xb5\x06\n\x1eGetMasternodeYesNoVoteResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0H\x00\x1a\x9d\x05\n GetMasternodeYesNoVoteResponseV0\x12\x84\x01\n\x05\x65ntry\x18\x01 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0.MasternodeYesNoVoteEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xda\x01\n\x13MasternodeYesNoVote\x12\x85\x01\n\x06\x63hoice\x18\x01 \x01(\x0e\x32u.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0.MasternodeYesNoVote.Choice\x12\x13\n\x0btimes_voted\x18\x02 \x01(\r\"&\n\x06\x43hoice\x12\x07\n\x03YES\x10\x00\x12\x06\n\x02NO\x10\x01\x12\x0b\n\x07\x41\x42STAIN\x10\x02\x1a\x98\x01\n\x18MasternodeYesNoVoteEntry\x12|\n\x04vote\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0.MasternodeYesNoVoteB\x08\n\x06resultB\t\n\x07version\"\xff\x06\n$GetContestedResourceVoteStateRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0H\x00\x1a\xd5\x05\n&GetContestedResourceVoteStateRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x86\x01\n\x0bresult_type\x18\x05 \x01(\x0e\x32q.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType\x12\x36\n.allow_include_locked_and_abstaining_vote_tally\x18\x06 \x01(\x08\x12\xa3\x01\n\x18start_at_identifier_info\x18\x07 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x08 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\"I\n\nResultType\x12\r\n\tDOCUMENTS\x10\x00\x12\x0e\n\nVOTE_TALLY\x10\x01\x12\x1c\n\x18\x44OCUMENTS_AND_VOTE_TALLY\x10\x02\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\x94\x0c\n%GetContestedResourceVoteStateResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0H\x00\x1a\xe7\n\n\'GetContestedResourceVoteStateResponseV0\x12\xae\x01\n\x1d\x63ontested_resource_contenders\x18\x01 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContendersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xda\x03\n\x10\x46inishedVoteInfo\x12\xad\x01\n\x15\x66inished_vote_outcome\x18\x01 \x01(\x0e\x32\x8d\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcome\x12\x1f\n\x12won_by_identity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12$\n\x18\x66inished_at_block_height\x18\x03 \x01(\x04\x42\x02\x30\x01\x12%\n\x1d\x66inished_at_core_block_height\x18\x04 \x01(\r\x12%\n\x19\x66inished_at_block_time_ms\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x66inished_at_epoch\x18\x06 \x01(\r\"O\n\x13\x46inishedVoteOutcome\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\n\n\x06LOCKED\x10\x01\x12\x16\n\x12NO_PREVIOUS_WINNER\x10\x02\x42\x15\n\x13_won_by_identity_id\x1a\xc4\x03\n\x1b\x43ontestedResourceContenders\x12\x86\x01\n\ncontenders\x18\x01 \x03(\x0b\x32r.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender\x12\x1f\n\x12\x61\x62stain_vote_tally\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1c\n\x0flock_vote_tally\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x9a\x01\n\x12\x66inished_vote_info\x18\x04 \x01(\x0b\x32y.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfoH\x02\x88\x01\x01\x42\x15\n\x13_abstain_vote_tallyB\x12\n\x10_lock_vote_tallyB\x15\n\x13_finished_vote_info\x1ak\n\tContender\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x17\n\nvote_count\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x15\n\x08\x64ocument\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_vote_countB\x0b\n\t_documentB\x08\n\x06resultB\t\n\x07version\"\xd5\x05\n,GetContestedResourceVotersForIdentityRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0H\x00\x1a\x92\x04\n.GetContestedResourceVotersForIdentityRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x15\n\rcontestant_id\x18\x05 \x01(\x0c\x12\xb4\x01\n\x18start_at_identifier_info\x18\x06 \x01(\x0b\x32\x8c\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\xf1\x04\n-GetContestedResourceVotersForIdentityResponse\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0H\x00\x1a\xab\x03\n/GetContestedResourceVotersForIdentityResponseV0\x12\xb6\x01\n\x19\x63ontested_resource_voters\x18\x01 \x01(\x0b\x32\x90\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVotersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x43\n\x17\x43ontestedResourceVoters\x12\x0e\n\x06voters\x18\x01 \x03(\x0c\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xad\x05\n(GetContestedResourceIdentityVotesRequest\x12|\n\x02v0\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0H\x00\x1a\xf7\x03\n*GetContestedResourceIdentityVotesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0forder_ascending\x18\x04 \x01(\x08\x12\xae\x01\n\x1astart_at_vote_poll_id_info\x18\x05 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfoH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x1a\x61\n\x15StartAtVotePollIdInfo\x12 \n\x18start_at_poll_identifier\x18\x01 \x01(\x0c\x12&\n\x1estart_poll_identifier_included\x18\x02 \x01(\x08\x42\x1d\n\x1b_start_at_vote_poll_id_infoB\t\n\x07version\"\xc8\n\n)GetContestedResourceIdentityVotesResponse\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0H\x00\x1a\x8f\t\n+GetContestedResourceIdentityVotesResponseV0\x12\xa1\x01\n\x05votes\x18\x01 \x01(\x0b\x32\x8f\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xf7\x01\n\x1e\x43ontestedResourceIdentityVotes\x12\xba\x01\n!contested_resource_identity_votes\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x1a\xad\x02\n\x12ResourceVoteChoice\x12\xad\x01\n\x10vote_choice_type\x18\x01 \x01(\x0e\x32\x92\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceType\x12\x18\n\x0bidentity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\"=\n\x0eVoteChoiceType\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\x0b\n\x07\x41\x42STAIN\x10\x01\x12\x08\n\x04LOCK\x10\x02\x42\x0e\n\x0c_identity_id\x1a\x95\x02\n\x1d\x43ontestedResourceIdentityVote\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\'\n\x1fserialized_index_storage_values\x18\x03 \x03(\x0c\x12\x99\x01\n\x0bvote_choice\x18\x04 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoiceB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n%GetPrefundedSpecializedBalanceRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0H\x00\x1a\x44\n\'GetPrefundedSpecializedBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xed\x02\n&GetPrefundedSpecializedBalanceResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0H\x00\x1a\xbd\x01\n(GetPrefundedSpecializedBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xd0\x01\n GetTotalCreditsInPlatformRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0H\x00\x1a\x33\n\"GetTotalCreditsInPlatformRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xd9\x02\n!GetTotalCreditsInPlatformResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0H\x00\x1a\xb8\x01\n#GetTotalCreditsInPlatformResponseV0\x12\x15\n\x07\x63redits\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc4\x01\n\x16GetPathElementsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetPathElementsRequest.GetPathElementsRequestV0H\x00\x1a\x45\n\x18GetPathElementsRequestV0\x12\x0c\n\x04path\x18\x01 \x03(\x0c\x12\x0c\n\x04keys\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xa3\x03\n\x17GetPathElementsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0H\x00\x1a\xa0\x02\n\x19GetPathElementsResponseV0\x12i\n\x08\x65lements\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0.ElementsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1c\n\x08\x45lements\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\x81\x01\n\x10GetStatusRequest\x12L\n\x02v0\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetStatusRequest.GetStatusRequestV0H\x00\x1a\x14\n\x12GetStatusRequestV0B\t\n\x07version\"\xe4\x10\n\x11GetStatusResponse\x12N\n\x02v0\x18\x01 \x01(\x0b\x32@.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0H\x00\x1a\xf3\x0f\n\x13GetStatusResponseV0\x12Y\n\x07version\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version\x12S\n\x04node\x18\x02 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Node\x12U\n\x05\x63hain\x18\x03 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Chain\x12Y\n\x07network\x18\x04 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Network\x12^\n\nstate_sync\x18\x05 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.StateSync\x12S\n\x04time\x18\x06 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Time\x1a\x82\x05\n\x07Version\x12\x63\n\x08software\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Software\x12\x63\n\x08protocol\x18\x02 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol\x1a^\n\x08Software\x12\x0c\n\x04\x64\x61pi\x18\x01 \x01(\t\x12\x12\n\x05\x64rive\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ntenderdash\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_driveB\r\n\x0b_tenderdash\x1a\xcc\x02\n\x08Protocol\x12p\n\ntenderdash\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash\x12\x66\n\x05\x64rive\x18\x02 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Drive\x1a(\n\nTenderdash\x12\x0b\n\x03p2p\x18\x01 \x01(\r\x12\r\n\x05\x62lock\x18\x02 \x01(\r\x1a<\n\x05\x44rive\x12\x0e\n\x06latest\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x12\n\nnext_epoch\x18\x05 \x01(\r\x1a\x7f\n\x04Time\x12\x11\n\x05local\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x05\x62lock\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x12\x18\n\x07genesis\x18\x03 \x01(\x04\x42\x02\x30\x01H\x01\x88\x01\x01\x12\x12\n\x05\x65poch\x18\x04 \x01(\rH\x02\x88\x01\x01\x42\x08\n\x06_blockB\n\n\x08_genesisB\x08\n\x06_epoch\x1a<\n\x04Node\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x18\n\x0bpro_tx_hash\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0e\n\x0c_pro_tx_hash\x1a\xb3\x02\n\x05\x43hain\x12\x13\n\x0b\x63\x61tching_up\x18\x01 \x01(\x08\x12\x19\n\x11latest_block_hash\x18\x02 \x01(\x0c\x12\x17\n\x0flatest_app_hash\x18\x03 \x01(\x0c\x12\x1f\n\x13latest_block_height\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13\x65\x61rliest_block_hash\x18\x05 \x01(\x0c\x12\x19\n\x11\x65\x61rliest_app_hash\x18\x06 \x01(\x0c\x12!\n\x15\x65\x61rliest_block_height\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15max_peer_block_height\x18\t \x01(\x04\x42\x02\x30\x01\x12%\n\x18\x63ore_chain_locked_height\x18\n \x01(\rH\x00\x88\x01\x01\x42\x1b\n\x19_core_chain_locked_height\x1a\x43\n\x07Network\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x13\n\x0bpeers_count\x18\x02 \x01(\r\x12\x11\n\tlistening\x18\x03 \x01(\x08\x1a\x85\x02\n\tStateSync\x12\x1d\n\x11total_synced_time\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eremaining_time\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0ftotal_snapshots\x18\x03 \x01(\r\x12\"\n\x16\x63hunk_process_avg_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x0fsnapshot_height\x18\x05 \x01(\x04\x42\x02\x30\x01\x12!\n\x15snapshot_chunks_count\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x11\x62\x61\x63kfilled_blocks\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15\x62\x61\x63kfill_blocks_total\x18\x08 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07version\"\xb1\x01\n\x1cGetCurrentQuorumsInfoRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0H\x00\x1a \n\x1eGetCurrentQuorumsInfoRequestV0B\t\n\x07version\"\xa1\x05\n\x1dGetCurrentQuorumsInfoResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0H\x00\x1a\x46\n\x0bValidatorV0\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07node_ip\x18\x02 \x01(\t\x12\x11\n\tis_banned\x18\x03 \x01(\x08\x1a\xaf\x01\n\x0eValidatorSetV0\x12\x13\n\x0bquorum_hash\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ore_height\x18\x02 \x01(\r\x12U\n\x07members\x18\x03 \x03(\x0b\x32\x44.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0\x12\x1c\n\x14threshold_public_key\x18\x04 \x01(\x0c\x1a\x92\x02\n\x1fGetCurrentQuorumsInfoResponseV0\x12\x15\n\rquorum_hashes\x18\x01 \x03(\x0c\x12\x1b\n\x13\x63urrent_quorum_hash\x18\x02 \x01(\x0c\x12_\n\x0evalidator_sets\x18\x03 \x03(\x0b\x32G.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0\x12\x1b\n\x13last_block_proposer\x18\x04 \x01(\x0c\x12=\n\x08metadata\x18\x05 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf4\x01\n\x1fGetIdentityTokenBalancesRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest.GetIdentityTokenBalancesRequestV0H\x00\x1aZ\n!GetIdentityTokenBalancesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xad\x05\n GetIdentityTokenBalancesResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0H\x00\x1a\x8f\x04\n\"GetIdentityTokenBalancesResponseV0\x12\x86\x01\n\x0etoken_balances\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aG\n\x11TokenBalanceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x9a\x01\n\rTokenBalances\x12\x88\x01\n\x0etoken_balances\x18\x01 \x03(\x0b\x32p.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xfc\x01\n!GetIdentitiesTokenBalancesRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest.GetIdentitiesTokenBalancesRequestV0H\x00\x1a\\\n#GetIdentitiesTokenBalancesRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xf2\x05\n\"GetIdentitiesTokenBalancesResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0H\x00\x1a\xce\x04\n$GetIdentitiesTokenBalancesResponseV0\x12\x9b\x01\n\x17identity_token_balances\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aR\n\x19IdentityTokenBalanceEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\xb7\x01\n\x15IdentityTokenBalances\x12\x9d\x01\n\x17identity_token_balances\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xe8\x01\n\x1cGetIdentityTokenInfosRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest.GetIdentityTokenInfosRequestV0H\x00\x1aW\n\x1eGetIdentityTokenInfosRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x98\x06\n\x1dGetIdentityTokenInfosResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0H\x00\x1a\x83\x05\n\x1fGetIdentityTokenInfosResponseV0\x12z\n\x0btoken_infos\x18\x01 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb0\x01\n\x0eTokenInfoEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x82\x01\n\x04info\x18\x02 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x8a\x01\n\nTokenInfos\x12|\n\x0btoken_infos\x18\x01 \x03(\x0b\x32g.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n\x1eGetIdentitiesTokenInfosRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest.GetIdentitiesTokenInfosRequestV0H\x00\x1aY\n GetIdentitiesTokenInfosRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xca\x06\n\x1fGetIdentitiesTokenInfosResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0H\x00\x1a\xaf\x05\n!GetIdentitiesTokenInfosResponseV0\x12\x8f\x01\n\x14identity_token_infos\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.IdentityTokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb7\x01\n\x0eTokenInfoEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x86\x01\n\x04info\x18\x02 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x97\x01\n\x12IdentityTokenInfos\x12\x80\x01\n\x0btoken_infos\x18\x01 \x03(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbf\x01\n\x17GetTokenStatusesRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetTokenStatusesRequest.GetTokenStatusesRequestV0H\x00\x1a=\n\x19GetTokenStatusesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xe7\x04\n\x18GetTokenStatusesResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0H\x00\x1a\xe1\x03\n\x1aGetTokenStatusesResponseV0\x12v\n\x0etoken_statuses\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x44\n\x10TokenStatusEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x13\n\x06paused\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\t\n\x07_paused\x1a\x88\x01\n\rTokenStatuses\x12w\n\x0etoken_statuses\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusEntryB\x08\n\x06resultB\t\n\x07version\"\xef\x01\n#GetTokenDirectPurchasePricesRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0H\x00\x1aI\n%GetTokenDirectPurchasePricesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x8b\t\n$GetTokenDirectPurchasePricesResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0H\x00\x1a\xe1\x07\n&GetTokenDirectPurchasePricesResponseV0\x12\xa9\x01\n\x1ctoken_direct_purchase_prices\x18\x01 \x01(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePricesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xa7\x01\n\x0fPricingSchedule\x12\x93\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PriceForQuantity\x1a\xe4\x01\n\x1dTokenDirectPurchasePriceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x15\n\x0b\x66ixed_price\x18\x02 \x01(\x04H\x00\x12\x90\x01\n\x0evariable_price\x18\x03 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PricingScheduleH\x00\x42\x07\n\x05price\x1a\xc8\x01\n\x19TokenDirectPurchasePrices\x12\xaa\x01\n\x1btoken_direct_purchase_price\x18\x01 \x03(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntryB\x08\n\x06resultB\t\n\x07version\"\xce\x01\n\x1bGetTokenContractInfoRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0H\x00\x1a@\n\x1dGetTokenContractInfoRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xfb\x03\n\x1cGetTokenContractInfoResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0H\x00\x1a\xe9\x02\n\x1eGetTokenContractInfoResponseV0\x12|\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aM\n\x15TokenContractInfoData\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xef\x04\n)GetTokenPreProgrammedDistributionsRequest\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0H\x00\x1a\xb6\x03\n+GetTokenPreProgrammedDistributionsRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x98\x01\n\rstart_at_info\x18\x02 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfoH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x1a\x9a\x01\n\x0bStartAtInfo\x12\x15\n\rstart_time_ms\x18\x01 \x01(\x04\x12\x1c\n\x0fstart_recipient\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12%\n\x18start_recipient_included\x18\x03 \x01(\x08H\x01\x88\x01\x01\x42\x12\n\x10_start_recipientB\x1b\n\x19_start_recipient_includedB\x10\n\x0e_start_at_infoB\x08\n\x06_limitB\t\n\x07version\"\xec\x07\n*GetTokenPreProgrammedDistributionsResponse\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0H\x00\x1a\xaf\x06\n,GetTokenPreProgrammedDistributionsResponseV0\x12\xa5\x01\n\x13token_distributions\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a>\n\x16TokenDistributionEntry\x12\x14\n\x0crecipient_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x1a\xd4\x01\n\x1bTokenTimedDistributionEntry\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\xa1\x01\n\rdistributions\x18\x02 \x03(\x0b\x32\x89\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionEntry\x1a\xc3\x01\n\x12TokenDistributions\x12\xac\x01\n\x13token_distributions\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenTimedDistributionEntryB\x08\n\x06resultB\t\n\x07version\"\x82\x04\n-GetTokenPerpetualDistributionLastClaimRequest\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0H\x00\x1aI\n\x11\x43ontractTokenInfo\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\r\x1a\xf1\x01\n/GetTokenPerpetualDistributionLastClaimRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12v\n\rcontract_info\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfoH\x00\x88\x01\x01\x12\x13\n\x0bidentity_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x10\n\x0e_contract_infoB\t\n\x07version\"\x93\x05\n.GetTokenPerpetualDistributionLastClaimResponse\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0H\x00\x1a\xca\x03\n0GetTokenPerpetualDistributionLastClaimResponseV0\x12\x9f\x01\n\nlast_claim\x18\x01 \x01(\x0b\x32\x88\x01.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\rLastClaimInfo\x12\x1a\n\x0ctimestamp_ms\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1a\n\x0c\x62lock_height\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x0f\n\x05\x65poch\x18\x03 \x01(\rH\x00\x12\x13\n\traw_bytes\x18\x04 \x01(\x0cH\x00\x42\t\n\x07paid_atB\x08\n\x06resultB\t\n\x07version\"\xca\x01\n\x1aGetTokenTotalSupplyRequest\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0H\x00\x1a?\n\x1cGetTokenTotalSupplyRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xaf\x04\n\x1bGetTokenTotalSupplyResponse\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0H\x00\x1a\xa0\x03\n\x1dGetTokenTotalSupplyResponseV0\x12\x88\x01\n\x12token_total_supply\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\x15TokenTotalSupplyEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x30\n(total_aggregated_amount_in_user_accounts\x18\x02 \x01(\x04\x12\x1b\n\x13total_system_amount\x18\x03 \x01(\x04\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x01\n\x13GetGroupInfoRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetGroupInfoRequest.GetGroupInfoRequestV0H\x00\x1a\\\n\x15GetGroupInfoRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xd4\x05\n\x14GetGroupInfoResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0H\x00\x1a\xda\x04\n\x16GetGroupInfoResponseV0\x12\x66\n\ngroup_info\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x98\x01\n\x0eGroupInfoEntry\x12h\n\x07members\x18\x01 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x02 \x01(\r\x1a\x8a\x01\n\tGroupInfo\x12n\n\ngroup_info\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoEntryH\x00\x88\x01\x01\x42\r\n\x0b_group_infoB\x08\n\x06resultB\t\n\x07version\"\xed\x03\n\x14GetGroupInfosRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfosRequest.GetGroupInfosRequestV0H\x00\x1au\n\x1cStartAtGroupContractPosition\x12%\n\x1dstart_group_contract_position\x18\x01 \x01(\r\x12.\n&start_group_contract_position_included\x18\x02 \x01(\x08\x1a\xfc\x01\n\x16GetGroupInfosRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12{\n start_at_group_contract_position\x18\x02 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupInfosRequest.StartAtGroupContractPositionH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x42#\n!_start_at_group_contract_positionB\x08\n\x06_countB\t\n\x07version\"\xff\x05\n\x15GetGroupInfosResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0H\x00\x1a\x82\x05\n\x17GetGroupInfosResponseV0\x12j\n\x0bgroup_infos\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\xc3\x01\n\x16GroupPositionInfoEntry\x12\x1f\n\x17group_contract_position\x18\x01 \x01(\r\x12j\n\x07members\x18\x02 \x03(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x03 \x01(\r\x1a\x82\x01\n\nGroupInfos\x12t\n\x0bgroup_infos\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupPositionInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbe\x04\n\x16GetGroupActionsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetGroupActionsRequest.GetGroupActionsRequestV0H\x00\x1aL\n\x0fStartAtActionId\x12\x17\n\x0fstart_action_id\x18\x01 \x01(\x0c\x12 \n\x18start_action_id_included\x18\x02 \x01(\x08\x1a\xc8\x02\n\x18GetGroupActionsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12N\n\x06status\x18\x03 \x01(\x0e\x32>.org.dash.platform.dapi.v0.GetGroupActionsRequest.ActionStatus\x12\x62\n\x12start_at_action_id\x18\x04 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetGroupActionsRequest.StartAtActionIdH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x42\x15\n\x13_start_at_action_idB\x08\n\x06_count\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\x92\"\n\x17GetGroupActionsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0H\x00\x1a\x8f!\n\x19GetGroupActionsResponseV0\x12r\n\rgroup_actions\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a[\n\tMintEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0crecipient_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a[\n\tBurnEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0c\x62urn_from_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aJ\n\x0b\x46reezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aL\n\rUnfreezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x66\n\x17\x44\x65stroyFrozenFundsEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x13SharedEncryptedNote\x12\x18\n\x10sender_key_index\x18\x01 \x01(\r\x12\x1b\n\x13recipient_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a{\n\x15PersonalEncryptedNote\x12!\n\x19root_encryption_key_index\x18\x01 \x01(\r\x12\'\n\x1f\x64\x65rivation_encryption_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a\xe9\x01\n\x14\x45mergencyActionEvent\x12\x81\x01\n\x0b\x61\x63tion_type\x18\x01 \x01(\x0e\x32l.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.ActionType\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\"#\n\nActionType\x12\t\n\x05PAUSE\x10\x00\x12\n\n\x06RESUME\x10\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x16TokenConfigUpdateEvent\x12 \n\x18token_config_update_item\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\xe6\x03\n\x1eUpdateDirectPurchasePriceEvent\x12\x15\n\x0b\x66ixed_price\x18\x01 \x01(\x04H\x00\x12\x95\x01\n\x0evariable_price\x18\x02 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingScheduleH\x00\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x01\x88\x01\x01\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xac\x01\n\x0fPricingSchedule\x12\x98\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PriceForQuantityB\x07\n\x05priceB\x0e\n\x0c_public_note\x1a\x63\n\x0fMintToPoolEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x16\n\x0e\x61\x63tions_digest\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x65\n\x11\x42urnFromPoolEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x16\n\x0e\x61\x63tions_digest\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\xfc\x02\n\x10GroupActionEvent\x12n\n\x0btoken_event\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEventH\x00\x12t\n\x0e\x64ocument_event\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentEventH\x00\x12t\n\x0e\x63ontract_event\x18\x03 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEventH\x00\x42\x0c\n\nevent_type\x1a\x8b\x01\n\rDocumentEvent\x12r\n\x06\x63reate\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentCreateEventH\x00\x42\x06\n\x04type\x1a/\n\x13\x44ocumentCreateEvent\x12\x18\n\x10\x63reated_document\x18\x01 \x01(\x0c\x1a/\n\x13\x43ontractUpdateEvent\x12\x18\n\x10updated_contract\x18\x01 \x01(\x0c\x1a\x8b\x01\n\rContractEvent\x12r\n\x06update\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEventH\x00\x42\x06\n\x04type\x1a\xc1\t\n\nTokenEvent\x12\x66\n\x04mint\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintEventH\x00\x12\x66\n\x04\x62urn\x18\x02 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEventH\x00\x12j\n\x06\x66reeze\x18\x03 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.FreezeEventH\x00\x12n\n\x08unfreeze\x18\x04 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UnfreezeEventH\x00\x12\x84\x01\n\x14\x64\x65stroy_frozen_funds\x18\x05 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEventH\x00\x12}\n\x10\x65mergency_action\x18\x06 \x01(\x0b\x32\x61.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEventH\x00\x12\x82\x01\n\x13token_config_update\x18\x07 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEventH\x00\x12\x83\x01\n\x0cupdate_price\x18\x08 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEventH\x00\x12t\n\x0cmint_to_pool\x18\t \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEventH\x00\x12x\n\x0e\x62urn_from_pool\x18\n \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEventH\x00\x42\x06\n\x04type\x1a\x93\x01\n\x10GroupActionEntry\x12\x11\n\taction_id\x18\x01 \x01(\x0c\x12l\n\x05\x65vent\x18\x02 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent\x1a\x84\x01\n\x0cGroupActions\x12t\n\rgroup_actions\x18\x01 \x03(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEntryB\x08\n\x06resultB\t\n\x07version\"\x88\x03\n\x1cGetGroupActionSignersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.GetGroupActionSignersRequestV0H\x00\x1a\xce\x01\n\x1eGetGroupActionSignersRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12T\n\x06status\x18\x03 \x01(\x0e\x32\x44.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.ActionStatus\x12\x11\n\taction_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\x8b\x05\n\x1dGetGroupActionSignersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0H\x00\x1a\xf6\x03\n\x1fGetGroupActionSignersResponseV0\x12\x8b\x01\n\x14group_action_signers\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x35\n\x11GroupActionSigner\x12\x11\n\tsigner_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x91\x01\n\x12GroupActionSigners\x12{\n\x07signers\x18\x01 \x03(\x0b\x32j.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignerB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x15GetAddressInfoRequest\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0H\x00\x1a\x39\n\x17GetAddressInfoRequestV0\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x85\x01\n\x10\x41\x64\x64ressInfoEntry\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12J\n\x11\x62\x61lance_and_nonce\x18\x02 \x01(\x0b\x32*.org.dash.platform.dapi.v0.BalanceAndNonceH\x00\x88\x01\x01\x42\x14\n\x12_balance_and_nonce\"1\n\x0f\x42\x61lanceAndNonce\x12\x0f\n\x07\x62\x61lance\x18\x01 \x01(\x04\x12\r\n\x05nonce\x18\x02 \x01(\r\"_\n\x12\x41\x64\x64ressInfoEntries\x12I\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x03(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntry\"m\n\x14\x41\x64\x64ressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_balance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1c\n\x0e\x61\x64\x64_to_balance\x18\x03 \x01(\x04\x42\x02\x30\x01H\x00\x42\x0b\n\toperation\"x\n\x1a\x42lockAddressBalanceChanges\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12@\n\x07\x63hanges\x18\x02 \x03(\x0b\x32/.org.dash.platform.dapi.v0.AddressBalanceChange\"k\n\x1b\x41\x64\x64ressBalanceUpdateEntries\x12L\n\rblock_changes\x18\x01 \x03(\x0b\x32\x35.org.dash.platform.dapi.v0.BlockAddressBalanceChanges\"\xe1\x02\n\x16GetAddressInfoResponse\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0H\x00\x1a\xe1\x01\n\x18GetAddressInfoResponseV0\x12I\n\x12\x61\x64\x64ress_info_entry\x18\x01 \x01(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x01\n\x18GetAddressesInfosRequest\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0H\x00\x1a>\n\x1aGetAddressesInfosRequestV0\x12\x11\n\taddresses\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf1\x02\n\x19GetAddressesInfosResponse\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0H\x00\x1a\xe8\x01\n\x1bGetAddressesInfosResponseV0\x12M\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x01(\x0b\x32-.org.dash.platform.dapi.v0.AddressInfoEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x1dGetAddressesTrunkStateRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0H\x00\x1a!\n\x1fGetAddressesTrunkStateRequestV0B\t\n\x07version\"\xaa\x02\n\x1eGetAddressesTrunkStateResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0H\x00\x1a\x92\x01\n GetAddressesTrunkStateResponseV0\x12/\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf0\x01\n\x1eGetAddressesBranchStateRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0H\x00\x1aY\n GetAddressesBranchStateRequestV0\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\r\x12\x19\n\x11\x63heckpoint_height\x18\x03 \x01(\x04\x42\t\n\x07version\"\xd1\x01\n\x1fGetAddressesBranchStateResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0H\x00\x1a\x37\n!GetAddressesBranchStateResponseV0\x12\x12\n\nmerk_proof\x18\x02 \x01(\x0c\x42\t\n\x07version\"\x9e\x02\n%GetRecentAddressBalanceChangesRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0H\x00\x1ar\n\'GetRecentAddressBalanceChangesRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x1e\n\x16start_height_exclusive\x18\x03 \x01(\x08\x42\t\n\x07version\"\xb8\x03\n&GetRecentAddressBalanceChangesResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0H\x00\x1a\x88\x02\n(GetRecentAddressBalanceChangesResponseV0\x12`\n\x1e\x61\x64\x64ress_balance_update_entries\x18\x01 \x01(\x0b\x32\x36.org.dash.platform.dapi.v0.AddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"G\n\x16\x42lockHeightCreditEntry\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x07\x63redits\x18\x02 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n\x1d\x43ompactedAddressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_credits\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12V\n\x19\x61\x64\x64_to_credits_operations\x18\x03 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.AddToCreditsOperationsH\x00\x42\x0b\n\toperation\"\\\n\x16\x41\x64\x64ToCreditsOperations\x12\x42\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x31.org.dash.platform.dapi.v0.BlockHeightCreditEntry\"\xae\x01\n#CompactedBlockAddressBalanceChanges\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1c\n\x10\x65nd_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12I\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x38.org.dash.platform.dapi.v0.CompactedAddressBalanceChange\"\x87\x01\n$CompactedAddressBalanceUpdateEntries\x12_\n\x17\x63ompacted_block_changes\x18\x01 \x03(\x0b\x32>.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges\"\xa9\x02\n.GetRecentCompactedAddressBalanceChangesRequest\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0H\x00\x1a\x61\n0GetRecentCompactedAddressBalanceChangesRequestV0\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf0\x03\n/GetRecentCompactedAddressBalanceChangesResponse\x12\x8a\x01\n\x02v0\x18\x01 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0H\x00\x1a\xa4\x02\n1GetRecentCompactedAddressBalanceChangesResponseV0\x12s\n(compacted_address_balance_update_entries\x18\x01 \x01(\x0b\x32?.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x98\x02\n GetShieldedEncryptedNotesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0H\x00\x1a{\n\"GetShieldedEncryptedNotesRequestV0\x12\x13\n\x0bstart_index\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x12\x15\n\x08token_id\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xbc\x05\n!GetShieldedEncryptedNotesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0H\x00\x1a\x9b\x04\n#GetShieldedEncryptedNotesResponseV0\x12\x8a\x01\n\x0f\x65ncrypted_notes\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aW\n\rEncryptedNote\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x0b\n\x03\x63mx\x18\x02 \x01(\x0c\x12\x16\n\x0e\x65ncrypted_note\x18\x03 \x01(\x0c\x12\x0e\n\x06\x63v_net\x18\x04 \x01(\x0c\x1a\x91\x01\n\x0e\x45ncryptedNotes\x12\x7f\n\x07\x65ntries\x18\x01 \x03(\x0b\x32n.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNoteB\x08\n\x06resultB\t\n\x07version\"\xd8\x01\n\x19GetShieldedAnchorsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0H\x00\x1aP\n\x1bGetShieldedAnchorsRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xb1\x03\n\x1aGetShieldedAnchorsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0H\x00\x1a\xa5\x02\n\x1cGetShieldedAnchorsResponseV0\x12m\n\x07\x61nchors\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0.AnchorsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x07\x41nchors\x12\x0f\n\x07\x61nchors\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xfc\x01\n\"GetMostRecentShieldedAnchorRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0H\x00\x1aY\n$GetMostRecentShieldedAnchorRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xdc\x02\n#GetMostRecentShieldedAnchorResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0H\x00\x1a\xb5\x01\n%GetMostRecentShieldedAnchorResponseV0\x12\x10\n\x06\x61nchor\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe0\x01\n\x1bGetShieldedPoolStateRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0H\x00\x1aR\n\x1dGetShieldedPoolStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xcb\x02\n\x1cGetShieldedPoolStateResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse.GetShieldedPoolStateResponseV0H\x00\x1a\xb9\x01\n\x1eGetShieldedPoolStateResponseV0\x12\x1b\n\rtotal_balance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe4\x01\n\x1cGetShieldedNotesCountRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0H\x00\x1aS\n\x1eGetShieldedNotesCountRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xd3\x02\n\x1dGetShieldedNotesCountResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetShieldedNotesCountResponse.GetShieldedNotesCountResponseV0H\x00\x1a\xbe\x01\n\x1fGetShieldedNotesCountResponseV0\x12\x1f\n\x11total_notes_count\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf8\x01\n\x1cGetShieldedNullifiersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0H\x00\x1ag\n\x1eGetShieldedNullifiersRequestV0\x12\x12\n\nnullifiers\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x15\n\x08token_id\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\x86\x05\n\x1dGetShieldedNullifiersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0H\x00\x1a\xf1\x03\n\x1fGetShieldedNullifiersResponseV0\x12\x88\x01\n\x12nullifier_statuses\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x0fNullifierStatus\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x10\n\x08is_spent\x18\x02 \x01(\x08\x1a\x8e\x01\n\x11NullifierStatuses\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusB\x08\n\x06resultB\t\n\x07version\"\xb0\x02\n GetPrivateDocumentEntriesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesRequest.GetPrivateDocumentEntriesRequestV0H\x00\x1a\x92\x01\n\"GetPrivateDocumentEntriesRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x1a\n\x0estart_position\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x05 \x01(\x08J\x04\x08\x04\x10\x05R\x05\x63ountB\t\n\x07version\"\xfd\x05\n!GetPrivateDocumentEntriesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse.GetPrivateDocumentEntriesResponseV0H\x00\x1a\xdc\x04\n#GetPrivateDocumentEntriesResponseV0\x12\x8a\x01\n\x07\x65ntries\x18\x01 \x01(\x0b\x32w.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse.GetPrivateDocumentEntriesResponseV0.PrivateDocumentEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ao\n\x14PrivateDocumentEntry\x12\x14\n\x08position\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x0c\x62lock_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x19\n\rblock_time_ms\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a\xba\x01\n\x16PrivateDocumentEntries\x12\x86\x01\n\x07\x65ntries\x18\x01 \x03(\x0b\x32u.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse.GetPrivateDocumentEntriesResponseV0.PrivateDocumentEntry\x12\x17\n\x0btotal_count\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06resultB\t\n\x07version\"\xec\x06\n\x14TenderdashBlockProof\x12\x46\n\x06header\x18\x01 \x01(\x0b\x32\x36.org.dash.platform.dapi.v0.TenderdashBlockProof.Header\x12I\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x37.org.dash.platform.dapi.v0.TenderdashBlockProof.BlockId\x12\r\n\x05round\x18\x03 \x01(\r\x12\x13\n\x0bquorum_hash\x18\x04 \x01(\x0c\x12\x13\n\x0bquorum_type\x18\x05 \x01(\r\x12\x11\n\tsignature\x18\x06 \x01(\x0c\x1aX\n\x07\x42lockId\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x16\n\x0epart_set_total\x18\x02 \x01(\r\x12\x15\n\rpart_set_hash\x18\x03 \x01(\x0c\x12\x10\n\x08state_id\x18\x04 \x01(\x0c\x1a\x9a\x04\n\x06Header\x12\x19\n\rblock_version\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0b\x61pp_version\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63hain_id\x18\x03 \x01(\t\x12\x12\n\x06height\x18\x04 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x05 \x01(\r\x12\x18\n\x0ctime_seconds\x18\x06 \x01(\x03\x42\x02\x30\x01\x12\x12\n\ntime_nanos\x18\x07 \x01(\x05\x12N\n\rlast_block_id\x18\x08 \x01(\x0b\x32\x37.org.dash.platform.dapi.v0.TenderdashBlockProof.BlockId\x12\x18\n\x10last_commit_hash\x18\t \x01(\x0c\x12\x11\n\tdata_hash\x18\n \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x0b \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\x0c \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\r \x01(\x0c\x12\x1b\n\x13next_consensus_hash\x18\x0e \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0f \x01(\x0c\x12\x14\n\x0cresults_hash\x18\x10 \x01(\x0c\x12\x15\n\revidence_hash\x18\x11 \x01(\x0c\x12\x1c\n\x14proposer_pro_tx_hash\x18\x12 \x01(\x0c\x12 \n\x14proposed_app_version\x18\x13 \x01(\x04\x42\x02\x30\x01\"i\n\x1aTenderdashTransactionProof\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05total\x18\x02 \x01(\r\x12\x18\n\x10transaction_path\x18\x03 \x03(\x0c\x12\x13\n\x0bresult_path\x18\x04 \x03(\x0c\"\xfe\x01\n\"GetOwnerTransactionsInBlockRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockRequest.GetOwnerTransactionsInBlockRequestV0H\x00\x1a[\n$GetOwnerTransactionsInBlockRequestV0\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08owner_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xd8\x04\n#GetOwnerTransactionsInBlockResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockResponse.GetOwnerTransactionsInBlockResponseV0H\x00\x1a\xb1\x03\n%GetOwnerTransactionsInBlockResponseV0\x12\x8b\x01\n\x0ctransactions\x18\x01 \x03(\x0b\x32u.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockResponse.GetOwnerTransactionsInBlockResponseV0.OwnerTransaction\x12>\n\x05proof\x18\x02 \x01(\x0b\x32/.org.dash.platform.dapi.v0.TenderdashBlockProof\x1a\xb9\x01\n\x10OwnerTransaction\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x03 \x01(\r\x12\x13\n\x0bresult_data\x18\x04 \x01(\x0c\x12\x14\n\x08gas_used\x18\x05 \x01(\x03\x42\x02\x30\x01\x12\x44\n\x05proof\x18\x06 \x01(\x0b\x32\x35.org.dash.platform.dapi.v0.TenderdashTransactionProofB\t\n\x07version\"\xb9\x01\n\x10GetBlocksRequest\x12L\n\x02v0\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetBlocksRequest.GetBlocksRequestV0H\x00\x1aL\n\x12GetBlocksRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x85\x05\n\x11GetBlocksResponse\x12N\n\x02v0\x18\x01 \x01(\x0b\x32@.org.dash.platform.dapi.v0.GetBlocksResponse.GetBlocksResponseV0H\x00\x1a\x94\x04\n\x13GetBlocksResponseV0\x12V\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x46.org.dash.platform.dapi.v0.GetBlocksResponse.GetBlocksResponseV0.Block\x1an\n\x0bTransaction\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x03 \x01(\r\x12\x13\n\x0bresult_data\x18\x04 \x01(\x0c\x12\x14\n\x08gas_used\x18\x05 \x01(\x03\x42\x02\x30\x01\x1a\xb4\x02\n\x05\x42lock\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x13\n\x07time_ms\x18\x03 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x04 \x01(\r\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\x12\x1c\n\x14proposer_pro_tx_hash\x18\x06 \x01(\x0c\x12\x62\n\x0ctransactions\x18\x07 \x03(\x0b\x32L.org.dash.platform.dapi.v0.GetBlocksResponse.GetBlocksResponseV0.Transaction\x12>\n\x05proof\x18\x08 \x01(\x0b\x32/.org.dash.platform.dapi.v0.TenderdashBlockProofB\t\n\x07version*Z\n\nKeyPurpose\x12\x12\n\x0e\x41UTHENTICATION\x10\x00\x12\x0e\n\nENCRYPTION\x10\x01\x12\x0e\n\nDECRYPTION\x10\x02\x12\x0c\n\x08TRANSFER\x10\x03\x12\n\n\x06VOTING\x10\x05*\xb9\x01\n\x16\x43ontractModerationList\x12(\n$CONTRACT_MODERATION_LIST_UNSPECIFIED\x10\x00\x12$\n CONTRACT_MODERATION_LIST_BANLIST\x10\x01\x12(\n$CONTRACT_MODERATION_LIST_SUSPENSIONS\x10\x02\x12%\n!CONTRACT_MODERATION_LIST_WARNINGS\x10\x03\x32\x98[\n\x08Platform\x12\x93\x01\n\x18\x62roadcastStateTransition\x12:.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest\x1a;.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse\x12l\n\x0bgetIdentity\x12-.org.dash.platform.dapi.v0.GetIdentityRequest\x1a..org.dash.platform.dapi.v0.GetIdentityResponse\x12x\n\x0fgetIdentityKeys\x12\x31.org.dash.platform.dapi.v0.GetIdentityKeysRequest\x1a\x32.org.dash.platform.dapi.v0.GetIdentityKeysResponse\x12\x96\x01\n\x19getIdentitiesContractKeys\x12;.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest\x1a<.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse\x12{\n\x10getIdentityNonce\x12\x32.org.dash.platform.dapi.v0.GetIdentityNonceRequest\x1a\x33.org.dash.platform.dapi.v0.GetIdentityNonceResponse\x12\x93\x01\n\x18getIdentityContractNonce\x12:.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse\x12\xa8\x01\n\x1fgetIdentityKeysRemainingBudgets\x12\x41.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsRequest\x1a\x42.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse\x12\x81\x01\n\x12getIdentityBalance\x12\x34.org.dash.platform.dapi.v0.GetIdentityBalanceRequest\x1a\x35.org.dash.platform.dapi.v0.GetIdentityBalanceResponse\x12\x8a\x01\n\x15getIdentitiesBalances\x12\x37.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse\x12\xa2\x01\n\x1dgetIdentityBalanceAndRevision\x12?.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest\x1a@.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse\x12\xaf\x01\n#getEvonodesProposedEpochBlocksByIds\x12\x45.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12\xb3\x01\n%getEvonodesProposedEpochBlocksByRange\x12G.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12x\n\x0fgetDataContract\x12\x31.org.dash.platform.dapi.v0.GetDataContractRequest\x1a\x32.org.dash.platform.dapi.v0.GetDataContractResponse\x12\x8d\x01\n\x16getDataContractHistory\x12\x38.org.dash.platform.dapi.v0.GetDataContractHistoryRequest\x1a\x39.org.dash.platform.dapi.v0.GetDataContractHistoryResponse\x12\xa5\x01\n\x1egetDataContractsLatestVersions\x12@.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest\x1a\x41.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse\x12{\n\x10getDataContracts\x12\x32.org.dash.platform.dapi.v0.GetDataContractsRequest\x1a\x33.org.dash.platform.dapi.v0.GetDataContractsResponse\x12\x89\x01\n\x17getDataContractsByRange\x12\x39.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest\x1a\x33.org.dash.platform.dapi.v0.GetDataContractsResponse\x12\x87\x01\n\x14getContractGroupInfo\x12\x36.org.dash.platform.dapi.v0.GetContractGroupInfoRequest\x1a\x37.org.dash.platform.dapi.v0.GetContractGroupInfoResponse\x12\x90\x01\n\x17getContractGroupMembers\x12\x39.org.dash.platform.dapi.v0.GetContractGroupMembersRequest\x1a:.org.dash.platform.dapi.v0.GetContractGroupMembersResponse\x12\x9f\x01\n\x1cgetContractGroupsForContract\x12>.org.dash.platform.dapi.v0.GetContractGroupsForContractRequest\x1a?.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse\x12\x9c\x01\n\x1bgetContractModerationStatus\x12=.org.dash.platform.dapi.v0.GetContractModerationStatusRequest\x1a>.org.dash.platform.dapi.v0.GetContractModerationStatusResponse\x12\x9f\x01\n\x1cgetContractModerationEntries\x12>.org.dash.platform.dapi.v0.GetContractModerationEntriesRequest\x1a?.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse\x12\x9c\x01\n\x1bgetContractDocumentRemovals\x12=.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest\x1a>.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse\x12\x8d\x01\n\x16getContractTeamActions\x12\x38.org.dash.platform.dapi.v0.GetContractTeamActionsRequest\x1a\x39.org.dash.platform.dapi.v0.GetContractTeamActionsResponse\x12\x9f\x01\n\x1cgetContractTeamActionSigners\x12>.org.dash.platform.dapi.v0.GetContractTeamActionSignersRequest\x1a?.org.dash.platform.dapi.v0.GetContractTeamActionSignersResponse\x12\xae\x01\n!getContractModerationActionCounts\x12\x43.org.dash.platform.dapi.v0.GetContractModerationActionCountsRequest\x1a\x44.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse\x12\x81\x01\n\x12getContractFeePots\x12\x34.org.dash.platform.dapi.v0.GetContractFeePotsRequest\x1a\x35.org.dash.platform.dapi.v0.GetContractFeePotsResponse\x12\x81\x01\n\x12getDocumentHistory\x12\x34.org.dash.platform.dapi.v0.GetDocumentHistoryRequest\x1a\x35.org.dash.platform.dapi.v0.GetDocumentHistoryResponse\x12o\n\x0cgetDocuments\x12..org.dash.platform.dapi.v0.GetDocumentsRequest\x1a/.org.dash.platform.dapi.v0.GetDocumentsResponse\x12\x99\x01\n\x1agetIdentityByPublicKeyHash\x12<.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest\x1a=.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse\x12\xb4\x01\n#getIdentityByNonUniquePublicKeyHash\x12\x45.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest\x1a\x46.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse\x12\x9f\x01\n\x1cwaitForStateTransitionResult\x12>.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest\x1a?.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse\x12\xa5\x01\n\x1egetRecentStateTransitionStatus\x12@.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusRequest\x1a\x41.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse\x12\x81\x01\n\x12getConsensusParams\x12\x34.org.dash.platform.dapi.v0.GetConsensusParamsRequest\x1a\x35.org.dash.platform.dapi.v0.GetConsensusParamsResponse\x12\xa5\x01\n\x1egetProtocolVersionUpgradeState\x12@.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest\x1a\x41.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse\x12\xb4\x01\n#getProtocolVersionUpgradeVoteStatus\x12\x45.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest\x1a\x46.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse\x12r\n\rgetEpochsInfo\x12/.org.dash.platform.dapi.v0.GetEpochsInfoRequest\x1a\x30.org.dash.platform.dapi.v0.GetEpochsInfoResponse\x12\x8d\x01\n\x16getFinalizedEpochInfos\x12\x38.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest\x1a\x39.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse\x12\x8a\x01\n\x15getContestedResources\x12\x37.org.dash.platform.dapi.v0.GetContestedResourcesRequest\x1a\x38.org.dash.platform.dapi.v0.GetContestedResourcesResponse\x12\xa2\x01\n\x1dgetContestedResourceVoteState\x12?.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest\x1a@.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse\x12\xba\x01\n%getContestedResourceVotersForIdentity\x12G.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest\x1aH.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse\x12\xae\x01\n!getContestedResourceIdentityVotes\x12\x43.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest\x1a\x44.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse\x12\x8a\x01\n\x15getVotePollsByEndDate\x12\x37.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest\x1a\x38.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse\x12\x8a\x01\n\x15getYesNoVotePollState\x12\x37.org.dash.platform.dapi.v0.GetYesNoVotePollStateRequest\x1a\x38.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse\x12\x8d\x01\n\x16getMasternodeYesNoVote\x12\x38.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteRequest\x1a\x39.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse\x12\xa5\x01\n\x1egetPrefundedSpecializedBalance\x12@.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest\x1a\x41.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse\x12\x96\x01\n\x19getTotalCreditsInPlatform\x12;.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest\x1a<.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse\x12x\n\x0fgetPathElements\x12\x31.org.dash.platform.dapi.v0.GetPathElementsRequest\x1a\x32.org.dash.platform.dapi.v0.GetPathElementsResponse\x12\x66\n\tgetStatus\x12+.org.dash.platform.dapi.v0.GetStatusRequest\x1a,.org.dash.platform.dapi.v0.GetStatusResponse\x12\x8a\x01\n\x15getCurrentQuorumsInfo\x12\x37.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest\x1a\x38.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse\x12\x93\x01\n\x18getIdentityTokenBalances\x12:.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse\x12\x99\x01\n\x1agetIdentitiesTokenBalances\x12<.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest\x1a=.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse\x12\x8a\x01\n\x15getIdentityTokenInfos\x12\x37.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse\x12\x90\x01\n\x17getIdentitiesTokenInfos\x12\x39.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest\x1a:.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse\x12{\n\x10getTokenStatuses\x12\x32.org.dash.platform.dapi.v0.GetTokenStatusesRequest\x1a\x33.org.dash.platform.dapi.v0.GetTokenStatusesResponse\x12\x9f\x01\n\x1cgetTokenDirectPurchasePrices\x12>.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest\x1a?.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse\x12\x87\x01\n\x14getTokenContractInfo\x12\x36.org.dash.platform.dapi.v0.GetTokenContractInfoRequest\x1a\x37.org.dash.platform.dapi.v0.GetTokenContractInfoResponse\x12\xb1\x01\n\"getTokenPreProgrammedDistributions\x12\x44.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest\x1a\x45.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse\x12\xbd\x01\n&getTokenPerpetualDistributionLastClaim\x12H.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest\x1aI.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse\x12\x84\x01\n\x13getTokenTotalSupply\x12\x35.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest\x1a\x36.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse\x12o\n\x0cgetGroupInfo\x12..org.dash.platform.dapi.v0.GetGroupInfoRequest\x1a/.org.dash.platform.dapi.v0.GetGroupInfoResponse\x12r\n\rgetGroupInfos\x12/.org.dash.platform.dapi.v0.GetGroupInfosRequest\x1a\x30.org.dash.platform.dapi.v0.GetGroupInfosResponse\x12x\n\x0fgetGroupActions\x12\x31.org.dash.platform.dapi.v0.GetGroupActionsRequest\x1a\x32.org.dash.platform.dapi.v0.GetGroupActionsResponse\x12\x8a\x01\n\x15getGroupActionSigners\x12\x37.org.dash.platform.dapi.v0.GetGroupActionSignersRequest\x1a\x38.org.dash.platform.dapi.v0.GetGroupActionSignersResponse\x12u\n\x0egetAddressInfo\x12\x30.org.dash.platform.dapi.v0.GetAddressInfoRequest\x1a\x31.org.dash.platform.dapi.v0.GetAddressInfoResponse\x12~\n\x11getAddressesInfos\x12\x33.org.dash.platform.dapi.v0.GetAddressesInfosRequest\x1a\x34.org.dash.platform.dapi.v0.GetAddressesInfosResponse\x12\x8d\x01\n\x16getAddressesTrunkState\x12\x38.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest\x1a\x39.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse\x12\x90\x01\n\x17getAddressesBranchState\x12\x39.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest\x1a:.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse\x12\xa5\x01\n\x1egetRecentAddressBalanceChanges\x12@.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest\x1a\x41.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse\x12\xc0\x01\n\'getRecentCompactedAddressBalanceChanges\x12I.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest\x1aJ.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse\x12\x96\x01\n\x19getShieldedEncryptedNotes\x12;.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest\x1a<.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse\x12\x81\x01\n\x12getShieldedAnchors\x12\x34.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest\x1a\x35.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse\x12\x9c\x01\n\x1bgetMostRecentShieldedAnchor\x12=.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest\x1a>.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse\x12\x87\x01\n\x14getShieldedPoolState\x12\x36.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest\x1a\x37.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse\x12\x8a\x01\n\x15getShieldedNotesCount\x12\x37.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest\x1a\x38.org.dash.platform.dapi.v0.GetShieldedNotesCountResponse\x12\x8a\x01\n\x15getShieldedNullifiers\x12\x37.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest\x1a\x38.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse\x12\x96\x01\n\x19getPrivateDocumentEntries\x12;.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesRequest\x1a<.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse\x12\x9c\x01\n\x1bgetOwnerTransactionsInBlock\x12=.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockRequest\x1a>.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockResponse\x12\x66\n\tgetBlocks\x12+.org.dash.platform.dapi.v0.GetBlocksRequest\x1a,.org.dash.platform.dapi.v0.GetBlocksResponseb\x06proto3' + serialized_pb=b'\n\x0eplatform.proto\x12\x19org.dash.platform.dapi.v0\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x01\n\x05Proof\x12\x15\n\rgrovedb_proof\x18\x01 \x01(\x0c\x12\x13\n\x0bquorum_hash\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\r\n\x05round\x18\x04 \x01(\r\x12\x15\n\rblock_id_hash\x18\x05 \x01(\x0c\x12\x13\n\x0bquorum_type\x18\x06 \x01(\r\"\x98\x01\n\x10ResponseMetadata\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x02 \x01(\r\x12\r\n\x05\x65poch\x18\x03 \x01(\r\x12\x13\n\x07time_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x10protocol_version\x18\x05 \x01(\r\x12\x10\n\x08\x63hain_id\x18\x06 \x01(\t\"L\n\x1dStateTransitionBroadcastError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\";\n\x1f\x42roadcastStateTransitionRequest\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\"\"\n BroadcastStateTransitionResponse\"\xa4\x01\n\x12GetIdentityRequest\x12P\n\x02v0\x18\x01 \x01(\x0b\x32\x42.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0H\x00\x1a\x31\n\x14GetIdentityRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xc1\x01\n\x17GetIdentityNonceRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0H\x00\x1a?\n\x19GetIdentityNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf6\x01\n\x1fGetIdentityContractNonceRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0H\x00\x1a\\\n!GetIdentityContractNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xc0\x01\n\x19GetIdentityBalanceRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0H\x00\x1a\x38\n\x1bGetIdentityBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xec\x01\n$GetIdentityBalanceAndRevisionRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0H\x00\x1a\x43\n&GetIdentityBalanceAndRevisionRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9e\x02\n\x13GetIdentityResponse\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0H\x00\x1a\xa7\x01\n\x15GetIdentityResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbc\x02\n\x18GetIdentityNonceResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0H\x00\x1a\xb6\x01\n\x1aGetIdentityNonceResponseV0\x12\x1c\n\x0eidentity_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe5\x02\n GetIdentityContractNonceResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0H\x00\x1a\xc7\x01\n\"GetIdentityContractNonceResponseV0\x12%\n\x17identity_contract_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x8e\x02\n&GetIdentityKeysRemainingBudgetsRequest\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsRequest.GetIdentityKeysRemainingBudgetsRequestV0H\x00\x1a_\n(GetIdentityKeysRemainingBudgetsRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x0f\n\x07key_ids\x18\x02 \x03(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x96\x06\n\'GetIdentityKeysRemainingBudgetsResponse\x12z\n\x02v0\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse.GetIdentityKeysRemainingBudgetsResponseV0H\x00\x1a\xe3\x04\n)GetIdentityKeysRemainingBudgetsResponseV0\x12\xa4\x01\n\x16keys_remaining_budgets\x18\x01 \x01(\x0b\x32\x81\x01.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse.GetIdentityKeysRemainingBudgetsResponseV0.KeysRemainingBudgetsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x61\n\x17KeyRemainingBudgetEntry\x12\x0e\n\x06key_id\x18\x01 \x01(\r\x12!\n\x10remaining_budget\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x13\n\x11_remaining_budget\x1a\xaf\x01\n\x14KeysRemainingBudgets\x12\x96\x01\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse.GetIdentityKeysRemainingBudgetsResponseV0.KeyRemainingBudgetEntryB\x08\n\x06resultB\t\n\x07version\"\xbd\x02\n\x1aGetIdentityBalanceResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.GetIdentityBalanceResponseV0H\x00\x1a\xb1\x01\n\x1cGetIdentityBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb1\x04\n%GetIdentityBalanceAndRevisionResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0H\x00\x1a\x84\x03\n\'GetIdentityBalanceAndRevisionResponseV0\x12\x9b\x01\n\x14\x62\x61lance_and_revision\x18\x01 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0.BalanceAndRevisionH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x12\x42\x61lanceAndRevision\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06resultB\t\n\x07version\"\xd1\x01\n\x0eKeyRequestType\x12\x36\n\x08\x61ll_keys\x18\x01 \x01(\x0b\x32\".org.dash.platform.dapi.v0.AllKeysH\x00\x12@\n\rspecific_keys\x18\x02 \x01(\x0b\x32\'.org.dash.platform.dapi.v0.SpecificKeysH\x00\x12:\n\nsearch_key\x18\x03 \x01(\x0b\x32$.org.dash.platform.dapi.v0.SearchKeyH\x00\x42\t\n\x07request\"\t\n\x07\x41llKeys\"\x1f\n\x0cSpecificKeys\x12\x0f\n\x07key_ids\x18\x01 \x03(\r\"\xb6\x01\n\tSearchKey\x12I\n\x0bpurpose_map\x18\x01 \x03(\x0b\x32\x34.org.dash.platform.dapi.v0.SearchKey.PurposeMapEntry\x1a^\n\x0fPurposeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.org.dash.platform.dapi.v0.SecurityLevelMap:\x02\x38\x01\"\xbf\x02\n\x10SecurityLevelMap\x12]\n\x12security_level_map\x18\x01 \x03(\x0b\x32\x41.org.dash.platform.dapi.v0.SecurityLevelMap.SecurityLevelMapEntry\x1aw\n\x15SecurityLevelMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12M\n\x05value\x18\x02 \x01(\x0e\x32>.org.dash.platform.dapi.v0.SecurityLevelMap.KeyKindRequestType:\x02\x38\x01\"S\n\x12KeyKindRequestType\x12\x1f\n\x1b\x43URRENT_KEY_OF_KIND_REQUEST\x10\x00\x12\x1c\n\x18\x41LL_KEYS_OF_KIND_REQUEST\x10\x01\"\xda\x02\n\x16GetIdentityKeysRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetIdentityKeysRequest.GetIdentityKeysRequestV0H\x00\x1a\xda\x01\n\x18GetIdentityKeysRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12?\n\x0crequest_type\x18\x02 \x01(\x0b\x32).org.dash.platform.dapi.v0.KeyRequestType\x12+\n\x05limit\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\x99\x03\n\x17GetIdentityKeysResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0H\x00\x1a\x96\x02\n\x19GetIdentityKeysResponseV0\x12\x61\n\x04keys\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0.KeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x04Keys\x12\x12\n\nkeys_bytes\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xef\x02\n GetIdentitiesContractKeysRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0H\x00\x1a\xd1\x01\n\"GetIdentitiesContractKeysRequestV0\x12\x16\n\x0eidentities_ids\x18\x01 \x03(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\x1f\n\x12\x64ocument_type_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x08purposes\x18\x04 \x03(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x15\n\x13_document_type_nameB\t\n\x07version\"\xdf\x06\n!GetIdentitiesContractKeysResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0H\x00\x1a\xbe\x05\n#GetIdentitiesContractKeysResponseV0\x12\x8a\x01\n\x0fidentities_keys\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aY\n\x0bPurposeKeys\x12\x36\n\x07purpose\x18\x01 \x01(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\x12\n\nkeys_bytes\x18\x02 \x03(\x0c\x1a\x9f\x01\n\x0cIdentityKeys\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12z\n\x04keys\x18\x02 \x03(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys\x1a\x90\x01\n\x0eIdentitiesKeys\x12~\n\x07\x65ntries\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeysB\x08\n\x06resultB\t\n\x07version\"\xa4\x02\n*GetEvonodesProposedEpochBlocksByIdsRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0H\x00\x1ah\n,GetEvonodesProposedEpochBlocksByIdsRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0b\n\x03ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x08\n\x06_epochB\t\n\x07version\"\x92\x06\n&GetEvonodesProposedEpochBlocksResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0H\x00\x1a\xe2\x04\n(GetEvonodesProposedEpochBlocksResponseV0\x12\xb1\x01\n#evonodes_proposed_block_counts_info\x18\x01 \x01(\x0b\x32\x81\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocksH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x15\x45vonodeProposedBlocks\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x02 \x01(\x04\x42\x02\x30\x01\x1a\xc4\x01\n\x16\x45vonodesProposedBlocks\x12\xa9\x01\n\x1e\x65vonodes_proposed_block_counts\x18\x01 \x03(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodeProposedBlocksB\x08\n\x06resultB\t\n\x07version\"\xf2\x02\n,GetEvonodesProposedEpochBlocksByRangeRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0H\x00\x1a\xaf\x01\n.GetEvonodesProposedEpochBlocksByRangeRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x03 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x04 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x07\n\x05startB\x08\n\x06_epochB\x08\n\x06_limitB\t\n\x07version\"\xcd\x01\n\x1cGetIdentitiesBalancesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0H\x00\x1a<\n\x1eGetIdentitiesBalancesRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9f\x05\n\x1dGetIdentitiesBalancesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0H\x00\x1a\x8a\x04\n\x1fGetIdentitiesBalancesResponseV0\x12\x8a\x01\n\x13identities_balances\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentitiesBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aL\n\x0fIdentityBalance\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x18\n\x07\x62\x61lance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x8f\x01\n\x12IdentitiesBalances\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentityBalanceB\x08\n\x06resultB\t\n\x07version\"\xb4\x01\n\x16GetDataContractRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetDataContractRequest.GetDataContractRequestV0H\x00\x1a\x35\n\x18GetDataContractRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xb3\x02\n\x17GetDataContractResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0H\x00\x1a\xb0\x01\n\x19GetDataContractResponseV0\x12\x17\n\rdata_contract\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x8c\x02\n%GetDataContractsLatestVersionsRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0H\x00\x1a`\n\'GetDataContractsLatestVersionsRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\x19\n\x11include_contracts\x18\x02 \x01(\x08\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xde\x01\n\x1fGetAssetLockOutpointInfoRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0H\x00\x1a\x44\n!GetAssetLockOutpointInfoRequestV0\x12\x10\n\x08outpoint\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xbc\x05\n GetAssetLockOutpointInfoResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0H\x00\x1a\xa5\x01\n\x15\x41ssetLockOutpointInfo\x12R\n\x06status\x18\x01 \x01(\x0e\x32\x42.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status\x12\"\n\x11remaining_credits\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x14\n\x12_remaining_credits\x1a\x97\x02\n\"GetAssetLockOutpointInfoResponseV0\x12u\n\x18\x61sset_lock_outpoint_info\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06result\"]\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_PRESENT\x10\x01\x12\x16\n\x12PARTIALLY_CONSUMED\x10\x02\x12\x12\n\x0e\x46ULLY_CONSUMED\x10\x03\x42\t\n\x07version\"\xfa\x05\n&GetDataContractsLatestVersionsResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0H\x00\x1a\x84\x01\n\x1e\x44\x61taContractLatestVersionEntry\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x14\n\x07version\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1a\n\rdata_contract\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x42\n\n\x08_versionB\x10\n\x0e_data_contract\x1a\x90\x01\n\x1b\x44\x61taContractsLatestVersions\x12q\n\x07\x65ntries\x18\x01 \x03(\x0b\x32`.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry\x1a\xb0\x02\n(GetDataContractsLatestVersionsResponseV0\x12\x87\x01\n\x1e\x64\x61ta_contracts_latest_versions\x18\x01 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"R\n\x1f\x43ontractGroupDocumentTypeMember\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\"G\n\x18\x43ontractGroupTokenMember\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x16\n\x0etoken_position\x18\x02 \x01(\r\"\xd7\x01\n\x1bGetContractGroupInfoRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetContractGroupInfoRequest.GetContractGroupInfoRequestV0H\x00\x1aI\n\x1dGetContractGroupInfoRequestV0\x12\x19\n\x11\x63ontract_group_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x98\x04\n\x1cGetContractGroupInfoResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetContractGroupInfoResponse.GetContractGroupInfoResponseV0H\x00\x1a~\n\x11\x43ontractGroupInfo\x12\x10\n\x08owner_id\x18\x01 \x01(\x0c\x12\x11\n\tadmin_ids\x18\x02 \x03(\x0c\x12\x11\n\x04name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\x1a\x86\x02\n\x1eGetContractGroupInfoResponseV0\x12h\n\x13\x63ontract_group_info\x18\x01 \x01(\x0b\x32I.org.dash.platform.dapi.v0.GetContractGroupInfoResponse.ContractGroupInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf8\x06\n\x1eGetContractGroupMembersRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.GetContractGroupMembersRequestV0H\x00\x1a@\n\x14\x43ontractMembersQuery\x12\x18\n\x0bstart_after\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0e\n\x0c_start_after\x1a\x80\x01\n\x18\x44ocumentTypeMembersQuery\x12T\n\x0bstart_after\x18\x01 \x01(\x0b\x32:.org.dash.platform.dapi.v0.ContractGroupDocumentTypeMemberH\x00\x88\x01\x01\x42\x0e\n\x0c_start_after\x1ar\n\x11TokenMembersQuery\x12M\n\x0bstart_after\x18\x01 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractGroupTokenMemberH\x00\x88\x01\x01\x42\x0e\n\x0c_start_after\x1a\xa7\x03\n GetContractGroupMembersRequestV0\x12\x19\n\x11\x63ontract_group_id\x18\x01 \x01(\x0c\x12\x63\n\tcontracts\x18\x02 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.ContractMembersQueryH\x00\x12l\n\x0e\x64ocument_types\x18\x03 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.DocumentTypeMembersQueryH\x00\x12]\n\x06tokens\x18\x04 \x01(\x0b\x32K.org.dash.platform.dapi.v0.GetContractGroupMembersRequest.TokenMembersQueryH\x00\x12\x12\n\x05limit\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x42\t\n\x07membersB\x08\n\x06_limitB\t\n\x07version\"\xc9\x06\n\x1fGetContractGroupMembersResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.GetContractGroupMembersResponseV0H\x00\x1a\'\n\x0f\x43ontractMembers\x12\x14\n\x0c\x63ontract_ids\x18\x01 \x03(\x0c\x1ai\n\x13\x44ocumentTypeMembers\x12R\n\x0e\x64ocument_types\x18\x01 \x03(\x0b\x32:.org.dash.platform.dapi.v0.ContractGroupDocumentTypeMember\x1aS\n\x0cTokenMembers\x12\x43\n\x06tokens\x18\x01 \x03(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractGroupTokenMember\x1a\xc5\x03\n!GetContractGroupMembersResponseV0\x12_\n\tcontracts\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.ContractMembersH\x00\x12h\n\x0e\x64ocument_types\x18\x02 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.DocumentTypeMembersH\x00\x12Y\n\x06tokens\x18\x03 \x01(\x0b\x32G.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.TokenMembersH\x00\x12\x31\n\x05proof\x18\x04 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x05 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"M\n\x1a\x43ontractModerationDocument\x12\x1a\n\x12\x64ocument_type_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\x0c\"\xc6\x01\n\x18\x43ontractModerationReason\x12\x11\n\x04\x63ode\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04text\x18\x02 \x01(\t\x12H\n\tdocuments\x18\x03 \x03(\x0b\x32\x35.org.dash.platform.dapi.v0.ContractModerationDocument\x12\x1f\n\x12reason_document_id\x18\x04 \x01(\x0cH\x01\x88\x01\x01\x42\x07\n\x05_codeB\x15\n\x13_reason_document_id\"i\n\x0f\x43ontractWarning\x12\x11\n\twarned_at\x18\x01 \x01(\x04\x12\x43\n\x06reason\x18\x02 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReason\"\xc5\x02\n\"GetContractModerationStatusRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetContractModerationStatusRequest.GetContractModerationStatusRequestV0H\x00\x1a\xa1\x01\n$GetContractModerationStatusRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x13\n\x0bidentity_id\x18\x02 \x01(\x0c\x12@\n\x05lists\x18\x03 \x03(\x0e\x32\x31.org.dash.platform.dapi.v0.ContractModerationList\x12\r\n\x05prove\x18\x04 \x01(\x08\x42\t\n\x07version\"\xec\x06\n#GetContractModerationStatusResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.GetContractModerationStatusResponseV0H\x00\x1a\xb4\x03\n\x18\x43ontractModerationStatus\x12\x13\n\x06\x62\x61nned\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x0fsuspended_until\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12@\n\x05lists\x18\x03 \x03(\x0e\x32\x31.org.dash.platform.dapi.v0.ContractModerationList\x12L\n\nban_reason\x18\x04 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReasonH\x02\x88\x01\x01\x12S\n\x11suspension_reason\x18\x05 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReasonH\x03\x88\x01\x01\x12<\n\x08warnings\x18\x06 \x03(\x0b\x32*.org.dash.platform.dapi.v0.ContractWarningB\t\n\x07_bannedB\x12\n\x10_suspended_untilB\r\n\x0b_ban_reasonB\x14\n\x12_suspension_reason\x1a\x8e\x02\n%GetContractModerationStatusResponseV0\x12i\n\x06status\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatusH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xfb\x02\n#GetContractModerationEntriesRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractModerationEntriesRequest.GetContractModerationEntriesRequestV0H\x00\x1a\xd4\x01\n%GetContractModerationEntriesRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12?\n\x04list\x18\x02 \x01(\x0e\x32\x31.org.dash.platform.dapi.v0.ContractModerationList\x12\x18\n\x0bstart_after\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x0e\n\x0c_start_afterB\x08\n\x06_limitB\t\n\x07version\"\x96\x06\n$GetContractModerationEntriesResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.GetContractModerationEntriesResponseV0H\x00\x1a\xcf\x01\n\x17\x43ontractModerationEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x12\n\x05until\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x43\n\x06reason\x18\x03 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReason\x12<\n\x08warnings\x18\x04 \x03(\x0b\x32*.org.dash.platform.dapi.v0.ContractWarningB\x08\n\x06_until\x1a\x85\x01\n\x19\x43ontractModerationEntries\x12h\n\x07\x65ntries\x18\x01 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry\x1a\x92\x02\n&GetContractModerationEntriesResponseV0\x12l\n\x07\x65ntries\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x04\n\"GetContractDocumentRemovalsRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest.GetContractDocumentRemovalsRequestV0H\x00\x1a#\n\x0b\x44ocumentIds\x12\x14\n\x0c\x64ocument_ids\x18\x01 \x03(\x0c\x1aN\n\x04Page\x12\x18\n\x0bstart_after\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x01\x88\x01\x01\x42\x0e\n\x0c_start_afterB\x08\n\x06_limit\x1a\xaa\x02\n$GetContractDocumentRemovalsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x61\n\x0c\x64ocument_ids\x18\x03 \x01(\x0b\x32I.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest.DocumentIdsH\x00\x12R\n\x04page\x18\x04 \x01(\x0b\x32\x42.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest.PageH\x00\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x0b\n\tselectionB\t\n\x07version\"\xe0\x07\n#GetContractDocumentRemovalsResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.GetContractDocumentRemovalsResponseV0H\x00\x1aH\n\x1b\x43ontractDocumentRestoration\x12\x14\n\x0cmoderator_id\x18\x01 \x01(\x0c\x12\x13\n\x0brestored_at\x18\x02 \x01(\x04\x1a\xd5\x02\n\x17\x43ontractDocumentRemoval\x12\x13\n\x0b\x64ocument_id\x18\x01 \x01(\x0c\x12\x19\n\x11\x64ocument_owner_id\x18\x02 \x01(\x0c\x12\x14\n\x0cmoderator_id\x18\x03 \x01(\x0c\x12\x12\n\nremoved_at\x18\x04 \x01(\x04\x12\x43\n\x06reason\x18\x05 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReason\x12\x15\n\rdocument_hash\x18\x06 \x01(\x0c\x12o\n\x0brestoration\x18\x07 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration\x12\x13\n\x0bkept_fields\x18\x08 \x01(\x0c\x1a\x84\x01\n\x18\x43ontractDocumentRemovals\x12h\n\x08removals\x18\x01 \x03(\x0b\x32V.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval\x1a\x90\x02\n%GetContractDocumentRemovalsResponseV0\x12k\n\x08removals\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemovalsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc7\x04\n\x1dGetContractTeamActionsRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContractTeamActionsRequest.GetContractTeamActionsRequestV0H\x00\x1aL\n\x0fStartAtActionId\x12\x17\n\x0fstart_action_id\x18\x01 \x01(\x0c\x12 \n\x18start_action_id_included\x18\x02 \x01(\x08\x1a\xbc\x02\n\x1fGetContractTeamActionsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12U\n\x06status\x18\x02 \x01(\x0e\x32\x45.org.dash.platform.dapi.v0.GetContractTeamActionsRequest.ActionStatus\x12i\n\x12start_at_action_id\x18\x03 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetContractTeamActionsRequest.StartAtActionIdH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x15\n\x13_start_at_action_idB\x08\n\x06_count\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\xe0\x07\n\x1eGetContractTeamActionsResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.GetContractTeamActionsResponseV0H\x00\x1a\xe6\x01\n\x15\x44\x65leteSettledDocument\x12\x1a\n\x12\x64ocument_type_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\x0c\x12!\n\x19\x64ocument_last_modified_at\x18\x03 \x01(\x04\x12\x1e\n\x11\x64ocument_revision\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x43\n\x06reason\x18\x05 \x01(\x0b\x32\x33.org.dash.platform.dapi.v0.ContractModerationReasonB\x14\n\x12_document_revision\x1a\xe6\x01\n\x12\x43ontractTeamAction\x12\x11\n\taction_id\x18\x01 \x01(\x0c\x12\x13\n\x0bproposer_id\x18\x02 \x01(\x0c\x12\x13\n\x0bproposed_at\x18\x03 \x01(\x04\x12r\n\x17\x64\x65lete_settled_document\x18\x04 \x01(\x0b\x32O.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.DeleteSettledDocumentH\x00\x12\x16\n\x0e\x61pproval_count\x18\x05 \x01(\rB\x07\n\x05\x65vent\x1at\n\x13\x43ontractTeamActions\x12]\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32L.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.ContractTeamAction\x1a\x80\x02\n GetContractTeamActionsResponseV0\x12`\n\x07\x61\x63tions\x18\x01 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetContractTeamActionsResponse.ContractTeamActionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x8a\x03\n#GetContractTeamActionSignersRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractTeamActionSignersRequest.GetContractTeamActionSignersRequestV0H\x00\x1a\xbb\x01\n%GetContractTeamActionSignersRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12[\n\x06status\x18\x02 \x01(\x0e\x32K.org.dash.platform.dapi.v0.GetContractTeamActionSignersRequest.ActionStatus\x12\x11\n\taction_id\x18\x03 \x01(\x0c\x12\r\n\x05prove\x18\x04 \x01(\x08\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\xed\x03\n$GetContractTeamActionSignersResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContractTeamActionSignersResponse.GetContractTeamActionSignersResponseV0H\x00\x1a/\n\x19\x43ontractTeamActionSigners\x12\x12\n\nsigner_ids\x18\x01 \x03(\x0c\x1a\x92\x02\n&GetContractTeamActionSignersResponseV0\x12l\n\x07signers\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetContractTeamActionSignersResponse.ContractTeamActionSignersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x85\x02\n(GetContractModerationActionCountsRequest\x12|\n\x02v0\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetContractModerationActionCountsRequest.GetContractModerationActionCountsRequestV0H\x00\x1aP\n*GetContractModerationActionCountsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xb5\x05\n)GetContractModerationActionCountsResponse\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse.GetContractModerationActionCountsResponseV0H\x00\x1a\x43\n\x1d\x43ontractModerationActionCount\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x1a\x94\x01\n\x1e\x43ontractModerationActionCounts\x12r\n\x06\x63ounts\x18\x01 \x03(\x0b\x32\x62.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse.ContractModerationActionCount\x1a\xa0\x02\n+GetContractModerationActionCountsResponseV0\x12u\n\x06\x63ounts\x18\x01 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse.ContractModerationActionCountsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc9\x01\n\x19GetContractFeePotsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetContractFeePotsRequest.GetContractFeePotsRequestV0H\x00\x1a\x41\n\x1bGetContractFeePotsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9f\x06\n\x1aGetContractFeePotsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetContractFeePotsResponse.GetContractFeePotsResponseV0H\x00\x1aR\n\x17\x43ontractFeePotLastClaim\x12\r\n\x05\x65poch\x18\x01 \x01(\r\x12\x13\n\x07time_ms\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x63laimant_id\x18\x03 \x01(\x0c\x1a\x88\x01\n\x0e\x43ontractFeePot\x12\x13\n\x07\x63redits\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x61\n\nlast_claim\x18\x02 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePotLastClaim\x1a\xc0\x01\n\x0f\x43ontractFeePots\x12S\n\x05owner\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePot\x12X\n\nmoderators\x18\x02 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePot\x1a\xf1\x01\n\x1cGetContractFeePotsResponseV0\x12U\n\x04pots\x18\x01 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetContractFeePotsResponse.ContractFeePotsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf1\x01\n#GetContractGroupsForContractRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetContractGroupsForContractRequest.GetContractGroupsForContractRequestV0H\x00\x1aK\n%GetContractGroupsForContractRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf5\x06\n$GetContractGroupsForContractResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.GetContractGroupsForContractResponseV0H\x00\x1aQ\n\x17\x44ocumentTypeMemberships\x12\x1a\n\x12\x64ocument_type_name\x18\x01 \x01(\t\x12\x1a\n\x12\x63ontract_group_ids\x18\x02 \x03(\x0c\x1a\x46\n\x10TokenMemberships\x12\x16\n\x0etoken_position\x18\x01 \x01(\r\x12\x1a\n\x12\x63ontract_group_ids\x18\x02 \x03(\x0c\x1a\x89\x02\n\x18\x43ontractGroupMemberships\x12\x1a\n\x12\x63ontract_group_ids\x18\x01 \x03(\x0c\x12o\n\x0e\x64ocument_types\x18\x02 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.DocumentTypeMemberships\x12`\n\x06tokens\x18\x03 \x03(\x0b\x32P.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.TokenMemberships\x1a\xa4\x02\n&GetContractGroupsForContractResponseV0\x12~\n\x1a\x63ontract_group_memberships\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse.ContractGroupMembershipsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb9\x01\n\x17GetDataContractsRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0H\x00\x1a\x37\n\x19GetDataContractsRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xad\x02\n\x1eGetDataContractsByRangeRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0H\x00\x1a\x95\x01\n GetDataContractsByRangeRequestV0\x12\x12\n\x05limit\x18\x01 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x03 \x01(\x0cH\x00\x12\x10\n\x08ids_only\x18\x04 \x01(\x08\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x07\n\x05startB\x08\n\x06_limitB\t\n\x07version\"\xcf\x04\n\x18GetDataContractsResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0H\x00\x1a[\n\x11\x44\x61taContractEntry\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x32\n\rdata_contract\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\x1au\n\rDataContracts\x12\x64\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32\x45.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractEntry\x1a\xf5\x01\n\x1aGetDataContractsResponseV0\x12[\n\x0e\x64\x61ta_contracts\x18\x01 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc5\x02\n\x1dGetDataContractHistoryRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.GetDataContractHistoryRequestV0H\x00\x1a\xb0\x01\n\x1fGetDataContractHistoryRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0bstart_at_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xb2\x05\n\x1eGetDataContractHistoryResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0H\x00\x1a\x9a\x04\n GetDataContractHistoryResponseV0\x12\x8f\x01\n\x15\x64\x61ta_contract_history\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a;\n\x18\x44\x61taContractHistoryEntry\x12\x10\n\x04\x64\x61te\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\xaa\x01\n\x13\x44\x61taContractHistory\x12\x92\x01\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32s.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryEntryB\x08\n\x06resultB\t\n\x07version\"\xf8\"\n\x13GetDocumentsRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0H\x00\x12R\n\x02v1\x18\x02 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1H\x00\x1a\xfe\x02\n\x12\x44ocumentFieldValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x19\n\x0bint64_value\x18\x02 \x01(\x12\x42\x02\x30\x01H\x00\x12\x1a\n\x0cuint64_value\x18\x03 \x01(\x04\x42\x02\x30\x01H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12\x0e\n\x04text\x18\x05 \x01(\tH\x00\x12\x15\n\x0b\x62ytes_value\x18\x06 \x01(\x0cH\x00\x12[\n\x04list\x18\x07 \x01(\x0b\x32K.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.ValueListH\x00\x12\x14\n\nnull_value\x18\x08 \x01(\x08H\x00\x1a^\n\tValueList\x12Q\n\x06values\x18\x01 \x03(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValueB\t\n\x07variant\x1a\xe2\x02\n\x12TimeRangeSelection\x12\\\n\x08selector\x18\x01 \x01(\x0e\x32J.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector\x12\x19\n\x08start_ms\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x12T\n\x04grid\x18\x03 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid\x1a>\n\x04Grid\x12\x11\n\x05range\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x04step\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x11\n\x05phase\x18\x03 \x01(\x04\x42\x02\x30\x01\"0\n\x08Selector\x12\n\n\x06NEWEST\x10\x00\x12\n\n\x06OLDEST\x10\x01\x12\x0c\n\x08\x42Y_START\x10\x02\x42\x0b\n\t_start_ms\x1a\x82\x02\n\x15IntegerRangeSelection\x12P\n\x05start\x18\x01 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue\x12W\n\x04grid\x18\x02 \x01(\x0b\x32I.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid\x1a>\n\x04Grid\x12\x11\n\x05range\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x04step\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x11\n\x05phase\x18\x03 \x01(\x04\x42\x02\x30\x01\x1a\xf2\x02\n\x0bWhereClause\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12N\n\x08operator\x18\x02 \x01(\x0e\x32<.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator\x12P\n\x05value\x18\x03 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue\x12U\n\ntime_range\x18\x04 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection\x12[\n\rinteger_range\x18\x05 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection\x1a\xa4\x01\n\x0fHavingAggregate\x12Y\n\x08\x66unction\x18\x01 \x01(\x0e\x32G.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function\x12\r\n\x05\x66ield\x18\x02 \x01(\t\"\'\n\x08\x46unction\x12\t\n\x05\x43OUNT\x10\x00\x12\x07\n\x03SUM\x10\x01\x12\x07\n\x03\x41VG\x10\x02\x1a\xf9\x03\n\x0cHavingClause\x12Q\n\taggregate\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate\x12V\n\x08operator\x18\x02 \x01(\x0e\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.Operator\x12R\n\x05value\x18\x03 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValueH\x00\"\xe0\x01\n\x08Operator\x12\t\n\x05\x45QUAL\x10\x00\x12\r\n\tNOT_EQUAL\x10\x01\x12\x10\n\x0cGREATER_THAN\x10\x02\x12\x1a\n\x16GREATER_THAN_OR_EQUALS\x10\x03\x12\r\n\tLESS_THAN\x10\x04\x12\x17\n\x13LESS_THAN_OR_EQUALS\x10\x05\x12\x0b\n\x07\x42\x45TWEEN\x10\x06\x12\x1a\n\x16\x42\x45TWEEN_EXCLUDE_BOUNDS\x10\x07\x12\x18\n\x14\x42\x45TWEEN_EXCLUDE_LEFT\x10\x08\x12\x19\n\x15\x42\x45TWEEN_EXCLUDE_RIGHT\x10\t\x12\x06\n\x02IN\x10\nB\x07\n\x05right\x1a\x90\x01\n\x0bOrderClause\x12\x0f\n\x05\x66ield\x18\x01 \x01(\tH\x00\x12S\n\taggregate\x18\x03 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregateH\x00\x12\x11\n\tascending\x18\x02 \x01(\x08\x42\x08\n\x06target\x1a\xbb\x01\n\x15GetDocumentsRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12\r\n\x05where\x18\x03 \x01(\x0c\x12\x10\n\x08order_by\x18\x04 \x01(\x0c\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x42\x07\n\x05start\x1a\xa6\x0c\n\x15GetDocumentsRequestV1\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12Q\n\rwhere_clauses\x18\x03 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause\x12L\n\x08order_by\x18\x04 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause\x12\x12\n\x05limit\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x12\\\n\x07selects\x18\t \x03(\x0b\x32K.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select\x12\x10\n\x08group_by\x18\n \x03(\t\x12K\n\x06having\x18\x0b \x03(\x0b\x32;.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause\x12\x13\n\x06offset\x18\x0c \x01(\rH\x02\x88\x01\x01\x12\x61\n\x07\x63hained\x18\r \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin\x12\x62\n\x0bsub_queries\x18\x0e \x03(\x0b\x32M.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery\x1a\xc9\x01\n\x06Select\x12\x66\n\x08\x66unction\x18\x01 \x01(\x0e\x32T.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select.Function\x12\r\n\x05\x66ield\x18\x02 \x01(\t\"H\n\x08\x46unction\x12\r\n\tDOCUMENTS\x10\x00\x12\t\n\x05\x43OUNT\x10\x01\x12\x07\n\x03SUM\x10\x02\x12\x07\n\x03\x41VG\x10\x03\x12\x07\n\x03MIN\x10\x04\x12\x07\n\x03MAX\x10\x05\x1a\x41\n\x0b\x43hainedJoin\x12\x15\n\rjoin_property\x18\x01 \x01(\t\x12\x1b\n\x13outer_document_type\x18\x02 \x01(\t\x1a\xa6\x04\n\x08SubQuery\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12Q\n\rwhere_clauses\x18\x03 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause\x12L\n\x08order_by\x18\x04 \x03(\x0b\x32:.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause\x12\x12\n\x05limit\x18\x05 \x01(\rH\x00\x88\x01\x01\x12`\n\x04kind\x18\x06 \x01(\x0e\x32R.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind\x12\x63\n\x04\x62ind\x18\x07 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding\x1a\x41\n\x07\x42inding\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x17\n\x0fsource_property\x18\x02 \x01(\t\x12\r\n\x05\x66ield\x18\x03 \x01(\t\" \n\x04Kind\x12\r\n\tDOCUMENTS\x10\x00\x12\t\n\x05\x43OUNT\x10\x01\x42\x08\n\x06_limitB\x07\n\x05startB\x08\n\x06_limitB\t\n\x07_offset\"\xb0\x02\n\rWhereOperator\x12\t\n\x05\x45QUAL\x10\x00\x12\x10\n\x0cGREATER_THAN\x10\x01\x12\x1a\n\x16GREATER_THAN_OR_EQUALS\x10\x02\x12\r\n\tLESS_THAN\x10\x03\x12\x17\n\x13LESS_THAN_OR_EQUALS\x10\x04\x12\x0b\n\x07\x42\x45TWEEN\x10\x05\x12\x1a\n\x16\x42\x45TWEEN_EXCLUDE_BOUNDS\x10\x06\x12\x18\n\x14\x42\x45TWEEN_EXCLUDE_LEFT\x10\x07\x12\x19\n\x15\x42\x45TWEEN_EXCLUDE_RIGHT\x10\x08\x12\x06\n\x02IN\x10\t\x12\x0f\n\x0bSTARTS_WITH\x10\n\x12\x11\n\rIN_TIME_RANGE\x10\x0b\x12\x14\n\x10IN_INTEGER_RANGE\x10\x0c\x12\x0c\n\x08\x43ONTAINS\x10\r\x12\x10\n\x0c\x43ONTAINS_ANY\x10\x0e\x42\t\n\x07version\"\xd5\x1d\n\x14GetDocumentsResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0H\x00\x12T\n\x02v1\x18\x02 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1H\x00\x1a\x9b\x02\n\x16GetDocumentsResponseV0\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.DocumentsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x42\x08\n\x06result\x1a\xe7\x19\n\x16GetDocumentsResponseV1\x12\x61\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x1aL\n\nCountEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x03 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07_in_key\x1ar\n\x0c\x43ountEntries\x12\x62\n\x07\x65ntries\x18\x01 \x03(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry\x1a\xa0\x01\n\x0c\x43ountResults\x12\x1d\n\x0f\x61ggregate_count\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x66\n\x07\x65ntries\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntriesH\x00\x42\t\n\x07variant\x1aH\n\x08SumEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x0f\n\x03sum\x18\x03 \x01(\x12\x42\x02\x30\x01\x42\t\n\x07_in_key\x1an\n\nSumEntries\x12`\n\x07\x65ntries\x18\x01 \x03(\x0b\x32O.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumEntry\x1a\x9a\x01\n\nSumResults\x12\x1b\n\raggregate_sum\x18\x01 \x01(\x12\x42\x02\x30\x01H\x00\x12\x64\n\x07\x65ntries\x18\x02 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumEntriesH\x00\x42\t\n\x07variant\x1a_\n\x0c\x41verageEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x0f\n\x03sum\x18\x04 \x01(\x12\x42\x02\x30\x01\x42\t\n\x07_in_key\x1av\n\x0e\x41verageEntries\x12\x64\n\x07\x65ntries\x18\x01 \x03(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageEntry\x1a\x36\n\x10\x41verageAggregate\x12\x11\n\x05\x63ount\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0f\n\x03sum\x18\x02 \x01(\x12\x42\x02\x30\x01\x1a\xfb\x01\n\x0e\x41verageResults\x12t\n\x11\x61ggregate_average\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageAggregateH\x00\x12h\n\x07\x65ntries\x18\x02 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageEntriesH\x00\x42\t\n\x07variant\x1az\n\x0bRankedEntry\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x13\n\x05\x63ount\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x11\n\x03sum\x18\x03 \x01(\x12\x42\x02\x30\x01H\x00\x12\r\n\x03\x61vg\x18\x04 \x01(\x01H\x00\x12\x13\n\x06in_key\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x42\x07\n\x05valueB\t\n\x07_in_key\x1a\x9a\x01\n\rRankedEntries\x12\x63\n\x07\x65ntries\x18\x01 \x03(\x0b\x32R.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry\x12\x18\n\x07skipped\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\n\n\x08_skipped\x1a\xf7\x05\n\nResultData\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.DocumentsH\x00\x12\x65\n\x06\x63ounts\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResultsH\x00\x12\x61\n\x04sums\x18\x03 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumResultsH\x00\x12i\n\x08\x61verages\x18\x04 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResultsH\x00\x12\x66\n\x06ranked\x18\x05 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntriesH\x00\x12j\n\x07\x63hained\x18\x06 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocumentsH\x00\x12n\n\tcomposite\x18\x07 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocumentsH\x00\x42\t\n\x07variant\x1a\xd8\x01\n\x10\x43hainedDocuments\x12\x17\n\x0finner_documents\x18\x01 \x03(\x0c\x12\x17\n\x0fouter_documents\x18\x02 \x03(\x0c\x12\x19\n\x11missing_outer_ids\x18\x03 \x03(\x0c\x12w\n\x17removed_outer_documents\x18\x04 \x03(\x0b\x32V.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval\x1a\x94\x04\n\x12\x43ompositeDocuments\x12\x16\n\x0epage_documents\x18\x01 \x03(\x0c\x12}\n\x0bsub_results\x18\x02 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult\x1a\xe6\x02\n\x0eSubQueryResult\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.DocumentsH\x00\x12\x65\n\x06\x63ounts\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntriesH\x00\x12\x13\n\x0bmissing_ids\x18\x03 \x03(\x0c\x12g\n\x07removed\x18\x04 \x03(\x0b\x32V.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemovalB\x08\n\x06resultB\x08\n\x06resultB\t\n\x07version\"\xfe\x06\n\x19GetDocumentHistoryRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentHistoryRequest.GetDocumentHistoryRequestV0H\x00\x12^\n\x02v1\x18\x02 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentHistoryRequest.GetDocumentHistoryRequestV1H\x00\x1a\xeb\x01\n\x1bGetDocumentHistoryRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x03 \x01(\x0c\x12+\n\x05limit\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0bstart_at_ms\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x07 \x01(\x08\x1a\xa7\x03\n\x1bGetDocumentHistoryRequestV1\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x03 \x01(\x0c\x12+\n\x05limit\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05prove\x18\x05 \x01(\x08\x12\x19\n\x0bstart_at_ms\x18\x06 \x01(\x04\x42\x02\x30\x01H\x00\x12n\n\x0bstart_after\x18\x07 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetDocumentHistoryRequest.GetDocumentHistoryRequestV1.CursorH\x00\x12\x1f\n\x11start_at_revision\x18\x08 \x01(\x04\x42\x02\x30\x01H\x00\x12\x16\n\x08revision\x18\t \x01(\x04\x42\x02\x30\x01H\x00\x1a\x33\n\x06\x43ursor\x12\x13\n\x07time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06\x66ilterB\t\n\x07version\"\xd6\x0b\n\x1aGetDocumentHistoryResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV0H\x00\x12`\n\x02v1\x18\x02 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1H\x00\x1a\xeb\x03\n\x1cGetDocumentHistoryResponseV0\x12~\n\x10\x64ocument_history\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV0.DocumentHistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x37\n\x14\x44ocumentHistoryEntry\x12\x10\n\x04\x64\x61te\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\x95\x01\n\x0f\x44ocumentHistory\x12\x81\x01\n\x10\x64ocument_entries\x18\x01 \x03(\x0b\x32g.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV0.DocumentHistoryEntryB\x08\n\x06result\x1a\xfa\x05\n\x1cGetDocumentHistoryResponseV1\x12m\n\x07history\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.HistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x44\n\x05\x45ntry\x12\x13\n\x07time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x64ocument\x18\x03 \x01(\x0c\x1a\xc0\x01\n\tLifecycle\x12q\n\x05state\x18\x01 \x01(\x0e\x32\x62.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.Lifecycle.State\x12\x1f\n\x13remaining_revisions\x18\x02 \x01(\x04\x42\x02\x30\x01\"\x1f\n\x05State\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x41\x42SENT\x10\x01\x1a\xe5\x01\n\x07History\x12i\n\x07\x65ntries\x18\x01 \x03(\x0b\x32X.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.Entry\x12o\n\tlifecycle\x18\x02 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetDocumentHistoryResponse.GetDocumentHistoryResponseV1.LifecycleB\x08\n\x06resultB\t\n\x07version\"\xed\x01\n!GetIdentityByPublicKeyHashRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0H\x00\x1aM\n#GetIdentityByPublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xda\x02\n\"GetIdentityByPublicKeyHashResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0H\x00\x1a\xb6\x01\n$GetIdentityByPublicKeyHashResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x04\n*GetIdentityByNonUniquePublicKeyHashRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0H\x00\x12\x80\x01\n\x02v1\x18\x02 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1H\x00\x1a\x80\x01\n,GetIdentityByNonUniquePublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\x18\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x0e\n\x0c_start_after\x1a\x80\x01\n,GetIdentityByNonUniquePublicKeyHashRequestV1\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\x18\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x0e\n\x0c_start_afterB\t\n\x07version\"\xe4\n\n+GetIdentityByNonUniquePublicKeyHashResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0H\x00\x12\x82\x01\n\x02v1\x18\x02 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1H\x00\x1a\x9c\x05\n-GetIdentityByNonUniquePublicKeyHashResponseV0\x12\x9a\x01\n\x08identity\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponseH\x00\x12\x9d\x01\n\x05proof\x18\x02 \x01(\x0b\x32\x8b\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponseH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x10IdentityResponse\x12\x15\n\x08identity\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_identity\x1a\xa6\x01\n\x16IdentityProvedResponse\x12P\n&grovedb_identity_public_key_hash_proof\x18\x01 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12!\n\x14identity_proof_bytes\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x17\n\x15_identity_proof_bytesB\x08\n\x06resultJ\x04\x08\x04\x10\x05\x1a\x80\x03\n-GetIdentityByNonUniquePublicKeyHashResponseV1\x12\x9a\x01\n\x08identity\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponseH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x10IdentityResponse\x12\x15\n\x08identity\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_identityB\x08\n\x06resultB\t\n\x07version\"\x99\x02\n#WaitForStateTransitionResultRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0H\x00\x1as\n%WaitForStateTransitionResultRequestV0\x12\x1d\n\x15state_transition_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x1c\n\x14request_user_balance\x18\x03 \x01(\x08\x42\t\n\x07version\"\xce\x04\n$WaitForStateTransitionResultResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0H\x00\x1a\x34\n\x17SuccessWithOwnerBalance\x12\x19\n\rowner_balance\x18\x01 \x01(\x04\x42\x02\x30\x01\x1a\xee\x02\n&WaitForStateTransitionResultResponseV0\x12I\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x38.org.dash.platform.dapi.v0.StateTransitionBroadcastErrorH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12}\n\x1asuccess_with_owner_balance\x18\x04 \x01(\x0b\x32W.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalanceH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf4\x01\n%GetRecentStateTransitionStatusRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusRequest.GetRecentStateTransitionStatusRequestV0H\x00\x1aH\n\'GetRecentStateTransitionStatusRequestV0\x12\x1d\n\x15state_transition_hash\x18\x01 \x01(\x0c\x42\t\n\x07version\"\xbf\x06\n&GetRecentStateTransitionStatusResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0H\x00\x1a\x8f\x05\n(GetRecentStateTransitionStatusResponseV0\x12\x89\x01\n\tcommitted\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0.CommittedH\x00\x12\x85\x01\n\x07pending\x18\x02 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0.PendingH\x00\x12\x85\x01\n\x07unknown\x18\x03 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse.GetRecentStateTransitionStatusResponseV0.UnknownH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ah\n\tCommitted\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12G\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x38.org.dash.platform.dapi.v0.StateTransitionBroadcastError\x1a\t\n\x07Pending\x1a\t\n\x07UnknownB\x08\n\x06statusB\t\n\x07version\"\xc4\x01\n\x19GetConsensusParamsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetConsensusParamsRequest.GetConsensusParamsRequestV0H\x00\x1a<\n\x1bGetConsensusParamsRequestV0\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9c\x04\n\x1aGetConsensusParamsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetConsensusParamsResponse.GetConsensusParamsResponseV0H\x00\x1aP\n\x14\x43onsensusParamsBlock\x12\x11\n\tmax_bytes\x18\x01 \x01(\t\x12\x0f\n\x07max_gas\x18\x02 \x01(\t\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\t\x1a\x62\n\x17\x43onsensusParamsEvidence\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\t\x12\x18\n\x10max_age_duration\x18\x02 \x01(\t\x12\x11\n\tmax_bytes\x18\x03 \x01(\t\x1a\xda\x01\n\x1cGetConsensusParamsResponseV0\x12Y\n\x05\x62lock\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsBlock\x12_\n\x08\x65vidence\x18\x02 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsEvidenceB\t\n\x07version\"\xe4\x01\n%GetProtocolVersionUpgradeStateRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0H\x00\x1a\x38\n\'GetProtocolVersionUpgradeStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xb5\x05\n&GetProtocolVersionUpgradeStateResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0H\x00\x1a\x85\x04\n(GetProtocolVersionUpgradeStateResponseV0\x12\x87\x01\n\x08versions\x18\x01 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x96\x01\n\x08Versions\x12\x89\x01\n\x08versions\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry\x1a:\n\x0cVersionEntry\x12\x16\n\x0eversion_number\x18\x01 \x01(\r\x12\x12\n\nvote_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xa3\x02\n*GetProtocolVersionUpgradeVoteStatusRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0H\x00\x1ag\n,GetProtocolVersionUpgradeVoteStatusRequestV0\x12\x19\n\x11start_pro_tx_hash\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xef\x05\n+GetProtocolVersionUpgradeVoteStatusResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0H\x00\x1a\xaf\x04\n-GetProtocolVersionUpgradeVoteStatusResponseV0\x12\x98\x01\n\x08versions\x18\x01 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignalsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xaf\x01\n\x0eVersionSignals\x12\x9c\x01\n\x0fversion_signals\x18\x01 \x03(\x0b\x32\x82\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal\x1a\x35\n\rVersionSignal\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07version\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xf5\x01\n\x14GetEpochsInfoRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetEpochsInfoRequest.GetEpochsInfoRequestV0H\x00\x1a|\n\x16GetEpochsInfoRequestV0\x12\x31\n\x0bstart_epoch\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\x11\n\tascending\x18\x03 \x01(\x08\x12\r\n\x05prove\x18\x04 \x01(\x08\x42\t\n\x07version\"\x99\x05\n\x15GetEpochsInfoResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0H\x00\x1a\x9c\x04\n\x17GetEpochsInfoResponseV0\x12\x65\n\x06\x65pochs\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1au\n\nEpochInfos\x12g\n\x0b\x65poch_infos\x18\x01 \x03(\x0b\x32R.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo\x1a\xa6\x01\n\tEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x16\n\nstart_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xbf\x02\n\x1dGetFinalizedEpochInfosRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0H\x00\x1a\xaa\x01\n\x1fGetFinalizedEpochInfosRequestV0\x12\x19\n\x11start_epoch_index\x18\x01 \x01(\r\x12\"\n\x1astart_epoch_index_included\x18\x02 \x01(\x08\x12\x17\n\x0f\x65nd_epoch_index\x18\x03 \x01(\r\x12 \n\x18\x65nd_epoch_index_included\x18\x04 \x01(\x08\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xbd\t\n\x1eGetFinalizedEpochInfosResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0H\x00\x1a\xa5\x08\n GetFinalizedEpochInfosResponseV0\x12\x80\x01\n\x06\x65pochs\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xa4\x01\n\x13\x46inalizedEpochInfos\x12\x8c\x01\n\x15\x66inalized_epoch_infos\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo\x1a\x9f\x04\n\x12\x46inalizedEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x1c\n\x10\x66irst_block_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\r\x12!\n\x15total_blocks_in_epoch\x18\x07 \x01(\x04\x42\x02\x30\x01\x12*\n\"next_epoch_start_core_block_height\x18\x08 \x01(\r\x12!\n\x15total_processing_fees\x18\t \x01(\x04\x42\x02\x30\x01\x12*\n\x1etotal_distributed_storage_fees\x18\n \x01(\x04\x42\x02\x30\x01\x12&\n\x1atotal_created_storage_fees\x18\x0b \x01(\x04\x42\x02\x30\x01\x12\x1e\n\x12\x63ore_block_rewards\x18\x0c \x01(\x04\x42\x02\x30\x01\x12\x81\x01\n\x0f\x62lock_proposers\x18\r \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer\x1a\x39\n\rBlockProposer\x12\x13\n\x0bproposer_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x62lock_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xde\x04\n\x1cGetContestedResourcesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0H\x00\x1a\xcc\x03\n\x1eGetContestedResourcesRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x1a\n\x12start_index_values\x18\x04 \x03(\x0c\x12\x18\n\x10\x65nd_index_values\x18\x05 \x03(\x0c\x12\x89\x01\n\x13start_at_value_info\x18\x06 \x01(\x0b\x32g.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1a\x45\n\x10StartAtValueInfo\x12\x13\n\x0bstart_value\x18\x01 \x01(\x0c\x12\x1c\n\x14start_value_included\x18\x02 \x01(\x08\x42\x16\n\x14_start_at_value_infoB\x08\n\x06_countB\t\n\x07version\"\x88\x04\n\x1dGetContestedResourcesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0H\x00\x1a\xf3\x02\n\x1fGetContestedResourcesResponseV0\x12\x95\x01\n\x19\x63ontested_resource_values\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValuesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a<\n\x17\x43ontestedResourceValues\x12!\n\x19\x63ontested_resource_values\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x05\n\x1cGetVotePollsByEndDateRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0H\x00\x1a\xc0\x04\n\x1eGetVotePollsByEndDateRequestV0\x12\x84\x01\n\x0fstart_time_info\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfoH\x00\x88\x01\x01\x12\x80\x01\n\rend_time_info\x18\x02 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfoH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x11\n\tascending\x18\x05 \x01(\x08\x12\r\n\x05prove\x18\x06 \x01(\x08\x1aI\n\x0fStartAtTimeInfo\x12\x19\n\rstart_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13start_time_included\x18\x02 \x01(\x08\x1a\x43\n\rEndAtTimeInfo\x12\x17\n\x0b\x65nd_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x65nd_time_included\x18\x02 \x01(\x08\x42\x12\n\x10_start_time_infoB\x10\n\x0e_end_time_infoB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07version\"\x83\x06\n\x1dGetVotePollsByEndDateResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0H\x00\x1a\xee\x04\n\x1fGetVotePollsByEndDateResponseV0\x12\x9c\x01\n\x18vote_polls_by_timestamps\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestampsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aV\n\x1eSerializedVotePollsByTimestamp\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x15serialized_vote_polls\x18\x02 \x03(\x0c\x1a\xd7\x01\n\x1fSerializedVotePollsByTimestamps\x12\x99\x01\n\x18vote_polls_by_timestamps\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xd6\x01\n\x1cGetYesNoVotePollStateRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetYesNoVotePollStateRequest.GetYesNoVotePollStateRequestV0H\x00\x1a\x45\n\x1eGetYesNoVotePollStateRequestV0\x12\x14\n\x0cvote_poll_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xa8\x11\n\x1dGetYesNoVotePollStateResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0H\x00\x1a\x93\x10\n\x1fGetYesNoVotePollStateResponseV0\x12|\n\x05state\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollStateH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x61\n\x12YesNoVotePollBlock\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x63ore_height\x18\x02 \x01(\r\x12\x13\n\x07time_ms\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05\x65poch\x18\x04 \x01(\r\x1a\xa4\x03\n\x15\x46inishedYesNoVotePoll\x12\x0e\n\x06passed\x18\x01 \x01(\x08\x12\x18\n\x10yes_voting_power\x18\x02 \x01(\r\x12\x17\n\x0fno_voting_power\x18\x03 \x01(\r\x12\x1c\n\x14\x61\x62stain_voting_power\x18\x04 \x01(\r\x12\x1d\n\x15required_voting_power\x18\x05 \x01(\r\x12\x80\x01\n\x0bstart_block\x18\x06 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollBlock\x12\x87\x01\n\x12\x66inalization_block\x18\x07 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollBlock\x1a\xf9\x05\n\rYesNoVotePoll\x12\x94\x01\n\x11\x64\x65\x63ision_proposal\x18\x01 \x01(\x0b\x32w.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePoll.DecisionProposalH\x00\x12\x1f\n\x17supermajority_numerator\x18\x02 \x01(\r\x12!\n\x19supermajority_denominator\x18\x03 \x01(\r\x12\x12\n\x08\x61\x62solute\x18\x04 \x01(\rH\x01\x12\x93\x01\n\x11\x66raction_of_total\x18\x05 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePoll.FractionOfTotalH\x01\x1a\'\n\x10\x44\x65\x63isionProposal\x12\x13\n\x0b\x64ocument_id\x18\x01 \x01(\x0c\x1a\xc8\x01\n\x0f\x46ractionOfTotal\x12\x11\n\tnumerator\x18\x01 \x01(\r\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\r\x12\x8c\x01\n\x08rounding\x18\x03 \x01(\x0e\x32z.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePoll.VotingPowerRounding\"L\n\x13VotingPowerRounding\x12\x08\n\x04\x44OWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x11\n\rDOWN_PLUS_ONE\x10\x02\x12\x10\n\x0cUP_MINUS_ONE\x10\x03\x42\t\n\x07purposeB\x16\n\x14minimum_voting_power\x1a\xef\x03\n\x12YesNoVotePollState\x12~\n\x07started\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollBlockH\x00\x12\x82\x01\n\x08\x66inished\x18\x02 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.FinishedYesNoVotePollH\x00\x12\x18\n\x10yes_voting_power\x18\x03 \x01(\r\x12\x17\n\x0fno_voting_power\x18\x04 \x01(\r\x12\x1c\n\x14\x61\x62stain_voting_power\x18\x05 \x01(\r\x12y\n\tvote_poll\x18\x06 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse.GetYesNoVotePollStateResponseV0.YesNoVotePollB\x08\n\x06statusB\x08\n\x06resultB\t\n\x07version\"\xef\x01\n\x1dGetMasternodeYesNoVoteRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteRequest.GetMasternodeYesNoVoteRequestV0H\x00\x1a[\n\x1fGetMasternodeYesNoVoteRequestV0\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x14\n\x0cvote_poll_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xb5\x06\n\x1eGetMasternodeYesNoVoteResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0H\x00\x1a\x9d\x05\n GetMasternodeYesNoVoteResponseV0\x12\x84\x01\n\x05\x65ntry\x18\x01 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0.MasternodeYesNoVoteEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xda\x01\n\x13MasternodeYesNoVote\x12\x85\x01\n\x06\x63hoice\x18\x01 \x01(\x0e\x32u.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0.MasternodeYesNoVote.Choice\x12\x13\n\x0btimes_voted\x18\x02 \x01(\r\"&\n\x06\x43hoice\x12\x07\n\x03YES\x10\x00\x12\x06\n\x02NO\x10\x01\x12\x0b\n\x07\x41\x42STAIN\x10\x02\x1a\x98\x01\n\x18MasternodeYesNoVoteEntry\x12|\n\x04vote\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse.GetMasternodeYesNoVoteResponseV0.MasternodeYesNoVoteB\x08\n\x06resultB\t\n\x07version\"\xff\x06\n$GetContestedResourceVoteStateRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0H\x00\x1a\xd5\x05\n&GetContestedResourceVoteStateRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x86\x01\n\x0bresult_type\x18\x05 \x01(\x0e\x32q.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType\x12\x36\n.allow_include_locked_and_abstaining_vote_tally\x18\x06 \x01(\x08\x12\xa3\x01\n\x18start_at_identifier_info\x18\x07 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x08 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\"I\n\nResultType\x12\r\n\tDOCUMENTS\x10\x00\x12\x0e\n\nVOTE_TALLY\x10\x01\x12\x1c\n\x18\x44OCUMENTS_AND_VOTE_TALLY\x10\x02\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\x94\x0c\n%GetContestedResourceVoteStateResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0H\x00\x1a\xe7\n\n\'GetContestedResourceVoteStateResponseV0\x12\xae\x01\n\x1d\x63ontested_resource_contenders\x18\x01 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContendersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xda\x03\n\x10\x46inishedVoteInfo\x12\xad\x01\n\x15\x66inished_vote_outcome\x18\x01 \x01(\x0e\x32\x8d\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcome\x12\x1f\n\x12won_by_identity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12$\n\x18\x66inished_at_block_height\x18\x03 \x01(\x04\x42\x02\x30\x01\x12%\n\x1d\x66inished_at_core_block_height\x18\x04 \x01(\r\x12%\n\x19\x66inished_at_block_time_ms\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x66inished_at_epoch\x18\x06 \x01(\r\"O\n\x13\x46inishedVoteOutcome\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\n\n\x06LOCKED\x10\x01\x12\x16\n\x12NO_PREVIOUS_WINNER\x10\x02\x42\x15\n\x13_won_by_identity_id\x1a\xc4\x03\n\x1b\x43ontestedResourceContenders\x12\x86\x01\n\ncontenders\x18\x01 \x03(\x0b\x32r.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender\x12\x1f\n\x12\x61\x62stain_vote_tally\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1c\n\x0flock_vote_tally\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x9a\x01\n\x12\x66inished_vote_info\x18\x04 \x01(\x0b\x32y.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfoH\x02\x88\x01\x01\x42\x15\n\x13_abstain_vote_tallyB\x12\n\x10_lock_vote_tallyB\x15\n\x13_finished_vote_info\x1ak\n\tContender\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x17\n\nvote_count\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x15\n\x08\x64ocument\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_vote_countB\x0b\n\t_documentB\x08\n\x06resultB\t\n\x07version\"\xd5\x05\n,GetContestedResourceVotersForIdentityRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0H\x00\x1a\x92\x04\n.GetContestedResourceVotersForIdentityRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x15\n\rcontestant_id\x18\x05 \x01(\x0c\x12\xb4\x01\n\x18start_at_identifier_info\x18\x06 \x01(\x0b\x32\x8c\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\xf1\x04\n-GetContestedResourceVotersForIdentityResponse\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0H\x00\x1a\xab\x03\n/GetContestedResourceVotersForIdentityResponseV0\x12\xb6\x01\n\x19\x63ontested_resource_voters\x18\x01 \x01(\x0b\x32\x90\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVotersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x43\n\x17\x43ontestedResourceVoters\x12\x0e\n\x06voters\x18\x01 \x03(\x0c\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xad\x05\n(GetContestedResourceIdentityVotesRequest\x12|\n\x02v0\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0H\x00\x1a\xf7\x03\n*GetContestedResourceIdentityVotesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0forder_ascending\x18\x04 \x01(\x08\x12\xae\x01\n\x1astart_at_vote_poll_id_info\x18\x05 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfoH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x1a\x61\n\x15StartAtVotePollIdInfo\x12 \n\x18start_at_poll_identifier\x18\x01 \x01(\x0c\x12&\n\x1estart_poll_identifier_included\x18\x02 \x01(\x08\x42\x1d\n\x1b_start_at_vote_poll_id_infoB\t\n\x07version\"\xc8\n\n)GetContestedResourceIdentityVotesResponse\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0H\x00\x1a\x8f\t\n+GetContestedResourceIdentityVotesResponseV0\x12\xa1\x01\n\x05votes\x18\x01 \x01(\x0b\x32\x8f\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xf7\x01\n\x1e\x43ontestedResourceIdentityVotes\x12\xba\x01\n!contested_resource_identity_votes\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x1a\xad\x02\n\x12ResourceVoteChoice\x12\xad\x01\n\x10vote_choice_type\x18\x01 \x01(\x0e\x32\x92\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceType\x12\x18\n\x0bidentity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\"=\n\x0eVoteChoiceType\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\x0b\n\x07\x41\x42STAIN\x10\x01\x12\x08\n\x04LOCK\x10\x02\x42\x0e\n\x0c_identity_id\x1a\x95\x02\n\x1d\x43ontestedResourceIdentityVote\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\'\n\x1fserialized_index_storage_values\x18\x03 \x03(\x0c\x12\x99\x01\n\x0bvote_choice\x18\x04 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoiceB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n%GetPrefundedSpecializedBalanceRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0H\x00\x1a\x44\n\'GetPrefundedSpecializedBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xed\x02\n&GetPrefundedSpecializedBalanceResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0H\x00\x1a\xbd\x01\n(GetPrefundedSpecializedBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xd0\x01\n GetTotalCreditsInPlatformRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0H\x00\x1a\x33\n\"GetTotalCreditsInPlatformRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xd9\x02\n!GetTotalCreditsInPlatformResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0H\x00\x1a\xb8\x01\n#GetTotalCreditsInPlatformResponseV0\x12\x15\n\x07\x63redits\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc4\x01\n\x16GetPathElementsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetPathElementsRequest.GetPathElementsRequestV0H\x00\x1a\x45\n\x18GetPathElementsRequestV0\x12\x0c\n\x04path\x18\x01 \x03(\x0c\x12\x0c\n\x04keys\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xa3\x03\n\x17GetPathElementsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0H\x00\x1a\xa0\x02\n\x19GetPathElementsResponseV0\x12i\n\x08\x65lements\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0.ElementsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1c\n\x08\x45lements\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\x81\x01\n\x10GetStatusRequest\x12L\n\x02v0\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetStatusRequest.GetStatusRequestV0H\x00\x1a\x14\n\x12GetStatusRequestV0B\t\n\x07version\"\xe4\x10\n\x11GetStatusResponse\x12N\n\x02v0\x18\x01 \x01(\x0b\x32@.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0H\x00\x1a\xf3\x0f\n\x13GetStatusResponseV0\x12Y\n\x07version\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version\x12S\n\x04node\x18\x02 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Node\x12U\n\x05\x63hain\x18\x03 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Chain\x12Y\n\x07network\x18\x04 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Network\x12^\n\nstate_sync\x18\x05 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.StateSync\x12S\n\x04time\x18\x06 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Time\x1a\x82\x05\n\x07Version\x12\x63\n\x08software\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Software\x12\x63\n\x08protocol\x18\x02 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol\x1a^\n\x08Software\x12\x0c\n\x04\x64\x61pi\x18\x01 \x01(\t\x12\x12\n\x05\x64rive\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ntenderdash\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_driveB\r\n\x0b_tenderdash\x1a\xcc\x02\n\x08Protocol\x12p\n\ntenderdash\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash\x12\x66\n\x05\x64rive\x18\x02 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Drive\x1a(\n\nTenderdash\x12\x0b\n\x03p2p\x18\x01 \x01(\r\x12\r\n\x05\x62lock\x18\x02 \x01(\r\x1a<\n\x05\x44rive\x12\x0e\n\x06latest\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x12\n\nnext_epoch\x18\x05 \x01(\r\x1a\x7f\n\x04Time\x12\x11\n\x05local\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x05\x62lock\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x12\x18\n\x07genesis\x18\x03 \x01(\x04\x42\x02\x30\x01H\x01\x88\x01\x01\x12\x12\n\x05\x65poch\x18\x04 \x01(\rH\x02\x88\x01\x01\x42\x08\n\x06_blockB\n\n\x08_genesisB\x08\n\x06_epoch\x1a<\n\x04Node\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x18\n\x0bpro_tx_hash\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0e\n\x0c_pro_tx_hash\x1a\xb3\x02\n\x05\x43hain\x12\x13\n\x0b\x63\x61tching_up\x18\x01 \x01(\x08\x12\x19\n\x11latest_block_hash\x18\x02 \x01(\x0c\x12\x17\n\x0flatest_app_hash\x18\x03 \x01(\x0c\x12\x1f\n\x13latest_block_height\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13\x65\x61rliest_block_hash\x18\x05 \x01(\x0c\x12\x19\n\x11\x65\x61rliest_app_hash\x18\x06 \x01(\x0c\x12!\n\x15\x65\x61rliest_block_height\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15max_peer_block_height\x18\t \x01(\x04\x42\x02\x30\x01\x12%\n\x18\x63ore_chain_locked_height\x18\n \x01(\rH\x00\x88\x01\x01\x42\x1b\n\x19_core_chain_locked_height\x1a\x43\n\x07Network\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x13\n\x0bpeers_count\x18\x02 \x01(\r\x12\x11\n\tlistening\x18\x03 \x01(\x08\x1a\x85\x02\n\tStateSync\x12\x1d\n\x11total_synced_time\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eremaining_time\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0ftotal_snapshots\x18\x03 \x01(\r\x12\"\n\x16\x63hunk_process_avg_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x0fsnapshot_height\x18\x05 \x01(\x04\x42\x02\x30\x01\x12!\n\x15snapshot_chunks_count\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x11\x62\x61\x63kfilled_blocks\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15\x62\x61\x63kfill_blocks_total\x18\x08 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07version\"\xb1\x01\n\x1cGetCurrentQuorumsInfoRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0H\x00\x1a \n\x1eGetCurrentQuorumsInfoRequestV0B\t\n\x07version\"\xa1\x05\n\x1dGetCurrentQuorumsInfoResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0H\x00\x1a\x46\n\x0bValidatorV0\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07node_ip\x18\x02 \x01(\t\x12\x11\n\tis_banned\x18\x03 \x01(\x08\x1a\xaf\x01\n\x0eValidatorSetV0\x12\x13\n\x0bquorum_hash\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ore_height\x18\x02 \x01(\r\x12U\n\x07members\x18\x03 \x03(\x0b\x32\x44.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0\x12\x1c\n\x14threshold_public_key\x18\x04 \x01(\x0c\x1a\x92\x02\n\x1fGetCurrentQuorumsInfoResponseV0\x12\x15\n\rquorum_hashes\x18\x01 \x03(\x0c\x12\x1b\n\x13\x63urrent_quorum_hash\x18\x02 \x01(\x0c\x12_\n\x0evalidator_sets\x18\x03 \x03(\x0b\x32G.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0\x12\x1b\n\x13last_block_proposer\x18\x04 \x01(\x0c\x12=\n\x08metadata\x18\x05 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf4\x01\n\x1fGetIdentityTokenBalancesRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest.GetIdentityTokenBalancesRequestV0H\x00\x1aZ\n!GetIdentityTokenBalancesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xad\x05\n GetIdentityTokenBalancesResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0H\x00\x1a\x8f\x04\n\"GetIdentityTokenBalancesResponseV0\x12\x86\x01\n\x0etoken_balances\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aG\n\x11TokenBalanceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x9a\x01\n\rTokenBalances\x12\x88\x01\n\x0etoken_balances\x18\x01 \x03(\x0b\x32p.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xfc\x01\n!GetIdentitiesTokenBalancesRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest.GetIdentitiesTokenBalancesRequestV0H\x00\x1a\\\n#GetIdentitiesTokenBalancesRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xf2\x05\n\"GetIdentitiesTokenBalancesResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0H\x00\x1a\xce\x04\n$GetIdentitiesTokenBalancesResponseV0\x12\x9b\x01\n\x17identity_token_balances\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aR\n\x19IdentityTokenBalanceEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\xb7\x01\n\x15IdentityTokenBalances\x12\x9d\x01\n\x17identity_token_balances\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xe8\x01\n\x1cGetIdentityTokenInfosRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest.GetIdentityTokenInfosRequestV0H\x00\x1aW\n\x1eGetIdentityTokenInfosRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x98\x06\n\x1dGetIdentityTokenInfosResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0H\x00\x1a\x83\x05\n\x1fGetIdentityTokenInfosResponseV0\x12z\n\x0btoken_infos\x18\x01 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb0\x01\n\x0eTokenInfoEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x82\x01\n\x04info\x18\x02 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x8a\x01\n\nTokenInfos\x12|\n\x0btoken_infos\x18\x01 \x03(\x0b\x32g.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n\x1eGetIdentitiesTokenInfosRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest.GetIdentitiesTokenInfosRequestV0H\x00\x1aY\n GetIdentitiesTokenInfosRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xca\x06\n\x1fGetIdentitiesTokenInfosResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0H\x00\x1a\xaf\x05\n!GetIdentitiesTokenInfosResponseV0\x12\x8f\x01\n\x14identity_token_infos\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.IdentityTokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb7\x01\n\x0eTokenInfoEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x86\x01\n\x04info\x18\x02 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x97\x01\n\x12IdentityTokenInfos\x12\x80\x01\n\x0btoken_infos\x18\x01 \x03(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbf\x01\n\x17GetTokenStatusesRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetTokenStatusesRequest.GetTokenStatusesRequestV0H\x00\x1a=\n\x19GetTokenStatusesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xe7\x04\n\x18GetTokenStatusesResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0H\x00\x1a\xe1\x03\n\x1aGetTokenStatusesResponseV0\x12v\n\x0etoken_statuses\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x44\n\x10TokenStatusEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x13\n\x06paused\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\t\n\x07_paused\x1a\x88\x01\n\rTokenStatuses\x12w\n\x0etoken_statuses\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusEntryB\x08\n\x06resultB\t\n\x07version\"\xef\x01\n#GetTokenDirectPurchasePricesRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0H\x00\x1aI\n%GetTokenDirectPurchasePricesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x8b\t\n$GetTokenDirectPurchasePricesResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0H\x00\x1a\xe1\x07\n&GetTokenDirectPurchasePricesResponseV0\x12\xa9\x01\n\x1ctoken_direct_purchase_prices\x18\x01 \x01(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePricesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xa7\x01\n\x0fPricingSchedule\x12\x93\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PriceForQuantity\x1a\xe4\x01\n\x1dTokenDirectPurchasePriceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x15\n\x0b\x66ixed_price\x18\x02 \x01(\x04H\x00\x12\x90\x01\n\x0evariable_price\x18\x03 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PricingScheduleH\x00\x42\x07\n\x05price\x1a\xc8\x01\n\x19TokenDirectPurchasePrices\x12\xaa\x01\n\x1btoken_direct_purchase_price\x18\x01 \x03(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntryB\x08\n\x06resultB\t\n\x07version\"\xce\x01\n\x1bGetTokenContractInfoRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0H\x00\x1a@\n\x1dGetTokenContractInfoRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xfb\x03\n\x1cGetTokenContractInfoResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0H\x00\x1a\xe9\x02\n\x1eGetTokenContractInfoResponseV0\x12|\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aM\n\x15TokenContractInfoData\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xef\x04\n)GetTokenPreProgrammedDistributionsRequest\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0H\x00\x1a\xb6\x03\n+GetTokenPreProgrammedDistributionsRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x98\x01\n\rstart_at_info\x18\x02 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfoH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x1a\x9a\x01\n\x0bStartAtInfo\x12\x15\n\rstart_time_ms\x18\x01 \x01(\x04\x12\x1c\n\x0fstart_recipient\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12%\n\x18start_recipient_included\x18\x03 \x01(\x08H\x01\x88\x01\x01\x42\x12\n\x10_start_recipientB\x1b\n\x19_start_recipient_includedB\x10\n\x0e_start_at_infoB\x08\n\x06_limitB\t\n\x07version\"\xec\x07\n*GetTokenPreProgrammedDistributionsResponse\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0H\x00\x1a\xaf\x06\n,GetTokenPreProgrammedDistributionsResponseV0\x12\xa5\x01\n\x13token_distributions\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a>\n\x16TokenDistributionEntry\x12\x14\n\x0crecipient_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x1a\xd4\x01\n\x1bTokenTimedDistributionEntry\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\xa1\x01\n\rdistributions\x18\x02 \x03(\x0b\x32\x89\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionEntry\x1a\xc3\x01\n\x12TokenDistributions\x12\xac\x01\n\x13token_distributions\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenTimedDistributionEntryB\x08\n\x06resultB\t\n\x07version\"\x82\x04\n-GetTokenPerpetualDistributionLastClaimRequest\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0H\x00\x1aI\n\x11\x43ontractTokenInfo\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\r\x1a\xf1\x01\n/GetTokenPerpetualDistributionLastClaimRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12v\n\rcontract_info\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfoH\x00\x88\x01\x01\x12\x13\n\x0bidentity_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x10\n\x0e_contract_infoB\t\n\x07version\"\x93\x05\n.GetTokenPerpetualDistributionLastClaimResponse\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0H\x00\x1a\xca\x03\n0GetTokenPerpetualDistributionLastClaimResponseV0\x12\x9f\x01\n\nlast_claim\x18\x01 \x01(\x0b\x32\x88\x01.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\rLastClaimInfo\x12\x1a\n\x0ctimestamp_ms\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1a\n\x0c\x62lock_height\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x0f\n\x05\x65poch\x18\x03 \x01(\rH\x00\x12\x13\n\traw_bytes\x18\x04 \x01(\x0cH\x00\x42\t\n\x07paid_atB\x08\n\x06resultB\t\n\x07version\"\xca\x01\n\x1aGetTokenTotalSupplyRequest\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0H\x00\x1a?\n\x1cGetTokenTotalSupplyRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xaf\x04\n\x1bGetTokenTotalSupplyResponse\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0H\x00\x1a\xa0\x03\n\x1dGetTokenTotalSupplyResponseV0\x12\x88\x01\n\x12token_total_supply\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\x15TokenTotalSupplyEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x30\n(total_aggregated_amount_in_user_accounts\x18\x02 \x01(\x04\x12\x1b\n\x13total_system_amount\x18\x03 \x01(\x04\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x01\n\x13GetGroupInfoRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetGroupInfoRequest.GetGroupInfoRequestV0H\x00\x1a\\\n\x15GetGroupInfoRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xd4\x05\n\x14GetGroupInfoResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0H\x00\x1a\xda\x04\n\x16GetGroupInfoResponseV0\x12\x66\n\ngroup_info\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x98\x01\n\x0eGroupInfoEntry\x12h\n\x07members\x18\x01 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x02 \x01(\r\x1a\x8a\x01\n\tGroupInfo\x12n\n\ngroup_info\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoEntryH\x00\x88\x01\x01\x42\r\n\x0b_group_infoB\x08\n\x06resultB\t\n\x07version\"\xed\x03\n\x14GetGroupInfosRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfosRequest.GetGroupInfosRequestV0H\x00\x1au\n\x1cStartAtGroupContractPosition\x12%\n\x1dstart_group_contract_position\x18\x01 \x01(\r\x12.\n&start_group_contract_position_included\x18\x02 \x01(\x08\x1a\xfc\x01\n\x16GetGroupInfosRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12{\n start_at_group_contract_position\x18\x02 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupInfosRequest.StartAtGroupContractPositionH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x42#\n!_start_at_group_contract_positionB\x08\n\x06_countB\t\n\x07version\"\xff\x05\n\x15GetGroupInfosResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0H\x00\x1a\x82\x05\n\x17GetGroupInfosResponseV0\x12j\n\x0bgroup_infos\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\xc3\x01\n\x16GroupPositionInfoEntry\x12\x1f\n\x17group_contract_position\x18\x01 \x01(\r\x12j\n\x07members\x18\x02 \x03(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x03 \x01(\r\x1a\x82\x01\n\nGroupInfos\x12t\n\x0bgroup_infos\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupPositionInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbe\x04\n\x16GetGroupActionsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetGroupActionsRequest.GetGroupActionsRequestV0H\x00\x1aL\n\x0fStartAtActionId\x12\x17\n\x0fstart_action_id\x18\x01 \x01(\x0c\x12 \n\x18start_action_id_included\x18\x02 \x01(\x08\x1a\xc8\x02\n\x18GetGroupActionsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12N\n\x06status\x18\x03 \x01(\x0e\x32>.org.dash.platform.dapi.v0.GetGroupActionsRequest.ActionStatus\x12\x62\n\x12start_at_action_id\x18\x04 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetGroupActionsRequest.StartAtActionIdH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x42\x15\n\x13_start_at_action_idB\x08\n\x06_count\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\x92\"\n\x17GetGroupActionsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0H\x00\x1a\x8f!\n\x19GetGroupActionsResponseV0\x12r\n\rgroup_actions\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a[\n\tMintEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0crecipient_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a[\n\tBurnEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0c\x62urn_from_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aJ\n\x0b\x46reezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aL\n\rUnfreezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x66\n\x17\x44\x65stroyFrozenFundsEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x13SharedEncryptedNote\x12\x18\n\x10sender_key_index\x18\x01 \x01(\r\x12\x1b\n\x13recipient_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a{\n\x15PersonalEncryptedNote\x12!\n\x19root_encryption_key_index\x18\x01 \x01(\r\x12\'\n\x1f\x64\x65rivation_encryption_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a\xe9\x01\n\x14\x45mergencyActionEvent\x12\x81\x01\n\x0b\x61\x63tion_type\x18\x01 \x01(\x0e\x32l.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.ActionType\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\"#\n\nActionType\x12\t\n\x05PAUSE\x10\x00\x12\n\n\x06RESUME\x10\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x16TokenConfigUpdateEvent\x12 \n\x18token_config_update_item\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\xe6\x03\n\x1eUpdateDirectPurchasePriceEvent\x12\x15\n\x0b\x66ixed_price\x18\x01 \x01(\x04H\x00\x12\x95\x01\n\x0evariable_price\x18\x02 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingScheduleH\x00\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x01\x88\x01\x01\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xac\x01\n\x0fPricingSchedule\x12\x98\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PriceForQuantityB\x07\n\x05priceB\x0e\n\x0c_public_note\x1a\x63\n\x0fMintToPoolEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x16\n\x0e\x61\x63tions_digest\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x65\n\x11\x42urnFromPoolEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x16\n\x0e\x61\x63tions_digest\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\xfc\x02\n\x10GroupActionEvent\x12n\n\x0btoken_event\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEventH\x00\x12t\n\x0e\x64ocument_event\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentEventH\x00\x12t\n\x0e\x63ontract_event\x18\x03 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEventH\x00\x42\x0c\n\nevent_type\x1a\x8b\x01\n\rDocumentEvent\x12r\n\x06\x63reate\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentCreateEventH\x00\x42\x06\n\x04type\x1a/\n\x13\x44ocumentCreateEvent\x12\x18\n\x10\x63reated_document\x18\x01 \x01(\x0c\x1a/\n\x13\x43ontractUpdateEvent\x12\x18\n\x10updated_contract\x18\x01 \x01(\x0c\x1a\x8b\x01\n\rContractEvent\x12r\n\x06update\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEventH\x00\x42\x06\n\x04type\x1a\xc1\t\n\nTokenEvent\x12\x66\n\x04mint\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintEventH\x00\x12\x66\n\x04\x62urn\x18\x02 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEventH\x00\x12j\n\x06\x66reeze\x18\x03 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.FreezeEventH\x00\x12n\n\x08unfreeze\x18\x04 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UnfreezeEventH\x00\x12\x84\x01\n\x14\x64\x65stroy_frozen_funds\x18\x05 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEventH\x00\x12}\n\x10\x65mergency_action\x18\x06 \x01(\x0b\x32\x61.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEventH\x00\x12\x82\x01\n\x13token_config_update\x18\x07 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEventH\x00\x12\x83\x01\n\x0cupdate_price\x18\x08 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEventH\x00\x12t\n\x0cmint_to_pool\x18\t \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEventH\x00\x12x\n\x0e\x62urn_from_pool\x18\n \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEventH\x00\x42\x06\n\x04type\x1a\x93\x01\n\x10GroupActionEntry\x12\x11\n\taction_id\x18\x01 \x01(\x0c\x12l\n\x05\x65vent\x18\x02 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent\x1a\x84\x01\n\x0cGroupActions\x12t\n\rgroup_actions\x18\x01 \x03(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEntryB\x08\n\x06resultB\t\n\x07version\"\x88\x03\n\x1cGetGroupActionSignersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.GetGroupActionSignersRequestV0H\x00\x1a\xce\x01\n\x1eGetGroupActionSignersRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12T\n\x06status\x18\x03 \x01(\x0e\x32\x44.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.ActionStatus\x12\x11\n\taction_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\x8b\x05\n\x1dGetGroupActionSignersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0H\x00\x1a\xf6\x03\n\x1fGetGroupActionSignersResponseV0\x12\x8b\x01\n\x14group_action_signers\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x35\n\x11GroupActionSigner\x12\x11\n\tsigner_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x91\x01\n\x12GroupActionSigners\x12{\n\x07signers\x18\x01 \x03(\x0b\x32j.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignerB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x15GetAddressInfoRequest\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0H\x00\x1a\x39\n\x17GetAddressInfoRequestV0\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x85\x01\n\x10\x41\x64\x64ressInfoEntry\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12J\n\x11\x62\x61lance_and_nonce\x18\x02 \x01(\x0b\x32*.org.dash.platform.dapi.v0.BalanceAndNonceH\x00\x88\x01\x01\x42\x14\n\x12_balance_and_nonce\"1\n\x0f\x42\x61lanceAndNonce\x12\x0f\n\x07\x62\x61lance\x18\x01 \x01(\x04\x12\r\n\x05nonce\x18\x02 \x01(\r\"_\n\x12\x41\x64\x64ressInfoEntries\x12I\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x03(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntry\"m\n\x14\x41\x64\x64ressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_balance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1c\n\x0e\x61\x64\x64_to_balance\x18\x03 \x01(\x04\x42\x02\x30\x01H\x00\x42\x0b\n\toperation\"x\n\x1a\x42lockAddressBalanceChanges\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12@\n\x07\x63hanges\x18\x02 \x03(\x0b\x32/.org.dash.platform.dapi.v0.AddressBalanceChange\"k\n\x1b\x41\x64\x64ressBalanceUpdateEntries\x12L\n\rblock_changes\x18\x01 \x03(\x0b\x32\x35.org.dash.platform.dapi.v0.BlockAddressBalanceChanges\"\xe1\x02\n\x16GetAddressInfoResponse\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0H\x00\x1a\xe1\x01\n\x18GetAddressInfoResponseV0\x12I\n\x12\x61\x64\x64ress_info_entry\x18\x01 \x01(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x01\n\x18GetAddressesInfosRequest\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0H\x00\x1a>\n\x1aGetAddressesInfosRequestV0\x12\x11\n\taddresses\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf1\x02\n\x19GetAddressesInfosResponse\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0H\x00\x1a\xe8\x01\n\x1bGetAddressesInfosResponseV0\x12M\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x01(\x0b\x32-.org.dash.platform.dapi.v0.AddressInfoEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x1dGetAddressesTrunkStateRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0H\x00\x1a!\n\x1fGetAddressesTrunkStateRequestV0B\t\n\x07version\"\xaa\x02\n\x1eGetAddressesTrunkStateResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0H\x00\x1a\x92\x01\n GetAddressesTrunkStateResponseV0\x12/\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf0\x01\n\x1eGetAddressesBranchStateRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0H\x00\x1aY\n GetAddressesBranchStateRequestV0\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\r\x12\x19\n\x11\x63heckpoint_height\x18\x03 \x01(\x04\x42\t\n\x07version\"\xd1\x01\n\x1fGetAddressesBranchStateResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0H\x00\x1a\x37\n!GetAddressesBranchStateResponseV0\x12\x12\n\nmerk_proof\x18\x02 \x01(\x0c\x42\t\n\x07version\"\x9e\x02\n%GetRecentAddressBalanceChangesRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0H\x00\x1ar\n\'GetRecentAddressBalanceChangesRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x1e\n\x16start_height_exclusive\x18\x03 \x01(\x08\x42\t\n\x07version\"\xb8\x03\n&GetRecentAddressBalanceChangesResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0H\x00\x1a\x88\x02\n(GetRecentAddressBalanceChangesResponseV0\x12`\n\x1e\x61\x64\x64ress_balance_update_entries\x18\x01 \x01(\x0b\x32\x36.org.dash.platform.dapi.v0.AddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"G\n\x16\x42lockHeightCreditEntry\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x07\x63redits\x18\x02 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n\x1d\x43ompactedAddressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_credits\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12V\n\x19\x61\x64\x64_to_credits_operations\x18\x03 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.AddToCreditsOperationsH\x00\x42\x0b\n\toperation\"\\\n\x16\x41\x64\x64ToCreditsOperations\x12\x42\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x31.org.dash.platform.dapi.v0.BlockHeightCreditEntry\"\xae\x01\n#CompactedBlockAddressBalanceChanges\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1c\n\x10\x65nd_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12I\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x38.org.dash.platform.dapi.v0.CompactedAddressBalanceChange\"\x87\x01\n$CompactedAddressBalanceUpdateEntries\x12_\n\x17\x63ompacted_block_changes\x18\x01 \x03(\x0b\x32>.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges\"\xa9\x02\n.GetRecentCompactedAddressBalanceChangesRequest\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0H\x00\x1a\x61\n0GetRecentCompactedAddressBalanceChangesRequestV0\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf0\x03\n/GetRecentCompactedAddressBalanceChangesResponse\x12\x8a\x01\n\x02v0\x18\x01 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0H\x00\x1a\xa4\x02\n1GetRecentCompactedAddressBalanceChangesResponseV0\x12s\n(compacted_address_balance_update_entries\x18\x01 \x01(\x0b\x32?.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\x98\x02\n GetShieldedEncryptedNotesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0H\x00\x1a{\n\"GetShieldedEncryptedNotesRequestV0\x12\x13\n\x0bstart_index\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x12\x15\n\x08token_id\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xbc\x05\n!GetShieldedEncryptedNotesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0H\x00\x1a\x9b\x04\n#GetShieldedEncryptedNotesResponseV0\x12\x8a\x01\n\x0f\x65ncrypted_notes\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aW\n\rEncryptedNote\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x0b\n\x03\x63mx\x18\x02 \x01(\x0c\x12\x16\n\x0e\x65ncrypted_note\x18\x03 \x01(\x0c\x12\x0e\n\x06\x63v_net\x18\x04 \x01(\x0c\x1a\x91\x01\n\x0e\x45ncryptedNotes\x12\x7f\n\x07\x65ntries\x18\x01 \x03(\x0b\x32n.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNoteB\x08\n\x06resultB\t\n\x07version\"\xd8\x01\n\x19GetShieldedAnchorsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0H\x00\x1aP\n\x1bGetShieldedAnchorsRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xb1\x03\n\x1aGetShieldedAnchorsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0H\x00\x1a\xa5\x02\n\x1cGetShieldedAnchorsResponseV0\x12m\n\x07\x61nchors\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0.AnchorsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x07\x41nchors\x12\x0f\n\x07\x61nchors\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xfc\x01\n\"GetMostRecentShieldedAnchorRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0H\x00\x1aY\n$GetMostRecentShieldedAnchorRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xdc\x02\n#GetMostRecentShieldedAnchorResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0H\x00\x1a\xb5\x01\n%GetMostRecentShieldedAnchorResponseV0\x12\x10\n\x06\x61nchor\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe0\x01\n\x1bGetShieldedPoolStateRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0H\x00\x1aR\n\x1dGetShieldedPoolStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xcb\x02\n\x1cGetShieldedPoolStateResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse.GetShieldedPoolStateResponseV0H\x00\x1a\xb9\x01\n\x1eGetShieldedPoolStateResponseV0\x12\x1b\n\rtotal_balance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe4\x01\n\x1cGetShieldedNotesCountRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0H\x00\x1aS\n\x1eGetShieldedNotesCountRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x12\x15\n\x08token_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\xd3\x02\n\x1dGetShieldedNotesCountResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetShieldedNotesCountResponse.GetShieldedNotesCountResponseV0H\x00\x1a\xbe\x01\n\x1fGetShieldedNotesCountResponseV0\x12\x1f\n\x11total_notes_count\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf8\x01\n\x1cGetShieldedNullifiersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0H\x00\x1ag\n\x1eGetShieldedNullifiersRequestV0\x12\x12\n\nnullifiers\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x15\n\x08token_id\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_token_idB\t\n\x07version\"\x86\x05\n\x1dGetShieldedNullifiersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0H\x00\x1a\xf1\x03\n\x1fGetShieldedNullifiersResponseV0\x12\x88\x01\n\x12nullifier_statuses\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x0fNullifierStatus\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x10\n\x08is_spent\x18\x02 \x01(\x08\x1a\x8e\x01\n\x11NullifierStatuses\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusB\x08\n\x06resultB\t\n\x07version\"\xb0\x02\n GetPrivateDocumentEntriesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesRequest.GetPrivateDocumentEntriesRequestV0H\x00\x1a\x92\x01\n\"GetPrivateDocumentEntriesRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x1a\n\x0estart_position\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x05 \x01(\x08J\x04\x08\x04\x10\x05R\x05\x63ountB\t\n\x07version\"\xfd\x05\n!GetPrivateDocumentEntriesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse.GetPrivateDocumentEntriesResponseV0H\x00\x1a\xdc\x04\n#GetPrivateDocumentEntriesResponseV0\x12\x8a\x01\n\x07\x65ntries\x18\x01 \x01(\x0b\x32w.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse.GetPrivateDocumentEntriesResponseV0.PrivateDocumentEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ao\n\x14PrivateDocumentEntry\x12\x14\n\x08position\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x0c\x62lock_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x19\n\rblock_time_ms\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a\xba\x01\n\x16PrivateDocumentEntries\x12\x86\x01\n\x07\x65ntries\x18\x01 \x03(\x0b\x32u.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse.GetPrivateDocumentEntriesResponseV0.PrivateDocumentEntry\x12\x17\n\x0btotal_count\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06resultB\t\n\x07version\"\xec\x06\n\x14TenderdashBlockProof\x12\x46\n\x06header\x18\x01 \x01(\x0b\x32\x36.org.dash.platform.dapi.v0.TenderdashBlockProof.Header\x12I\n\x08\x62lock_id\x18\x02 \x01(\x0b\x32\x37.org.dash.platform.dapi.v0.TenderdashBlockProof.BlockId\x12\r\n\x05round\x18\x03 \x01(\r\x12\x13\n\x0bquorum_hash\x18\x04 \x01(\x0c\x12\x13\n\x0bquorum_type\x18\x05 \x01(\r\x12\x11\n\tsignature\x18\x06 \x01(\x0c\x1aX\n\x07\x42lockId\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x16\n\x0epart_set_total\x18\x02 \x01(\r\x12\x15\n\rpart_set_hash\x18\x03 \x01(\x0c\x12\x10\n\x08state_id\x18\x04 \x01(\x0c\x1a\x9a\x04\n\x06Header\x12\x19\n\rblock_version\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0b\x61pp_version\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63hain_id\x18\x03 \x01(\t\x12\x12\n\x06height\x18\x04 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x05 \x01(\r\x12\x18\n\x0ctime_seconds\x18\x06 \x01(\x03\x42\x02\x30\x01\x12\x12\n\ntime_nanos\x18\x07 \x01(\x05\x12N\n\rlast_block_id\x18\x08 \x01(\x0b\x32\x37.org.dash.platform.dapi.v0.TenderdashBlockProof.BlockId\x12\x18\n\x10last_commit_hash\x18\t \x01(\x0c\x12\x11\n\tdata_hash\x18\n \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x0b \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\x0c \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\r \x01(\x0c\x12\x1b\n\x13next_consensus_hash\x18\x0e \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0f \x01(\x0c\x12\x14\n\x0cresults_hash\x18\x10 \x01(\x0c\x12\x15\n\revidence_hash\x18\x11 \x01(\x0c\x12\x1c\n\x14proposer_pro_tx_hash\x18\x12 \x01(\x0c\x12 \n\x14proposed_app_version\x18\x13 \x01(\x04\x42\x02\x30\x01\"i\n\x1aTenderdashTransactionProof\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05total\x18\x02 \x01(\r\x12\x18\n\x10transaction_path\x18\x03 \x03(\x0c\x12\x13\n\x0bresult_path\x18\x04 \x03(\x0c\"\xfe\x01\n\"GetOwnerTransactionsInBlockRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockRequest.GetOwnerTransactionsInBlockRequestV0H\x00\x1a[\n$GetOwnerTransactionsInBlockRequestV0\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08owner_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xd8\x04\n#GetOwnerTransactionsInBlockResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockResponse.GetOwnerTransactionsInBlockResponseV0H\x00\x1a\xb1\x03\n%GetOwnerTransactionsInBlockResponseV0\x12\x8b\x01\n\x0ctransactions\x18\x01 \x03(\x0b\x32u.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockResponse.GetOwnerTransactionsInBlockResponseV0.OwnerTransaction\x12>\n\x05proof\x18\x02 \x01(\x0b\x32/.org.dash.platform.dapi.v0.TenderdashBlockProof\x1a\xb9\x01\n\x10OwnerTransaction\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x03 \x01(\r\x12\x13\n\x0bresult_data\x18\x04 \x01(\x0c\x12\x14\n\x08gas_used\x18\x05 \x01(\x03\x42\x02\x30\x01\x12\x44\n\x05proof\x18\x06 \x01(\x0b\x32\x35.org.dash.platform.dapi.v0.TenderdashTransactionProofB\t\n\x07version\"\xb9\x01\n\x10GetBlocksRequest\x12L\n\x02v0\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetBlocksRequest.GetBlocksRequestV0H\x00\x1aL\n\x12GetBlocksRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x85\x05\n\x11GetBlocksResponse\x12N\n\x02v0\x18\x01 \x01(\x0b\x32@.org.dash.platform.dapi.v0.GetBlocksResponse.GetBlocksResponseV0H\x00\x1a\x94\x04\n\x13GetBlocksResponseV0\x12V\n\x06\x62locks\x18\x01 \x03(\x0b\x32\x46.org.dash.platform.dapi.v0.GetBlocksResponse.GetBlocksResponseV0.Block\x1an\n\x0bTransaction\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x03 \x01(\r\x12\x13\n\x0bresult_data\x18\x04 \x01(\x0c\x12\x14\n\x08gas_used\x18\x05 \x01(\x03\x42\x02\x30\x01\x1a\xb4\x02\n\x05\x42lock\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x13\n\x07time_ms\x18\x03 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x04 \x01(\r\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\x12\x1c\n\x14proposer_pro_tx_hash\x18\x06 \x01(\x0c\x12\x62\n\x0ctransactions\x18\x07 \x03(\x0b\x32L.org.dash.platform.dapi.v0.GetBlocksResponse.GetBlocksResponseV0.Transaction\x12>\n\x05proof\x18\x08 \x01(\x0b\x32/.org.dash.platform.dapi.v0.TenderdashBlockProofB\t\n\x07version*Z\n\nKeyPurpose\x12\x12\n\x0e\x41UTHENTICATION\x10\x00\x12\x0e\n\nENCRYPTION\x10\x01\x12\x0e\n\nDECRYPTION\x10\x02\x12\x0c\n\x08TRANSFER\x10\x03\x12\n\n\x06VOTING\x10\x05*\xb9\x01\n\x16\x43ontractModerationList\x12(\n$CONTRACT_MODERATION_LIST_UNSPECIFIED\x10\x00\x12$\n CONTRACT_MODERATION_LIST_BANLIST\x10\x01\x12(\n$CONTRACT_MODERATION_LIST_SUSPENSIONS\x10\x02\x12%\n!CONTRACT_MODERATION_LIST_WARNINGS\x10\x03\x32\xae\\\n\x08Platform\x12\x93\x01\n\x18\x62roadcastStateTransition\x12:.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest\x1a;.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse\x12l\n\x0bgetIdentity\x12-.org.dash.platform.dapi.v0.GetIdentityRequest\x1a..org.dash.platform.dapi.v0.GetIdentityResponse\x12x\n\x0fgetIdentityKeys\x12\x31.org.dash.platform.dapi.v0.GetIdentityKeysRequest\x1a\x32.org.dash.platform.dapi.v0.GetIdentityKeysResponse\x12\x96\x01\n\x19getIdentitiesContractKeys\x12;.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest\x1a<.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse\x12{\n\x10getIdentityNonce\x12\x32.org.dash.platform.dapi.v0.GetIdentityNonceRequest\x1a\x33.org.dash.platform.dapi.v0.GetIdentityNonceResponse\x12\x93\x01\n\x18getIdentityContractNonce\x12:.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse\x12\xa8\x01\n\x1fgetIdentityKeysRemainingBudgets\x12\x41.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsRequest\x1a\x42.org.dash.platform.dapi.v0.GetIdentityKeysRemainingBudgetsResponse\x12\x81\x01\n\x12getIdentityBalance\x12\x34.org.dash.platform.dapi.v0.GetIdentityBalanceRequest\x1a\x35.org.dash.platform.dapi.v0.GetIdentityBalanceResponse\x12\x8a\x01\n\x15getIdentitiesBalances\x12\x37.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse\x12\xa2\x01\n\x1dgetIdentityBalanceAndRevision\x12?.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest\x1a@.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse\x12\xaf\x01\n#getEvonodesProposedEpochBlocksByIds\x12\x45.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12\xb3\x01\n%getEvonodesProposedEpochBlocksByRange\x12G.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12x\n\x0fgetDataContract\x12\x31.org.dash.platform.dapi.v0.GetDataContractRequest\x1a\x32.org.dash.platform.dapi.v0.GetDataContractResponse\x12\x8d\x01\n\x16getDataContractHistory\x12\x38.org.dash.platform.dapi.v0.GetDataContractHistoryRequest\x1a\x39.org.dash.platform.dapi.v0.GetDataContractHistoryResponse\x12\xa5\x01\n\x1egetDataContractsLatestVersions\x12@.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest\x1a\x41.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse\x12\x93\x01\n\x18getAssetLockOutpointInfo\x12:.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest\x1a;.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse\x12{\n\x10getDataContracts\x12\x32.org.dash.platform.dapi.v0.GetDataContractsRequest\x1a\x33.org.dash.platform.dapi.v0.GetDataContractsResponse\x12\x89\x01\n\x17getDataContractsByRange\x12\x39.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest\x1a\x33.org.dash.platform.dapi.v0.GetDataContractsResponse\x12\x87\x01\n\x14getContractGroupInfo\x12\x36.org.dash.platform.dapi.v0.GetContractGroupInfoRequest\x1a\x37.org.dash.platform.dapi.v0.GetContractGroupInfoResponse\x12\x90\x01\n\x17getContractGroupMembers\x12\x39.org.dash.platform.dapi.v0.GetContractGroupMembersRequest\x1a:.org.dash.platform.dapi.v0.GetContractGroupMembersResponse\x12\x9f\x01\n\x1cgetContractGroupsForContract\x12>.org.dash.platform.dapi.v0.GetContractGroupsForContractRequest\x1a?.org.dash.platform.dapi.v0.GetContractGroupsForContractResponse\x12\x9c\x01\n\x1bgetContractModerationStatus\x12=.org.dash.platform.dapi.v0.GetContractModerationStatusRequest\x1a>.org.dash.platform.dapi.v0.GetContractModerationStatusResponse\x12\x9f\x01\n\x1cgetContractModerationEntries\x12>.org.dash.platform.dapi.v0.GetContractModerationEntriesRequest\x1a?.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse\x12\x9c\x01\n\x1bgetContractDocumentRemovals\x12=.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRequest\x1a>.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse\x12\x8d\x01\n\x16getContractTeamActions\x12\x38.org.dash.platform.dapi.v0.GetContractTeamActionsRequest\x1a\x39.org.dash.platform.dapi.v0.GetContractTeamActionsResponse\x12\x9f\x01\n\x1cgetContractTeamActionSigners\x12>.org.dash.platform.dapi.v0.GetContractTeamActionSignersRequest\x1a?.org.dash.platform.dapi.v0.GetContractTeamActionSignersResponse\x12\xae\x01\n!getContractModerationActionCounts\x12\x43.org.dash.platform.dapi.v0.GetContractModerationActionCountsRequest\x1a\x44.org.dash.platform.dapi.v0.GetContractModerationActionCountsResponse\x12\x81\x01\n\x12getContractFeePots\x12\x34.org.dash.platform.dapi.v0.GetContractFeePotsRequest\x1a\x35.org.dash.platform.dapi.v0.GetContractFeePotsResponse\x12\x81\x01\n\x12getDocumentHistory\x12\x34.org.dash.platform.dapi.v0.GetDocumentHistoryRequest\x1a\x35.org.dash.platform.dapi.v0.GetDocumentHistoryResponse\x12o\n\x0cgetDocuments\x12..org.dash.platform.dapi.v0.GetDocumentsRequest\x1a/.org.dash.platform.dapi.v0.GetDocumentsResponse\x12\x99\x01\n\x1agetIdentityByPublicKeyHash\x12<.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest\x1a=.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse\x12\xb4\x01\n#getIdentityByNonUniquePublicKeyHash\x12\x45.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest\x1a\x46.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse\x12\x9f\x01\n\x1cwaitForStateTransitionResult\x12>.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest\x1a?.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse\x12\xa5\x01\n\x1egetRecentStateTransitionStatus\x12@.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusRequest\x1a\x41.org.dash.platform.dapi.v0.GetRecentStateTransitionStatusResponse\x12\x81\x01\n\x12getConsensusParams\x12\x34.org.dash.platform.dapi.v0.GetConsensusParamsRequest\x1a\x35.org.dash.platform.dapi.v0.GetConsensusParamsResponse\x12\xa5\x01\n\x1egetProtocolVersionUpgradeState\x12@.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest\x1a\x41.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse\x12\xb4\x01\n#getProtocolVersionUpgradeVoteStatus\x12\x45.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest\x1a\x46.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse\x12r\n\rgetEpochsInfo\x12/.org.dash.platform.dapi.v0.GetEpochsInfoRequest\x1a\x30.org.dash.platform.dapi.v0.GetEpochsInfoResponse\x12\x8d\x01\n\x16getFinalizedEpochInfos\x12\x38.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest\x1a\x39.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse\x12\x8a\x01\n\x15getContestedResources\x12\x37.org.dash.platform.dapi.v0.GetContestedResourcesRequest\x1a\x38.org.dash.platform.dapi.v0.GetContestedResourcesResponse\x12\xa2\x01\n\x1dgetContestedResourceVoteState\x12?.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest\x1a@.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse\x12\xba\x01\n%getContestedResourceVotersForIdentity\x12G.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest\x1aH.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse\x12\xae\x01\n!getContestedResourceIdentityVotes\x12\x43.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest\x1a\x44.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse\x12\x8a\x01\n\x15getVotePollsByEndDate\x12\x37.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest\x1a\x38.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse\x12\x8a\x01\n\x15getYesNoVotePollState\x12\x37.org.dash.platform.dapi.v0.GetYesNoVotePollStateRequest\x1a\x38.org.dash.platform.dapi.v0.GetYesNoVotePollStateResponse\x12\x8d\x01\n\x16getMasternodeYesNoVote\x12\x38.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteRequest\x1a\x39.org.dash.platform.dapi.v0.GetMasternodeYesNoVoteResponse\x12\xa5\x01\n\x1egetPrefundedSpecializedBalance\x12@.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest\x1a\x41.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse\x12\x96\x01\n\x19getTotalCreditsInPlatform\x12;.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest\x1a<.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse\x12x\n\x0fgetPathElements\x12\x31.org.dash.platform.dapi.v0.GetPathElementsRequest\x1a\x32.org.dash.platform.dapi.v0.GetPathElementsResponse\x12\x66\n\tgetStatus\x12+.org.dash.platform.dapi.v0.GetStatusRequest\x1a,.org.dash.platform.dapi.v0.GetStatusResponse\x12\x8a\x01\n\x15getCurrentQuorumsInfo\x12\x37.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest\x1a\x38.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse\x12\x93\x01\n\x18getIdentityTokenBalances\x12:.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse\x12\x99\x01\n\x1agetIdentitiesTokenBalances\x12<.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest\x1a=.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse\x12\x8a\x01\n\x15getIdentityTokenInfos\x12\x37.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse\x12\x90\x01\n\x17getIdentitiesTokenInfos\x12\x39.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest\x1a:.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse\x12{\n\x10getTokenStatuses\x12\x32.org.dash.platform.dapi.v0.GetTokenStatusesRequest\x1a\x33.org.dash.platform.dapi.v0.GetTokenStatusesResponse\x12\x9f\x01\n\x1cgetTokenDirectPurchasePrices\x12>.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest\x1a?.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse\x12\x87\x01\n\x14getTokenContractInfo\x12\x36.org.dash.platform.dapi.v0.GetTokenContractInfoRequest\x1a\x37.org.dash.platform.dapi.v0.GetTokenContractInfoResponse\x12\xb1\x01\n\"getTokenPreProgrammedDistributions\x12\x44.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest\x1a\x45.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse\x12\xbd\x01\n&getTokenPerpetualDistributionLastClaim\x12H.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest\x1aI.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse\x12\x84\x01\n\x13getTokenTotalSupply\x12\x35.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest\x1a\x36.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse\x12o\n\x0cgetGroupInfo\x12..org.dash.platform.dapi.v0.GetGroupInfoRequest\x1a/.org.dash.platform.dapi.v0.GetGroupInfoResponse\x12r\n\rgetGroupInfos\x12/.org.dash.platform.dapi.v0.GetGroupInfosRequest\x1a\x30.org.dash.platform.dapi.v0.GetGroupInfosResponse\x12x\n\x0fgetGroupActions\x12\x31.org.dash.platform.dapi.v0.GetGroupActionsRequest\x1a\x32.org.dash.platform.dapi.v0.GetGroupActionsResponse\x12\x8a\x01\n\x15getGroupActionSigners\x12\x37.org.dash.platform.dapi.v0.GetGroupActionSignersRequest\x1a\x38.org.dash.platform.dapi.v0.GetGroupActionSignersResponse\x12u\n\x0egetAddressInfo\x12\x30.org.dash.platform.dapi.v0.GetAddressInfoRequest\x1a\x31.org.dash.platform.dapi.v0.GetAddressInfoResponse\x12~\n\x11getAddressesInfos\x12\x33.org.dash.platform.dapi.v0.GetAddressesInfosRequest\x1a\x34.org.dash.platform.dapi.v0.GetAddressesInfosResponse\x12\x8d\x01\n\x16getAddressesTrunkState\x12\x38.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest\x1a\x39.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse\x12\x90\x01\n\x17getAddressesBranchState\x12\x39.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest\x1a:.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse\x12\xa5\x01\n\x1egetRecentAddressBalanceChanges\x12@.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest\x1a\x41.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse\x12\xc0\x01\n\'getRecentCompactedAddressBalanceChanges\x12I.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest\x1aJ.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse\x12\x96\x01\n\x19getShieldedEncryptedNotes\x12;.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest\x1a<.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse\x12\x81\x01\n\x12getShieldedAnchors\x12\x34.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest\x1a\x35.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse\x12\x9c\x01\n\x1bgetMostRecentShieldedAnchor\x12=.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest\x1a>.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse\x12\x87\x01\n\x14getShieldedPoolState\x12\x36.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest\x1a\x37.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse\x12\x8a\x01\n\x15getShieldedNotesCount\x12\x37.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest\x1a\x38.org.dash.platform.dapi.v0.GetShieldedNotesCountResponse\x12\x8a\x01\n\x15getShieldedNullifiers\x12\x37.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest\x1a\x38.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse\x12\x96\x01\n\x19getPrivateDocumentEntries\x12;.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesRequest\x1a<.org.dash.platform.dapi.v0.GetPrivateDocumentEntriesResponse\x12\x9c\x01\n\x1bgetOwnerTransactionsInBlock\x12=.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockRequest\x1a>.org.dash.platform.dapi.v0.GetOwnerTransactionsInBlockResponse\x12\x66\n\tgetBlocks\x12+.org.dash.platform.dapi.v0.GetBlocksRequest\x1a,.org.dash.platform.dapi.v0.GetBlocksResponseb\x06proto3' , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) @@ -62,8 +62,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=94833, - serialized_end=94923, + serialized_start=95761, + serialized_end=95851, ) _sym_db.RegisterEnumDescriptor(_KEYPURPOSE) @@ -98,8 +98,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=94926, - serialized_end=95111, + serialized_start=95854, + serialized_end=96039, ) _sym_db.RegisterEnumDescriptor(_CONTRACTMODERATIONLIST) @@ -140,6 +140,41 @@ ) _sym_db.RegisterEnumDescriptor(_SECURITYLEVELMAP_KEYKINDREQUESTTYPE) +_GETASSETLOCKOUTPOINTINFORESPONSE_STATUS = _descriptor.EnumDescriptor( + name='Status', + full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='STATUS_UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_PRESENT', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PARTIALLY_CONSUMED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FULLY_CONSUMED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=11251, + serialized_end=11344, +) +_sym_db.RegisterEnumDescriptor(_GETASSETLOCKOUTPOINTINFORESPONSE_STATUS) + _GETCONTRACTTEAMACTIONSREQUEST_ACTIONSTATUS = _descriptor.EnumDescriptor( name='ActionStatus', full_name='org.dash.platform.dapi.v0.GetContractTeamActionsRequest.ActionStatus', @@ -160,8 +195,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18724, - serialized_end=18762, + serialized_start=19652, + serialized_end=19690, ) _sym_db.RegisterEnumDescriptor(_GETCONTRACTTEAMACTIONSREQUEST_ACTIONSTATUS) @@ -185,8 +220,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18724, - serialized_end=18762, + serialized_start=19652, + serialized_end=19690, ) _sym_db.RegisterEnumDescriptor(_GETCONTRACTTEAMACTIONSIGNERSREQUEST_ACTIONSTATUS) @@ -215,8 +250,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=26739, - serialized_end=26787, + serialized_start=27667, + serialized_end=27715, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_TIMERANGESELECTION_SELECTOR) @@ -245,8 +280,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=27562, - serialized_end=27601, + serialized_start=28490, + serialized_end=28529, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_HAVINGAGGREGATE_FUNCTION) @@ -315,8 +350,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=27876, - serialized_end=28100, + serialized_start=28804, + serialized_end=29028, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_HAVINGCLAUSE_OPERATOR) @@ -360,8 +395,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=29301, - serialized_end=29373, + serialized_start=30229, + serialized_end=30301, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT_FUNCTION) @@ -385,8 +420,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=29951, - serialized_end=29983, + serialized_start=30879, + serialized_end=30911, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SUBQUERY_KIND) @@ -475,8 +510,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=30026, - serialized_end=30330, + serialized_start=30954, + serialized_end=31258, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_WHEREOPERATOR) @@ -500,8 +535,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=36251, - serialized_end=36282, + serialized_start=37179, + serialized_end=37210, ) _sym_db.RegisterEnumDescriptor(_GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV1_LIFECYCLE_STATE) @@ -535,8 +570,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=50655, - serialized_end=50731, + serialized_start=51583, + serialized_end=51659, ) _sym_db.RegisterEnumDescriptor(_GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0_YESNOVOTEPOLL_VOTINGPOWERROUNDING) @@ -565,8 +600,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=52137, - serialized_end=52175, + serialized_start=53065, + serialized_end=53103, ) _sym_db.RegisterEnumDescriptor(_GETMASTERNODEYESNOVOTERESPONSE_GETMASTERNODEYESNOVOTERESPONSEV0_MASTERNODEYESNOVOTE_CHOICE) @@ -595,8 +630,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=53126, - serialized_end=53199, + serialized_start=54054, + serialized_end=54127, ) _sym_db.RegisterEnumDescriptor(_GETCONTESTEDRESOURCEVOTESTATEREQUEST_GETCONTESTEDRESOURCEVOTESTATEREQUESTV0_RESULTTYPE) @@ -625,8 +660,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=54121, - serialized_end=54200, + serialized_start=55049, + serialized_end=55128, ) _sym_db.RegisterEnumDescriptor(_GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0_FINISHEDVOTEINFO_FINISHEDVOTEOUTCOME) @@ -655,8 +690,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=57829, - serialized_end=57890, + serialized_start=58757, + serialized_end=58818, ) _sym_db.RegisterEnumDescriptor(_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0_RESOURCEVOTECHOICE_VOTECHOICETYPE) @@ -680,8 +715,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18724, - serialized_end=18762, + serialized_start=19652, + serialized_end=19690, ) _sym_db.RegisterEnumDescriptor(_GETGROUPACTIONSREQUEST_ACTIONSTATUS) @@ -705,8 +740,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=77739, - serialized_end=77774, + serialized_start=78667, + serialized_end=78702, ) _sym_db.RegisterEnumDescriptor(_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_EMERGENCYACTIONEVENT_ACTIONTYPE) @@ -730,8 +765,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18724, - serialized_end=18762, + serialized_start=19652, + serialized_end=19690, ) _sym_db.RegisterEnumDescriptor(_GETGROUPACTIONSIGNERSREQUEST_ACTIONSTATUS) @@ -3663,6 +3698,212 @@ ) +_GETASSETLOCKOUTPOINTINFOREQUEST_GETASSETLOCKOUTPOINTINFOREQUESTV0 = _descriptor.Descriptor( + name='GetAssetLockOutpointInfoRequestV0', + full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='outpoint', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.outpoint', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='prove', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prove', index=1, + number=2, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10573, + serialized_end=10641, +) + +_GETASSETLOCKOUTPOINTINFOREQUEST = _descriptor.Descriptor( + name='GetAssetLockOutpointInfoRequest', + full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='v0', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.v0', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_GETASSETLOCKOUTPOINTINFOREQUEST_GETASSETLOCKOUTPOINTINFOREQUESTV0, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='version', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.version', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=10430, + serialized_end=10652, +) + + +_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO = _descriptor.Descriptor( + name='AssetLockOutpointInfo', + full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='status', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.status', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='remaining_credits', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.remaining_credits', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_remaining_credits', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo._remaining_credits', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=10802, + serialized_end=10967, +) + +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0 = _descriptor.Descriptor( + name='GetAssetLockOutpointInfoResponseV0', + full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='asset_lock_outpoint_info', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.asset_lock_outpoint_info', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='proof', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.proof', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='metadata', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.metadata', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='result', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.result', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=10970, + serialized_end=11249, +) + +_GETASSETLOCKOUTPOINTINFORESPONSE = _descriptor.Descriptor( + name='GetAssetLockOutpointInfoResponse', + full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='v0', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.v0', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO, _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0, ], + enum_types=[ + _GETASSETLOCKOUTPOINTINFORESPONSE_STATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='version', full_name='org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.version', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=10655, + serialized_end=11355, +) + + _GETDATACONTRACTSLATESTVERSIONSRESPONSE_DATACONTRACTLATESTVERSIONENTRY = _descriptor.Descriptor( name='DataContractLatestVersionEntry', full_name='org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry', @@ -3714,8 +3955,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=10595, - serialized_end=10727, + serialized_start=11523, + serialized_end=11655, ) _GETDATACONTRACTSLATESTVERSIONSRESPONSE_DATACONTRACTSLATESTVERSIONS = _descriptor.Descriptor( @@ -3745,8 +3986,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10730, - serialized_end=10874, + serialized_start=11658, + serialized_end=11802, ) _GETDATACONTRACTSLATESTVERSIONSRESPONSE_GETDATACONTRACTSLATESTVERSIONSRESPONSEV0 = _descriptor.Descriptor( @@ -3795,8 +4036,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=10877, - serialized_end=11181, + serialized_start=11805, + serialized_end=12109, ) _GETDATACONTRACTSLATESTVERSIONSRESPONSE = _descriptor.Descriptor( @@ -3831,8 +4072,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=10430, - serialized_end=11192, + serialized_start=11358, + serialized_end=12120, ) @@ -3870,8 +4111,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11194, - serialized_end=11276, + serialized_start=12122, + serialized_end=12204, ) @@ -3909,8 +4150,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11278, - serialized_end=11349, + serialized_start=12206, + serialized_end=12277, ) @@ -3948,8 +4189,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11483, - serialized_end=11556, + serialized_start=12411, + serialized_end=12484, ) _GETCONTRACTGROUPINFOREQUEST = _descriptor.Descriptor( @@ -3984,8 +4225,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=11352, - serialized_end=11567, + serialized_start=12280, + serialized_end=12495, ) @@ -4047,8 +4288,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=11704, - serialized_end=11830, + serialized_start=12632, + serialized_end=12758, ) _GETCONTRACTGROUPINFORESPONSE_GETCONTRACTGROUPINFORESPONSEV0 = _descriptor.Descriptor( @@ -4097,8 +4338,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=11833, - serialized_end=12095, + serialized_start=12761, + serialized_end=13023, ) _GETCONTRACTGROUPINFORESPONSE = _descriptor.Descriptor( @@ -4133,8 +4374,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=11570, - serialized_end=12106, + serialized_start=12498, + serialized_end=13034, ) @@ -4170,8 +4411,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12249, - serialized_end=12313, + serialized_start=13177, + serialized_end=13241, ) _GETCONTRACTGROUPMEMBERSREQUEST_DOCUMENTTYPEMEMBERSQUERY = _descriptor.Descriptor( @@ -4206,8 +4447,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12316, - serialized_end=12444, + serialized_start=13244, + serialized_end=13372, ) _GETCONTRACTGROUPMEMBERSREQUEST_TOKENMEMBERSQUERY = _descriptor.Descriptor( @@ -4242,8 +4483,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12446, - serialized_end=12560, + serialized_start=13374, + serialized_end=13488, ) _GETCONTRACTGROUPMEMBERSREQUEST_GETCONTRACTGROUPMEMBERSREQUESTV0 = _descriptor.Descriptor( @@ -4318,8 +4559,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12563, - serialized_end=12986, + serialized_start=13491, + serialized_end=13914, ) _GETCONTRACTGROUPMEMBERSREQUEST = _descriptor.Descriptor( @@ -4354,8 +4595,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12109, - serialized_end=12997, + serialized_start=13037, + serialized_end=13925, ) @@ -4386,8 +4627,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13143, - serialized_end=13182, + serialized_start=14071, + serialized_end=14110, ) _GETCONTRACTGROUPMEMBERSRESPONSE_DOCUMENTTYPEMEMBERS = _descriptor.Descriptor( @@ -4417,8 +4658,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13184, - serialized_end=13289, + serialized_start=14112, + serialized_end=14217, ) _GETCONTRACTGROUPMEMBERSRESPONSE_TOKENMEMBERS = _descriptor.Descriptor( @@ -4448,8 +4689,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13291, - serialized_end=13374, + serialized_start=14219, + serialized_end=14302, ) _GETCONTRACTGROUPMEMBERSRESPONSE_GETCONTRACTGROUPMEMBERSRESPONSEV0 = _descriptor.Descriptor( @@ -4512,8 +4753,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=13377, - serialized_end=13830, + serialized_start=14305, + serialized_end=14758, ) _GETCONTRACTGROUPMEMBERSRESPONSE = _descriptor.Descriptor( @@ -4548,8 +4789,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=13000, - serialized_end=13841, + serialized_start=13928, + serialized_end=14769, ) @@ -4587,8 +4828,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13843, - serialized_end=13920, + serialized_start=14771, + serialized_end=14848, ) @@ -4650,8 +4891,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=13923, - serialized_end=14121, + serialized_start=14851, + serialized_end=15049, ) @@ -4689,8 +4930,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14123, - serialized_end=14228, + serialized_start=15051, + serialized_end=15156, ) @@ -4742,8 +4983,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14384, - serialized_end=14545, + serialized_start=15312, + serialized_end=15473, ) _GETCONTRACTMODERATIONSTATUSREQUEST = _descriptor.Descriptor( @@ -4778,8 +5019,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=14231, - serialized_end=14556, + serialized_start=15159, + serialized_end=15484, ) @@ -4865,8 +5106,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=14715, - serialized_end=15151, + serialized_start=15643, + serialized_end=16079, ) _GETCONTRACTMODERATIONSTATUSRESPONSE_GETCONTRACTMODERATIONSTATUSRESPONSEV0 = _descriptor.Descriptor( @@ -4915,8 +5156,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=15154, - serialized_end=15424, + serialized_start=16082, + serialized_end=16352, ) _GETCONTRACTMODERATIONSTATUSRESPONSE = _descriptor.Descriptor( @@ -4951,8 +5192,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=14559, - serialized_end=15435, + serialized_start=15487, + serialized_end=16363, ) @@ -5021,8 +5262,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=15594, - serialized_end=15806, + serialized_start=16522, + serialized_end=16734, ) _GETCONTRACTMODERATIONENTRIESREQUEST = _descriptor.Descriptor( @@ -5057,8 +5298,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=15438, - serialized_end=15817, + serialized_start=16366, + serialized_end=16745, ) @@ -5115,8 +5356,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=15979, - serialized_end=16186, + serialized_start=16907, + serialized_end=17114, ) _GETCONTRACTMODERATIONENTRIESRESPONSE_CONTRACTMODERATIONENTRIES = _descriptor.Descriptor( @@ -5146,8 +5387,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16189, - serialized_end=16322, + serialized_start=17117, + serialized_end=17250, ) _GETCONTRACTMODERATIONENTRIESRESPONSE_GETCONTRACTMODERATIONENTRIESRESPONSEV0 = _descriptor.Descriptor( @@ -5196,8 +5437,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=16325, - serialized_end=16599, + serialized_start=17253, + serialized_end=17527, ) _GETCONTRACTMODERATIONENTRIESRESPONSE = _descriptor.Descriptor( @@ -5232,8 +5473,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=15820, - serialized_end=16610, + serialized_start=16748, + serialized_end=17538, ) @@ -5264,8 +5505,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16765, - serialized_end=16800, + serialized_start=17693, + serialized_end=17728, ) _GETCONTRACTDOCUMENTREMOVALSREQUEST_PAGE = _descriptor.Descriptor( @@ -5312,8 +5553,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=16802, - serialized_end=16880, + serialized_start=17730, + serialized_end=17808, ) _GETCONTRACTDOCUMENTREMOVALSREQUEST_GETCONTRACTDOCUMENTREMOVALSREQUESTV0 = _descriptor.Descriptor( @@ -5376,8 +5617,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=16883, - serialized_end=17181, + serialized_start=17811, + serialized_end=18109, ) _GETCONTRACTDOCUMENTREMOVALSREQUEST = _descriptor.Descriptor( @@ -5412,8 +5653,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=16613, - serialized_end=17192, + serialized_start=17541, + serialized_end=18120, ) @@ -5451,8 +5692,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17350, - serialized_end=17422, + serialized_start=18278, + serialized_end=18350, ) _GETCONTRACTDOCUMENTREMOVALSRESPONSE_CONTRACTDOCUMENTREMOVAL = _descriptor.Descriptor( @@ -5531,8 +5772,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17425, - serialized_end=17766, + serialized_start=18353, + serialized_end=18694, ) _GETCONTRACTDOCUMENTREMOVALSRESPONSE_CONTRACTDOCUMENTREMOVALS = _descriptor.Descriptor( @@ -5562,8 +5803,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17769, - serialized_end=17901, + serialized_start=18697, + serialized_end=18829, ) _GETCONTRACTDOCUMENTREMOVALSRESPONSE_GETCONTRACTDOCUMENTREMOVALSRESPONSEV0 = _descriptor.Descriptor( @@ -5612,8 +5853,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=17904, - serialized_end=18176, + serialized_start=18832, + serialized_end=19104, ) _GETCONTRACTDOCUMENTREMOVALSRESPONSE = _descriptor.Descriptor( @@ -5648,8 +5889,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=17195, - serialized_end=18187, + serialized_start=18123, + serialized_end=19115, ) @@ -5687,8 +5928,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18327, - serialized_end=18403, + serialized_start=19255, + serialized_end=19331, ) _GETCONTRACTTEAMACTIONSREQUEST_GETCONTRACTTEAMACTIONSREQUESTV0 = _descriptor.Descriptor( @@ -5756,8 +5997,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=18406, - serialized_end=18722, + serialized_start=19334, + serialized_end=19650, ) _GETCONTRACTTEAMACTIONSREQUEST = _descriptor.Descriptor( @@ -5793,8 +6034,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=18190, - serialized_end=18773, + serialized_start=19118, + serialized_end=19701, ) @@ -5858,8 +6099,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=18917, - serialized_end=19147, + serialized_start=19845, + serialized_end=20075, ) _GETCONTRACTTEAMACTIONSRESPONSE_CONTRACTTEAMACTION = _descriptor.Descriptor( @@ -5922,8 +6163,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=19150, - serialized_end=19380, + serialized_start=20078, + serialized_end=20308, ) _GETCONTRACTTEAMACTIONSRESPONSE_CONTRACTTEAMACTIONS = _descriptor.Descriptor( @@ -5953,8 +6194,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=19382, - serialized_end=19498, + serialized_start=20310, + serialized_end=20426, ) _GETCONTRACTTEAMACTIONSRESPONSE_GETCONTRACTTEAMACTIONSRESPONSEV0 = _descriptor.Descriptor( @@ -6003,8 +6244,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=19501, - serialized_end=19757, + serialized_start=20429, + serialized_end=20685, ) _GETCONTRACTTEAMACTIONSRESPONSE = _descriptor.Descriptor( @@ -6039,8 +6280,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=18776, - serialized_end=19768, + serialized_start=19704, + serialized_end=20696, ) @@ -6092,8 +6333,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=19927, - serialized_end=20114, + serialized_start=20855, + serialized_end=21042, ) _GETCONTRACTTEAMACTIONSIGNERSREQUEST = _descriptor.Descriptor( @@ -6129,8 +6370,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=19771, - serialized_end=20165, + serialized_start=20699, + serialized_end=21093, ) @@ -6161,8 +6402,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=20326, - serialized_end=20373, + serialized_start=21254, + serialized_end=21301, ) _GETCONTRACTTEAMACTIONSIGNERSRESPONSE_GETCONTRACTTEAMACTIONSIGNERSRESPONSEV0 = _descriptor.Descriptor( @@ -6211,8 +6452,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=20376, - serialized_end=20650, + serialized_start=21304, + serialized_end=21578, ) _GETCONTRACTTEAMACTIONSIGNERSRESPONSE = _descriptor.Descriptor( @@ -6247,8 +6488,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=20168, - serialized_end=20661, + serialized_start=21096, + serialized_end=21589, ) @@ -6286,8 +6527,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=20834, - serialized_end=20914, + serialized_start=21762, + serialized_end=21842, ) _GETCONTRACTMODERATIONACTIONCOUNTSREQUEST = _descriptor.Descriptor( @@ -6322,8 +6563,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=20664, - serialized_end=20925, + serialized_start=21592, + serialized_end=21853, ) @@ -6361,8 +6602,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=21101, - serialized_end=21168, + serialized_start=22029, + serialized_end=22096, ) _GETCONTRACTMODERATIONACTIONCOUNTSRESPONSE_CONTRACTMODERATIONACTIONCOUNTS = _descriptor.Descriptor( @@ -6392,8 +6633,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=21171, - serialized_end=21319, + serialized_start=22099, + serialized_end=22247, ) _GETCONTRACTMODERATIONACTIONCOUNTSRESPONSE_GETCONTRACTMODERATIONACTIONCOUNTSRESPONSEV0 = _descriptor.Descriptor( @@ -6442,8 +6683,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=21322, - serialized_end=21610, + serialized_start=22250, + serialized_end=22538, ) _GETCONTRACTMODERATIONACTIONCOUNTSRESPONSE = _descriptor.Descriptor( @@ -6478,8 +6719,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=20928, - serialized_end=21621, + serialized_start=21856, + serialized_end=22549, ) @@ -6517,8 +6758,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=21749, - serialized_end=21814, + serialized_start=22677, + serialized_end=22742, ) _GETCONTRACTFEEPOTSREQUEST = _descriptor.Descriptor( @@ -6553,8 +6794,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=21624, - serialized_end=21825, + serialized_start=22552, + serialized_end=22753, ) @@ -6599,8 +6840,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=21956, - serialized_end=22038, + serialized_start=22884, + serialized_end=22966, ) _GETCONTRACTFEEPOTSRESPONSE_CONTRACTFEEPOT = _descriptor.Descriptor( @@ -6637,8 +6878,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=22041, - serialized_end=22177, + serialized_start=22969, + serialized_end=23105, ) _GETCONTRACTFEEPOTSRESPONSE_CONTRACTFEEPOTS = _descriptor.Descriptor( @@ -6675,8 +6916,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=22180, - serialized_end=22372, + serialized_start=23108, + serialized_end=23300, ) _GETCONTRACTFEEPOTSRESPONSE_GETCONTRACTFEEPOTSRESPONSEV0 = _descriptor.Descriptor( @@ -6725,8 +6966,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=22375, - serialized_end=22616, + serialized_start=23303, + serialized_end=23544, ) _GETCONTRACTFEEPOTSRESPONSE = _descriptor.Descriptor( @@ -6761,8 +7002,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=21828, - serialized_end=22627, + serialized_start=22756, + serialized_end=23555, ) @@ -6800,8 +7041,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=22785, - serialized_end=22860, + serialized_start=23713, + serialized_end=23788, ) _GETCONTRACTGROUPSFORCONTRACTREQUEST = _descriptor.Descriptor( @@ -6836,8 +7077,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=22630, - serialized_end=22871, + serialized_start=23558, + serialized_end=23799, ) @@ -6875,8 +7116,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=23032, - serialized_end=23113, + serialized_start=23960, + serialized_end=24041, ) _GETCONTRACTGROUPSFORCONTRACTRESPONSE_TOKENMEMBERSHIPS = _descriptor.Descriptor( @@ -6913,8 +7154,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=23115, - serialized_end=23185, + serialized_start=24043, + serialized_end=24113, ) _GETCONTRACTGROUPSFORCONTRACTRESPONSE_CONTRACTGROUPMEMBERSHIPS = _descriptor.Descriptor( @@ -6958,8 +7199,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=23188, - serialized_end=23453, + serialized_start=24116, + serialized_end=24381, ) _GETCONTRACTGROUPSFORCONTRACTRESPONSE_GETCONTRACTGROUPSFORCONTRACTRESPONSEV0 = _descriptor.Descriptor( @@ -7008,8 +7249,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=23456, - serialized_end=23748, + serialized_start=24384, + serialized_end=24676, ) _GETCONTRACTGROUPSFORCONTRACTRESPONSE = _descriptor.Descriptor( @@ -7044,8 +7285,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=22874, - serialized_end=23759, + serialized_start=23802, + serialized_end=24687, ) @@ -7083,8 +7324,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=23881, - serialized_end=23936, + serialized_start=24809, + serialized_end=24864, ) _GETDATACONTRACTSREQUEST = _descriptor.Descriptor( @@ -7119,8 +7360,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=23762, - serialized_end=23947, + serialized_start=24690, + serialized_end=24875, ) @@ -7189,8 +7430,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=24091, - serialized_end=24240, + serialized_start=25019, + serialized_end=25168, ) _GETDATACONTRACTSBYRANGEREQUEST = _descriptor.Descriptor( @@ -7225,8 +7466,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=23950, - serialized_end=24251, + serialized_start=24878, + serialized_end=25179, ) @@ -7264,8 +7505,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=24376, - serialized_end=24467, + serialized_start=25304, + serialized_end=25395, ) _GETDATACONTRACTSRESPONSE_DATACONTRACTS = _descriptor.Descriptor( @@ -7295,8 +7536,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=24469, - serialized_end=24586, + serialized_start=25397, + serialized_end=25514, ) _GETDATACONTRACTSRESPONSE_GETDATACONTRACTSRESPONSEV0 = _descriptor.Descriptor( @@ -7345,8 +7586,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=24589, - serialized_end=24834, + serialized_start=25517, + serialized_end=25762, ) _GETDATACONTRACTSRESPONSE = _descriptor.Descriptor( @@ -7381,8 +7622,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=24254, - serialized_end=24845, + serialized_start=25182, + serialized_end=25773, ) @@ -7441,8 +7682,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=24986, - serialized_end=25162, + serialized_start=25914, + serialized_end=26090, ) _GETDATACONTRACTHISTORYREQUEST = _descriptor.Descriptor( @@ -7477,8 +7718,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=24848, - serialized_end=25173, + serialized_start=25776, + serialized_end=26101, ) @@ -7516,8 +7757,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=25613, - serialized_end=25672, + serialized_start=26541, + serialized_end=26600, ) _GETDATACONTRACTHISTORYRESPONSE_GETDATACONTRACTHISTORYRESPONSEV0_DATACONTRACTHISTORY = _descriptor.Descriptor( @@ -7547,8 +7788,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=25675, - serialized_end=25845, + serialized_start=26603, + serialized_end=26773, ) _GETDATACONTRACTHISTORYRESPONSE_GETDATACONTRACTHISTORYRESPONSEV0 = _descriptor.Descriptor( @@ -7597,8 +7838,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=25317, - serialized_end=25855, + serialized_start=26245, + serialized_end=26783, ) _GETDATACONTRACTHISTORYRESPONSE = _descriptor.Descriptor( @@ -7633,8 +7874,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=25176, - serialized_end=25866, + serialized_start=26104, + serialized_end=26794, ) @@ -7665,8 +7906,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=26338, - serialized_end=26432, + serialized_start=27266, + serialized_end=27360, ) _GETDOCUMENTSREQUEST_DOCUMENTFIELDVALUE = _descriptor.Descriptor( @@ -7750,8 +7991,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=26061, - serialized_end=26443, + serialized_start=26989, + serialized_end=27371, ) _GETDOCUMENTSREQUEST_TIMERANGESELECTION_GRID = _descriptor.Descriptor( @@ -7795,8 +8036,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=26675, - serialized_end=26737, + serialized_start=27603, + serialized_end=27665, ) _GETDOCUMENTSREQUEST_TIMERANGESELECTION = _descriptor.Descriptor( @@ -7846,8 +8087,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=26446, - serialized_end=26800, + serialized_start=27374, + serialized_end=27728, ) _GETDOCUMENTSREQUEST_INTEGERRANGESELECTION_GRID = _descriptor.Descriptor( @@ -7891,8 +8132,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=26675, - serialized_end=26737, + serialized_start=27603, + serialized_end=27665, ) _GETDOCUMENTSREQUEST_INTEGERRANGESELECTION = _descriptor.Descriptor( @@ -7929,8 +8170,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=26803, - serialized_end=27061, + serialized_start=27731, + serialized_end=27989, ) _GETDOCUMENTSREQUEST_WHERECLAUSE = _descriptor.Descriptor( @@ -7988,8 +8229,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=27064, - serialized_end=27434, + serialized_start=27992, + serialized_end=28362, ) _GETDOCUMENTSREQUEST_HAVINGAGGREGATE = _descriptor.Descriptor( @@ -8027,8 +8268,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=27437, - serialized_end=27601, + serialized_start=28365, + serialized_end=28529, ) _GETDOCUMENTSREQUEST_HAVINGCLAUSE = _descriptor.Descriptor( @@ -8078,8 +8319,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=27604, - serialized_end=28109, + serialized_start=28532, + serialized_end=29037, ) _GETDOCUMENTSREQUEST_ORDERCLAUSE = _descriptor.Descriptor( @@ -8128,8 +8369,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=28112, - serialized_end=28256, + serialized_start=29040, + serialized_end=29184, ) _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0 = _descriptor.Descriptor( @@ -8213,8 +8454,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=28259, - serialized_end=28446, + serialized_start=29187, + serialized_end=29374, ) _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT = _descriptor.Descriptor( @@ -8252,8 +8493,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=29172, - serialized_end=29373, + serialized_start=30100, + serialized_end=30301, ) _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_CHAINEDJOIN = _descriptor.Descriptor( @@ -8290,8 +8531,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=29375, - serialized_end=29440, + serialized_start=30303, + serialized_end=30368, ) _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SUBQUERY_BINDING = _descriptor.Descriptor( @@ -8335,8 +8576,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=29884, - serialized_end=29949, + serialized_start=30812, + serialized_end=30877, ) _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SUBQUERY = _descriptor.Descriptor( @@ -8414,8 +8655,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=29443, - serialized_end=29993, + serialized_start=30371, + serialized_end=30921, ) _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1 = _descriptor.Descriptor( @@ -8551,8 +8792,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=28449, - serialized_end=30023, + serialized_start=29377, + serialized_end=30951, ) _GETDOCUMENTSREQUEST = _descriptor.Descriptor( @@ -8595,8 +8836,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=25869, - serialized_end=30341, + serialized_start=26797, + serialized_end=31269, ) @@ -8627,8 +8868,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=30784, - serialized_end=30814, + serialized_start=31712, + serialized_end=31742, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0 = _descriptor.Descriptor( @@ -8677,8 +8918,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=30541, - serialized_end=30824, + serialized_start=31469, + serialized_end=31752, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_DOCUMENTS = _descriptor.Descriptor( @@ -8708,8 +8949,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=30784, - serialized_end=30814, + serialized_start=31712, + serialized_end=31742, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY = _descriptor.Descriptor( @@ -8758,8 +8999,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=31098, - serialized_end=31174, + serialized_start=32026, + serialized_end=32102, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES = _descriptor.Descriptor( @@ -8789,8 +9030,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=31176, - serialized_end=31290, + serialized_start=32104, + serialized_end=32218, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS = _descriptor.Descriptor( @@ -8832,8 +9073,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=31293, - serialized_end=31453, + serialized_start=32221, + serialized_end=32381, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_SUMENTRY = _descriptor.Descriptor( @@ -8882,8 +9123,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=31455, - serialized_end=31527, + serialized_start=32383, + serialized_end=32455, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_SUMENTRIES = _descriptor.Descriptor( @@ -8913,8 +9154,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=31529, - serialized_end=31639, + serialized_start=32457, + serialized_end=32567, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_SUMRESULTS = _descriptor.Descriptor( @@ -8956,8 +9197,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=31642, - serialized_end=31796, + serialized_start=32570, + serialized_end=32724, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_AVERAGEENTRY = _descriptor.Descriptor( @@ -9013,8 +9254,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=31798, - serialized_end=31893, + serialized_start=32726, + serialized_end=32821, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_AVERAGEENTRIES = _descriptor.Descriptor( @@ -9044,8 +9285,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=31895, - serialized_end=32013, + serialized_start=32823, + serialized_end=32941, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_AVERAGEAGGREGATE = _descriptor.Descriptor( @@ -9082,8 +9323,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=32015, - serialized_end=32069, + serialized_start=32943, + serialized_end=32997, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_AVERAGERESULTS = _descriptor.Descriptor( @@ -9125,8 +9366,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=32072, - serialized_end=32323, + serialized_start=33000, + serialized_end=33251, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RANKEDENTRY = _descriptor.Descriptor( @@ -9194,8 +9435,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=32325, - serialized_end=32447, + serialized_start=33253, + serialized_end=33375, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RANKEDENTRIES = _descriptor.Descriptor( @@ -9237,8 +9478,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=32450, - serialized_end=32604, + serialized_start=33378, + serialized_end=33532, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA = _descriptor.Descriptor( @@ -9315,8 +9556,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=32607, - serialized_end=33366, + serialized_start=33535, + serialized_end=34294, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_CHAINEDDOCUMENTS = _descriptor.Descriptor( @@ -9367,8 +9608,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=33369, - serialized_end=33585, + serialized_start=34297, + serialized_end=34513, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COMPOSITEDOCUMENTS_SUBQUERYRESULT = _descriptor.Descriptor( @@ -9424,8 +9665,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=33762, - serialized_end=34120, + serialized_start=34690, + serialized_end=35048, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COMPOSITEDOCUMENTS = _descriptor.Descriptor( @@ -9462,8 +9703,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=33588, - serialized_end=34120, + serialized_start=34516, + serialized_end=35048, ) _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1 = _descriptor.Descriptor( @@ -9512,8 +9753,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=30827, - serialized_end=34130, + serialized_start=31755, + serialized_end=35058, ) _GETDOCUMENTSRESPONSE = _descriptor.Descriptor( @@ -9555,8 +9796,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=30344, - serialized_end=34141, + serialized_start=31272, + serialized_end=35069, ) @@ -9629,8 +9870,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=34366, - serialized_end=34601, + serialized_start=35294, + serialized_end=35529, ) _GETDOCUMENTHISTORYREQUEST_GETDOCUMENTHISTORYREQUESTV1_CURSOR = _descriptor.Descriptor( @@ -9667,8 +9908,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=34966, - serialized_end=35017, + serialized_start=35894, + serialized_end=35945, ) _GETDOCUMENTHISTORYREQUEST_GETDOCUMENTHISTORYREQUESTV1 = _descriptor.Descriptor( @@ -9759,8 +10000,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=34604, - serialized_end=35027, + serialized_start=35532, + serialized_end=35955, ) _GETDOCUMENTHISTORYREQUEST = _descriptor.Descriptor( @@ -9802,8 +10043,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=34144, - serialized_end=35038, + serialized_start=35072, + serialized_end=35966, ) @@ -9841,8 +10082,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=35542, - serialized_end=35597, + serialized_start=36470, + serialized_end=36525, ) _GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV0_DOCUMENTHISTORY = _descriptor.Descriptor( @@ -9872,8 +10113,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=35600, - serialized_end=35749, + serialized_start=36528, + serialized_end=36677, ) _GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV0 = _descriptor.Descriptor( @@ -9922,8 +10163,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=35268, - serialized_end=35759, + serialized_start=36196, + serialized_end=36687, ) _GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV1_ENTRY = _descriptor.Descriptor( @@ -9967,8 +10208,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=36019, - serialized_end=36087, + serialized_start=36947, + serialized_end=37015, ) _GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV1_LIFECYCLE = _descriptor.Descriptor( @@ -10006,8 +10247,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=36090, - serialized_end=36282, + serialized_start=37018, + serialized_end=37210, ) _GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV1_HISTORY = _descriptor.Descriptor( @@ -10044,8 +10285,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=36285, - serialized_end=36514, + serialized_start=37213, + serialized_end=37442, ) _GETDOCUMENTHISTORYRESPONSE_GETDOCUMENTHISTORYRESPONSEV1 = _descriptor.Descriptor( @@ -10094,8 +10335,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=35762, - serialized_end=36524, + serialized_start=36690, + serialized_end=37452, ) _GETDOCUMENTHISTORYRESPONSE = _descriptor.Descriptor( @@ -10137,8 +10378,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=35041, - serialized_end=36535, + serialized_start=35969, + serialized_end=37463, ) @@ -10176,8 +10417,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=36687, - serialized_end=36764, + serialized_start=37615, + serialized_end=37692, ) _GETIDENTITYBYPUBLICKEYHASHREQUEST = _descriptor.Descriptor( @@ -10212,8 +10453,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=36538, - serialized_end=36775, + serialized_start=37466, + serialized_end=37703, ) @@ -10263,8 +10504,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=36931, - serialized_end=37113, + serialized_start=37859, + serialized_end=38041, ) _GETIDENTITYBYPUBLICKEYHASHRESPONSE = _descriptor.Descriptor( @@ -10299,8 +10540,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=36778, - serialized_end=37124, + serialized_start=37706, + serialized_end=38052, ) @@ -10350,8 +10591,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=37436, - serialized_end=37564, + serialized_start=38364, + serialized_end=38492, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUEST_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUESTV1 = _descriptor.Descriptor( @@ -10400,8 +10641,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=37567, - serialized_end=37695, + serialized_start=38495, + serialized_end=38623, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUEST = _descriptor.Descriptor( @@ -10443,8 +10684,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=37127, - serialized_end=37706, + serialized_start=38055, + serialized_end=38634, ) @@ -10480,8 +10721,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=38452, - serialized_end=38506, + serialized_start=39380, + serialized_end=39434, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSEV0_IDENTITYPROVEDRESPONSE = _descriptor.Descriptor( @@ -10523,8 +10764,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=38509, - serialized_end=38675, + serialized_start=39437, + serialized_end=39603, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSEV0 = _descriptor.Descriptor( @@ -10573,8 +10814,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=38023, - serialized_end=38691, + serialized_start=38951, + serialized_end=39619, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSEV1_IDENTITYRESPONSE = _descriptor.Descriptor( @@ -10609,8 +10850,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=38452, - serialized_end=38506, + serialized_start=39380, + serialized_end=39434, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSEV1 = _descriptor.Descriptor( @@ -10659,8 +10900,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=38694, - serialized_end=39078, + serialized_start=39622, + serialized_end=40006, ) _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE = _descriptor.Descriptor( @@ -10702,8 +10943,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=37709, - serialized_end=39089, + serialized_start=38637, + serialized_end=40017, ) @@ -10748,8 +10989,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=39247, - serialized_end=39362, + serialized_start=40175, + serialized_end=40290, ) _WAITFORSTATETRANSITIONRESULTREQUEST = _descriptor.Descriptor( @@ -10784,8 +11025,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=39092, - serialized_end=39373, + serialized_start=40020, + serialized_end=40301, ) @@ -10816,8 +11057,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=39534, - serialized_end=39586, + serialized_start=40462, + serialized_end=40514, ) _WAITFORSTATETRANSITIONRESULTRESPONSE_WAITFORSTATETRANSITIONRESULTRESPONSEV0 = _descriptor.Descriptor( @@ -10873,8 +11114,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=39589, - serialized_end=39955, + serialized_start=40517, + serialized_end=40883, ) _WAITFORSTATETRANSITIONRESULTRESPONSE = _descriptor.Descriptor( @@ -10909,8 +11150,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=39376, - serialized_end=39966, + serialized_start=40304, + serialized_end=40894, ) @@ -10941,8 +11182,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=40130, - serialized_end=40202, + serialized_start=41058, + serialized_end=41130, ) _GETRECENTSTATETRANSITIONSTATUSREQUEST = _descriptor.Descriptor( @@ -10977,8 +11218,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=39969, - serialized_end=40213, + serialized_start=40897, + serialized_end=41141, ) @@ -11016,8 +11257,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=40900, - serialized_end=41004, + serialized_start=41828, + serialized_end=41932, ) _GETRECENTSTATETRANSITIONSTATUSRESPONSE_GETRECENTSTATETRANSITIONSTATUSRESPONSEV0_PENDING = _descriptor.Descriptor( @@ -11040,8 +11281,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41006, - serialized_end=41015, + serialized_start=41934, + serialized_end=41943, ) _GETRECENTSTATETRANSITIONSTATUSRESPONSE_GETRECENTSTATETRANSITIONSTATUSRESPONSEV0_UNKNOWN = _descriptor.Descriptor( @@ -11064,8 +11305,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41017, - serialized_end=41026, + serialized_start=41945, + serialized_end=41954, ) _GETRECENTSTATETRANSITIONSTATUSRESPONSE_GETRECENTSTATETRANSITIONSTATUSRESPONSEV0 = _descriptor.Descriptor( @@ -11121,8 +11362,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=40381, - serialized_end=41036, + serialized_start=41309, + serialized_end=41964, ) _GETRECENTSTATETRANSITIONSTATUSRESPONSE = _descriptor.Descriptor( @@ -11157,8 +11398,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=40216, - serialized_end=41047, + serialized_start=41144, + serialized_end=41975, ) @@ -11196,8 +11437,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41175, - serialized_end=41235, + serialized_start=42103, + serialized_end=42163, ) _GETCONSENSUSPARAMSREQUEST = _descriptor.Descriptor( @@ -11232,8 +11473,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=41050, - serialized_end=41246, + serialized_start=41978, + serialized_end=42174, ) @@ -11278,8 +11519,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41377, - serialized_end=41457, + serialized_start=42305, + serialized_end=42385, ) _GETCONSENSUSPARAMSRESPONSE_CONSENSUSPARAMSEVIDENCE = _descriptor.Descriptor( @@ -11323,8 +11564,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41459, - serialized_end=41557, + serialized_start=42387, + serialized_end=42485, ) _GETCONSENSUSPARAMSRESPONSE_GETCONSENSUSPARAMSRESPONSEV0 = _descriptor.Descriptor( @@ -11361,8 +11602,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41560, - serialized_end=41778, + serialized_start=42488, + serialized_end=42706, ) _GETCONSENSUSPARAMSRESPONSE = _descriptor.Descriptor( @@ -11397,8 +11638,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=41249, - serialized_end=41789, + serialized_start=42177, + serialized_end=42717, ) @@ -11429,8 +11670,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=41953, - serialized_end=42009, + serialized_start=42881, + serialized_end=42937, ) _GETPROTOCOLVERSIONUPGRADESTATEREQUEST = _descriptor.Descriptor( @@ -11465,8 +11706,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=41792, - serialized_end=42020, + serialized_start=42720, + serialized_end=42948, ) @@ -11497,8 +11738,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=42485, - serialized_end=42635, + serialized_start=43413, + serialized_end=43563, ) _GETPROTOCOLVERSIONUPGRADESTATERESPONSE_GETPROTOCOLVERSIONUPGRADESTATERESPONSEV0_VERSIONENTRY = _descriptor.Descriptor( @@ -11535,8 +11776,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=42637, - serialized_end=42695, + serialized_start=43565, + serialized_end=43623, ) _GETPROTOCOLVERSIONUPGRADESTATERESPONSE_GETPROTOCOLVERSIONUPGRADESTATERESPONSEV0 = _descriptor.Descriptor( @@ -11585,8 +11826,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=42188, - serialized_end=42705, + serialized_start=43116, + serialized_end=43633, ) _GETPROTOCOLVERSIONUPGRADESTATERESPONSE = _descriptor.Descriptor( @@ -11621,8 +11862,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=42023, - serialized_end=42716, + serialized_start=42951, + serialized_end=43644, ) @@ -11667,8 +11908,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=42896, - serialized_end=42999, + serialized_start=43824, + serialized_end=43927, ) _GETPROTOCOLVERSIONUPGRADEVOTESTATUSREQUEST = _descriptor.Descriptor( @@ -11703,8 +11944,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=42719, - serialized_end=43010, + serialized_start=43647, + serialized_end=43938, ) @@ -11735,8 +11976,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=43513, - serialized_end=43688, + serialized_start=44441, + serialized_end=44616, ) _GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSEV0_VERSIONSIGNAL = _descriptor.Descriptor( @@ -11773,8 +12014,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=43690, - serialized_end=43743, + serialized_start=44618, + serialized_end=44671, ) _GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSEV0 = _descriptor.Descriptor( @@ -11823,8 +12064,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=43194, - serialized_end=43753, + serialized_start=44122, + serialized_end=44681, ) _GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE = _descriptor.Descriptor( @@ -11859,8 +12100,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=43013, - serialized_end=43764, + serialized_start=43941, + serialized_end=44692, ) @@ -11912,8 +12153,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=43877, - serialized_end=44001, + serialized_start=44805, + serialized_end=44929, ) _GETEPOCHSINFOREQUEST = _descriptor.Descriptor( @@ -11948,8 +12189,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=43767, - serialized_end=44012, + serialized_start=44695, + serialized_end=44940, ) @@ -11980,8 +12221,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=44373, - serialized_end=44490, + serialized_start=45301, + serialized_end=45418, ) _GETEPOCHSINFORESPONSE_GETEPOCHSINFORESPONSEV0_EPOCHINFO = _descriptor.Descriptor( @@ -12046,8 +12287,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=44493, - serialized_end=44659, + serialized_start=45421, + serialized_end=45587, ) _GETEPOCHSINFORESPONSE_GETEPOCHSINFORESPONSEV0 = _descriptor.Descriptor( @@ -12096,8 +12337,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=44129, - serialized_end=44669, + serialized_start=45057, + serialized_end=45597, ) _GETEPOCHSINFORESPONSE = _descriptor.Descriptor( @@ -12132,8 +12373,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=44015, - serialized_end=44680, + serialized_start=44943, + serialized_end=45608, ) @@ -12192,8 +12433,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=44821, - serialized_end=44991, + serialized_start=45749, + serialized_end=45919, ) _GETFINALIZEDEPOCHINFOSREQUEST = _descriptor.Descriptor( @@ -12228,8 +12469,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=44683, - serialized_end=45002, + serialized_start=45611, + serialized_end=45930, ) @@ -12260,8 +12501,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=45428, - serialized_end=45592, + serialized_start=46356, + serialized_end=46520, ) _GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0_FINALIZEDEPOCHINFO = _descriptor.Descriptor( @@ -12375,8 +12616,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=45595, - serialized_end=46138, + serialized_start=46523, + serialized_end=47066, ) _GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0_BLOCKPROPOSER = _descriptor.Descriptor( @@ -12413,8 +12654,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=46140, - serialized_end=46197, + serialized_start=47068, + serialized_end=47125, ) _GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0 = _descriptor.Descriptor( @@ -12463,8 +12704,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=45146, - serialized_end=46207, + serialized_start=46074, + serialized_end=47135, ) _GETFINALIZEDEPOCHINFOSRESPONSE = _descriptor.Descriptor( @@ -12499,8 +12740,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=45005, - serialized_end=46218, + serialized_start=45933, + serialized_end=47146, ) @@ -12538,8 +12779,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=46713, - serialized_end=46782, + serialized_start=47641, + serialized_end=47710, ) _GETCONTESTEDRESOURCESREQUEST_GETCONTESTEDRESOURCESREQUESTV0 = _descriptor.Descriptor( @@ -12635,8 +12876,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=46356, - serialized_end=46816, + serialized_start=47284, + serialized_end=47744, ) _GETCONTESTEDRESOURCESREQUEST = _descriptor.Descriptor( @@ -12671,8 +12912,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=46221, - serialized_end=46827, + serialized_start=47149, + serialized_end=47755, ) @@ -12703,8 +12944,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=47269, - serialized_end=47329, + serialized_start=48197, + serialized_end=48257, ) _GETCONTESTEDRESOURCESRESPONSE_GETCONTESTEDRESOURCESRESPONSEV0 = _descriptor.Descriptor( @@ -12753,8 +12994,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=46968, - serialized_end=47339, + serialized_start=47896, + serialized_end=48267, ) _GETCONTESTEDRESOURCESRESPONSE = _descriptor.Descriptor( @@ -12789,8 +13030,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=46830, - serialized_end=47350, + serialized_start=47758, + serialized_end=48278, ) @@ -12828,8 +13069,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=47863, - serialized_end=47936, + serialized_start=48791, + serialized_end=48864, ) _GETVOTEPOLLSBYENDDATEREQUEST_GETVOTEPOLLSBYENDDATEREQUESTV0_ENDATTIMEINFO = _descriptor.Descriptor( @@ -12866,8 +13107,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=47938, - serialized_end=48005, + serialized_start=48866, + serialized_end=48933, ) _GETVOTEPOLLSBYENDDATEREQUEST_GETVOTEPOLLSBYENDDATEREQUESTV0 = _descriptor.Descriptor( @@ -12952,8 +13193,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=47488, - serialized_end=48064, + serialized_start=48416, + serialized_end=48992, ) _GETVOTEPOLLSBYENDDATEREQUEST = _descriptor.Descriptor( @@ -12988,8 +13229,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=47353, - serialized_end=48075, + serialized_start=48281, + serialized_end=49003, ) @@ -13027,8 +13268,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=48524, - serialized_end=48610, + serialized_start=49452, + serialized_end=49538, ) _GETVOTEPOLLSBYENDDATERESPONSE_GETVOTEPOLLSBYENDDATERESPONSEV0_SERIALIZEDVOTEPOLLSBYTIMESTAMPS = _descriptor.Descriptor( @@ -13065,8 +13306,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=48613, - serialized_end=48828, + serialized_start=49541, + serialized_end=49756, ) _GETVOTEPOLLSBYENDDATERESPONSE_GETVOTEPOLLSBYENDDATERESPONSEV0 = _descriptor.Descriptor( @@ -13115,8 +13356,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=48216, - serialized_end=48838, + serialized_start=49144, + serialized_end=49766, ) _GETVOTEPOLLSBYENDDATERESPONSE = _descriptor.Descriptor( @@ -13151,8 +13392,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=48078, - serialized_end=48849, + serialized_start=49006, + serialized_end=49777, ) @@ -13190,8 +13431,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=48986, - serialized_end=49055, + serialized_start=49914, + serialized_end=49983, ) _GETYESNOVOTEPOLLSTATEREQUEST = _descriptor.Descriptor( @@ -13226,8 +13467,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=48852, - serialized_end=49066, + serialized_start=49780, + serialized_end=49994, ) @@ -13279,8 +13520,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=49482, - serialized_end=49579, + serialized_start=50410, + serialized_end=50507, ) _GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0_FINISHEDYESNOVOTEPOLL = _descriptor.Descriptor( @@ -13352,8 +13593,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=49582, - serialized_end=50002, + serialized_start=50510, + serialized_end=50930, ) _GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0_YESNOVOTEPOLL_DECISIONPROPOSAL = _descriptor.Descriptor( @@ -13383,8 +13624,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=50411, - serialized_end=50450, + serialized_start=51339, + serialized_end=51378, ) _GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0_YESNOVOTEPOLL_FRACTIONOFTOTAL = _descriptor.Descriptor( @@ -13428,8 +13669,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=50453, - serialized_end=50653, + serialized_start=51381, + serialized_end=51581, ) _GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0_YESNOVOTEPOLL = _descriptor.Descriptor( @@ -13498,8 +13739,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=50005, - serialized_end=50766, + serialized_start=50933, + serialized_end=51694, ) _GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0_YESNOVOTEPOLLSTATE = _descriptor.Descriptor( @@ -13569,8 +13810,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=50769, - serialized_end=51264, + serialized_start=51697, + serialized_end=52192, ) _GETYESNOVOTEPOLLSTATERESPONSE_GETYESNOVOTEPOLLSTATERESPONSEV0 = _descriptor.Descriptor( @@ -13619,8 +13860,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=49207, - serialized_end=51274, + serialized_start=50135, + serialized_end=52202, ) _GETYESNOVOTEPOLLSTATERESPONSE = _descriptor.Descriptor( @@ -13655,8 +13896,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=49069, - serialized_end=51285, + serialized_start=49997, + serialized_end=52213, ) @@ -13701,8 +13942,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=51425, - serialized_end=51516, + serialized_start=52353, + serialized_end=52444, ) _GETMASTERNODEYESNOVOTEREQUEST = _descriptor.Descriptor( @@ -13737,8 +13978,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=51288, - serialized_end=51527, + serialized_start=52216, + serialized_end=52455, ) @@ -13777,8 +14018,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=51957, - serialized_end=52175, + serialized_start=52885, + serialized_end=53103, ) _GETMASTERNODEYESNOVOTERESPONSE_GETMASTERNODEYESNOVOTERESPONSEV0_MASTERNODEYESNOVOTEENTRY = _descriptor.Descriptor( @@ -13808,8 +14049,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=52178, - serialized_end=52330, + serialized_start=53106, + serialized_end=53258, ) _GETMASTERNODEYESNOVOTERESPONSE_GETMASTERNODEYESNOVOTERESPONSEV0 = _descriptor.Descriptor( @@ -13858,8 +14099,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=51671, - serialized_end=52340, + serialized_start=52599, + serialized_end=53268, ) _GETMASTERNODEYESNOVOTERESPONSE = _descriptor.Descriptor( @@ -13894,8 +14135,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=51530, - serialized_end=52351, + serialized_start=52458, + serialized_end=53279, ) @@ -13933,8 +14174,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=53040, - serialized_end=53124, + serialized_start=53968, + serialized_end=54052, ) _GETCONTESTEDRESOURCEVOTESTATEREQUEST_GETCONTESTEDRESOURCEVOTESTATEREQUESTV0 = _descriptor.Descriptor( @@ -14031,8 +14272,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=52513, - serialized_end=53238, + serialized_start=53441, + serialized_end=54166, ) _GETCONTESTEDRESOURCEVOTESTATEREQUEST = _descriptor.Descriptor( @@ -14067,8 +14308,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=52354, - serialized_end=53249, + serialized_start=53282, + serialized_end=54177, ) @@ -14140,8 +14381,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=53749, - serialized_end=54223, + serialized_start=54677, + serialized_end=55151, ) _GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0_CONTESTEDRESOURCECONTENDERS = _descriptor.Descriptor( @@ -14207,8 +14448,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=54226, - serialized_end=54678, + serialized_start=55154, + serialized_end=55606, ) _GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0_CONTENDER = _descriptor.Descriptor( @@ -14262,8 +14503,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=54680, - serialized_end=54787, + serialized_start=55608, + serialized_end=55715, ) _GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0 = _descriptor.Descriptor( @@ -14312,8 +14553,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=53414, - serialized_end=54797, + serialized_start=54342, + serialized_end=55725, ) _GETCONTESTEDRESOURCEVOTESTATERESPONSE = _descriptor.Descriptor( @@ -14348,8 +14589,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=53252, - serialized_end=54808, + serialized_start=54180, + serialized_end=55736, ) @@ -14387,8 +14628,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=53040, - serialized_end=53124, + serialized_start=53968, + serialized_end=54052, ) _GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUEST_GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUESTV0 = _descriptor.Descriptor( @@ -14484,8 +14725,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=54995, - serialized_end=55525, + serialized_start=55923, + serialized_end=56453, ) _GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUEST = _descriptor.Descriptor( @@ -14520,8 +14761,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=54811, - serialized_end=55536, + serialized_start=55739, + serialized_end=56464, ) @@ -14559,8 +14800,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=56076, - serialized_end=56143, + serialized_start=57004, + serialized_end=57071, ) _GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSE_GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSEV0 = _descriptor.Descriptor( @@ -14609,8 +14850,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=55726, - serialized_end=56153, + serialized_start=56654, + serialized_end=57081, ) _GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSE = _descriptor.Descriptor( @@ -14645,8 +14886,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=55539, - serialized_end=56164, + serialized_start=56467, + serialized_end=57092, ) @@ -14684,8 +14925,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=56713, - serialized_end=56810, + serialized_start=57641, + serialized_end=57738, ) _GETCONTESTEDRESOURCEIDENTITYVOTESREQUEST_GETCONTESTEDRESOURCEIDENTITYVOTESREQUESTV0 = _descriptor.Descriptor( @@ -14755,8 +14996,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=56338, - serialized_end=56841, + serialized_start=57266, + serialized_end=57769, ) _GETCONTESTEDRESOURCEIDENTITYVOTESREQUEST = _descriptor.Descriptor( @@ -14791,8 +15032,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=56167, - serialized_end=56852, + serialized_start=57095, + serialized_end=57780, ) @@ -14830,8 +15071,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=57355, - serialized_end=57602, + serialized_start=58283, + serialized_end=58530, ) _GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0_RESOURCEVOTECHOICE = _descriptor.Descriptor( @@ -14874,8 +15115,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=57605, - serialized_end=57906, + serialized_start=58533, + serialized_end=58834, ) _GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0_CONTESTEDRESOURCEIDENTITYVOTE = _descriptor.Descriptor( @@ -14926,8 +15167,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=57909, - serialized_end=58186, + serialized_start=58837, + serialized_end=59114, ) _GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0 = _descriptor.Descriptor( @@ -14976,8 +15217,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=57029, - serialized_end=58196, + serialized_start=57957, + serialized_end=59124, ) _GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE = _descriptor.Descriptor( @@ -15012,8 +15253,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=56855, - serialized_end=58207, + serialized_start=57783, + serialized_end=59135, ) @@ -15051,8 +15292,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=58371, - serialized_end=58439, + serialized_start=59299, + serialized_end=59367, ) _GETPREFUNDEDSPECIALIZEDBALANCEREQUEST = _descriptor.Descriptor( @@ -15087,8 +15328,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=58210, - serialized_end=58450, + serialized_start=59138, + serialized_end=59378, ) @@ -15138,8 +15379,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=58618, - serialized_end=58807, + serialized_start=59546, + serialized_end=59735, ) _GETPREFUNDEDSPECIALIZEDBALANCERESPONSE = _descriptor.Descriptor( @@ -15174,8 +15415,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=58453, - serialized_end=58818, + serialized_start=59381, + serialized_end=59746, ) @@ -15206,8 +15447,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=58967, - serialized_end=59018, + serialized_start=59895, + serialized_end=59946, ) _GETTOTALCREDITSINPLATFORMREQUEST = _descriptor.Descriptor( @@ -15242,8 +15483,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=58821, - serialized_end=59029, + serialized_start=59749, + serialized_end=59957, ) @@ -15293,8 +15534,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=59182, - serialized_end=59366, + serialized_start=60110, + serialized_end=60294, ) _GETTOTALCREDITSINPLATFORMRESPONSE = _descriptor.Descriptor( @@ -15329,8 +15570,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=59032, - serialized_end=59377, + serialized_start=59960, + serialized_end=60305, ) @@ -15375,8 +15616,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=59496, - serialized_end=59565, + serialized_start=60424, + serialized_end=60493, ) _GETPATHELEMENTSREQUEST = _descriptor.Descriptor( @@ -15411,8 +15652,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=59380, - serialized_end=59576, + serialized_start=60308, + serialized_end=60504, ) @@ -15443,8 +15684,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=59949, - serialized_end=59977, + serialized_start=60877, + serialized_end=60905, ) _GETPATHELEMENTSRESPONSE_GETPATHELEMENTSRESPONSEV0 = _descriptor.Descriptor( @@ -15493,8 +15734,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=59699, - serialized_end=59987, + serialized_start=60627, + serialized_end=60915, ) _GETPATHELEMENTSRESPONSE = _descriptor.Descriptor( @@ -15529,8 +15770,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=59579, - serialized_end=59998, + serialized_start=60507, + serialized_end=60926, ) @@ -15554,8 +15795,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=60099, - serialized_end=60119, + serialized_start=61027, + serialized_end=61047, ) _GETSTATUSREQUEST = _descriptor.Descriptor( @@ -15590,8 +15831,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=60001, - serialized_end=60130, + serialized_start=60929, + serialized_end=61058, ) @@ -15646,8 +15887,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=61007, - serialized_end=61101, + serialized_start=61935, + serialized_end=62029, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION_PROTOCOL_TENDERDASH = _descriptor.Descriptor( @@ -15684,8 +15925,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=61334, - serialized_end=61374, + serialized_start=62262, + serialized_end=62302, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION_PROTOCOL_DRIVE = _descriptor.Descriptor( @@ -15729,8 +15970,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=61376, - serialized_end=61436, + serialized_start=62304, + serialized_end=62364, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION_PROTOCOL = _descriptor.Descriptor( @@ -15767,8 +16008,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=61104, - serialized_end=61436, + serialized_start=62032, + serialized_end=62364, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION = _descriptor.Descriptor( @@ -15805,8 +16046,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=60794, - serialized_end=61436, + serialized_start=61722, + serialized_end=62364, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_TIME = _descriptor.Descriptor( @@ -15872,8 +16113,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=61438, - serialized_end=61565, + serialized_start=62366, + serialized_end=62493, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_NODE = _descriptor.Descriptor( @@ -15915,8 +16156,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=61567, - serialized_end=61627, + serialized_start=62495, + serialized_end=62555, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_CHAIN = _descriptor.Descriptor( @@ -16007,8 +16248,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=61630, - serialized_end=61937, + serialized_start=62558, + serialized_end=62865, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_NETWORK = _descriptor.Descriptor( @@ -16052,8 +16293,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=61939, - serialized_end=62006, + serialized_start=62867, + serialized_end=62934, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_STATESYNC = _descriptor.Descriptor( @@ -16132,8 +16373,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=62009, - serialized_end=62270, + serialized_start=62937, + serialized_end=63198, ) _GETSTATUSRESPONSE_GETSTATUSRESPONSEV0 = _descriptor.Descriptor( @@ -16198,8 +16439,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=60235, - serialized_end=62270, + serialized_start=61163, + serialized_end=63198, ) _GETSTATUSRESPONSE = _descriptor.Descriptor( @@ -16234,8 +16475,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=60133, - serialized_end=62281, + serialized_start=61061, + serialized_end=63209, ) @@ -16259,8 +16500,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=62418, - serialized_end=62450, + serialized_start=63346, + serialized_end=63378, ) _GETCURRENTQUORUMSINFOREQUEST = _descriptor.Descriptor( @@ -16295,8 +16536,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=62284, - serialized_end=62461, + serialized_start=63212, + serialized_end=63389, ) @@ -16341,8 +16582,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=62601, - serialized_end=62671, + serialized_start=63529, + serialized_end=63599, ) _GETCURRENTQUORUMSINFORESPONSE_VALIDATORSETV0 = _descriptor.Descriptor( @@ -16393,8 +16634,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=62674, - serialized_end=62849, + serialized_start=63602, + serialized_end=63777, ) _GETCURRENTQUORUMSINFORESPONSE_GETCURRENTQUORUMSINFORESPONSEV0 = _descriptor.Descriptor( @@ -16452,8 +16693,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=62852, - serialized_end=63126, + serialized_start=63780, + serialized_end=64054, ) _GETCURRENTQUORUMSINFORESPONSE = _descriptor.Descriptor( @@ -16488,8 +16729,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=62464, - serialized_end=63137, + serialized_start=63392, + serialized_end=64065, ) @@ -16534,8 +16775,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=63283, - serialized_end=63373, + serialized_start=64211, + serialized_end=64301, ) _GETIDENTITYTOKENBALANCESREQUEST = _descriptor.Descriptor( @@ -16570,8 +16811,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=63140, - serialized_end=63384, + serialized_start=64068, + serialized_end=64312, ) @@ -16614,8 +16855,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=63823, - serialized_end=63894, + serialized_start=64751, + serialized_end=64822, ) _GETIDENTITYTOKENBALANCESRESPONSE_GETIDENTITYTOKENBALANCESRESPONSEV0_TOKENBALANCES = _descriptor.Descriptor( @@ -16645,8 +16886,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=63897, - serialized_end=64051, + serialized_start=64825, + serialized_end=64979, ) _GETIDENTITYTOKENBALANCESRESPONSE_GETIDENTITYTOKENBALANCESRESPONSEV0 = _descriptor.Descriptor( @@ -16695,8 +16936,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=63534, - serialized_end=64061, + serialized_start=64462, + serialized_end=64989, ) _GETIDENTITYTOKENBALANCESRESPONSE = _descriptor.Descriptor( @@ -16731,8 +16972,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=63387, - serialized_end=64072, + serialized_start=64315, + serialized_end=65000, ) @@ -16777,8 +17018,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=64224, - serialized_end=64316, + serialized_start=65152, + serialized_end=65244, ) _GETIDENTITIESTOKENBALANCESREQUEST = _descriptor.Descriptor( @@ -16813,8 +17054,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=64075, - serialized_end=64327, + serialized_start=65003, + serialized_end=65255, ) @@ -16857,8 +17098,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=64795, - serialized_end=64877, + serialized_start=65723, + serialized_end=65805, ) _GETIDENTITIESTOKENBALANCESRESPONSE_GETIDENTITIESTOKENBALANCESRESPONSEV0_IDENTITYTOKENBALANCES = _descriptor.Descriptor( @@ -16888,8 +17129,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=64880, - serialized_end=65063, + serialized_start=65808, + serialized_end=65991, ) _GETIDENTITIESTOKENBALANCESRESPONSE_GETIDENTITIESTOKENBALANCESRESPONSEV0 = _descriptor.Descriptor( @@ -16938,8 +17179,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=64483, - serialized_end=65073, + serialized_start=65411, + serialized_end=66001, ) _GETIDENTITIESTOKENBALANCESRESPONSE = _descriptor.Descriptor( @@ -16974,8 +17215,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=64330, - serialized_end=65084, + serialized_start=65258, + serialized_end=66012, ) @@ -17020,8 +17261,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=65221, - serialized_end=65308, + serialized_start=66149, + serialized_end=66236, ) _GETIDENTITYTOKENINFOSREQUEST = _descriptor.Descriptor( @@ -17056,8 +17297,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=65087, - serialized_end=65319, + serialized_start=66015, + serialized_end=66247, ) @@ -17088,8 +17329,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=65733, - serialized_end=65773, + serialized_start=66661, + serialized_end=66701, ) _GETIDENTITYTOKENINFOSRESPONSE_GETIDENTITYTOKENINFOSRESPONSEV0_TOKENINFOENTRY = _descriptor.Descriptor( @@ -17131,8 +17372,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=65776, - serialized_end=65952, + serialized_start=66704, + serialized_end=66880, ) _GETIDENTITYTOKENINFOSRESPONSE_GETIDENTITYTOKENINFOSRESPONSEV0_TOKENINFOS = _descriptor.Descriptor( @@ -17162,8 +17403,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=65955, - serialized_end=66093, + serialized_start=66883, + serialized_end=67021, ) _GETIDENTITYTOKENINFOSRESPONSE_GETIDENTITYTOKENINFOSRESPONSEV0 = _descriptor.Descriptor( @@ -17212,8 +17453,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=65460, - serialized_end=66103, + serialized_start=66388, + serialized_end=67031, ) _GETIDENTITYTOKENINFOSRESPONSE = _descriptor.Descriptor( @@ -17248,8 +17489,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=65322, - serialized_end=66114, + serialized_start=66250, + serialized_end=67042, ) @@ -17294,8 +17535,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=66257, - serialized_end=66346, + serialized_start=67185, + serialized_end=67274, ) _GETIDENTITIESTOKENINFOSREQUEST = _descriptor.Descriptor( @@ -17330,8 +17571,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=66117, - serialized_end=66357, + serialized_start=67045, + serialized_end=67285, ) @@ -17362,8 +17603,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=65733, - serialized_end=65773, + serialized_start=66661, + serialized_end=66701, ) _GETIDENTITIESTOKENINFOSRESPONSE_GETIDENTITIESTOKENINFOSRESPONSEV0_TOKENINFOENTRY = _descriptor.Descriptor( @@ -17405,8 +17646,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=66844, - serialized_end=67027, + serialized_start=67772, + serialized_end=67955, ) _GETIDENTITIESTOKENINFOSRESPONSE_GETIDENTITIESTOKENINFOSRESPONSEV0_IDENTITYTOKENINFOS = _descriptor.Descriptor( @@ -17436,8 +17677,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=67030, - serialized_end=67181, + serialized_start=67958, + serialized_end=68109, ) _GETIDENTITIESTOKENINFOSRESPONSE_GETIDENTITIESTOKENINFOSRESPONSEV0 = _descriptor.Descriptor( @@ -17486,8 +17727,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=66504, - serialized_end=67191, + serialized_start=67432, + serialized_end=68119, ) _GETIDENTITIESTOKENINFOSRESPONSE = _descriptor.Descriptor( @@ -17522,8 +17763,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=66360, - serialized_end=67202, + serialized_start=67288, + serialized_end=68130, ) @@ -17561,8 +17802,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=67324, - serialized_end=67385, + serialized_start=68252, + serialized_end=68313, ) _GETTOKENSTATUSESREQUEST = _descriptor.Descriptor( @@ -17597,8 +17838,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=67205, - serialized_end=67396, + serialized_start=68133, + serialized_end=68324, ) @@ -17641,8 +17882,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=67786, - serialized_end=67854, + serialized_start=68714, + serialized_end=68782, ) _GETTOKENSTATUSESRESPONSE_GETTOKENSTATUSESRESPONSEV0_TOKENSTATUSES = _descriptor.Descriptor( @@ -17672,8 +17913,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=67857, - serialized_end=67993, + serialized_start=68785, + serialized_end=68921, ) _GETTOKENSTATUSESRESPONSE_GETTOKENSTATUSESRESPONSEV0 = _descriptor.Descriptor( @@ -17722,8 +17963,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=67522, - serialized_end=68003, + serialized_start=68450, + serialized_end=68931, ) _GETTOKENSTATUSESRESPONSE = _descriptor.Descriptor( @@ -17758,8 +17999,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=67399, - serialized_end=68014, + serialized_start=68327, + serialized_end=68942, ) @@ -17797,8 +18038,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=68172, - serialized_end=68245, + serialized_start=69100, + serialized_end=69173, ) _GETTOKENDIRECTPURCHASEPRICESREQUEST = _descriptor.Descriptor( @@ -17833,8 +18074,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=68017, - serialized_end=68256, + serialized_start=68945, + serialized_end=69184, ) @@ -17872,8 +18113,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=68746, - serialized_end=68797, + serialized_start=69674, + serialized_end=69725, ) _GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0_PRICINGSCHEDULE = _descriptor.Descriptor( @@ -17903,8 +18144,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=68800, - serialized_end=68967, + serialized_start=69728, + serialized_end=69895, ) _GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0_TOKENDIRECTPURCHASEPRICEENTRY = _descriptor.Descriptor( @@ -17953,8 +18194,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=68970, - serialized_end=69198, + serialized_start=69898, + serialized_end=70126, ) _GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0_TOKENDIRECTPURCHASEPRICES = _descriptor.Descriptor( @@ -17984,8 +18225,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=69201, - serialized_end=69401, + serialized_start=70129, + serialized_end=70329, ) _GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0 = _descriptor.Descriptor( @@ -18034,8 +18275,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=68418, - serialized_end=69411, + serialized_start=69346, + serialized_end=70339, ) _GETTOKENDIRECTPURCHASEPRICESRESPONSE = _descriptor.Descriptor( @@ -18070,8 +18311,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=68259, - serialized_end=69422, + serialized_start=69187, + serialized_end=70350, ) @@ -18109,8 +18350,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=69556, - serialized_end=69620, + serialized_start=70484, + serialized_end=70548, ) _GETTOKENCONTRACTINFOREQUEST = _descriptor.Descriptor( @@ -18145,8 +18386,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=69425, - serialized_end=69631, + serialized_start=70353, + serialized_end=70559, ) @@ -18184,8 +18425,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=70043, - serialized_end=70120, + serialized_start=70971, + serialized_end=71048, ) _GETTOKENCONTRACTINFORESPONSE_GETTOKENCONTRACTINFORESPONSEV0 = _descriptor.Descriptor( @@ -18234,8 +18475,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=69769, - serialized_end=70130, + serialized_start=70697, + serialized_end=71058, ) _GETTOKENCONTRACTINFORESPONSE = _descriptor.Descriptor( @@ -18270,8 +18511,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=69634, - serialized_end=70141, + serialized_start=70562, + serialized_end=71069, ) @@ -18326,8 +18567,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=70574, - serialized_end=70728, + serialized_start=71502, + serialized_end=71656, ) _GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUEST_GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUESTV0 = _descriptor.Descriptor( @@ -18388,8 +18629,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=70318, - serialized_end=70756, + serialized_start=71246, + serialized_end=71684, ) _GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUEST = _descriptor.Descriptor( @@ -18424,8 +18665,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=70144, - serialized_end=70767, + serialized_start=71072, + serialized_end=71695, ) @@ -18463,8 +18704,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=71278, - serialized_end=71340, + serialized_start=72206, + serialized_end=72268, ) _GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSEV0_TOKENTIMEDDISTRIBUTIONENTRY = _descriptor.Descriptor( @@ -18501,8 +18742,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=71343, - serialized_end=71555, + serialized_start=72271, + serialized_end=72483, ) _GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSEV0_TOKENDISTRIBUTIONS = _descriptor.Descriptor( @@ -18532,8 +18773,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=71558, - serialized_end=71753, + serialized_start=72486, + serialized_end=72681, ) _GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSEV0 = _descriptor.Descriptor( @@ -18582,8 +18823,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=70948, - serialized_end=71763, + serialized_start=71876, + serialized_end=72691, ) _GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE = _descriptor.Descriptor( @@ -18618,8 +18859,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=70770, - serialized_end=71774, + serialized_start=71698, + serialized_end=72702, ) @@ -18657,8 +18898,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=71963, - serialized_end=72036, + serialized_start=72891, + serialized_end=72964, ) _GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUEST_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUESTV0 = _descriptor.Descriptor( @@ -18714,8 +18955,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=72039, - serialized_end=72280, + serialized_start=72967, + serialized_end=73208, ) _GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUEST = _descriptor.Descriptor( @@ -18750,8 +18991,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=71777, - serialized_end=72291, + serialized_start=72705, + serialized_end=73219, ) @@ -18808,8 +19049,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=72812, - serialized_end=72932, + serialized_start=73740, + serialized_end=73860, ) _GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSE_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSEV0 = _descriptor.Descriptor( @@ -18858,8 +19099,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=72484, - serialized_end=72942, + serialized_start=73412, + serialized_end=73870, ) _GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSE = _descriptor.Descriptor( @@ -18894,8 +19135,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=72294, - serialized_end=72953, + serialized_start=73222, + serialized_end=73881, ) @@ -18933,8 +19174,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=73084, - serialized_end=73147, + serialized_start=74012, + serialized_end=74075, ) _GETTOKENTOTALSUPPLYREQUEST = _descriptor.Descriptor( @@ -18969,8 +19210,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=72956, - serialized_end=73158, + serialized_start=73884, + serialized_end=74086, ) @@ -19015,8 +19256,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=73579, - serialized_end=73699, + serialized_start=74507, + serialized_end=74627, ) _GETTOKENTOTALSUPPLYRESPONSE_GETTOKENTOTALSUPPLYRESPONSEV0 = _descriptor.Descriptor( @@ -19065,8 +19306,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=73293, - serialized_end=73709, + serialized_start=74221, + serialized_end=74637, ) _GETTOKENTOTALSUPPLYRESPONSE = _descriptor.Descriptor( @@ -19101,8 +19342,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=73161, - serialized_end=73720, + serialized_start=74089, + serialized_end=74648, ) @@ -19147,8 +19388,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=73830, - serialized_end=73922, + serialized_start=74758, + serialized_end=74850, ) _GETGROUPINFOREQUEST = _descriptor.Descriptor( @@ -19183,8 +19424,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=73723, - serialized_end=73933, + serialized_start=74651, + serialized_end=74861, ) @@ -19222,8 +19463,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=74291, - serialized_end=74343, + serialized_start=75219, + serialized_end=75271, ) _GETGROUPINFORESPONSE_GETGROUPINFORESPONSEV0_GROUPINFOENTRY = _descriptor.Descriptor( @@ -19260,8 +19501,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=74346, - serialized_end=74498, + serialized_start=75274, + serialized_end=75426, ) _GETGROUPINFORESPONSE_GETGROUPINFORESPONSEV0_GROUPINFO = _descriptor.Descriptor( @@ -19296,8 +19537,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=74501, - serialized_end=74639, + serialized_start=75429, + serialized_end=75567, ) _GETGROUPINFORESPONSE_GETGROUPINFORESPONSEV0 = _descriptor.Descriptor( @@ -19346,8 +19587,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=74047, - serialized_end=74649, + serialized_start=74975, + serialized_end=75577, ) _GETGROUPINFORESPONSE = _descriptor.Descriptor( @@ -19382,8 +19623,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=73936, - serialized_end=74660, + serialized_start=74864, + serialized_end=75588, ) @@ -19421,8 +19662,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=74773, - serialized_end=74890, + serialized_start=75701, + serialized_end=75818, ) _GETGROUPINFOSREQUEST_GETGROUPINFOSREQUESTV0 = _descriptor.Descriptor( @@ -19483,8 +19724,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=74893, - serialized_end=75145, + serialized_start=75821, + serialized_end=76073, ) _GETGROUPINFOSREQUEST = _descriptor.Descriptor( @@ -19519,8 +19760,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=74663, - serialized_end=75156, + serialized_start=75591, + serialized_end=76084, ) @@ -19558,8 +19799,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=74291, - serialized_end=74343, + serialized_start=75219, + serialized_end=75271, ) _GETGROUPINFOSRESPONSE_GETGROUPINFOSRESPONSEV0_GROUPPOSITIONINFOENTRY = _descriptor.Descriptor( @@ -19603,8 +19844,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=75577, - serialized_end=75772, + serialized_start=76505, + serialized_end=76700, ) _GETGROUPINFOSRESPONSE_GETGROUPINFOSRESPONSEV0_GROUPINFOS = _descriptor.Descriptor( @@ -19634,8 +19875,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=75775, - serialized_end=75905, + serialized_start=76703, + serialized_end=76833, ) _GETGROUPINFOSRESPONSE_GETGROUPINFOSRESPONSEV0 = _descriptor.Descriptor( @@ -19684,8 +19925,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=75273, - serialized_end=75915, + serialized_start=76201, + serialized_end=76843, ) _GETGROUPINFOSRESPONSE = _descriptor.Descriptor( @@ -19720,8 +19961,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=75159, - serialized_end=75926, + serialized_start=76087, + serialized_end=76854, ) @@ -19759,8 +20000,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18327, - serialized_end=18403, + serialized_start=19255, + serialized_end=19331, ) _GETGROUPACTIONSREQUEST_GETGROUPACTIONSREQUESTV0 = _descriptor.Descriptor( @@ -19835,8 +20076,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=76124, - serialized_end=76452, + serialized_start=77052, + serialized_end=77380, ) _GETGROUPACTIONSREQUEST = _descriptor.Descriptor( @@ -19872,8 +20113,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=75929, - serialized_end=76503, + serialized_start=76857, + serialized_end=77431, ) @@ -19923,8 +20164,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=76885, - serialized_end=76976, + serialized_start=77813, + serialized_end=77904, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_BURNEVENT = _descriptor.Descriptor( @@ -19973,8 +20214,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=76978, - serialized_end=77069, + serialized_start=77906, + serialized_end=77997, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_FREEZEEVENT = _descriptor.Descriptor( @@ -20016,8 +20257,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=77071, - serialized_end=77145, + serialized_start=77999, + serialized_end=78073, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UNFREEZEEVENT = _descriptor.Descriptor( @@ -20059,8 +20300,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=77147, - serialized_end=77223, + serialized_start=78075, + serialized_end=78151, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_DESTROYFROZENFUNDSEVENT = _descriptor.Descriptor( @@ -20109,8 +20350,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=77225, - serialized_end=77327, + serialized_start=78153, + serialized_end=78255, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_SHAREDENCRYPTEDNOTE = _descriptor.Descriptor( @@ -20154,8 +20395,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=77329, - serialized_end=77429, + serialized_start=78257, + serialized_end=78357, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_PERSONALENCRYPTEDNOTE = _descriptor.Descriptor( @@ -20199,8 +20440,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=77431, - serialized_end=77554, + serialized_start=78359, + serialized_end=78482, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_EMERGENCYACTIONEVENT = _descriptor.Descriptor( @@ -20243,8 +20484,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=77557, - serialized_end=77790, + serialized_start=78485, + serialized_end=78718, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_TOKENCONFIGUPDATEEVENT = _descriptor.Descriptor( @@ -20286,8 +20527,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=77792, - serialized_end=77892, + serialized_start=78720, + serialized_end=78820, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UPDATEDIRECTPURCHASEPRICEEVENT_PRICEFORQUANTITY = _descriptor.Descriptor( @@ -20324,8 +20565,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=68746, - serialized_end=68797, + serialized_start=69674, + serialized_end=69725, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UPDATEDIRECTPURCHASEPRICEEVENT_PRICINGSCHEDULE = _descriptor.Descriptor( @@ -20355,8 +20596,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=78184, - serialized_end=78356, + serialized_start=79112, + serialized_end=79284, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UPDATEDIRECTPURCHASEPRICEEVENT = _descriptor.Descriptor( @@ -20410,8 +20651,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=77895, - serialized_end=78381, + serialized_start=78823, + serialized_end=79309, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_MINTTOPOOLEVENT = _descriptor.Descriptor( @@ -20460,8 +20701,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=78383, - serialized_end=78482, + serialized_start=79311, + serialized_end=79410, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_BURNFROMPOOLEVENT = _descriptor.Descriptor( @@ -20510,8 +20751,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=78484, - serialized_end=78585, + serialized_start=79412, + serialized_end=79513, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_GROUPACTIONEVENT = _descriptor.Descriptor( @@ -20560,8 +20801,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=78588, - serialized_end=78968, + serialized_start=79516, + serialized_end=79896, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_DOCUMENTEVENT = _descriptor.Descriptor( @@ -20596,8 +20837,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=78971, - serialized_end=79110, + serialized_start=79899, + serialized_end=80038, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_DOCUMENTCREATEEVENT = _descriptor.Descriptor( @@ -20627,8 +20868,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=79112, - serialized_end=79159, + serialized_start=80040, + serialized_end=80087, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_CONTRACTUPDATEEVENT = _descriptor.Descriptor( @@ -20658,8 +20899,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=79161, - serialized_end=79208, + serialized_start=80089, + serialized_end=80136, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_CONTRACTEVENT = _descriptor.Descriptor( @@ -20694,8 +20935,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=79211, - serialized_end=79350, + serialized_start=80139, + serialized_end=80278, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_TOKENEVENT = _descriptor.Descriptor( @@ -20793,8 +21034,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=79353, - serialized_end=80570, + serialized_start=80281, + serialized_end=81498, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_GROUPACTIONENTRY = _descriptor.Descriptor( @@ -20831,8 +21072,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=80573, - serialized_end=80720, + serialized_start=81501, + serialized_end=81648, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_GROUPACTIONS = _descriptor.Descriptor( @@ -20862,8 +21103,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=80723, - serialized_end=80855, + serialized_start=81651, + serialized_end=81783, ) _GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0 = _descriptor.Descriptor( @@ -20912,8 +21153,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=76626, - serialized_end=80865, + serialized_start=77554, + serialized_end=81793, ) _GETGROUPACTIONSRESPONSE = _descriptor.Descriptor( @@ -20948,8 +21189,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=76506, - serialized_end=80876, + serialized_start=77434, + serialized_end=81804, ) @@ -21008,8 +21249,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=81014, - serialized_end=81220, + serialized_start=81942, + serialized_end=82148, ) _GETGROUPACTIONSIGNERSREQUEST = _descriptor.Descriptor( @@ -21045,8 +21286,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=80879, - serialized_end=81271, + serialized_start=81807, + serialized_end=82199, ) @@ -21084,8 +21325,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=81703, - serialized_end=81756, + serialized_start=82631, + serialized_end=82684, ) _GETGROUPACTIONSIGNERSRESPONSE_GETGROUPACTIONSIGNERSRESPONSEV0_GROUPACTIONSIGNERS = _descriptor.Descriptor( @@ -21115,8 +21356,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=81759, - serialized_end=81904, + serialized_start=82687, + serialized_end=82832, ) _GETGROUPACTIONSIGNERSRESPONSE_GETGROUPACTIONSIGNERSRESPONSEV0 = _descriptor.Descriptor( @@ -21165,8 +21406,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=81412, - serialized_end=81914, + serialized_start=82340, + serialized_end=82842, ) _GETGROUPACTIONSIGNERSRESPONSE = _descriptor.Descriptor( @@ -21201,8 +21442,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=81274, - serialized_end=81925, + serialized_start=82202, + serialized_end=82853, ) @@ -21240,8 +21481,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=82041, - serialized_end=82098, + serialized_start=82969, + serialized_end=83026, ) _GETADDRESSINFOREQUEST = _descriptor.Descriptor( @@ -21276,8 +21517,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=81928, - serialized_end=82109, + serialized_start=82856, + serialized_end=83037, ) @@ -21320,8 +21561,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=82112, - serialized_end=82245, + serialized_start=83040, + serialized_end=83173, ) @@ -21359,8 +21600,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=82247, - serialized_end=82296, + serialized_start=83175, + serialized_end=83224, ) @@ -21391,8 +21632,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=82298, - serialized_end=82393, + serialized_start=83226, + serialized_end=83321, ) @@ -21442,8 +21683,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=82395, - serialized_end=82504, + serialized_start=83323, + serialized_end=83432, ) @@ -21481,8 +21722,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=82506, - serialized_end=82626, + serialized_start=83434, + serialized_end=83554, ) @@ -21513,8 +21754,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=82628, - serialized_end=82735, + serialized_start=83556, + serialized_end=83663, ) @@ -21564,8 +21805,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=82855, - serialized_end=83080, + serialized_start=83783, + serialized_end=84008, ) _GETADDRESSINFORESPONSE = _descriptor.Descriptor( @@ -21600,8 +21841,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=82738, - serialized_end=83091, + serialized_start=83666, + serialized_end=84019, ) @@ -21639,8 +21880,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=83216, - serialized_end=83278, + serialized_start=84144, + serialized_end=84206, ) _GETADDRESSESINFOSREQUEST = _descriptor.Descriptor( @@ -21675,8 +21916,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=83094, - serialized_end=83289, + serialized_start=84022, + serialized_end=84217, ) @@ -21726,8 +21967,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=83418, - serialized_end=83650, + serialized_start=84346, + serialized_end=84578, ) _GETADDRESSESINFOSRESPONSE = _descriptor.Descriptor( @@ -21762,8 +22003,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=83292, - serialized_end=83661, + serialized_start=84220, + serialized_end=84589, ) @@ -21787,8 +22028,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=83801, - serialized_end=83834, + serialized_start=84729, + serialized_end=84762, ) _GETADDRESSESTRUNKSTATEREQUEST = _descriptor.Descriptor( @@ -21823,8 +22064,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=83664, - serialized_end=83845, + serialized_start=84592, + serialized_end=84773, ) @@ -21862,8 +22103,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=83989, - serialized_end=84135, + serialized_start=84917, + serialized_end=85063, ) _GETADDRESSESTRUNKSTATERESPONSE = _descriptor.Descriptor( @@ -21898,8 +22139,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=83848, - serialized_end=84146, + serialized_start=84776, + serialized_end=85074, ) @@ -21944,8 +22185,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=84289, - serialized_end=84378, + serialized_start=85217, + serialized_end=85306, ) _GETADDRESSESBRANCHSTATEREQUEST = _descriptor.Descriptor( @@ -21980,8 +22221,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=84149, - serialized_end=84389, + serialized_start=85077, + serialized_end=85317, ) @@ -22012,8 +22253,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=84535, - serialized_end=84590, + serialized_start=85463, + serialized_end=85518, ) _GETADDRESSESBRANCHSTATERESPONSE = _descriptor.Descriptor( @@ -22048,8 +22289,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=84392, - serialized_end=84601, + serialized_start=85320, + serialized_end=85529, ) @@ -22094,8 +22335,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=84765, - serialized_end=84879, + serialized_start=85693, + serialized_end=85807, ) _GETRECENTADDRESSBALANCECHANGESREQUEST = _descriptor.Descriptor( @@ -22130,8 +22371,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=84604, - serialized_end=84890, + serialized_start=85532, + serialized_end=85818, ) @@ -22181,8 +22422,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=85058, - serialized_end=85322, + serialized_start=85986, + serialized_end=86250, ) _GETRECENTADDRESSBALANCECHANGESRESPONSE = _descriptor.Descriptor( @@ -22217,8 +22458,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=84893, - serialized_end=85333, + serialized_start=85821, + serialized_end=86261, ) @@ -22256,8 +22497,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=85335, - serialized_end=85406, + serialized_start=86263, + serialized_end=86334, ) @@ -22307,8 +22548,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=85409, - serialized_end=85585, + serialized_start=86337, + serialized_end=86513, ) @@ -22339,8 +22580,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=85587, - serialized_end=85679, + serialized_start=86515, + serialized_end=86607, ) @@ -22385,8 +22626,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=85682, - serialized_end=85856, + serialized_start=86610, + serialized_end=86784, ) @@ -22417,8 +22658,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=85859, - serialized_end=85994, + serialized_start=86787, + serialized_end=86922, ) @@ -22456,8 +22697,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=86186, - serialized_end=86283, + serialized_start=87114, + serialized_end=87211, ) _GETRECENTCOMPACTEDADDRESSBALANCECHANGESREQUEST = _descriptor.Descriptor( @@ -22492,8 +22733,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=85997, - serialized_end=86294, + serialized_start=86925, + serialized_end=87222, ) @@ -22543,8 +22784,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=86490, - serialized_end=86782, + serialized_start=87418, + serialized_end=87710, ) _GETRECENTCOMPACTEDADDRESSBALANCECHANGESRESPONSE = _descriptor.Descriptor( @@ -22579,8 +22820,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=86297, - serialized_end=86793, + serialized_start=87225, + serialized_end=87721, ) @@ -22637,8 +22878,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=86942, - serialized_end=87065, + serialized_start=87870, + serialized_end=87993, ) _GETSHIELDEDENCRYPTEDNOTESREQUEST = _descriptor.Descriptor( @@ -22673,8 +22914,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=86796, - serialized_end=87076, + serialized_start=87724, + serialized_end=88004, ) @@ -22726,8 +22967,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=87523, - serialized_end=87610, + serialized_start=88451, + serialized_end=88538, ) _GETSHIELDEDENCRYPTEDNOTESRESPONSE_GETSHIELDEDENCRYPTEDNOTESRESPONSEV0_ENCRYPTEDNOTES = _descriptor.Descriptor( @@ -22757,8 +22998,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=87613, - serialized_end=87758, + serialized_start=88541, + serialized_end=88686, ) _GETSHIELDEDENCRYPTEDNOTESRESPONSE_GETSHIELDEDENCRYPTEDNOTESRESPONSEV0 = _descriptor.Descriptor( @@ -22807,8 +23048,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=87229, - serialized_end=87768, + serialized_start=88157, + serialized_end=88696, ) _GETSHIELDEDENCRYPTEDNOTESRESPONSE = _descriptor.Descriptor( @@ -22843,8 +23084,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=87079, - serialized_end=87779, + serialized_start=88007, + serialized_end=88707, ) @@ -22887,8 +23128,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=87907, - serialized_end=87987, + serialized_start=88835, + serialized_end=88915, ) _GETSHIELDEDANCHORSREQUEST = _descriptor.Descriptor( @@ -22923,8 +23164,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=87782, - serialized_end=87998, + serialized_start=88710, + serialized_end=88926, ) @@ -22955,8 +23196,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=88387, - serialized_end=88413, + serialized_start=89315, + serialized_end=89341, ) _GETSHIELDEDANCHORSRESPONSE_GETSHIELDEDANCHORSRESPONSEV0 = _descriptor.Descriptor( @@ -23005,8 +23246,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=88130, - serialized_end=88423, + serialized_start=89058, + serialized_end=89351, ) _GETSHIELDEDANCHORSRESPONSE = _descriptor.Descriptor( @@ -23041,8 +23282,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=88001, - serialized_end=88434, + serialized_start=88929, + serialized_end=89362, ) @@ -23085,8 +23326,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=88589, - serialized_end=88678, + serialized_start=89517, + serialized_end=89606, ) _GETMOSTRECENTSHIELDEDANCHORREQUEST = _descriptor.Descriptor( @@ -23121,8 +23362,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=88437, - serialized_end=88689, + serialized_start=89365, + serialized_end=89617, ) @@ -23172,8 +23413,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=88848, - serialized_end=89029, + serialized_start=89776, + serialized_end=89957, ) _GETMOSTRECENTSHIELDEDANCHORRESPONSE = _descriptor.Descriptor( @@ -23208,8 +23449,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=88692, - serialized_end=89040, + serialized_start=89620, + serialized_end=89968, ) @@ -23252,8 +23493,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89174, - serialized_end=89256, + serialized_start=90102, + serialized_end=90184, ) _GETSHIELDEDPOOLSTATEREQUEST = _descriptor.Descriptor( @@ -23288,8 +23529,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89043, - serialized_end=89267, + serialized_start=89971, + serialized_end=90195, ) @@ -23339,8 +23580,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89405, - serialized_end=89590, + serialized_start=90333, + serialized_end=90518, ) _GETSHIELDEDPOOLSTATERESPONSE = _descriptor.Descriptor( @@ -23375,8 +23616,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89270, - serialized_end=89601, + serialized_start=90198, + serialized_end=90529, ) @@ -23419,8 +23660,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89738, - serialized_end=89821, + serialized_start=90666, + serialized_end=90749, ) _GETSHIELDEDNOTESCOUNTREQUEST = _descriptor.Descriptor( @@ -23455,8 +23696,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89604, - serialized_end=89832, + serialized_start=90532, + serialized_end=90760, ) @@ -23506,8 +23747,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89973, - serialized_end=90163, + serialized_start=90901, + serialized_end=91091, ) _GETSHIELDEDNOTESCOUNTRESPONSE = _descriptor.Descriptor( @@ -23542,8 +23783,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=89835, - serialized_end=90174, + serialized_start=90763, + serialized_end=91102, ) @@ -23593,8 +23834,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=90311, - serialized_end=90414, + serialized_start=91239, + serialized_end=91342, ) _GETSHIELDEDNULLIFIERSREQUEST = _descriptor.Descriptor( @@ -23629,8 +23870,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=90177, - serialized_end=90425, + serialized_start=91105, + serialized_end=91353, ) @@ -23668,8 +23909,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=90854, - serialized_end=90908, + serialized_start=91782, + serialized_end=91836, ) _GETSHIELDEDNULLIFIERSRESPONSE_GETSHIELDEDNULLIFIERSRESPONSEV0_NULLIFIERSTATUSES = _descriptor.Descriptor( @@ -23699,8 +23940,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=90911, - serialized_end=91053, + serialized_start=91839, + serialized_end=91981, ) _GETSHIELDEDNULLIFIERSRESPONSE_GETSHIELDEDNULLIFIERSRESPONSEV0 = _descriptor.Descriptor( @@ -23749,8 +23990,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=90566, - serialized_end=91063, + serialized_start=91494, + serialized_end=91991, ) _GETSHIELDEDNULLIFIERSRESPONSE = _descriptor.Descriptor( @@ -23785,8 +24026,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=90428, - serialized_end=91074, + serialized_start=91356, + serialized_end=92002, ) @@ -23838,8 +24079,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=91224, - serialized_end=91370, + serialized_start=92152, + serialized_end=92298, ) _GETPRIVATEDOCUMENTENTRIESREQUEST = _descriptor.Descriptor( @@ -23874,8 +24115,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=91077, - serialized_end=91381, + serialized_start=92005, + serialized_end=92309, ) @@ -23927,8 +24168,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=91828, - serialized_end=91939, + serialized_start=92756, + serialized_end=92867, ) _GETPRIVATEDOCUMENTENTRIESRESPONSE_GETPRIVATEDOCUMENTENTRIESRESPONSEV0_PRIVATEDOCUMENTENTRIES = _descriptor.Descriptor( @@ -23965,8 +24206,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=91942, - serialized_end=92128, + serialized_start=92870, + serialized_end=93056, ) _GETPRIVATEDOCUMENTENTRIESRESPONSE_GETPRIVATEDOCUMENTENTRIESRESPONSEV0 = _descriptor.Descriptor( @@ -24015,8 +24256,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=91534, - serialized_end=92138, + serialized_start=92462, + serialized_end=93066, ) _GETPRIVATEDOCUMENTENTRIESRESPONSE = _descriptor.Descriptor( @@ -24051,8 +24292,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=91384, - serialized_end=92149, + serialized_start=92312, + serialized_end=93077, ) @@ -24104,8 +24345,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=92399, - serialized_end=92487, + serialized_start=93327, + serialized_end=93415, ) _TENDERDASHBLOCKPROOF_HEADER = _descriptor.Descriptor( @@ -24261,8 +24502,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=92490, - serialized_end=93028, + serialized_start=93418, + serialized_end=93956, ) _TENDERDASHBLOCKPROOF = _descriptor.Descriptor( @@ -24327,8 +24568,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=92152, - serialized_end=93028, + serialized_start=93080, + serialized_end=93956, ) @@ -24380,8 +24621,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=93030, - serialized_end=93135, + serialized_start=93958, + serialized_end=94063, ) @@ -24426,8 +24667,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=93290, - serialized_end=93381, + serialized_start=94218, + serialized_end=94309, ) _GETOWNERTRANSACTIONSINBLOCKREQUEST = _descriptor.Descriptor( @@ -24462,8 +24703,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=93138, - serialized_end=93392, + serialized_start=94066, + serialized_end=94320, ) @@ -24529,8 +24770,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=93799, - serialized_end=93984, + serialized_start=94727, + serialized_end=94912, ) _GETOWNERTRANSACTIONSINBLOCKRESPONSE_GETOWNERTRANSACTIONSINBLOCKRESPONSEV0 = _descriptor.Descriptor( @@ -24567,8 +24808,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=93551, - serialized_end=93984, + serialized_start=94479, + serialized_end=94912, ) _GETOWNERTRANSACTIONSINBLOCKRESPONSE = _descriptor.Descriptor( @@ -24603,8 +24844,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=93395, - serialized_end=93995, + serialized_start=94323, + serialized_end=94923, ) @@ -24649,8 +24890,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=94096, - serialized_end=94172, + serialized_start=95024, + serialized_end=95100, ) _GETBLOCKSREQUEST = _descriptor.Descriptor( @@ -24685,8 +24926,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=93998, - serialized_end=94183, + serialized_start=94926, + serialized_end=95111, ) @@ -24745,8 +24986,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=94399, - serialized_end=94509, + serialized_start=95327, + serialized_end=95437, ) _GETBLOCKSRESPONSE_GETBLOCKSRESPONSEV0_BLOCK = _descriptor.Descriptor( @@ -24825,8 +25066,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=94512, - serialized_end=94820, + serialized_start=95440, + serialized_end=95748, ) _GETBLOCKSRESPONSE_GETBLOCKSRESPONSEV0 = _descriptor.Descriptor( @@ -24856,8 +25097,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=94288, - serialized_end=94820, + serialized_start=95216, + serialized_end=95748, ) _GETBLOCKSRESPONSE = _descriptor.Descriptor( @@ -24892,8 +25133,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=94186, - serialized_end=94831, + serialized_start=95114, + serialized_end=95759, ) _GETIDENTITYREQUEST_GETIDENTITYREQUESTV0.containing_type = _GETIDENTITYREQUEST @@ -25174,6 +25415,31 @@ _GETDATACONTRACTSLATESTVERSIONSREQUEST.oneofs_by_name['version'].fields.append( _GETDATACONTRACTSLATESTVERSIONSREQUEST.fields_by_name['v0']) _GETDATACONTRACTSLATESTVERSIONSREQUEST.fields_by_name['v0'].containing_oneof = _GETDATACONTRACTSLATESTVERSIONSREQUEST.oneofs_by_name['version'] +_GETASSETLOCKOUTPOINTINFOREQUEST_GETASSETLOCKOUTPOINTINFOREQUESTV0.containing_type = _GETASSETLOCKOUTPOINTINFOREQUEST +_GETASSETLOCKOUTPOINTINFOREQUEST.fields_by_name['v0'].message_type = _GETASSETLOCKOUTPOINTINFOREQUEST_GETASSETLOCKOUTPOINTINFOREQUESTV0 +_GETASSETLOCKOUTPOINTINFOREQUEST.oneofs_by_name['version'].fields.append( + _GETASSETLOCKOUTPOINTINFOREQUEST.fields_by_name['v0']) +_GETASSETLOCKOUTPOINTINFOREQUEST.fields_by_name['v0'].containing_oneof = _GETASSETLOCKOUTPOINTINFOREQUEST.oneofs_by_name['version'] +_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.fields_by_name['status'].enum_type = _GETASSETLOCKOUTPOINTINFORESPONSE_STATUS +_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.containing_type = _GETASSETLOCKOUTPOINTINFORESPONSE +_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.oneofs_by_name['_remaining_credits'].fields.append( + _GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.fields_by_name['remaining_credits']) +_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.fields_by_name['remaining_credits'].containing_oneof = _GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.oneofs_by_name['_remaining_credits'] +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['asset_lock_outpoint_info'].message_type = _GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['proof'].message_type = _PROOF +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['metadata'].message_type = _RESPONSEMETADATA +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.containing_type = _GETASSETLOCKOUTPOINTINFORESPONSE +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.oneofs_by_name['result'].fields.append( + _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['asset_lock_outpoint_info']) +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['asset_lock_outpoint_info'].containing_oneof = _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.oneofs_by_name['result'] +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.oneofs_by_name['result'].fields.append( + _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['proof']) +_GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.fields_by_name['proof'].containing_oneof = _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0.oneofs_by_name['result'] +_GETASSETLOCKOUTPOINTINFORESPONSE.fields_by_name['v0'].message_type = _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0 +_GETASSETLOCKOUTPOINTINFORESPONSE_STATUS.containing_type = _GETASSETLOCKOUTPOINTINFORESPONSE +_GETASSETLOCKOUTPOINTINFORESPONSE.oneofs_by_name['version'].fields.append( + _GETASSETLOCKOUTPOINTINFORESPONSE.fields_by_name['v0']) +_GETASSETLOCKOUTPOINTINFORESPONSE.fields_by_name['v0'].containing_oneof = _GETASSETLOCKOUTPOINTINFORESPONSE.oneofs_by_name['version'] _GETDATACONTRACTSLATESTVERSIONSRESPONSE_DATACONTRACTLATESTVERSIONENTRY.containing_type = _GETDATACONTRACTSLATESTVERSIONSRESPONSE _GETDATACONTRACTSLATESTVERSIONSRESPONSE_DATACONTRACTLATESTVERSIONENTRY.oneofs_by_name['_version'].fields.append( _GETDATACONTRACTSLATESTVERSIONSRESPONSE_DATACONTRACTLATESTVERSIONENTRY.fields_by_name['version']) @@ -27381,6 +27647,8 @@ DESCRIPTOR.message_types_by_name['GetDataContractRequest'] = _GETDATACONTRACTREQUEST DESCRIPTOR.message_types_by_name['GetDataContractResponse'] = _GETDATACONTRACTRESPONSE DESCRIPTOR.message_types_by_name['GetDataContractsLatestVersionsRequest'] = _GETDATACONTRACTSLATESTVERSIONSREQUEST +DESCRIPTOR.message_types_by_name['GetAssetLockOutpointInfoRequest'] = _GETASSETLOCKOUTPOINTINFOREQUEST +DESCRIPTOR.message_types_by_name['GetAssetLockOutpointInfoResponse'] = _GETASSETLOCKOUTPOINTINFORESPONSE DESCRIPTOR.message_types_by_name['GetDataContractsLatestVersionsResponse'] = _GETDATACONTRACTSLATESTVERSIONSRESPONSE DESCRIPTOR.message_types_by_name['ContractGroupDocumentTypeMember'] = _CONTRACTGROUPDOCUMENTTYPEMEMBER DESCRIPTOR.message_types_by_name['ContractGroupTokenMember'] = _CONTRACTGROUPTOKENMEMBER @@ -28067,6 +28335,44 @@ _sym_db.RegisterMessage(GetDataContractsLatestVersionsRequest) _sym_db.RegisterMessage(GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0) +GetAssetLockOutpointInfoRequest = _reflection.GeneratedProtocolMessageType('GetAssetLockOutpointInfoRequest', (_message.Message,), { + + 'GetAssetLockOutpointInfoRequestV0' : _reflection.GeneratedProtocolMessageType('GetAssetLockOutpointInfoRequestV0', (_message.Message,), { + 'DESCRIPTOR' : _GETASSETLOCKOUTPOINTINFOREQUEST_GETASSETLOCKOUTPOINTINFOREQUESTV0, + '__module__' : 'platform_pb2' + # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0) + }) + , + 'DESCRIPTOR' : _GETASSETLOCKOUTPOINTINFOREQUEST, + '__module__' : 'platform_pb2' + # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest) + }) +_sym_db.RegisterMessage(GetAssetLockOutpointInfoRequest) +_sym_db.RegisterMessage(GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0) + +GetAssetLockOutpointInfoResponse = _reflection.GeneratedProtocolMessageType('GetAssetLockOutpointInfoResponse', (_message.Message,), { + + 'AssetLockOutpointInfo' : _reflection.GeneratedProtocolMessageType('AssetLockOutpointInfo', (_message.Message,), { + 'DESCRIPTOR' : _GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO, + '__module__' : 'platform_pb2' + # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo) + }) + , + + 'GetAssetLockOutpointInfoResponseV0' : _reflection.GeneratedProtocolMessageType('GetAssetLockOutpointInfoResponseV0', (_message.Message,), { + 'DESCRIPTOR' : _GETASSETLOCKOUTPOINTINFORESPONSE_GETASSETLOCKOUTPOINTINFORESPONSEV0, + '__module__' : 'platform_pb2' + # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0) + }) + , + 'DESCRIPTOR' : _GETASSETLOCKOUTPOINTINFORESPONSE, + '__module__' : 'platform_pb2' + # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse) + }) +_sym_db.RegisterMessage(GetAssetLockOutpointInfoResponse) +_sym_db.RegisterMessage(GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo) +_sym_db.RegisterMessage(GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0) + GetDataContractsLatestVersionsResponse = _reflection.GeneratedProtocolMessageType('GetDataContractsLatestVersionsResponse', (_message.Message,), { 'DataContractLatestVersionEntry' : _reflection.GeneratedProtocolMessageType('DataContractLatestVersionEntry', (_message.Message,), { @@ -31764,6 +32070,7 @@ _SECURITYLEVELMAP_SECURITYLEVELMAPENTRY._options = None _GETEVONODESPROPOSEDEPOCHBLOCKSRESPONSE_GETEVONODESPROPOSEDEPOCHBLOCKSRESPONSEV0_EVONODEPROPOSEDBLOCKS.fields_by_name['count']._options = None _GETIDENTITIESBALANCESRESPONSE_GETIDENTITIESBALANCESRESPONSEV0_IDENTITYBALANCE.fields_by_name['balance']._options = None +_GETASSETLOCKOUTPOINTINFORESPONSE_ASSETLOCKOUTPOINTINFO.fields_by_name['remaining_credits']._options = None _GETCONTRACTFEEPOTSRESPONSE_CONTRACTFEEPOTLASTCLAIM.fields_by_name['time_ms']._options = None _GETCONTRACTFEEPOTSRESPONSE_CONTRACTFEEPOT.fields_by_name['credits']._options = None _GETDATACONTRACTHISTORYREQUEST_GETDATACONTRACTHISTORYREQUESTV0.fields_by_name['start_at_ms']._options = None @@ -31869,8 +32176,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=95114, - serialized_end=106786, + serialized_start=96042, + serialized_end=107864, methods=[ _descriptor.MethodDescriptor( name='broadcastStateTransition', @@ -32022,10 +32329,20 @@ serialized_options=None, create_key=_descriptor._internal_create_key, ), + _descriptor.MethodDescriptor( + name='getAssetLockOutpointInfo', + full_name='org.dash.platform.dapi.v0.Platform.getAssetLockOutpointInfo', + index=15, + containing_service=None, + input_type=_GETASSETLOCKOUTPOINTINFOREQUEST, + output_type=_GETASSETLOCKOUTPOINTINFORESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), _descriptor.MethodDescriptor( name='getDataContracts', full_name='org.dash.platform.dapi.v0.Platform.getDataContracts', - index=15, + index=16, containing_service=None, input_type=_GETDATACONTRACTSREQUEST, output_type=_GETDATACONTRACTSRESPONSE, @@ -32035,7 +32352,7 @@ _descriptor.MethodDescriptor( name='getDataContractsByRange', full_name='org.dash.platform.dapi.v0.Platform.getDataContractsByRange', - index=16, + index=17, containing_service=None, input_type=_GETDATACONTRACTSBYRANGEREQUEST, output_type=_GETDATACONTRACTSRESPONSE, @@ -32045,7 +32362,7 @@ _descriptor.MethodDescriptor( name='getContractGroupInfo', full_name='org.dash.platform.dapi.v0.Platform.getContractGroupInfo', - index=17, + index=18, containing_service=None, input_type=_GETCONTRACTGROUPINFOREQUEST, output_type=_GETCONTRACTGROUPINFORESPONSE, @@ -32055,7 +32372,7 @@ _descriptor.MethodDescriptor( name='getContractGroupMembers', full_name='org.dash.platform.dapi.v0.Platform.getContractGroupMembers', - index=18, + index=19, containing_service=None, input_type=_GETCONTRACTGROUPMEMBERSREQUEST, output_type=_GETCONTRACTGROUPMEMBERSRESPONSE, @@ -32065,7 +32382,7 @@ _descriptor.MethodDescriptor( name='getContractGroupsForContract', full_name='org.dash.platform.dapi.v0.Platform.getContractGroupsForContract', - index=19, + index=20, containing_service=None, input_type=_GETCONTRACTGROUPSFORCONTRACTREQUEST, output_type=_GETCONTRACTGROUPSFORCONTRACTRESPONSE, @@ -32075,7 +32392,7 @@ _descriptor.MethodDescriptor( name='getContractModerationStatus', full_name='org.dash.platform.dapi.v0.Platform.getContractModerationStatus', - index=20, + index=21, containing_service=None, input_type=_GETCONTRACTMODERATIONSTATUSREQUEST, output_type=_GETCONTRACTMODERATIONSTATUSRESPONSE, @@ -32085,7 +32402,7 @@ _descriptor.MethodDescriptor( name='getContractModerationEntries', full_name='org.dash.platform.dapi.v0.Platform.getContractModerationEntries', - index=21, + index=22, containing_service=None, input_type=_GETCONTRACTMODERATIONENTRIESREQUEST, output_type=_GETCONTRACTMODERATIONENTRIESRESPONSE, @@ -32095,7 +32412,7 @@ _descriptor.MethodDescriptor( name='getContractDocumentRemovals', full_name='org.dash.platform.dapi.v0.Platform.getContractDocumentRemovals', - index=22, + index=23, containing_service=None, input_type=_GETCONTRACTDOCUMENTREMOVALSREQUEST, output_type=_GETCONTRACTDOCUMENTREMOVALSRESPONSE, @@ -32105,7 +32422,7 @@ _descriptor.MethodDescriptor( name='getContractTeamActions', full_name='org.dash.platform.dapi.v0.Platform.getContractTeamActions', - index=23, + index=24, containing_service=None, input_type=_GETCONTRACTTEAMACTIONSREQUEST, output_type=_GETCONTRACTTEAMACTIONSRESPONSE, @@ -32115,7 +32432,7 @@ _descriptor.MethodDescriptor( name='getContractTeamActionSigners', full_name='org.dash.platform.dapi.v0.Platform.getContractTeamActionSigners', - index=24, + index=25, containing_service=None, input_type=_GETCONTRACTTEAMACTIONSIGNERSREQUEST, output_type=_GETCONTRACTTEAMACTIONSIGNERSRESPONSE, @@ -32125,7 +32442,7 @@ _descriptor.MethodDescriptor( name='getContractModerationActionCounts', full_name='org.dash.platform.dapi.v0.Platform.getContractModerationActionCounts', - index=25, + index=26, containing_service=None, input_type=_GETCONTRACTMODERATIONACTIONCOUNTSREQUEST, output_type=_GETCONTRACTMODERATIONACTIONCOUNTSRESPONSE, @@ -32135,7 +32452,7 @@ _descriptor.MethodDescriptor( name='getContractFeePots', full_name='org.dash.platform.dapi.v0.Platform.getContractFeePots', - index=26, + index=27, containing_service=None, input_type=_GETCONTRACTFEEPOTSREQUEST, output_type=_GETCONTRACTFEEPOTSRESPONSE, @@ -32145,7 +32462,7 @@ _descriptor.MethodDescriptor( name='getDocumentHistory', full_name='org.dash.platform.dapi.v0.Platform.getDocumentHistory', - index=27, + index=28, containing_service=None, input_type=_GETDOCUMENTHISTORYREQUEST, output_type=_GETDOCUMENTHISTORYRESPONSE, @@ -32155,7 +32472,7 @@ _descriptor.MethodDescriptor( name='getDocuments', full_name='org.dash.platform.dapi.v0.Platform.getDocuments', - index=28, + index=29, containing_service=None, input_type=_GETDOCUMENTSREQUEST, output_type=_GETDOCUMENTSRESPONSE, @@ -32165,7 +32482,7 @@ _descriptor.MethodDescriptor( name='getIdentityByPublicKeyHash', full_name='org.dash.platform.dapi.v0.Platform.getIdentityByPublicKeyHash', - index=29, + index=30, containing_service=None, input_type=_GETIDENTITYBYPUBLICKEYHASHREQUEST, output_type=_GETIDENTITYBYPUBLICKEYHASHRESPONSE, @@ -32175,7 +32492,7 @@ _descriptor.MethodDescriptor( name='getIdentityByNonUniquePublicKeyHash', full_name='org.dash.platform.dapi.v0.Platform.getIdentityByNonUniquePublicKeyHash', - index=30, + index=31, containing_service=None, input_type=_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUEST, output_type=_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE, @@ -32185,7 +32502,7 @@ _descriptor.MethodDescriptor( name='waitForStateTransitionResult', full_name='org.dash.platform.dapi.v0.Platform.waitForStateTransitionResult', - index=31, + index=32, containing_service=None, input_type=_WAITFORSTATETRANSITIONRESULTREQUEST, output_type=_WAITFORSTATETRANSITIONRESULTRESPONSE, @@ -32195,7 +32512,7 @@ _descriptor.MethodDescriptor( name='getRecentStateTransitionStatus', full_name='org.dash.platform.dapi.v0.Platform.getRecentStateTransitionStatus', - index=32, + index=33, containing_service=None, input_type=_GETRECENTSTATETRANSITIONSTATUSREQUEST, output_type=_GETRECENTSTATETRANSITIONSTATUSRESPONSE, @@ -32205,7 +32522,7 @@ _descriptor.MethodDescriptor( name='getConsensusParams', full_name='org.dash.platform.dapi.v0.Platform.getConsensusParams', - index=33, + index=34, containing_service=None, input_type=_GETCONSENSUSPARAMSREQUEST, output_type=_GETCONSENSUSPARAMSRESPONSE, @@ -32215,7 +32532,7 @@ _descriptor.MethodDescriptor( name='getProtocolVersionUpgradeState', full_name='org.dash.platform.dapi.v0.Platform.getProtocolVersionUpgradeState', - index=34, + index=35, containing_service=None, input_type=_GETPROTOCOLVERSIONUPGRADESTATEREQUEST, output_type=_GETPROTOCOLVERSIONUPGRADESTATERESPONSE, @@ -32225,7 +32542,7 @@ _descriptor.MethodDescriptor( name='getProtocolVersionUpgradeVoteStatus', full_name='org.dash.platform.dapi.v0.Platform.getProtocolVersionUpgradeVoteStatus', - index=35, + index=36, containing_service=None, input_type=_GETPROTOCOLVERSIONUPGRADEVOTESTATUSREQUEST, output_type=_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE, @@ -32235,7 +32552,7 @@ _descriptor.MethodDescriptor( name='getEpochsInfo', full_name='org.dash.platform.dapi.v0.Platform.getEpochsInfo', - index=36, + index=37, containing_service=None, input_type=_GETEPOCHSINFOREQUEST, output_type=_GETEPOCHSINFORESPONSE, @@ -32245,7 +32562,7 @@ _descriptor.MethodDescriptor( name='getFinalizedEpochInfos', full_name='org.dash.platform.dapi.v0.Platform.getFinalizedEpochInfos', - index=37, + index=38, containing_service=None, input_type=_GETFINALIZEDEPOCHINFOSREQUEST, output_type=_GETFINALIZEDEPOCHINFOSRESPONSE, @@ -32255,7 +32572,7 @@ _descriptor.MethodDescriptor( name='getContestedResources', full_name='org.dash.platform.dapi.v0.Platform.getContestedResources', - index=38, + index=39, containing_service=None, input_type=_GETCONTESTEDRESOURCESREQUEST, output_type=_GETCONTESTEDRESOURCESRESPONSE, @@ -32265,7 +32582,7 @@ _descriptor.MethodDescriptor( name='getContestedResourceVoteState', full_name='org.dash.platform.dapi.v0.Platform.getContestedResourceVoteState', - index=39, + index=40, containing_service=None, input_type=_GETCONTESTEDRESOURCEVOTESTATEREQUEST, output_type=_GETCONTESTEDRESOURCEVOTESTATERESPONSE, @@ -32275,7 +32592,7 @@ _descriptor.MethodDescriptor( name='getContestedResourceVotersForIdentity', full_name='org.dash.platform.dapi.v0.Platform.getContestedResourceVotersForIdentity', - index=40, + index=41, containing_service=None, input_type=_GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUEST, output_type=_GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSE, @@ -32285,7 +32602,7 @@ _descriptor.MethodDescriptor( name='getContestedResourceIdentityVotes', full_name='org.dash.platform.dapi.v0.Platform.getContestedResourceIdentityVotes', - index=41, + index=42, containing_service=None, input_type=_GETCONTESTEDRESOURCEIDENTITYVOTESREQUEST, output_type=_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE, @@ -32295,7 +32612,7 @@ _descriptor.MethodDescriptor( name='getVotePollsByEndDate', full_name='org.dash.platform.dapi.v0.Platform.getVotePollsByEndDate', - index=42, + index=43, containing_service=None, input_type=_GETVOTEPOLLSBYENDDATEREQUEST, output_type=_GETVOTEPOLLSBYENDDATERESPONSE, @@ -32305,7 +32622,7 @@ _descriptor.MethodDescriptor( name='getYesNoVotePollState', full_name='org.dash.platform.dapi.v0.Platform.getYesNoVotePollState', - index=43, + index=44, containing_service=None, input_type=_GETYESNOVOTEPOLLSTATEREQUEST, output_type=_GETYESNOVOTEPOLLSTATERESPONSE, @@ -32315,7 +32632,7 @@ _descriptor.MethodDescriptor( name='getMasternodeYesNoVote', full_name='org.dash.platform.dapi.v0.Platform.getMasternodeYesNoVote', - index=44, + index=45, containing_service=None, input_type=_GETMASTERNODEYESNOVOTEREQUEST, output_type=_GETMASTERNODEYESNOVOTERESPONSE, @@ -32325,7 +32642,7 @@ _descriptor.MethodDescriptor( name='getPrefundedSpecializedBalance', full_name='org.dash.platform.dapi.v0.Platform.getPrefundedSpecializedBalance', - index=45, + index=46, containing_service=None, input_type=_GETPREFUNDEDSPECIALIZEDBALANCEREQUEST, output_type=_GETPREFUNDEDSPECIALIZEDBALANCERESPONSE, @@ -32335,7 +32652,7 @@ _descriptor.MethodDescriptor( name='getTotalCreditsInPlatform', full_name='org.dash.platform.dapi.v0.Platform.getTotalCreditsInPlatform', - index=46, + index=47, containing_service=None, input_type=_GETTOTALCREDITSINPLATFORMREQUEST, output_type=_GETTOTALCREDITSINPLATFORMRESPONSE, @@ -32345,7 +32662,7 @@ _descriptor.MethodDescriptor( name='getPathElements', full_name='org.dash.platform.dapi.v0.Platform.getPathElements', - index=47, + index=48, containing_service=None, input_type=_GETPATHELEMENTSREQUEST, output_type=_GETPATHELEMENTSRESPONSE, @@ -32355,7 +32672,7 @@ _descriptor.MethodDescriptor( name='getStatus', full_name='org.dash.platform.dapi.v0.Platform.getStatus', - index=48, + index=49, containing_service=None, input_type=_GETSTATUSREQUEST, output_type=_GETSTATUSRESPONSE, @@ -32365,7 +32682,7 @@ _descriptor.MethodDescriptor( name='getCurrentQuorumsInfo', full_name='org.dash.platform.dapi.v0.Platform.getCurrentQuorumsInfo', - index=49, + index=50, containing_service=None, input_type=_GETCURRENTQUORUMSINFOREQUEST, output_type=_GETCURRENTQUORUMSINFORESPONSE, @@ -32375,7 +32692,7 @@ _descriptor.MethodDescriptor( name='getIdentityTokenBalances', full_name='org.dash.platform.dapi.v0.Platform.getIdentityTokenBalances', - index=50, + index=51, containing_service=None, input_type=_GETIDENTITYTOKENBALANCESREQUEST, output_type=_GETIDENTITYTOKENBALANCESRESPONSE, @@ -32385,7 +32702,7 @@ _descriptor.MethodDescriptor( name='getIdentitiesTokenBalances', full_name='org.dash.platform.dapi.v0.Platform.getIdentitiesTokenBalances', - index=51, + index=52, containing_service=None, input_type=_GETIDENTITIESTOKENBALANCESREQUEST, output_type=_GETIDENTITIESTOKENBALANCESRESPONSE, @@ -32395,7 +32712,7 @@ _descriptor.MethodDescriptor( name='getIdentityTokenInfos', full_name='org.dash.platform.dapi.v0.Platform.getIdentityTokenInfos', - index=52, + index=53, containing_service=None, input_type=_GETIDENTITYTOKENINFOSREQUEST, output_type=_GETIDENTITYTOKENINFOSRESPONSE, @@ -32405,7 +32722,7 @@ _descriptor.MethodDescriptor( name='getIdentitiesTokenInfos', full_name='org.dash.platform.dapi.v0.Platform.getIdentitiesTokenInfos', - index=53, + index=54, containing_service=None, input_type=_GETIDENTITIESTOKENINFOSREQUEST, output_type=_GETIDENTITIESTOKENINFOSRESPONSE, @@ -32415,7 +32732,7 @@ _descriptor.MethodDescriptor( name='getTokenStatuses', full_name='org.dash.platform.dapi.v0.Platform.getTokenStatuses', - index=54, + index=55, containing_service=None, input_type=_GETTOKENSTATUSESREQUEST, output_type=_GETTOKENSTATUSESRESPONSE, @@ -32425,7 +32742,7 @@ _descriptor.MethodDescriptor( name='getTokenDirectPurchasePrices', full_name='org.dash.platform.dapi.v0.Platform.getTokenDirectPurchasePrices', - index=55, + index=56, containing_service=None, input_type=_GETTOKENDIRECTPURCHASEPRICESREQUEST, output_type=_GETTOKENDIRECTPURCHASEPRICESRESPONSE, @@ -32435,7 +32752,7 @@ _descriptor.MethodDescriptor( name='getTokenContractInfo', full_name='org.dash.platform.dapi.v0.Platform.getTokenContractInfo', - index=56, + index=57, containing_service=None, input_type=_GETTOKENCONTRACTINFOREQUEST, output_type=_GETTOKENCONTRACTINFORESPONSE, @@ -32445,7 +32762,7 @@ _descriptor.MethodDescriptor( name='getTokenPreProgrammedDistributions', full_name='org.dash.platform.dapi.v0.Platform.getTokenPreProgrammedDistributions', - index=57, + index=58, containing_service=None, input_type=_GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUEST, output_type=_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE, @@ -32455,7 +32772,7 @@ _descriptor.MethodDescriptor( name='getTokenPerpetualDistributionLastClaim', full_name='org.dash.platform.dapi.v0.Platform.getTokenPerpetualDistributionLastClaim', - index=58, + index=59, containing_service=None, input_type=_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUEST, output_type=_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSE, @@ -32465,7 +32782,7 @@ _descriptor.MethodDescriptor( name='getTokenTotalSupply', full_name='org.dash.platform.dapi.v0.Platform.getTokenTotalSupply', - index=59, + index=60, containing_service=None, input_type=_GETTOKENTOTALSUPPLYREQUEST, output_type=_GETTOKENTOTALSUPPLYRESPONSE, @@ -32475,7 +32792,7 @@ _descriptor.MethodDescriptor( name='getGroupInfo', full_name='org.dash.platform.dapi.v0.Platform.getGroupInfo', - index=60, + index=61, containing_service=None, input_type=_GETGROUPINFOREQUEST, output_type=_GETGROUPINFORESPONSE, @@ -32485,7 +32802,7 @@ _descriptor.MethodDescriptor( name='getGroupInfos', full_name='org.dash.platform.dapi.v0.Platform.getGroupInfos', - index=61, + index=62, containing_service=None, input_type=_GETGROUPINFOSREQUEST, output_type=_GETGROUPINFOSRESPONSE, @@ -32495,7 +32812,7 @@ _descriptor.MethodDescriptor( name='getGroupActions', full_name='org.dash.platform.dapi.v0.Platform.getGroupActions', - index=62, + index=63, containing_service=None, input_type=_GETGROUPACTIONSREQUEST, output_type=_GETGROUPACTIONSRESPONSE, @@ -32505,7 +32822,7 @@ _descriptor.MethodDescriptor( name='getGroupActionSigners', full_name='org.dash.platform.dapi.v0.Platform.getGroupActionSigners', - index=63, + index=64, containing_service=None, input_type=_GETGROUPACTIONSIGNERSREQUEST, output_type=_GETGROUPACTIONSIGNERSRESPONSE, @@ -32515,7 +32832,7 @@ _descriptor.MethodDescriptor( name='getAddressInfo', full_name='org.dash.platform.dapi.v0.Platform.getAddressInfo', - index=64, + index=65, containing_service=None, input_type=_GETADDRESSINFOREQUEST, output_type=_GETADDRESSINFORESPONSE, @@ -32525,7 +32842,7 @@ _descriptor.MethodDescriptor( name='getAddressesInfos', full_name='org.dash.platform.dapi.v0.Platform.getAddressesInfos', - index=65, + index=66, containing_service=None, input_type=_GETADDRESSESINFOSREQUEST, output_type=_GETADDRESSESINFOSRESPONSE, @@ -32535,7 +32852,7 @@ _descriptor.MethodDescriptor( name='getAddressesTrunkState', full_name='org.dash.platform.dapi.v0.Platform.getAddressesTrunkState', - index=66, + index=67, containing_service=None, input_type=_GETADDRESSESTRUNKSTATEREQUEST, output_type=_GETADDRESSESTRUNKSTATERESPONSE, @@ -32545,7 +32862,7 @@ _descriptor.MethodDescriptor( name='getAddressesBranchState', full_name='org.dash.platform.dapi.v0.Platform.getAddressesBranchState', - index=67, + index=68, containing_service=None, input_type=_GETADDRESSESBRANCHSTATEREQUEST, output_type=_GETADDRESSESBRANCHSTATERESPONSE, @@ -32555,7 +32872,7 @@ _descriptor.MethodDescriptor( name='getRecentAddressBalanceChanges', full_name='org.dash.platform.dapi.v0.Platform.getRecentAddressBalanceChanges', - index=68, + index=69, containing_service=None, input_type=_GETRECENTADDRESSBALANCECHANGESREQUEST, output_type=_GETRECENTADDRESSBALANCECHANGESRESPONSE, @@ -32565,7 +32882,7 @@ _descriptor.MethodDescriptor( name='getRecentCompactedAddressBalanceChanges', full_name='org.dash.platform.dapi.v0.Platform.getRecentCompactedAddressBalanceChanges', - index=69, + index=70, containing_service=None, input_type=_GETRECENTCOMPACTEDADDRESSBALANCECHANGESREQUEST, output_type=_GETRECENTCOMPACTEDADDRESSBALANCECHANGESRESPONSE, @@ -32575,7 +32892,7 @@ _descriptor.MethodDescriptor( name='getShieldedEncryptedNotes', full_name='org.dash.platform.dapi.v0.Platform.getShieldedEncryptedNotes', - index=70, + index=71, containing_service=None, input_type=_GETSHIELDEDENCRYPTEDNOTESREQUEST, output_type=_GETSHIELDEDENCRYPTEDNOTESRESPONSE, @@ -32585,7 +32902,7 @@ _descriptor.MethodDescriptor( name='getShieldedAnchors', full_name='org.dash.platform.dapi.v0.Platform.getShieldedAnchors', - index=71, + index=72, containing_service=None, input_type=_GETSHIELDEDANCHORSREQUEST, output_type=_GETSHIELDEDANCHORSRESPONSE, @@ -32595,7 +32912,7 @@ _descriptor.MethodDescriptor( name='getMostRecentShieldedAnchor', full_name='org.dash.platform.dapi.v0.Platform.getMostRecentShieldedAnchor', - index=72, + index=73, containing_service=None, input_type=_GETMOSTRECENTSHIELDEDANCHORREQUEST, output_type=_GETMOSTRECENTSHIELDEDANCHORRESPONSE, @@ -32605,7 +32922,7 @@ _descriptor.MethodDescriptor( name='getShieldedPoolState', full_name='org.dash.platform.dapi.v0.Platform.getShieldedPoolState', - index=73, + index=74, containing_service=None, input_type=_GETSHIELDEDPOOLSTATEREQUEST, output_type=_GETSHIELDEDPOOLSTATERESPONSE, @@ -32615,7 +32932,7 @@ _descriptor.MethodDescriptor( name='getShieldedNotesCount', full_name='org.dash.platform.dapi.v0.Platform.getShieldedNotesCount', - index=74, + index=75, containing_service=None, input_type=_GETSHIELDEDNOTESCOUNTREQUEST, output_type=_GETSHIELDEDNOTESCOUNTRESPONSE, @@ -32625,7 +32942,7 @@ _descriptor.MethodDescriptor( name='getShieldedNullifiers', full_name='org.dash.platform.dapi.v0.Platform.getShieldedNullifiers', - index=75, + index=76, containing_service=None, input_type=_GETSHIELDEDNULLIFIERSREQUEST, output_type=_GETSHIELDEDNULLIFIERSRESPONSE, @@ -32635,7 +32952,7 @@ _descriptor.MethodDescriptor( name='getPrivateDocumentEntries', full_name='org.dash.platform.dapi.v0.Platform.getPrivateDocumentEntries', - index=76, + index=77, containing_service=None, input_type=_GETPRIVATEDOCUMENTENTRIESREQUEST, output_type=_GETPRIVATEDOCUMENTENTRIESRESPONSE, @@ -32645,7 +32962,7 @@ _descriptor.MethodDescriptor( name='getOwnerTransactionsInBlock', full_name='org.dash.platform.dapi.v0.Platform.getOwnerTransactionsInBlock', - index=77, + index=78, containing_service=None, input_type=_GETOWNERTRANSACTIONSINBLOCKREQUEST, output_type=_GETOWNERTRANSACTIONSINBLOCKRESPONSE, @@ -32655,7 +32972,7 @@ _descriptor.MethodDescriptor( name='getBlocks', full_name='org.dash.platform.dapi.v0.Platform.getBlocks', - index=78, + index=79, containing_service=None, input_type=_GETBLOCKSREQUEST, output_type=_GETBLOCKSRESPONSE, diff --git a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py index 85d298af3db..87de9a77c2b 100644 --- a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py +++ b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py @@ -89,6 +89,11 @@ def __init__(self, channel): request_serializer=platform__pb2.GetDataContractsLatestVersionsRequest.SerializeToString, response_deserializer=platform__pb2.GetDataContractsLatestVersionsResponse.FromString, ) + self.getAssetLockOutpointInfo = channel.unary_unary( + '/org.dash.platform.dapi.v0.Platform/getAssetLockOutpointInfo', + request_serializer=platform__pb2.GetAssetLockOutpointInfoRequest.SerializeToString, + response_deserializer=platform__pb2.GetAssetLockOutpointInfoResponse.FromString, + ) self.getDataContracts = channel.unary_unary( '/org.dash.platform.dapi.v0.Platform/getDataContracts', request_serializer=platform__pb2.GetDataContractsRequest.SerializeToString, @@ -505,6 +510,12 @@ def getDataContractsLatestVersions(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def getAssetLockOutpointInfo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def getDataContracts(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) @@ -985,6 +996,11 @@ def add_PlatformServicer_to_server(servicer, server): request_deserializer=platform__pb2.GetDataContractsLatestVersionsRequest.FromString, response_serializer=platform__pb2.GetDataContractsLatestVersionsResponse.SerializeToString, ), + 'getAssetLockOutpointInfo': grpc.unary_unary_rpc_method_handler( + servicer.getAssetLockOutpointInfo, + request_deserializer=platform__pb2.GetAssetLockOutpointInfoRequest.FromString, + response_serializer=platform__pb2.GetAssetLockOutpointInfoResponse.SerializeToString, + ), 'getDataContracts': grpc.unary_unary_rpc_method_handler( servicer.getDataContracts, request_deserializer=platform__pb2.GetDataContractsRequest.FromString, @@ -1570,6 +1586,23 @@ def getDataContractsLatestVersions(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def getAssetLockOutpointInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/org.dash.platform.dapi.v0.Platform/getAssetLockOutpointInfo', + platform__pb2.GetAssetLockOutpointInfoRequest.SerializeToString, + platform__pb2.GetAssetLockOutpointInfoResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def getDataContracts(request, target, diff --git a/packages/dapi-grpc/clients/platform/v0/web/PlatformPromiseClient.js b/packages/dapi-grpc/clients/platform/v0/web/PlatformPromiseClient.js index fc8b664ed81..8167b9e6608 100644 --- a/packages/dapi-grpc/clients/platform/v0/web/PlatformPromiseClient.js +++ b/packages/dapi-grpc/clients/platform/v0/web/PlatformPromiseClient.js @@ -35,6 +35,20 @@ class PlatformPromiseClient { ); } + /** + * @param {!GetAssetLockOutpointInfoRequest} getAssetLockOutpointInfoRequest + * @param {?Object} metadata + * @return {Promise} + */ + getAssetLockOutpointInfo(getAssetLockOutpointInfoRequest, metadata = {}) { + return promisify( + this.client.getAssetLockOutpointInfo.bind(this.client), + )( + getAssetLockOutpointInfoRequest, + metadata, + ); + } + /** * @param {!GetIdentityRequest} getIdentityRequest * @param {?Object} metadata diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts index ac725f624b8..8104109ed18 100644 --- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts +++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts @@ -2119,6 +2119,164 @@ export namespace GetDataContractsLatestVersionsRequest { } } +export class GetAssetLockOutpointInfoRequest extends jspb.Message { + hasV0(): boolean; + clearV0(): void; + getV0(): GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 | undefined; + setV0(value?: GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0): void; + + getVersionCase(): GetAssetLockOutpointInfoRequest.VersionCase; + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetAssetLockOutpointInfoRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetAssetLockOutpointInfoRequest): GetAssetLockOutpointInfoRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetAssetLockOutpointInfoRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetAssetLockOutpointInfoRequest; + static deserializeBinaryFromReader(message: GetAssetLockOutpointInfoRequest, reader: jspb.BinaryReader): GetAssetLockOutpointInfoRequest; +} + +export namespace GetAssetLockOutpointInfoRequest { + export type AsObject = { + v0?: GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.AsObject, + } + + export class GetAssetLockOutpointInfoRequestV0 extends jspb.Message { + getOutpoint(): Uint8Array | string; + getOutpoint_asU8(): Uint8Array; + getOutpoint_asB64(): string; + setOutpoint(value: Uint8Array | string): void; + + getProve(): boolean; + setProve(value: boolean): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetAssetLockOutpointInfoRequestV0.AsObject; + static toObject(includeInstance: boolean, msg: GetAssetLockOutpointInfoRequestV0): GetAssetLockOutpointInfoRequestV0.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetAssetLockOutpointInfoRequestV0, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetAssetLockOutpointInfoRequestV0; + static deserializeBinaryFromReader(message: GetAssetLockOutpointInfoRequestV0, reader: jspb.BinaryReader): GetAssetLockOutpointInfoRequestV0; + } + + export namespace GetAssetLockOutpointInfoRequestV0 { + export type AsObject = { + outpoint: Uint8Array | string, + prove: boolean, + } + } + + export enum VersionCase { + VERSION_NOT_SET = 0, + V0 = 1, + } +} + +export class GetAssetLockOutpointInfoResponse extends jspb.Message { + hasV0(): boolean; + clearV0(): void; + getV0(): GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 | undefined; + setV0(value?: GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0): void; + + getVersionCase(): GetAssetLockOutpointInfoResponse.VersionCase; + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetAssetLockOutpointInfoResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetAssetLockOutpointInfoResponse): GetAssetLockOutpointInfoResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetAssetLockOutpointInfoResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetAssetLockOutpointInfoResponse; + static deserializeBinaryFromReader(message: GetAssetLockOutpointInfoResponse, reader: jspb.BinaryReader): GetAssetLockOutpointInfoResponse; +} + +export namespace GetAssetLockOutpointInfoResponse { + export type AsObject = { + v0?: GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.AsObject, + } + + export class AssetLockOutpointInfo extends jspb.Message { + getStatus(): GetAssetLockOutpointInfoResponse.StatusMap[keyof GetAssetLockOutpointInfoResponse.StatusMap]; + setStatus(value: GetAssetLockOutpointInfoResponse.StatusMap[keyof GetAssetLockOutpointInfoResponse.StatusMap]): void; + + hasRemainingCredits(): boolean; + clearRemainingCredits(): void; + getRemainingCredits(): string; + setRemainingCredits(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AssetLockOutpointInfo.AsObject; + static toObject(includeInstance: boolean, msg: AssetLockOutpointInfo): AssetLockOutpointInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AssetLockOutpointInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AssetLockOutpointInfo; + static deserializeBinaryFromReader(message: AssetLockOutpointInfo, reader: jspb.BinaryReader): AssetLockOutpointInfo; + } + + export namespace AssetLockOutpointInfo { + export type AsObject = { + status: GetAssetLockOutpointInfoResponse.StatusMap[keyof GetAssetLockOutpointInfoResponse.StatusMap], + remainingCredits: string, + } + } + + export class GetAssetLockOutpointInfoResponseV0 extends jspb.Message { + hasAssetLockOutpointInfo(): boolean; + clearAssetLockOutpointInfo(): void; + getAssetLockOutpointInfo(): GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo | undefined; + setAssetLockOutpointInfo(value?: GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo): void; + + hasProof(): boolean; + clearProof(): void; + getProof(): Proof | undefined; + setProof(value?: Proof): void; + + hasMetadata(): boolean; + clearMetadata(): void; + getMetadata(): ResponseMetadata | undefined; + setMetadata(value?: ResponseMetadata): void; + + getResultCase(): GetAssetLockOutpointInfoResponseV0.ResultCase; + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetAssetLockOutpointInfoResponseV0.AsObject; + static toObject(includeInstance: boolean, msg: GetAssetLockOutpointInfoResponseV0): GetAssetLockOutpointInfoResponseV0.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetAssetLockOutpointInfoResponseV0, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetAssetLockOutpointInfoResponseV0; + static deserializeBinaryFromReader(message: GetAssetLockOutpointInfoResponseV0, reader: jspb.BinaryReader): GetAssetLockOutpointInfoResponseV0; + } + + export namespace GetAssetLockOutpointInfoResponseV0 { + export type AsObject = { + assetLockOutpointInfo?: GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.AsObject, + proof?: Proof.AsObject, + metadata?: ResponseMetadata.AsObject, + } + + export enum ResultCase { + RESULT_NOT_SET = 0, + ASSET_LOCK_OUTPOINT_INFO = 1, + PROOF = 2, + } + } + + export interface StatusMap { + STATUS_UNSPECIFIED: 0; + NOT_PRESENT: 1; + PARTIALLY_CONSUMED: 2; + FULLY_CONSUMED: 3; + } + + export const Status: StatusMap; + + export enum VersionCase { + VERSION_NOT_SET = 0, + V0 = 1, + } +} + export class GetDataContractsLatestVersionsResponse extends jspb.Message { hasV0(): boolean; clearV0(): void; diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js index b73ac6da250..e373d27a0ff 100644 --- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js +++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js @@ -69,6 +69,15 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.VersionCase', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status', null, { proto }); +goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlocksRequest', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlocksRequest.GetBlocksRequestV0', null, { proto }); goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlocksRequest.VersionCase', null, { proto }); @@ -2294,6 +2303,111 @@ if (goog.DEBUG && !COMPILED) { */ proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0 = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0 = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_); +}; +goog.inherits(proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -26790,6 +26904,1009 @@ proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype. +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase = { + VERSION_NOT_SET: 0, + V0: 1 +}; + +/** + * @return {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.getVersionCase = function() { + return /** @type {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.toObject = function(includeInstance, msg) { + var f, obj = { + v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinaryFromReader); + msg.setV0(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getV0(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.toObject = function(includeInstance, msg) { + var f, obj = { + outpoint: msg.getOutpoint_asB64(), + prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setOutpoint(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProve(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutpoint_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getProve(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional bytes outpoint = 1; + * @return {string} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getOutpoint = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes outpoint = 1; + * This is a type-conversion wrapper around `getOutpoint()` + * @return {string} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getOutpoint_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getOutpoint())); +}; + + +/** + * optional bytes outpoint = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getOutpoint()` + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getOutpoint_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getOutpoint())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.setOutpoint = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bool prove = 2; + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.getProve = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0.prototype.setProve = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + +/** + * optional GetAssetLockOutpointInfoRequestV0 v0 = 1; + * @return {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.getV0 = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0, 1)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.GetAssetLockOutpointInfoRequestV0|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.setV0 = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.clearV0 = function() { + return this.setV0(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoRequest.prototype.hasV0 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase = { + VERSION_NOT_SET: 0, + V0: 1 +}; + +/** + * @return {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.getVersionCase = function() { + return /** @type {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.toObject = function(includeInstance, msg) { + var f, obj = { + v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinaryFromReader); + msg.setV0(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getV0(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.serializeBinaryToWriter + ); + } +}; + + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status = { + STATUS_UNSPECIFIED: 0, + NOT_PRESENT: 1, + PARTIALLY_CONSUMED: 2, + FULLY_CONSUMED: 3 +}; + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + remainingCredits: jspb.Message.getFieldWithDefault(msg, 2, "0") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} */ (reader.readEnum()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readUint64String()); + msg.setRemainingCredits(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeUint64String( + 2, + f + ); + } +}; + + +/** + * optional Status status = 1; + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.getStatus = function() { + return /** @type {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.Status} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.setStatus = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional uint64 remaining_credits = 2; + * @return {string} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.getRemainingCredits = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0")); +}; + + +/** + * @param {string} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.setRemainingCredits = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.clearRemainingCredits = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.prototype.hasRemainingCredits = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase = { + RESULT_NOT_SET: 0, + ASSET_LOCK_OUTPOINT_INFO: 1, + PROOF: 2 +}; + +/** + * @return {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getResultCase = function() { + return /** @type {proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.toObject = function(opt_includeInstance) { + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.toObject = function(includeInstance, msg) { + var f, obj = { + assetLockOutpointInfo: (f = msg.getAssetLockOutpointInfo()) && proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.toObject(includeInstance, f), + proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f), + metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0; + return proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.deserializeBinaryFromReader); + msg.setAssetLockOutpointInfo(value); + break; + case 2: + var value = new proto.org.dash.platform.dapi.v0.Proof; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader); + msg.setProof(value); + break; + case 3: + var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata; + reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader); + msg.setMetadata(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAssetLockOutpointInfo(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo.serializeBinaryToWriter + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter + ); + } + f = message.getMetadata(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * optional AssetLockOutpointInfo asset_lock_outpoint_info = 1; + * @return {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getAssetLockOutpointInfo = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo, 1)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.AssetLockOutpointInfo|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.setAssetLockOutpointInfo = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.clearAssetLockOutpointInfo = function() { + return this.setAssetLockOutpointInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.hasAssetLockOutpointInfo = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Proof proof = 2; + * @return {?proto.org.dash.platform.dapi.v0.Proof} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getProof = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.setProof = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.hasProof = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ResponseMetadata metadata = 3; + * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.getMetadata = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.setMetadata = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.clearMetadata = function() { + return this.setMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0.prototype.hasMetadata = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional GetAssetLockOutpointInfoResponseV0 v0 = 1; + * @return {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.getV0 = function() { + return /** @type{?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0} */ ( + jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0, 1)); +}; + + +/** + * @param {?proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.GetAssetLockOutpointInfoResponseV0|undefined} value + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} returns this +*/ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.setV0 = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse} returns this + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.clearV0 = function() { + return this.setV0(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.org.dash.platform.dapi.v0.GetAssetLockOutpointInfoResponse.prototype.hasV0 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + /** * Oneof group definitions for this message. Each group defines the field * numbers belonging to that group. When of these fields' value is set, all diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts index af4287c2d3a..10392ea06de 100644 --- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts +++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts @@ -139,6 +139,15 @@ type PlatformgetDataContractsLatestVersions = { readonly responseType: typeof platform_pb.GetDataContractsLatestVersionsResponse; }; +type PlatformgetAssetLockOutpointInfo = { + readonly methodName: string; + readonly service: typeof Platform; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof platform_pb.GetAssetLockOutpointInfoRequest; + readonly responseType: typeof platform_pb.GetAssetLockOutpointInfoResponse; +}; + type PlatformgetDataContracts = { readonly methodName: string; readonly service: typeof Platform; @@ -732,6 +741,7 @@ export class Platform { static readonly getDataContract: PlatformgetDataContract; static readonly getDataContractHistory: PlatformgetDataContractHistory; static readonly getDataContractsLatestVersions: PlatformgetDataContractsLatestVersions; + static readonly getAssetLockOutpointInfo: PlatformgetAssetLockOutpointInfo; static readonly getDataContracts: PlatformgetDataContracts; static readonly getDataContractsByRange: PlatformgetDataContractsByRange; static readonly getContractGroupInfo: PlatformgetContractGroupInfo; @@ -965,6 +975,15 @@ export class PlatformClient { requestMessage: platform_pb.GetDataContractsLatestVersionsRequest, callback: (error: ServiceError|null, responseMessage: platform_pb.GetDataContractsLatestVersionsResponse|null) => void ): UnaryResponse; + getAssetLockOutpointInfo( + requestMessage: platform_pb.GetAssetLockOutpointInfoRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: platform_pb.GetAssetLockOutpointInfoResponse|null) => void + ): UnaryResponse; + getAssetLockOutpointInfo( + requestMessage: platform_pb.GetAssetLockOutpointInfoRequest, + callback: (error: ServiceError|null, responseMessage: platform_pb.GetAssetLockOutpointInfoResponse|null) => void + ): UnaryResponse; getDataContracts( requestMessage: platform_pb.GetDataContractsRequest, metadata: grpc.Metadata, diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js index 6f9279ac220..19f743b416b 100644 --- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js +++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js @@ -145,6 +145,15 @@ Platform.getDataContractsLatestVersions = { responseType: platform_pb.GetDataContractsLatestVersionsResponse }; +Platform.getAssetLockOutpointInfo = { + methodName: "getAssetLockOutpointInfo", + service: Platform, + requestStream: false, + responseStream: false, + requestType: platform_pb.GetAssetLockOutpointInfoRequest, + responseType: platform_pb.GetAssetLockOutpointInfoResponse +}; + Platform.getDataContracts = { methodName: "getDataContracts", service: Platform, @@ -1193,6 +1202,37 @@ PlatformClient.prototype.getDataContractsLatestVersions = function getDataContra }; }; +PlatformClient.prototype.getAssetLockOutpointInfo = function getAssetLockOutpointInfo(requestMessage, metadata, callback) { + if (arguments.length === 2) { + callback = arguments[1]; + } + var client = grpc.unary(Platform.getAssetLockOutpointInfo, { + request: requestMessage, + host: this.serviceHost, + metadata: metadata, + transport: this.options.transport, + debug: this.options.debug, + onEnd: function (response) { + if (callback) { + if (response.status !== grpc.Code.OK) { + var err = new Error(response.statusMessage); + err.code = response.status; + err.metadata = response.trailers; + callback(err, null); + } else { + callback(null, response.message); + } + } + } + }); + return { + cancel: function () { + callback = null; + client.close(); + } + }; +}; + PlatformClient.prototype.getDataContracts = function getDataContracts(requestMessage, metadata, callback) { if (arguments.length === 2) { callback = arguments[1]; diff --git a/packages/dapi-grpc/protos/platform/v0/platform.proto b/packages/dapi-grpc/protos/platform/v0/platform.proto index 7a3f2848dad..98cf4b9e500 100644 --- a/packages/dapi-grpc/protos/platform/v0/platform.proto +++ b/packages/dapi-grpc/protos/platform/v0/platform.proto @@ -37,6 +37,8 @@ service Platform { returns (GetDataContractHistoryResponse); rpc getDataContractsLatestVersions(GetDataContractsLatestVersionsRequest) returns (GetDataContractsLatestVersionsResponse); + rpc getAssetLockOutpointInfo(GetAssetLockOutpointInfoRequest) + returns (GetAssetLockOutpointInfoResponse); rpc getDataContracts(GetDataContractsRequest) returns (GetDataContractsResponse); rpc getDataContractsByRange(GetDataContractsByRangeRequest) @@ -606,6 +608,35 @@ message GetDataContractsLatestVersionsRequest { oneof version { GetDataContractsLatestVersionsRequestV0 v0 = 1; } } +message GetAssetLockOutpointInfoRequest { + message GetAssetLockOutpointInfoRequestV0 { + bytes outpoint = 1; // 32-byte transaction id followed by a 4-byte little-endian output index + bool prove = 2; // Flag to request a proof as the response + } + oneof version { GetAssetLockOutpointInfoRequestV0 v0 = 1; } +} + +message GetAssetLockOutpointInfoResponse { + enum Status { + STATUS_UNSPECIFIED = 0; + NOT_PRESENT = 1; + PARTIALLY_CONSUMED = 2; + FULLY_CONSUMED = 3; + } + message AssetLockOutpointInfo { + Status status = 1; + optional uint64 remaining_credits = 2 [ jstype = JS_STRING ]; + } + message GetAssetLockOutpointInfoResponseV0 { + oneof result { + AssetLockOutpointInfo asset_lock_outpoint_info = 1; + Proof proof = 2; + } + ResponseMetadata metadata = 3; + } + oneof version { GetAssetLockOutpointInfoResponseV0 v0 = 1; } +} + message GetDataContractsLatestVersionsResponse { message DataContractLatestVersionEntry { bytes identifier = 1; // The requested contract id diff --git a/packages/dapi/doc/endpoints/index.md b/packages/dapi/doc/endpoints/index.md index b3653411a89..a36684a48ba 100644 --- a/packages/dapi/doc/endpoints/index.md +++ b/packages/dapi/doc/endpoints/index.md @@ -57,6 +57,7 @@ The following endpoints are defined in the gRPC service but are served by Drive - `getDataContractsByRange` - `getDataContractHistory` - `getDataContractsLatestVersions` +- `getAssetLockOutpointInfo` - `getContractGroupInfo` - `getContractGroupMembers` - `getContractGroupsForContract` diff --git a/packages/rs-dapi-client/src/transport/grpc.rs b/packages/rs-dapi-client/src/transport/grpc.rs index 8bde1e0af97..6d1789b4d04 100644 --- a/packages/rs-dapi-client/src/transport/grpc.rs +++ b/packages/rs-dapi-client/src/transport/grpc.rs @@ -405,6 +405,16 @@ impl_transport_request_grpc!( get_data_contracts_latest_versions ); +impl_transport_request_grpc!( + // A 5.0 node does not know the method. + needs_protocol_version: |_| Some(PROTOCOL_VERSION_OF_5_1); + platform_proto::GetAssetLockOutpointInfoRequest, + platform_proto::GetAssetLockOutpointInfoResponse, + PlatformGrpcClient, + RequestSettings::default(), + get_asset_lock_outpoint_info +); + // rpc getContractGroupInfo(GetContractGroupInfoRequest) returns (GetContractGroupInfoResponse); impl_transport_request_grpc!( // A 4.x node does not know the method. diff --git a/packages/rs-dapi-client/tests/request_inventory.rs b/packages/rs-dapi-client/tests/request_inventory.rs index 707801962a9..d5091625eb2 100644 --- a/packages/rs-dapi-client/tests/request_inventory.rs +++ b/packages/rs-dapi-client/tests/request_inventory.rs @@ -50,6 +50,7 @@ const ADDITIONS: &[(&str, Verdict)] = &[ ("rpc getContractModerationActionCounts GetContractModerationActionCountsRequest", Verdict::Gate(14)), ("rpc getContractFeePots GetContractFeePotsRequest", Verdict::Gate(14)), // Added in 5.1: a 5.0 node does not know the methods. + ("rpc getAssetLockOutpointInfo GetAssetLockOutpointInfoRequest", Verdict::Gate(15)), ("rpc getYesNoVotePollState GetYesNoVotePollStateRequest", Verdict::Gate(15)), ("rpc getMasternodeYesNoVote GetMasternodeYesNoVoteRequest", Verdict::Gate(15)), ("rpc getPrivateDocumentEntries GetPrivateDocumentEntriesRequest", Verdict::Gate(15)), @@ -152,6 +153,7 @@ requests!( GetDataContractRequest, GetDataContractHistoryRequest, GetDataContractsLatestVersionsRequest, + GetAssetLockOutpointInfoRequest, GetDataContractsRequest, GetDataContractsByRangeRequest, GetContractGroupInfoRequest, diff --git a/packages/rs-dapi/src/metrics.rs b/packages/rs-dapi/src/metrics.rs index b85029f5c48..68d88fde772 100644 --- a/packages/rs-dapi/src/metrics.rs +++ b/packages/rs-dapi/src/metrics.rs @@ -560,6 +560,7 @@ fn known_grpc_endpoint(path: &str) -> &'static str { "getDataContract", "getDataContractHistory", "getDataContractsLatestVersions", + "getAssetLockOutpointInfo", "getContractGroupInfo", "getContractGroupMembers", "getContractGroupsForContract", diff --git a/packages/rs-dapi/src/services/platform_service/mod.rs b/packages/rs-dapi/src/services/platform_service/mod.rs index 4b8066ff5fd..1ced1904661 100644 --- a/packages/rs-dapi/src/services/platform_service/mod.rs +++ b/packages/rs-dapi/src/services/platform_service/mod.rs @@ -535,6 +535,12 @@ impl Platform for PlatformServiceImpl { dapi_grpc::platform::v0::GetDataContractsLatestVersionsResponse ); + drive_method!( + get_asset_lock_outpoint_info, + dapi_grpc::platform::v0::GetAssetLockOutpointInfoRequest, + dapi_grpc::platform::v0::GetAssetLockOutpointInfoResponse + ); + // Contract group methods drive_method!( get_contract_group_info, diff --git a/packages/rs-dpp/src/asset_lock/mod.rs b/packages/rs-dpp/src/asset_lock/mod.rs index ec5f6c7a52c..d34ad697eb5 100644 --- a/packages/rs-dpp/src/asset_lock/mod.rs +++ b/packages/rs-dpp/src/asset_lock/mod.rs @@ -10,7 +10,7 @@ pub type PastAssetLockStateTransitionHashes = Vec>; /// An enumeration of the possible states when querying platform to get the stored state of an outpoint /// representing if the asset lock was already used or not. -#[derive(Debug, PartialEq, serde::Serialize, serde::Deserialize)] +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] #[serde(tag = "$type")] pub enum StoredAssetLockInfo { /// The asset lock was fully consumed in the past diff --git a/packages/rs-drive-abci/src/query/asset_lock_outpoint_info/mod.rs b/packages/rs-drive-abci/src/query/asset_lock_outpoint_info/mod.rs new file mode 100644 index 00000000000..4b05ad44b33 --- /dev/null +++ b/packages/rs-drive-abci/src/query/asset_lock_outpoint_info/mod.rs @@ -0,0 +1,53 @@ +use crate::error::query::QueryError; +use crate::error::Error; +use crate::platform_types::platform::Platform; +use crate::platform_types::platform_state::PlatformState; +use crate::query::QueryValidationResult; +use dapi_grpc::platform::v0::get_asset_lock_outpoint_info_request::Version as RequestVersion; +use dapi_grpc::platform::v0::get_asset_lock_outpoint_info_response::Version as ResponseVersion; +use dapi_grpc::platform::v0::{GetAssetLockOutpointInfoRequest, GetAssetLockOutpointInfoResponse}; +use dpp::version::PlatformVersion; + +mod v0; + +impl Platform { + /// Query the stored state of an asset-lock outpoint. + pub fn query_asset_lock_outpoint_info( + &self, + GetAssetLockOutpointInfoRequest { version }: GetAssetLockOutpointInfoRequest, + platform_state: &PlatformState, + platform_version: &PlatformVersion, + ) -> Result, Error> { + let Some(version) = version else { + return Ok(QueryValidationResult::new_with_error( + QueryError::DecodingError( + "could not decode asset lock outpoint info query".to_string(), + ), + )); + }; + let bounds = &platform_version.drive_abci.query.asset_lock_outpoint_info; + let feature_version = match &version { + RequestVersion::V0(_) => 0, + }; + if !bounds.check_version(feature_version) { + return Ok(QueryValidationResult::new_with_error( + QueryError::UnsupportedQueryVersion( + "asset_lock_outpoint_info".to_string(), + bounds.min_version, + bounds.max_version, + platform_version.protocol_version, + feature_version, + ), + )); + } + match version { + RequestVersion::V0(request) => self + .query_asset_lock_outpoint_info_v0(request, platform_state, platform_version) + .map(|result| { + result.map(|response| GetAssetLockOutpointInfoResponse { + version: Some(ResponseVersion::V0(response)), + }) + }), + } + } +} diff --git a/packages/rs-drive-abci/src/query/asset_lock_outpoint_info/v0/mod.rs b/packages/rs-drive-abci/src/query/asset_lock_outpoint_info/v0/mod.rs new file mode 100644 index 00000000000..95df0acb0fa --- /dev/null +++ b/packages/rs-drive-abci/src/query/asset_lock_outpoint_info/v0/mod.rs @@ -0,0 +1,77 @@ +use crate::error::query::QueryError; +use crate::error::Error; +use crate::platform_types::platform::Platform; +use crate::platform_types::platform_state::PlatformState; +use crate::query::response_metadata::CheckpointUsed; +use crate::query::QueryValidationResult; +use dapi_grpc::platform::v0::get_asset_lock_outpoint_info_request::GetAssetLockOutpointInfoRequestV0; +use dapi_grpc::platform::v0::get_asset_lock_outpoint_info_response::{ + get_asset_lock_outpoint_info_response_v0, AssetLockOutpointInfo, + GetAssetLockOutpointInfoResponseV0, Status, +}; +use dpp::asset_lock::{reduced_asset_lock_value::AssetLockValueGettersV0, StoredAssetLockInfo}; +use dpp::platform_value::Bytes36; +use dpp::version::PlatformVersion; +use drive::util::grove_operations::GroveDBToUse; + +impl Platform { + pub(super) fn query_asset_lock_outpoint_info_v0( + &self, + request: GetAssetLockOutpointInfoRequestV0, + platform_state: &PlatformState, + platform_version: &PlatformVersion, + ) -> Result, Error> { + let outpoint = match Bytes36::from_vec(request.outpoint) { + Ok(outpoint) => outpoint, + Err(_) => { + return Ok(QueryValidationResult::new_with_error( + QueryError::InvalidArgument("outpoint must be exactly 36 bytes".to_string()), + )); + } + }; + let result = if request.prove { + let proof = + self.drive + .prove_asset_lock_outpoint_info(&outpoint, None, platform_version)?; + GetAssetLockOutpointInfoResponseV0 { + result: Some(get_asset_lock_outpoint_info_response_v0::Result::Proof( + self.response_proof_v0(platform_state, proof, GroveDBToUse::Current) + .map(|(_, proof)| proof)?, + )), + metadata: Some(self.response_metadata_v0(platform_state, CheckpointUsed::Current)), + } + } else { + let info = self.drive.fetch_asset_lock_outpoint_info( + &outpoint, + None, + &platform_version.drive, + )?; + GetAssetLockOutpointInfoResponseV0 { + result: Some( + get_asset_lock_outpoint_info_response_v0::Result::AssetLockOutpointInfo( + asset_lock_outpoint_info(info), + ), + ), + metadata: Some(self.response_metadata_v0(platform_state, CheckpointUsed::Current)), + } + }; + Ok(QueryValidationResult::new_with_data(result)) + } +} + +fn asset_lock_outpoint_info(info: StoredAssetLockInfo) -> AssetLockOutpointInfo { + match info { + StoredAssetLockInfo::NotPresent => AssetLockOutpointInfo { + status: Status::NotPresent as i32, + remaining_credits: None, + }, + StoredAssetLockInfo::PartiallyConsumed(value) => AssetLockOutpointInfo { + status: Status::PartiallyConsumed as i32, + remaining_credits: Some(value.remaining_credit_value()), + }, + StoredAssetLockInfo::FullyConsumed => AssetLockOutpointInfo { + status: Status::FullyConsumed as i32, + remaining_credits: Some(0), + }, + } +} diff --git a/packages/rs-drive-abci/src/query/mod.rs b/packages/rs-drive-abci/src/query/mod.rs index 2ba273621b8..77c4614a2a4 100644 --- a/packages/rs-drive-abci/src/query/mod.rs +++ b/packages/rs-drive-abci/src/query/mod.rs @@ -1,4 +1,5 @@ mod address_funds; +mod asset_lock_outpoint_info; mod contract_group_queries; mod contract_moderation_queries; mod data_contract_based_queries; diff --git a/packages/rs-drive-abci/src/query/service.rs b/packages/rs-drive-abci/src/query/service.rs index 2cf7809cbc6..7f89f1011e8 100644 --- a/packages/rs-drive-abci/src/query/service.rs +++ b/packages/rs-drive-abci/src/query/service.rs @@ -17,32 +17,33 @@ use dapi_grpc::platform::v0::{ BroadcastStateTransitionRequest, BroadcastStateTransitionResponse, GetAddressInfoRequest, GetAddressInfoResponse, GetAddressesBranchStateRequest, GetAddressesBranchStateResponse, GetAddressesInfosRequest, GetAddressesInfosResponse, GetAddressesTrunkStateRequest, - GetAddressesTrunkStateResponse, GetBlocksRequest, GetBlocksResponse, GetConsensusParamsRequest, - GetConsensusParamsResponse, GetContestedResourceIdentityVotesRequest, - GetContestedResourceIdentityVotesResponse, GetContestedResourceVoteStateRequest, - GetContestedResourceVoteStateResponse, GetContestedResourceVotersForIdentityRequest, - GetContestedResourceVotersForIdentityResponse, GetContestedResourcesRequest, - GetContestedResourcesResponse, GetContractDocumentRemovalsRequest, - GetContractDocumentRemovalsResponse, GetContractFeePotsRequest, GetContractFeePotsResponse, - GetContractGroupInfoRequest, GetContractGroupInfoResponse, GetContractGroupMembersRequest, - GetContractGroupMembersResponse, GetContractGroupsForContractRequest, - GetContractGroupsForContractResponse, GetContractModerationActionCountsRequest, - GetContractModerationActionCountsResponse, GetContractModerationEntriesRequest, - GetContractModerationEntriesResponse, GetContractModerationStatusRequest, - GetContractModerationStatusResponse, GetContractTeamActionSignersRequest, - GetContractTeamActionSignersResponse, GetContractTeamActionsRequest, - GetContractTeamActionsResponse, GetCurrentQuorumsInfoRequest, GetCurrentQuorumsInfoResponse, - GetDataContractHistoryRequest, GetDataContractHistoryResponse, GetDataContractRequest, - GetDataContractResponse, GetDataContractsByRangeRequest, GetDataContractsLatestVersionsRequest, - GetDataContractsLatestVersionsResponse, GetDataContractsRequest, GetDataContractsResponse, - GetDocumentHistoryRequest, GetDocumentHistoryResponse, GetDocumentsRequest, - GetDocumentsResponse, GetEpochsInfoRequest, GetEpochsInfoResponse, - GetEvonodesProposedEpochBlocksByIdsRequest, GetEvonodesProposedEpochBlocksByRangeRequest, - GetEvonodesProposedEpochBlocksResponse, GetFinalizedEpochInfosRequest, - GetFinalizedEpochInfosResponse, GetGroupActionSignersRequest, GetGroupActionSignersResponse, - GetGroupActionsRequest, GetGroupActionsResponse, GetGroupInfoRequest, GetGroupInfoResponse, - GetGroupInfosRequest, GetGroupInfosResponse, GetIdentitiesBalancesRequest, - GetIdentitiesBalancesResponse, GetIdentitiesContractKeysRequest, + GetAddressesTrunkStateResponse, GetAssetLockOutpointInfoRequest, + GetAssetLockOutpointInfoResponse, GetBlocksRequest, GetBlocksResponse, + GetConsensusParamsRequest, GetConsensusParamsResponse, + GetContestedResourceIdentityVotesRequest, GetContestedResourceIdentityVotesResponse, + GetContestedResourceVoteStateRequest, GetContestedResourceVoteStateResponse, + GetContestedResourceVotersForIdentityRequest, GetContestedResourceVotersForIdentityResponse, + GetContestedResourcesRequest, GetContestedResourcesResponse, + GetContractDocumentRemovalsRequest, GetContractDocumentRemovalsResponse, + GetContractFeePotsRequest, GetContractFeePotsResponse, GetContractGroupInfoRequest, + GetContractGroupInfoResponse, GetContractGroupMembersRequest, GetContractGroupMembersResponse, + GetContractGroupsForContractRequest, GetContractGroupsForContractResponse, + GetContractModerationActionCountsRequest, GetContractModerationActionCountsResponse, + GetContractModerationEntriesRequest, GetContractModerationEntriesResponse, + GetContractModerationStatusRequest, GetContractModerationStatusResponse, + GetContractTeamActionSignersRequest, GetContractTeamActionSignersResponse, + GetContractTeamActionsRequest, GetContractTeamActionsResponse, GetCurrentQuorumsInfoRequest, + GetCurrentQuorumsInfoResponse, GetDataContractHistoryRequest, GetDataContractHistoryResponse, + GetDataContractRequest, GetDataContractResponse, GetDataContractsByRangeRequest, + GetDataContractsLatestVersionsRequest, GetDataContractsLatestVersionsResponse, + GetDataContractsRequest, GetDataContractsResponse, GetDocumentHistoryRequest, + GetDocumentHistoryResponse, GetDocumentsRequest, GetDocumentsResponse, GetEpochsInfoRequest, + GetEpochsInfoResponse, GetEvonodesProposedEpochBlocksByIdsRequest, + GetEvonodesProposedEpochBlocksByRangeRequest, GetEvonodesProposedEpochBlocksResponse, + GetFinalizedEpochInfosRequest, GetFinalizedEpochInfosResponse, GetGroupActionSignersRequest, + GetGroupActionSignersResponse, GetGroupActionsRequest, GetGroupActionsResponse, + GetGroupInfoRequest, GetGroupInfoResponse, GetGroupInfosRequest, GetGroupInfosResponse, + GetIdentitiesBalancesRequest, GetIdentitiesBalancesResponse, GetIdentitiesContractKeysRequest, GetIdentitiesContractKeysResponse, GetIdentitiesTokenBalancesRequest, GetIdentitiesTokenBalancesResponse, GetIdentitiesTokenInfosRequest, GetIdentitiesTokenInfosResponse, GetIdentityBalanceAndRevisionRequest, @@ -382,6 +383,18 @@ impl PlatformService for QueryService { .await } + async fn get_asset_lock_outpoint_info( + &self, + request: Request, + ) -> Result, Status> { + self.handle_blocking_query( + request, + Platform::::query_asset_lock_outpoint_info, + "get_asset_lock_outpoint_info", + ) + .await + } + async fn get_data_contract( &self, request: Request, diff --git a/packages/rs-drive-proof-verifier/src/proof.rs b/packages/rs-drive-proof-verifier/src/proof.rs index d2d109bb19b..b706dd4f8dd 100644 --- a/packages/rs-drive-proof-verifier/src/proof.rs +++ b/packages/rs-drive-proof-verifier/src/proof.rs @@ -7957,3 +7957,4 @@ mod tests { } } } +pub mod asset_lock_outpoint_info; diff --git a/packages/rs-drive-proof-verifier/src/proof/asset_lock_outpoint_info.rs b/packages/rs-drive-proof-verifier/src/proof/asset_lock_outpoint_info.rs new file mode 100644 index 00000000000..81b8b95da4e --- /dev/null +++ b/packages/rs-drive-proof-verifier/src/proof/asset_lock_outpoint_info.rs @@ -0,0 +1,51 @@ +use crate::error::MapGroveDbError; +use crate::verify::{supported_grovedb_proof_bytes, verify_tenderdash_proof}; +use crate::{ContextProvider, Error, FromProof}; +use dapi_grpc::platform::v0::{ + get_asset_lock_outpoint_info_request, GetAssetLockOutpointInfoRequest, + GetAssetLockOutpointInfoResponse, Proof, ResponseMetadata, +}; +use dapi_grpc::platform::VersionedGrpcResponse; +use dpp::asset_lock::StoredAssetLockInfo; +use dpp::dashcore::Network; +use dpp::platform_value::Bytes36; +use dpp::version::PlatformVersion; +use drive::drive::Drive; + +impl FromProof for StoredAssetLockInfo { + type Request = GetAssetLockOutpointInfoRequest; + type Response = GetAssetLockOutpointInfoResponse; + + fn maybe_from_proof_with_metadata<'a, I: Into, O: Into>( + request: I, + response: O, + _network: Network, + platform_version: &PlatformVersion, + provider: &'a dyn ContextProvider, + ) -> Result<(Option, ResponseMetadata, Proof), Error> + where + Self: Sized + 'a, + { + let request = request.into(); + let response = response.into(); + let outpoint = match request.version.ok_or(Error::EmptyVersion)? { + get_asset_lock_outpoint_info_request::Version::V0(v0) => Bytes36::from_vec(v0.outpoint) + .map_err(|_| Error::RequestError { + error: "outpoint must be exactly 36 bytes".to_string(), + })?, + }; + let metadata = response + .metadata() + .or(Err(Error::EmptyResponseMetadata))? + .clone(); + let proof = response.proof_owned().or(Err(Error::NoProofInResult))?; + let (root_hash, info) = Drive::verify_asset_lock_outpoint_info( + supported_grovedb_proof_bytes(&proof)?, + &outpoint, + platform_version, + ) + .map_drive_error(&proof, &metadata)?; + verify_tenderdash_proof(&proof, &metadata, &root_hash, provider)?; + Ok((Some(info), metadata, proof)) + } +} diff --git a/packages/rs-drive/src/drive/asset_lock/mod.rs b/packages/rs-drive/src/drive/asset_lock/mod.rs index eeb0614f8e8..fa5191ec6a3 100644 --- a/packages/rs-drive/src/drive/asset_lock/mod.rs +++ b/packages/rs-drive/src/drive/asset_lock/mod.rs @@ -5,6 +5,7 @@ use crate::drive::RootTree; mod add_asset_lock_outpoint_operations; mod estimation_costs; mod fetch_asset_lock_outpoint_info; +mod prove_asset_lock_outpoint_info; #[cfg(all(feature = "server", any(test, feature = "structure")))] pub(crate) mod structure; diff --git a/packages/rs-drive/src/drive/asset_lock/prove_asset_lock_outpoint_info/mod.rs b/packages/rs-drive/src/drive/asset_lock/prove_asset_lock_outpoint_info/mod.rs new file mode 100644 index 00000000000..d49db96bf7d --- /dev/null +++ b/packages/rs-drive/src/drive/asset_lock/prove_asset_lock_outpoint_info/mod.rs @@ -0,0 +1,141 @@ +mod v0; + +use crate::drive::Drive; +use crate::error::drive::DriveError; +use crate::error::Error; +use dpp::platform_value::Bytes36; +use dpp::version::PlatformVersion; +use grovedb::TransactionArg; + +impl Drive { + /// Proves the committed state of one asset-lock outpoint, including absence. + pub fn prove_asset_lock_outpoint_info( + &self, + outpoint: &Bytes36, + transaction: TransactionArg, + platform_version: &PlatformVersion, + ) -> Result, Error> { + match platform_version + .drive + .methods + .asset_lock + .prove_asset_lock_outpoint_info + { + 0 => self.prove_asset_lock_outpoint_info_v0(outpoint, transaction, platform_version), + version => Err(Error::Drive(DriveError::UnknownVersionMismatch { + method: "prove_asset_lock_outpoint_info".to_string(), + known_versions: vec![0], + received: version, + })), + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::drive::RootTree; + use crate::util::batch::drive_op_batch::{DriveOperation, SystemOperationType}; + use crate::util::test_helpers::setup::setup_drive_with_initial_state_structure; + use dpp::asset_lock::reduced_asset_lock_value::{AssetLockValue, AssetLockValueGettersV0}; + use dpp::block::block_info::BlockInfo; + use dpp::platform_value::Bytes36; + use dpp::version::PlatformVersion; + use grovedb::Element; + + fn stored_value(remaining: u64, platform_version: &PlatformVersion) -> AssetLockValue { + AssetLockValue::new(100, vec![0x51], remaining, vec![], platform_version) + .expect("asset-lock value") + } + + fn insert_item( + drive: &Drive, + outpoint: &Bytes36, + bytes: Vec, + platform_version: &PlatformVersion, + ) { + let transaction = drive.grove.start_transaction(); + drive + .grove + .insert( + &[[RootTree::SpentAssetLockTransactions as u8].as_slice()], + &outpoint.0, + Element::new_item(bytes), + None, + Some(&transaction), + &platform_version.drive.grove_version, + ) + .value + .expect("insert asset-lock item successfully"); + drive + .grove + .commit_transaction(transaction) + .value + .expect("commit asset-lock item transaction successfully"); + } + + #[test] + fn should_prove_and_verify_each_asset_lock_outpoint_state() { + let drive = setup_drive_with_initial_state_structure(None); + let platform_version = PlatformVersion::latest(); + let states = [(0u8, 0u64), (1u8, 25u64)]; + + for (index, remaining) in states { + let outpoint = Bytes36::from([index; 36]); + drive + .apply_drive_operations( + vec![DriveOperation::SystemOperation( + SystemOperationType::AddUsedAssetLock { + asset_lock_outpoint: outpoint, + asset_lock_value: stored_value(remaining, platform_version), + }, + )], + true, + &BlockInfo::default(), + None, + platform_version, + ) + .expect("store asset-lock state"); + + let proof = drive + .prove_asset_lock_outpoint_info(&outpoint, None, platform_version) + .expect("prove asset-lock state"); + let (_, info) = + Drive::verify_asset_lock_outpoint_info(&proof, &outpoint, platform_version) + .expect("verify asset-lock state"); + + if remaining == 0 { + assert_eq!(info, dpp::asset_lock::StoredAssetLockInfo::FullyConsumed); + } else { + assert!(matches!( + info, + dpp::asset_lock::StoredAssetLockInfo::PartiallyConsumed(value) + if value.remaining_credit_value() == remaining + )); + } + } + + let absent = Bytes36::from([2u8; 36]); + let proof = drive + .prove_asset_lock_outpoint_info(&absent, None, platform_version) + .expect("prove absent asset-lock state"); + let (_, info) = Drive::verify_asset_lock_outpoint_info(&proof, &absent, platform_version) + .expect("verify absent asset-lock state"); + assert_eq!(info, dpp::asset_lock::StoredAssetLockInfo::NotPresent); + } + + #[test] + fn should_reject_malformed_asset_lock_value() { + let drive = setup_drive_with_initial_state_structure(None); + let platform_version = PlatformVersion::latest(); + let outpoint = Bytes36::from([3u8; 36]); + insert_item(&drive, &outpoint, vec![0xff], platform_version); + + let proof = drive + .prove_asset_lock_outpoint_info(&outpoint, None, platform_version) + .expect("prove malformed asset-lock state"); + assert!( + Drive::verify_asset_lock_outpoint_info(&proof, &outpoint, platform_version).is_err() + ); + } +} diff --git a/packages/rs-drive/src/drive/asset_lock/prove_asset_lock_outpoint_info/v0/mod.rs b/packages/rs-drive/src/drive/asset_lock/prove_asset_lock_outpoint_info/v0/mod.rs new file mode 100644 index 00000000000..7f6958357ba --- /dev/null +++ b/packages/rs-drive/src/drive/asset_lock/prove_asset_lock_outpoint_info/v0/mod.rs @@ -0,0 +1,22 @@ +use crate::drive::asset_lock_outpoint_info_query::asset_lock_outpoint_info_query; +use crate::drive::Drive; +use crate::error::Error; +use dpp::platform_value::Bytes36; +use dpp::version::PlatformVersion; +use grovedb::TransactionArg; + +impl Drive { + pub(super) fn prove_asset_lock_outpoint_info_v0( + &self, + outpoint: &Bytes36, + transaction: TransactionArg, + platform_version: &PlatformVersion, + ) -> Result, Error> { + self.grove_get_proved_path_query( + &asset_lock_outpoint_info_query(outpoint), + transaction, + &mut vec![], + &platform_version.drive, + ) + } +} diff --git a/packages/rs-drive/src/drive/asset_lock_outpoint_info_query.rs b/packages/rs-drive/src/drive/asset_lock_outpoint_info_query.rs new file mode 100644 index 00000000000..694da448dcb --- /dev/null +++ b/packages/rs-drive/src/drive/asset_lock_outpoint_info_query.rs @@ -0,0 +1,13 @@ +use crate::drive::RootTree; +use dpp::platform_value::Bytes36; +use grovedb::PathQuery; + +/// The query for a single stored asset-lock outpoint. +pub(crate) fn asset_lock_outpoint_info_query(outpoint: &Bytes36) -> PathQuery { + let mut query = PathQuery::new_single_key( + vec![vec![RootTree::SpentAssetLockTransactions as u8]], + outpoint.0.to_vec(), + ); + query.query.limit = Some(1); + query +} diff --git a/packages/rs-drive/src/drive/mod.rs b/packages/rs-drive/src/drive/mod.rs index 120bc8f1e45..63b3d8c45ce 100644 --- a/packages/rs-drive/src/drive/mod.rs +++ b/packages/rs-drive/src/drive/mod.rs @@ -52,6 +52,8 @@ pub mod system; #[cfg(feature = "server")] mod asset_lock; +#[cfg(any(feature = "server", feature = "verify"))] +pub(crate) mod asset_lock_outpoint_info_query; #[cfg(feature = "server")] /// The saved platform state: its record, the small per-block record, and the /// collections kept as one aux entry per member. diff --git a/packages/rs-drive/src/verify/asset_lock/mod.rs b/packages/rs-drive/src/verify/asset_lock/mod.rs new file mode 100644 index 00000000000..05fe6c3766c --- /dev/null +++ b/packages/rs-drive/src/verify/asset_lock/mod.rs @@ -0,0 +1,2 @@ +/// Verify the state of one asset-lock outpoint. +pub mod verify_asset_lock_outpoint_info; diff --git a/packages/rs-drive/src/verify/asset_lock/verify_asset_lock_outpoint_info/mod.rs b/packages/rs-drive/src/verify/asset_lock/verify_asset_lock_outpoint_info/mod.rs new file mode 100644 index 00000000000..fef20025ef2 --- /dev/null +++ b/packages/rs-drive/src/verify/asset_lock/verify_asset_lock_outpoint_info/mod.rs @@ -0,0 +1,33 @@ +mod v0; + +use crate::drive::Drive; +use crate::error::drive::DriveError; +use crate::error::Error; +use crate::verify::RootHash; +use dpp::asset_lock::StoredAssetLockInfo; +use dpp::platform_value::Bytes36; +use dpp::version::PlatformVersion; + +impl Drive { + /// Verifies a proof of one asset-lock outpoint, including a not-present result. + pub fn verify_asset_lock_outpoint_info( + proof: &[u8], + outpoint: &Bytes36, + platform_version: &PlatformVersion, + ) -> Result<(RootHash, StoredAssetLockInfo), Error> { + match platform_version + .drive + .methods + .verify + .asset_lock + .verify_asset_lock_outpoint_info + { + 0 => Self::verify_asset_lock_outpoint_info_v0(proof, outpoint, platform_version), + version => Err(Error::Drive(DriveError::UnknownVersionMismatch { + method: "verify_asset_lock_outpoint_info".to_string(), + known_versions: vec![0], + received: version, + })), + } + } +} diff --git a/packages/rs-drive/src/verify/asset_lock/verify_asset_lock_outpoint_info/v0/mod.rs b/packages/rs-drive/src/verify/asset_lock/verify_asset_lock_outpoint_info/v0/mod.rs new file mode 100644 index 00000000000..2b847229158 --- /dev/null +++ b/packages/rs-drive/src/verify/asset_lock/verify_asset_lock_outpoint_info/v0/mod.rs @@ -0,0 +1,52 @@ +use crate::drive::asset_lock_outpoint_info_query::asset_lock_outpoint_info_query; +use crate::drive::Drive; +use crate::error::proof::ProofError; +use crate::error::Error; +use crate::verify::RootHash; +use dpp::asset_lock::reduced_asset_lock_value::AssetLockValue; +use dpp::asset_lock::StoredAssetLockInfo; +use dpp::platform_value::Bytes36; +use dpp::serialization::PlatformDeserializableUntrusted; +use dpp::version::PlatformVersion; +use grovedb::{Element, GroveDb}; + +impl Drive { + pub(super) fn verify_asset_lock_outpoint_info_v0( + proof: &[u8], + outpoint: &Bytes36, + platform_version: &PlatformVersion, + ) -> Result<(RootHash, StoredAssetLockInfo), Error> { + let (root_hash, mut values) = GroveDb::verify_query_with_absence_proof( + proof, + &asset_lock_outpoint_info_query(outpoint), + &platform_version.drive.grove_version, + )?; + if values.len() != 1 { + return Err(Error::Proof(ProofError::WrongElementCount { + expected: 1, + got: values.len(), + })); + } + let info = match values.remove(0).2 { + None => StoredAssetLockInfo::NotPresent, + Some(element) => { + let bytes = match element { + Element::Item(bytes, _) => bytes, + _ => { + return Err(Error::Proof(ProofError::CorruptedProof( + "asset-lock proof must contain an item".to_string(), + ))) + } + }; + if bytes.is_empty() { + StoredAssetLockInfo::FullyConsumed + } else { + StoredAssetLockInfo::PartiallyConsumed( + AssetLockValue::deserialize_from_bytes_untrusted(&bytes)?, + ) + } + } + }; + Ok((root_hash, info)) + } +} diff --git a/packages/rs-drive/src/verify/mod.rs b/packages/rs-drive/src/verify/mod.rs index bbc4508bf56..6dbc6a1c41a 100644 --- a/packages/rs-drive/src/verify/mod.rs +++ b/packages/rs-drive/src/verify/mod.rs @@ -39,6 +39,8 @@ pub mod system; /// Address funds proof verification module pub mod address_funds; +/// Asset-lock outpoint proof verification. +pub mod asset_lock; /// Contract group proof verification pub mod contract_groups; /// Contract moderation proofs: one identity's status and pages of a contract's lists. diff --git a/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/mod.rs b/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/mod.rs index 5a8e426bb12..8cc00152df8 100644 --- a/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/mod.rs +++ b/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/mod.rs @@ -10,6 +10,7 @@ pub struct DriveAbciQueryVersions { pub max_returned_elements: u16, pub response_metadata: FeatureVersion, pub proofs_query: FeatureVersion, + pub asset_lock_outpoint_info: FeatureVersionBounds, pub document_query: FeatureVersionBounds, /// Composite document queries: the `sub_queries` of a `getDocuments` V1 request. `None` /// at the protocol versions that nodes of a release without the field can sign: such a diff --git a/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v0.rs b/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v0.rs index 8b5e02620b6..0cd82049658 100644 --- a/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v0.rs +++ b/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v0.rs @@ -19,6 +19,11 @@ pub const DRIVE_ABCI_QUERY_VERSIONS_V0: DriveAbciQueryVersions = DriveAbciQueryV max_returned_elements: 100, response_metadata: 0, proofs_query: 0, + asset_lock_outpoint_info: FeatureVersionBounds { + min_version: 0, + max_version: 0, + default_current_version: 0, + }, document_query: FeatureVersionBounds { min_version: 0, max_version: 0, diff --git a/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v1.rs b/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v1.rs index 917d966d1f9..254c6769844 100644 --- a/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v1.rs +++ b/packages/rs-platform-version/src/version/drive_abci_versions/drive_abci_query_versions/v1.rs @@ -13,6 +13,11 @@ pub const DRIVE_ABCI_QUERY_VERSIONS_V1: DriveAbciQueryVersions = DriveAbciQueryV max_returned_elements: 100, response_metadata: 0, proofs_query: 0, + asset_lock_outpoint_info: FeatureVersionBounds { + min_version: 0, + max_version: 0, + default_current_version: 0, + }, document_query: FeatureVersionBounds { min_version: 0, // Accept v0 (legacy `getDocuments`) and v1 (unified diff --git a/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/mod.rs b/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/mod.rs index 33550f7958f..8a89d1a7af9 100644 --- a/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/mod.rs +++ b/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/mod.rs @@ -5,8 +5,14 @@ pub mod v2; pub mod v3; pub mod v4; +#[derive(Clone, Debug, Default)] +pub struct DriveVerifyAssetLockMethodVersions { + pub verify_asset_lock_outpoint_info: FeatureVersion, +} + #[derive(Clone, Debug, Default)] pub struct DriveVerifyMethodVersions { + pub asset_lock: DriveVerifyAssetLockMethodVersions, pub contract: DriveVerifyContractMethodVersions, pub document: DriveVerifyDocumentMethodVersions, pub chained_document: DriveVerifyChainedDocumentMethodVersions, diff --git a/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/v1.rs b/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/v1.rs index 05e5a281db8..ea87608057a 100644 --- a/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/v1.rs +++ b/packages/rs-platform-version/src/version/drive_versions/drive_verify_method_versions/v1.rs @@ -1,16 +1,20 @@ use crate::version::drive_versions::drive_verify_method_versions::{ - DriveVerifyAddressFundsMethodVersions, DriveVerifyChainedDocumentMethodVersions, - DriveVerifyCompositeDocumentMethodVersions, DriveVerifyContractGroupMethodVersions, - DriveVerifyContractMethodVersions, DriveVerifyContractModerationMethodVersions, - DriveVerifyDocumentCountMethodVersions, DriveVerifyDocumentMethodVersions, - DriveVerifyDocumentRankedMethodVersions, DriveVerifyDocumentSumMethodVersions, - DriveVerifyGroupMethodVersions, DriveVerifyIdentityMethodVersions, DriveVerifyMethodVersions, + DriveVerifyAddressFundsMethodVersions, DriveVerifyAssetLockMethodVersions, + DriveVerifyChainedDocumentMethodVersions, DriveVerifyCompositeDocumentMethodVersions, + DriveVerifyContractGroupMethodVersions, DriveVerifyContractMethodVersions, + DriveVerifyContractModerationMethodVersions, DriveVerifyDocumentCountMethodVersions, + DriveVerifyDocumentMethodVersions, DriveVerifyDocumentRankedMethodVersions, + DriveVerifyDocumentSumMethodVersions, DriveVerifyGroupMethodVersions, + DriveVerifyIdentityMethodVersions, DriveVerifyMethodVersions, DriveVerifyShieldedMethodVersions, DriveVerifySingleDocumentMethodVersions, DriveVerifyStateTransitionMethodVersions, DriveVerifySystemMethodVersions, DriveVerifyTokenMethodVersions, DriveVerifyVoteMethodVersions, }; pub const DRIVE_VERIFY_METHOD_VERSIONS_V1: DriveVerifyMethodVersions = DriveVerifyMethodVersions { + asset_lock: DriveVerifyAssetLockMethodVersions { + verify_asset_lock_outpoint_info: 0, + }, contract: DriveVerifyContractMethodVersions { verify_contract: 0, verify_contract_history: 0, diff --git a/packages/rs-platform-version/src/version/drive_versions/mod.rs b/packages/rs-platform-version/src/version/drive_versions/mod.rs index 0bfc945eafc..a88f05c5617 100644 --- a/packages/rs-platform-version/src/version/drive_versions/mod.rs +++ b/packages/rs-platform-version/src/version/drive_versions/mod.rs @@ -157,6 +157,7 @@ pub struct DriveAssetLockMethodVersions { pub add_asset_lock_outpoint: FeatureVersion, pub add_estimation_costs_for_adding_asset_lock: FeatureVersion, pub fetch_asset_lock_outpoint_info: FeatureVersion, + pub prove_asset_lock_outpoint_info: FeatureVersion, } #[derive(Clone, Debug, Default)] diff --git a/packages/rs-platform-version/src/version/drive_versions/v1.rs b/packages/rs-platform-version/src/version/drive_versions/v1.rs index 66b1056aa23..60ec7263ce0 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v1.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v1.rs @@ -65,6 +65,7 @@ pub const DRIVE_VERSION_V1: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v2.rs b/packages/rs-platform-version/src/version/drive_versions/v2.rs index a4097a1cde3..83d6658767e 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v2.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v2.rs @@ -65,6 +65,7 @@ pub const DRIVE_VERSION_V2: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v3.rs b/packages/rs-platform-version/src/version/drive_versions/v3.rs index f685007a316..fe233a38062 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v3.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v3.rs @@ -65,6 +65,7 @@ pub const DRIVE_VERSION_V3: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v4.rs b/packages/rs-platform-version/src/version/drive_versions/v4.rs index d8e2731c2f5..4de1a371cf2 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v4.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v4.rs @@ -65,6 +65,7 @@ pub const DRIVE_VERSION_V4: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v5.rs b/packages/rs-platform-version/src/version/drive_versions/v5.rs index f494c9d4c5e..d7e7281f5c7 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v5.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v5.rs @@ -67,6 +67,7 @@ pub const DRIVE_VERSION_V5: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v6.rs b/packages/rs-platform-version/src/version/drive_versions/v6.rs index d07683bf664..82e4884a919 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v6.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v6.rs @@ -69,6 +69,7 @@ pub const DRIVE_VERSION_V6: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v7.rs b/packages/rs-platform-version/src/version/drive_versions/v7.rs index 8ffa072432b..2cadbfee753 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v7.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v7.rs @@ -67,6 +67,7 @@ pub const DRIVE_VERSION_V7: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v8.rs b/packages/rs-platform-version/src/version/drive_versions/v8.rs index 23a5097ef4c..ce7a44f4d56 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v8.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v8.rs @@ -67,6 +67,7 @@ pub const DRIVE_VERSION_V8: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V2, // changed in v8: compacted address-balance proof envelope (verify v1) identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, diff --git a/packages/rs-platform-version/src/version/drive_versions/v9.rs b/packages/rs-platform-version/src/version/drive_versions/v9.rs index 22ee74cbeca..ab002c47f5c 100644 --- a/packages/rs-platform-version/src/version/drive_versions/v9.rs +++ b/packages/rs-platform-version/src/version/drive_versions/v9.rs @@ -116,6 +116,7 @@ pub const DRIVE_VERSION_V9: DriveVersion = DriveVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, + prove_asset_lock_outpoint_info: 0, }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V3, // changed in v9: a document batch proof carries the owner's balance (verify state transition v1); the six range-total verifiers 1 (a proof that the range holds nothing verifies to zero) and the composite documents verifier 1 (sum-bearing items are documents) identity: DRIVE_IDENTITY_METHOD_VERSIONS_V2, // changed in v9: v1 withdrawal-by-transaction-index query builder (structural, identical lowering) diff --git a/packages/rs-platform-version/src/version/mocks/v2_test.rs b/packages/rs-platform-version/src/version/mocks/v2_test.rs index 925289a1397..7fed51ce069 100644 --- a/packages/rs-platform-version/src/version/mocks/v2_test.rs +++ b/packages/rs-platform-version/src/version/mocks/v2_test.rs @@ -83,7 +83,7 @@ pub const TEST_PLATFORM_V2: PlatformVersion = PlatformVersion { prove_elements: 0, prove_multiple_state_transition_results: 0, prove_state_transition: 0, - }, + }, balances: DriveBalancesMethodVersions { add_to_system_credits: 0, add_to_system_credits_operations: 0, @@ -105,7 +105,8 @@ pub const TEST_PLATFORM_V2: PlatformVersion = PlatformVersion { add_asset_lock_outpoint: 0, add_estimation_costs_for_adding_asset_lock: 0, fetch_asset_lock_outpoint_info: 0, - }, + prove_asset_lock_outpoint_info: 0, + }, verify: DRIVE_VERIFY_METHOD_VERSIONS_V1, identity: DRIVE_IDENTITY_METHOD_VERSIONS_V1, token: DRIVE_TOKEN_METHOD_VERSIONS_V1, @@ -178,6 +179,11 @@ pub const TEST_PLATFORM_V2: PlatformVersion = PlatformVersion { max_returned_elements: 100, response_metadata: 0, proofs_query: 0, + asset_lock_outpoint_info: FeatureVersionBounds { + min_version: 0, + max_version: 0, + default_current_version: 0, + }, document_query: FeatureVersionBounds { min_version: 0, max_version: 0, diff --git a/packages/rs-platform-wallet/src/wallet/shielded/fund_from_asset_lock.rs b/packages/rs-platform-wallet/src/wallet/shielded/fund_from_asset_lock.rs index e0b03b89c03..9f87bd1ae68 100644 --- a/packages/rs-platform-wallet/src/wallet/shielded/fund_from_asset_lock.rs +++ b/packages/rs-platform-wallet/src/wallet/shielded/fund_from_asset_lock.rs @@ -23,11 +23,10 @@ //! broadcast with a typed error), or its funding transaction has //! more inputs than an InstantSend proof may carry. //! 4. **Finalize lock state** — a verified submit completes a wallet drain -//! (`DrainCompleted`) or consumes a generic lock. A resumed drain that -//! Platform rejects because its exact outpoint was already consumed is -//! completed too: only this wallet can spend the lock, so an earlier -//! attempt landed. For a generic lock an unauthenticated "already -//! consumed" rejection is recorded only as nonterminal +//! (`DrainCompleted`) or consumes a generic lock. An "already consumed" +//! rejection does not identify the consuming transition or bind it to the +//! requested Orchard output, even if an outpoint query confirms full +//! consumption. For drains and generic locks it is recorded as nonterminal //! consumption-unknown state after Core ChainLock finality; it never //! creates a terminal `Consumed` tombstone. @@ -51,9 +50,6 @@ use crate::wallet::asset_lock::AssetLockOperationState; use std::time::Duration; -use crate::broadcaster::TransactionBroadcaster; -use crate::error::is_asset_lock_already_consumed; -use crate::wallet::asset_lock::manager::AssetLockManager; use crate::wallet::asset_lock::orchestration::{ out_point_from_proof, AssetLockFunding, FundingResolution, ResolvedFunding, }; @@ -79,41 +75,6 @@ pub(crate) fn shield_from_asset_lock_num_actions(dummy_outputs: usize) -> usize (1 + dummy_outputs).max(2) } -impl AssetLockManager { - /// Drain-aware form of [`Self::reconcile_asset_lock_submit_result`]. - /// - /// A drain's lock is single-use and only this wallet holds its key, so - /// Platform's exact-outpoint "already consumed" verdict on an - /// operation-tagged lock means an earlier Type18 for the same lock landed: - /// the drain is completed and `Ok(None)` is returned (nothing landed in - /// THIS call, so the caller records no history; the scan surfaces the - /// note). Every other outcome, and every lock without an operation, - /// defers to the generic reconciliation unchanged. - async fn settle_asset_lock_submit_result( - &self, - result: Result, - out_point: &OutPoint, - effective_proof: &AssetLockProof, - chain_lock_timeout: Option, - drain_operation_id: Option<[u8; 16]>, - ) -> Result, PlatformWalletError> { - if let (Err(error), Some(operation_id)) = (&result, drain_operation_id) { - if is_asset_lock_already_consumed(error, out_point) { - self.complete_wallet_drain(*out_point, operation_id).await?; - return Ok(None); - } - } - self.reconcile_asset_lock_submit_result( - result, - out_point, - effective_proof, - chain_lock_timeout, - ) - .await - .map(Some) - } -} - impl PlatformWallet { /// Fund the shielded pool from a Core L1 asset lock, with the /// asset-lock proof signed by an external @@ -561,37 +522,27 @@ impl PlatformWallet { ) .await?; - // Platform's verdict settles the lock. For a wallet drain, an - // exact-outpoint "already consumed" rejection means an earlier attempt - // for the same lock landed: the drain completes with no landed bundle - // to record (the scan surfaces the note). + // An already-consumed rejection is not evidence that this request + // funded its recipient. Keep it nonterminal, including for drains; + // outpoint consumption alone cannot identify a competing consumer. let drain_operation_id = self .asset_locks .tracked_operation_id(&proof_out_point) .await; - let Some(landed) = self + let landed = self .asset_locks - .settle_asset_lock_submit_result( + .reconcile_asset_lock_submit_result( submit_result, &proof_out_point, &effective_proof, cl_wait, - drain_operation_id, ) - .await? - else { - tracing::info!( - outpoint = %proof_out_point, - "wallet drain completed: Platform reports its asset lock already consumed by an earlier attempt" - ); - return Ok(()); - }; + .await?; // A drain completes only when the verified proof attests the lock // was consumed in full. Checked before any history is written: a // drain left pending must not carry a Confirmed row for a bundle a - // later resume may replace. The next resume completes it from - // Platform's verdict. + // later resume may replace. if drain_operation_id.is_some() && !landed.fully_consumed { tracing::warn!( outpoint = %proof_out_point, @@ -1380,46 +1331,43 @@ mod tests { } #[tokio::test] - async fn settle_completes_drain_on_exact_outpoint_already_consumed_report() { + async fn should_keep_drain_pending_on_exact_outpoint_already_consumed_report() { let (ctx, operation, _registration) = drain_report_context().await; - let landed = ctx + let error = ctx .manager - .settle_asset_lock_submit_result::<()>( + .reconcile_asset_lock_submit_result::<()>( Err(already_consumed_error(ctx.out_point)), &ctx.out_point, &ctx.proof, None, - Some(DRAIN_OPERATION_ID), ) .await - .expect("an already-consumed drain lock completes the drain"); - assert!(landed.is_none(), "nothing landed in this call"); + .expect_err("outpoint consumption does not prove the requested output landed"); + assert!(matches!( + error, + PlatformWalletError::AssetLockAlreadyConsumed(actual) if actual == ctx.out_point + )); let lock = live_lock(&ctx).await; - assert_eq!(lock.status, AssetLockStatus::DrainCompleted); - assert!(lock.proof.is_none()); - // Completion is the only write: no consumption-unknown detour. + assert_eq!(lock.status, AssetLockStatus::RecoveredFromChain); + assert_eq!(lock.proof, Some(ctx.proof.clone())); assert_eq!( persisted_statuses(&ctx), - vec![AssetLockStatus::DrainCompleted] - ); - assert_eq!( - operation.snapshot().state, - AssetLockOperationState::Completed + vec![AssetLockStatus::RecoveredFromChain] ); + assert_eq!(operation.snapshot().state, AssetLockOperationState::Pending); assert_eq!(operation.snapshot().out_point, Some(ctx.out_point)); } #[tokio::test] - async fn settle_defers_to_generic_reconciliation_without_operation_id() { + async fn should_keep_generic_lock_nonterminal_without_operation_id() { let ctx = consumption_report_context().await; let error = ctx .manager - .settle_asset_lock_submit_result::<()>( + .reconcile_asset_lock_submit_result::<()>( Err(already_consumed_error(ctx.out_point)), &ctx.out_point, &ctx.proof, None, - None, ) .await .expect_err("a generic lock keeps the typed host signal"); @@ -1433,7 +1381,7 @@ mod tests { } #[tokio::test] - async fn settle_leaves_drain_pending_on_foreign_outpoint_or_unrelated_error() { + async fn should_leave_drain_pending_on_foreign_outpoint_or_unrelated_error() { let (ctx, operation, _registration) = drain_report_context().await; let foreign = OutPoint::new(ctx.out_point.txid, ctx.out_point.vout + 1); for error in [ @@ -1442,12 +1390,11 @@ mod tests { ] { let result = ctx .manager - .settle_asset_lock_submit_result::<()>( + .reconcile_asset_lock_submit_result::<()>( Err(error), &ctx.out_point, &ctx.proof, None, - Some(DRAIN_OPERATION_ID), ) .await; assert!(matches!(result, Err(PlatformWalletError::Sdk(_)))); @@ -1460,50 +1407,36 @@ mod tests { } #[tokio::test] - async fn settle_passes_a_landed_result_through_for_a_drain() { + async fn should_pass_a_landed_result_through_for_a_drain() { let (ctx, operation, _registration) = drain_report_context().await; let landed = ctx .manager - .settle_asset_lock_submit_result( + .reconcile_asset_lock_submit_result( Ok::<_, dash_sdk::Error>(42u64), &ctx.out_point, &ctx.proof, None, - Some(DRAIN_OPERATION_ID), ) .await .expect("a landed submit passes through"); - assert_eq!(landed, Some(42)); - // Completion is the caller's step 5, not the settle's. + assert_eq!(landed, 42); + // Completion is the caller's step 5, not reconciliation's. assert_eq!(live_lock(&ctx).await.status, AssetLockStatus::ChainLocked); assert!(persisted_statuses(&ctx).is_empty()); assert_eq!(operation.snapshot().state, AssetLockOperationState::Pending); } - async fn settle_already_consumed( - ctx: &ConsumptionReportContext, - ) -> Result, PlatformWalletError> { - ctx.manager - .settle_asset_lock_submit_result::<()>( - Err(already_consumed_error(ctx.out_point)), - &ctx.out_point, - &ctx.proof, - None, - Some(DRAIN_OPERATION_ID), - ) - .await - } - #[tokio::test] - async fn settle_keeps_drain_pending_when_completion_persistence_fails() { + async fn complete_wallet_drain_keeps_pending_when_completion_persistence_fails() { let (ctx, operation, _registration) = drain_report_context().await; - let settle = settle_already_consumed; ctx.persistence .fail_next_store .store(true, Ordering::SeqCst); assert!(matches!( - settle(&ctx).await, + ctx.manager + .complete_wallet_drain(ctx.out_point, DRAIN_OPERATION_ID) + .await, Err(PlatformWalletError::Persistence(_)) )); assert_eq!(live_lock(&ctx).await.status, AssetLockStatus::ChainLocked); @@ -1516,7 +1449,7 @@ mod tests { .store_commits_inline .store(false, Ordering::SeqCst); assert!(matches!( - settle(&ctx).await, + ctx.manager.complete_wallet_drain(ctx.out_point, DRAIN_OPERATION_ID).await, Err(PlatformWalletError::Persistence(message)) if message.contains("inline") )); assert_eq!(live_lock(&ctx).await.status, AssetLockStatus::ChainLocked); @@ -1532,10 +1465,11 @@ mod tests { .fail_next_flush .lock() .expect("recording persistence mutex") = Some(PersistenceErrorKind::Transient); - assert!(settle(&ctx) + assert!(ctx + .manager + .complete_wallet_drain(ctx.out_point, DRAIN_OPERATION_ID) .await - .expect("inline commit completes") - .is_none()); + .is_ok()); assert_eq!( live_lock(&ctx).await.status, AssetLockStatus::DrainCompleted diff --git a/packages/rs-sdk/src/mock/requests.rs b/packages/rs-sdk/src/mock/requests.rs index 85593c78cd0..d4267ed5002 100644 --- a/packages/rs-sdk/src/mock/requests.rs +++ b/packages/rs-sdk/src/mock/requests.rs @@ -1,4 +1,5 @@ use super::MockDashPlatformSdk; +use dpp::asset_lock::StoredAssetLockInfo; use dpp::balances::total_single_token_balance::TotalSingleTokenBalance; use dpp::bincode::config::standard; use dpp::address_funds::PlatformAddress; @@ -1009,6 +1010,19 @@ impl MockResponse for TokenStatuses { } } +impl MockResponse for StoredAssetLockInfo { + fn mock_serialize(&self, _sdk: &MockDashPlatformSdk) -> Vec { + serde_json::to_vec(self).expect("encode StoredAssetLockInfo") + } + + fn mock_deserialize(_sdk: &MockDashPlatformSdk, buf: &[u8]) -> Self + where + Self: Sized, + { + serde_json::from_slice(buf).expect("decode StoredAssetLockInfo") + } +} + impl MockResponse for TokenContractInfo { fn mock_serialize(&self, sdk: &MockDashPlatformSdk) -> Vec { platform_encode_to_vec(self, BINCODE_CONFIG, sdk.version()) diff --git a/packages/rs-sdk/src/platform.rs b/packages/rs-sdk/src/platform.rs index 6027127c1f6..4700af71cae 100644 --- a/packages/rs-sdk/src/platform.rs +++ b/packages/rs-sdk/src/platform.rs @@ -6,6 +6,7 @@ // and while it will change the substance, the API structure will remain the same. pub mod address_sync; +pub mod asset_lock_outpoint_info; pub mod block_info_from_metadata; pub mod blocks; pub mod contract_fee_pots; diff --git a/packages/rs-sdk/src/platform/asset_lock_outpoint_info.rs b/packages/rs-sdk/src/platform/asset_lock_outpoint_info.rs new file mode 100644 index 00000000000..fb6ceb03ff1 --- /dev/null +++ b/packages/rs-sdk/src/platform/asset_lock_outpoint_info.rs @@ -0,0 +1,100 @@ +//! Proof-backed state of a stored asset-lock outpoint. + +use crate::platform::{Query, QuerySettings}; +use crate::Error; +use dapi_grpc::platform::v0::get_asset_lock_outpoint_info_request::GetAssetLockOutpointInfoRequestV0; +use dapi_grpc::platform::v0::{ + get_asset_lock_outpoint_info_request, GetAssetLockOutpointInfoRequest, +}; +use dpp::dashcore::OutPoint; + +/// Query for the state of one asset-lock outpoint. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct AssetLockOutpointInfoQuery { + /// The Core outpoint to inspect. + pub outpoint: OutPoint, +} + +fn request_for_outpoint( + outpoint: &OutPoint, + settings: &QuerySettings<'_>, +) -> Result { + if !settings.prove { + return Err(Error::Config( + "unproved queries are not supported for this query; enable proofs".to_string(), + )); + } + let mut bytes = outpoint.txid.to_byte_array().to_vec(); + bytes.extend_from_slice(&outpoint.vout.to_le_bytes()); + Ok(GetAssetLockOutpointInfoRequest { + version: Some(get_asset_lock_outpoint_info_request::Version::V0( + GetAssetLockOutpointInfoRequestV0 { + outpoint: bytes, + prove: settings.prove, + }, + )), + }) +} + +impl Query for AssetLockOutpointInfoQuery { + fn query( + &self, + settings: &QuerySettings<'_>, + ) -> Result { + request_for_outpoint(&self.outpoint, settings) + } +} + +impl Query for OutPoint { + fn query( + &self, + settings: &QuerySettings<'_>, + ) -> Result { + request_for_outpoint(self, settings) + } +} + +#[cfg(test)] +mod tests { + use super::*; + use dpp::version::PlatformVersion; + use rs_dapi_client::RequestSettings; + + #[test] + fn should_encode_outpoint_in_internal_txid_and_little_endian_index_order() { + let settings = QuerySettings { + request_settings: &RequestSettings::default(), + protocol_version: PlatformVersion::latest(), + verified_protocol_version: 0, + prove: true, + }; + let txid_bytes = std::array::from_fn(|i| i as u8); + let outpoint = OutPoint::new(dpp::dashcore::Txid::from_byte_array(txid_bytes), 0x01020304); + let query = AssetLockOutpointInfoQuery { outpoint }; + let request = query.query(&settings).expect("proved request"); + assert_eq!( + request, + outpoint.query(&settings).expect("outpoint request") + ); + let Some(get_asset_lock_outpoint_info_request::Version::V0(v0)) = request.version else { + panic!("expected a V0 request"); + }; + assert_eq!(&v0.outpoint[..32], &txid_bytes); + assert_eq!(&v0.outpoint[32..], &[4, 3, 2, 1]); + assert!(v0.prove); + } + + #[test] + fn should_reject_unproved_asset_lock_queries() { + let settings = QuerySettings { + request_settings: &RequestSettings::default(), + protocol_version: PlatformVersion::latest(), + verified_protocol_version: 0, + prove: false, + }; + let outpoint = OutPoint::null(); + let query = AssetLockOutpointInfoQuery { outpoint }; + assert!(matches!(query.query(&settings), Err(Error::Config(_)))); + assert!(matches!(outpoint.query(&settings), Err(Error::Config(_)))); + } +} diff --git a/packages/rs-sdk/src/platform/fetch.rs b/packages/rs-sdk/src/platform/fetch.rs index c5b9ff6d959..5fe8152c7bf 100644 --- a/packages/rs-sdk/src/platform/fetch.rs +++ b/packages/rs-sdk/src/platform/fetch.rs @@ -439,6 +439,11 @@ impl Fetch for dpp::tokens::contract_info::TokenContractInfo { type Request = platform_proto::GetTokenContractInfoRequest; } +impl Fetch for dpp::asset_lock::StoredAssetLockInfo { + type Query = platform_proto::GetAssetLockOutpointInfoRequest; + type Request = platform_proto::GetAssetLockOutpointInfoRequest; +} + impl Fetch for drive_proof_verifier::types::RecentAddressBalanceChanges { type Query = platform_proto::GetRecentAddressBalanceChangesRequest; type Request = platform_proto::GetRecentAddressBalanceChangesRequest; diff --git a/packages/rs-sdk/src/platform/query.rs b/packages/rs-sdk/src/platform/query.rs index 828ce8674d8..0743df57ddf 100644 --- a/packages/rs-sdk/src/platform/query.rs +++ b/packages/rs-sdk/src/platform/query.rs @@ -221,6 +221,7 @@ macro_rules! impl_wire_query { impl_wire_query!( proto::BroadcastStateTransitionRequest, proto::GetAddressInfoRequest, + proto::GetAssetLockOutpointInfoRequest, proto::GetAddressesBranchStateRequest, proto::GetAddressesInfosRequest, proto::GetAddressesTrunkStateRequest,